// ==UserScript== // @name m-team-thems 新版馒头主题 // @namespace vite-plugin-monkey // @version 1.2.3 // @author Seahor // @description 为 M-Team 添加主题 // @license https://github.com/SeahorZhang/m-team-thems // @icon https://next.m-team.cc/favicon.ico // @match https://next.m-team.cc/* // @grant GM_addStyle // @downloadURL https://update.greasyfork.icu/scripts/538074/m-team-thems%20%E6%96%B0%E7%89%88%E9%A6%92%E5%A4%B4%E4%B8%BB%E9%A2%98.user.js // @updateURL https://update.greasyfork.icu/scripts/538074/m-team-thems%20%E6%96%B0%E7%89%88%E9%A6%92%E5%A4%B4%E4%B8%BB%E9%A2%98.meta.js // ==/UserScript== (a=>{if(typeof GM_addStyle=="function"){GM_addStyle(a);return}const t=document.createElement("style");t.textContent=a,document.head.append(t)})(` [data-theme=ocean]{--primary-color-50: oklch(.97 .014 254.604);--primary-color-100: oklch(.932 .032 255.585);--primary-color-200: oklch(.882 .059 254.128);--primary-color-300: oklch(.809 .105 251.813);--primary-color-400: oklch(.707 .165 254.624);--primary-color-500: oklch(.623 .214 259.815);--primary-color-600: oklch(.546 .245 262.881);--primary-color-700: oklch(.488 .243 264.376);--primary-color-800: oklch(.424 .199 265.638);--primary-color-900: oklch(.379 .146 265.522);--primary-color-950: oklch(.282 .091 267.935);--primary-color: var(--primary-color-500);--bg-color: var(--primary-color-100);--bg-image: url("data:image/svg+xml,%3csvg%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%20xmlns='http://www.w3.org/2000/svg'%3e%3c!--%20\u5927\u661F\u661F%20-%20\u586B\u5145%20--%3e%3cpolygon%20points='12,2%2015.09,8.26%2022,9%2017,14.74%2018.18,21.02%2012,17.77%205.82,21.02%207,14.74%202,9%208.91,8.26'%20fill='rgba(147,%20197,%20253,%200.35)'%20stroke='rgba(147,%20197,%20253,%200.6)'%20strokeWidth='1.2'%20transform='translate(25,20)'%20/%3e%3c!--%20\u4E2D\u7B49\u661F\u661F%20-%20\u8F6E\u5ED3%20--%3e%3cpolygon%20points='10,2%2012.27,6.91%2017.5,7.5%2014.25,11.09%2014.95,16.5%2010,13.82%205.05,16.5%205.75,11.09%202.5,7.5%207.73,6.91'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.5)'%20strokeWidth='1.2'%20transform='translate(100,15)'%20/%3e%3c!--%20\u5C0F\u661F\u661F%20-%20\u586B\u5145%20--%3e%3cpolygon%20points='8,2%209.64,5.72%2013.5,6.25%2010.75,9.37%2011.27,13.25%208,11.39%204.73,13.25%205.25,9.37%202.5,6.25%206.36,5.72'%20fill='rgba(147,%20197,%20253,%200.4)'%20stroke='rgba(147,%20197,%20253,%200.6)'%20strokeWidth='1.1'%20transform='translate(130,65)'%20/%3e%3c!--%20\u4E2D\u7B49\u661F\u661F%20-%20\u8F6E\u5ED3%20--%3e%3cpolygon%20points='11,2%2013.45,7.55%2019.5,8.25%2015.75,12.45%2016.45,18.75%2011,15.88%205.55,18.75%206.25,12.45%202.5,8.25%208.55,7.55'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.5)'%20strokeWidth='1.2'%20transform='translate(35,95)'%20/%3e%3c!--%20\u5C0F\u661F\u661F%20-%20\u8F6E\u5ED3%20--%3e%3cpolygon%20points='7,2%208.18,5.09%2011.5,5.5%209.25,8.09%209.73,11.5%207,9.82%204.27,11.5%204.75,8.09%202.5,5.5%205.82,5.09'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.45)'%20strokeWidth='1.1'%20transform='translate(115,110)'%20/%3e%3c!--%20\u8FB9\u7F18\u661F\u661F\u7528\u4E8E\u65E0\u7F1D\u62FC\u63A5%20--%3e%3cpolygon%20points='9,2%2010.64,5.72%2014.5,6.25%2011.75,9.37%2012.27,13.25%209,11.39%205.73,13.25%206.25,9.37%203.5,6.25%207.36,5.72'%20fill='rgba(147,%20197,%20253,%200.3)'%20stroke='rgba(147,%20197,%20253,%200.5)'%20strokeWidth='1.1'%20transform='translate(0,70)'%20/%3e%3cpolygon%20points='6,2%206.82,4.45%209.5,4.75%207.75,6.95%208.09,9.75%206,8.63%203.91,9.75%204.25,6.95%202.5,4.75%205.18,4.45'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.4)'%20strokeWidth='1'%20transform='translate(145,5)'%20/%3e%3c!--%20\u5C0F\u88C5\u9970\u70B9%20--%3e%3ccircle%20cx='60'%20cy='40'%20r='2'%20fill='rgba(147,%20197,%20253,%200.4)'%20/%3e%3ccircle%20cx='85'%20cy='65'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.5)'%20/%3e%3ccircle%20cx='70'%20cy='130'%20r='2'%20fill='rgba(147,%20197,%20253,%200.35)'%20/%3e%3ccircle%20cx='120'%20cy='45'%20r='1'%20fill='rgba(147,%20197,%20253,%200.6)'%20/%3e%3ccircle%20cx='25'%20cy='140'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.4)'%20/%3e%3ccircle%20cx='140'%20cy='95'%20r='1'%20fill='rgba(147,%20197,%20253,%200.5)'%20/%3e%3ccircle%20cx='15'%20cy='50'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.35)'%20/%3e%3ccircle%20cx='95'%20cy='85'%20r='1'%20fill='rgba(147,%20197,%20253,%200.45)'%20/%3e%3ccircle%20cx='50'%20cy='110'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.4)'%20/%3e%3ccircle%20cx='110'%20cy='25'%20r='1'%20fill='rgba(147,%20197,%20253,%200.5)'%20/%3e%3c/svg%3e");--bg-image-repeat: repeat;--bg-image-position: center;--head-bg-shadow: 0 4px 19px rgba(0, 0, 0, .03);--head-bg: #ffffffbb;--divider-color: #e5e6eb;--table-hover: var(--primary-color-100);--promotion-bg: #52c41a;--bg-1: var(--primary-color-100)}[data-theme=ocean]{--primary-color-50: oklch(.97 .014 254.604);--primary-color-100: oklch(.932 .032 255.585);--primary-color-200: oklch(.882 .059 254.128);--primary-color-300: oklch(.809 .105 251.813);--primary-color-400: oklch(.707 .165 254.624);--primary-color-500: oklch(.623 .214 259.815);--primary-color-600: oklch(.546 .245 262.881);--primary-color-700: oklch(.488 .243 264.376);--primary-color-800: oklch(.424 .199 265.638);--primary-color-900: oklch(.379 .146 265.522);--primary-color-950: oklch(.282 .091 267.935);--primary-color: var(--primary-color-500);--bg-color: var(--primary-color-100);--bg-image: url("data:image/svg+xml,%3csvg%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%20xmlns='http://www.w3.org/2000/svg'%3e%3c!--%20\u5927\u661F\u661F%20-%20\u586B\u5145%20--%3e%3cpolygon%20points='12,2%2015.09,8.26%2022,9%2017,14.74%2018.18,21.02%2012,17.77%205.82,21.02%207,14.74%202,9%208.91,8.26'%20fill='rgba(147,%20197,%20253,%200.35)'%20stroke='rgba(147,%20197,%20253,%200.6)'%20strokeWidth='1.2'%20transform='translate(25,20)'%20/%3e%3c!--%20\u4E2D\u7B49\u661F\u661F%20-%20\u8F6E\u5ED3%20--%3e%3cpolygon%20points='10,2%2012.27,6.91%2017.5,7.5%2014.25,11.09%2014.95,16.5%2010,13.82%205.05,16.5%205.75,11.09%202.5,7.5%207.73,6.91'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.5)'%20strokeWidth='1.2'%20transform='translate(100,15)'%20/%3e%3c!--%20\u5C0F\u661F\u661F%20-%20\u586B\u5145%20--%3e%3cpolygon%20points='8,2%209.64,5.72%2013.5,6.25%2010.75,9.37%2011.27,13.25%208,11.39%204.73,13.25%205.25,9.37%202.5,6.25%206.36,5.72'%20fill='rgba(147,%20197,%20253,%200.4)'%20stroke='rgba(147,%20197,%20253,%200.6)'%20strokeWidth='1.1'%20transform='translate(130,65)'%20/%3e%3c!--%20\u4E2D\u7B49\u661F\u661F%20-%20\u8F6E\u5ED3%20--%3e%3cpolygon%20points='11,2%2013.45,7.55%2019.5,8.25%2015.75,12.45%2016.45,18.75%2011,15.88%205.55,18.75%206.25,12.45%202.5,8.25%208.55,7.55'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.5)'%20strokeWidth='1.2'%20transform='translate(35,95)'%20/%3e%3c!--%20\u5C0F\u661F\u661F%20-%20\u8F6E\u5ED3%20--%3e%3cpolygon%20points='7,2%208.18,5.09%2011.5,5.5%209.25,8.09%209.73,11.5%207,9.82%204.27,11.5%204.75,8.09%202.5,5.5%205.82,5.09'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.45)'%20strokeWidth='1.1'%20transform='translate(115,110)'%20/%3e%3c!--%20\u8FB9\u7F18\u661F\u661F\u7528\u4E8E\u65E0\u7F1D\u62FC\u63A5%20--%3e%3cpolygon%20points='9,2%2010.64,5.72%2014.5,6.25%2011.75,9.37%2012.27,13.25%209,11.39%205.73,13.25%206.25,9.37%203.5,6.25%207.36,5.72'%20fill='rgba(147,%20197,%20253,%200.3)'%20stroke='rgba(147,%20197,%20253,%200.5)'%20strokeWidth='1.1'%20transform='translate(0,70)'%20/%3e%3cpolygon%20points='6,2%206.82,4.45%209.5,4.75%207.75,6.95%208.09,9.75%206,8.63%203.91,9.75%204.25,6.95%202.5,4.75%205.18,4.45'%20fill='none'%20stroke='rgba(147,%20197,%20253,%200.4)'%20strokeWidth='1'%20transform='translate(145,5)'%20/%3e%3c!--%20\u5C0F\u88C5\u9970\u70B9%20--%3e%3ccircle%20cx='60'%20cy='40'%20r='2'%20fill='rgba(147,%20197,%20253,%200.4)'%20/%3e%3ccircle%20cx='85'%20cy='65'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.5)'%20/%3e%3ccircle%20cx='70'%20cy='130'%20r='2'%20fill='rgba(147,%20197,%20253,%200.35)'%20/%3e%3ccircle%20cx='120'%20cy='45'%20r='1'%20fill='rgba(147,%20197,%20253,%200.6)'%20/%3e%3ccircle%20cx='25'%20cy='140'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.4)'%20/%3e%3ccircle%20cx='140'%20cy='95'%20r='1'%20fill='rgba(147,%20197,%20253,%200.5)'%20/%3e%3ccircle%20cx='15'%20cy='50'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.35)'%20/%3e%3ccircle%20cx='95'%20cy='85'%20r='1'%20fill='rgba(147,%20197,%20253,%200.45)'%20/%3e%3ccircle%20cx='50'%20cy='110'%20r='1.5'%20fill='rgba(147,%20197,%20253,%200.4)'%20/%3e%3ccircle%20cx='110'%20cy='25'%20r='1'%20fill='rgba(147,%20197,%20253,%200.5)'%20/%3e%3c/svg%3e");--bg-image-repeat: repeat;--bg-image-position: center;--head-bg-shadow: 0 4px 19px rgba(0, 0, 0, .03);--divider-color: #e5e6eb;--table-hover: var(--primary-color-100);--promotion-bg: #52c41a;--bg-1: var(--primary-color-100)}[data-theme=pink]{--primary-color-50: oklch(.971 .014 343.198);--primary-color-100: oklch(.948 .028 342.258);--primary-color-200: oklch(.899 .061 343.231);--primary-color-300: oklch(.823 .12 346.018);--primary-color-400: oklch(.718 .202 349.761);--primary-color-500: oklch(.656 .241 354.308);--primary-color-600: oklch(.592 .249 .584);--primary-color-700: oklch(.525 .223 3.958);--primary-color-800: oklch(.459 .187 3.815);--primary-color-900: oklch(.408 .153 2.432);--primary-color-950: oklch(.284 .109 3.907);--primary-color: var(--primary-color-500);--bg-color: var(--primary-color-100);--bg-image: url("data:image/svg+xml,%3csvg%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%20xmlns='http://www.w3.org/2000/svg'%3e%3c!--%20\u5927\u6885\u82B1%20-%20\u586B\u5145%20--%3e%3cg%20transform='translate(37,35)'%3e%3cellipse%20cx='0'%20cy='-4.8'%20rx='3'%20ry='4.8'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-4.8'%20rx='3'%20ry='4.8'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(72)'/%3e%3cellipse%20cx='0'%20cy='-4.8'%20rx='3'%20ry='4.8'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-4.8'%20rx='3'%20ry='4.8'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-4.8'%20rx='3'%20ry='4.8'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(288)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='1.8'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3c!--%20\u4E2D\u7B49\u6885\u82B1%20-%20\u8F6E\u5ED3%20--%3e%3cg%20transform='translate(117,25)'%3e%3cellipse%20cx='0'%20cy='-4'%20rx='2.5'%20ry='4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-4'%20rx='2.5'%20ry='4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(72)'/%3e%3cellipse%20cx='0'%20cy='-4'%20rx='2.5'%20ry='4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-4'%20rx='2.5'%20ry='4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-4'%20rx='2.5'%20ry='4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(288)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='1.5'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3c!--%20\u5C0F\u6885\u82B1%20-%20\u586B\u5145%20--%3e%3cg%20transform='translate(138,78)'%3e%3cellipse%20cx='0'%20cy='-3.2'%20rx='2'%20ry='3.2'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-3.2'%20rx='2'%20ry='3.2'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(72)'/%3e%3cellipse%20cx='0'%20cy='-3.2'%20rx='2'%20ry='3.2'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-3.2'%20rx='2'%20ry='3.2'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-3.2'%20rx='2'%20ry='3.2'%20fill='rgba(252,%20231,%20243,%200.5)'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(288)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='1.2'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3c!--%20\u4E2D\u7B49\u6885\u82B1%20-%20\u8F6E\u5ED3%20--%3e%3cg%20transform='translate(46,108)'%3e%3cellipse%20cx='0'%20cy='-4.4'%20rx='2.75'%20ry='4.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-4.4'%20rx='2.75'%20ry='4.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-4.4'%20rx='2.75'%20ry='4.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-4.4'%20rx='2.75'%20ry='4.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(288)'/%3e%3cellipse%20cx='0'%20cy='-4.4'%20rx='2.75'%20ry='4.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.4)'%20strokeWidth='1.2'%20transform='rotate(72)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='1.65'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3c!--%20\u5C0F\u6885\u82B1%20-%20\u8F6E\u5ED3%20--%3e%3cg%20transform='translate(122,123)'%3e%3cellipse%20cx='0'%20cy='-2.8'%20rx='1.75'%20ry='2.8'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-2.8'%20rx='1.75'%20ry='2.8'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(72)'/%3e%3cellipse%20cx='0'%20cy='-2.8'%20rx='1.75'%20ry='2.8'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-2.8'%20rx='1.75'%20ry='2.8'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-2.8'%20rx='1.75'%20ry='2.8'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(288)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='1.05'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3c!--%20\u8FB9\u7F18\u6885\u82B1\u7528\u4E8E\u65E0\u7F1D\u62FC\u63A5%20--%3e%3cg%20transform='translate(9,83)'%3e%3cellipse%20cx='0'%20cy='-3.6'%20rx='2.25'%20ry='3.6'%20fill='rgba(252,%20231,%20243,%200.4)'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-3.6'%20rx='2.25'%20ry='3.6'%20fill='rgba(252,%20231,%20243,%200.4)'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(72)'/%3e%3cellipse%20cx='0'%20cy='-3.6'%20rx='2.25'%20ry='3.6'%20fill='rgba(252,%20231,%20243,%200.4)'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-3.6'%20rx='2.25'%20ry='3.6'%20fill='rgba(252,%20231,%20243,%200.4)'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-3.6'%20rx='2.25'%20ry='3.6'%20fill='rgba(252,%20231,%20243,%200.4)'%20stroke='rgba(249,%20168,%20212,%200.35)'%20strokeWidth='1.1'%20transform='rotate(288)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='1.35'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3cg%20transform='translate(151,12)'%3e%3cellipse%20cx='0'%20cy='-2.4'%20rx='1.5'%20ry='2.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.3)'%20strokeWidth='1'%20transform='rotate(0)'/%3e%3cellipse%20cx='0'%20cy='-2.4'%20rx='1.5'%20ry='2.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.3)'%20strokeWidth='1'%20transform='rotate(72)'/%3e%3cellipse%20cx='0'%20cy='-2.4'%20rx='1.5'%20ry='2.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.3)'%20strokeWidth='1'%20transform='rotate(144)'/%3e%3cellipse%20cx='0'%20cy='-2.4'%20rx='1.5'%20ry='2.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.3)'%20strokeWidth='1'%20transform='rotate(216)'/%3e%3cellipse%20cx='0'%20cy='-2.4'%20rx='1.5'%20ry='2.4'%20fill='none'%20stroke='rgba(249,%20168,%20212,%200.3)'%20strokeWidth='1'%20transform='rotate(288)'/%3e%3ccircle%20cx='0'%20cy='0'%20r='0.9'%20fill='rgba(253,%20242,%20248,%200.8)'%20stroke='rgba(249,%20168,%20212,%200.5)'%20strokeWidth='0.5'/%3e%3c/g%3e%3c!--%20\u5C0F\u88C5\u9970\u70B9%20-%20\u82B1\u857E%20--%3e%3ccircle%20cx='60'%20cy='40'%20r='2'%20fill='rgba(249,%20168,%20212,%200.3)'%20/%3e%3ccircle%20cx='85'%20cy='65'%20r='1.5'%20fill='rgba(249,%20168,%20212,%200.35)'%20/%3e%3ccircle%20cx='70'%20cy='130'%20r='2'%20fill='rgba(249,%20168,%20212,%200.25)'%20/%3e%3ccircle%20cx='120'%20cy='45'%20r='1'%20fill='rgba(249,%20168,%20212,%200.4)'%20/%3e%3ccircle%20cx='25'%20cy='140'%20r='1.5'%20fill='rgba(249,%20168,%20212,%200.3)'%20/%3e%3ccircle%20cx='140'%20cy='95'%20r='1'%20fill='rgba(249,%20168,%20212,%200.35)'%20/%3e%3ccircle%20cx='15'%20cy='50'%20r='1.5'%20fill='rgba(249,%20168,%20212,%200.25)'%20/%3e%3ccircle%20cx='95'%20cy='85'%20r='1'%20fill='rgba(249,%20168,%20212,%200.3)'%20/%3e%3ccircle%20cx='50'%20cy='110'%20r='1.5'%20fill='rgba(249,%20168,%20212,%200.3)'%20/%3e%3ccircle%20cx='110'%20cy='25'%20r='1'%20fill='rgba(249,%20168,%20212,%200.35)'%20/%3e%3c/svg%3e");--bg-image-repeat: repeat;--bg-image-position: center;--head-bg-shadow: 0 4px 19px rgba(0, 0, 0, .03);--head-bg: #ffffffbb;--divider-color: #e4e4e7;--table-hover: var(--primary-color-100);--promotion-bg: #87d068;--bg-1: var(--primary-color-100)}:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) .bg-\\[\\#F4EFE7\\].ant-flex.ant-flex-justify-center{margin-top:15px;background-color:initial}:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) .bg-\\[\\#F4EFE7\\].ant-flex.ant-flex-justify-center>div>div{width:auto;border-radius:8px;overflow:hidden}:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) .mx-auto.w-full{background-color:#fffb;padding:18px;border-radius:12px}:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm{border-radius:12px;padding:10px 20px!important;margin:20px auto;max-width:1440px}:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(1),:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(3){padding:2px 14px;border-radius:999px}:is([data-theme=ocean],[data-theme=pink],[data-theme=dark]) #root>div>div>[class~="px-[40px]"] .ant-divider{margin:0;border:0}:is([data-theme=ocean],[data-theme=pink]) body{background-color:var(--bg-color);background-image:var(--bg-image);background-size:var(--bg-image-size);background-repeat:var(--bg-image-repeat);background-position:var(--bg-image-position)}:is([data-theme=ocean],[data-theme=pink]) #root>div>div>*:nth-of-type(1){background-color:#fffb;box-shadow:var(--head-bg-shadow)!important}:is([data-theme=ocean],[data-theme=pink]) .bg-\\[\\#F4EFE7\\].ant-flex.ant-flex-justify-center>div>div{background-color:#f4efe7}:is([data-theme=ocean],[data-theme=pink]) .app-content__inner section>.mr-5{border-radius:6px;overflow:hidden}:is([data-theme=ocean],[data-theme=pink]) .app-content__inner section>.flex-grow.w-2.flex.flex-col{background-color:#0000004d;border-radius:6px;padding:8px 12px}:is([data-theme=ocean],[data-theme=pink]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm{background-color:#fffb}:is([data-theme=ocean],[data-theme=pink]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(1),:is([data-theme=ocean],[data-theme=pink]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(3){background-color:var(--primary-color-100)}:is([data-theme=ocean],[data-theme=pink]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(5) .ant-typography,:is([data-theme=ocean],[data-theme=pink]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(6) .ant-typography{color:#16a34a}:is([data-theme=ocean],[data-theme=pink]) #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(7) .ant-typography{color:#2563eb}:is([data-theme=ocean],[data-theme=pink]) .mx-auto.w-full{background-color:#fffb}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{color:var(--primary-color-300)!important}:is([data-theme=ocean],[data-theme=pink]) .flex.justify-between.py-5.items-center.sticky.top-0.bg-mt-primary-1{background-color:#cadbeb;padding:20px;margin-bottom:10px;border-radius:12px}:is([data-theme=ocean],[data-theme=pink]) .ant-row.ant-row-space-between.sticky.top-\\[65px\\].bg-white.z-\\[1\\]{box-shadow:0 1px 2px #00000008,0 1px 6px -1px #00000005,0 2px 4px #00000005!important;padding:8px;margin-left:-12px;margin-right:-12px;margin-top:-12px}:is([data-theme=ocean],[data-theme=pink]) .flex.py-5.mb-5.border-0.border-b.border-solid.border-\\[\\#E8E1D7\\].sticky.top-0.z-\\[999\\].bg-mt-primary-1{border-color:var(--divider-color);padding:12px;border-radius:6px}:is([data-theme=ocean],[data-theme=pink]) .pb-\\[20px\\].mb-\\[20px\\].border-0.border-b.border-solid.border-\\[\\#E8E1D7\\]{border-color:var(--divider-color)}:is([data-theme=ocean],[data-theme=pink]) a.text-\\[\\#F6CA60\\].font-semibold.hover\\:text-\\[\\#F6CA60\\]{color:var(--primary-color)!important}:is([data-theme=ocean],[data-theme=pink]) a.text-\\[\\#F6CA60\\].font-semibold.hover\\:text-\\[\\#F6CA60\\]:hover{color:var(--primary-color-300)!important}:is([data-theme=ocean],[data-theme=pink]) .ant-pagination-item.ant-pagination-item-1.ant-pagination-item-active{border-color:var(--primary-color-100)}:is([data-theme=ocean],[data-theme=pink]) .ant-pagination-item.ant-pagination-item-1.ant-pagination-item-active a{color:var(--primary-color-200)!important}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light .ant-menu-item-selected a,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu .ant-menu-item-selected a,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light .ant-menu-item-selected a:hover,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu .ant-menu-item-selected a:hover{color:var(--primary-color-200)!important}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-item-selected:after,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu.ant-menu-horizontal>.ant-menu-item-selected:after,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-submenu-selected:after,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu.ant-menu-horizontal>.ant-menu-submenu-selected:after{border-bottom-color:var(--primary-color-200);bottom:2px}:is([data-theme=ocean],[data-theme=pink]) .editor-container,:is([data-theme=ocean],[data-theme=pink]) .ant-divider{border-color:var(--divider-color)}:is([data-theme=ocean],[data-theme=pink]) .ant-table-cell{border-bottom-color:var(--divider-color)!important}:is([data-theme=ocean],[data-theme=pink]) .ant-card .ant-card-head{border-bottom-color:var(--divider-color)}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-submenu:hover:after{border-bottom-color:var(--bg-color)}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-item:hover:after{border-bottom-color:var(--bg-color)}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-submenu-open:after{border-bottom-color:var(--bg-color)}:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-item-selected,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu.ant-menu-horizontal>.ant-menu-item-selected,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light.ant-menu-horizontal>.ant-menu-submenu-selected,:is([data-theme=ocean],[data-theme=pink]) .ant-menu-light>.ant-menu.ant-menu-horizontal>.ant-menu-submenu-selected{color:var(--primary-color)!important}:is([data-theme=ocean],[data-theme=pink]) .ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:var(--primary-color)!important}:is([data-theme=ocean],[data-theme=pink]) a:hover{color:var(--primary-color)!important}:is([data-theme=ocean],[data-theme=pink]) body[data-theme=sakura] .ant-table-placeholder:hover,:is([data-theme=ocean],[data-theme=pink]) body[data-theme=sakura] .ant-table-placeholder td:hover{background:#00000003!important}[data-theme=dark]{color-scheme:dark}[data-theme=dark] svg path{fill:#ffffffd9!important}[data-theme=dark] input{background-color:#1d1d1d!important;color:#ffffffd9!important;border-color:#303030!important}[data-theme=dark] input:hover,[data-theme=dark] input:focus{background-color:initial}[data-theme=dark] input::placeholder{color:#4f4f4f!important}[data-theme=dark] body{background-color:var(--bg-color);background-image:var(--bg-image);background-size:var(--bg-image-size);background-repeat:var(--bg-image-repeat);background-position:var(--bg-image-position);color:#ffffffd9}[data-theme=dark] #root>div>div>*:nth-of-type(1){background-color:var(--menu-bg)}[data-theme=dark] #root>div>div>*:nth-of-type(1) .ant-select.ant-select-borderless.lang-selector.ant-select-single.ant-select-show-arrow svg path{stroke:#ffffffd9!important;fill:none!important}[data-theme=dark] #root>div>div>*:nth-of-type(1) .ant-input-affix-wrapper.ant-input-borderless.bg-\\[\\#8A8A8A\\]\\/10.rounded-\\[1\\.143em\\].align-middle.py-\\[1px\\] .ant-input-prefix .ant-select-selector{border:0}[data-theme=dark] #root>div>div>*:nth-of-type(1) .ant-select.ant-select-borderless.lang-selector.ant-select-single.ant-select-show-arrow .ant-select-selector{background-color:#1d1d1d;border:0}[data-theme=dark] .bg-\\[\\#F4EFE7\\].ant-flex.ant-flex-justify-center>div>div{background-color:#587993;color:#ffffffd9}[data-theme=dark] .ant-switch{background-color:#ffffff40;color:#ffffffd9}[data-theme=dark] .ant-switch.ant-switch-checked{background-color:#ebbc50}[data-theme=dark] .ant-tree .ant-tree-list,[data-theme=dark] .ant-radio-group{color:#ffffffd9}[data-theme=dark] .ant-radio-group .ant-radio-button-checked{color:#fff;background-color:#edab0c}[data-theme=dark] .ant-radio-group .ant-radio-button-wrapper:first-child{border-inline-start-color:#424242;border-color:#424242;border-start-start-radius:6px;border-end-start-radius:6px}[data-theme=dark] .ant-radio-group .ant-radio-button-wrapper{color:#ffffffd9;border-color:#424242;background-color:#141414}[data-theme=dark] .ant-radio-group .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){border-color:#edab0c;background-color:#edab0c}[data-theme=dark] .ant-radio-group .ant-radio-wrapper{color:#ffffffd9}[data-theme=dark] .ant-radio-group .ant-radio-wrapper .ant-radio-inner{border-color:#424242;background-color:#141414}[data-theme=dark] .ant-radio-group .ant-radio-wrapper.ant-radio-wrapper-checked .ant-radio-inner{border-color:#edab0c;background-color:#edab0c}[data-theme=dark] .ant-slider{color:#ffffffd9}[data-theme=dark] .ant-slider .ant-slider-rail{background-color:#ffffff14}[data-theme=dark] .ant-slider .ant-slider-track{background-color:#edab0c}[data-theme=dark] .ant-slider .ant-slider-handle:after{background-color:#1f1f1f;box-shadow:0 0 0 2px #edab0c}[data-theme=dark] .ant-checkbox-wrapper{color:#ffffffd9}[data-theme=dark] .ant-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{background-color:#141414;border-color:#424242}[data-theme=dark] .ant-checkbox-group,[data-theme=dark] .ant-checkbox-group .ant-checkbox-wrapper,[data-theme=dark] .ant-checkbox-group .ant-checkbox-wrapper .ant-checkbox{color:#ffffffd9}[data-theme=dark] .ant-dropdown{background-color:#1f1f1f!important;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}[data-theme=dark] .ant-dropdown .ant-dropdown-menu-item-selected{background-color:#313131;color:#ebbc50}[data-theme=dark] .ant-dropdown .ant-dropdown-menu-item-selected:hover{background-color:#313131!important}[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm{background-color:#1d1d1d}[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm a{color:#ebbc50}[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item .ant-typography{color:#ffffffd9}[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(1),[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(3){background-color:#262626}:is([data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(1),[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(3)) .ant-typography.ant-typography-ellipsis{color:#ffffffd9!important}:is([data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(1),[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(3)) .ant-typography:nth-of-type(2).cursor-pointer:hover{color:#f6ca60}:is([data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(1),[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(3)) .ant-typography.font-bold{color:#ffffffd9}[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(5) .ant-typography,[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(6) .ant-typography{color:#16a34a}[data-theme=dark] #root>div>div>[class~="px-[40px]"]>.ant-row.ant-row-space-between.ant-row-middle.mt-5.text-sm .ant-col:nth-of-type(1)>.ant-space>.ant-space-item:nth-of-type(7) .ant-typography{color:#2563eb}[data-theme=dark] #root>div>div>[class~="px-[40px]"] .ant-divider{margin:0;border:0}[data-theme=dark] .ant-space.ant-space-horizontal.ant-space-align-center.ant-space-gap-row-small.ant-space-gap-col-small .ant-space-item:last-child .ant-select{margin-left:8px}[data-theme=dark] .mx-auto.w-full{background-color:#1d1d1d}[data-theme=dark] .ant-card{box-shadow:0 1px 2px #00000008,0 1px 6px -1px #00000005,0 2px 4px #00000005;color:#ffffffd9;background-color:#1d1d1d}[data-theme=dark] .ant-card .ant-card-head{background-color:#1d1d1d;color:#ffffffd9;border-color:#303030}[data-theme=dark] .ant-card .ant-card-head button:disabled{color:#ffffff40}[data-theme=dark] .ant-card .ant-collapse-header-text,[data-theme=dark] .ant-card .ant-collapse-extra{color:#fff}[data-theme=dark] .ant-card .whitespace-pre-wrap{color:#ffffffd9}[data-theme=dark] .ant-typography.ant-typography-ellipsis.ant-typography-ellipsis-single-line{color:#daa520!important}[data-theme=dark] .ant-typography.ant-typography-ellipsis.ant-typography-ellipsis-single-line:hover{color:#f6ca60!important}[data-theme=dark] .ant-btn.ant-btn-color-primary{border-color:#edab0c;background-color:#edab0c;color:#ffffffd9}[data-theme=dark] .ant-btn.ant-btn-color-primary:hover{color:#ffffffd9!important;background-color:#eabf5b!important}[data-theme=dark] .ant-btn.ant-btn-color-primary.ant-btn-variant-text{background-color:initial}[data-theme=dark] .ant-btn.ant-btn-color-default{border-color:#424242;box-shadow:0 2px #ffffff0a}[data-theme=dark] .ant-btn.ant-btn-color-default:disabled{border-color:#424242!important;color:#ffffff40!important;background-color:#ffffff14!important}[data-theme=dark] .ant-btn.ant-btn-color-default:hover{border-color:#edab0c;color:#edab0c!important}[data-theme=dark] .ant-btn.ant-btn-variant-outlined,[data-theme=dark] .ant-btn .ant-btn-variant-dashed{background-color:#141414!important}[data-theme=dark] .ant-btn.ant-btn-color-default{color:#ffffffd9!important;box-shadow:0 2px #ffffff0a!important}[data-theme=dark] .ant-btn.ant-btn-variant-solid:disabled,[data-theme=dark] .ant-btn.ant-btn-variant-solid.ant-btn-disabled{border-color:#424242!important;color:#ffffff40!important;background-color:#ffffff14!important}[data-theme=dark] .ant-btn.ant-btn-variant-outlined:disabled,[data-theme=dark] .ant-btn.ant-btn-variant-dashed:disabled,[data-theme=dark] .ant-btn.ant-btn-variant-outlined.ant-btn-disabled,[data-theme=dark] .ant-btn.ant-btn-variant-dashed.ant-btn-disabled{border-color:#424242!important;color:#ffffff40!important;background-color:#ffffff14!important}[data-theme=dark] .ant-table{color:#ffffffd9}[data-theme=dark] .ant-table .ant-table-thead .ant-table-cell{color:#ffffffd9;background-color:#1d1d1d}[data-theme=dark] .ant-table td a{color:#ffffffd9}[data-theme=dark] .ant-table .ant-table-cell{border-bottom-color:var(--divider-color)!important}[data-theme=dark] .ant-table .ant-table-row-selected .ant-table-cell{background:#7c5914!important}[data-theme=dark] .ant-table .ant-table-row-selected .ant-table-cell-row-hover{background:#aa7714!important}[data-theme=dark] .ant-table .ant-table-cell-row-hover{background:#262626!important}[data-theme=dark] .ant-input{color:#ffffffd9}[data-theme=dark] .ant-input.ant-input-outlined{background-color:#141414;border-color:#424242}[data-theme=dark] .ant-input-affix-wrapper{color:#ffffffd9}[data-theme=dark] .ant-input-affix-wrapper.ant-input-outlined{background-color:#141414;border-color:#424242}[data-theme=dark] .ant-input-affix-wrapper.ant-input-outlined:focus{box-shadow:none}[data-theme=dark] .ant-input-affix-wrapper.ant-input-outlined .ant-select:before{background-color:var(--divider-color)}[data-theme=dark] .ant-input-affix-wrapper.ant-input-outlined .ant-select .ant-select-selector{background-color:inherit;border-color:transparent;color:#ffffffd9}[data-theme=dark] .ant-input-affix-wrapper.ant-input-outlined .ant-select.ant-select-outlined:not(.ant-select-customize-input) .ant-select-selector{background-color:#141414}[data-theme=dark] .ant-input-group-wrapper .ant-input-group{color:#ffffffd9}[data-theme=dark] .ant-input-group-wrapper .ant-input-group-addon{color:#ffffffd9;border-color:#303030}[data-theme=dark] .ant-form-item-additional,[data-theme=dark] .ant-form-item-additional .ant-form-item-explain{color:#ffffffd9}[data-theme=dark] .ant-input-affix-wrapper{color:#ffffffd9;background-color:#141414}[data-theme=dark] .ant-input-affix-wrapper .ant-input-prefix .ant-select.ant-select-single.ant-select-open .ant-select-selection-item{color:#ffffff40!important}[data-theme=dark] .ant-input-affix-wrapper .ant-input-prefix .ant-select .ant-select-selector{color:#ffffffd9;background-color:inherit}[data-theme=dark] .ant-input-affix-wrapper .ant-input-prefix .ant-select .ant-select-selector .ant-select-selection-wrap{color:#ffffffd9}[data-theme=dark] .ant-input-affix-wrapper .ant-input-prefix .ant-select.ant-select-outlined:not(.ant-select-customize-input) .ant-select-selector{background-color:#141414}[data-theme=dark] .ant-input-affix-wrapper input{background-color:#141414!important}[data-theme=dark] .ant-input-affix-wrapper .ant-input-suffix{cursor:pointer}[data-theme=dark] .ant-input-affix-wrapper .ant-input-suffix .ant-input-data-count{color:#ffffffd9}[data-theme=dark] .ant-input-affix-wrapper .ant-input-suffix:hover svg path{fill:#edab0c!important}[data-theme=dark] .ant-collapse{background-color:#ffffff0a;border:1px solid #424242}[data-theme=dark] .ant-collapse .ant-collapse-item{border-bottom:1px solid #424242}[data-theme=dark] .ant-collapse .ant-collapse-item .ant-collapse-header{padding:12px 16px!important}[data-theme=dark] .ant-collapse .ant-collapse-item .ant-collapse-content{color:#ffffffd9;background-color:#141414;border-top:1px solid #424242}[data-theme=dark] .ant-collapse .ant-collapse-item .ant-collapse-content .ant-collapse-content-box{padding:16px!important}[data-theme=dark] .ant-collapse .ant-collapse-item .ant-collapse-content hr{background-color:#424242;height:1px}[data-theme=dark] .ant-descriptions table .ant-descriptions-item{border-inline:1px solid #424242;border-spacing:1px}[data-theme=dark] .ant-descriptions .ant-descriptions-row .ant-descriptions-item-label{color:#ffffff73!important}[data-theme=dark] .ant-descriptions .ant-descriptions-row .ant-descriptions-item-content,[data-theme=dark] .ant-select{color:#ffffffd9}[data-theme=dark] .ant-select .ant-select-selector{color:#ffffffd9;border-color:#424242;background-color:#141414}[data-theme=dark] .ant-select .ant-select-selector input{background-color:initial!important}[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-placeholder{color:#ffffff40}[data-theme=dark] table th,[data-theme=dark] table td{border-color:var(--divider-color)}[data-theme=dark] .text-inherit,[data-theme=dark] .block.text-black.font-bold.text-\\[16px\\].mb-\\[1em\\],[data-theme=dark] .ant-pagination .ant-pagination-options{color:#ffffffd9}[data-theme=dark] .ant-pagination .ant-pagination-prev.ant-pagination-disabled,[data-theme=dark] .ant-pagination .ant-pagination-next.ant-pagination-disabled{color:#ffffff40}:is([data-theme=dark] .ant-pagination .ant-pagination-prev.ant-pagination-disabled,[data-theme=dark] .ant-pagination .ant-pagination-next.ant-pagination-disabled) svg path{fill:#ffffff40!important}:is([data-theme=dark] .ant-pagination .ant-pagination-prev.ant-pagination-disabled,[data-theme=dark] .ant-pagination .ant-pagination-next.ant-pagination-disabled) .ant-pagination-item-link{color:#ffffff40}[data-theme=dark] .ant-pagination .ant-pagination-item{background-color:#1d1d1d}[data-theme=dark] .ant-pagination .ant-pagination-item:hover{background-color:#313131}[data-theme=dark] .ant-pagination .ant-pagination-item a{color:#ffffffd9}[data-theme=dark] .ant-pagination .ant-pagination-item.ant-pagination-item-active{background-color:#141414}[data-theme=dark] .ant-pagination .ant-pagination-options-quick-jumper input:focus,[data-theme=dark] .ant-pagination .ant-pagination-options-quick-jumper input:focus-within{background-color:#1d1d1d}[data-theme=dark] .ant-pagination .ant-pagination-item-ellipsis{color:#ffffffd9!important}[data-theme=dark] .bg-white.rounded-xl.p-5.mb-5{background-color:#1d1d1d}[data-theme=dark] .border-\\[\\#E8E1D7\\]{border-color:var(--divider-color)}[data-theme=dark] div:has(>.ant-space.ant-space-horizontal.ant-space-align-center.w-full.mb-4){border-bottom-color:var(--divider-color)!important}[data-theme=dark] .ant-tag.ant-tag-checkable.cat-427,[data-theme=dark] .ant-tag.ant-tag-checkable.cat-442,[data-theme=dark] .ant-tag.ant-tag-checkable.cat-451{background-color:#f6ca60;border-color:#424242;color:#ffffffd9}:is([data-theme=dark] .ant-tag.ant-tag-checkable.cat-427,[data-theme=dark] .ant-tag.ant-tag-checkable.cat-442,[data-theme=dark] .ant-tag.ant-tag-checkable.cat-451):not(.ant-tag-checkable-checked){background-color:#141414;border-color:var(--border-color)}[data-theme=dark] .ant-input-affix-wrapper .ant-input-clear-icon{color:#ffffffd9}[data-theme=dark] .dropdown{background-color:#1d1d1d;border:1px solid #303030;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}[data-theme=dark] .dropdown .item{background-color:#1d1d1d;color:#ffffffd9}[data-theme=dark] .dropdown .item span{filter:brightness(0) invert(1)}[data-theme=dark] .dropdown .item:hover{background-color:#323131}[data-theme=dark] .ant-modal .ant-modal-title{color:#ffffffd9;background-color:#1f1f1f}[data-theme=dark] .ant-modal .ant-modal-content{box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;background-color:#1f1f1f}[data-theme=dark] .ant-modal .ant-modal-content .ant-modal-confirm-title,[data-theme=dark] .ant-modal .ant-modal-content .ant-modal-confirm-content{color:#ffffffd9}[data-theme=dark] .ant-modal .ant-modal-content .ant-modal-body{border-color:var(--border-color)}[data-theme=dark] .ant-modal .ant-modal-confirm-btns .ant-btn-variant-outlined{background-color:#141414}[data-theme=dark] .ant-modal .ant-modal-confirm-btns .ant-btn-color-default{color:#ffffffd9;box-shadow:0 2px #ffffff0a}[data-theme=dark] .ant-modal .ant-modal-confirm-btns .ant-btn-variant-solid{color:#fff;background-color:#edab0c}[data-theme=dark] .ant-modal .ant-modal-confirm-btns .ant-btn-color-primary{box-shadow:0 2px #1775f94f}[data-theme=dark] .ant-notification{color:#ffffffd9}[data-theme=dark] .ant-notification .ant-notification-notice-wrapper{box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;background:#1f1f1f}[data-theme=dark] .ant-notification .ant-notification-notice-content .ant-notification-notice-message,[data-theme=dark] .ant-notification .ant-notification-notice-content .ant-notification-notice-description,[data-theme=dark] .ant-notification .ant-notification-notice-close,[data-theme=dark] .ant-tabs{color:#ffffffd9}[data-theme=dark] .ant-tabs .ant-tabs-nav:before{border-bottom-color:#303030}:is() .ant-tabs-nav-wrap:before,:is() .ant-tabs-nav-wrap:after{box-shadow:inset 10px 0 8px -8px #00000014}[data-theme=dark] .ant-tabs .ant-tabs-tab,[data-theme=dark] .ant-message{color:#ffffffd9}[data-theme=dark] .ant-message .ant-message-notice-content{background-color:#1f1f1f;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}[data-theme=dark] .ant-message .ant-message-notice-wrapper .ant-message-success>.anticon{color:#49aa19}[data-theme=dark] .editor-container{background-color:#1d1d1d;border:1px solid #303030;color:#ffffffd9}[data-theme=dark] .editor-container>div{background-color:#1d1d1d;background:#1d1d1d}[data-theme=dark] .editor-container>div:nth-of-type(1){border-bottom-color:var(--border-color)}[data-theme=dark] .editor-container>div button span{color:#ffffffd9!important;filter:brightness(0) invert(1)}[data-theme=dark] .editor-container>div button i{filter:brightness(0) invert(1)}[data-theme=dark] .editor-container>div button:hover:not([disabled]){background-color:#262626!important}[data-theme=dark] .editor-container>div .divider{background-color:var(--border-color)}[data-theme=dark] .editor-container>div .actions button{background-color:#edab0c;color:#ffffffd9}[data-theme=dark] .markdown-body{color:#ffffffd9}[data-theme=dark] .pb-\\[20px\\].mb-\\[20px\\].border-0.border-b.border-solid.border-\\[\\#E8E1D7\\]{border-color:var(--divider-color)}[data-theme=dark] .ant-col.p-3.bg-white{background-color:#262626;border-radius:12px;color:#ffffff73}[data-theme=dark] .ant-col.p-3.bg-white>.ant-row.ant-row-space-between{background-color:#262626}[data-theme=dark] .ant-col.p-3.bg-white .markdown-body{color:#ffffffd9}[data-theme=dark] .ant-typography{color:#ffffffd9!important}[data-theme=dark] .ant-typography a{color:#ffffff73}[data-theme=dark] .w-\\[120px\\].inline-block.text-black.font-bold.text-\\[16px\\]{color:#ffffffd9}[data-theme=dark] .bg-white.rounded-xl.p-5{background-color:#1d1d1d}[data-theme=dark] .ant-form-item label{color:#ffffffd9}[data-theme=dark] .ant-float-btn-group button,[data-theme=dark] .ant-float-btn-default .ant-float-btn-body{background-color:#1f1f1f}[data-theme=dark] .ant-float-btn-default .ant-float-btn-body:hover{background-color:#ffffff1f}[data-theme=dark] .ant-picker{background-color:#1d1d1d;border-color:#424242;color:#424242}[data-theme=dark] .ant-picker-dropdown .ant-picker-range-arrow:before{background:#1f1f1f}[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container{background-color:#1f1f1f;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container .ant-picker-header{color:#ffffffd9;border-bottom:1px solid rgba(253,253,253,.12)}[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container .ant-picker-header button{color:#ffffff73}[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container .ant-picker-header .ant-picker-header-view>button{color:inherit}[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell{color:#ffffff40}[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view,[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container .ant-picker-content th,[data-theme=dark] .ant-form.ant-form-horizontal{color:#ffffffd9}[data-theme=dark] .ant-input-number{border-color:#424242;background-color:transparent}[data-theme=dark] .ant-input-number .ant-input-number-handler-wrap{background-color:transparent}[data-theme=dark] .ant-input-number .ant-input-number-handler{border-inline-start:1px solid #424242}[data-theme=dark] .ant-input-number .ant-input-number-handler.ant-input-number-handler-down{border-block-start:1px solid #424242}[data-theme=dark] .ant-input-number-group-wrapper-outlined .ant-input-number-group-addon{border-color:#424242;color:#ffffffd9}[data-theme=dark] .ant-btn-color-link.ant-btn-variant-link:disabled,[data-theme=dark] .ant-btn-color-link.ant-btn-variant-link.ant-btn-disabled{color:#ffffff40}[data-theme=dark] .ant-progress .ant-progress-inner{background-color:#ffffff1f}[data-theme=dark] .ant-progress .ant-progress-text,[data-theme=dark] span.anticon.w-4.h-4.menu-arrow{color:#ffffffd9}[data-theme=dark] .ant-menu.ant-menu-sub.ant-menu-vertical{background-color:#1f1f1f}[data-theme=dark] .ant-menu-light .ant-menu-item,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-item,[data-theme=dark] .ant-menu-light .ant-menu-submenu-title,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-submenu-title{color:#ffffffd9}[data-theme=dark] .ant-menu-light .ant-menu-item-selected,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-item-selected{color:#f6ca60}[data-theme=dark] .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{color:#f6ca60}:is([data-theme=dark] .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-submenu-selected>.ant-menu-submenu-title) a{color:#f6ca60}[data-theme=dark] .ant-menu-light .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected):hover,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected):hover,[data-theme=dark] .ant-menu-light .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected)>.ant-menu-submenu-title:hover,[data-theme=dark] .ant-menu-light>.ant-menu .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected)>.ant-menu-submenu-title:hover{color:#f6ca60}[data-theme=dark] .ant-list-item-meta-description{color:#ffffffd9!important}[data-theme=dark] .ant-list-empty-text{color:#ffffff73}[data-theme=dark] .ant-upload-wrapper{color:#ffffffd9}[data-theme=dark] .ant-upload-wrapper .ant-upload{background-color:#1d1d1d;border-color:#ffffff0a}[data-theme=dark] .ant-upload-wrapper .ant-upload .ant-upload-text{color:#ffffffd9}[data-theme=dark] .editor-code{background-color:#262626}[data-theme=dark] .editor-code:after{color:#ffffffd9}[data-theme=dark] .ant-select-dropdown{background-color:#1f1f1f;color:#ffffffd9}[data-theme=dark] .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-selected){color:#ffffffd9}[data-theme=dark] .ant-select-dropdown .ant-select-item:hover{background-color:#313131!important}[data-theme=dark] .ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:#1f1f1f}[data-theme=dark] .ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#1f1f1f}[data-theme=dark] .ant-dropdown,[data-theme=dark] .ant-dropdown .ant-dropdown-menu{background-color:#1f1f1f!important}[data-theme=dark] .ant-dropdown .ant-dropdown-menu-item:not(.ant-dropdown-menu-item-selected){color:#ffffffd9!important}[data-theme=dark] .ant-dropdown .ant-dropdown-menu-item:not(.ant-dropdown-menu-item-selected):hover{background-color:#ffffff14}[data-theme=dark] .ant-dropdown .ant-space-item{color:#ffffffd9!important}[data-theme=dark] .ant-divider{border-block-start-color:#fdfdfd1f}[data-theme=dark] .ant-breadcrumb,[data-theme=dark] .ant-breadcrumb a,[data-theme=dark] .ant-breadcrumb .ant-breadcrumb-separator{color:#ffffff73}[data-theme=dark] .ant-breadcrumb li:last-child{color:#ffffffd9}[data-theme=dark] .trrdd,[data-theme=dark] .trrdd .ant-col{border-color:var(--border-color)}[data-theme=dark]{--primary-color-50: #2b2111;--primary-color-100: #2b2111;--primary-color-200: #443111;--primary-color-300: #594214;--primary-color-400: #7c5914;--primary-color-500: #aa7714;--primary-color-600: #d89614;--primary-color-700: #e8b339;--primary-color-800: #f3cc62;--primary-color-900: #f8df8b;--primary-color-950: #faedb5;--primary-color: var(--primary-color-500);--menu-bg: #1D1D1D;--bg-color: #141414;--bg-image: none;--bg-image-repeat: no-repeat;--bg-image-position: center;--head-bg-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02);--head-bg: #141414;--divider-color: rgba(255, 255, 255, .12);--table-hover: rgba(255, 255, 255, .04);--promotion-bg: #389e0d;--bg-1: #1f1f1f;--bg-2: #262626;--bg-3: #303030;--bg-4: #434343;--text-color: rgba(255, 255, 255, .85);--text-color-secondary: rgba(255, 255, 255, .45);--border-color: #434343;--border-color-split: #303030;--disabled-color: rgba(255, 255, 255, .3);--disabled-bg: rgba(255, 255, 255, .08);--item-active-bg: #111b26;--item-hover-bg: rgba(255, 255, 255, .08)}.ant-dropdown{background-color:#fff!important;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d} `); (function () { 'use strict'; function _mergeNamespaces$1(n, m) { for (var i = 0; i < m.length; i++) { const e = m[i]; if (typeof e !== "string" && !Array.isArray(e)) { for (const k in e) { if (k !== "default" && !(k in n)) { const d = Object.getOwnPropertyDescriptor(e, k); if (d) { Object.defineProperty(n, k, d.get ? d : { enumerable: true, get: () => e[k] }); } } } } } return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" })); } function getDefaultExportFromCjs(x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x; } var jsxRuntime = { exports: {} }; var reactJsxRuntime_production = {}; /** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredReactJsxRuntime_production; function requireReactJsxRuntime_production() { if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production; hasRequiredReactJsxRuntime_production = 1; var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment"); function jsxProd(type4, config, maybeKey) { var key = null; void 0 !== maybeKey && (key = "" + maybeKey); void 0 !== config.key && (key = "" + config.key); if ("key" in config) { maybeKey = {}; for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]); } else maybeKey = config; config = maybeKey.ref; return { $$typeof: REACT_ELEMENT_TYPE, type: type4, key, ref: void 0 !== config ? config : null, props: maybeKey }; } reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE2; reactJsxRuntime_production.jsx = jsxProd; reactJsxRuntime_production.jsxs = jsxProd; return reactJsxRuntime_production; } var hasRequiredJsxRuntime; function requireJsxRuntime() { if (hasRequiredJsxRuntime) return jsxRuntime.exports; hasRequiredJsxRuntime = 1; { jsxRuntime.exports = requireReactJsxRuntime_production(); } return jsxRuntime.exports; } var jsxRuntimeExports = requireJsxRuntime(); var react = { exports: {} }; var react_production = {}; /** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredReact_production; function requireReact_production() { if (hasRequiredReact_production) return react_production; hasRequiredReact_production = 1; var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } var ReactNoopUpdateQueue = { isMounted: function() { return false; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, assign = Object.assign, emptyObject = {}; function Component(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject; this.updater = updater || ReactNoopUpdateQueue; } Component.prototype.isReactComponent = {}; Component.prototype.setState = function(partialState, callback) { if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error( "takes an object of state variables to update or a function which returns an object of state variables." ); this.updater.enqueueSetState(this, partialState, callback, "setState"); }; Component.prototype.forceUpdate = function(callback) { this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); }; function ComponentDummy() { } ComponentDummy.prototype = Component.prototype; function PureComponent(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject; this.updater = updater || ReactNoopUpdateQueue; } var pureComponentPrototype = PureComponent.prototype = new ComponentDummy(); pureComponentPrototype.constructor = PureComponent; assign(pureComponentPrototype, Component.prototype); pureComponentPrototype.isPureReactComponent = true; var isArrayImpl = Array.isArray, ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null }, hasOwnProperty = Object.prototype.hasOwnProperty; function ReactElement(type4, key, self2, source, owner, props) { self2 = props.ref; return { $$typeof: REACT_ELEMENT_TYPE, type: type4, key, ref: void 0 !== self2 ? self2 : null, props }; } function cloneAndReplaceKey(oldElement, newKey) { return ReactElement( oldElement.type, newKey, void 0, void 0, void 0, oldElement.props ); } function isValidElement(object4) { return "object" === typeof object4 && null !== object4 && object4.$$typeof === REACT_ELEMENT_TYPE; } function escape(key) { var escaperLookup = { "=": "=0", ":": "=2" }; return "$" + key.replace(/[=:]/g, function(match) { return escaperLookup[match]; }); } var userProvidedKeyEscapeRegex = /\/+/g; function getElementKey(element, index2) { return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index2.toString(36); } function noop$12() { } function resolveThenable(thenable) { switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; default: switch ("string" === typeof thenable.status ? thenable.then(noop$12, noop$12) : (thenable.status = "pending", thenable.then( function(fulfilledValue) { "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue); }, function(error) { "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error); } )), thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; } } throw thenable; } function mapIntoArray(children, array4, escapedPrefix, nameSoFar, callback) { var type4 = typeof children; if ("undefined" === type4 || "boolean" === type4) children = null; var invokeCallback = false; if (null === children) invokeCallback = true; else switch (type4) { case "bigint": case "string": case "number": invokeCallback = true; break; case "object": switch (children.$$typeof) { case REACT_ELEMENT_TYPE: case REACT_PORTAL_TYPE: invokeCallback = true; break; case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray( invokeCallback(children._payload), array4, escapedPrefix, nameSoFar, callback ); } } if (invokeCallback) return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array4, escapedPrefix, "", function(c) { return c; })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey( callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace( userProvidedKeyEscapeRegex, "$&/" ) + "/") + invokeCallback )), array4.push(callback)), 1; invokeCallback = 0; var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":"; if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type4 = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray( nameSoFar, array4, escapedPrefix, type4, callback ); else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; ) nameSoFar = nameSoFar.value, type4 = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray( nameSoFar, array4, escapedPrefix, type4, callback ); else if ("object" === type4) { if ("function" === typeof children.then) return mapIntoArray( resolveThenable(children), array4, escapedPrefix, nameSoFar, callback ); array4 = String(children); throw Error( "Objects are not valid as a React child (found: " + ("[object Object]" === array4 ? "object with keys {" + Object.keys(children).join(", ") + "}" : array4) + "). If you meant to render a collection of children, use an array instead." ); } return invokeCallback; } function mapChildren(children, func, context) { if (null == children) return children; var result = [], count = 0; mapIntoArray(children, result, "", "", function(child) { return func.call(context, child, count++); }); return result; } function lazyInitializer(payload) { if (-1 === payload._status) { var ctor = payload._result; ctor = ctor(); ctor.then( function(moduleObject) { if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject; }, function(error) { if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error; } ); -1 === payload._status && (payload._status = 0, payload._result = ctor); } if (1 === payload._status) return payload._result.default; throw payload._result; } var reportGlobalError = "function" === typeof reportError ? reportError : function(error) { if ("object" === typeof window && "function" === typeof window.ErrorEvent) { var event = new window.ErrorEvent("error", { bubbles: true, cancelable: true, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error }); if (!window.dispatchEvent(event)) return; } else if ("object" === typeof process && "function" === typeof process.emit) { process.emit("uncaughtException", error); return; } console.error(error); }; function noop2() { } react_production.Children = { map: mapChildren, forEach: function(children, forEachFunc, forEachContext) { mapChildren( children, function() { forEachFunc.apply(this, arguments); }, forEachContext ); }, count: function(children) { var n = 0; mapChildren(children, function() { n++; }); return n; }, toArray: function(children) { return mapChildren(children, function(child) { return child; }) || []; }, only: function(children) { if (!isValidElement(children)) throw Error( "React.Children.only expected to receive a single React element child." ); return children; } }; react_production.Component = Component; react_production.Fragment = REACT_FRAGMENT_TYPE2; react_production.Profiler = REACT_PROFILER_TYPE; react_production.PureComponent = PureComponent; react_production.StrictMode = REACT_STRICT_MODE_TYPE; react_production.Suspense = REACT_SUSPENSE_TYPE; react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals; react_production.__COMPILER_RUNTIME = { __proto__: null, c: function(size) { return ReactSharedInternals.H.useMemoCache(size); } }; react_production.cache = function(fn) { return function() { return fn.apply(null, arguments); }; }; react_production.cloneElement = function(element, config, children) { if (null === element || void 0 === element) throw Error( "The argument must be a React element, but you passed " + element + "." ); var props = assign({}, element.props), key = element.key, owner = void 0; if (null != config) for (propName in void 0 !== config.ref && (owner = void 0), void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]); var propName = arguments.length - 2; if (1 === propName) props.children = children; else if (1 < propName) { for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2]; props.children = childArray; } return ReactElement(element.type, key, void 0, void 0, owner, props); }; react_production.createContext = function(defaultValue) { defaultValue = { $$typeof: REACT_CONTEXT_TYPE, _currentValue: defaultValue, _currentValue2: defaultValue, _threadCount: 0, Provider: null, Consumer: null }; defaultValue.Provider = defaultValue; defaultValue.Consumer = { $$typeof: REACT_CONSUMER_TYPE, _context: defaultValue }; return defaultValue; }; react_production.createElement = function(type4, config, children) { var propName, props = {}, key = null; if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]); var childrenLength = arguments.length - 2; if (1 === childrenLength) props.children = children; else if (1 < childrenLength) { for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2]; props.children = childArray; } if (type4 && type4.defaultProps) for (propName in childrenLength = type4.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]); return ReactElement(type4, key, void 0, void 0, null, props); }; react_production.createRef = function() { return { current: null }; }; react_production.forwardRef = function(render2) { return { $$typeof: REACT_FORWARD_REF_TYPE, render: render2 }; }; react_production.isValidElement = isValidElement; react_production.lazy = function(ctor) { return { $$typeof: REACT_LAZY_TYPE, _payload: { _status: -1, _result: ctor }, _init: lazyInitializer }; }; react_production.memo = function(type4, compare) { return { $$typeof: REACT_MEMO_TYPE, type: type4, compare: void 0 === compare ? null : compare }; }; react_production.startTransition = function(scope) { var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; try { var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop2, reportGlobalError); } catch (error) { reportGlobalError(error); } finally { ReactSharedInternals.T = prevTransition; } }; react_production.unstable_useCacheRefresh = function() { return ReactSharedInternals.H.useCacheRefresh(); }; react_production.use = function(usable) { return ReactSharedInternals.H.use(usable); }; react_production.useActionState = function(action, initialState, permalink) { return ReactSharedInternals.H.useActionState(action, initialState, permalink); }; react_production.useCallback = function(callback, deps) { return ReactSharedInternals.H.useCallback(callback, deps); }; react_production.useContext = function(Context2) { return ReactSharedInternals.H.useContext(Context2); }; react_production.useDebugValue = function() { }; react_production.useDeferredValue = function(value, initialValue) { return ReactSharedInternals.H.useDeferredValue(value, initialValue); }; react_production.useEffect = function(create, createDeps, update) { var dispatcher = ReactSharedInternals.H; if ("function" === typeof update) throw Error( "useEffect CRUD overload is not enabled in this build of React." ); return dispatcher.useEffect(create, createDeps); }; react_production.useId = function() { return ReactSharedInternals.H.useId(); }; react_production.useImperativeHandle = function(ref, create, deps) { return ReactSharedInternals.H.useImperativeHandle(ref, create, deps); }; react_production.useInsertionEffect = function(create, deps) { return ReactSharedInternals.H.useInsertionEffect(create, deps); }; react_production.useLayoutEffect = function(create, deps) { return ReactSharedInternals.H.useLayoutEffect(create, deps); }; react_production.useMemo = function(create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; react_production.useOptimistic = function(passthrough, reducer) { return ReactSharedInternals.H.useOptimistic(passthrough, reducer); }; react_production.useReducer = function(reducer, initialArg, init) { return ReactSharedInternals.H.useReducer(reducer, initialArg, init); }; react_production.useRef = function(initialValue) { return ReactSharedInternals.H.useRef(initialValue); }; react_production.useState = function(initialState) { return ReactSharedInternals.H.useState(initialState); }; react_production.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) { return ReactSharedInternals.H.useSyncExternalStore( subscribe, getSnapshot, getServerSnapshot ); }; react_production.useTransition = function() { return ReactSharedInternals.H.useTransition(); }; react_production.version = "19.1.0"; return react_production; } var hasRequiredReact; function requireReact() { if (hasRequiredReact) return react.exports; hasRequiredReact = 1; { react.exports = requireReact_production(); } return react.exports; } var reactExports = requireReact(); const React = /* @__PURE__ */ getDefaultExportFromCjs(reactExports); const React$1 = /* @__PURE__ */ _mergeNamespaces$1({ __proto__: null, default: React }, [reactExports]); var client = { exports: {} }; var reactDomClient_production = {}; var scheduler = { exports: {} }; var scheduler_production = {}; /** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredScheduler_production; function requireScheduler_production() { if (hasRequiredScheduler_production) return scheduler_production; hasRequiredScheduler_production = 1; (function(exports) { function push(heap, node2) { var index2 = heap.length; heap.push(node2); a: for (; 0 < index2; ) { var parentIndex = index2 - 1 >>> 1, parent = heap[parentIndex]; if (0 < compare(parent, node2)) heap[parentIndex] = node2, heap[index2] = parent, index2 = parentIndex; else break a; } } function peek2(heap) { return 0 === heap.length ? null : heap[0]; } function pop(heap) { if (0 === heap.length) return null; var first = heap[0], last = heap.pop(); if (last !== first) { heap[0] = last; a: for (var index2 = 0, length2 = heap.length, halfLength = length2 >>> 1; index2 < halfLength; ) { var leftIndex = 2 * (index2 + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex]; if (0 > compare(left, last)) rightIndex < length2 && 0 > compare(right, left) ? (heap[index2] = right, heap[rightIndex] = last, index2 = rightIndex) : (heap[index2] = left, heap[leftIndex] = last, index2 = leftIndex); else if (rightIndex < length2 && 0 > compare(right, last)) heap[index2] = right, heap[rightIndex] = last, index2 = rightIndex; else break a; } } return first; } function compare(a, b) { var diff = a.sortIndex - b.sortIndex; return 0 !== diff ? diff : a.id - b.id; } exports.unstable_now = void 0; if ("object" === typeof performance && "function" === typeof performance.now) { var localPerformance = performance; exports.unstable_now = function() { return localPerformance.now(); }; } else { var localDate = Date, initialTime = localDate.now(); exports.unstable_now = function() { return localDate.now() - initialTime; }; } var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = false, isHostCallbackScheduled = false, isHostTimeoutScheduled = false, needsPaint = false, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null; function advanceTimers(currentTime) { for (var timer = peek2(timerQueue); null !== timer; ) { if (null === timer.callback) pop(timerQueue); else if (timer.startTime <= currentTime) pop(timerQueue), timer.sortIndex = timer.expirationTime, push(taskQueue, timer); else break; timer = peek2(timerQueue); } } function handleTimeout(currentTime) { isHostTimeoutScheduled = false; advanceTimers(currentTime); if (!isHostCallbackScheduled) if (null !== peek2(taskQueue)) isHostCallbackScheduled = true, isMessageLoopRunning || (isMessageLoopRunning = true, schedulePerformWorkUntilDeadline()); else { var firstTimer = peek2(timerQueue); null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); } } var isMessageLoopRunning = false, taskTimeoutID = -1, frameInterval = 5, startTime = -1; function shouldYieldToHost() { return needsPaint ? true : exports.unstable_now() - startTime < frameInterval ? false : true; } function performWorkUntilDeadline() { needsPaint = false; if (isMessageLoopRunning) { var currentTime = exports.unstable_now(); startTime = currentTime; var hasMoreWork = true; try { a: { isHostCallbackScheduled = false; isHostTimeoutScheduled && (isHostTimeoutScheduled = false, localClearTimeout(taskTimeoutID), taskTimeoutID = -1); isPerformingWork = true; var previousPriorityLevel = currentPriorityLevel; try { b: { advanceTimers(currentTime); for (currentTask = peek2(taskQueue); null !== currentTask && !(currentTask.expirationTime > currentTime && shouldYieldToHost()); ) { var callback = currentTask.callback; if ("function" === typeof callback) { currentTask.callback = null; currentPriorityLevel = currentTask.priorityLevel; var continuationCallback = callback( currentTask.expirationTime <= currentTime ); currentTime = exports.unstable_now(); if ("function" === typeof continuationCallback) { currentTask.callback = continuationCallback; advanceTimers(currentTime); hasMoreWork = true; break b; } currentTask === peek2(taskQueue) && pop(taskQueue); advanceTimers(currentTime); } else pop(taskQueue); currentTask = peek2(taskQueue); } if (null !== currentTask) hasMoreWork = true; else { var firstTimer = peek2(timerQueue); null !== firstTimer && requestHostTimeout( handleTimeout, firstTimer.startTime - currentTime ); hasMoreWork = false; } } break a; } finally { currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork = false; } hasMoreWork = void 0; } } finally { hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = false; } } } var schedulePerformWorkUntilDeadline; if ("function" === typeof localSetImmediate) schedulePerformWorkUntilDeadline = function() { localSetImmediate(performWorkUntilDeadline); }; else if ("undefined" !== typeof MessageChannel) { var channel = new MessageChannel(), port = channel.port2; channel.port1.onmessage = performWorkUntilDeadline; schedulePerformWorkUntilDeadline = function() { port.postMessage(null); }; } else schedulePerformWorkUntilDeadline = function() { localSetTimeout(performWorkUntilDeadline, 0); }; function requestHostTimeout(callback, ms) { taskTimeoutID = localSetTimeout(function() { callback(exports.unstable_now()); }, ms); } exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; exports.unstable_NormalPriority = 3; exports.unstable_Profiling = null; exports.unstable_UserBlockingPriority = 2; exports.unstable_cancelCallback = function(task) { task.callback = null; }; exports.unstable_forceFrameRate = function(fps) { 0 > fps || 125 < fps ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return currentPriorityLevel; }; exports.unstable_next = function(eventHandler) { switch (currentPriorityLevel) { case 1: case 2: case 3: var priorityLevel = 3; break; default: priorityLevel = currentPriorityLevel; } var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = priorityLevel; try { return eventHandler(); } finally { currentPriorityLevel = previousPriorityLevel; } }; exports.unstable_requestPaint = function() { needsPaint = true; }; exports.unstable_runWithPriority = function(priorityLevel, eventHandler) { switch (priorityLevel) { case 1: case 2: case 3: case 4: case 5: break; default: priorityLevel = 3; } var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = priorityLevel; try { return eventHandler(); } finally { currentPriorityLevel = previousPriorityLevel; } }; exports.unstable_scheduleCallback = function(priorityLevel, callback, options) { var currentTime = exports.unstable_now(); "object" === typeof options && null !== options ? (options = options.delay, options = "number" === typeof options && 0 < options ? currentTime + options : currentTime) : options = currentTime; switch (priorityLevel) { case 1: var timeout = -1; break; case 2: timeout = 250; break; case 5: timeout = 1073741823; break; case 4: timeout = 1e4; break; default: timeout = 5e3; } timeout = options + timeout; priorityLevel = { id: taskIdCounter++, callback, priorityLevel, startTime: options, expirationTime: timeout, sortIndex: -1 }; options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek2(taskQueue) && priorityLevel === peek2(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = true, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = true, isMessageLoopRunning || (isMessageLoopRunning = true, schedulePerformWorkUntilDeadline()))); return priorityLevel; }; exports.unstable_shouldYield = shouldYieldToHost; exports.unstable_wrapCallback = function(callback) { var parentPriorityLevel = currentPriorityLevel; return function() { var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = parentPriorityLevel; try { return callback.apply(this, arguments); } finally { currentPriorityLevel = previousPriorityLevel; } }; }; })(scheduler_production); return scheduler_production; } var hasRequiredScheduler; function requireScheduler() { if (hasRequiredScheduler) return scheduler.exports; hasRequiredScheduler = 1; { scheduler.exports = requireScheduler_production(); } return scheduler.exports; } var reactDom = { exports: {} }; var reactDom_production = {}; /** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredReactDom_production; function requireReactDom_production() { if (hasRequiredReactDom_production) return reactDom_production; hasRequiredReactDom_production = 1; var React2 = requireReact(); function formatProdErrorMessage(code) { var url2 = "https://react.dev/errors/" + code; if (1 < arguments.length) { url2 += "?args[]=" + encodeURIComponent(arguments[1]); for (var i = 2; i < arguments.length; i++) url2 += "&args[]=" + encodeURIComponent(arguments[i]); } return "Minified React error #" + code + "; visit " + url2 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function noop2() { } var Internals = { d: { f: noop2, r: function() { throw Error(formatProdErrorMessage(522)); }, D: noop2, C: noop2, L: noop2, m: noop2, X: noop2, S: noop2, M: noop2 }, p: 0, findDOMNode: null }, REACT_PORTAL_TYPE = Symbol.for("react.portal"); function createPortal$1(children, containerInfo, implementation) { var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; return { $$typeof: REACT_PORTAL_TYPE, key: null == key ? null : "" + key, children, containerInfo, implementation }; } var ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; function getCrossOriginStringAs(as, input) { if ("font" === as) return ""; if ("string" === typeof input) return "use-credentials" === input ? input : ""; } reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals; reactDom_production.createPortal = function(children, container) { var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299)); return createPortal$1(children, container, null, key); }; reactDom_production.flushSync = function(fn) { var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p; try { if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn(); } finally { ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f(); } }; reactDom_production.preconnect = function(href, options) { "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options)); }; reactDom_production.prefetchDNS = function(href) { "string" === typeof href && Internals.d.D(href); }; reactDom_production.preinit = function(href, options) { if ("string" === typeof href && options && "string" === typeof options.as) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0; "style" === as ? Internals.d.S( href, "string" === typeof options.precedence ? options.precedence : void 0, { crossOrigin, integrity, fetchPriority } ) : "script" === as && Internals.d.X(href, { crossOrigin, integrity, fetchPriority, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } }; reactDom_production.preinitModule = function(href, options) { if ("string" === typeof href) if ("object" === typeof options && null !== options) { if (null == options.as || "script" === options.as) { var crossOrigin = getCrossOriginStringAs( options.as, options.crossOrigin ); Internals.d.M(href, { crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } } else null == options && Internals.d.M(href); }; reactDom_production.preload = function(href, options) { if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin); Internals.d.L(href, as, { crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0, type: "string" === typeof options.type ? options.type : void 0, fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0, referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0, imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0, imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0, media: "string" === typeof options.media ? options.media : void 0 }); } }; reactDom_production.preloadModule = function(href, options) { if ("string" === typeof href) if (options) { var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin); Internals.d.m(href, { as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0, crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0 }); } else Internals.d.m(href); }; reactDom_production.requestFormReset = function(form) { Internals.d.r(form); }; reactDom_production.unstable_batchedUpdates = function(fn, a) { return fn(a); }; reactDom_production.useFormState = function(action, initialState, permalink) { return ReactSharedInternals.H.useFormState(action, initialState, permalink); }; reactDom_production.useFormStatus = function() { return ReactSharedInternals.H.useHostTransitionStatus(); }; reactDom_production.version = "19.1.0"; return reactDom_production; } var hasRequiredReactDom; function requireReactDom() { if (hasRequiredReactDom) return reactDom.exports; hasRequiredReactDom = 1; function checkDCE() { if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") { return; } try { __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); } catch (err) { console.error(err); } } { checkDCE(); reactDom.exports = requireReactDom_production(); } return reactDom.exports; } /** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredReactDomClient_production; function requireReactDomClient_production() { if (hasRequiredReactDomClient_production) return reactDomClient_production; hasRequiredReactDomClient_production = 1; var Scheduler = requireScheduler(), React2 = requireReact(), ReactDOM2 = requireReactDom(); function formatProdErrorMessage(code) { var url2 = "https://react.dev/errors/" + code; if (1 < arguments.length) { url2 += "?args[]=" + encodeURIComponent(arguments[1]); for (var i = 2; i < arguments.length; i++) url2 += "&args[]=" + encodeURIComponent(arguments[i]); } return "Minified React error #" + code + "; visit " + url2 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function isValidContainer(node2) { return !(!node2 || 1 !== node2.nodeType && 9 !== node2.nodeType && 11 !== node2.nodeType); } function getNearestMountedFiber(fiber) { var node2 = fiber, nearestMounted = fiber; if (fiber.alternate) for (; node2.return; ) node2 = node2.return; else { fiber = node2; do node2 = fiber, 0 !== (node2.flags & 4098) && (nearestMounted = node2.return), fiber = node2.return; while (fiber); } return 3 === node2.tag ? nearestMounted : null; } function getSuspenseInstanceFromFiber(fiber) { if (13 === fiber.tag) { var suspenseState = fiber.memoizedState; null === suspenseState && (fiber = fiber.alternate, null !== fiber && (suspenseState = fiber.memoizedState)); if (null !== suspenseState) return suspenseState.dehydrated; } return null; } function assertIsMounted(fiber) { if (getNearestMountedFiber(fiber) !== fiber) throw Error(formatProdErrorMessage(188)); } function findCurrentFiberUsingSlowPath(fiber) { var alternate = fiber.alternate; if (!alternate) { alternate = getNearestMountedFiber(fiber); if (null === alternate) throw Error(formatProdErrorMessage(188)); return alternate !== fiber ? null : fiber; } for (var a = fiber, b = alternate; ; ) { var parentA = a.return; if (null === parentA) break; var parentB = parentA.alternate; if (null === parentB) { b = parentA.return; if (null !== b) { a = b; continue; } break; } if (parentA.child === parentB.child) { for (parentB = parentA.child; parentB; ) { if (parentB === a) return assertIsMounted(parentA), fiber; if (parentB === b) return assertIsMounted(parentA), alternate; parentB = parentB.sibling; } throw Error(formatProdErrorMessage(188)); } if (a.return !== b.return) a = parentA, b = parentB; else { for (var didFindChild = false, child$0 = parentA.child; child$0; ) { if (child$0 === a) { didFindChild = true; a = parentA; b = parentB; break; } if (child$0 === b) { didFindChild = true; b = parentA; a = parentB; break; } child$0 = child$0.sibling; } if (!didFindChild) { for (child$0 = parentB.child; child$0; ) { if (child$0 === a) { didFindChild = true; a = parentB; b = parentA; break; } if (child$0 === b) { didFindChild = true; b = parentB; a = parentA; break; } child$0 = child$0.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } } if (a.alternate !== b) throw Error(formatProdErrorMessage(190)); } if (3 !== a.tag) throw Error(formatProdErrorMessage(188)); return a.stateNode.current === a ? fiber : alternate; } function findCurrentHostFiberImpl(node2) { var tag = node2.tag; if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node2; for (node2 = node2.child; null !== node2; ) { tag = findCurrentHostFiberImpl(node2); if (null !== tag) return tag; node2 = node2.sibling; } return null; } var assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"); var REACT_ACTIVITY_TYPE = Symbol.for("react.activity"); var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type4) { if (null == type4) return null; if ("function" === typeof type4) return type4.$$typeof === REACT_CLIENT_REFERENCE ? null : type4.displayName || type4.name || null; if ("string" === typeof type4) return type4; switch (type4) { case REACT_FRAGMENT_TYPE2: return "Fragment"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; case REACT_ACTIVITY_TYPE: return "Activity"; } if ("object" === typeof type4) switch (type4.$$typeof) { case REACT_PORTAL_TYPE: return "Portal"; case REACT_CONTEXT_TYPE: return (type4.displayName || "Context") + ".Provider"; case REACT_CONSUMER_TYPE: return (type4._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type4.render; type4 = type4.displayName; type4 || (type4 = innerType.displayName || innerType.name || "", type4 = "" !== type4 ? "ForwardRef(" + type4 + ")" : "ForwardRef"); return type4; case REACT_MEMO_TYPE: return innerType = type4.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type4.type) || "Memo"; case REACT_LAZY_TYPE: innerType = type4._payload; type4 = type4._init; try { return getComponentNameFromType(type4(innerType)); } catch (x) { } } return null; } var isArrayImpl = Array.isArray, ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM2.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, sharedNotPendingObject = { pending: false, data: null, method: null, action: null }, valueStack = [], index2 = -1; function createCursor(defaultValue) { return { current: defaultValue }; } function pop(cursor) { 0 > index2 || (cursor.current = valueStack[index2], valueStack[index2] = null, index2--); } function push(cursor, value) { index2++; valueStack[index2] = cursor.current; cursor.current = value; } var contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null); function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); push(contextFiberStackCursor, fiber); push(contextStackCursor, null); switch (nextRootInstance.nodeType) { case 9: case 11: fiber = (fiber = nextRootInstance.documentElement) ? (fiber = fiber.namespaceURI) ? getOwnHostContext(fiber) : 0 : 0; break; default: if (fiber = nextRootInstance.tagName, nextRootInstance = nextRootInstance.namespaceURI) nextRootInstance = getOwnHostContext(nextRootInstance), fiber = getChildHostContextProd(nextRootInstance, fiber); else switch (fiber) { case "svg": fiber = 1; break; case "math": fiber = 2; break; default: fiber = 0; } } pop(contextStackCursor); push(contextStackCursor, fiber); } function popHostContainer() { pop(contextStackCursor); pop(contextFiberStackCursor); pop(rootInstanceStackCursor); } function pushHostContext(fiber) { null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber); var context = contextStackCursor.current; var JSCompiler_inline_result = getChildHostContextProd(context, fiber.type); context !== JSCompiler_inline_result && (push(contextFiberStackCursor, fiber), push(contextStackCursor, JSCompiler_inline_result)); } function popHostContext(fiber) { contextFiberStackCursor.current === fiber && (pop(contextStackCursor), pop(contextFiberStackCursor)); hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor), HostTransitionContext._currentValue = sharedNotPendingObject); } var hasOwnProperty = Object.prototype.hasOwnProperty, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now = Scheduler.unstable_now, getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null; function setIsStrictModeForDevtools(newIsStrictMode) { "function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode); if (injectedHook && "function" === typeof injectedHook.setStrictMode) try { injectedHook.setStrictMode(rendererID, newIsStrictMode); } catch (err) { } } var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2; function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : 31 - (log(x) / LN2 | 0) | 0; } var nextTransitionLane = 256, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; if (0 !== pendingSyncLanes) return pendingSyncLanes; switch (lanes & -lanes) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: return 64; case 128: return 128; case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return lanes & 4194048; case 4194304: case 8388608: case 16777216: case 33554432: return lanes & 62914560; case 67108864: return 67108864; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 0; default: return lanes; } } function getNextLanes(root2, wipLanes, rootHasPendingCommit) { var pendingLanes = root2.pendingLanes; if (0 === pendingLanes) return 0; var nextLanes = 0, suspendedLanes = root2.suspendedLanes, pingedLanes = root2.pingedLanes; root2 = root2.warmLanes; var nonIdlePendingLanes = pendingLanes & 134217727; 0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root2, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root2, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))); return 0 === nextLanes ? 0 : 0 !== wipLanes && wipLanes !== nextLanes && 0 === (wipLanes & suspendedLanes) && (suspendedLanes = nextLanes & -nextLanes, rootHasPendingCommit = wipLanes & -wipLanes, suspendedLanes >= rootHasPendingCommit || 32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)) ? wipLanes : nextLanes; } function checkIfRootIsPrerendering(root2, renderLanes2) { return 0 === (root2.pendingLanes & ~(root2.suspendedLanes & ~root2.pingedLanes) & renderLanes2); } function computeExpirationTime(lane, currentTime) { switch (lane) { case 1: case 2: case 4: case 8: case 64: return currentTime + 250; case 16: case 32: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return currentTime + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: return -1; case 67108864: case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; } } function claimNextTransitionLane() { var lane = nextTransitionLane; nextTransitionLane <<= 1; 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); return lane; } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304); return lane; } function createLaneMap(initial) { for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial); return laneMap; } function markRootUpdated$1(root2, updateLane) { root2.pendingLanes |= updateLane; 268435456 !== updateLane && (root2.suspendedLanes = 0, root2.pingedLanes = 0, root2.warmLanes = 0); } function markRootFinished(root2, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes) { var previouslyPendingLanes = root2.pendingLanes; root2.pendingLanes = remainingLanes; root2.suspendedLanes = 0; root2.pingedLanes = 0; root2.warmLanes = 0; root2.expiredLanes &= remainingLanes; root2.entangledLanes &= remainingLanes; root2.errorRecoveryDisabledLanes &= remainingLanes; root2.shellSuspendCounter = 0; var entanglements = root2.entanglements, expirationTimes = root2.expirationTimes, hiddenUpdates = root2.hiddenUpdates; for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes; ) { var index$5 = 31 - clz32(remainingLanes), lane = 1 << index$5; entanglements[index$5] = 0; expirationTimes[index$5] = -1; var hiddenUpdatesForLane = hiddenUpdates[index$5]; if (null !== hiddenUpdatesForLane) for (hiddenUpdates[index$5] = null, index$5 = 0; index$5 < hiddenUpdatesForLane.length; index$5++) { var update = hiddenUpdatesForLane[index$5]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; } 0 !== spawnedLane && markSpawnedDeferredLane(root2, spawnedLane, 0); 0 !== suspendedRetryLanes && 0 === updatedLanes && 0 !== root2.tag && (root2.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes)); } function markSpawnedDeferredLane(root2, spawnedLane, entangledLanes) { root2.pendingLanes |= spawnedLane; root2.suspendedLanes &= ~spawnedLane; var spawnedLaneIndex = 31 - clz32(spawnedLane); root2.entangledLanes |= spawnedLane; root2.entanglements[spawnedLaneIndex] = root2.entanglements[spawnedLaneIndex] | 1073741824 | entangledLanes & 4194090; } function markRootEntangled(root2, entangledLanes) { var rootEntangledLanes = root2.entangledLanes |= entangledLanes; for (root2 = root2.entanglements; rootEntangledLanes; ) { var index$6 = 31 - clz32(rootEntangledLanes), lane = 1 << index$6; lane & entangledLanes | root2[index$6] & entangledLanes && (root2[index$6] |= entangledLanes); rootEntangledLanes &= ~lane; } } function getBumpedLaneForHydrationByLane(lane) { switch (lane) { case 2: lane = 1; break; case 8: lane = 4; break; case 32: lane = 16; break; case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: case 4194304: case 8388608: case 16777216: case 33554432: lane = 128; break; case 268435456: lane = 134217728; break; default: lane = 0; } return lane; } function lanesToEventPriority(lanes) { lanes &= -lanes; return 2 < lanes ? 8 < lanes ? 0 !== (lanes & 134217727) ? 32 : 268435456 : 8 : 2; } function resolveUpdatePriority() { var updatePriority = ReactDOMSharedInternals.p; if (0 !== updatePriority) return updatePriority; updatePriority = window.event; return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type); } function runWithPriority(priority, fn) { var previousPriority = ReactDOMSharedInternals.p; try { return ReactDOMSharedInternals.p = priority, fn(); } finally { ReactDOMSharedInternals.p = previousPriority; } } var randomKey = Math.random().toString(36).slice(2), internalInstanceKey = "__reactFiber$" + randomKey, internalPropsKey = "__reactProps$" + randomKey, internalContainerInstanceKey = "__reactContainer$" + randomKey, internalEventHandlersKey = "__reactEvents$" + randomKey, internalEventHandlerListenersKey = "__reactListeners$" + randomKey, internalEventHandlesSetKey = "__reactHandles$" + randomKey, internalRootNodeResourcesKey = "__reactResources$" + randomKey, internalHoistableMarker = "__reactMarker$" + randomKey; function detachDeletedInstance(node2) { delete node2[internalInstanceKey]; delete node2[internalPropsKey]; delete node2[internalEventHandlersKey]; delete node2[internalEventHandlerListenersKey]; delete node2[internalEventHandlesSetKey]; } function getClosestInstanceFromNode(targetNode) { var targetInst = targetNode[internalInstanceKey]; if (targetInst) return targetInst; for (var parentNode = targetNode.parentNode; parentNode; ) { if (targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) { parentNode = targetInst.alternate; if (null !== targetInst.child || null !== parentNode && null !== parentNode.child) for (targetNode = getParentSuspenseInstance(targetNode); null !== targetNode; ) { if (parentNode = targetNode[internalInstanceKey]) return parentNode; targetNode = getParentSuspenseInstance(targetNode); } return targetInst; } targetNode = parentNode; parentNode = targetNode.parentNode; } return null; } function getInstanceFromNode(node2) { if (node2 = node2[internalInstanceKey] || node2[internalContainerInstanceKey]) { var tag = node2.tag; if (5 === tag || 6 === tag || 13 === tag || 26 === tag || 27 === tag || 3 === tag) return node2; } return null; } function getNodeFromInstance(inst) { var tag = inst.tag; if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode; throw Error(formatProdErrorMessage(33)); } function getResourcesFromRoot(root2) { var resources = root2[internalRootNodeResourcesKey]; resources || (resources = root2[internalRootNodeResourcesKey] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }); return resources; } function markNodeAsHoistable(node2) { node2[internalHoistableMarker] = true; } var allNativeEvents = /* @__PURE__ */ new Set(), registrationNameDependencies = {}; function registerTwoPhaseEvent(registrationName, dependencies) { registerDirectEvent(registrationName, dependencies); registerDirectEvent(registrationName + "Capture", dependencies); } function registerDirectEvent(registrationName, dependencies) { registrationNameDependencies[registrationName] = dependencies; for (registrationName = 0; registrationName < dependencies.length; registrationName++) allNativeEvents.add(dependencies[registrationName]); } var VALID_ATTRIBUTE_NAME_REGEX = RegExp( "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$" ), illegalAttributeNameCache = {}, validatedAttributeNameCache = {}; function isAttributeNameSafe(attributeName) { if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return true; if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return false; if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return validatedAttributeNameCache[attributeName] = true; illegalAttributeNameCache[attributeName] = true; return false; } function setValueForAttribute(node2, name, value) { if (isAttributeNameSafe(name)) if (null === value) node2.removeAttribute(name); else { switch (typeof value) { case "undefined": case "function": case "symbol": node2.removeAttribute(name); return; case "boolean": var prefix$8 = name.toLowerCase().slice(0, 5); if ("data-" !== prefix$8 && "aria-" !== prefix$8) { node2.removeAttribute(name); return; } } node2.setAttribute(name, "" + value); } } function setValueForKnownAttribute(node2, name, value) { if (null === value) node2.removeAttribute(name); else { switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": node2.removeAttribute(name); return; } node2.setAttribute(name, "" + value); } } function setValueForNamespacedAttribute(node2, namespace, name, value) { if (null === value) node2.removeAttribute(name); else { switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": node2.removeAttribute(name); return; } node2.setAttributeNS(namespace, name, "" + value); } } var prefix, suffix; function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = match && match[1] || ""; suffix = -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix; } var reentry = false; function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; reentry = true; var previousPrepareStackTrace = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { var RunInRootFrame = { DetermineComponentFrameRoot: function() { try { if (construct) { var Fake = function() { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function() { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$9) { control = x$9; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$10) { control = x$10; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function() { }); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor( RunInRootFrame.DetermineComponentFrameRoot, "name" ); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty( RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for (namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot"); ) RunInRootFrame++; for (; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes( "DetermineComponentFrameRoot" ); ) namePropDescriptor++; if (RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length) for (RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]; ) namePropDescriptor--; for (; 1 <= RunInRootFrame && 0 <= namePropDescriptor; RunInRootFrame--, namePropDescriptor--) if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) { if (1 !== RunInRootFrame || 1 !== namePropDescriptor) { do if (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) { var frame = "\n" + sampleLines[RunInRootFrame].replace(" at new ", " at "); fn.displayName && frame.includes("") && (frame = frame.replace("", fn.displayName)); return frame; } while (1 <= RunInRootFrame && 0 <= namePropDescriptor); } break; } } } finally { reentry = false, Error.prepareStackTrace = previousPrepareStackTrace; } return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : ""; } function describeFiber(fiber) { switch (fiber.tag) { case 26: case 27: case 5: return describeBuiltInComponentFrame(fiber.type); case 16: return describeBuiltInComponentFrame("Lazy"); case 13: return describeBuiltInComponentFrame("Suspense"); case 19: return describeBuiltInComponentFrame("SuspenseList"); case 0: case 15: return describeNativeComponentFrame(fiber.type, false); case 11: return describeNativeComponentFrame(fiber.type.render, false); case 1: return describeNativeComponentFrame(fiber.type, true); case 31: return describeBuiltInComponentFrame("Activity"); default: return ""; } } function getStackByFiberInDevAndProd(workInProgress2) { try { var info = ""; do info += describeFiber(workInProgress2), workInProgress2 = workInProgress2.return; while (workInProgress2); return info; } catch (x) { return "\nError generating stack: " + x.message + "\n" + x.stack; } } function getToStringValue(value) { switch (typeof value) { case "bigint": case "boolean": case "number": case "string": case "undefined": return value; case "object": return value; default: return ""; } } function isCheckable(elem) { var type4 = elem.type; return (elem = elem.nodeName) && "input" === elem.toLowerCase() && ("checkbox" === type4 || "radio" === type4); } function trackValueOnNode(node2) { var valueField = isCheckable(node2) ? "checked" : "value", descriptor = Object.getOwnPropertyDescriptor( node2.constructor.prototype, valueField ), currentValue = "" + node2[valueField]; if (!node2.hasOwnProperty(valueField) && "undefined" !== typeof descriptor && "function" === typeof descriptor.get && "function" === typeof descriptor.set) { var get2 = descriptor.get, set2 = descriptor.set; Object.defineProperty(node2, valueField, { configurable: true, get: function() { return get2.call(this); }, set: function(value) { currentValue = "" + value; set2.call(this, value); } }); Object.defineProperty(node2, valueField, { enumerable: descriptor.enumerable }); return { getValue: function() { return currentValue; }, setValue: function(value) { currentValue = "" + value; }, stopTracking: function() { node2._valueTracker = null; delete node2[valueField]; } }; } } function track(node2) { node2._valueTracker || (node2._valueTracker = trackValueOnNode(node2)); } function updateValueIfChanged(node2) { if (!node2) return false; var tracker = node2._valueTracker; if (!tracker) return true; var lastValue = tracker.getValue(); var value = ""; node2 && (value = isCheckable(node2) ? node2.checked ? "true" : "false" : node2.value); node2 = value; return node2 !== lastValue ? (tracker.setValue(node2), true) : false; } function getActiveElement(doc) { doc = doc || ("undefined" !== typeof document ? document : void 0); if ("undefined" === typeof doc) return null; try { return doc.activeElement || doc.body; } catch (e) { return doc.body; } } var escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g; function escapeSelectorAttributeValueInsideDoubleQuotes(value) { return value.replace( escapeSelectorAttributeValueInsideDoubleQuotesRegex, function(ch) { return "\\" + ch.charCodeAt(0).toString(16) + " "; } ); } function updateInput(element, value, defaultValue, lastDefaultValue, checked, defaultChecked, type4, name) { element.name = ""; null != type4 && "function" !== typeof type4 && "symbol" !== typeof type4 && "boolean" !== typeof type4 ? element.type = type4 : element.removeAttribute("type"); if (null != value) if ("number" === type4) { if (0 === value && "" === element.value || element.value != value) element.value = "" + getToStringValue(value); } else element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value)); else "submit" !== type4 && "reset" !== type4 || element.removeAttribute("value"); null != value ? setDefaultValue(element, type4, getToStringValue(value)) : null != defaultValue ? setDefaultValue(element, type4, getToStringValue(defaultValue)) : null != lastDefaultValue && element.removeAttribute("value"); null == checked && null != defaultChecked && (element.defaultChecked = !!defaultChecked); null != checked && (element.checked = checked && "function" !== typeof checked && "symbol" !== typeof checked); null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name ? element.name = "" + getToStringValue(name) : element.removeAttribute("name"); } function initInput(element, value, defaultValue, checked, defaultChecked, type4, name, isHydrating2) { null != type4 && "function" !== typeof type4 && "symbol" !== typeof type4 && "boolean" !== typeof type4 && (element.type = type4); if (null != value || null != defaultValue) { if (!("submit" !== type4 && "reset" !== type4 || void 0 !== value && null !== value)) return; defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; value = null != value ? "" + getToStringValue(value) : defaultValue; isHydrating2 || value === element.value || (element.value = value); element.defaultValue = value; } checked = null != checked ? checked : defaultChecked; checked = "function" !== typeof checked && "symbol" !== typeof checked && !!checked; element.checked = isHydrating2 ? element.checked : !!checked; element.defaultChecked = !!checked; null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name && (element.name = name); } function setDefaultValue(node2, type4, value) { "number" === type4 && getActiveElement(node2.ownerDocument) === node2 || node2.defaultValue === "" + value || (node2.defaultValue = "" + value); } function updateOptions(node2, multiple, propValue, setDefaultSelected) { node2 = node2.options; if (multiple) { multiple = {}; for (var i = 0; i < propValue.length; i++) multiple["$" + propValue[i]] = true; for (propValue = 0; propValue < node2.length; propValue++) i = multiple.hasOwnProperty("$" + node2[propValue].value), node2[propValue].selected !== i && (node2[propValue].selected = i), i && setDefaultSelected && (node2[propValue].defaultSelected = true); } else { propValue = "" + getToStringValue(propValue); multiple = null; for (i = 0; i < node2.length; i++) { if (node2[i].value === propValue) { node2[i].selected = true; setDefaultSelected && (node2[i].defaultSelected = true); return; } null !== multiple || node2[i].disabled || (multiple = node2[i]); } null !== multiple && (multiple.selected = true); } } function updateTextarea(element, value, defaultValue) { if (null != value && (value = "" + getToStringValue(value), value !== element.value && (element.value = value), null == defaultValue)) { element.defaultValue !== value && (element.defaultValue = value); return; } element.defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; } function initTextarea(element, value, defaultValue, children) { if (null == value) { if (null != children) { if (null != defaultValue) throw Error(formatProdErrorMessage(92)); if (isArrayImpl(children)) { if (1 < children.length) throw Error(formatProdErrorMessage(93)); children = children[0]; } defaultValue = children; } null == defaultValue && (defaultValue = ""); value = defaultValue; } defaultValue = getToStringValue(value); element.defaultValue = defaultValue; children = element.textContent; children === defaultValue && "" !== children && null !== children && (element.value = children); } function setTextContent(node2, text) { if (text) { var firstChild = node2.firstChild; if (firstChild && firstChild === node2.lastChild && 3 === firstChild.nodeType) { firstChild.nodeValue = text; return; } } node2.textContent = text; } var unitlessNumbers = new Set( "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split( " " ) ); function setValueForStyle(style3, styleName, value) { var isCustomProperty = 0 === styleName.indexOf("--"); null == value || "boolean" === typeof value || "" === value ? isCustomProperty ? style3.setProperty(styleName, "") : "float" === styleName ? style3.cssFloat = "" : style3[styleName] = "" : isCustomProperty ? style3.setProperty(styleName, value) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? "float" === styleName ? style3.cssFloat = value : style3[styleName] = ("" + value).trim() : style3[styleName] = value + "px"; } function setValueForStyles(node2, styles, prevStyles) { if (null != styles && "object" !== typeof styles) throw Error(formatProdErrorMessage(62)); node2 = node2.style; if (null != prevStyles) { for (var styleName in prevStyles) !prevStyles.hasOwnProperty(styleName) || null != styles && styles.hasOwnProperty(styleName) || (0 === styleName.indexOf("--") ? node2.setProperty(styleName, "") : "float" === styleName ? node2.cssFloat = "" : node2[styleName] = ""); for (var styleName$16 in styles) styleName = styles[styleName$16], styles.hasOwnProperty(styleName$16) && prevStyles[styleName$16] !== styleName && setValueForStyle(node2, styleName$16, styleName); } else for (var styleName$17 in styles) styles.hasOwnProperty(styleName$17) && setValueForStyle(node2, styleName$17, styles[styleName$17]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return false; switch (tagName) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return false; default: return true; } } var aliases = /* @__PURE__ */ new Map([ ["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"], ["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift", "baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"], ["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"], ["horizAdvX", "horiz-adv-x"], ["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing", "letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"], ["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"], ["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["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"], ["textAnchor", "text-anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"], ["transformOrigin", "transform-origin"], ["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"], ["xmlnsXlink", "xmlns:xlink"], ["xHeight", "x-height"] ]), isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i; function sanitizeURL(url2) { return isJavaScriptProtocol.test("" + url2) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url2; } var currentReplayingEvent = null; function getEventTarget(nativeEvent) { nativeEvent = nativeEvent.target || nativeEvent.srcElement || window; nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement); return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent; } var restoreTarget = null, restoreQueue = null; function restoreStateOfTarget(target) { var internalInstance = getInstanceFromNode(target); if (internalInstance && (target = internalInstance.stateNode)) { var props = target[internalPropsKey] || null; a: switch (target = internalInstance.stateNode, internalInstance.type) { case "input": updateInput( target, props.value, props.defaultValue, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name ); internalInstance = props.name; if ("radio" === props.type && null != internalInstance) { for (props = target; props.parentNode; ) props = props.parentNode; props = props.querySelectorAll( 'input[name="' + escapeSelectorAttributeValueInsideDoubleQuotes( "" + internalInstance ) + '"][type="radio"]' ); for (internalInstance = 0; internalInstance < props.length; internalInstance++) { var otherNode = props[internalInstance]; if (otherNode !== target && otherNode.form === target.form) { var otherProps = otherNode[internalPropsKey] || null; if (!otherProps) throw Error(formatProdErrorMessage(90)); updateInput( otherNode, otherProps.value, otherProps.defaultValue, otherProps.defaultValue, otherProps.checked, otherProps.defaultChecked, otherProps.type, otherProps.name ); } } for (internalInstance = 0; internalInstance < props.length; internalInstance++) otherNode = props[internalInstance], otherNode.form === target.form && updateValueIfChanged(otherNode); } break a; case "textarea": updateTextarea(target, props.value, props.defaultValue); break a; case "select": internalInstance = props.value, null != internalInstance && updateOptions(target, !!props.multiple, internalInstance, false); } } } var isInsideEventHandler = false; function batchedUpdates$1(fn, a, b) { if (isInsideEventHandler) return fn(a, b); isInsideEventHandler = true; try { var JSCompiler_inline_result = fn(a); return JSCompiler_inline_result; } finally { if (isInsideEventHandler = false, null !== restoreTarget || null !== restoreQueue) { if (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn)) for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]); } } } function getListener(inst, registrationName) { var stateNode = inst.stateNode; if (null === stateNode) return null; var props = stateNode[internalPropsKey] || null; if (null === props) return null; stateNode = props[registrationName]; a: switch (registrationName) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (props = !props.disabled) || (inst = inst.type, props = !("button" === inst || "input" === inst || "select" === inst || "textarea" === inst)); inst = !props; break a; default: inst = false; } if (inst) return null; if (stateNode && "function" !== typeof stateNode) throw Error( formatProdErrorMessage(231, registrationName, typeof stateNode) ); return stateNode; } var canUseDOM = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), passiveBrowserEventsSupported = false; if (canUseDOM) try { var options = {}; Object.defineProperty(options, "passive", { get: function() { passiveBrowserEventsSupported = true; } }); window.addEventListener("test", options, options); window.removeEventListener("test", options, options); } catch (e) { passiveBrowserEventsSupported = false; } var root = null, startText = null, fallbackText = null; function getData() { if (fallbackText) return fallbackText; var start, startValue = startText, startLength = startValue.length, end, endValue = "value" in root ? root.value : root.textContent, endLength = endValue.length; for (start = 0; start < startLength && startValue[start] === endValue[start]; start++) ; var minEnd = startLength - start; for (end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++) ; return fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0); } function getEventCharCode(nativeEvent) { var keyCode = nativeEvent.keyCode; "charCode" in nativeEvent ? (nativeEvent = nativeEvent.charCode, 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13)) : nativeEvent = keyCode; 10 === nativeEvent && (nativeEvent = 13); return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0; } function functionThatReturnsTrue() { return true; } function functionThatReturnsFalse() { return false; } function createSyntheticEvent(Interface) { function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) { this._reactName = reactName; this._targetInst = targetInst; this.type = reactEventType; this.nativeEvent = nativeEvent; this.target = nativeEventTarget; this.currentTarget = null; for (var propName in Interface) Interface.hasOwnProperty(propName) && (reactName = Interface[propName], this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName]); this.isDefaultPrevented = (null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : false === nativeEvent.returnValue) ? functionThatReturnsTrue : functionThatReturnsFalse; this.isPropagationStopped = functionThatReturnsFalse; return this; } assign(SyntheticBaseEvent.prototype, { preventDefault: function() { this.defaultPrevented = true; var event = this.nativeEvent; event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue = false), this.isDefaultPrevented = functionThatReturnsTrue); }, stopPropagation: function() { var event = this.nativeEvent; event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble = true), this.isPropagationStopped = functionThatReturnsTrue); }, persist: function() { }, isPersistent: functionThatReturnsTrue }); return SyntheticBaseEvent; } var EventInterface = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(event) { return event.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0 }, SyntheticEvent = createSyntheticEvent(EventInterface), UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }), SyntheticUIEvent = createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface = assign({}, UIEventInterface, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: getEventModifierState, button: 0, buttons: 0, relatedTarget: function(event) { return void 0 === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget; }, movementX: function(event) { if ("movementX" in event) return event.movementX; event !== lastMouseEvent && (lastMouseEvent && "mousemove" === event.type ? (lastMovementX = event.screenX - lastMouseEvent.screenX, lastMovementY = event.screenY - lastMouseEvent.screenY) : lastMovementY = lastMovementX = 0, lastMouseEvent = event); return lastMovementX; }, movementY: function(event) { return "movementY" in event ? event.movementY : lastMovementY; } }), SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }), SyntheticDragEvent = createSyntheticEvent(DragEventInterface), FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }), SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), AnimationEventInterface = assign({}, EventInterface, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), ClipboardEventInterface = assign({}, EventInterface, { clipboardData: function(event) { return "clipboardData" in event ? event.clipboardData : window.clipboardData; } }), SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface = assign({}, EventInterface, { data: 0 }), SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), normalizeKey = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, translateToKey = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, modifierKeyToProp = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; function modifierStateGetter(keyArg) { var nativeEvent = this.nativeEvent; return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : false; } function getEventModifierState() { return modifierStateGetter; } var KeyboardEventInterface = assign({}, UIEventInterface, { key: function(nativeEvent) { if (nativeEvent.key) { var key = normalizeKey[nativeEvent.key] || nativeEvent.key; if ("Unidentified" !== key) return key; } return "keypress" === nativeEvent.type ? (nativeEvent = getEventCharCode(nativeEvent), 13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent)) : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type ? translateToKey[nativeEvent.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: getEventModifierState, charCode: function(event) { return "keypress" === event.type ? getEventCharCode(event) : 0; }, keyCode: function(event) { return "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; }, which: function(event) { return "keypress" === event.type ? getEventCharCode(event) : "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; } }), SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), PointerEventInterface = assign({}, MouseEventInterface, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), TouchEventInterface = assign({}, UIEventInterface, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: getEventModifierState }), SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), TransitionEventInterface = assign({}, EventInterface, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), WheelEventInterface = assign({}, MouseEventInterface, { deltaX: function(event) { return "deltaX" in event ? event.deltaX : "wheelDeltaX" in event ? -event.wheelDeltaX : 0; }, deltaY: function(event) { return "deltaY" in event ? event.deltaY : "wheelDeltaY" in event ? -event.wheelDeltaY : "wheelDelta" in event ? -event.wheelDelta : 0; }, deltaZ: 0, deltaMode: 0 }), SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), ToggleEventInterface = assign({}, EventInterface, { newState: 0, oldState: 0 }), SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), END_KEYCODES = [9, 13, 27, 32], canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, documentMode = null; canUseDOM && "documentMode" in document && (documentMode = document.documentMode); var canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode), SPACEBAR_CHAR = String.fromCharCode(32), hasSpaceKeypress = false; function isFallbackCompositionEnd(domEventName, nativeEvent) { switch (domEventName) { case "keyup": return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); case "keydown": return 229 !== nativeEvent.keyCode; case "keypress": case "mousedown": case "focusout": return true; default: return false; } } function getDataFromCustomEvent(nativeEvent) { nativeEvent = nativeEvent.detail; return "object" === typeof nativeEvent && "data" in nativeEvent ? nativeEvent.data : null; } var isComposing = false; function getNativeBeforeInputChars(domEventName, nativeEvent) { switch (domEventName) { case "compositionend": return getDataFromCustomEvent(nativeEvent); case "keypress": if (32 !== nativeEvent.which) return null; hasSpaceKeypress = true; return SPACEBAR_CHAR; case "textInput": return domEventName = nativeEvent.data, domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName; default: return null; } } function getFallbackBeforeInputChars(domEventName, nativeEvent) { if (isComposing) return "compositionend" === domEventName || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = false, domEventName) : null; switch (domEventName) { case "paste": return null; case "keypress": if (!(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || nativeEvent.ctrlKey && nativeEvent.altKey) { if (nativeEvent.char && 1 < nativeEvent.char.length) return nativeEvent.char; if (nativeEvent.which) return String.fromCharCode(nativeEvent.which); } return null; case "compositionend": return useFallbackCompositionData && "ko" !== nativeEvent.locale ? null : nativeEvent.data; default: return null; } } var supportedInputTypes = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; function isTextInputElement(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ? true : false; } function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) { restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target; inst = accumulateTwoPhaseListeners(inst, "onChange"); 0 < inst.length && (nativeEvent = new SyntheticEvent( "onChange", "change", null, nativeEvent, target ), dispatchQueue.push({ event: nativeEvent, listeners: inst })); } var activeElement$1 = null, activeElementInst$1 = null; function runEventInBatch(dispatchQueue) { processDispatchQueue(dispatchQueue, 0); } function getInstIfValueChanged(targetInst) { var targetNode = getNodeFromInstance(targetInst); if (updateValueIfChanged(targetNode)) return targetInst; } function getTargetInstForChangeEvent(domEventName, targetInst) { if ("change" === domEventName) return targetInst; } var isInputEventSupported = false; if (canUseDOM) { var JSCompiler_inline_result$jscomp$282; if (canUseDOM) { var isSupported$jscomp$inline_417 = "oninput" in document; if (!isSupported$jscomp$inline_417) { var element$jscomp$inline_418 = document.createElement("div"); element$jscomp$inline_418.setAttribute("oninput", "return;"); isSupported$jscomp$inline_417 = "function" === typeof element$jscomp$inline_418.oninput; } JSCompiler_inline_result$jscomp$282 = isSupported$jscomp$inline_417; } else JSCompiler_inline_result$jscomp$282 = false; isInputEventSupported = JSCompiler_inline_result$jscomp$282 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { activeElement$1 && (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), activeElementInst$1 = activeElement$1 = null); } function handlePropertyChange(nativeEvent) { if ("value" === nativeEvent.propertyName && getInstIfValueChanged(activeElementInst$1)) { var dispatchQueue = []; createAndAccumulateChangeEvent( dispatchQueue, activeElementInst$1, nativeEvent, getEventTarget(nativeEvent) ); batchedUpdates$1(runEventInBatch, dispatchQueue); } } function handleEventsForInputEventPolyfill(domEventName, target, targetInst) { "focusin" === domEventName ? (stopWatchingForValueChange(), activeElement$1 = target, activeElementInst$1 = targetInst, activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : "focusout" === domEventName && stopWatchingForValueChange(); } function getTargetInstForInputEventPolyfill(domEventName) { if ("selectionchange" === domEventName || "keyup" === domEventName || "keydown" === domEventName) return getInstIfValueChanged(activeElementInst$1); } function getTargetInstForClickEvent(domEventName, targetInst) { if ("click" === domEventName) return getInstIfValueChanged(targetInst); } function getTargetInstForInputOrChangeEvent(domEventName, targetInst) { if ("input" === domEventName || "change" === domEventName) return getInstIfValueChanged(targetInst); } function is(x, y) { return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y; } var objectIs = "function" === typeof Object.is ? Object.is : is; function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return true; if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return false; var keysA = Object.keys(objA), keysB = Object.keys(objB); if (keysA.length !== keysB.length) return false; for (keysB = 0; keysB < keysA.length; keysB++) { var currentKey = keysA[keysB]; if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) return false; } return true; } function getLeafNode(node2) { for (; node2 && node2.firstChild; ) node2 = node2.firstChild; return node2; } function getNodeForCharacterOffset(root2, offset) { var node2 = getLeafNode(root2); root2 = 0; for (var nodeEnd; node2; ) { if (3 === node2.nodeType) { nodeEnd = root2 + node2.textContent.length; if (root2 <= offset && nodeEnd >= offset) return { node: node2, offset: offset - root2 }; root2 = nodeEnd; } a: { for (; node2; ) { if (node2.nextSibling) { node2 = node2.nextSibling; break a; } node2 = node2.parentNode; } node2 = void 0; } node2 = getLeafNode(node2); } } function containsNode(outerNode, innerNode) { return outerNode && innerNode ? outerNode === innerNode ? true : outerNode && 3 === outerNode.nodeType ? false : innerNode && 3 === innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : false : false; } function getActiveElementDeep(containerInfo) { containerInfo = null != containerInfo && null != containerInfo.ownerDocument && null != containerInfo.ownerDocument.defaultView ? containerInfo.ownerDocument.defaultView : window; for (var element = getActiveElement(containerInfo.document); element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = false; } if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; element = getActiveElement(containerInfo.document); } return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return nodeName && ("input" === nodeName && ("text" === elem.type || "search" === elem.type || "tel" === elem.type || "url" === elem.type || "password" === elem.type) || "textarea" === nodeName || "true" === elem.contentEditable); } var skipSelectionChangeEvent = canUseDOM && "documentMode" in document && 11 >= document.documentMode, activeElement = null, activeElementInst = null, lastSelection = null, mouseDown = false; function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) { var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : 9 === nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument; mouseDown || null == activeElement || activeElement !== getActiveElement(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = { start: doc.selectionStart, end: doc.selectionEnd } : (doc = (doc.ownerDocument && doc.ownerDocument.defaultView || window).getSelection(), doc = { anchorNode: doc.anchorNode, anchorOffset: doc.anchorOffset, focusNode: doc.focusNode, focusOffset: doc.focusOffset }), lastSelection && shallowEqual(lastSelection, doc) || (lastSelection = doc, doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect"), 0 < doc.length && (nativeEvent = new SyntheticEvent( "onSelect", "select", null, nativeEvent, nativeEventTarget ), dispatchQueue.push({ event: nativeEvent, listeners: doc }), nativeEvent.target = activeElement))); } function makePrefixMap2(styleProp, eventName) { var prefixes = {}; prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(); prefixes["Webkit" + styleProp] = "webkit" + eventName; prefixes["Moz" + styleProp] = "moz" + eventName; return prefixes; } var vendorPrefixes2 = { animationend: makePrefixMap2("Animation", "AnimationEnd"), animationiteration: makePrefixMap2("Animation", "AnimationIteration"), animationstart: makePrefixMap2("Animation", "AnimationStart"), transitionrun: makePrefixMap2("Transition", "TransitionRun"), transitionstart: makePrefixMap2("Transition", "TransitionStart"), transitioncancel: makePrefixMap2("Transition", "TransitionCancel"), transitionend: makePrefixMap2("Transition", "TransitionEnd") }, prefixedEventNames2 = {}, style2 = {}; canUseDOM && (style2 = document.createElement("div").style, "AnimationEvent" in window || (delete vendorPrefixes2.animationend.animation, delete vendorPrefixes2.animationiteration.animation, delete vendorPrefixes2.animationstart.animation), "TransitionEvent" in window || delete vendorPrefixes2.transitionend.transition); function getVendorPrefixedEventName2(eventName) { if (prefixedEventNames2[eventName]) return prefixedEventNames2[eventName]; if (!vendorPrefixes2[eventName]) return eventName; var prefixMap = vendorPrefixes2[eventName], styleProp; for (styleProp in prefixMap) if (prefixMap.hasOwnProperty(styleProp) && styleProp in style2) return prefixedEventNames2[eventName] = prefixMap[styleProp]; return eventName; } var ANIMATION_END = getVendorPrefixedEventName2("animationend"), ANIMATION_ITERATION = getVendorPrefixedEventName2("animationiteration"), ANIMATION_START = getVendorPrefixedEventName2("animationstart"), TRANSITION_RUN = getVendorPrefixedEventName2("transitionrun"), TRANSITION_START = getVendorPrefixedEventName2("transitionstart"), TRANSITION_CANCEL = getVendorPrefixedEventName2("transitioncancel"), TRANSITION_END = getVendorPrefixedEventName2("transitionend"), topLevelEventsToReactNames = /* @__PURE__ */ new Map(), simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split( " " ); simpleEventPluginEvents.push("scrollEnd"); function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } var CapturedStacks = /* @__PURE__ */ new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); if (void 0 !== existing) return existing; source = { value, source, stack: getStackByFiberInDevAndProd(source) }; CapturedStacks.set(value, source); return source; } return { value, source, stack: getStackByFiberInDevAndProd(source) }; } var concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; function finishQueueingConcurrentUpdates() { for (var endIndex = concurrentQueuesIndex, i = concurrentlyUpdatedLanes = concurrentQueuesIndex = 0; i < endIndex; ) { var fiber = concurrentQueues[i]; concurrentQueues[i++] = null; var queue = concurrentQueues[i]; concurrentQueues[i++] = null; var update = concurrentQueues[i]; concurrentQueues[i++] = null; var lane = concurrentQueues[i]; concurrentQueues[i++] = null; if (null !== queue && null !== update) { var pending = queue.pending; null === pending ? update.next = update : (update.next = pending.next, pending.next = update); queue.pending = update; } 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane); } } function enqueueUpdate$1(fiber, queue, update, lane) { concurrentQueues[concurrentQueuesIndex++] = fiber; concurrentQueues[concurrentQueuesIndex++] = queue; concurrentQueues[concurrentQueuesIndex++] = update; concurrentQueues[concurrentQueuesIndex++] = lane; concurrentlyUpdatedLanes |= lane; fiber.lanes |= lane; fiber = fiber.alternate; null !== fiber && (fiber.lanes |= lane); } function enqueueConcurrentHookUpdate(fiber, queue, update, lane) { enqueueUpdate$1(fiber, queue, update, lane); return getRootForUpdatedFiber(fiber); } function enqueueConcurrentRenderForLane(fiber, lane) { enqueueUpdate$1(fiber, null, null, lane); return getRootForUpdatedFiber(fiber); } function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) { sourceFiber.lanes |= lane; var alternate = sourceFiber.alternate; null !== alternate && (alternate.lanes |= lane); for (var isHidden = false, parent = sourceFiber.return; null !== parent; ) parent.childLanes |= lane, alternate = parent.alternate, null !== alternate && (alternate.childLanes |= lane), 22 === parent.tag && (sourceFiber = parent.stateNode, null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = true)), sourceFiber = parent, parent = parent.return; return 3 === sourceFiber.tag ? (parent = sourceFiber.stateNode, isHidden && null !== update && (isHidden = 31 - clz32(lane), sourceFiber = parent.hiddenUpdates, alternate = sourceFiber[isHidden], null === alternate ? sourceFiber[isHidden] = [update] : alternate.push(update), update.lane = lane | 536870912), parent) : null; } function getRootForUpdatedFiber(sourceFiber) { if (50 < nestedUpdateCount) throw nestedUpdateCount = 0, rootWithNestedUpdates = null, Error(formatProdErrorMessage(185)); for (var parent = sourceFiber.return; null !== parent; ) sourceFiber = parent, parent = sourceFiber.return; return 3 === sourceFiber.tag ? sourceFiber.stateNode : null; } var emptyContextObject = {}; function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null; this.index = 0; this.refCleanup = this.ref = null; this.pendingProps = pendingProps; this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null; this.mode = mode; this.subtreeFlags = this.flags = 0; this.deletions = null; this.childLanes = this.lanes = 0; this.alternate = null; } function createFiberImplClass(tag, pendingProps, key, mode) { return new FiberNode(tag, pendingProps, key, mode); } function shouldConstruct(Component) { Component = Component.prototype; return !(!Component || !Component.isReactComponent); } function createWorkInProgress(current, pendingProps) { var workInProgress2 = current.alternate; null === workInProgress2 ? (workInProgress2 = createFiberImplClass( current.tag, pendingProps, current.key, current.mode ), workInProgress2.elementType = current.elementType, workInProgress2.type = current.type, workInProgress2.stateNode = current.stateNode, workInProgress2.alternate = current, current.alternate = workInProgress2) : (workInProgress2.pendingProps = pendingProps, workInProgress2.type = current.type, workInProgress2.flags = 0, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null); workInProgress2.flags = current.flags & 65011712; workInProgress2.childLanes = current.childLanes; workInProgress2.lanes = current.lanes; workInProgress2.child = current.child; workInProgress2.memoizedProps = current.memoizedProps; workInProgress2.memoizedState = current.memoizedState; workInProgress2.updateQueue = current.updateQueue; pendingProps = current.dependencies; workInProgress2.dependencies = null === pendingProps ? null : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext }; workInProgress2.sibling = current.sibling; workInProgress2.index = current.index; workInProgress2.ref = current.ref; workInProgress2.refCleanup = current.refCleanup; return workInProgress2; } function resetWorkInProgress(workInProgress2, renderLanes2) { workInProgress2.flags &= 65011714; var current = workInProgress2.alternate; null === current ? (workInProgress2.childLanes = 0, workInProgress2.lanes = renderLanes2, workInProgress2.child = null, workInProgress2.subtreeFlags = 0, workInProgress2.memoizedProps = null, workInProgress2.memoizedState = null, workInProgress2.updateQueue = null, workInProgress2.dependencies = null, workInProgress2.stateNode = null) : (workInProgress2.childLanes = current.childLanes, workInProgress2.lanes = current.lanes, workInProgress2.child = current.child, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null, workInProgress2.memoizedProps = current.memoizedProps, workInProgress2.memoizedState = current.memoizedState, workInProgress2.updateQueue = current.updateQueue, workInProgress2.type = current.type, renderLanes2 = current.dependencies, workInProgress2.dependencies = null === renderLanes2 ? null : { lanes: renderLanes2.lanes, firstContext: renderLanes2.firstContext }); return workInProgress2; } function createFiberFromTypeAndProps(type4, key, pendingProps, owner, mode, lanes) { var fiberTag = 0; owner = type4; if ("function" === typeof type4) shouldConstruct(type4) && (fiberTag = 1); else if ("string" === typeof type4) fiberTag = isHostHoistableType( type4, pendingProps, contextStackCursor.current ) ? 26 : "html" === type4 || "head" === type4 || "body" === type4 ? 27 : 5; else a: switch (type4) { case REACT_ACTIVITY_TYPE: return type4 = createFiberImplClass(31, pendingProps, key, mode), type4.elementType = REACT_ACTIVITY_TYPE, type4.lanes = lanes, type4; case REACT_FRAGMENT_TYPE2: return createFiberFromFragment(pendingProps.children, mode, lanes, key); case REACT_STRICT_MODE_TYPE: fiberTag = 8; mode |= 24; break; case REACT_PROFILER_TYPE: return type4 = createFiberImplClass(12, pendingProps, key, mode | 2), type4.elementType = REACT_PROFILER_TYPE, type4.lanes = lanes, type4; case REACT_SUSPENSE_TYPE: return type4 = createFiberImplClass(13, pendingProps, key, mode), type4.elementType = REACT_SUSPENSE_TYPE, type4.lanes = lanes, type4; case REACT_SUSPENSE_LIST_TYPE: return type4 = createFiberImplClass(19, pendingProps, key, mode), type4.elementType = REACT_SUSPENSE_LIST_TYPE, type4.lanes = lanes, type4; default: if ("object" === typeof type4 && null !== type4) switch (type4.$$typeof) { case REACT_PROVIDER_TYPE: case REACT_CONTEXT_TYPE: fiberTag = 10; break a; case REACT_CONSUMER_TYPE: fiberTag = 9; break a; case REACT_FORWARD_REF_TYPE: fiberTag = 11; break a; case REACT_MEMO_TYPE: fiberTag = 14; break a; case REACT_LAZY_TYPE: fiberTag = 16; owner = null; break a; } fiberTag = 29; pendingProps = Error( formatProdErrorMessage(130, null === type4 ? "null" : typeof type4, "") ); owner = null; } key = createFiberImplClass(fiberTag, pendingProps, key, mode); key.elementType = type4; key.type = owner; key.lanes = lanes; return key; } function createFiberFromFragment(elements, mode, lanes, key) { elements = createFiberImplClass(7, elements, key, mode); elements.lanes = lanes; return elements; } function createFiberFromText(content, mode, lanes) { content = createFiberImplClass(6, content, null, mode); content.lanes = lanes; return content; } function createFiberFromPortal(portal, mode, lanes) { mode = createFiberImplClass( 4, null !== portal.children ? portal.children : [], portal.key, mode ); mode.lanes = lanes; mode.stateNode = { containerInfo: portal.containerInfo, pendingChildren: null, implementation: portal.implementation }; return mode; } var forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = ""; function pushTreeFork(workInProgress2, totalChildren) { forkStack[forkStackIndex++] = treeForkCount; forkStack[forkStackIndex++] = treeForkProvider; treeForkProvider = workInProgress2; treeForkCount = totalChildren; } function pushTreeId(workInProgress2, totalChildren, index3) { idStack[idStackIndex++] = treeContextId; idStack[idStackIndex++] = treeContextOverflow; idStack[idStackIndex++] = treeContextProvider; treeContextProvider = workInProgress2; var baseIdWithLeadingBit = treeContextId; workInProgress2 = treeContextOverflow; var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; baseIdWithLeadingBit &= ~(1 << baseLength); index3 += 1; var length2 = 32 - clz32(totalChildren) + baseLength; if (30 < length2) { var numberOfOverflowBits = baseLength - baseLength % 5; length2 = (baseIdWithLeadingBit & (1 << numberOfOverflowBits) - 1).toString(32); baseIdWithLeadingBit >>= numberOfOverflowBits; baseLength -= numberOfOverflowBits; treeContextId = 1 << 32 - clz32(totalChildren) + baseLength | index3 << baseLength | baseIdWithLeadingBit; treeContextOverflow = length2 + workInProgress2; } else treeContextId = 1 << length2 | index3 << baseLength | baseIdWithLeadingBit, treeContextOverflow = workInProgress2; } function pushMaterializedTreeId(workInProgress2) { null !== workInProgress2.return && (pushTreeFork(workInProgress2, 1), pushTreeId(workInProgress2, 1, 0)); } function popTreeContext(workInProgress2) { for (; workInProgress2 === treeForkProvider; ) treeForkProvider = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null, treeForkCount = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null; for (; workInProgress2 === treeContextProvider; ) treeContextProvider = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextOverflow = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextId = idStack[--idStackIndex], idStack[idStackIndex] = null; } var hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = false, hydrationErrors = null, rootOrSingletonContext = false, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { var error = Error(formatProdErrorMessage(418, "")); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } function prepareToHydrateHostInstance(fiber) { var instance = fiber.stateNode, type4 = fiber.type, props = fiber.memoizedProps; instance[internalInstanceKey] = fiber; instance[internalPropsKey] = props; switch (type4) { case "dialog": listenToNonDelegatedEvent("cancel", instance); listenToNonDelegatedEvent("close", instance); break; case "iframe": case "object": case "embed": listenToNonDelegatedEvent("load", instance); break; case "video": case "audio": for (type4 = 0; type4 < mediaEventTypes.length; type4++) listenToNonDelegatedEvent(mediaEventTypes[type4], instance); break; case "source": listenToNonDelegatedEvent("error", instance); break; case "img": case "image": case "link": listenToNonDelegatedEvent("error", instance); listenToNonDelegatedEvent("load", instance); break; case "details": listenToNonDelegatedEvent("toggle", instance); break; case "input": listenToNonDelegatedEvent("invalid", instance); initInput( instance, props.value, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name, true ); track(instance); break; case "select": listenToNonDelegatedEvent("invalid", instance); break; case "textarea": listenToNonDelegatedEvent("invalid", instance), initTextarea(instance, props.value, props.defaultValue, props.children), track(instance); } type4 = props.children; "string" !== typeof type4 && "number" !== typeof type4 && "bigint" !== typeof type4 || instance.textContent === "" + type4 || true === props.suppressHydrationWarning || checkForUnmatchedText(instance.textContent, type4) ? (null != props.popover && (listenToNonDelegatedEvent("beforetoggle", instance), listenToNonDelegatedEvent("toggle", instance)), null != props.onScroll && listenToNonDelegatedEvent("scroll", instance), null != props.onScrollEnd && listenToNonDelegatedEvent("scrollend", instance), null != props.onClick && (instance.onclick = noop$12), instance = true) : instance = false; instance || throwOnHydrationMismatch(fiber); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { case 5: case 13: rootOrSingletonContext = false; return; case 27: case 3: rootOrSingletonContext = true; return; default: hydrationParentFiber = hydrationParentFiber.return; } } function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return false; if (!isHydrating) return popToNextHostParent(fiber), isHydrating = true, false; var tag = fiber.tag, JSCompiler_temp; if (JSCompiler_temp = 3 !== tag && 27 !== tag) { if (JSCompiler_temp = 5 === tag) JSCompiler_temp = fiber.type, JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps); JSCompiler_temp = !JSCompiler_temp; } JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); popToNextHostParent(fiber); if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); a: { fiber = fiber.nextSibling; for (tag = 0; fiber; ) { if (8 === fiber.nodeType) if (JSCompiler_temp = fiber.data, "/$" === JSCompiler_temp) { if (0 === tag) { nextHydratableInstance = getNextHydratable(fiber.nextSibling); break a; } tag--; } else "$" !== JSCompiler_temp && "$!" !== JSCompiler_temp && "$?" !== JSCompiler_temp || tag++; fiber = fiber.nextSibling; } nextHydratableInstance = null; } } else 27 === tag ? (tag = nextHydratableInstance, isSingletonScope(fiber.type) ? (fiber = previousHydratableOnEnteringScopedSingleton, previousHydratableOnEnteringScopedSingleton = null, nextHydratableInstance = fiber) : nextHydratableInstance = tag) : nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null; return true; } function resetHydrationState() { nextHydratableInstance = hydrationParentFiber = null; isHydrating = false; } function upgradeHydrationErrorsToRecoverable() { var queuedErrors = hydrationErrors; null !== queuedErrors && (null === workInProgressRootRecoverableErrors ? workInProgressRootRecoverableErrors = queuedErrors : workInProgressRootRecoverableErrors.push.apply( workInProgressRootRecoverableErrors, queuedErrors ), hydrationErrors = null); return queuedErrors; } function queueHydrationError(error) { null === hydrationErrors ? hydrationErrors = [error] : hydrationErrors.push(error); } var valueCursor = createCursor(null), currentlyRenderingFiber$1 = null, lastContextDependency = null; function pushProvider(providerFiber, context, nextValue) { push(valueCursor, context._currentValue); context._currentValue = nextValue; } function popProvider(context) { context._currentValue = valueCursor.current; pop(valueCursor); } function scheduleContextWorkOnParentPath(parent, renderLanes2, propagationRoot) { for (; null !== parent; ) { var alternate = parent.alternate; (parent.childLanes & renderLanes2) !== renderLanes2 ? (parent.childLanes |= renderLanes2, null !== alternate && (alternate.childLanes |= renderLanes2)) : null !== alternate && (alternate.childLanes & renderLanes2) !== renderLanes2 && (alternate.childLanes |= renderLanes2); if (parent === propagationRoot) break; parent = parent.return; } } function propagateContextChanges(workInProgress2, contexts, renderLanes2, forcePropagateEntireTree) { var fiber = workInProgress2.child; null !== fiber && (fiber.return = workInProgress2); for (; null !== fiber; ) { var list = fiber.dependencies; if (null !== list) { var nextFiber = fiber.child; list = list.firstContext; a: for (; null !== list; ) { var dependency = list; list = fiber; for (var i = 0; i < contexts.length; i++) if (dependency.context === contexts[i]) { list.lanes |= renderLanes2; dependency = list.alternate; null !== dependency && (dependency.lanes |= renderLanes2); scheduleContextWorkOnParentPath( list.return, renderLanes2, workInProgress2 ); forcePropagateEntireTree || (nextFiber = null); break a; } list = dependency.next; } } else if (18 === fiber.tag) { nextFiber = fiber.return; if (null === nextFiber) throw Error(formatProdErrorMessage(341)); nextFiber.lanes |= renderLanes2; list = nextFiber.alternate; null !== list && (list.lanes |= renderLanes2); scheduleContextWorkOnParentPath(nextFiber, renderLanes2, workInProgress2); nextFiber = null; } else nextFiber = fiber.child; if (null !== nextFiber) nextFiber.return = fiber; else for (nextFiber = fiber; null !== nextFiber; ) { if (nextFiber === workInProgress2) { nextFiber = null; break; } fiber = nextFiber.sibling; if (null !== fiber) { fiber.return = nextFiber.return; nextFiber = fiber; break; } nextFiber = nextFiber.return; } fiber = nextFiber; } } function propagateParentContextChanges(current, workInProgress2, renderLanes2, forcePropagateEntireTree) { current = null; for (var parent = workInProgress2, isInsidePropagationBailout = false; null !== parent; ) { if (!isInsidePropagationBailout) { if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = true; else if (0 !== (parent.flags & 262144)) break; } if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); currentParent = currentParent.memoizedProps; if (null !== currentParent) { var context = parent.type; objectIs(parent.pendingProps.value, currentParent.value) || (null !== current ? current.push(context) : current = [context]); } } else if (parent === hostTransitionProviderCursor.current) { currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); currentParent.memoizedState.memoizedState !== parent.memoizedState.memoizedState && (null !== current ? current.push(HostTransitionContext) : current = [HostTransitionContext]); } parent = parent.return; } null !== current && propagateContextChanges( workInProgress2, current, renderLanes2, forcePropagateEntireTree ); workInProgress2.flags |= 262144; } function checkIfContextChanged(currentDependencies) { for (currentDependencies = currentDependencies.firstContext; null !== currentDependencies; ) { if (!objectIs( currentDependencies.context._currentValue, currentDependencies.memoizedValue )) return true; currentDependencies = currentDependencies.next; } return false; } function prepareToReadContext(workInProgress2) { currentlyRenderingFiber$1 = workInProgress2; lastContextDependency = null; workInProgress2 = workInProgress2.dependencies; null !== workInProgress2 && (workInProgress2.firstContext = null); } function readContext(context) { return readContextForConsumer(currentlyRenderingFiber$1, context); } function readContextDuringReconciliation(consumer, context) { null === currentlyRenderingFiber$1 && prepareToReadContext(consumer); return readContextForConsumer(consumer, context); } function readContextForConsumer(consumer, context) { var value = context._currentValue; context = { context, memoizedValue: value, next: null }; if (null === lastContextDependency) { if (null === consumer) throw Error(formatProdErrorMessage(308)); lastContextDependency = context; consumer.dependencies = { lanes: 0, firstContext: context }; consumer.flags |= 524288; } else lastContextDependency = lastContextDependency.next = context; return value; } var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() { var listeners = [], signal = this.signal = { aborted: false, addEventListener: function(type4, listener) { listeners.push(listener); } }; this.abort = function() { signal.aborted = true; listeners.forEach(function(listener) { return listener(); }); }; }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = { $$typeof: REACT_CONTEXT_TYPE, Consumer: null, Provider: null, _currentValue: null, _currentValue2: null, _threadCount: 0 }; function createCache2() { return { controller: new AbortControllerLocal(), data: /* @__PURE__ */ new Map(), refCount: 0 }; } function releaseCache(cache) { cache.refCount--; 0 === cache.refCount && scheduleCallback$2(NormalPriority, function() { cache.controller.abort(); }); } var currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null; function entangleAsyncAction(transition, thenable) { if (null === currentEntangledListeners) { var entangledListeners = currentEntangledListeners = []; currentEntangledPendingCount = 0; currentEntangledLane = requestTransitionLane(); currentEntangledActionThenable = { status: "pending", value: void 0, then: function(resolve) { entangledListeners.push(resolve); } }; } currentEntangledPendingCount++; thenable.then(pingEngtangledActionScope, pingEngtangledActionScope); return thenable; } function pingEngtangledActionScope() { if (0 === --currentEntangledPendingCount && null !== currentEntangledListeners) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); var listeners = currentEntangledListeners; currentEntangledListeners = null; currentEntangledLane = 0; currentEntangledActionThenable = null; for (var i = 0; i < listeners.length; i++) (0, listeners[i])(); } } function chainThenableValue(thenable, result) { var listeners = [], thenableWithOverride = { status: "pending", value: null, reason: null, then: function(resolve) { listeners.push(resolve); } }; thenable.then( function() { thenableWithOverride.status = "fulfilled"; thenableWithOverride.value = result; for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result); }, function(error) { thenableWithOverride.status = "rejected"; thenableWithOverride.reason = error; for (error = 0; error < listeners.length; error++) (0, listeners[error])(void 0); } ); return thenableWithOverride; } var prevOnStartTransitionFinish = ReactSharedInternals.S; ReactSharedInternals.S = function(transition, returnValue) { "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && entangleAsyncAction(transition, returnValue); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; var resumedCache = createCursor(null); function peekCacheFromPool() { var cacheResumedFromPreviousRender = resumedCache.current; return null !== cacheResumedFromPreviousRender ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache; } function pushTransition(offscreenWorkInProgress, prevCachePool) { null === prevCachePool ? push(resumedCache, resumedCache.current) : push(resumedCache, prevCachePool.pool); } function getSuspendedCache() { var cacheFromPool = peekCacheFromPool(); return null === cacheFromPool ? null : { parent: CacheContext._currentValue, pool: cacheFromPool }; } var SuspenseException = Error(formatProdErrorMessage(460)), SuspenseyCommitException = Error(formatProdErrorMessage(474)), SuspenseActionException = Error(formatProdErrorMessage(542)), noopSuspenseyCommitThenable = { then: function() { } }; function isThenableResolved(thenable) { thenable = thenable.status; return "fulfilled" === thenable || "rejected" === thenable; } function noop$3() { } function trackUsedThenable(thenableState2, thenable, index3) { index3 = thenableState2[index3]; void 0 === index3 ? thenableState2.push(thenable) : index3 !== thenable && (thenable.then(noop$3, noop$3), thenable = index3); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenableState2 = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState2), thenableState2; default: if ("string" === typeof thenable.status) thenable.then(noop$3, noop$3); else { thenableState2 = workInProgressRoot; if (null !== thenableState2 && 100 < thenableState2.shellSuspendCounter) throw Error(formatProdErrorMessage(482)); thenableState2 = thenable; thenableState2.status = "pending"; thenableState2.then( function(fulfilledValue) { if ("pending" === thenable.status) { var fulfilledThenable = thenable; fulfilledThenable.status = "fulfilled"; fulfilledThenable.value = fulfilledValue; } }, function(error) { if ("pending" === thenable.status) { var rejectedThenable = thenable; rejectedThenable.status = "rejected"; rejectedThenable.reason = error; } } ); } switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenableState2 = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState2), thenableState2; } suspendedThenable = thenable; throw SuspenseException; } } var suspendedThenable = null; function getSuspendedThenable() { if (null === suspendedThenable) throw Error(formatProdErrorMessage(459)); var thenable = suspendedThenable; suspendedThenable = null; return thenable; } function checkIfUseWrappedInAsyncCatch(rejectedReason) { if (rejectedReason === SuspenseException || rejectedReason === SuspenseActionException) throw Error(formatProdErrorMessage(483)); } var hasForceUpdate = false; function initializeUpdateQueue(fiber) { fiber.updateQueue = { baseState: fiber.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, lanes: 0, hiddenCallbacks: null }, callbacks: null }; } function cloneUpdateQueue(current, workInProgress2) { current = current.updateQueue; workInProgress2.updateQueue === current && (workInProgress2.updateQueue = { baseState: current.baseState, firstBaseUpdate: current.firstBaseUpdate, lastBaseUpdate: current.lastBaseUpdate, shared: current.shared, callbacks: null }); } function createUpdate(lane) { return { lane, tag: 0, payload: null, callback: null, next: null }; } function enqueueUpdate(fiber, update, lane) { var updateQueue = fiber.updateQueue; if (null === updateQueue) return null; updateQueue = updateQueue.shared; if (0 !== (executionContext & 2)) { var pending = updateQueue.pending; null === pending ? update.next = update : (update.next = pending.next, pending.next = update); updateQueue.pending = update; update = getRootForUpdatedFiber(fiber); markUpdateLaneFromFiberToRoot(fiber, null, lane); return update; } enqueueUpdate$1(fiber, updateQueue, update, lane); return getRootForUpdatedFiber(fiber); } function entangleTransitions(root2, fiber, lane) { fiber = fiber.updateQueue; if (null !== fiber && (fiber = fiber.shared, 0 !== (lane & 4194048))) { var queueLanes = fiber.lanes; queueLanes &= root2.pendingLanes; lane |= queueLanes; fiber.lanes = lane; markRootEntangled(root2, lane); } } function enqueueCapturedUpdate(workInProgress2, capturedUpdate) { var queue = workInProgress2.updateQueue, current = workInProgress2.alternate; if (null !== current && (current = current.updateQueue, queue === current)) { var newFirst = null, newLast = null; queue = queue.firstBaseUpdate; if (null !== queue) { do { var clone = { lane: queue.lane, tag: queue.tag, payload: queue.payload, callback: null, next: null }; null === newLast ? newFirst = newLast = clone : newLast = newLast.next = clone; queue = queue.next; } while (null !== queue); null === newLast ? newFirst = newLast = capturedUpdate : newLast = newLast.next = capturedUpdate; } else newFirst = newLast = capturedUpdate; queue = { baseState: current.baseState, firstBaseUpdate: newFirst, lastBaseUpdate: newLast, shared: current.shared, callbacks: current.callbacks }; workInProgress2.updateQueue = queue; return; } workInProgress2 = queue.lastBaseUpdate; null === workInProgress2 ? queue.firstBaseUpdate = capturedUpdate : workInProgress2.next = capturedUpdate; queue.lastBaseUpdate = capturedUpdate; } var didReadFromEntangledAsyncAction = false; function suspendIfUpdateReadFromEntangledAsyncAction() { if (didReadFromEntangledAsyncAction) { var entangledActionThenable = currentEntangledActionThenable; if (null !== entangledActionThenable) throw entangledActionThenable; } } function processUpdateQueue(workInProgress$jscomp$0, props, instance$jscomp$0, renderLanes2) { didReadFromEntangledAsyncAction = false; var queue = workInProgress$jscomp$0.updateQueue; hasForceUpdate = false; var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending; if (null !== pendingQueue) { queue.shared.pending = null; var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next; lastPendingUpdate.next = null; null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate; lastBaseUpdate = lastPendingUpdate; var current = workInProgress$jscomp$0.alternate; null !== current && (current = current.updateQueue, pendingQueue = current.lastBaseUpdate, pendingQueue !== lastBaseUpdate && (null === pendingQueue ? current.firstBaseUpdate = firstPendingUpdate : pendingQueue.next = firstPendingUpdate, current.lastBaseUpdate = lastPendingUpdate)); } if (null !== firstBaseUpdate) { var newState = queue.baseState; lastBaseUpdate = 0; current = firstPendingUpdate = lastPendingUpdate = null; pendingQueue = firstBaseUpdate; do { var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane; if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes2 & updateLane) === updateLane) { 0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = true); null !== current && (current = current.next = { lane: 0, tag: pendingQueue.tag, payload: pendingQueue.payload, callback: null, next: null }); a: { var workInProgress2 = workInProgress$jscomp$0, update = pendingQueue; updateLane = props; var instance = instance$jscomp$0; switch (update.tag) { case 1: workInProgress2 = update.payload; if ("function" === typeof workInProgress2) { newState = workInProgress2.call(instance, newState, updateLane); break a; } newState = workInProgress2; break a; case 3: workInProgress2.flags = workInProgress2.flags & -65537 | 128; case 0: workInProgress2 = update.payload; updateLane = "function" === typeof workInProgress2 ? workInProgress2.call(instance, newState, updateLane) : workInProgress2; if (null === updateLane || void 0 === updateLane) break a; newState = assign({}, newState, updateLane); break a; case 2: hasForceUpdate = true; } } updateLane = pendingQueue.callback; null !== updateLane && (workInProgress$jscomp$0.flags |= 64, isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), isHiddenUpdate = queue.callbacks, null === isHiddenUpdate ? queue.callbacks = [updateLane] : isHiddenUpdate.push(updateLane)); } else isHiddenUpdate = { lane: updateLane, tag: pendingQueue.tag, payload: pendingQueue.payload, callback: pendingQueue.callback, next: null }, null === current ? (firstPendingUpdate = current = isHiddenUpdate, lastPendingUpdate = newState) : current = current.next = isHiddenUpdate, lastBaseUpdate |= updateLane; pendingQueue = pendingQueue.next; if (null === pendingQueue) if (pendingQueue = queue.shared.pending, null === pendingQueue) break; else isHiddenUpdate = pendingQueue, pendingQueue = isHiddenUpdate.next, isHiddenUpdate.next = null, queue.lastBaseUpdate = isHiddenUpdate, queue.shared.pending = null; } while (1); null === current && (lastPendingUpdate = newState); queue.baseState = lastPendingUpdate; queue.firstBaseUpdate = firstPendingUpdate; queue.lastBaseUpdate = current; null === firstBaseUpdate && (queue.shared.lanes = 0); workInProgressRootSkippedLanes |= lastBaseUpdate; workInProgress$jscomp$0.lanes = lastBaseUpdate; workInProgress$jscomp$0.memoizedState = newState; } } function callCallback(callback, context) { if ("function" !== typeof callback) throw Error(formatProdErrorMessage(191, callback)); callback.call(context); } function commitCallbacks(updateQueue, context) { var callbacks = updateQueue.callbacks; if (null !== callbacks) for (updateQueue.callbacks = null, updateQueue = 0; updateQueue < callbacks.length; updateQueue++) callCallback(callbacks[updateQueue], context); } var currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0); function pushHiddenContext(fiber, context) { fiber = entangledRenderLanes; push(prevEntangledRenderLanesCursor, fiber); push(currentTreeHiddenStackCursor, context); entangledRenderLanes = fiber | context.baseLanes; } function reuseHiddenContextOnStack() { push(prevEntangledRenderLanesCursor, entangledRenderLanes); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current); } function popHiddenContext() { entangledRenderLanes = prevEntangledRenderLanesCursor.current; pop(currentTreeHiddenStackCursor); pop(prevEntangledRenderLanesCursor); } var renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = false, didScheduleRenderPhaseUpdateDuringThisPass = false, shouldDoubleInvokeUserFnsInHooksDEV = false, localIdCounter = 0, thenableIndexCounter$1 = 0, thenableState$1 = null, globalClientIdCounter = 0; function throwInvalidHookError() { throw Error(formatProdErrorMessage(321)); } function areHookInputsEqual(nextDeps, prevDeps) { if (null === prevDeps) return false; for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) if (!objectIs(nextDeps[i], prevDeps[i])) return false; return true; } function renderWithHooks(current, workInProgress2, Component, props, secondArg, nextRenderLanes) { renderLanes = nextRenderLanes; currentlyRenderingFiber = workInProgress2; workInProgress2.memoizedState = null; workInProgress2.updateQueue = null; workInProgress2.lanes = 0; ReactSharedInternals.H = null === current || null === current.memoizedState ? HooksDispatcherOnMount : HooksDispatcherOnUpdate; shouldDoubleInvokeUserFnsInHooksDEV = false; nextRenderLanes = Component(props, secondArg); shouldDoubleInvokeUserFnsInHooksDEV = false; didScheduleRenderPhaseUpdateDuringThisPass && (nextRenderLanes = renderWithHooksAgain( workInProgress2, Component, props, secondArg )); finishRenderingHooks(current); return nextRenderLanes; } function finishRenderingHooks(current) { ReactSharedInternals.H = ContextOnlyDispatcher; var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next; renderLanes = 0; workInProgressHook = currentHook = currentlyRenderingFiber = null; didScheduleRenderPhaseUpdate = false; thenableIndexCounter$1 = 0; thenableState$1 = null; if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300)); null === current || didReceiveUpdate || (current = current.dependencies, null !== current && checkIfContextChanged(current) && (didReceiveUpdate = true)); } function renderWithHooksAgain(workInProgress2, Component, props, secondArg) { currentlyRenderingFiber = workInProgress2; var numberOfReRenders = 0; do { didScheduleRenderPhaseUpdateDuringThisPass && (thenableState$1 = null); thenableIndexCounter$1 = 0; didScheduleRenderPhaseUpdateDuringThisPass = false; if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301)); numberOfReRenders += 1; workInProgressHook = currentHook = null; if (null != workInProgress2.updateQueue) { var children = workInProgress2.updateQueue; children.lastEffect = null; children.events = null; children.stores = null; null != children.memoCache && (children.memoCache.index = 0); } ReactSharedInternals.H = HooksDispatcherOnRerender; children = Component(props, secondArg); } while (didScheduleRenderPhaseUpdateDuringThisPass); return children; } function TransitionAwareHostComponent() { var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0]; maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable; dispatcher = dispatcher.useState()[0]; (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024); return maybeThenable; } function checkDidRenderIdHook() { var didRenderIdHook = 0 !== localIdCounter; localIdCounter = 0; return didRenderIdHook; } function bailoutHooks(current, workInProgress2, lanes) { workInProgress2.updateQueue = current.updateQueue; workInProgress2.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind(workInProgress2) { if (didScheduleRenderPhaseUpdate) { for (workInProgress2 = workInProgress2.memoizedState; null !== workInProgress2; ) { var queue = workInProgress2.queue; null !== queue && (queue.pending = null); workInProgress2 = workInProgress2.next; } didScheduleRenderPhaseUpdate = false; } renderLanes = 0; workInProgressHook = currentHook = currentlyRenderingFiber = null; didScheduleRenderPhaseUpdateDuringThisPass = false; thenableIndexCounter$1 = localIdCounter = 0; thenableState$1 = null; } function mountWorkInProgressHook() { var hook = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; null === workInProgressHook ? currentlyRenderingFiber.memoizedState = workInProgressHook = hook : workInProgressHook = workInProgressHook.next = hook; return workInProgressHook; } function updateWorkInProgressHook() { if (null === currentHook) { var nextCurrentHook = currentlyRenderingFiber.alternate; nextCurrentHook = null !== nextCurrentHook ? nextCurrentHook.memoizedState : null; } else nextCurrentHook = currentHook.next; var nextWorkInProgressHook = null === workInProgressHook ? currentlyRenderingFiber.memoizedState : workInProgressHook.next; if (null !== nextWorkInProgressHook) workInProgressHook = nextWorkInProgressHook, currentHook = nextCurrentHook; else { if (null === nextCurrentHook) { if (null === currentlyRenderingFiber.alternate) throw Error(formatProdErrorMessage(467)); throw Error(formatProdErrorMessage(310)); } currentHook = nextCurrentHook; nextCurrentHook = { memoizedState: currentHook.memoizedState, baseState: currentHook.baseState, baseQueue: currentHook.baseQueue, queue: currentHook.queue, next: null }; null === workInProgressHook ? currentlyRenderingFiber.memoizedState = workInProgressHook = nextCurrentHook : workInProgressHook = workInProgressHook.next = nextCurrentHook; } return workInProgressHook; } function createFunctionComponentUpdateQueue() { return { lastEffect: null, events: null, stores: null, memoCache: null }; } function useThenable(thenable) { var index3 = thenableIndexCounter$1; thenableIndexCounter$1 += 1; null === thenableState$1 && (thenableState$1 = []); thenable = trackUsedThenable(thenableState$1, thenable, index3); index3 = currentlyRenderingFiber; null === (null === workInProgressHook ? index3.memoizedState : workInProgressHook.next) && (index3 = index3.alternate, ReactSharedInternals.H = null === index3 || null === index3.memoizedState ? HooksDispatcherOnMount : HooksDispatcherOnUpdate); return thenable; } function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error(formatProdErrorMessage(438, String(usable))); } function useMemoCache(size) { var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue; null !== updateQueue && (memoCache = updateQueue.memoCache); if (null == memoCache) { var current = currentlyRenderingFiber.alternate; null !== current && (current = current.updateQueue, null !== current && (current = current.memoCache, null != current && (memoCache = { data: current.data.map(function(array4) { return array4.slice(); }), index: 0 }))); } null == memoCache && (memoCache = { data: [], index: 0 }); null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = updateQueue); updateQueue.memoCache = memoCache; updateQueue = memoCache.data[memoCache.index]; if (void 0 === updateQueue) for (updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; current < size; current++) updateQueue[current] = REACT_MEMO_CACHE_SENTINEL; memoCache.index++; return updateQueue; } function basicStateReducer(state, action) { return "function" === typeof action ? action(state) : action; } function updateReducer(reducer) { var hook = updateWorkInProgressHook(); return updateReducerImpl(hook, currentHook, reducer); } function updateReducerImpl(hook, current, reducer) { var queue = hook.queue; if (null === queue) throw Error(formatProdErrorMessage(311)); queue.lastRenderedReducer = reducer; var baseQueue = hook.baseQueue, pendingQueue = queue.pending; if (null !== pendingQueue) { if (null !== baseQueue) { var baseFirst = baseQueue.next; baseQueue.next = pendingQueue.next; pendingQueue.next = baseFirst; } current.baseQueue = baseQueue = pendingQueue; queue.pending = null; } pendingQueue = hook.baseState; if (null === baseQueue) hook.memoizedState = pendingQueue; else { current = baseQueue.next; var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction$32 = false; do { var updateLane = update.lane & -536870913; if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) { var revertLane = update.revertLane; if (0 === revertLane) null !== newBaseQueueLast && (newBaseQueueLast = newBaseQueueLast.next = { lane: 0, revertLane: 0, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }), updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction$32 = true); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && (didReadFromEntangledAsyncAction$32 = true); continue; } else updateLane = { lane: 0, revertLane: update.revertLane, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }, null === newBaseQueueLast ? (newBaseQueueFirst = newBaseQueueLast = updateLane, baseFirst = pendingQueue) : newBaseQueueLast = newBaseQueueLast.next = updateLane, currentlyRenderingFiber.lanes |= revertLane, workInProgressRootSkippedLanes |= revertLane; updateLane = update.action; shouldDoubleInvokeUserFnsInHooksDEV && reducer(pendingQueue, updateLane); pendingQueue = update.hasEagerState ? update.eagerState : reducer(pendingQueue, updateLane); } else revertLane = { lane: updateLane, revertLane: update.revertLane, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }, null === newBaseQueueLast ? (newBaseQueueFirst = newBaseQueueLast = revertLane, baseFirst = pendingQueue) : newBaseQueueLast = newBaseQueueLast.next = revertLane, currentlyRenderingFiber.lanes |= updateLane, workInProgressRootSkippedLanes |= updateLane; update = update.next; } while (null !== update && update !== current); null === newBaseQueueLast ? baseFirst = pendingQueue : newBaseQueueLast.next = newBaseQueueFirst; if (!objectIs(pendingQueue, hook.memoizedState) && (didReceiveUpdate = true, didReadFromEntangledAsyncAction$32 && (reducer = currentEntangledActionThenable, null !== reducer))) throw reducer; hook.memoizedState = pendingQueue; hook.baseState = baseFirst; hook.baseQueue = newBaseQueueLast; queue.lastRenderedState = pendingQueue; } null === baseQueue && (queue.lanes = 0); return [hook.memoizedState, queue.dispatch]; } function rerenderReducer(reducer) { var hook = updateWorkInProgressHook(), queue = hook.queue; if (null === queue) throw Error(formatProdErrorMessage(311)); queue.lastRenderedReducer = reducer; var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState; if (null !== lastRenderPhaseUpdate) { queue.pending = null; var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next; do newState = reducer(newState, update.action), update = update.next; while (update !== lastRenderPhaseUpdate); objectIs(newState, hook.memoizedState) || (didReceiveUpdate = true); hook.memoizedState = newState; null === hook.baseQueue && (hook.baseState = newState); queue.lastRenderedState = newState; } return [newState, dispatch]; } function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating; if (isHydrating$jscomp$0) { if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407)); getServerSnapshot = getServerSnapshot(); } else getServerSnapshot = getSnapshot(); var snapshotChanged = !objectIs( (currentHook || hook).memoizedState, getServerSnapshot ); snapshotChanged && (hook.memoizedState = getServerSnapshot, didReceiveUpdate = true); hook = hook.queue; var create = subscribeToStore.bind(null, fiber, hook, subscribe); updateEffectImpl(2048, 8, create, [subscribe]); if (hook.getSnapshot !== getSnapshot || snapshotChanged || null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) { fiber.flags |= 2048; pushSimpleEffect( 9, createEffectInstance(), updateStoreInstance.bind( null, fiber, hook, getServerSnapshot, getSnapshot ), null ); if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349)); isHydrating$jscomp$0 || 0 !== (renderLanes & 124) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); } return getServerSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { fiber.flags |= 16384; fiber = { getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot ? (getSnapshot = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = getSnapshot, getSnapshot.stores = [fiber]) : (renderedSnapshot = getSnapshot.stores, null === renderedSnapshot ? getSnapshot.stores = [fiber] : renderedSnapshot.push(fiber)); } function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) { inst.value = nextSnapshot; inst.getSnapshot = getSnapshot; checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); } function subscribeToStore(fiber, inst, subscribe) { return subscribe(function() { checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); }); } function checkIfSnapshotChanged(inst) { var latestGetSnapshot = inst.getSnapshot; inst = inst.value; try { var nextValue = latestGetSnapshot(); return !objectIs(inst, nextValue); } catch (error) { return true; } } function forceStoreRerender(fiber) { var root2 = enqueueConcurrentRenderForLane(fiber, 2); null !== root2 && scheduleUpdateOnFiber(root2, fiber, 2); } function mountStateImpl(initialState) { var hook = mountWorkInProgressHook(); if ("function" === typeof initialState) { var initialStateInitializer = initialState; initialState = initialStateInitializer(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(true); try { initialStateInitializer(); } finally { setIsStrictModeForDevtools(false); } } } hook.memoizedState = hook.baseState = initialState; hook.queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: initialState }; return hook; } function updateOptimisticImpl(hook, current, passthrough, reducer) { hook.baseState = passthrough; return updateReducerImpl( hook, currentHook, "function" === typeof reducer ? reducer : basicStateReducer ); } function dispatchActionState(fiber, actionQueue, setPendingState, setState, payload) { if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485)); fiber = actionQueue.action; if (null !== fiber) { var actionNode = { payload, action: fiber, next: null, isTransition: true, status: "pending", value: null, reason: null, listeners: [], then: function(listener) { actionNode.listeners.push(listener); } }; null !== ReactSharedInternals.T ? setPendingState(true) : actionNode.isTransition = false; setState(actionNode); setPendingState = actionQueue.pending; null === setPendingState ? (actionNode.next = actionQueue.pending = actionNode, runActionStateAction(actionQueue, actionNode)) : (actionNode.next = setPendingState.next, actionQueue.pending = setPendingState.next = actionNode); } } function runActionStateAction(actionQueue, node2) { var action = node2.action, payload = node2.payload, prevState = actionQueue.state; if (node2.isTransition) { var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; try { var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); handleActionReturnValue(actionQueue, node2, returnValue); } catch (error) { onActionError(actionQueue, node2, error); } finally { ReactSharedInternals.T = prevTransition; } } else try { prevTransition = action(prevState, payload), handleActionReturnValue(actionQueue, node2, prevTransition); } catch (error$38) { onActionError(actionQueue, node2, error$38); } } function handleActionReturnValue(actionQueue, node2, returnValue) { null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then ? returnValue.then( function(nextState) { onActionSuccess(actionQueue, node2, nextState); }, function(error) { return onActionError(actionQueue, node2, error); } ) : onActionSuccess(actionQueue, node2, returnValue); } function onActionSuccess(actionQueue, actionNode, nextState) { actionNode.status = "fulfilled"; actionNode.value = nextState; notifyActionListeners(actionNode); actionQueue.state = nextState; actionNode = actionQueue.pending; null !== actionNode && (nextState = actionNode.next, nextState === actionNode ? actionQueue.pending = null : (nextState = nextState.next, actionNode.next = nextState, runActionStateAction(actionQueue, nextState))); } function onActionError(actionQueue, actionNode, error) { var last = actionQueue.pending; actionQueue.pending = null; if (null !== last) { last = last.next; do actionNode.status = "rejected", actionNode.reason = error, notifyActionListeners(actionNode), actionNode = actionNode.next; while (actionNode !== last); } actionQueue.action = null; } function notifyActionListeners(actionNode) { actionNode = actionNode.listeners; for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])(); } function actionStateReducer(oldState, newState) { return newState; } function mountActionState(action, initialStateProp) { if (isHydrating) { var ssrFormState = workInProgressRoot.formState; if (null !== ssrFormState) { a: { var JSCompiler_inline_result = currentlyRenderingFiber; if (isHydrating) { if (nextHydratableInstance) { b: { var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance; for (var inRootOrSingleton = rootOrSingletonContext; 8 !== JSCompiler_inline_result$jscomp$0.nodeType; ) { if (!inRootOrSingleton) { JSCompiler_inline_result$jscomp$0 = null; break b; } JSCompiler_inline_result$jscomp$0 = getNextHydratable( JSCompiler_inline_result$jscomp$0.nextSibling ); if (null === JSCompiler_inline_result$jscomp$0) { JSCompiler_inline_result$jscomp$0 = null; break b; } } inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data; JSCompiler_inline_result$jscomp$0 = "F!" === inRootOrSingleton || "F" === inRootOrSingleton ? JSCompiler_inline_result$jscomp$0 : null; } if (JSCompiler_inline_result$jscomp$0) { nextHydratableInstance = getNextHydratable( JSCompiler_inline_result$jscomp$0.nextSibling ); JSCompiler_inline_result = "F!" === JSCompiler_inline_result$jscomp$0.data; break a; } } throwOnHydrationMismatch(JSCompiler_inline_result); } JSCompiler_inline_result = false; } JSCompiler_inline_result && (initialStateProp = ssrFormState[0]); } } ssrFormState = mountWorkInProgressHook(); ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp; JSCompiler_inline_result = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: actionStateReducer, lastRenderedState: initialStateProp }; ssrFormState.queue = JSCompiler_inline_result; ssrFormState = dispatchSetState.bind( null, currentlyRenderingFiber, JSCompiler_inline_result ); JSCompiler_inline_result.dispatch = ssrFormState; JSCompiler_inline_result = mountStateImpl(false); inRootOrSingleton = dispatchOptimisticSetState.bind( null, currentlyRenderingFiber, false, JSCompiler_inline_result.queue ); JSCompiler_inline_result = mountWorkInProgressHook(); JSCompiler_inline_result$jscomp$0 = { state: initialStateProp, dispatch: null, action, pending: null }; JSCompiler_inline_result.queue = JSCompiler_inline_result$jscomp$0; ssrFormState = dispatchActionState.bind( null, currentlyRenderingFiber, JSCompiler_inline_result$jscomp$0, inRootOrSingleton, ssrFormState ); JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState; JSCompiler_inline_result.memoizedState = action; return [initialStateProp, ssrFormState, false]; } function updateActionState(action) { var stateHook = updateWorkInProgressHook(); return updateActionStateImpl(stateHook, currentHook, action); } function updateActionStateImpl(stateHook, currentStateHook, action) { currentStateHook = updateReducerImpl( stateHook, currentStateHook, actionStateReducer )[0]; stateHook = updateReducer(basicStateReducer)[0]; if ("object" === typeof currentStateHook && null !== currentStateHook && "function" === typeof currentStateHook.then) try { var state = useThenable(currentStateHook); } catch (x) { if (x === SuspenseException) throw SuspenseActionException; throw x; } else state = currentStateHook; currentStateHook = updateWorkInProgressHook(); var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch; action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect( 9, createEffectInstance(), actionStateActionEffect.bind(null, actionQueue, action), null )); return [state, dispatch, stateHook]; } function actionStateActionEffect(actionQueue, action) { actionQueue.action = action; } function rerenderActionState(action) { var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook; if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action); updateWorkInProgressHook(); stateHook = stateHook.memoizedState; currentStateHook = updateWorkInProgressHook(); var dispatch = currentStateHook.queue.dispatch; currentStateHook.memoizedState = action; return [stateHook, dispatch, false]; } function pushSimpleEffect(tag, inst, create, createDeps) { tag = { tag, create, deps: createDeps, inst, next: null }; inst = currentlyRenderingFiber.updateQueue; null === inst && (inst = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = inst); create = inst.lastEffect; null === create ? inst.lastEffect = tag.next = tag : (createDeps = create.next, create.next = tag, tag.next = createDeps, inst.lastEffect = tag); return tag; } function createEffectInstance() { return { destroy: void 0, resource: void 0 }; } function updateRef() { return updateWorkInProgressHook().memoizedState; } function mountEffectImpl(fiberFlags, hookFlags, create, createDeps) { var hook = mountWorkInProgressHook(); createDeps = void 0 === createDeps ? null : createDeps; currentlyRenderingFiber.flags |= fiberFlags; hook.memoizedState = pushSimpleEffect( 1 | hookFlags, createEffectInstance(), create, createDeps ); } function updateEffectImpl(fiberFlags, hookFlags, create, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var inst = hook.memoizedState.inst; null !== currentHook && null !== deps && areHookInputsEqual(deps, currentHook.memoizedState.deps) ? hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps) : (currentlyRenderingFiber.flags |= fiberFlags, hook.memoizedState = pushSimpleEffect( 1 | hookFlags, inst, create, deps )); } function mountEffect(create, createDeps) { mountEffectImpl(8390656, 8, create, createDeps); } function updateEffect(create, createDeps) { updateEffectImpl(2048, 8, create, createDeps); } function updateInsertionEffect(create, deps) { return updateEffectImpl(4, 2, create, deps); } function updateLayoutEffect(create, deps) { return updateEffectImpl(4, 4, create, deps); } function imperativeHandleEffect(create, ref) { if ("function" === typeof ref) { create = create(); var refCleanup = ref(create); return function() { "function" === typeof refCleanup ? refCleanup() : ref(null); }; } if (null !== ref && void 0 !== ref) return create = create(), ref.current = create, function() { ref.current = null; }; } function updateImperativeHandle(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps); } function mountDebugValue() { } function updateCallback(callback, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var prevState = hook.memoizedState; if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; hook.memoizedState = [callback, deps]; return callback; } function updateMemo(nextCreate, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var prevState = hook.memoizedState; if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; prevState = nextCreate(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(true); try { nextCreate(); } finally { setIsStrictModeForDevtools(false); } } hook.memoizedState = [prevState, deps]; return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) return hook.memoizedState = value; hook.memoizedState = initialValue; hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; workInProgressRootSkippedLanes |= hook; return initialValue; } function updateDeferredValueImpl(hook, prevValue, value, initialValue) { if (objectIs(value, prevValue)) return value; if (null !== currentTreeHiddenStackCursor.current) return hook = mountDeferredValueImpl(hook, value, initialValue), objectIs(hook, prevValue) || (didReceiveUpdate = true), hook; if (0 === (renderLanes & 42)) return didReceiveUpdate = true, hook.memoizedState = value; hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; workInProgressRootSkippedLanes |= hook; return prevValue; } function startTransition(fiber, queue, pendingState, finishedState, callback) { var previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 0 !== previousPriority && 8 > previousPriority ? previousPriority : 8; var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; dispatchOptimisticSetState(fiber, false, queue, pendingState); try { var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) { var thenableForFinishedState = chainThenableValue( returnValue, finishedState ); dispatchSetStateInternal( fiber, queue, thenableForFinishedState, requestUpdateLane(fiber) ); } else dispatchSetStateInternal( fiber, queue, finishedState, requestUpdateLane(fiber) ); } catch (error) { dispatchSetStateInternal( fiber, queue, { then: function() { }, status: "rejected", reason: error }, requestUpdateLane() ); } finally { ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition; } } function noop$2() { } function startHostTransition(formFiber, pendingState, action, formData) { if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476)); var queue = ensureFormComponentIsStateful(formFiber).queue; startTransition( formFiber, queue, pendingState, sharedNotPendingObject, null === action ? noop$2 : function() { requestFormReset$1(formFiber); return action(formData); } ); } function ensureFormComponentIsStateful(formFiber) { var existingStateHook = formFiber.memoizedState; if (null !== existingStateHook) return existingStateHook; existingStateHook = { memoizedState: sharedNotPendingObject, baseState: sharedNotPendingObject, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: sharedNotPendingObject }, next: null }; var initialResetState = {}; existingStateHook.next = { memoizedState: initialResetState, baseState: initialResetState, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: initialResetState }, next: null }; formFiber.memoizedState = existingStateHook; formFiber = formFiber.alternate; null !== formFiber && (formFiber.memoizedState = existingStateHook); return existingStateHook; } function requestFormReset$1(formFiber) { var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane()); } function useHostTransitionStatus() { return readContext(HostTransitionContext); } function updateId() { return updateWorkInProgressHook().memoizedState; } function updateRefresh() { return updateWorkInProgressHook().memoizedState; } function refreshCache(fiber) { for (var provider = fiber.return; null !== provider; ) { switch (provider.tag) { case 24: case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); var root$41 = enqueueUpdate(provider, fiber, lane); null !== root$41 && (scheduleUpdateOnFiber(root$41, provider, lane), entangleTransitions(root$41, provider, lane)); provider = { cache: createCache2() }; fiber.payload = provider; return; } provider = provider.return; } } function dispatchReducerAction(fiber, queue, action) { var lane = requestUpdateLane(); action = { lane, revertLane: 0, action, hasEagerState: false, eagerState: null, next: null }; isRenderPhaseUpdate(fiber) ? enqueueRenderPhaseUpdate(queue, action) : (action = enqueueConcurrentHookUpdate(fiber, queue, action, lane), null !== action && (scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane))); } function dispatchSetState(fiber, queue, action) { var lane = requestUpdateLane(); dispatchSetStateInternal(fiber, queue, action, lane); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { lane, revertLane: 0, action, hasEagerState: false, eagerState: null, next: null }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); else { var alternate = fiber.alternate; if (0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && (alternate = queue.lastRenderedReducer, null !== alternate)) try { var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action); update.hasEagerState = true; update.eagerState = eagerState; if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), false; } catch (error) { } finally { } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); if (null !== action) return scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane), true; } return false; } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { action = { lane: 2, revertLane: requestTransitionLane(), action, hasEagerState: false, eagerState: null, next: null }; if (isRenderPhaseUpdate(fiber)) { if (throwIfDuringRender) throw Error(formatProdErrorMessage(479)); } else throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, action, 2 ), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; return fiber === currentlyRenderingFiber || null !== alternate && alternate === currentlyRenderingFiber; } function enqueueRenderPhaseUpdate(queue, update) { didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true; var pending = queue.pending; null === pending ? update.next = update : (update.next = pending.next, pending.next = update); queue.pending = update; } function entangleTransitionUpdate(root2, queue, lane) { if (0 !== (lane & 4194048)) { var queueLanes = queue.lanes; queueLanes &= root2.pendingLanes; lane |= queueLanes; queue.lanes = lane; markRootEntangled(root2, lane); } } var ContextOnlyDispatcher = { readContext, use, useCallback: throwInvalidHookError, useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, useState: throwInvalidHookError, useDebugValue: throwInvalidHookError, useDeferredValue: throwInvalidHookError, useTransition: throwInvalidHookError, useSyncExternalStore: throwInvalidHookError, useId: throwInvalidHookError, useHostTransitionStatus: throwInvalidHookError, useFormState: throwInvalidHookError, useActionState: throwInvalidHookError, useOptimistic: throwInvalidHookError, useMemoCache: throwInvalidHookError, useCacheRefresh: throwInvalidHookError }, HooksDispatcherOnMount = { readContext, use, useCallback: function(callback, deps) { mountWorkInProgressHook().memoizedState = [ callback, void 0 === deps ? null : deps ]; return callback; }, useContext: readContext, useEffect: mountEffect, useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); }, useMemo: function(nextCreate, deps) { var hook = mountWorkInProgressHook(); deps = void 0 === deps ? null : deps; var nextValue = nextCreate(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(true); try { nextCreate(); } finally { setIsStrictModeForDevtools(false); } } hook.memoizedState = [nextValue, deps]; return nextValue; }, useReducer: function(reducer, initialArg, init) { var hook = mountWorkInProgressHook(); if (void 0 !== init) { var initialState = init(initialArg); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(true); try { init(initialArg); } finally { setIsStrictModeForDevtools(false); } } } else initialState = initialArg; hook.memoizedState = hook.baseState = initialState; reducer = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: reducer, lastRenderedState: initialState }; hook.queue = reducer; reducer = reducer.dispatch = dispatchReducerAction.bind( null, currentlyRenderingFiber, reducer ); return [hook.memoizedState, reducer]; }, useRef: function(initialValue) { var hook = mountWorkInProgressHook(); initialValue = { current: initialValue }; return hook.memoizedState = initialValue; }, useState: function(initialState) { initialState = mountStateImpl(initialState); var queue = initialState.queue, dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue); queue.dispatch = dispatch; return [initialState.memoizedState, dispatch]; }, useDebugValue: mountDebugValue, useDeferredValue: function(value, initialValue) { var hook = mountWorkInProgressHook(); return mountDeferredValueImpl(hook, value, initialValue); }, useTransition: function() { var stateHook = mountStateImpl(false); stateHook = startTransition.bind( null, currentlyRenderingFiber, stateHook.queue, true, false ); mountWorkInProgressHook().memoizedState = stateHook; return [false, stateHook]; }, useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { var fiber = currentlyRenderingFiber, hook = mountWorkInProgressHook(); if (isHydrating) { if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407)); getServerSnapshot = getServerSnapshot(); } else { getServerSnapshot = getSnapshot(); if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349)); 0 !== (workInProgressRootRenderLanes & 124) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); } hook.memoizedState = getServerSnapshot; var inst = { value: getServerSnapshot, getSnapshot }; hook.queue = inst; mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [ subscribe ]); fiber.flags |= 2048; pushSimpleEffect( 9, createEffectInstance(), updateStoreInstance.bind( null, fiber, inst, getServerSnapshot, getSnapshot ), null ); return getServerSnapshot; }, useId: function() { var hook = mountWorkInProgressHook(), identifierPrefix = workInProgressRoot.identifierPrefix; if (isHydrating) { var JSCompiler_inline_result = treeContextOverflow; var idWithLeadingBit = treeContextId; JSCompiler_inline_result = (idWithLeadingBit & ~(1 << 32 - clz32(idWithLeadingBit) - 1)).toString(32) + JSCompiler_inline_result; identifierPrefix = "«" + identifierPrefix + "R" + JSCompiler_inline_result; JSCompiler_inline_result = localIdCounter++; 0 < JSCompiler_inline_result && (identifierPrefix += "H" + JSCompiler_inline_result.toString(32)); identifierPrefix += "»"; } else JSCompiler_inline_result = globalClientIdCounter++, identifierPrefix = "«" + identifierPrefix + "r" + JSCompiler_inline_result.toString(32) + "»"; return hook.memoizedState = identifierPrefix; }, useHostTransitionStatus, useFormState: mountActionState, useActionState: mountActionState, useOptimistic: function(passthrough) { var hook = mountWorkInProgressHook(); hook.memoizedState = hook.baseState = passthrough; var queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: null, lastRenderedState: null }; hook.queue = queue; hook = dispatchOptimisticSetState.bind( null, currentlyRenderingFiber, true, queue ); queue.dispatch = hook; return [passthrough, hook]; }, useMemoCache, useCacheRefresh: function() { return mountWorkInProgressHook().memoizedState = refreshCache.bind( null, currentlyRenderingFiber ); } }, HooksDispatcherOnUpdate = { readContext, use, useCallback: updateCallback, useContext: readContext, useEffect: updateEffect, useImperativeHandle: updateImperativeHandle, useInsertionEffect: updateInsertionEffect, useLayoutEffect: updateLayoutEffect, useMemo: updateMemo, useReducer: updateReducer, useRef: updateRef, useState: function() { return updateReducer(basicStateReducer); }, useDebugValue: mountDebugValue, useDeferredValue: function(value, initialValue) { var hook = updateWorkInProgressHook(); return updateDeferredValueImpl( hook, currentHook.memoizedState, value, initialValue ); }, useTransition: function() { var booleanOrThenable = updateReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; return [ "boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start ]; }, useSyncExternalStore: updateSyncExternalStore, useId: updateId, useHostTransitionStatus, useFormState: updateActionState, useActionState: updateActionState, useOptimistic: function(passthrough, reducer) { var hook = updateWorkInProgressHook(); return updateOptimisticImpl(hook, currentHook, passthrough, reducer); }, useMemoCache, useCacheRefresh: updateRefresh }, HooksDispatcherOnRerender = { readContext, use, useCallback: updateCallback, useContext: readContext, useEffect: updateEffect, useImperativeHandle: updateImperativeHandle, useInsertionEffect: updateInsertionEffect, useLayoutEffect: updateLayoutEffect, useMemo: updateMemo, useReducer: rerenderReducer, useRef: updateRef, useState: function() { return rerenderReducer(basicStateReducer); }, useDebugValue: mountDebugValue, useDeferredValue: function(value, initialValue) { var hook = updateWorkInProgressHook(); return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl( hook, currentHook.memoizedState, value, initialValue ); }, useTransition: function() { var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; return [ "boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start ]; }, useSyncExternalStore: updateSyncExternalStore, useId: updateId, useHostTransitionStatus, useFormState: rerenderActionState, useActionState: rerenderActionState, useOptimistic: function(passthrough, reducer) { var hook = updateWorkInProgressHook(); if (null !== currentHook) return updateOptimisticImpl(hook, currentHook, passthrough, reducer); hook.baseState = passthrough; return [passthrough, hook.queue.dispatch]; }, useMemoCache, useCacheRefresh: updateRefresh }, thenableState = null, thenableIndexCounter = 0; function unwrapThenable(thenable) { var index3 = thenableIndexCounter; thenableIndexCounter += 1; null === thenableState && (thenableState = []); return trackUsedThenable(thenableState, thenable, index3); } function coerceRef(workInProgress2, element) { element = element.props.ref; workInProgress2.ref = void 0 !== element ? element : null; } function throwOnInvalidObjectType(returnFiber, newChild) { if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) throw Error(formatProdErrorMessage(525)); returnFiber = Object.prototype.toString.call(newChild); throw Error( formatProdErrorMessage( 31, "[object Object]" === returnFiber ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber ) ); } function resolveLazy(lazyType) { var init = lazyType._init; return init(lazyType._payload); } function createChildReconciler(shouldTrackSideEffects) { function deleteChild(returnFiber, childToDelete) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions ? (returnFiber.deletions = [childToDelete], returnFiber.flags |= 16) : deletions.push(childToDelete); } } function deleteRemainingChildren(returnFiber, currentFirstChild) { if (!shouldTrackSideEffects) return null; for (; null !== currentFirstChild; ) deleteChild(returnFiber, currentFirstChild), currentFirstChild = currentFirstChild.sibling; return null; } function mapRemainingChildren(currentFirstChild) { for (var existingChildren = /* @__PURE__ */ new Map(); null !== currentFirstChild; ) null !== currentFirstChild.key ? existingChildren.set(currentFirstChild.key, currentFirstChild) : existingChildren.set(currentFirstChild.index, currentFirstChild), currentFirstChild = currentFirstChild.sibling; return existingChildren; } function useFiber(fiber, pendingProps) { fiber = createWorkInProgress(fiber, pendingProps); fiber.index = 0; fiber.sibling = null; return fiber; } function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) return newFiber.flags |= 1048576, lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return newIndex = newIndex.index, newIndex < lastPlacedIndex ? (newFiber.flags |= 67108866, lastPlacedIndex) : newIndex; newFiber.flags |= 67108866; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && (newFiber.flags |= 67108866); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { if (null === current || 6 !== current.tag) return current = createFiberFromText(textContent, returnFiber.mode, lanes), current.return = returnFiber, current; current = useFiber(current, textContent); current.return = returnFiber; return current; } function updateElement(returnFiber, current, element, lanes) { var elementType = element.type; if (elementType === REACT_FRAGMENT_TYPE2) return updateFragment( returnFiber, current, element.props.children, lanes, element.key ); if (null !== current && (current.elementType === elementType || "object" === typeof elementType && null !== elementType && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === current.type)) return current = useFiber(current, element.props), coerceRef(current, element), current.return = returnFiber, current; current = createFiberFromTypeAndProps( element.type, element.key, element.props, null, returnFiber.mode, lanes ); coerceRef(current, element); current.return = returnFiber; return current; } function updatePortal(returnFiber, current, portal, lanes) { if (null === current || 4 !== current.tag || current.stateNode.containerInfo !== portal.containerInfo || current.stateNode.implementation !== portal.implementation) return current = createFiberFromPortal(portal, returnFiber.mode, lanes), current.return = returnFiber, current; current = useFiber(current, portal.children || []); current.return = returnFiber; return current; } function updateFragment(returnFiber, current, fragment, lanes, key) { if (null === current || 7 !== current.tag) return current = createFiberFromFragment( fragment, returnFiber.mode, lanes, key ), current.return = returnFiber, current; current = useFiber(current, fragment); current.return = returnFiber; return current; } function createChild(returnFiber, newChild, lanes) { if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return newChild = createFiberFromText( "" + newChild, returnFiber.mode, lanes ), newChild.return = returnFiber, newChild; if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return lanes = createFiberFromTypeAndProps( newChild.type, newChild.key, newChild.props, null, returnFiber.mode, lanes ), coerceRef(lanes, newChild), lanes.return = returnFiber, lanes; case REACT_PORTAL_TYPE: return newChild = createFiberFromPortal( newChild, returnFiber.mode, lanes ), newChild.return = returnFiber, newChild; case REACT_LAZY_TYPE: var init = newChild._init; newChild = init(newChild._payload); return createChild(returnFiber, newChild, lanes); } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return newChild = createFiberFromFragment( newChild, returnFiber.mode, lanes, null ), newChild.return = returnFiber, newChild; if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectType(returnFiber, newChild); } return null; } function updateSlot(returnFiber, oldFiber, newChild, lanes) { var key = null !== oldFiber ? oldFiber.key : null; if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return null !== key ? null : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return newChild.key === key ? updateElement(returnFiber, oldFiber, newChild, lanes) : null; case REACT_PORTAL_TYPE: return newChild.key === key ? updatePortal(returnFiber, oldFiber, newChild, lanes) : null; case REACT_LAZY_TYPE: return key = newChild._init, newChild = key(newChild._payload), updateSlot(returnFiber, oldFiber, newChild, lanes); } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return null !== key ? null : updateFragment(returnFiber, oldFiber, newChild, lanes, null); if ("function" === typeof newChild.then) return updateSlot( returnFiber, oldFiber, unwrapThenable(newChild), lanes ); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectType(returnFiber, newChild); } return null; } function updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) { if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return existingChildren = existingChildren.get(newIdx) || null, updateTextNode(returnFiber, existingChildren, "" + newChild, lanes); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return existingChildren = existingChildren.get( null === newChild.key ? newIdx : newChild.key ) || null, updateElement(returnFiber, existingChildren, newChild, lanes); case REACT_PORTAL_TYPE: return existingChildren = existingChildren.get( null === newChild.key ? newIdx : newChild.key ) || null, updatePortal(returnFiber, existingChildren, newChild, lanes); case REACT_LAZY_TYPE: var init = newChild._init; newChild = init(newChild._payload); return updateFromMap( existingChildren, returnFiber, newIdx, newChild, lanes ); } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return existingChildren = existingChildren.get(newIdx) || null, updateFragment(returnFiber, existingChildren, newChild, lanes, null); if ("function" === typeof newChild.then) return updateFromMap( existingChildren, returnFiber, newIdx, unwrapThenable(newChild), lanes ); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, newIdx, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectType(returnFiber, newChild); } return null; } function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) { for (var resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = currentFirstChild = 0, nextOldFiber = null; null !== oldFiber && newIdx < newChildren.length; newIdx++) { oldFiber.index > newIdx ? (nextOldFiber = oldFiber, oldFiber = null) : nextOldFiber = oldFiber.sibling; var newFiber = updateSlot( returnFiber, oldFiber, newChildren[newIdx], lanes ); if (null === newFiber) { null === oldFiber && (oldFiber = nextOldFiber); break; } shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); null === previousNewFiber ? resultingFirstChild = newFiber : previousNewFiber.sibling = newFiber; previousNewFiber = newFiber; oldFiber = nextOldFiber; } if (newIdx === newChildren.length) return deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild; if (null === oldFiber) { for (; newIdx < newChildren.length; newIdx++) oldFiber = createChild(returnFiber, newChildren[newIdx], lanes), null !== oldFiber && (currentFirstChild = placeChild( oldFiber, currentFirstChild, newIdx ), null === previousNewFiber ? resultingFirstChild = oldFiber : previousNewFiber.sibling = oldFiber, previousNewFiber = oldFiber); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } for (oldFiber = mapRemainingChildren(oldFiber); newIdx < newChildren.length; newIdx++) nextOldFiber = updateFromMap( oldFiber, returnFiber, newIdx, newChildren[newIdx], lanes ), null !== nextOldFiber && (shouldTrackSideEffects && null !== nextOldFiber.alternate && oldFiber.delete( null === nextOldFiber.key ? newIdx : nextOldFiber.key ), currentFirstChild = placeChild( nextOldFiber, currentFirstChild, newIdx ), null === previousNewFiber ? resultingFirstChild = nextOldFiber : previousNewFiber.sibling = nextOldFiber, previousNewFiber = nextOldFiber); shouldTrackSideEffects && oldFiber.forEach(function(child) { return deleteChild(returnFiber, child); }); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildren, lanes) { if (null == newChildren) throw Error(formatProdErrorMessage(151)); for (var resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = currentFirstChild = 0, nextOldFiber = null, step = newChildren.next(); null !== oldFiber && !step.done; newIdx++, step = newChildren.next()) { oldFiber.index > newIdx ? (nextOldFiber = oldFiber, oldFiber = null) : nextOldFiber = oldFiber.sibling; var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes); if (null === newFiber) { null === oldFiber && (oldFiber = nextOldFiber); break; } shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); null === previousNewFiber ? resultingFirstChild = newFiber : previousNewFiber.sibling = newFiber; previousNewFiber = newFiber; oldFiber = nextOldFiber; } if (step.done) return deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild; if (null === oldFiber) { for (; !step.done; newIdx++, step = newChildren.next()) step = createChild(returnFiber, step.value, lanes), null !== step && (currentFirstChild = placeChild(step, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = step : previousNewFiber.sibling = step, previousNewFiber = step); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } for (oldFiber = mapRemainingChildren(oldFiber); !step.done; newIdx++, step = newChildren.next()) step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes), null !== step && (shouldTrackSideEffects && null !== step.alternate && oldFiber.delete(null === step.key ? newIdx : step.key), currentFirstChild = placeChild(step, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = step : previousNewFiber.sibling = step, previousNewFiber = step); shouldTrackSideEffects && oldFiber.forEach(function(child) { return deleteChild(returnFiber, child); }); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } function reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes) { "object" === typeof newChild && null !== newChild && newChild.type === REACT_FRAGMENT_TYPE2 && null === newChild.key && (newChild = newChild.props.children); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: a: { for (var key = newChild.key; null !== currentFirstChild; ) { if (currentFirstChild.key === key) { key = newChild.type; if (key === REACT_FRAGMENT_TYPE2) { if (7 === currentFirstChild.tag) { deleteRemainingChildren( returnFiber, currentFirstChild.sibling ); lanes = useFiber( currentFirstChild, newChild.props.children ); lanes.return = returnFiber; returnFiber = lanes; break a; } } else if (currentFirstChild.elementType === key || "object" === typeof key && null !== key && key.$$typeof === REACT_LAZY_TYPE && resolveLazy(key) === currentFirstChild.type) { deleteRemainingChildren( returnFiber, currentFirstChild.sibling ); lanes = useFiber(currentFirstChild, newChild.props); coerceRef(lanes, newChild); lanes.return = returnFiber; returnFiber = lanes; break a; } deleteRemainingChildren(returnFiber, currentFirstChild); break; } else deleteChild(returnFiber, currentFirstChild); currentFirstChild = currentFirstChild.sibling; } newChild.type === REACT_FRAGMENT_TYPE2 ? (lanes = createFiberFromFragment( newChild.props.children, returnFiber.mode, lanes, newChild.key ), lanes.return = returnFiber, returnFiber = lanes) : (lanes = createFiberFromTypeAndProps( newChild.type, newChild.key, newChild.props, null, returnFiber.mode, lanes ), coerceRef(lanes, newChild), lanes.return = returnFiber, returnFiber = lanes); } return placeSingleChild(returnFiber); case REACT_PORTAL_TYPE: a: { for (key = newChild.key; null !== currentFirstChild; ) { if (currentFirstChild.key === key) if (4 === currentFirstChild.tag && currentFirstChild.stateNode.containerInfo === newChild.containerInfo && currentFirstChild.stateNode.implementation === newChild.implementation) { deleteRemainingChildren( returnFiber, currentFirstChild.sibling ); lanes = useFiber(currentFirstChild, newChild.children || []); lanes.return = returnFiber; returnFiber = lanes; break a; } else { deleteRemainingChildren(returnFiber, currentFirstChild); break; } else deleteChild(returnFiber, currentFirstChild); currentFirstChild = currentFirstChild.sibling; } lanes = createFiberFromPortal(newChild, returnFiber.mode, lanes); lanes.return = returnFiber; returnFiber = lanes; } return placeSingleChild(returnFiber); case REACT_LAZY_TYPE: return key = newChild._init, newChild = key(newChild._payload), reconcileChildFibersImpl( returnFiber, currentFirstChild, newChild, lanes ); } if (isArrayImpl(newChild)) return reconcileChildrenArray( returnFiber, currentFirstChild, newChild, lanes ); if (getIteratorFn(newChild)) { key = getIteratorFn(newChild); if ("function" !== typeof key) throw Error(formatProdErrorMessage(150)); newChild = key.call(newChild); return reconcileChildrenIterator( returnFiber, currentFirstChild, newChild, lanes ); } if ("function" === typeof newChild.then) return reconcileChildFibersImpl( returnFiber, currentFirstChild, unwrapThenable(newChild), lanes ); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectType(returnFiber, newChild); } return "string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild ? (newChild = "" + newChild, null !== currentFirstChild && 6 === currentFirstChild.tag ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling), lanes = useFiber(currentFirstChild, newChild), lanes.return = returnFiber, returnFiber = lanes) : (deleteRemainingChildren(returnFiber, currentFirstChild), lanes = createFiberFromText(newChild, returnFiber.mode, lanes), lanes.return = returnFiber, returnFiber = lanes), placeSingleChild(returnFiber)) : deleteRemainingChildren(returnFiber, currentFirstChild); } return function(returnFiber, currentFirstChild, newChild, lanes) { try { thenableIndexCounter = 0; var firstChildFiber = reconcileChildFibersImpl( returnFiber, currentFirstChild, newChild, lanes ); thenableState = null; return firstChildFiber; } catch (x) { if (x === SuspenseException || x === SuspenseActionException) throw x; var fiber = createFiberImplClass(29, x, null, returnFiber.mode); fiber.lanes = lanes; fiber.return = returnFiber; return fiber; } finally { } }; } var reconcileChildFibers = createChildReconciler(true), mountChildFibers = createChildReconciler(false), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null; function pushPrimaryTreeSuspenseHandler(handler) { var current = handler.alternate; push(suspenseStackCursor, suspenseStackCursor.current & 1); push(suspenseHandlerStackCursor, handler); null === shellBoundary && (null === current || null !== currentTreeHiddenStackCursor.current ? shellBoundary = handler : null !== current.memoizedState && (shellBoundary = handler)); } function pushOffscreenSuspenseHandler(fiber) { if (22 === fiber.tag) { if (push(suspenseStackCursor, suspenseStackCursor.current), push(suspenseHandlerStackCursor, fiber), null === shellBoundary) { var current = fiber.alternate; null !== current && null !== current.memoizedState && (shellBoundary = fiber); } } else reuseSuspenseHandlerOnStack(); } function reuseSuspenseHandlerOnStack() { push(suspenseStackCursor, suspenseStackCursor.current); push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current); } function popSuspenseHandler(fiber) { pop(suspenseHandlerStackCursor); shellBoundary === fiber && (shellBoundary = null); pop(suspenseStackCursor); } var suspenseStackCursor = createCursor(0); function findFirstSuspended(row) { for (var node2 = row; null !== node2; ) { if (13 === node2.tag) { var state = node2.memoizedState; if (null !== state && (state = state.dehydrated, null === state || "$?" === state.data || isSuspenseInstanceFallback(state))) return node2; } else if (19 === node2.tag && void 0 !== node2.memoizedProps.revealOrder) { if (0 !== (node2.flags & 128)) return node2; } else if (null !== node2.child) { node2.child.return = node2; node2 = node2.child; continue; } if (node2 === row) break; for (; null === node2.sibling; ) { if (null === node2.return || node2.return === row) return null; node2 = node2.return; } node2.sibling.return = node2.return; node2 = node2.sibling; } return null; } function applyDerivedStateFromProps(workInProgress2, ctor, getDerivedStateFromProps, nextProps) { ctor = workInProgress2.memoizedState; getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor); getDerivedStateFromProps = null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps ? ctor : assign({}, ctor, getDerivedStateFromProps); workInProgress2.memoizedState = getDerivedStateFromProps; 0 === workInProgress2.lanes && (workInProgress2.updateQueue.baseState = getDerivedStateFromProps); } var classComponentUpdater = { enqueueSetState: function(inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(), update = createUpdate(lane); update.payload = payload; void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function(inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(), update = createUpdate(lane); update.tag = 1; update.payload = payload; void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function(inst, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(), update = createUpdate(lane); update.tag = 2; void 0 !== callback && null !== callback && (update.callback = callback); callback = enqueueUpdate(inst, update, lane); null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }; function checkShouldComponentUpdate(workInProgress2, ctor, oldProps, newProps, oldState, newState, nextContext) { workInProgress2 = workInProgress2.stateNode; return "function" === typeof workInProgress2.shouldComponentUpdate ? workInProgress2.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) : true; } function callComponentWillReceiveProps(workInProgress2, instance, newProps, nextContext) { workInProgress2 = instance.state; "function" === typeof instance.componentWillReceiveProps && instance.componentWillReceiveProps(newProps, nextContext); "function" === typeof instance.UNSAFE_componentWillReceiveProps && instance.UNSAFE_componentWillReceiveProps(newProps, nextContext); instance.state !== workInProgress2 && classComponentUpdater.enqueueReplaceState(instance, instance.state, null); } function resolveClassComponentProps(Component, baseProps) { var newProps = baseProps; if ("ref" in baseProps) { newProps = {}; for (var propName in baseProps) "ref" !== propName && (newProps[propName] = baseProps[propName]); } if (Component = Component.defaultProps) { newProps === baseProps && (newProps = assign({}, newProps)); for (var propName$73 in Component) void 0 === newProps[propName$73] && (newProps[propName$73] = Component[propName$73]); } return newProps; } var reportGlobalError = "function" === typeof reportError ? reportError : function(error) { if ("object" === typeof window && "function" === typeof window.ErrorEvent) { var event = new window.ErrorEvent("error", { bubbles: true, cancelable: true, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error }); if (!window.dispatchEvent(event)) return; } else if ("object" === typeof process && "function" === typeof process.emit) { process.emit("uncaughtException", error); return; } console.error(error); }; function defaultOnUncaughtError(error) { reportGlobalError(error); } function defaultOnCaughtError(error) { console.error(error); } function defaultOnRecoverableError(error) { reportGlobalError(error); } function logUncaughtError(root2, errorInfo) { try { var onUncaughtError = root2.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); } catch (e$74) { setTimeout(function() { throw e$74; }); } } function logCaughtError(root2, boundary, errorInfo) { try { var onCaughtError = root2.onCaughtError; onCaughtError(errorInfo.value, { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); } catch (e$75) { setTimeout(function() { throw e$75; }); } } function createRootErrorUpdate(root2, errorInfo, lane) { lane = createUpdate(lane); lane.tag = 3; lane.payload = { element: null }; lane.callback = function() { logUncaughtError(root2, errorInfo); }; return lane; } function createClassErrorUpdate(lane) { lane = createUpdate(lane); lane.tag = 3; return lane; } function initializeClassErrorUpdate(update, root2, fiber, errorInfo) { var getDerivedStateFromError = fiber.type.getDerivedStateFromError; if ("function" === typeof getDerivedStateFromError) { var error = errorInfo.value; update.payload = function() { return getDerivedStateFromError(error); }; update.callback = function() { logCaughtError(root2, fiber, errorInfo); }; } var inst = fiber.stateNode; null !== inst && "function" === typeof inst.componentDidCatch && (update.callback = function() { logCaughtError(root2, fiber, errorInfo); "function" !== typeof getDerivedStateFromError && (null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = /* @__PURE__ */ new Set([this]) : legacyErrorBoundariesThatAlreadyFailed.add(this)); var stack = errorInfo.stack; this.componentDidCatch(errorInfo.value, { componentStack: null !== stack ? stack : "" }); }); } function throwException(root2, returnFiber, sourceFiber, value, rootRenderLanes) { sourceFiber.flags |= 32768; if (null !== value && "object" === typeof value && "function" === typeof value.then) { returnFiber = sourceFiber.alternate; null !== returnFiber && propagateParentContextChanges( returnFiber, sourceFiber, rootRenderLanes, true ); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { case 13: return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 3), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = /* @__PURE__ */ new Set([value]) : returnFiber.add(value), attachPingListener(root2, value, rootRenderLanes)), false; case 22: return sourceFiber.flags |= 65536, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? (returnFiber = { transitions: null, markerInstances: null, retryQueue: /* @__PURE__ */ new Set([value]) }, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = /* @__PURE__ */ new Set([value]) : sourceFiber.add(value)), attachPingListener(root2, value, rootRenderLanes)), false; } throw Error(formatProdErrorMessage(435, sourceFiber.tag)); } attachPingListener(root2, value, rootRenderLanes); renderDidSuspendDelayIfPossible(); return false; } if (isHydrating) return returnFiber = suspenseHandlerStackCursor.current, null !== returnFiber ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256), returnFiber.flags |= 65536, returnFiber.lanes = rootRenderLanes, value !== HydrationMismatchException && (root2 = Error(formatProdErrorMessage(422), { cause: value }), queueHydrationError(createCapturedValueAtFiber(root2, sourceFiber)))) : (value !== HydrationMismatchException && (returnFiber = Error(formatProdErrorMessage(423), { cause: value }), queueHydrationError( createCapturedValueAtFiber(returnFiber, sourceFiber) )), root2 = root2.current.alternate, root2.flags |= 65536, rootRenderLanes &= -rootRenderLanes, root2.lanes |= rootRenderLanes, value = createCapturedValueAtFiber(value, sourceFiber), rootRenderLanes = createRootErrorUpdate( root2.stateNode, value, rootRenderLanes ), enqueueCapturedUpdate(root2, rootRenderLanes), 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2)), false; var wrapperError = Error(formatProdErrorMessage(520), { cause: value }); wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber); null === workInProgressRootConcurrentErrors ? workInProgressRootConcurrentErrors = [wrapperError] : workInProgressRootConcurrentErrors.push(wrapperError); 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2); if (null === returnFiber) return true; value = createCapturedValueAtFiber(value, sourceFiber); sourceFiber = returnFiber; do { switch (sourceFiber.tag) { case 3: return sourceFiber.flags |= 65536, root2 = rootRenderLanes & -rootRenderLanes, sourceFiber.lanes |= root2, root2 = createRootErrorUpdate(sourceFiber.stateNode, value, root2), enqueueCapturedUpdate(sourceFiber, root2), false; case 1: if (returnFiber = sourceFiber.type, wrapperError = sourceFiber.stateNode, 0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== wrapperError && "function" === typeof wrapperError.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError)))) return sourceFiber.flags |= 65536, rootRenderLanes &= -rootRenderLanes, sourceFiber.lanes |= rootRenderLanes, rootRenderLanes = createClassErrorUpdate(rootRenderLanes), initializeClassErrorUpdate( rootRenderLanes, root2, sourceFiber, value ), enqueueCapturedUpdate(sourceFiber, rootRenderLanes), false; } sourceFiber = sourceFiber.return; } while (null !== sourceFiber); return false; } var SelectiveHydrationException = Error(formatProdErrorMessage(461)), didReceiveUpdate = false; function reconcileChildren(current, workInProgress2, nextChildren, renderLanes2) { workInProgress2.child = null === current ? mountChildFibers(workInProgress2, null, nextChildren, renderLanes2) : reconcileChildFibers( workInProgress2, current.child, nextChildren, renderLanes2 ); } function updateForwardRef(current, workInProgress2, Component, nextProps, renderLanes2) { Component = Component.render; var ref = workInProgress2.ref; if ("ref" in nextProps) { var propsWithoutRef = {}; for (var key in nextProps) "ref" !== key && (propsWithoutRef[key] = nextProps[key]); } else propsWithoutRef = nextProps; prepareToReadContext(workInProgress2); nextProps = renderWithHooks( current, workInProgress2, Component, propsWithoutRef, ref, renderLanes2 ); key = checkDidRenderIdHook(); if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress2, renderLanes2), bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2); isHydrating && key && pushMaterializedTreeId(workInProgress2); workInProgress2.flags |= 1; reconcileChildren(current, workInProgress2, nextProps, renderLanes2); return workInProgress2.child; } function updateMemoComponent(current, workInProgress2, Component, nextProps, renderLanes2) { if (null === current) { var type4 = Component.type; if ("function" === typeof type4 && !shouldConstruct(type4) && void 0 === type4.defaultProps && null === Component.compare) return workInProgress2.tag = 15, workInProgress2.type = type4, updateSimpleMemoComponent( current, workInProgress2, type4, nextProps, renderLanes2 ); current = createFiberFromTypeAndProps( Component.type, null, nextProps, workInProgress2, workInProgress2.mode, renderLanes2 ); current.ref = workInProgress2.ref; current.return = workInProgress2; return workInProgress2.child = current; } type4 = current.child; if (!checkScheduledUpdateOrContext(current, renderLanes2)) { var prevProps = type4.memoizedProps; Component = Component.compare; Component = null !== Component ? Component : shallowEqual; if (Component(prevProps, nextProps) && current.ref === workInProgress2.ref) return bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2); } workInProgress2.flags |= 1; current = createWorkInProgress(type4, nextProps); current.ref = workInProgress2.ref; current.return = workInProgress2; return workInProgress2.child = current; } function updateSimpleMemoComponent(current, workInProgress2, Component, nextProps, renderLanes2) { if (null !== current) { var prevProps = current.memoizedProps; if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress2.ref) if (didReceiveUpdate = false, workInProgress2.pendingProps = nextProps = prevProps, checkScheduledUpdateOrContext(current, renderLanes2)) 0 !== (current.flags & 131072) && (didReceiveUpdate = true); else return workInProgress2.lanes = current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2); } return updateFunctionComponent( current, workInProgress2, Component, nextProps, renderLanes2 ); } function updateOffscreenComponent(current, workInProgress2, renderLanes2) { var nextProps = workInProgress2.pendingProps, nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ("hidden" === nextProps.mode) { if (0 !== (workInProgress2.flags & 128)) { nextProps = null !== prevState ? prevState.baseLanes | renderLanes2 : renderLanes2; if (null !== current) { nextChildren = workInProgress2.child = current.child; for (prevState = 0; null !== nextChildren; ) prevState = prevState | nextChildren.lanes | nextChildren.childLanes, nextChildren = nextChildren.sibling; workInProgress2.childLanes = prevState & ~nextProps; } else workInProgress2.childLanes = 0, workInProgress2.child = null; return deferHiddenOffscreenComponent( current, workInProgress2, nextProps, renderLanes2 ); } if (0 !== (renderLanes2 & 536870912)) workInProgress2.memoizedState = { baseLanes: 0, cachePool: null }, null !== current && pushTransition( workInProgress2, null !== prevState ? prevState.cachePool : null ), null !== prevState ? pushHiddenContext(workInProgress2, prevState) : reuseHiddenContextOnStack(), pushOffscreenSuspenseHandler(workInProgress2); else return workInProgress2.lanes = workInProgress2.childLanes = 536870912, deferHiddenOffscreenComponent( current, workInProgress2, null !== prevState ? prevState.baseLanes | renderLanes2 : renderLanes2, renderLanes2 ); } else null !== prevState ? (pushTransition(workInProgress2, prevState.cachePool), pushHiddenContext(workInProgress2, prevState), reuseSuspenseHandlerOnStack(), workInProgress2.memoizedState = null) : (null !== current && pushTransition(workInProgress2, null), reuseHiddenContextOnStack(), reuseSuspenseHandlerOnStack()); reconcileChildren(current, workInProgress2, nextChildren, renderLanes2); return workInProgress2.child; } function deferHiddenOffscreenComponent(current, workInProgress2, nextBaseLanes, renderLanes2) { var JSCompiler_inline_result = peekCacheFromPool(); JSCompiler_inline_result = null === JSCompiler_inline_result ? null : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result }; workInProgress2.memoizedState = { baseLanes: nextBaseLanes, cachePool: JSCompiler_inline_result }; null !== current && pushTransition(workInProgress2, null); reuseHiddenContextOnStack(); pushOffscreenSuspenseHandler(workInProgress2); null !== current && propagateParentContextChanges(current, workInProgress2, renderLanes2, true); return null; } function markRef(current, workInProgress2) { var ref = workInProgress2.ref; if (null === ref) null !== current && null !== current.ref && (workInProgress2.flags |= 4194816); else { if ("function" !== typeof ref && "object" !== typeof ref) throw Error(formatProdErrorMessage(284)); if (null === current || current.ref !== ref) workInProgress2.flags |= 4194816; } } function updateFunctionComponent(current, workInProgress2, Component, nextProps, renderLanes2) { prepareToReadContext(workInProgress2); Component = renderWithHooks( current, workInProgress2, Component, nextProps, void 0, renderLanes2 ); nextProps = checkDidRenderIdHook(); if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress2, renderLanes2), bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2); isHydrating && nextProps && pushMaterializedTreeId(workInProgress2); workInProgress2.flags |= 1; reconcileChildren(current, workInProgress2, Component, renderLanes2); return workInProgress2.child; } function replayFunctionComponent(current, workInProgress2, nextProps, Component, secondArg, renderLanes2) { prepareToReadContext(workInProgress2); workInProgress2.updateQueue = null; nextProps = renderWithHooksAgain( workInProgress2, Component, nextProps, secondArg ); finishRenderingHooks(current); Component = checkDidRenderIdHook(); if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress2, renderLanes2), bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2); isHydrating && Component && pushMaterializedTreeId(workInProgress2); workInProgress2.flags |= 1; reconcileChildren(current, workInProgress2, nextProps, renderLanes2); return workInProgress2.child; } function updateClassComponent(current, workInProgress2, Component, nextProps, renderLanes2) { prepareToReadContext(workInProgress2); if (null === workInProgress2.stateNode) { var context = emptyContextObject, contextType = Component.contextType; "object" === typeof contextType && null !== contextType && (context = readContext(contextType)); context = new Component(nextProps, context); workInProgress2.memoizedState = null !== context.state && void 0 !== context.state ? context.state : null; context.updater = classComponentUpdater; workInProgress2.stateNode = context; context._reactInternals = workInProgress2; context = workInProgress2.stateNode; context.props = nextProps; context.state = workInProgress2.memoizedState; context.refs = {}; initializeUpdateQueue(workInProgress2); contextType = Component.contextType; context.context = "object" === typeof contextType && null !== contextType ? readContext(contextType) : emptyContextObject; context.state = workInProgress2.memoizedState; contextType = Component.getDerivedStateFromProps; "function" === typeof contextType && (applyDerivedStateFromProps( workInProgress2, Component, contextType, nextProps ), context.state = workInProgress2.memoizedState); "function" === typeof Component.getDerivedStateFromProps || "function" === typeof context.getSnapshotBeforeUpdate || "function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount || (contextType = context.state, "function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount(), contextType !== context.state && classComponentUpdater.enqueueReplaceState(context, context.state, null), processUpdateQueue(workInProgress2, nextProps, context, renderLanes2), suspendIfUpdateReadFromEntangledAsyncAction(), context.state = workInProgress2.memoizedState); "function" === typeof context.componentDidMount && (workInProgress2.flags |= 4194308); nextProps = true; } else if (null === current) { context = workInProgress2.stateNode; var unresolvedOldProps = workInProgress2.memoizedProps, oldProps = resolveClassComponentProps(Component, unresolvedOldProps); context.props = oldProps; var oldContext = context.context, contextType$jscomp$0 = Component.contextType; contextType = emptyContextObject; "object" === typeof contextType$jscomp$0 && null !== contextType$jscomp$0 && (contextType = readContext(contextType$jscomp$0)); var getDerivedStateFromProps = Component.getDerivedStateFromProps; contextType$jscomp$0 = "function" === typeof getDerivedStateFromProps || "function" === typeof context.getSnapshotBeforeUpdate; unresolvedOldProps = workInProgress2.pendingProps !== unresolvedOldProps; contextType$jscomp$0 || "function" !== typeof context.UNSAFE_componentWillReceiveProps && "function" !== typeof context.componentWillReceiveProps || (unresolvedOldProps || oldContext !== contextType) && callComponentWillReceiveProps( workInProgress2, context, nextProps, contextType ); hasForceUpdate = false; var oldState = workInProgress2.memoizedState; context.state = oldState; processUpdateQueue(workInProgress2, nextProps, context, renderLanes2); suspendIfUpdateReadFromEntangledAsyncAction(); oldContext = workInProgress2.memoizedState; unresolvedOldProps || oldState !== oldContext || hasForceUpdate ? ("function" === typeof getDerivedStateFromProps && (applyDerivedStateFromProps( workInProgress2, Component, getDerivedStateFromProps, nextProps ), oldContext = workInProgress2.memoizedState), (oldProps = hasForceUpdate || checkShouldComponentUpdate( workInProgress2, Component, oldProps, nextProps, oldState, oldContext, contextType )) ? (contextType$jscomp$0 || "function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount || ("function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount()), "function" === typeof context.componentDidMount && (workInProgress2.flags |= 4194308)) : ("function" === typeof context.componentDidMount && (workInProgress2.flags |= 4194308), workInProgress2.memoizedProps = nextProps, workInProgress2.memoizedState = oldContext), context.props = nextProps, context.state = oldContext, context.context = contextType, nextProps = oldProps) : ("function" === typeof context.componentDidMount && (workInProgress2.flags |= 4194308), nextProps = false); } else { context = workInProgress2.stateNode; cloneUpdateQueue(current, workInProgress2); contextType = workInProgress2.memoizedProps; contextType$jscomp$0 = resolveClassComponentProps(Component, contextType); context.props = contextType$jscomp$0; getDerivedStateFromProps = workInProgress2.pendingProps; oldState = context.context; oldContext = Component.contextType; oldProps = emptyContextObject; "object" === typeof oldContext && null !== oldContext && (oldProps = readContext(oldContext)); unresolvedOldProps = Component.getDerivedStateFromProps; (oldContext = "function" === typeof unresolvedOldProps || "function" === typeof context.getSnapshotBeforeUpdate) || "function" !== typeof context.UNSAFE_componentWillReceiveProps && "function" !== typeof context.componentWillReceiveProps || (contextType !== getDerivedStateFromProps || oldState !== oldProps) && callComponentWillReceiveProps( workInProgress2, context, nextProps, oldProps ); hasForceUpdate = false; oldState = workInProgress2.memoizedState; context.state = oldState; processUpdateQueue(workInProgress2, nextProps, context, renderLanes2); suspendIfUpdateReadFromEntangledAsyncAction(); var newState = workInProgress2.memoizedState; contextType !== getDerivedStateFromProps || oldState !== newState || hasForceUpdate || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies) ? ("function" === typeof unresolvedOldProps && (applyDerivedStateFromProps( workInProgress2, Component, unresolvedOldProps, nextProps ), newState = workInProgress2.memoizedState), (contextType$jscomp$0 = hasForceUpdate || checkShouldComponentUpdate( workInProgress2, Component, contextType$jscomp$0, nextProps, oldState, newState, oldProps ) || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies)) ? (oldContext || "function" !== typeof context.UNSAFE_componentWillUpdate && "function" !== typeof context.componentWillUpdate || ("function" === typeof context.componentWillUpdate && context.componentWillUpdate(nextProps, newState, oldProps), "function" === typeof context.UNSAFE_componentWillUpdate && context.UNSAFE_componentWillUpdate( nextProps, newState, oldProps )), "function" === typeof context.componentDidUpdate && (workInProgress2.flags |= 4), "function" === typeof context.getSnapshotBeforeUpdate && (workInProgress2.flags |= 1024)) : ("function" !== typeof context.componentDidUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress2.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress2.flags |= 1024), workInProgress2.memoizedProps = nextProps, workInProgress2.memoizedState = newState), context.props = nextProps, context.state = newState, context.context = oldProps, nextProps = contextType$jscomp$0) : ("function" !== typeof context.componentDidUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress2.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress2.flags |= 1024), nextProps = false); } context = nextProps; markRef(current, workInProgress2); nextProps = 0 !== (workInProgress2.flags & 128); context || nextProps ? (context = workInProgress2.stateNode, Component = nextProps && "function" !== typeof Component.getDerivedStateFromError ? null : context.render(), workInProgress2.flags |= 1, null !== current && nextProps ? (workInProgress2.child = reconcileChildFibers( workInProgress2, current.child, null, renderLanes2 ), workInProgress2.child = reconcileChildFibers( workInProgress2, null, Component, renderLanes2 )) : reconcileChildren(current, workInProgress2, Component, renderLanes2), workInProgress2.memoizedState = context.state, current = workInProgress2.child) : current = bailoutOnAlreadyFinishedWork( current, workInProgress2, renderLanes2 ); return current; } function mountHostRootWithoutHydrating(current, workInProgress2, nextChildren, renderLanes2) { resetHydrationState(); workInProgress2.flags |= 256; reconcileChildren(current, workInProgress2, nextChildren, renderLanes2); return workInProgress2.child; } var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, hydrationErrors: null }; function mountSuspenseOffscreenState(renderLanes2) { return { baseLanes: renderLanes2, cachePool: getSuspendedCache() }; } function getRemainingWorkInPrimaryTree(current, primaryTreeDidDefer, renderLanes2) { current = null !== current ? current.childLanes & ~renderLanes2 : 0; primaryTreeDidDefer && (current |= workInProgressDeferredLane); return current; } function updateSuspenseComponent(current, workInProgress2, renderLanes2) { var nextProps = workInProgress2.pendingProps, showFallback = false, didSuspend = 0 !== (workInProgress2.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? false : 0 !== (suspenseStackCursor.current & 2)); JSCompiler_temp && (showFallback = true, workInProgress2.flags &= -129); JSCompiler_temp = 0 !== (workInProgress2.flags & 32); workInProgress2.flags &= -33; if (null === current) { if (isHydrating) { showFallback ? pushPrimaryTreeSuspenseHandler(workInProgress2) : reuseSuspenseHandlerOnStack(); if (isHydrating) { var nextInstance = nextHydratableInstance, JSCompiler_temp$jscomp$0; if (JSCompiler_temp$jscomp$0 = nextInstance) { c: { JSCompiler_temp$jscomp$0 = nextInstance; for (nextInstance = rootOrSingletonContext; 8 !== JSCompiler_temp$jscomp$0.nodeType; ) { if (!nextInstance) { nextInstance = null; break c; } JSCompiler_temp$jscomp$0 = getNextHydratable( JSCompiler_temp$jscomp$0.nextSibling ); if (null === JSCompiler_temp$jscomp$0) { nextInstance = null; break c; } } nextInstance = JSCompiler_temp$jscomp$0; } null !== nextInstance ? (workInProgress2.memoizedState = { dehydrated: nextInstance, treeContext: null !== treeContextProvider ? { id: treeContextId, overflow: treeContextOverflow } : null, retryLane: 536870912, hydrationErrors: null }, JSCompiler_temp$jscomp$0 = createFiberImplClass( 18, null, null, 0 ), JSCompiler_temp$jscomp$0.stateNode = nextInstance, JSCompiler_temp$jscomp$0.return = workInProgress2, workInProgress2.child = JSCompiler_temp$jscomp$0, hydrationParentFiber = workInProgress2, nextHydratableInstance = null, JSCompiler_temp$jscomp$0 = true) : JSCompiler_temp$jscomp$0 = false; } JSCompiler_temp$jscomp$0 || throwOnHydrationMismatch(workInProgress2); } nextInstance = workInProgress2.memoizedState; if (null !== nextInstance && (nextInstance = nextInstance.dehydrated, null !== nextInstance)) return isSuspenseInstanceFallback(nextInstance) ? workInProgress2.lanes = 32 : workInProgress2.lanes = 536870912, null; popSuspenseHandler(workInProgress2); } nextInstance = nextProps.children; nextProps = nextProps.fallback; if (showFallback) return reuseSuspenseHandlerOnStack(), showFallback = workInProgress2.mode, nextInstance = mountWorkInProgressOffscreenFiber( { mode: "hidden", children: nextInstance }, showFallback ), nextProps = createFiberFromFragment( nextProps, showFallback, renderLanes2, null ), nextInstance.return = workInProgress2, nextProps.return = workInProgress2, nextInstance.sibling = nextProps, workInProgress2.child = nextInstance, showFallback = workInProgress2.child, showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes2), showFallback.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes2 ), workInProgress2.memoizedState = SUSPENDED_MARKER, nextProps; pushPrimaryTreeSuspenseHandler(workInProgress2); return mountSuspensePrimaryChildren(workInProgress2, nextInstance); } JSCompiler_temp$jscomp$0 = current.memoizedState; if (null !== JSCompiler_temp$jscomp$0 && (nextInstance = JSCompiler_temp$jscomp$0.dehydrated, null !== nextInstance)) { if (didSuspend) workInProgress2.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress2), workInProgress2.flags &= -257, workInProgress2 = retrySuspenseComponentWithoutHydrating( current, workInProgress2, renderLanes2 )) : null !== workInProgress2.memoizedState ? (reuseSuspenseHandlerOnStack(), workInProgress2.child = current.child, workInProgress2.flags |= 128, workInProgress2 = null) : (reuseSuspenseHandlerOnStack(), showFallback = nextProps.fallback, nextInstance = workInProgress2.mode, nextProps = mountWorkInProgressOffscreenFiber( { mode: "visible", children: nextProps.children }, nextInstance ), showFallback = createFiberFromFragment( showFallback, nextInstance, renderLanes2, null ), showFallback.flags |= 2, nextProps.return = workInProgress2, showFallback.return = workInProgress2, nextProps.sibling = showFallback, workInProgress2.child = nextProps, reconcileChildFibers( workInProgress2, current.child, null, renderLanes2 ), nextProps = workInProgress2.child, nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes2), nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes2 ), workInProgress2.memoizedState = SUSPENDED_MARKER, workInProgress2 = showFallback); else if (pushPrimaryTreeSuspenseHandler(workInProgress2), isSuspenseInstanceFallback(nextInstance)) { JSCompiler_temp = nextInstance.nextSibling && nextInstance.nextSibling.dataset; if (JSCompiler_temp) var digest = JSCompiler_temp.dgst; JSCompiler_temp = digest; nextProps = Error(formatProdErrorMessage(419)); nextProps.stack = ""; nextProps.digest = JSCompiler_temp; queueHydrationError({ value: nextProps, source: null, stack: null }); workInProgress2 = retrySuspenseComponentWithoutHydrating( current, workInProgress2, renderLanes2 ); } else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress2, renderLanes2, false), JSCompiler_temp = 0 !== (renderLanes2 & current.childLanes), didReceiveUpdate || JSCompiler_temp) { JSCompiler_temp = workInProgressRoot; if (null !== JSCompiler_temp && (nextProps = renderLanes2 & -renderLanes2, nextProps = 0 !== (nextProps & 42) ? 1 : getBumpedLaneForHydrationByLane(nextProps), nextProps = 0 !== (nextProps & (JSCompiler_temp.suspendedLanes | renderLanes2)) ? 0 : nextProps, 0 !== nextProps && nextProps !== JSCompiler_temp$jscomp$0.retryLane)) throw JSCompiler_temp$jscomp$0.retryLane = nextProps, enqueueConcurrentRenderForLane(current, nextProps), scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps), SelectiveHydrationException; "$?" === nextInstance.data || renderDidSuspendDelayIfPossible(); workInProgress2 = retrySuspenseComponentWithoutHydrating( current, workInProgress2, renderLanes2 ); } else "$?" === nextInstance.data ? (workInProgress2.flags |= 192, workInProgress2.child = current.child, workInProgress2 = null) : (current = JSCompiler_temp$jscomp$0.treeContext, nextHydratableInstance = getNextHydratable( nextInstance.nextSibling ), hydrationParentFiber = workInProgress2, isHydrating = true, hydrationErrors = null, rootOrSingletonContext = false, null !== current && (idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextId = current.id, treeContextOverflow = current.overflow, treeContextProvider = workInProgress2), workInProgress2 = mountSuspensePrimaryChildren( workInProgress2, nextProps.children ), workInProgress2.flags |= 4096); return workInProgress2; } if (showFallback) return reuseSuspenseHandlerOnStack(), showFallback = nextProps.fallback, nextInstance = workInProgress2.mode, JSCompiler_temp$jscomp$0 = current.child, digest = JSCompiler_temp$jscomp$0.sibling, nextProps = createWorkInProgress(JSCompiler_temp$jscomp$0, { mode: "hidden", children: nextProps.children }), nextProps.subtreeFlags = JSCompiler_temp$jscomp$0.subtreeFlags & 65011712, null !== digest ? showFallback = createWorkInProgress(digest, showFallback) : (showFallback = createFiberFromFragment( showFallback, nextInstance, renderLanes2, null ), showFallback.flags |= 2), showFallback.return = workInProgress2, nextProps.return = workInProgress2, nextProps.sibling = showFallback, workInProgress2.child = nextProps, nextProps = showFallback, showFallback = workInProgress2.child, nextInstance = current.child.memoizedState, null === nextInstance ? nextInstance = mountSuspenseOffscreenState(renderLanes2) : (JSCompiler_temp$jscomp$0 = nextInstance.cachePool, null !== JSCompiler_temp$jscomp$0 ? (digest = CacheContext._currentValue, JSCompiler_temp$jscomp$0 = JSCompiler_temp$jscomp$0.parent !== digest ? { parent: digest, pool: digest } : JSCompiler_temp$jscomp$0) : JSCompiler_temp$jscomp$0 = getSuspendedCache(), nextInstance = { baseLanes: nextInstance.baseLanes | renderLanes2, cachePool: JSCompiler_temp$jscomp$0 }), showFallback.memoizedState = nextInstance, showFallback.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes2 ), workInProgress2.memoizedState = SUSPENDED_MARKER, nextProps; pushPrimaryTreeSuspenseHandler(workInProgress2); renderLanes2 = current.child; current = renderLanes2.sibling; renderLanes2 = createWorkInProgress(renderLanes2, { mode: "visible", children: nextProps.children }); renderLanes2.return = workInProgress2; renderLanes2.sibling = null; null !== current && (JSCompiler_temp = workInProgress2.deletions, null === JSCompiler_temp ? (workInProgress2.deletions = [current], workInProgress2.flags |= 16) : JSCompiler_temp.push(current)); workInProgress2.child = renderLanes2; workInProgress2.memoizedState = null; return renderLanes2; } function mountSuspensePrimaryChildren(workInProgress2, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber( { mode: "visible", children: primaryChildren }, workInProgress2.mode ); primaryChildren.return = workInProgress2; return workInProgress2.child = primaryChildren; } function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; offscreenProps.stateNode = { _visibility: 1, _pendingMarkers: null, _retryCache: null, _transitions: null }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating(current, workInProgress2, renderLanes2) { reconcileChildFibers(workInProgress2, current.child, null, renderLanes2); current = mountSuspensePrimaryChildren( workInProgress2, workInProgress2.pendingProps.children ); current.flags |= 2; workInProgress2.memoizedState = null; return current; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes2, propagationRoot) { fiber.lanes |= renderLanes2; var alternate = fiber.alternate; null !== alternate && (alternate.lanes |= renderLanes2); scheduleContextWorkOnParentPath(fiber.return, renderLanes2, propagationRoot); } function initSuspenseListRenderState(workInProgress2, isBackwards, tail, lastContentRow, tailMode) { var renderState = workInProgress2.memoizedState; null === renderState ? workInProgress2.memoizedState = { isBackwards, rendering: null, renderingStartTime: 0, last: lastContentRow, tail, tailMode } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode); } function updateSuspenseListComponent(current, workInProgress2, renderLanes2) { var nextProps = workInProgress2.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail; reconcileChildren(current, workInProgress2, nextProps.children, renderLanes2); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) nextProps = nextProps & 1 | 2, workInProgress2.flags |= 128; else { if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress2.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && scheduleSuspenseWorkOnFiber(current, renderLanes2, workInProgress2); else if (19 === current.tag) scheduleSuspenseWorkOnFiber(current, renderLanes2, workInProgress2); else if (null !== current.child) { current.child.return = current; current = current.child; continue; } if (current === workInProgress2) break a; for (; null === current.sibling; ) { if (null === current.return || current.return === workInProgress2) break a; current = current.return; } current.sibling.return = current.return; current = current.sibling; } nextProps &= 1; } push(suspenseStackCursor, nextProps); switch (revealOrder) { case "forwards": renderLanes2 = workInProgress2.child; for (revealOrder = null; null !== renderLanes2; ) current = renderLanes2.alternate, null !== current && null === findFirstSuspended(current) && (revealOrder = renderLanes2), renderLanes2 = renderLanes2.sibling; renderLanes2 = revealOrder; null === renderLanes2 ? (revealOrder = workInProgress2.child, workInProgress2.child = null) : (revealOrder = renderLanes2.sibling, renderLanes2.sibling = null); initSuspenseListRenderState( workInProgress2, false, revealOrder, renderLanes2, tailMode ); break; case "backwards": renderLanes2 = null; revealOrder = workInProgress2.child; for (workInProgress2.child = null; null !== revealOrder; ) { current = revealOrder.alternate; if (null !== current && null === findFirstSuspended(current)) { workInProgress2.child = revealOrder; break; } current = revealOrder.sibling; revealOrder.sibling = renderLanes2; renderLanes2 = revealOrder; revealOrder = current; } initSuspenseListRenderState( workInProgress2, true, renderLanes2, null, tailMode ); break; case "together": initSuspenseListRenderState(workInProgress2, false, null, null, void 0); break; default: workInProgress2.memoizedState = null; } return workInProgress2.child; } function bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2) { null !== current && (workInProgress2.dependencies = current.dependencies); workInProgressRootSkippedLanes |= workInProgress2.lanes; if (0 === (renderLanes2 & workInProgress2.childLanes)) if (null !== current) { if (propagateParentContextChanges( current, workInProgress2, renderLanes2, false ), 0 === (renderLanes2 & workInProgress2.childLanes)) return null; } else return null; if (null !== current && workInProgress2.child !== current.child) throw Error(formatProdErrorMessage(153)); if (null !== workInProgress2.child) { current = workInProgress2.child; renderLanes2 = createWorkInProgress(current, current.pendingProps); workInProgress2.child = renderLanes2; for (renderLanes2.return = workInProgress2; null !== current.sibling; ) current = current.sibling, renderLanes2 = renderLanes2.sibling = createWorkInProgress(current, current.pendingProps), renderLanes2.return = workInProgress2; renderLanes2.sibling = null; } return workInProgress2.child; } function checkScheduledUpdateOrContext(current, renderLanes2) { if (0 !== (current.lanes & renderLanes2)) return true; current = current.dependencies; return null !== current && checkIfContextChanged(current) ? true : false; } function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress2, renderLanes2) { switch (workInProgress2.tag) { case 3: pushHostContainer(workInProgress2, workInProgress2.stateNode.containerInfo); pushProvider(workInProgress2, CacheContext, current.memoizedState.cache); resetHydrationState(); break; case 27: case 5: pushHostContext(workInProgress2); break; case 4: pushHostContainer(workInProgress2, workInProgress2.stateNode.containerInfo); break; case 10: pushProvider( workInProgress2, workInProgress2.type, workInProgress2.memoizedProps.value ); break; case 13: var state = workInProgress2.memoizedState; if (null !== state) { if (null !== state.dehydrated) return pushPrimaryTreeSuspenseHandler(workInProgress2), workInProgress2.flags |= 128, null; if (0 !== (renderLanes2 & workInProgress2.child.childLanes)) return updateSuspenseComponent(current, workInProgress2, renderLanes2); pushPrimaryTreeSuspenseHandler(workInProgress2); current = bailoutOnAlreadyFinishedWork( current, workInProgress2, renderLanes2 ); return null !== current ? current.sibling : null; } pushPrimaryTreeSuspenseHandler(workInProgress2); break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); state = 0 !== (renderLanes2 & workInProgress2.childLanes); state || (propagateParentContextChanges( current, workInProgress2, renderLanes2, false ), state = 0 !== (renderLanes2 & workInProgress2.childLanes)); if (didSuspendBefore) { if (state) return updateSuspenseListComponent( current, workInProgress2, renderLanes2 ); workInProgress2.flags |= 128; } didSuspendBefore = workInProgress2.memoizedState; null !== didSuspendBefore && (didSuspendBefore.rendering = null, didSuspendBefore.tail = null, didSuspendBefore.lastEffect = null); push(suspenseStackCursor, suspenseStackCursor.current); if (state) break; else return null; case 22: case 23: return workInProgress2.lanes = 0, updateOffscreenComponent(current, workInProgress2, renderLanes2); case 24: pushProvider(workInProgress2, CacheContext, current.memoizedState.cache); } return bailoutOnAlreadyFinishedWork(current, workInProgress2, renderLanes2); } function beginWork(current, workInProgress2, renderLanes2) { if (null !== current) if (current.memoizedProps !== workInProgress2.pendingProps) didReceiveUpdate = true; else { if (!checkScheduledUpdateOrContext(current, renderLanes2) && 0 === (workInProgress2.flags & 128)) return didReceiveUpdate = false, attemptEarlyBailoutIfNoScheduledUpdate( current, workInProgress2, renderLanes2 ); didReceiveUpdate = 0 !== (current.flags & 131072) ? true : false; } else didReceiveUpdate = false, isHydrating && 0 !== (workInProgress2.flags & 1048576) && pushTreeId(workInProgress2, treeForkCount, workInProgress2.index); workInProgress2.lanes = 0; switch (workInProgress2.tag) { case 16: a: { current = workInProgress2.pendingProps; var lazyComponent = workInProgress2.elementType, init = lazyComponent._init; lazyComponent = init(lazyComponent._payload); workInProgress2.type = lazyComponent; if ("function" === typeof lazyComponent) shouldConstruct(lazyComponent) ? (current = resolveClassComponentProps(lazyComponent, current), workInProgress2.tag = 1, workInProgress2 = updateClassComponent( null, workInProgress2, lazyComponent, current, renderLanes2 )) : (workInProgress2.tag = 0, workInProgress2 = updateFunctionComponent( null, workInProgress2, lazyComponent, current, renderLanes2 )); else { if (void 0 !== lazyComponent && null !== lazyComponent) { if (init = lazyComponent.$$typeof, init === REACT_FORWARD_REF_TYPE) { workInProgress2.tag = 11; workInProgress2 = updateForwardRef( null, workInProgress2, lazyComponent, current, renderLanes2 ); break a; } else if (init === REACT_MEMO_TYPE) { workInProgress2.tag = 14; workInProgress2 = updateMemoComponent( null, workInProgress2, lazyComponent, current, renderLanes2 ); break a; } } workInProgress2 = getComponentNameFromType(lazyComponent) || lazyComponent; throw Error(formatProdErrorMessage(306, workInProgress2, "")); } } return workInProgress2; case 0: return updateFunctionComponent( current, workInProgress2, workInProgress2.type, workInProgress2.pendingProps, renderLanes2 ); case 1: return lazyComponent = workInProgress2.type, init = resolveClassComponentProps( lazyComponent, workInProgress2.pendingProps ), updateClassComponent( current, workInProgress2, lazyComponent, init, renderLanes2 ); case 3: a: { pushHostContainer( workInProgress2, workInProgress2.stateNode.containerInfo ); if (null === current) throw Error(formatProdErrorMessage(387)); lazyComponent = workInProgress2.pendingProps; var prevState = workInProgress2.memoizedState; init = prevState.element; cloneUpdateQueue(current, workInProgress2); processUpdateQueue(workInProgress2, lazyComponent, null, renderLanes2); var nextState = workInProgress2.memoizedState; lazyComponent = nextState.cache; pushProvider(workInProgress2, CacheContext, lazyComponent); lazyComponent !== prevState.cache && propagateContextChanges( workInProgress2, [CacheContext], renderLanes2, true ); suspendIfUpdateReadFromEntangledAsyncAction(); lazyComponent = nextState.element; if (prevState.isDehydrated) if (prevState = { element: lazyComponent, isDehydrated: false, cache: nextState.cache }, workInProgress2.updateQueue.baseState = prevState, workInProgress2.memoizedState = prevState, workInProgress2.flags & 256) { workInProgress2 = mountHostRootWithoutHydrating( current, workInProgress2, lazyComponent, renderLanes2 ); break a; } else if (lazyComponent !== init) { init = createCapturedValueAtFiber( Error(formatProdErrorMessage(424)), workInProgress2 ); queueHydrationError(init); workInProgress2 = mountHostRootWithoutHydrating( current, workInProgress2, lazyComponent, renderLanes2 ); break a; } else { current = workInProgress2.stateNode.containerInfo; switch (current.nodeType) { case 9: current = current.body; break; default: current = "HTML" === current.nodeName ? current.ownerDocument.body : current; } nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress2; isHydrating = true; hydrationErrors = null; rootOrSingletonContext = true; renderLanes2 = mountChildFibers( workInProgress2, null, lazyComponent, renderLanes2 ); for (workInProgress2.child = renderLanes2; renderLanes2; ) renderLanes2.flags = renderLanes2.flags & -3 | 4096, renderLanes2 = renderLanes2.sibling; } else { resetHydrationState(); if (lazyComponent === init) { workInProgress2 = bailoutOnAlreadyFinishedWork( current, workInProgress2, renderLanes2 ); break a; } reconcileChildren( current, workInProgress2, lazyComponent, renderLanes2 ); } workInProgress2 = workInProgress2.child; } return workInProgress2; case 26: return markRef(current, workInProgress2), null === current ? (renderLanes2 = getResource( workInProgress2.type, null, workInProgress2.pendingProps, null )) ? workInProgress2.memoizedState = renderLanes2 : isHydrating || (renderLanes2 = workInProgress2.type, current = workInProgress2.pendingProps, lazyComponent = getOwnerDocumentFromRootContainer( rootInstanceStackCursor.current ).createElement(renderLanes2), lazyComponent[internalInstanceKey] = workInProgress2, lazyComponent[internalPropsKey] = current, setInitialProperties(lazyComponent, renderLanes2, current), markNodeAsHoistable(lazyComponent), workInProgress2.stateNode = lazyComponent) : workInProgress2.memoizedState = getResource( workInProgress2.type, current.memoizedProps, workInProgress2.pendingProps, current.memoizedState ), null; case 27: return pushHostContext(workInProgress2), null === current && isHydrating && (lazyComponent = workInProgress2.stateNode = resolveSingletonInstance( workInProgress2.type, workInProgress2.pendingProps, rootInstanceStackCursor.current ), hydrationParentFiber = workInProgress2, rootOrSingletonContext = true, init = nextHydratableInstance, isSingletonScope(workInProgress2.type) ? (previousHydratableOnEnteringScopedSingleton = init, nextHydratableInstance = getNextHydratable( lazyComponent.firstChild )) : nextHydratableInstance = init), reconcileChildren( current, workInProgress2, workInProgress2.pendingProps.children, renderLanes2 ), markRef(current, workInProgress2), null === current && (workInProgress2.flags |= 4194304), workInProgress2.child; case 5: if (null === current && isHydrating) { if (init = lazyComponent = nextHydratableInstance) lazyComponent = canHydrateInstance( lazyComponent, workInProgress2.type, workInProgress2.pendingProps, rootOrSingletonContext ), null !== lazyComponent ? (workInProgress2.stateNode = lazyComponent, hydrationParentFiber = workInProgress2, nextHydratableInstance = getNextHydratable( lazyComponent.firstChild ), rootOrSingletonContext = false, init = true) : init = false; init || throwOnHydrationMismatch(workInProgress2); } pushHostContext(workInProgress2); init = workInProgress2.type; prevState = workInProgress2.pendingProps; nextState = null !== current ? current.memoizedProps : null; lazyComponent = prevState.children; shouldSetTextContent(init, prevState) ? lazyComponent = null : null !== nextState && shouldSetTextContent(init, nextState) && (workInProgress2.flags |= 32); null !== workInProgress2.memoizedState && (init = renderWithHooks( current, workInProgress2, TransitionAwareHostComponent, null, null, renderLanes2 ), HostTransitionContext._currentValue = init); markRef(current, workInProgress2); reconcileChildren(current, workInProgress2, lazyComponent, renderLanes2); return workInProgress2.child; case 6: if (null === current && isHydrating) { if (current = renderLanes2 = nextHydratableInstance) renderLanes2 = canHydrateTextInstance( renderLanes2, workInProgress2.pendingProps, rootOrSingletonContext ), null !== renderLanes2 ? (workInProgress2.stateNode = renderLanes2, hydrationParentFiber = workInProgress2, nextHydratableInstance = null, current = true) : current = false; current || throwOnHydrationMismatch(workInProgress2); } return null; case 13: return updateSuspenseComponent(current, workInProgress2, renderLanes2); case 4: return pushHostContainer( workInProgress2, workInProgress2.stateNode.containerInfo ), lazyComponent = workInProgress2.pendingProps, null === current ? workInProgress2.child = reconcileChildFibers( workInProgress2, null, lazyComponent, renderLanes2 ) : reconcileChildren( current, workInProgress2, lazyComponent, renderLanes2 ), workInProgress2.child; case 11: return updateForwardRef( current, workInProgress2, workInProgress2.type, workInProgress2.pendingProps, renderLanes2 ); case 7: return reconcileChildren( current, workInProgress2, workInProgress2.pendingProps, renderLanes2 ), workInProgress2.child; case 8: return reconcileChildren( current, workInProgress2, workInProgress2.pendingProps.children, renderLanes2 ), workInProgress2.child; case 12: return reconcileChildren( current, workInProgress2, workInProgress2.pendingProps.children, renderLanes2 ), workInProgress2.child; case 10: return lazyComponent = workInProgress2.pendingProps, pushProvider(workInProgress2, workInProgress2.type, lazyComponent.value), reconcileChildren( current, workInProgress2, lazyComponent.children, renderLanes2 ), workInProgress2.child; case 9: return init = workInProgress2.type._context, lazyComponent = workInProgress2.pendingProps.children, prepareToReadContext(workInProgress2), init = readContext(init), lazyComponent = lazyComponent(init), workInProgress2.flags |= 1, reconcileChildren(current, workInProgress2, lazyComponent, renderLanes2), workInProgress2.child; case 14: return updateMemoComponent( current, workInProgress2, workInProgress2.type, workInProgress2.pendingProps, renderLanes2 ); case 15: return updateSimpleMemoComponent( current, workInProgress2, workInProgress2.type, workInProgress2.pendingProps, renderLanes2 ); case 19: return updateSuspenseListComponent(current, workInProgress2, renderLanes2); case 31: return lazyComponent = workInProgress2.pendingProps, renderLanes2 = workInProgress2.mode, lazyComponent = { mode: lazyComponent.mode, children: lazyComponent.children }, null === current ? (renderLanes2 = mountWorkInProgressOffscreenFiber( lazyComponent, renderLanes2 ), renderLanes2.ref = workInProgress2.ref, workInProgress2.child = renderLanes2, renderLanes2.return = workInProgress2, workInProgress2 = renderLanes2) : (renderLanes2 = createWorkInProgress(current.child, lazyComponent), renderLanes2.ref = workInProgress2.ref, workInProgress2.child = renderLanes2, renderLanes2.return = workInProgress2, workInProgress2 = renderLanes2), workInProgress2; case 22: return updateOffscreenComponent(current, workInProgress2, renderLanes2); case 24: return prepareToReadContext(workInProgress2), lazyComponent = readContext(CacheContext), null === current ? (init = peekCacheFromPool(), null === init && (init = workInProgressRoot, prevState = createCache2(), init.pooledCache = prevState, prevState.refCount++, null !== prevState && (init.pooledCacheLanes |= renderLanes2), init = prevState), workInProgress2.memoizedState = { parent: lazyComponent, cache: init }, initializeUpdateQueue(workInProgress2), pushProvider(workInProgress2, CacheContext, init)) : (0 !== (current.lanes & renderLanes2) && (cloneUpdateQueue(current, workInProgress2), processUpdateQueue(workInProgress2, null, null, renderLanes2), suspendIfUpdateReadFromEntangledAsyncAction()), init = current.memoizedState, prevState = workInProgress2.memoizedState, init.parent !== lazyComponent ? (init = { parent: lazyComponent, cache: lazyComponent }, workInProgress2.memoizedState = init, 0 === workInProgress2.lanes && (workInProgress2.memoizedState = workInProgress2.updateQueue.baseState = init), pushProvider(workInProgress2, CacheContext, lazyComponent)) : (lazyComponent = prevState.cache, pushProvider(workInProgress2, CacheContext, lazyComponent), lazyComponent !== init.cache && propagateContextChanges( workInProgress2, [CacheContext], renderLanes2, true ))), reconcileChildren( current, workInProgress2, workInProgress2.pendingProps.children, renderLanes2 ), workInProgress2.child; case 29: throw workInProgress2.pendingProps; } throw Error(formatProdErrorMessage(156, workInProgress2.tag)); } function markUpdate(workInProgress2) { workInProgress2.flags |= 4; } function preloadResourceAndSuspendIfNeeded(workInProgress2, resource) { if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4)) workInProgress2.flags &= -16777217; else if (workInProgress2.flags |= 16777216, !preloadResource(resource)) { resource = suspenseHandlerStackCursor.current; if (null !== resource && ((workInProgressRootRenderLanes & 4194048) === workInProgressRootRenderLanes ? null !== shellBoundary : (workInProgressRootRenderLanes & 62914560) !== workInProgressRootRenderLanes && 0 === (workInProgressRootRenderLanes & 536870912) || resource !== shellBoundary)) throw suspendedThenable = noopSuspenseyCommitThenable, SuspenseyCommitException; workInProgress2.flags |= 8192; } } function scheduleRetryEffect(workInProgress2, retryQueue) { null !== retryQueue && (workInProgress2.flags |= 4); workInProgress2.flags & 16384 && (retryQueue = 22 !== workInProgress2.tag ? claimNextRetryLane() : 536870912, workInProgress2.lanes |= retryQueue, workInProgressSuspendedRetryLanes |= retryQueue); } function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { if (!isHydrating) switch (renderState.tailMode) { case "hidden": hasRenderedATailFallback = renderState.tail; for (var lastTailNode = null; null !== hasRenderedATailFallback; ) null !== hasRenderedATailFallback.alternate && (lastTailNode = hasRenderedATailFallback), hasRenderedATailFallback = hasRenderedATailFallback.sibling; null === lastTailNode ? renderState.tail = null : lastTailNode.sibling = null; break; case "collapsed": lastTailNode = renderState.tail; for (var lastTailNode$113 = null; null !== lastTailNode; ) null !== lastTailNode.alternate && (lastTailNode$113 = lastTailNode), lastTailNode = lastTailNode.sibling; null === lastTailNode$113 ? hasRenderedATailFallback || null === renderState.tail ? renderState.tail = null : renderState.tail.sibling = null : lastTailNode$113.sibling = null; } } function bubbleProperties(completedWork) { var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0; if (didBailout) for (var child$114 = completedWork.child; null !== child$114; ) newChildLanes |= child$114.lanes | child$114.childLanes, subtreeFlags |= child$114.subtreeFlags & 65011712, subtreeFlags |= child$114.flags & 65011712, child$114.return = completedWork, child$114 = child$114.sibling; else for (child$114 = completedWork.child; null !== child$114; ) newChildLanes |= child$114.lanes | child$114.childLanes, subtreeFlags |= child$114.subtreeFlags, subtreeFlags |= child$114.flags, child$114.return = completedWork, child$114 = child$114.sibling; completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; } function completeWork(current, workInProgress2, renderLanes2) { var newProps = workInProgress2.pendingProps; popTreeContext(workInProgress2); switch (workInProgress2.tag) { case 31: case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return bubbleProperties(workInProgress2), null; case 1: return bubbleProperties(workInProgress2), null; case 3: renderLanes2 = workInProgress2.stateNode; newProps = null; null !== current && (newProps = current.memoizedState.cache); workInProgress2.memoizedState.cache !== newProps && (workInProgress2.flags |= 2048); popProvider(CacheContext); popHostContainer(); renderLanes2.pendingContext && (renderLanes2.context = renderLanes2.pendingContext, renderLanes2.pendingContext = null); if (null === current || null === current.child) popHydrationState(workInProgress2) ? markUpdate(workInProgress2) : null === current || current.memoizedState.isDehydrated && 0 === (workInProgress2.flags & 256) || (workInProgress2.flags |= 1024, upgradeHydrationErrorsToRecoverable()); bubbleProperties(workInProgress2); return null; case 26: return renderLanes2 = workInProgress2.memoizedState, null === current ? (markUpdate(workInProgress2), null !== renderLanes2 ? (bubbleProperties(workInProgress2), preloadResourceAndSuspendIfNeeded(workInProgress2, renderLanes2)) : (bubbleProperties(workInProgress2), workInProgress2.flags &= -16777217)) : renderLanes2 ? renderLanes2 !== current.memoizedState ? (markUpdate(workInProgress2), bubbleProperties(workInProgress2), preloadResourceAndSuspendIfNeeded(workInProgress2, renderLanes2)) : (bubbleProperties(workInProgress2), workInProgress2.flags &= -16777217) : (current.memoizedProps !== newProps && markUpdate(workInProgress2), bubbleProperties(workInProgress2), workInProgress2.flags &= -16777217), null; case 27: popHostContext(workInProgress2); renderLanes2 = rootInstanceStackCursor.current; var type4 = workInProgress2.type; if (null !== current && null != workInProgress2.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress2); else { if (!newProps) { if (null === workInProgress2.stateNode) throw Error(formatProdErrorMessage(166)); bubbleProperties(workInProgress2); return null; } current = contextStackCursor.current; popHydrationState(workInProgress2) ? prepareToHydrateHostInstance(workInProgress2) : (current = resolveSingletonInstance(type4, newProps, renderLanes2), workInProgress2.stateNode = current, markUpdate(workInProgress2)); } bubbleProperties(workInProgress2); return null; case 5: popHostContext(workInProgress2); renderLanes2 = workInProgress2.type; if (null !== current && null != workInProgress2.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress2); else { if (!newProps) { if (null === workInProgress2.stateNode) throw Error(formatProdErrorMessage(166)); bubbleProperties(workInProgress2); return null; } current = contextStackCursor.current; if (popHydrationState(workInProgress2)) prepareToHydrateHostInstance(workInProgress2); else { type4 = getOwnerDocumentFromRootContainer( rootInstanceStackCursor.current ); switch (current) { case 1: current = type4.createElementNS( "http://www.w3.org/2000/svg", renderLanes2 ); break; case 2: current = type4.createElementNS( "http://www.w3.org/1998/Math/MathML", renderLanes2 ); break; default: switch (renderLanes2) { case "svg": current = type4.createElementNS( "http://www.w3.org/2000/svg", renderLanes2 ); break; case "math": current = type4.createElementNS( "http://www.w3.org/1998/Math/MathML", renderLanes2 ); break; case "script": current = type4.createElement("div"); current.innerHTML = "