@boxcustodia/library 1.7.14 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +354 -0
- package/dist/index.es.js +66927 -289
- package/dist/theme.css +0 -27
- package/package.json +41 -39
- package/dist/index.d.ts +0 -1822
- package/dist/index.es10.js +0 -13
- package/dist/index.es100.js +0 -5
- package/dist/index.es101.js +0 -7
- package/dist/index.es102.js +0 -6
- package/dist/index.es103.js +0 -17
- package/dist/index.es104.js +0 -2751
- package/dist/index.es105.js +0 -5
- package/dist/index.es106.js +0 -5
- package/dist/index.es107.js +0 -6
- package/dist/index.es108.js +0 -17
- package/dist/index.es109.js +0 -7
- package/dist/index.es11.js +0 -18
- package/dist/index.es110.js +0 -59
- package/dist/index.es111.js +0 -57
- package/dist/index.es112.js +0 -63
- package/dist/index.es113.js +0 -115
- package/dist/index.es114.js +0 -45
- package/dist/index.es115.js +0 -26
- package/dist/index.es116.js +0 -32
- package/dist/index.es117.js +0 -29
- package/dist/index.es118.js +0 -28
- package/dist/index.es119.js +0 -312
- package/dist/index.es12.js +0 -20
- package/dist/index.es120.js +0 -15
- package/dist/index.es121.js +0 -60
- package/dist/index.es122.js +0 -1150
- package/dist/index.es123.js +0 -6
- package/dist/index.es124.js +0 -6
- package/dist/index.es125.js +0 -22
- package/dist/index.es126.js +0 -262
- package/dist/index.es127.js +0 -15
- package/dist/index.es128.js +0 -15
- package/dist/index.es129.js +0 -24
- package/dist/index.es13.js +0 -31
- package/dist/index.es130.js +0 -43
- package/dist/index.es131.js +0 -20
- package/dist/index.es132.js +0 -42
- package/dist/index.es133.js +0 -54
- package/dist/index.es134.js +0 -16
- package/dist/index.es135.js +0 -12
- package/dist/index.es136.js +0 -24
- package/dist/index.es137.js +0 -12
- package/dist/index.es138.js +0 -35
- package/dist/index.es139.js +0 -243
- package/dist/index.es14.js +0 -29
- package/dist/index.es140.js +0 -862
- package/dist/index.es141.js +0 -12
- package/dist/index.es142.js +0 -12
- package/dist/index.es143.js +0 -12
- package/dist/index.es144.js +0 -12
- package/dist/index.es145.js +0 -6
- package/dist/index.es146.js +0 -6
- package/dist/index.es147.js +0 -228
- package/dist/index.es148.js +0 -12
- package/dist/index.es149.js +0 -43
- package/dist/index.es15.js +0 -13
- package/dist/index.es150.js +0 -23
- package/dist/index.es151.js +0 -15
- package/dist/index.es152.js +0 -15
- package/dist/index.es153.js +0 -20
- package/dist/index.es154.js +0 -46
- package/dist/index.es155.js +0 -71
- package/dist/index.es156.js +0 -8
- package/dist/index.es157.js +0 -21
- package/dist/index.es158.js +0 -29
- package/dist/index.es159.js +0 -19
- package/dist/index.es16.js +0 -16
- package/dist/index.es160.js +0 -16
- package/dist/index.es161.js +0 -15
- package/dist/index.es162.js +0 -16
- package/dist/index.es163.js +0 -80
- package/dist/index.es164.js +0 -94
- package/dist/index.es165.js +0 -354
- package/dist/index.es166.js +0 -126
- package/dist/index.es167.js +0 -340
- package/dist/index.es168.js +0 -10
- package/dist/index.es169.js +0 -10
- package/dist/index.es17.js +0 -29
- package/dist/index.es170.js +0 -4
- package/dist/index.es171.js +0 -35
- package/dist/index.es172.js +0 -247
- package/dist/index.es173.js +0 -21
- package/dist/index.es174.js +0 -38
- package/dist/index.es175.js +0 -218
- package/dist/index.es176.js +0 -23
- package/dist/index.es177.js +0 -39
- package/dist/index.es178.js +0 -13
- package/dist/index.es179.js +0 -3677
- package/dist/index.es18.js +0 -27
- package/dist/index.es180.js +0 -8
- package/dist/index.es181.js +0 -4
- package/dist/index.es182.js +0 -47
- package/dist/index.es183.js +0 -9
- package/dist/index.es184.js +0 -29
- package/dist/index.es185.js +0 -70
- package/dist/index.es186.js +0 -13
- package/dist/index.es187.js +0 -127
- package/dist/index.es188.js +0 -137
- package/dist/index.es189.js +0 -16
- package/dist/index.es19.js +0 -36
- package/dist/index.es190.js +0 -32
- package/dist/index.es191.js +0 -17
- package/dist/index.es192.js +0 -11
- package/dist/index.es193.js +0 -52
- package/dist/index.es194.js +0 -50
- package/dist/index.es195.js +0 -17
- package/dist/index.es196.js +0 -257
- package/dist/index.es197.js +0 -35
- package/dist/index.es198.js +0 -207
- package/dist/index.es199.js +0 -6
- package/dist/index.es2.js +0 -47
- package/dist/index.es20.js +0 -20
- package/dist/index.es200.js +0 -48
- package/dist/index.es201.js +0 -10
- package/dist/index.es202.js +0 -221
- package/dist/index.es203.js +0 -32
- package/dist/index.es204.js +0 -50
- package/dist/index.es205.js +0 -13
- package/dist/index.es206.js +0 -8
- package/dist/index.es207.js +0 -32
- package/dist/index.es208.js +0 -32
- package/dist/index.es209.js +0 -50
- package/dist/index.es21.js +0 -14
- package/dist/index.es210.js +0 -32
- package/dist/index.es211.js +0 -652
- package/dist/index.es212.js +0 -37
- package/dist/index.es213.js +0 -120
- package/dist/index.es214.js +0 -28
- package/dist/index.es215.js +0 -2501
- package/dist/index.es216.js +0 -32
- package/dist/index.es217.js +0 -56
- package/dist/index.es218.js +0 -4
- package/dist/index.es219.js +0 -4
- package/dist/index.es22.js +0 -37
- package/dist/index.es220.js +0 -10
- package/dist/index.es221.js +0 -8
- package/dist/index.es222.js +0 -8
- package/dist/index.es223.js +0 -20
- package/dist/index.es224.js +0 -8
- package/dist/index.es225.js +0 -9
- package/dist/index.es226.js +0 -8
- package/dist/index.es227.js +0 -16
- package/dist/index.es228.js +0 -18
- package/dist/index.es229.js +0 -11
- package/dist/index.es23.js +0 -37
- package/dist/index.es230.js +0 -9
- package/dist/index.es231.js +0 -17
- package/dist/index.es232.js +0 -8
- package/dist/index.es233.js +0 -17
- package/dist/index.es234.js +0 -9
- package/dist/index.es235.js +0 -9
- package/dist/index.es236.js +0 -9
- package/dist/index.es237.js +0 -7
- package/dist/index.es238.js +0 -583
- package/dist/index.es239.js +0 -52
- package/dist/index.es24.js +0 -28
- package/dist/index.es240.js +0 -20
- package/dist/index.es241.js +0 -9
- package/dist/index.es242.js +0 -21
- package/dist/index.es243.js +0 -11
- package/dist/index.es244.js +0 -9
- package/dist/index.es245.js +0 -10
- package/dist/index.es246.js +0 -8
- package/dist/index.es247.js +0 -9
- package/dist/index.es248.js +0 -12
- package/dist/index.es249.js +0 -8
- package/dist/index.es25.js +0 -10
- package/dist/index.es250.js +0 -11
- package/dist/index.es251.js +0 -15
- package/dist/index.es252.js +0 -12
- package/dist/index.es253.js +0 -11
- package/dist/index.es254.js +0 -13
- package/dist/index.es255.js +0 -17
- package/dist/index.es256.js +0 -8
- package/dist/index.es257.js +0 -14
- package/dist/index.es258.js +0 -13
- package/dist/index.es259.js +0 -13
- package/dist/index.es26.js +0 -34
- package/dist/index.es260.js +0 -9
- package/dist/index.es261.js +0 -12
- package/dist/index.es262.js +0 -86
- package/dist/index.es263.js +0 -41
- package/dist/index.es264.js +0 -67
- package/dist/index.es265.js +0 -12
- package/dist/index.es266.js +0 -11
- package/dist/index.es267.js +0 -10
- package/dist/index.es268.js +0 -13
- package/dist/index.es269.js +0 -10
- package/dist/index.es27.js +0 -66
- package/dist/index.es270.js +0 -10
- package/dist/index.es271.js +0 -9
- package/dist/index.es272.js +0 -8
- package/dist/index.es273.js +0 -18
- package/dist/index.es274.js +0 -21
- package/dist/index.es275.js +0 -54
- package/dist/index.es276.js +0 -18
- package/dist/index.es277.js +0 -5
- package/dist/index.es278.js +0 -2
- package/dist/index.es279.js +0 -2056
- package/dist/index.es28.js +0 -137
- package/dist/index.es280.js +0 -36
- package/dist/index.es281.js +0 -14
- package/dist/index.es282.js +0 -32
- package/dist/index.es283.js +0 -32
- package/dist/index.es284.js +0 -27
- package/dist/index.es285.js +0 -24
- package/dist/index.es286.js +0 -41
- package/dist/index.es287.js +0 -20
- package/dist/index.es288.js +0 -9
- package/dist/index.es289.js +0 -32
- package/dist/index.es29.js +0 -44
- package/dist/index.es290.js +0 -127
- package/dist/index.es291.js +0 -137
- package/dist/index.es292.js +0 -16
- package/dist/index.es293.js +0 -71
- package/dist/index.es294.js +0 -17
- package/dist/index.es295.js +0 -50
- package/dist/index.es296.js +0 -207
- package/dist/index.es297.js +0 -24
- package/dist/index.es298.js +0 -32
- package/dist/index.es299.js +0 -27
- package/dist/index.es3.js +0 -24
- package/dist/index.es30.js +0 -47
- package/dist/index.es300.js +0 -395
- package/dist/index.es301.js +0 -32
- package/dist/index.es302.js +0 -33
- package/dist/index.es303.js +0 -50
- package/dist/index.es304.js +0 -36
- package/dist/index.es305.js +0 -183
- package/dist/index.es306.js +0 -50
- package/dist/index.es307.js +0 -14
- package/dist/index.es308.js +0 -10
- package/dist/index.es309.js +0 -5
- package/dist/index.es31.js +0 -17
- package/dist/index.es310.js +0 -47
- package/dist/index.es311.js +0 -31
- package/dist/index.es312.js +0 -59
- package/dist/index.es313.js +0 -22
- package/dist/index.es314.js +0 -24
- package/dist/index.es315.js +0 -47
- package/dist/index.es316.js +0 -34
- package/dist/index.es317.js +0 -86
- package/dist/index.es318.js +0 -9
- package/dist/index.es319.js +0 -17
- package/dist/index.es32.js +0 -29
- package/dist/index.es320.js +0 -46
- package/dist/index.es321.js +0 -36
- package/dist/index.es322.js +0 -30
- package/dist/index.es323.js +0 -28
- package/dist/index.es324.js +0 -10
- package/dist/index.es325.js +0 -423
- package/dist/index.es326.js +0 -15
- package/dist/index.es327.js +0 -37
- package/dist/index.es328.js +0 -17
- package/dist/index.es329.js +0 -5
- package/dist/index.es33.js +0 -60
- package/dist/index.es330.js +0 -7
- package/dist/index.es331.js +0 -59
- package/dist/index.es332.js +0 -33
- package/dist/index.es333.js +0 -49
- package/dist/index.es334.js +0 -69
- package/dist/index.es335.js +0 -40
- package/dist/index.es336.js +0 -21
- package/dist/index.es337.js +0 -75
- package/dist/index.es338.js +0 -75
- package/dist/index.es339.js +0 -77
- package/dist/index.es34.js +0 -78
- package/dist/index.es340.js +0 -77
- package/dist/index.es341.js +0 -48
- package/dist/index.es342.js +0 -49
- package/dist/index.es343.js +0 -61
- package/dist/index.es344.js +0 -51
- package/dist/index.es345.js +0 -49
- package/dist/index.es346.js +0 -80
- package/dist/index.es347.js +0 -80
- package/dist/index.es348.js +0 -105
- package/dist/index.es349.js +0 -49
- package/dist/index.es35.js +0 -26
- package/dist/index.es350.js +0 -49
- package/dist/index.es351.js +0 -49
- package/dist/index.es352.js +0 -33
- package/dist/index.es353.js +0 -32
- package/dist/index.es354.js +0 -32
- package/dist/index.es355.js +0 -33
- package/dist/index.es356.js +0 -32
- package/dist/index.es357.js +0 -32
- package/dist/index.es358.js +0 -22
- package/dist/index.es359.js +0 -48
- package/dist/index.es36.js +0 -77
- package/dist/index.es360.js +0 -48
- package/dist/index.es361.js +0 -22
- package/dist/index.es362.js +0 -22
- package/dist/index.es363.js +0 -10
- package/dist/index.es364.js +0 -4
- package/dist/index.es365.js +0 -25
- package/dist/index.es366.js +0 -25
- package/dist/index.es367.js +0 -23
- package/dist/index.es368.js +0 -4
- package/dist/index.es369.js +0 -9408
- package/dist/index.es37.js +0 -16
- package/dist/index.es370.js +0 -15314
- package/dist/index.es371.js +0 -5
- package/dist/index.es372.js +0 -63
- package/dist/index.es373.js +0 -12
- package/dist/index.es374.js +0 -5
- package/dist/index.es375.js +0 -7
- package/dist/index.es376.js +0 -27
- package/dist/index.es377.js +0 -31
- package/dist/index.es378.js +0 -7
- package/dist/index.es379.js +0 -50
- package/dist/index.es38.js +0 -87
- package/dist/index.es380.js +0 -50
- package/dist/index.es381.js +0 -50
- package/dist/index.es382.js +0 -32
- package/dist/index.es383.js +0 -50
- package/dist/index.es384.js +0 -50
- package/dist/index.es385.js +0 -12
- package/dist/index.es386.js +0 -12
- package/dist/index.es387.js +0 -7
- package/dist/index.es388.js +0 -7
- package/dist/index.es389.js +0 -7
- package/dist/index.es39.js +0 -119
- package/dist/index.es390.js +0 -9
- package/dist/index.es391.js +0 -336
- package/dist/index.es392.js +0 -21
- package/dist/index.es393.js +0 -6
- package/dist/index.es394.js +0 -7
- package/dist/index.es395.js +0 -5
- package/dist/index.es396.js +0 -74
- package/dist/index.es397.js +0 -6
- package/dist/index.es398.js +0 -32
- package/dist/index.es399.js +0 -133
- package/dist/index.es4.js +0 -15
- package/dist/index.es40.js +0 -126
- package/dist/index.es400.js +0 -219
- package/dist/index.es401.js +0 -32
- package/dist/index.es402.js +0 -50
- package/dist/index.es403.js +0 -6
- package/dist/index.es404.js +0 -5
- package/dist/index.es405.js +0 -70
- package/dist/index.es406.js +0 -33
- package/dist/index.es407.js +0 -11
- package/dist/index.es408.js +0 -155
- package/dist/index.es409.js +0 -110
- package/dist/index.es41.js +0 -141
- package/dist/index.es410.js +0 -4
- package/dist/index.es411.js +0 -4
- package/dist/index.es412.js +0 -4
- package/dist/index.es413.js +0 -10
- package/dist/index.es414.js +0 -4
- package/dist/index.es415.js +0 -22
- package/dist/index.es416.js +0 -103
- package/dist/index.es417.js +0 -49
- package/dist/index.es418.js +0 -70
- package/dist/index.es419.js +0 -33
- package/dist/index.es42.js +0 -50
- package/dist/index.es420.js +0 -18
- package/dist/index.es421.js +0 -143
- package/dist/index.es422.js +0 -116
- package/dist/index.es423.js +0 -7
- package/dist/index.es424.js +0 -5
- package/dist/index.es425.js +0 -26
- package/dist/index.es426.js +0 -112
- package/dist/index.es427.js +0 -18
- package/dist/index.es428.js +0 -279
- package/dist/index.es429.js +0 -4
- package/dist/index.es43.js +0 -21
- package/dist/index.es430.js +0 -110
- package/dist/index.es431.js +0 -79
- package/dist/index.es432.js +0 -41
- package/dist/index.es433.js +0 -70
- package/dist/index.es434.js +0 -39
- package/dist/index.es435.js +0 -71
- package/dist/index.es436.js +0 -118
- package/dist/index.es437.js +0 -99
- package/dist/index.es438.js +0 -48
- package/dist/index.es439.js +0 -30
- package/dist/index.es44.js +0 -198
- package/dist/index.es440.js +0 -4
- package/dist/index.es441.js +0 -246
- package/dist/index.es442.js +0 -389
- package/dist/index.es443.js +0 -170
- package/dist/index.es444.js +0 -155
- package/dist/index.es445.js +0 -145
- package/dist/index.es446.js +0 -202
- package/dist/index.es447.js +0 -4
- package/dist/index.es448.js +0 -50
- package/dist/index.es449.js +0 -525
- package/dist/index.es45.js +0 -86
- package/dist/index.es450.js +0 -129
- package/dist/index.es451.js +0 -131
- package/dist/index.es452.js +0 -8
- package/dist/index.es453.js +0 -17
- package/dist/index.es454.js +0 -4
- package/dist/index.es455.js +0 -10
- package/dist/index.es456.js +0 -329
- package/dist/index.es457.js +0 -52
- package/dist/index.es458.js +0 -6
- package/dist/index.es459.js +0 -50
- package/dist/index.es46.js +0 -57
- package/dist/index.es460.js +0 -27
- package/dist/index.es461.js +0 -8
- package/dist/index.es462.js +0 -130
- package/dist/index.es463.js +0 -27
- package/dist/index.es464.js +0 -7
- package/dist/index.es465.js +0 -15
- package/dist/index.es466.js +0 -45
- package/dist/index.es467.js +0 -60
- package/dist/index.es468.js +0 -44
- package/dist/index.es469.js +0 -31
- package/dist/index.es47.js +0 -35
- package/dist/index.es470.js +0 -34
- package/dist/index.es471.js +0 -17
- package/dist/index.es472.js +0 -13
- package/dist/index.es473.js +0 -13
- package/dist/index.es474.js +0 -12
- package/dist/index.es475.js +0 -9
- package/dist/index.es476.js +0 -8
- package/dist/index.es477.js +0 -10
- package/dist/index.es478.js +0 -32
- package/dist/index.es479.js +0 -21
- package/dist/index.es48.js +0 -48
- package/dist/index.es480.js +0 -16
- package/dist/index.es481.js +0 -46
- package/dist/index.es482.js +0 -11
- package/dist/index.es483.js +0 -5
- package/dist/index.es484.js +0 -7
- package/dist/index.es485.js +0 -27
- package/dist/index.es486.js +0 -30
- package/dist/index.es487.js +0 -95
- package/dist/index.es488.js +0 -110
- package/dist/index.es489.js +0 -57
- package/dist/index.es49.js +0 -129
- package/dist/index.es490.js +0 -12
- package/dist/index.es491.js +0 -28
- package/dist/index.es492.js +0 -384
- package/dist/index.es493.js +0 -36
- package/dist/index.es494.js +0 -9
- package/dist/index.es495.js +0 -9
- package/dist/index.es496.js +0 -7
- package/dist/index.es497.js +0 -9
- package/dist/index.es498.js +0 -53
- package/dist/index.es499.js +0 -17
- package/dist/index.es5.js +0 -16
- package/dist/index.es50.js +0 -11
- package/dist/index.es500.js +0 -57
- package/dist/index.es501.js +0 -8
- package/dist/index.es502.js +0 -284
- package/dist/index.es503.js +0 -39
- package/dist/index.es504.js +0 -22
- package/dist/index.es505.js +0 -34
- package/dist/index.es506.js +0 -32
- package/dist/index.es507.js +0 -10
- package/dist/index.es508.js +0 -4
- package/dist/index.es509.js +0 -55
- package/dist/index.es51.js +0 -20
- package/dist/index.es510.js +0 -67
- package/dist/index.es511.js +0 -59
- package/dist/index.es512.js +0 -15
- package/dist/index.es513.js +0 -24
- package/dist/index.es514.js +0 -62
- package/dist/index.es515.js +0 -36
- package/dist/index.es516.js +0 -174
- package/dist/index.es517.js +0 -124
- package/dist/index.es518.js +0 -10
- package/dist/index.es519.js +0 -22
- package/dist/index.es52.js +0 -25
- package/dist/index.es520.js +0 -36
- package/dist/index.es521.js +0 -23
- package/dist/index.es522.js +0 -47
- package/dist/index.es523.js +0 -32
- package/dist/index.es524.js +0 -11
- package/dist/index.es525.js +0 -234
- package/dist/index.es526.js +0 -24
- package/dist/index.es527.js +0 -32
- package/dist/index.es528.js +0 -121
- package/dist/index.es529.js +0 -40
- package/dist/index.es53.js +0 -36
- package/dist/index.es530.js +0 -74
- package/dist/index.es531.js +0 -23
- package/dist/index.es532.js +0 -170
- package/dist/index.es533.js +0 -52
- package/dist/index.es534.js +0 -4
- package/dist/index.es535.js +0 -233
- package/dist/index.es536.js +0 -236
- package/dist/index.es537.js +0 -9
- package/dist/index.es538.js +0 -18
- package/dist/index.es539.js +0 -31
- package/dist/index.es54.js +0 -25
- package/dist/index.es540.js +0 -15
- package/dist/index.es541.js +0 -71
- package/dist/index.es542.js +0 -11
- package/dist/index.es543.js +0 -16
- package/dist/index.es544.js +0 -64
- package/dist/index.es545.js +0 -67
- package/dist/index.es546.js +0 -4
- package/dist/index.es547.js +0 -30
- package/dist/index.es548.js +0 -4
- package/dist/index.es549.js +0 -4
- package/dist/index.es55.js +0 -16
- package/dist/index.es550.js +0 -29
- package/dist/index.es551.js +0 -100
- package/dist/index.es552.js +0 -56
- package/dist/index.es553.js +0 -20
- package/dist/index.es554.js +0 -4
- package/dist/index.es555.js +0 -31
- package/dist/index.es556.js +0 -4
- package/dist/index.es557.js +0 -4
- package/dist/index.es558.js +0 -4
- package/dist/index.es559.js +0 -4
- package/dist/index.es56.js +0 -31
- package/dist/index.es560.js +0 -4
- package/dist/index.es561.js +0 -13
- package/dist/index.es562.js +0 -4
- package/dist/index.es563.js +0 -4
- package/dist/index.es564.js +0 -50
- package/dist/index.es565.js +0 -4
- package/dist/index.es566.js +0 -4
- package/dist/index.es567.js +0 -10
- package/dist/index.es568.js +0 -4
- package/dist/index.es569.js +0 -274
- package/dist/index.es57.js +0 -150
- package/dist/index.es570.js +0 -82
- package/dist/index.es571.js +0 -168
- package/dist/index.es572.js +0 -4
- package/dist/index.es573.js +0 -78
- package/dist/index.es574.js +0 -95
- package/dist/index.es575.js +0 -54
- package/dist/index.es576.js +0 -10
- package/dist/index.es577.js +0 -7
- package/dist/index.es578.js +0 -54
- package/dist/index.es579.js +0 -7
- package/dist/index.es58.js +0 -30
- package/dist/index.es580.js +0 -6
- package/dist/index.es581.js +0 -7
- package/dist/index.es582.js +0 -11
- package/dist/index.es583.js +0 -4
- package/dist/index.es584.js +0 -4
- package/dist/index.es585.js +0 -44
- package/dist/index.es586.js +0 -74
- package/dist/index.es587.js +0 -8
- package/dist/index.es588.js +0 -8
- package/dist/index.es589.js +0 -8
- package/dist/index.es59.js +0 -252
- package/dist/index.es590.js +0 -8
- package/dist/index.es591.js +0 -8
- package/dist/index.es592.js +0 -8
- package/dist/index.es593.js +0 -8
- package/dist/index.es594.js +0 -8
- package/dist/index.es595.js +0 -8
- package/dist/index.es596.js +0 -8
- package/dist/index.es597.js +0 -8
- package/dist/index.es598.js +0 -8
- package/dist/index.es599.js +0 -8
- package/dist/index.es6.js +0 -15
- package/dist/index.es60.js +0 -87
- package/dist/index.es600.js +0 -8
- package/dist/index.es601.js +0 -8
- package/dist/index.es602.js +0 -8
- package/dist/index.es603.js +0 -8
- package/dist/index.es604.js +0 -8
- package/dist/index.es605.js +0 -8
- package/dist/index.es606.js +0 -8
- package/dist/index.es607.js +0 -8
- package/dist/index.es608.js +0 -8
- package/dist/index.es609.js +0 -8
- package/dist/index.es61.js +0 -98
- package/dist/index.es610.js +0 -8
- package/dist/index.es611.js +0 -8
- package/dist/index.es612.js +0 -8
- package/dist/index.es613.js +0 -8
- package/dist/index.es614.js +0 -8
- package/dist/index.es615.js +0 -8
- package/dist/index.es616.js +0 -8
- package/dist/index.es617.js +0 -8
- package/dist/index.es618.js +0 -8
- package/dist/index.es619.js +0 -8
- package/dist/index.es62.js +0 -51
- package/dist/index.es620.js +0 -8
- package/dist/index.es621.js +0 -4
- package/dist/index.es622.js +0 -4
- package/dist/index.es623.js +0 -4
- package/dist/index.es624.js +0 -33
- package/dist/index.es625.js +0 -4
- package/dist/index.es626.js +0 -27
- package/dist/index.es627.js +0 -30
- package/dist/index.es628.js +0 -34
- package/dist/index.es629.js +0 -27
- package/dist/index.es63.js +0 -39
- package/dist/index.es630.js +0 -31
- package/dist/index.es631.js +0 -55
- package/dist/index.es632.js +0 -42
- package/dist/index.es633.js +0 -27
- package/dist/index.es634.js +0 -29
- package/dist/index.es635.js +0 -27
- package/dist/index.es636.js +0 -27
- package/dist/index.es637.js +0 -29
- package/dist/index.es638.js +0 -4
- package/dist/index.es639.js +0 -35
- package/dist/index.es64.js +0 -46
- package/dist/index.es640.js +0 -32
- package/dist/index.es641.js +0 -38
- package/dist/index.es642.js +0 -35
- package/dist/index.es643.js +0 -33
- package/dist/index.es644.js +0 -32
- package/dist/index.es645.js +0 -78
- package/dist/index.es646.js +0 -32
- package/dist/index.es647.js +0 -38
- package/dist/index.es648.js +0 -50
- package/dist/index.es649.js +0 -32
- package/dist/index.es65.js +0 -48
- package/dist/index.es650.js +0 -52
- package/dist/index.es651.js +0 -129
- package/dist/index.es652.js +0 -52
- package/dist/index.es653.js +0 -33
- package/dist/index.es654.js +0 -32
- package/dist/index.es655.js +0 -32
- package/dist/index.es656.js +0 -32
- package/dist/index.es657.js +0 -29
- package/dist/index.es658.js +0 -36
- package/dist/index.es659.js +0 -32
- package/dist/index.es66.js +0 -129
- package/dist/index.es660.js +0 -27
- package/dist/index.es661.js +0 -32
- package/dist/index.es662.js +0 -54
- package/dist/index.es663.js +0 -124
- package/dist/index.es664.js +0 -30
- package/dist/index.es665.js +0 -42
- package/dist/index.es666.js +0 -50
- package/dist/index.es667.js +0 -61
- package/dist/index.es668.js +0 -50
- package/dist/index.es669.js +0 -32
- package/dist/index.es67.js +0 -7
- package/dist/index.es670.js +0 -49
- package/dist/index.es671.js +0 -42
- package/dist/index.es672.js +0 -68
- package/dist/index.es673.js +0 -42
- package/dist/index.es674.js +0 -29
- package/dist/index.es675.js +0 -32
- package/dist/index.es676.js +0 -36
- package/dist/index.es677.js +0 -27
- package/dist/index.es678.js +0 -32
- package/dist/index.es679.js +0 -49
- package/dist/index.es68.js +0 -32
- package/dist/index.es680.js +0 -34
- package/dist/index.es681.js +0 -48
- package/dist/index.es682.js +0 -34
- package/dist/index.es683.js +0 -34
- package/dist/index.es684.js +0 -38
- package/dist/index.es685.js +0 -32
- package/dist/index.es686.js +0 -27
- package/dist/index.es687.js +0 -27
- package/dist/index.es688.js +0 -49
- package/dist/index.es689.js +0 -32
- package/dist/index.es69.js +0 -22
- package/dist/index.es690.js +0 -36
- package/dist/index.es691.js +0 -39
- package/dist/index.es692.js +0 -42
- package/dist/index.es693.js +0 -37
- package/dist/index.es694.js +0 -49
- package/dist/index.es695.js +0 -40
- package/dist/index.es696.js +0 -42
- package/dist/index.es697.js +0 -47
- package/dist/index.es698.js +0 -36
- package/dist/index.es699.js +0 -27
- package/dist/index.es7.js +0 -13
- package/dist/index.es70.js +0 -148
- package/dist/index.es700.js +0 -40
- package/dist/index.es701.js +0 -39
- package/dist/index.es702.js +0 -47
- package/dist/index.es703.js +0 -43
- package/dist/index.es704.js +0 -35
- package/dist/index.es705.js +0 -32
- package/dist/index.es706.js +0 -32
- package/dist/index.es707.js +0 -32
- package/dist/index.es708.js +0 -34
- package/dist/index.es709.js +0 -34
- package/dist/index.es71.js +0 -71
- package/dist/index.es710.js +0 -35
- package/dist/index.es711.js +0 -36
- package/dist/index.es712.js +0 -27
- package/dist/index.es713.js +0 -37
- package/dist/index.es714.js +0 -112
- package/dist/index.es715.js +0 -32
- package/dist/index.es716.js +0 -27
- package/dist/index.es717.js +0 -34
- package/dist/index.es718.js +0 -27
- package/dist/index.es719.js +0 -33
- package/dist/index.es72.js +0 -81
- package/dist/index.es720.js +0 -27
- package/dist/index.es721.js +0 -32
- package/dist/index.es722.js +0 -4
- package/dist/index.es723.js +0 -38
- package/dist/index.es724.js +0 -38
- package/dist/index.es725.js +0 -38
- package/dist/index.es726.js +0 -38
- package/dist/index.es727.js +0 -35
- package/dist/index.es728.js +0 -38
- package/dist/index.es729.js +0 -38
- package/dist/index.es73.js +0 -94
- package/dist/index.es730.js +0 -35
- package/dist/index.es731.js +0 -38
- package/dist/index.es732.js +0 -38
- package/dist/index.es733.js +0 -38
- package/dist/index.es734.js +0 -38
- package/dist/index.es735.js +0 -38
- package/dist/index.es736.js +0 -38
- package/dist/index.es737.js +0 -38
- package/dist/index.es738.js +0 -38
- package/dist/index.es739.js +0 -38
- package/dist/index.es74.js +0 -98
- package/dist/index.es740.js +0 -38
- package/dist/index.es741.js +0 -38
- package/dist/index.es742.js +0 -38
- package/dist/index.es743.js +0 -33
- package/dist/index.es744.js +0 -38
- package/dist/index.es745.js +0 -38
- package/dist/index.es746.js +0 -38
- package/dist/index.es747.js +0 -35
- package/dist/index.es748.js +0 -38
- package/dist/index.es749.js +0 -38
- package/dist/index.es75.js +0 -4
- package/dist/index.es750.js +0 -35
- package/dist/index.es751.js +0 -38
- package/dist/index.es752.js +0 -37
- package/dist/index.es753.js +0 -38
- package/dist/index.es754.js +0 -38
- package/dist/index.es755.js +0 -38
- package/dist/index.es756.js +0 -38
- package/dist/index.es757.js +0 -32
- package/dist/index.es758.js +0 -38
- package/dist/index.es759.js +0 -38
- package/dist/index.es76.js +0 -96
- package/dist/index.es760.js +0 -38
- package/dist/index.es761.js +0 -38
- package/dist/index.es762.js +0 -4
- package/dist/index.es763.js +0 -48
- package/dist/index.es764.js +0 -52
- package/dist/index.es765.js +0 -33
- package/dist/index.es766.js +0 -6
- package/dist/index.es767.js +0 -25
- package/dist/index.es768.js +0 -4
- package/dist/index.es769.js +0 -4
- package/dist/index.es77.js +0 -74
- package/dist/index.es770.js +0 -15
- package/dist/index.es771.js +0 -4
- package/dist/index.es772.js +0 -81
- package/dist/index.es773.js +0 -98
- package/dist/index.es774.js +0 -24
- package/dist/index.es775.js +0 -85
- package/dist/index.es776.js +0 -4
- package/dist/index.es777.js +0 -4
- package/dist/index.es778.js +0 -16
- package/dist/index.es779.js +0 -16
- package/dist/index.es78.js +0 -28
- package/dist/index.es780.js +0 -16
- package/dist/index.es781.js +0 -16
- package/dist/index.es782.js +0 -16
- package/dist/index.es783.js +0 -16
- package/dist/index.es784.js +0 -16
- package/dist/index.es785.js +0 -16
- package/dist/index.es786.js +0 -16
- package/dist/index.es787.js +0 -16
- package/dist/index.es788.js +0 -16
- package/dist/index.es789.js +0 -16
- package/dist/index.es79.js +0 -18
- package/dist/index.es790.js +0 -16
- package/dist/index.es791.js +0 -16
- package/dist/index.es792.js +0 -16
- package/dist/index.es793.js +0 -16
- package/dist/index.es794.js +0 -16
- package/dist/index.es795.js +0 -16
- package/dist/index.es796.js +0 -16
- package/dist/index.es797.js +0 -16
- package/dist/index.es798.js +0 -16
- package/dist/index.es799.js +0 -16
- package/dist/index.es8.js +0 -14
- package/dist/index.es80.js +0 -107
- package/dist/index.es800.js +0 -16
- package/dist/index.es801.js +0 -16
- package/dist/index.es802.js +0 -16
- package/dist/index.es803.js +0 -16
- package/dist/index.es804.js +0 -16
- package/dist/index.es805.js +0 -16
- package/dist/index.es806.js +0 -16
- package/dist/index.es807.js +0 -16
- package/dist/index.es808.js +0 -16
- package/dist/index.es809.js +0 -16
- package/dist/index.es81.js +0 -57
- package/dist/index.es810.js +0 -16
- package/dist/index.es811.js +0 -16
- package/dist/index.es812.js +0 -25
- package/dist/index.es813.js +0 -4
- package/dist/index.es814.js +0 -4
- package/dist/index.es815.js +0 -4
- package/dist/index.es816.js +0 -4
- package/dist/index.es817.js +0 -4
- package/dist/index.es818.js +0 -4
- package/dist/index.es819.js +0 -4
- package/dist/index.es82.js +0 -28
- package/dist/index.es820.js +0 -4
- package/dist/index.es821.js +0 -4
- package/dist/index.es822.js +0 -4
- package/dist/index.es823.js +0 -4
- package/dist/index.es824.js +0 -4
- package/dist/index.es825.js +0 -4
- package/dist/index.es826.js +0 -4
- package/dist/index.es827.js +0 -4
- package/dist/index.es828.js +0 -4
- package/dist/index.es829.js +0 -4
- package/dist/index.es83.js +0 -47
- package/dist/index.es830.js +0 -4
- package/dist/index.es831.js +0 -4
- package/dist/index.es832.js +0 -4
- package/dist/index.es833.js +0 -4
- package/dist/index.es834.js +0 -4
- package/dist/index.es835.js +0 -4
- package/dist/index.es836.js +0 -4
- package/dist/index.es837.js +0 -4
- package/dist/index.es838.js +0 -4
- package/dist/index.es839.js +0 -4
- package/dist/index.es84.js +0 -13
- package/dist/index.es840.js +0 -4
- package/dist/index.es841.js +0 -4
- package/dist/index.es842.js +0 -4
- package/dist/index.es843.js +0 -4
- package/dist/index.es844.js +0 -4
- package/dist/index.es845.js +0 -4
- package/dist/index.es846.js +0 -4
- package/dist/index.es847.js +0 -4
- package/dist/index.es848.js +0 -4
- package/dist/index.es849.js +0 -4
- package/dist/index.es85.js +0 -13
- package/dist/index.es850.js +0 -4
- package/dist/index.es851.js +0 -4
- package/dist/index.es852.js +0 -4
- package/dist/index.es853.js +0 -4
- package/dist/index.es854.js +0 -4
- package/dist/index.es855.js +0 -4
- package/dist/index.es856.js +0 -4
- package/dist/index.es857.js +0 -4
- package/dist/index.es858.js +0 -4
- package/dist/index.es859.js +0 -4
- package/dist/index.es86.js +0 -32
- package/dist/index.es860.js +0 -4
- package/dist/index.es861.js +0 -4
- package/dist/index.es862.js +0 -4
- package/dist/index.es863.js +0 -4
- package/dist/index.es864.js +0 -4
- package/dist/index.es865.js +0 -4
- package/dist/index.es866.js +0 -4
- package/dist/index.es867.js +0 -4
- package/dist/index.es868.js +0 -4
- package/dist/index.es869.js +0 -4
- package/dist/index.es87.js +0 -45
- package/dist/index.es870.js +0 -4
- package/dist/index.es871.js +0 -4
- package/dist/index.es872.js +0 -4
- package/dist/index.es873.js +0 -4
- package/dist/index.es874.js +0 -4
- package/dist/index.es875.js +0 -4
- package/dist/index.es876.js +0 -4
- package/dist/index.es877.js +0 -4
- package/dist/index.es878.js +0 -4
- package/dist/index.es879.js +0 -4
- package/dist/index.es88.js +0 -19
- package/dist/index.es880.js +0 -4
- package/dist/index.es881.js +0 -4
- package/dist/index.es882.js +0 -4
- package/dist/index.es883.js +0 -4
- package/dist/index.es884.js +0 -4
- package/dist/index.es885.js +0 -4
- package/dist/index.es886.js +0 -4
- package/dist/index.es887.js +0 -4
- package/dist/index.es888.js +0 -4
- package/dist/index.es889.js +0 -4
- package/dist/index.es89.js +0 -144
- package/dist/index.es890.js +0 -4
- package/dist/index.es891.js +0 -4
- package/dist/index.es892.js +0 -4
- package/dist/index.es893.js +0 -4
- package/dist/index.es894.js +0 -4
- package/dist/index.es895.js +0 -4
- package/dist/index.es896.js +0 -4
- package/dist/index.es897.js +0 -4
- package/dist/index.es898.js +0 -4
- package/dist/index.es899.js +0 -4
- package/dist/index.es9.js +0 -9
- package/dist/index.es90.js +0 -89
- package/dist/index.es900.js +0 -4
- package/dist/index.es901.js +0 -4
- package/dist/index.es902.js +0 -4
- package/dist/index.es903.js +0 -4
- package/dist/index.es904.js +0 -4
- package/dist/index.es905.js +0 -4
- package/dist/index.es906.js +0 -4
- package/dist/index.es907.js +0 -4
- package/dist/index.es908.js +0 -4
- package/dist/index.es909.js +0 -15
- package/dist/index.es91.js +0 -54
- package/dist/index.es910.js +0 -30
- package/dist/index.es911.js +0 -7
- package/dist/index.es912.js +0 -4
- package/dist/index.es913.js +0 -4
- package/dist/index.es914.js +0 -4
- package/dist/index.es915.js +0 -4
- package/dist/index.es916.js +0 -4
- package/dist/index.es917.js +0 -4
- package/dist/index.es918.js +0 -4
- package/dist/index.es919.js +0 -4
- package/dist/index.es92.js +0 -10
- package/dist/index.es920.js +0 -4
- package/dist/index.es921.js +0 -4
- package/dist/index.es922.js +0 -4
- package/dist/index.es923.js +0 -4
- package/dist/index.es924.js +0 -4
- package/dist/index.es925.js +0 -4
- package/dist/index.es926.js +0 -4
- package/dist/index.es927.js +0 -4
- package/dist/index.es928.js +0 -4
- package/dist/index.es929.js +0 -4
- package/dist/index.es93.js +0 -10
- package/dist/index.es930.js +0 -4
- package/dist/index.es931.js +0 -4
- package/dist/index.es932.js +0 -4
- package/dist/index.es933.js +0 -4
- package/dist/index.es934.js +0 -4
- package/dist/index.es935.js +0 -4
- package/dist/index.es936.js +0 -4
- package/dist/index.es937.js +0 -4
- package/dist/index.es938.js +0 -4
- package/dist/index.es939.js +0 -4
- package/dist/index.es94.js +0 -12
- package/dist/index.es940.js +0 -4
- package/dist/index.es941.js +0 -4
- package/dist/index.es942.js +0 -4
- package/dist/index.es943.js +0 -4
- package/dist/index.es944.js +0 -4
- package/dist/index.es945.js +0 -4
- package/dist/index.es946.js +0 -4
- package/dist/index.es947.js +0 -4
- package/dist/index.es948.js +0 -4
- package/dist/index.es949.js +0 -4
- package/dist/index.es95.js +0 -4
- package/dist/index.es950.js +0 -4
- package/dist/index.es951.js +0 -4
- package/dist/index.es952.js +0 -4
- package/dist/index.es953.js +0 -4
- package/dist/index.es954.js +0 -4
- package/dist/index.es955.js +0 -4
- package/dist/index.es956.js +0 -4
- package/dist/index.es96.js +0 -10
- package/dist/index.es97.js +0 -13
- package/dist/index.es98.js +0 -13
- package/dist/index.es99.js +0 -11
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),Hu=require("react-dom");function J6(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const _=J6(j),X0=J6(Hu);var _C=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function e5(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var DC={exports:{}},Wx={};var c3;function Dz(){if(c3)return Wx;c3=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(l,i,c){var h=null;if(c!==void 0&&(h=""+c),i.key!==void 0&&(h=""+i.key),"key"in i){c={};for(var m in i)m!=="key"&&(c[m]=i[m])}else c=i;return i=c.ref,{$$typeof:e,type:l,key:h,ref:i!==void 0?i:null,props:c}}return Wx.Fragment=t,Wx.jsx=r,Wx.jsxs=r,Wx}var Qx={};var d3;function Mz(){return d3||(d3=1,process.env.NODE_ENV!=="production"&&(function(){function e(Y){if(Y==null)return null;if(typeof Y=="function")return Y.$$typeof===xe?null:Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case O:return"Fragment";case N:return"Profiler";case q:return"StrictMode";case F:return"Suspense";case H:return"SuspenseList";case le:return"Activity"}if(typeof Y=="object")switch(typeof Y.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Y.$$typeof){case $:return"Portal";case I:return(Y.displayName||"Context")+".Provider";case U:return(Y._context.displayName||"Context")+".Consumer";case G:var be=Y.render;return Y=Y.displayName,Y||(Y=be.displayName||be.name||"",Y=Y!==""?"ForwardRef("+Y+")":"ForwardRef"),Y;case V:return be=Y.displayName||null,be!==null?be:e(Y.type)||"Memo";case X:be=Y._payload,Y=Y._init;try{return e(Y(be))}catch{}}return null}function t(Y){return""+Y}function r(Y){try{t(Y);var be=!1}catch{be=!0}if(be){be=console;var ie=be.error,fe=typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return ie.call(be,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",fe),t(Y)}}function l(Y){if(Y===O)return"<>";if(typeof Y=="object"&&Y!==null&&Y.$$typeof===X)return"<...>";try{var be=e(Y);return be?"<"+be+">":"<...>"}catch{return"<...>"}}function i(){var Y=Q.A;return Y===null?null:Y.getOwner()}function c(){return Error("react-stack-top-frame")}function h(Y){if(ue.call(Y,"key")){var be=Object.getOwnPropertyDescriptor(Y,"key").get;if(be&&be.isReactWarning)return!1}return Y.key!==void 0}function m(Y,be){function ie(){ge||(ge=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",be))}ie.isReactWarning=!0,Object.defineProperty(Y,"key",{get:ie,configurable:!0})}function y(){var Y=e(this.type);return L[Y]||(L[Y]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Y=this.props.ref,Y!==void 0?Y:null}function x(Y,be,ie,fe,_e,$e,Pe,Re){return ie=$e.ref,Y={$$typeof:D,type:Y,key:be,props:$e,_owner:_e},(ie!==void 0?ie:null)!==null?Object.defineProperty(Y,"ref",{enumerable:!1,get:y}):Object.defineProperty(Y,"ref",{enumerable:!1,value:null}),Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Y,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Y,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.defineProperty(Y,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Re}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y}function S(Y,be,ie,fe,_e,$e,Pe,Re){var Ye=be.children;if(Ye!==void 0)if(fe)if(se(Ye)){for(fe=0;fe<Ye.length;fe++)w(Ye[fe]);Object.freeze&&Object.freeze(Ye)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(Ye);if(ue.call(be,"key")){Ye=e(Y);var oe=Object.keys(be).filter(function(Le){return Le!=="key"});fe=0<oe.length?"{key: someKey, "+oe.join(": ..., ")+": ...}":"{key: someKey}",me[Ye+fe]||(oe=0<oe.length?"{"+oe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
|
+
let props = %s;
|
|
3
|
+
<%s {...props} />
|
|
4
|
+
React keys must be passed directly to JSX without using spread:
|
|
5
|
+
let props = %s;
|
|
6
|
+
<%s key={someKey} {...props} />`,fe,Ye,oe,Ye),me[Ye+fe]=!0)}if(Ye=null,ie!==void 0&&(r(ie),Ye=""+ie),h(be)&&(r(be.key),Ye=""+be.key),"key"in be){ie={};for(var je in be)je!=="key"&&(ie[je]=be[je])}else ie=be;return Ye&&m(ie,typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y),x(Y,Ye,$e,_e,i(),ie,Pe,Re)}function w(Y){typeof Y=="object"&&Y!==null&&Y.$$typeof===D&&Y._store&&(Y._store.validated=1)}var R=j,D=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),I=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),xe=Symbol.for("react.client.reference"),Q=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue=Object.prototype.hasOwnProperty,se=Array.isArray,ae=console.createTask?console.createTask:function(){return null};R={"react-stack-bottom-frame":function(Y){return Y()}};var ge,L={},W=R["react-stack-bottom-frame"].bind(R,c)(),ee=ae(l(c)),me={};Qx.Fragment=O,Qx.jsx=function(Y,be,ie,fe,_e){var $e=1e4>Q.recentlyCreatedOwnerStacks++;return S(Y,be,ie,!1,fe,_e,$e?Error("react-stack-top-frame"):W,$e?ae(l(Y)):ee)},Qx.jsxs=function(Y,be,ie,fe,_e){var $e=1e4>Q.recentlyCreatedOwnerStacks++;return S(Y,be,ie,!0,fe,_e,$e?Error("react-stack-top-frame"):W,$e?ae(l(Y)):ee)}})()),Qx}var f3;function Oz(){return f3||(f3=1,process.env.NODE_ENV==="production"?DC.exports=Dz():DC.exports=Mz()),DC.exports}var M=Oz();function t5(e){var t,r,l="";if(typeof e=="string"||typeof e=="number")l+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=t5(e[t]))&&(l&&(l+=" "),l+=r)}else for(r in e)e[r]&&(l&&(l+=" "),l+=r);return l}function VD(){for(var e,t,r=0,l="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=t5(e))&&(l&&(l+=" "),l+=t);return l}const Nz=(e,t)=>{const r=new Array(e.length+t.length);for(let l=0;l<e.length;l++)r[l]=e[l];for(let l=0;l<t.length;l++)r[e.length+l]=t[l];return r},$z=(e,t)=>({classGroupId:e,validator:t}),n5=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),fR="-",p3=[],Pz="arbitrary..",qz=e=>{const t=Lz(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:h=>{if(h.startsWith("[")&&h.endsWith("]"))return kz(h);const m=h.split(fR),y=m[0]===""&&m.length>1?1:0;return r5(m,y,t)},getConflictingClassGroupIds:(h,m)=>{if(m){const y=l[h],x=r[h];return y?x?Nz(x,y):y:x||p3}return r[h]||p3}}},r5=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const i=e[t],c=r.nextPart.get(i);if(c){const x=r5(e,t+1,c);if(x)return x}const h=r.validators;if(h===null)return;const m=t===0?e.join(fR):e.slice(t).join(fR),y=h.length;for(let x=0;x<y;x++){const S=h[x];if(S.validator(m))return S.classGroupId}},kz=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),l=t.slice(0,r);return l?Pz+l:void 0})(),Lz=e=>{const{theme:t,classGroups:r}=e;return jz(r,t)},jz=(e,t)=>{const r=n5();for(const l in e){const i=e[l];FD(i,r,l,t)}return r},FD=(e,t,r,l)=>{const i=e.length;for(let c=0;c<i;c++){const h=e[c];Bz(h,t,r,l)}},Bz=(e,t,r,l)=>{if(typeof e=="string"){zz(e,t,r);return}if(typeof e=="function"){Uz(e,t,r,l);return}Iz(e,t,r,l)},zz=(e,t,r)=>{const l=e===""?t:a5(t,e);l.classGroupId=r},Uz=(e,t,r,l)=>{if(Hz(e)){FD(e(l),t,r,l);return}t.validators===null&&(t.validators=[]),t.validators.push($z(r,e))},Iz=(e,t,r,l)=>{const i=Object.entries(e),c=i.length;for(let h=0;h<c;h++){const[m,y]=i[h];FD(y,a5(t,m),r,l)}},a5=(e,t)=>{let r=e;const l=t.split(fR),i=l.length;for(let c=0;c<i;c++){const h=l[c];let m=r.nextPart.get(h);m||(m=n5(),r.nextPart.set(h,m)),r=m}return r},Hz=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Vz=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),l=Object.create(null);const i=(c,h)=>{r[c]=h,t++,t>e&&(t=0,l=r,r=Object.create(null))};return{get(c){let h=r[c];if(h!==void 0)return h;if((h=l[c])!==void 0)return i(c,h),h},set(c,h){c in r?r[c]=h:i(c,h)}}},k_="!",h3=":",Fz=[],m3=(e,t,r,l,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:l,isExternal:i}),Kz=e=>{const{prefix:t,experimentalParseClassName:r}=e;let l=i=>{const c=[];let h=0,m=0,y=0,x;const S=i.length;for(let O=0;O<S;O++){const q=i[O];if(h===0&&m===0){if(q===h3){c.push(i.slice(y,O)),y=O+1;continue}if(q==="/"){x=O;continue}}q==="["?h++:q==="]"?h--:q==="("?m++:q===")"&&m--}const w=c.length===0?i:i.slice(y);let R=w,D=!1;w.endsWith(k_)?(R=w.slice(0,-1),D=!0):w.startsWith(k_)&&(R=w.slice(1),D=!0);const $=x&&x>y?x-y:void 0;return m3(c,D,R,$)};if(t){const i=t+h3,c=l;l=h=>h.startsWith(i)?c(h.slice(i.length)):m3(Fz,!1,h,void 0,!0)}if(r){const i=l;l=c=>r({className:c,parseClassName:i})}return l},Gz=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,l)=>{t.set(r,1e6+l)}),r=>{const l=[];let i=[];for(let c=0;c<r.length;c++){const h=r[c],m=h[0]==="[",y=t.has(h);m||y?(i.length>0&&(i.sort(),l.push(...i),i=[]),l.push(h)):i.push(h)}return i.length>0&&(i.sort(),l.push(...i)),l}},Yz=e=>({cache:Vz(e.cacheSize),parseClassName:Kz(e),sortModifiers:Gz(e),...qz(e)}),Xz=/\s+/,Wz=(e,t)=>{const{parseClassName:r,getClassGroupId:l,getConflictingClassGroupIds:i,sortModifiers:c}=t,h=[],m=e.trim().split(Xz);let y="";for(let x=m.length-1;x>=0;x-=1){const S=m[x],{isExternal:w,modifiers:R,hasImportantModifier:D,baseClassName:$,maybePostfixModifierPosition:O}=r(S);if(w){y=S+(y.length>0?" "+y:y);continue}let q=!!O,N=l(q?$.substring(0,O):$);if(!N){if(!q){y=S+(y.length>0?" "+y:y);continue}if(N=l($),!N){y=S+(y.length>0?" "+y:y);continue}q=!1}const U=R.length===0?"":R.length===1?R[0]:c(R).join(":"),I=D?U+k_:U,G=I+N;if(h.indexOf(G)>-1)continue;h.push(G);const F=i(N,q);for(let H=0;H<F.length;++H){const V=F[H];h.push(I+V)}y=S+(y.length>0?" "+y:y)}return y},Qz=(...e)=>{let t=0,r,l,i="";for(;t<e.length;)(r=e[t++])&&(l=l5(r))&&(i&&(i+=" "),i+=l);return i},l5=e=>{if(typeof e=="string")return e;let t,r="";for(let l=0;l<e.length;l++)e[l]&&(t=l5(e[l]))&&(r&&(r+=" "),r+=t);return r},L_=(e,...t)=>{let r,l,i,c;const h=y=>{const x=t.reduce((S,w)=>w(S),e());return r=Yz(x),l=r.cache.get,i=r.cache.set,c=m,m(y)},m=y=>{const x=l(y);if(x)return x;const S=Wz(y,r);return i(y,S),S};return c=h,(...y)=>c(Qz(...y))},Zz=[],bl=e=>{const t=r=>r[e]||Zz;return t.isThemeGetter=!0,t},o5=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,i5=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jz=/^\d+\/\d+$/,eU=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tU=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nU=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rU=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aU=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C0=e=>Jz.test(e),gn=e=>!!e&&!Number.isNaN(Number(e)),Mv=e=>!!e&&Number.isInteger(Number(e)),IA=e=>e.endsWith("%")&&gn(e.slice(0,-1)),fh=e=>eU.test(e),lU=()=>!0,oU=e=>tU.test(e)&&!nU.test(e),u5=()=>!1,iU=e=>rU.test(e),uU=e=>aU.test(e),sU=e=>!xt(e)&&!Et(e),cU=e=>W0(e,d5,u5),xt=e=>o5.test(e),jy=e=>W0(e,f5,oU),HA=e=>W0(e,mU,gn),v3=e=>W0(e,s5,u5),dU=e=>W0(e,c5,uU),MC=e=>W0(e,p5,iU),Et=e=>i5.test(e),Zx=e=>Q0(e,f5),fU=e=>Q0(e,vU),g3=e=>Q0(e,s5),pU=e=>Q0(e,d5),hU=e=>Q0(e,c5),OC=e=>Q0(e,p5,!0),W0=(e,t,r)=>{const l=o5.exec(e);return l?l[1]?t(l[1]):r(l[2]):!1},Q0=(e,t,r=!1)=>{const l=i5.exec(e);return l?l[1]?t(l[1]):r:!1},s5=e=>e==="position"||e==="percentage",c5=e=>e==="image"||e==="url",d5=e=>e==="length"||e==="size"||e==="bg-size",f5=e=>e==="length",mU=e=>e==="number",vU=e=>e==="family-name",p5=e=>e==="shadow",j_=()=>{const e=bl("color"),t=bl("font"),r=bl("text"),l=bl("font-weight"),i=bl("tracking"),c=bl("leading"),h=bl("breakpoint"),m=bl("container"),y=bl("spacing"),x=bl("radius"),S=bl("shadow"),w=bl("inset-shadow"),R=bl("text-shadow"),D=bl("drop-shadow"),$=bl("blur"),O=bl("perspective"),q=bl("aspect"),N=bl("ease"),U=bl("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...G(),Et,xt],H=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],X=()=>[Et,xt,y],le=()=>[C0,"full","auto",...X()],xe=()=>[Mv,"none","subgrid",Et,xt],Q=()=>["auto",{span:["full",Mv,Et,xt]},Mv,Et,xt],ue=()=>[Mv,"auto",Et,xt],se=()=>["auto","min","max","fr",Et,xt],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ge=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...X()],W=()=>[C0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...X()],ee=()=>[e,Et,xt],me=()=>[...G(),g3,v3,{position:[Et,xt]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],be=()=>["auto","cover","contain",pU,cU,{size:[Et,xt]}],ie=()=>[IA,Zx,jy],fe=()=>["","none","full",x,Et,xt],_e=()=>["",gn,Zx,jy],$e=()=>["solid","dashed","dotted","double"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>[gn,IA,g3,v3],Ye=()=>["","none",$,Et,xt],oe=()=>["none",gn,Et,xt],je=()=>["none",gn,Et,xt],Le=()=>[gn,Et,xt],we=()=>[C0,"full",...X()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fh],breakpoint:[fh],color:[lU],container:[fh],"drop-shadow":[fh],ease:["in","out","in-out"],font:[sU],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fh],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fh],shadow:[fh],spacing:["px",gn],text:[fh],"text-shadow":[fh],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",C0,xt,Et,q]}],container:["container"],columns:[{columns:[gn,xt,Et,m]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[Mv,"auto",Et,xt]}],basis:[{basis:[C0,"full","auto",m,...X()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[gn,C0,"auto","initial","none",xt]}],grow:[{grow:["",gn,Et,xt]}],shrink:[{shrink:["",gn,Et,xt]}],order:[{order:[Mv,"first","last","none",Et,xt]}],"grid-cols":[{"grid-cols":xe()}],"col-start-end":[{col:Q()}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":xe()}],"row-start-end":[{row:Q()}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:X()}],"gap-x":[{"gap-x":X()}],"gap-y":[{"gap-y":X()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...ge(),"normal"]}],"justify-self":[{"justify-self":["auto",...ge()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...ge(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ge(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...ge(),"baseline"]}],"place-self":[{"place-self":["auto",...ge()]}],p:[{p:X()}],px:[{px:X()}],py:[{py:X()}],ps:[{ps:X()}],pe:[{pe:X()}],pt:[{pt:X()}],pr:[{pr:X()}],pb:[{pb:X()}],pl:[{pl:X()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":X()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":X()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[m,"screen",...W()]}],"min-w":[{"min-w":[m,"screen","none",...W()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[h]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",r,Zx,jy]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,Et,HA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",IA,xt]}],"font-family":[{font:[fU,xt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Et,xt]}],"line-clamp":[{"line-clamp":[gn,"none",Et,HA]}],leading:[{leading:[c,...X()]}],"list-image":[{"list-image":["none",Et,xt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Et,xt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ee()}],"text-color":[{text:ee()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$e(),"wavy"]}],"text-decoration-thickness":[{decoration:[gn,"from-font","auto",Et,jy]}],"text-decoration-color":[{decoration:ee()}],"underline-offset":[{"underline-offset":[gn,"auto",Et,xt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Et,xt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Et,xt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:be()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Mv,Et,xt],radial:["",Et,xt],conic:[Mv,Et,xt]},hU,dU]}],"bg-color":[{bg:ee()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:ee()}],"gradient-via":[{via:ee()}],"gradient-to":[{to:ee()}],rounded:[{rounded:fe()}],"rounded-s":[{"rounded-s":fe()}],"rounded-e":[{"rounded-e":fe()}],"rounded-t":[{"rounded-t":fe()}],"rounded-r":[{"rounded-r":fe()}],"rounded-b":[{"rounded-b":fe()}],"rounded-l":[{"rounded-l":fe()}],"rounded-ss":[{"rounded-ss":fe()}],"rounded-se":[{"rounded-se":fe()}],"rounded-ee":[{"rounded-ee":fe()}],"rounded-es":[{"rounded-es":fe()}],"rounded-tl":[{"rounded-tl":fe()}],"rounded-tr":[{"rounded-tr":fe()}],"rounded-br":[{"rounded-br":fe()}],"rounded-bl":[{"rounded-bl":fe()}],"border-w":[{border:_e()}],"border-w-x":[{"border-x":_e()}],"border-w-y":[{"border-y":_e()}],"border-w-s":[{"border-s":_e()}],"border-w-e":[{"border-e":_e()}],"border-w-t":[{"border-t":_e()}],"border-w-r":[{"border-r":_e()}],"border-w-b":[{"border-b":_e()}],"border-w-l":[{"border-l":_e()}],"divide-x":[{"divide-x":_e()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":_e()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$e(),"hidden","none"]}],"divide-style":[{divide:[...$e(),"hidden","none"]}],"border-color":[{border:ee()}],"border-color-x":[{"border-x":ee()}],"border-color-y":[{"border-y":ee()}],"border-color-s":[{"border-s":ee()}],"border-color-e":[{"border-e":ee()}],"border-color-t":[{"border-t":ee()}],"border-color-r":[{"border-r":ee()}],"border-color-b":[{"border-b":ee()}],"border-color-l":[{"border-l":ee()}],"divide-color":[{divide:ee()}],"outline-style":[{outline:[...$e(),"none","hidden"]}],"outline-offset":[{"outline-offset":[gn,Et,xt]}],"outline-w":[{outline:["",gn,Zx,jy]}],"outline-color":[{outline:ee()}],shadow:[{shadow:["","none",S,OC,MC]}],"shadow-color":[{shadow:ee()}],"inset-shadow":[{"inset-shadow":["none",w,OC,MC]}],"inset-shadow-color":[{"inset-shadow":ee()}],"ring-w":[{ring:_e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ee()}],"ring-offset-w":[{"ring-offset":[gn,jy]}],"ring-offset-color":[{"ring-offset":ee()}],"inset-ring-w":[{"inset-ring":_e()}],"inset-ring-color":[{"inset-ring":ee()}],"text-shadow":[{"text-shadow":["none",R,OC,MC]}],"text-shadow-color":[{"text-shadow":ee()}],opacity:[{opacity:[gn,Et,xt]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[gn]}],"mask-image-linear-from-pos":[{"mask-linear-from":Re()}],"mask-image-linear-to-pos":[{"mask-linear-to":Re()}],"mask-image-linear-from-color":[{"mask-linear-from":ee()}],"mask-image-linear-to-color":[{"mask-linear-to":ee()}],"mask-image-t-from-pos":[{"mask-t-from":Re()}],"mask-image-t-to-pos":[{"mask-t-to":Re()}],"mask-image-t-from-color":[{"mask-t-from":ee()}],"mask-image-t-to-color":[{"mask-t-to":ee()}],"mask-image-r-from-pos":[{"mask-r-from":Re()}],"mask-image-r-to-pos":[{"mask-r-to":Re()}],"mask-image-r-from-color":[{"mask-r-from":ee()}],"mask-image-r-to-color":[{"mask-r-to":ee()}],"mask-image-b-from-pos":[{"mask-b-from":Re()}],"mask-image-b-to-pos":[{"mask-b-to":Re()}],"mask-image-b-from-color":[{"mask-b-from":ee()}],"mask-image-b-to-color":[{"mask-b-to":ee()}],"mask-image-l-from-pos":[{"mask-l-from":Re()}],"mask-image-l-to-pos":[{"mask-l-to":Re()}],"mask-image-l-from-color":[{"mask-l-from":ee()}],"mask-image-l-to-color":[{"mask-l-to":ee()}],"mask-image-x-from-pos":[{"mask-x-from":Re()}],"mask-image-x-to-pos":[{"mask-x-to":Re()}],"mask-image-x-from-color":[{"mask-x-from":ee()}],"mask-image-x-to-color":[{"mask-x-to":ee()}],"mask-image-y-from-pos":[{"mask-y-from":Re()}],"mask-image-y-to-pos":[{"mask-y-to":Re()}],"mask-image-y-from-color":[{"mask-y-from":ee()}],"mask-image-y-to-color":[{"mask-y-to":ee()}],"mask-image-radial":[{"mask-radial":[Et,xt]}],"mask-image-radial-from-pos":[{"mask-radial-from":Re()}],"mask-image-radial-to-pos":[{"mask-radial-to":Re()}],"mask-image-radial-from-color":[{"mask-radial-from":ee()}],"mask-image-radial-to-color":[{"mask-radial-to":ee()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":G()}],"mask-image-conic-pos":[{"mask-conic":[gn]}],"mask-image-conic-from-pos":[{"mask-conic-from":Re()}],"mask-image-conic-to-pos":[{"mask-conic-to":Re()}],"mask-image-conic-from-color":[{"mask-conic-from":ee()}],"mask-image-conic-to-color":[{"mask-conic-to":ee()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:be()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Et,xt]}],filter:[{filter:["","none",Et,xt]}],blur:[{blur:Ye()}],brightness:[{brightness:[gn,Et,xt]}],contrast:[{contrast:[gn,Et,xt]}],"drop-shadow":[{"drop-shadow":["","none",D,OC,MC]}],"drop-shadow-color":[{"drop-shadow":ee()}],grayscale:[{grayscale:["",gn,Et,xt]}],"hue-rotate":[{"hue-rotate":[gn,Et,xt]}],invert:[{invert:["",gn,Et,xt]}],saturate:[{saturate:[gn,Et,xt]}],sepia:[{sepia:["",gn,Et,xt]}],"backdrop-filter":[{"backdrop-filter":["","none",Et,xt]}],"backdrop-blur":[{"backdrop-blur":Ye()}],"backdrop-brightness":[{"backdrop-brightness":[gn,Et,xt]}],"backdrop-contrast":[{"backdrop-contrast":[gn,Et,xt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",gn,Et,xt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[gn,Et,xt]}],"backdrop-invert":[{"backdrop-invert":["",gn,Et,xt]}],"backdrop-opacity":[{"backdrop-opacity":[gn,Et,xt]}],"backdrop-saturate":[{"backdrop-saturate":[gn,Et,xt]}],"backdrop-sepia":[{"backdrop-sepia":["",gn,Et,xt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":X()}],"border-spacing-x":[{"border-spacing-x":X()}],"border-spacing-y":[{"border-spacing-y":X()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Et,xt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[gn,"initial",Et,xt]}],ease:[{ease:["linear","initial",N,Et,xt]}],delay:[{delay:[gn,Et,xt]}],animate:[{animate:["none",U,Et,xt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[O,Et,xt]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:oe()}],"rotate-x":[{"rotate-x":oe()}],"rotate-y":[{"rotate-y":oe()}],"rotate-z":[{"rotate-z":oe()}],scale:[{scale:je()}],"scale-x":[{"scale-x":je()}],"scale-y":[{"scale-y":je()}],"scale-z":[{"scale-z":je()}],"scale-3d":["scale-3d"],skew:[{skew:Le()}],"skew-x":[{"skew-x":Le()}],"skew-y":[{"skew-y":Le()}],transform:[{transform:[Et,xt,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:we()}],"translate-x":[{"translate-x":we()}],"translate-y":[{"translate-y":we()}],"translate-z":[{"translate-z":we()}],"translate-none":["translate-none"],accent:[{accent:ee()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ee()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Et,xt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Et,xt]}],fill:[{fill:["none",...ee()]}],"stroke-w":[{stroke:[gn,Zx,jy,HA]}],stroke:[{stroke:["none",...ee()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},gU=(e,{cacheSize:t,prefix:r,experimentalParseClassName:l,extend:i={},override:c={}})=>(IS(e,"cacheSize",t),IS(e,"prefix",r),IS(e,"experimentalParseClassName",l),NC(e.theme,c.theme),NC(e.classGroups,c.classGroups),NC(e.conflictingClassGroups,c.conflictingClassGroups),NC(e.conflictingClassGroupModifiers,c.conflictingClassGroupModifiers),IS(e,"orderSensitiveModifiers",c.orderSensitiveModifiers),$C(e.theme,i.theme),$C(e.classGroups,i.classGroups),$C(e.conflictingClassGroups,i.conflictingClassGroups),$C(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),h5(e,i,"orderSensitiveModifiers"),e),IS=(e,t,r)=>{r!==void 0&&(e[t]=r)},NC=(e,t)=>{if(t)for(const r in t)IS(e,r,t[r])},$C=(e,t)=>{if(t)for(const r in t)h5(e,t,r)},h5=(e,t,r)=>{const l=t[r];l!==void 0&&(e[r]=e[r]?e[r].concat(l):l)},m5=(e,...t)=>typeof e=="function"?L_(j_,e,...t):L_(()=>gU(j_(),e),...t),yU=L_(j_),v5=m5({});function Ve(...e){return v5(VD(e))}function vt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),r===!1||!i.defaultPrevented)return t?.(i)}}function y3(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function qr(...e){return t=>{let r=!1;const l=e.map(i=>{const c=y3(i,t);return!r&&typeof c=="function"&&(r=!0),c});if(r)return()=>{for(let i=0;i<l.length;i++){const c=l[i];typeof c=="function"?c():y3(e[i],null)}}}}function Sn(...e){return _.useCallback(qr(...e),e)}function g5(e,t){const r=_.createContext(t),l=c=>{const{children:h,...m}=c,y=_.useMemo(()=>m,Object.values(m));return M.jsx(r.Provider,{value:y,children:h})};l.displayName=e+"Provider";function i(c){const h=_.useContext(r);if(h)return h;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[l,i]}function Pf(e,t=[]){let r=[];function l(c,h){const m=_.createContext(h),y=r.length;r=[...r,h];const x=w=>{const{scope:R,children:D,...$}=w,O=R?.[e]?.[y]||m,q=_.useMemo(()=>$,Object.values($));return M.jsx(O.Provider,{value:q,children:D})};x.displayName=c+"Provider";function S(w,R){const D=R?.[e]?.[y]||m,$=_.useContext(D);if($)return $;if(h!==void 0)return h;throw new Error(`\`${w}\` must be used within \`${c}\``)}return[x,S]}const i=()=>{const c=r.map(h=>_.createContext(h));return function(m){const y=m?.[e]||c;return _.useMemo(()=>({[`__scope${e}`]:{...m,[e]:y}}),[m,y])}};return i.scopeName=e,[l,bU(i,...t)]}function bU(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const l=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(c){const h=l.reduce((m,{useScope:y,scopeName:x})=>{const w=y(c)[`__scope${x}`];return{...m,...w}},{});return _.useMemo(()=>({[`__scope${t.scopeName}`]:h}),[h])}};return r.scopeName=t.scopeName,r}var El=globalThis?.document?_.useLayoutEffect:()=>{},xU=_[" useId ".trim().toString()]||(()=>{}),EU=0;function sa(e){const[t,r]=_.useState(xU());return El(()=>{r(l=>l??String(EU++))},[e]),e||(t?`radix-${t}`:"")}var SU=_[" useInsertionEffect ".trim().toString()]||El;function vr({prop:e,defaultProp:t,onChange:r=()=>{},caller:l}){const[i,c,h]=wU({defaultProp:t,onChange:r}),m=e!==void 0,y=m?e:i;{const S=_.useRef(e!==void 0);_.useEffect(()=>{const w=S.current;w!==m&&console.warn(`${l} is changing from ${w?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),S.current=m},[m,l])}const x=_.useCallback(S=>{if(m){const w=CU(S)?S(e):S;w!==e&&h.current?.(w)}else c(S)},[m,e,c,h]);return[y,x]}function wU({defaultProp:e,onChange:t}){const[r,l]=_.useState(e),i=_.useRef(r),c=_.useRef(t);return SU(()=>{c.current=t},[t]),_.useEffect(()=>{i.current!==r&&(c.current?.(r),i.current=r)},[r,i]),[r,l,c]}function CU(e){return typeof e=="function"}function RU(e){const t=TU(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(_U);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function TU(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=MU(i),m=DU(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var AU=Symbol("radix.slottable");function _U(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===AU}function DU(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function MU(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var OU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],y5=OU.reduce((e,t)=>{const r=RU(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function NU(e,t){e&&X0.flushSync(()=>e.dispatchEvent(t))}function co(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e}),_.useMemo(()=>(...r)=>t.current?.(...r),[])}function b5(e,t=globalThis?.document){const r=co(e);_.useEffect(()=>{const l=i=>{i.key==="Escape"&&r(i)};return t.addEventListener("keydown",l,{capture:!0}),()=>t.removeEventListener("keydown",l,{capture:!0})},[r,t])}var $U="DismissableLayer",B_="dismissableLayer.update",PU="dismissableLayer.pointerDownOutside",qU="dismissableLayer.focusOutside",b3,x5=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Z0=_.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:l,onPointerDownOutside:i,onFocusOutside:c,onInteractOutside:h,onDismiss:m,...y}=e,x=_.useContext(x5),[S,w]=_.useState(null),R=S?.ownerDocument??globalThis?.document,[,D]=_.useState({}),$=Sn(t,V=>w(V)),O=Array.from(x.layers),[q]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),N=O.indexOf(q),U=S?O.indexOf(S):-1,I=x.layersWithOutsidePointerEventsDisabled.size>0,G=U>=N,F=jU(V=>{const X=V.target,le=[...x.branches].some(xe=>xe.contains(X));!G||le||(i?.(V),h?.(V),V.defaultPrevented||m?.())},R),H=BU(V=>{const X=V.target;[...x.branches].some(xe=>xe.contains(X))||(c?.(V),h?.(V),V.defaultPrevented||m?.())},R);return b5(V=>{U===x.layers.size-1&&(l?.(V),!V.defaultPrevented&&m&&(V.preventDefault(),m()))},R),_.useEffect(()=>{if(S)return r&&(x.layersWithOutsidePointerEventsDisabled.size===0&&(b3=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(S)),x.layers.add(S),x3(),()=>{r&&x.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=b3)}},[S,R,r,x]),_.useEffect(()=>()=>{S&&(x.layers.delete(S),x.layersWithOutsidePointerEventsDisabled.delete(S),x3())},[S,x]),_.useEffect(()=>{const V=()=>D({});return document.addEventListener(B_,V),()=>document.removeEventListener(B_,V)},[]),M.jsx(y5.div,{...y,ref:$,style:{pointerEvents:I?G?"auto":"none":void 0,...e.style},onFocusCapture:vt(e.onFocusCapture,H.onFocusCapture),onBlurCapture:vt(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:vt(e.onPointerDownCapture,F.onPointerDownCapture)})});Z0.displayName=$U;var kU="DismissableLayerBranch",LU=_.forwardRef((e,t)=>{const r=_.useContext(x5),l=_.useRef(null),i=Sn(t,l);return _.useEffect(()=>{const c=l.current;if(c)return r.branches.add(c),()=>{r.branches.delete(c)}},[r.branches]),M.jsx(y5.div,{...e,ref:i})});LU.displayName=kU;function jU(e,t=globalThis?.document){const r=co(e),l=_.useRef(!1),i=_.useRef(()=>{});return _.useEffect(()=>{const c=m=>{if(m.target&&!l.current){let y=function(){E5(PU,r,x,{discrete:!0})};const x={originalEvent:m};m.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=y,t.addEventListener("click",i.current,{once:!0})):y()}else t.removeEventListener("click",i.current);l.current=!1},h=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(h),t.removeEventListener("pointerdown",c),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>l.current=!0}}function BU(e,t=globalThis?.document){const r=co(e),l=_.useRef(!1);return _.useEffect(()=>{const i=c=>{c.target&&!l.current&&E5(qU,r,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function x3(){const e=new CustomEvent(B_);document.dispatchEvent(e)}function E5(e,t,r,{discrete:l}){const i=r.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),l?NU(i,c):i.dispatchEvent(c)}function zU(e){const t=UU(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(HU);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function UU(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=FU(i),m=VU(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var IU=Symbol("radix.slottable");function HU(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===IU}function VU(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function FU(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var KU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GU=KU.reduce((e,t)=>{const r=zU(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),VA="focusScope.autoFocusOnMount",FA="focusScope.autoFocusOnUnmount",E3={bubbles:!1,cancelable:!0},YU="FocusScope",pw=_.forwardRef((e,t)=>{const{loop:r=!1,trapped:l=!1,onMountAutoFocus:i,onUnmountAutoFocus:c,...h}=e,[m,y]=_.useState(null),x=co(i),S=co(c),w=_.useRef(null),R=Sn(t,O=>y(O)),D=_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;_.useEffect(()=>{if(l){let O=function(I){if(D.paused||!m)return;const G=I.target;m.contains(G)?w.current=G:qv(w.current,{select:!0})},q=function(I){if(D.paused||!m)return;const G=I.relatedTarget;G!==null&&(m.contains(G)||qv(w.current,{select:!0}))},N=function(I){if(document.activeElement===document.body)for(const F of I)F.removedNodes.length>0&&qv(m)};document.addEventListener("focusin",O),document.addEventListener("focusout",q);const U=new MutationObserver(N);return m&&U.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",O),document.removeEventListener("focusout",q),U.disconnect()}}},[l,m,D.paused]),_.useEffect(()=>{if(m){w3.add(D);const O=document.activeElement;if(!m.contains(O)){const N=new CustomEvent(VA,E3);m.addEventListener(VA,x),m.dispatchEvent(N),N.defaultPrevented||(XU(eI(S5(m)),{select:!0}),document.activeElement===O&&qv(m))}return()=>{m.removeEventListener(VA,x),setTimeout(()=>{const N=new CustomEvent(FA,E3);m.addEventListener(FA,S),m.dispatchEvent(N),N.defaultPrevented||qv(O??document.body,{select:!0}),m.removeEventListener(FA,S),w3.remove(D)},0)}}},[m,x,S,D]);const $=_.useCallback(O=>{if(!r&&!l||D.paused)return;const q=O.key==="Tab"&&!O.altKey&&!O.ctrlKey&&!O.metaKey,N=document.activeElement;if(q&&N){const U=O.currentTarget,[I,G]=WU(U);I&&G?!O.shiftKey&&N===G?(O.preventDefault(),r&&qv(I,{select:!0})):O.shiftKey&&N===I&&(O.preventDefault(),r&&qv(G,{select:!0})):N===U&&O.preventDefault()}},[r,l,D.paused]);return M.jsx(GU.div,{tabIndex:-1,...h,ref:R,onKeyDown:$})});pw.displayName=YU;function XU(e,{select:t=!1}={}){const r=document.activeElement;for(const l of e)if(qv(l,{select:t}),document.activeElement!==r)return}function WU(e){const t=S5(e),r=S3(t,e),l=S3(t.reverse(),e);return[r,l]}function S5(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const i=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||i?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function S3(e,t){for(const r of e)if(!QU(r,{upTo:t}))return r}function QU(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ZU(e){return e instanceof HTMLInputElement&&"select"in e}function qv(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&ZU(e)&&t&&e.select()}}var w3=JU();function JU(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=C3(e,t),e.unshift(t)},remove(t){e=C3(e,t),e[0]?.resume()}}}function C3(e,t){const r=[...e],l=r.indexOf(t);return l!==-1&&r.splice(l,1),r}function eI(e){return e.filter(t=>t.tagName!=="A")}function tI(e){const t=nI(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(aI);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function nI(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=oI(i),m=lI(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var rI=Symbol("radix.slottable");function aI(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===rI}function lI(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function oI(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var iI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uI=iI.reduce((e,t)=>{const r=tI(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),sI="Portal",J0=_.forwardRef((e,t)=>{const{container:r,...l}=e,[i,c]=_.useState(!1);El(()=>c(!0),[]);const h=r||i&&globalThis?.document?.body;return h?Hu.createPortal(M.jsx(uI.div,{...l,ref:t}),h):null});J0.displayName=sI;function cI(e,t){return _.useReducer((r,l)=>t[r][l]??r,e)}var Fu=e=>{const{present:t,children:r}=e,l=dI(t),i=typeof r=="function"?r({present:l.isPresent}):_.Children.only(r),c=Sn(l.ref,fI(i));return typeof r=="function"||l.isPresent?_.cloneElement(i,{ref:c}):null};Fu.displayName="Presence";function dI(e){const[t,r]=_.useState(),l=_.useRef(null),i=_.useRef(e),c=_.useRef("none"),h=e?"mounted":"unmounted",[m,y]=cI(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return _.useEffect(()=>{const x=PC(l.current);c.current=m==="mounted"?x:"none"},[m]),El(()=>{const x=l.current,S=i.current;if(S!==e){const R=c.current,D=PC(x);e?y("MOUNT"):D==="none"||x?.display==="none"?y("UNMOUNT"):y(S&&R!==D?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,y]),El(()=>{if(t){let x;const S=t.ownerDocument.defaultView??window,w=D=>{const O=PC(l.current).includes(CSS.escape(D.animationName));if(D.target===t&&O&&(y("ANIMATION_END"),!i.current)){const q=t.style.animationFillMode;t.style.animationFillMode="forwards",x=S.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=q)})}},R=D=>{D.target===t&&(c.current=PC(l.current))};return t.addEventListener("animationstart",R),t.addEventListener("animationcancel",w),t.addEventListener("animationend",w),()=>{S.clearTimeout(x),t.removeEventListener("animationstart",R),t.removeEventListener("animationcancel",w),t.removeEventListener("animationend",w)}}else y("ANIMATION_END")},[t,y]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:_.useCallback(x=>{l.current=x?getComputedStyle(x):null,r(x)},[])}}function PC(e){return e?.animationName||"none"}function fI(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function w5(e){const t=pI(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(mI);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function pI(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=gI(i),m=vI(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hI=Symbol("radix.slottable");function mI(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hI}function vI(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function gI(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var yI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],hw=yI.reduce((e,t)=>{const r=w5(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),KA=0;function KR(){_.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??R3()),document.body.insertAdjacentElement("beforeend",e[1]??R3()),KA++,()=>{KA===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),KA--}},[])}function R3(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Af=function(){return Af=Object.assign||function(t){for(var r,l=1,i=arguments.length;l<i;l++){r=arguments[l];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(t[c]=r[c])}return t},Af.apply(this,arguments)};function C5(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(r[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,l=Object.getOwnPropertySymbols(e);i<l.length;i++)t.indexOf(l[i])<0&&Object.prototype.propertyIsEnumerable.call(e,l[i])&&(r[l[i]]=e[l[i]]);return r}function bI(e,t,r){if(r||arguments.length===2)for(var l=0,i=t.length,c;l<i;l++)(c||!(l in t))&&(c||(c=Array.prototype.slice.call(t,0,l)),c[l]=t[l]);return e.concat(c||Array.prototype.slice.call(t))}var aR="right-scroll-bar-position",lR="width-before-scroll-bar",xI="with-scroll-bars-hidden",EI="--removed-body-scroll-bar-size";function GA(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function SI(e,t){var r=j.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(l){var i=r.value;i!==l&&(r.value=l,r.callback(l,i))}}}})[0];return r.callback=t,r.facade}var wI=typeof window<"u"?_.useLayoutEffect:_.useEffect,T3=new WeakMap;function CI(e,t){var r=SI(null,function(l){return e.forEach(function(i){return GA(i,l)})});return wI(function(){var l=T3.get(r);if(l){var i=new Set(l),c=new Set(e),h=r.current;i.forEach(function(m){c.has(m)||GA(m,null)}),c.forEach(function(m){i.has(m)||GA(m,h)})}T3.set(r,e)},[e]),r}function RI(e){return e}function TI(e,t){t===void 0&&(t=RI);var r=[],l=!1,i={read:function(){if(l)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(c){var h=t(c,l);return r.push(h),function(){r=r.filter(function(m){return m!==h})}},assignSyncMedium:function(c){for(l=!0;r.length;){var h=r;r=[],h.forEach(c)}r={push:function(m){return c(m)},filter:function(){return r}}},assignMedium:function(c){l=!0;var h=[];if(r.length){var m=r;r=[],m.forEach(c),h=r}var y=function(){var S=h;h=[],S.forEach(c)},x=function(){return Promise.resolve().then(y)};x(),r={push:function(S){h.push(S),x()},filter:function(S){return h=h.filter(S),r}}}};return i}function AI(e){e===void 0&&(e={});var t=TI(null);return t.options=Af({async:!0,ssr:!1},e),t}var R5=function(e){var t=e.sideCar,r=C5(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var l=t.read();if(!l)throw new Error("Sidecar medium not found");return _.createElement(l,Af({},r))};R5.isSideCarExport=!0;function _I(e,t){return e.useMedium(t),R5}var T5=AI(),YA=function(){},GR=_.forwardRef(function(e,t){var r=_.useRef(null),l=_.useState({onScrollCapture:YA,onWheelCapture:YA,onTouchMoveCapture:YA}),i=l[0],c=l[1],h=e.forwardProps,m=e.children,y=e.className,x=e.removeScrollBar,S=e.enabled,w=e.shards,R=e.sideCar,D=e.noIsolation,$=e.inert,O=e.allowPinchZoom,q=e.as,N=q===void 0?"div":q,U=e.gapMode,I=C5(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),G=R,F=CI([r,t]),H=Af(Af({},I),i);return _.createElement(_.Fragment,null,S&&_.createElement(G,{sideCar:T5,removeScrollBar:x,shards:w,noIsolation:D,inert:$,setCallbacks:c,allowPinchZoom:!!O,lockRef:r,gapMode:U}),h?_.cloneElement(_.Children.only(m),Af(Af({},H),{ref:F})):_.createElement(N,Af({},H,{className:y,ref:F}),m))});GR.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};GR.classNames={fullWidth:lR,zeroRight:aR};var DI=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function MI(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=DI();return t&&e.setAttribute("nonce",t),e}function OI(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function NI(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $I=function(){var e=0,t=null;return{add:function(r){e==0&&(t=MI())&&(OI(t,r),NI(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},PI=function(){var e=$I();return function(t,r){_.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},A5=function(){var e=PI(),t=function(r){var l=r.styles,i=r.dynamic;return e(l,i),null};return t},qI={left:0,top:0,right:0,gap:0},XA=function(e){return parseInt(e||"",10)||0},kI=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],l=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[XA(r),XA(l),XA(i)]},LI=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return qI;var t=kI(e),r=document.documentElement.clientWidth,l=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,l-r+t[2]-t[0])}},jI=A5(),B0="data-scroll-locked",BI=function(e,t,r,l){var i=e.left,c=e.top,h=e.right,m=e.gap;return r===void 0&&(r="margin"),`
|
|
7
|
+
.`.concat(xI,` {
|
|
8
|
+
overflow: hidden `).concat(l,`;
|
|
9
|
+
padding-right: `).concat(m,"px ").concat(l,`;
|
|
10
|
+
}
|
|
11
|
+
body[`).concat(B0,`] {
|
|
12
|
+
overflow: hidden `).concat(l,`;
|
|
13
|
+
overscroll-behavior: contain;
|
|
14
|
+
`).concat([t&&"position: relative ".concat(l,";"),r==="margin"&&`
|
|
15
|
+
padding-left: `.concat(i,`px;
|
|
16
|
+
padding-top: `).concat(c,`px;
|
|
17
|
+
padding-right: `).concat(h,`px;
|
|
18
|
+
margin-left:0;
|
|
19
|
+
margin-top:0;
|
|
20
|
+
margin-right: `).concat(m,"px ").concat(l,`;
|
|
21
|
+
`),r==="padding"&&"padding-right: ".concat(m,"px ").concat(l,";")].filter(Boolean).join(""),`
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.`).concat(aR,` {
|
|
25
|
+
right: `).concat(m,"px ").concat(l,`;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.`).concat(lR,` {
|
|
29
|
+
margin-right: `).concat(m,"px ").concat(l,`;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.`).concat(aR," .").concat(aR,` {
|
|
33
|
+
right: 0 `).concat(l,`;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.`).concat(lR," .").concat(lR,` {
|
|
37
|
+
margin-right: 0 `).concat(l,`;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
body[`).concat(B0,`] {
|
|
41
|
+
`).concat(EI,": ").concat(m,`px;
|
|
42
|
+
}
|
|
43
|
+
`)},A3=function(){var e=parseInt(document.body.getAttribute(B0)||"0",10);return isFinite(e)?e:0},zI=function(){_.useEffect(function(){return document.body.setAttribute(B0,(A3()+1).toString()),function(){var e=A3()-1;e<=0?document.body.removeAttribute(B0):document.body.setAttribute(B0,e.toString())}},[])},UI=function(e){var t=e.noRelative,r=e.noImportant,l=e.gapMode,i=l===void 0?"margin":l;zI();var c=_.useMemo(function(){return LI(i)},[i]);return _.createElement(jI,{styles:BI(c,!t,i,r?"":"!important")})},z_=!1;if(typeof window<"u")try{var qC=Object.defineProperty({},"passive",{get:function(){return z_=!0,!0}});window.addEventListener("test",qC,qC),window.removeEventListener("test",qC,qC)}catch{z_=!1}var R0=z_?{passive:!1}:!1,II=function(e){return e.tagName==="TEXTAREA"},_5=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!II(e)&&r[t]==="visible")},HI=function(e){return _5(e,"overflowY")},VI=function(e){return _5(e,"overflowX")},_3=function(e,t){var r=t.ownerDocument,l=t;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var i=D5(e,l);if(i){var c=M5(e,l),h=c[1],m=c[2];if(h>m)return!0}l=l.parentNode}while(l&&l!==r.body);return!1},FI=function(e){var t=e.scrollTop,r=e.scrollHeight,l=e.clientHeight;return[t,r,l]},KI=function(e){var t=e.scrollLeft,r=e.scrollWidth,l=e.clientWidth;return[t,r,l]},D5=function(e,t){return e==="v"?HI(t):VI(t)},M5=function(e,t){return e==="v"?FI(t):KI(t)},GI=function(e,t){return e==="h"&&t==="rtl"?-1:1},YI=function(e,t,r,l,i){var c=GI(e,window.getComputedStyle(t).direction),h=c*l,m=r.target,y=t.contains(m),x=!1,S=h>0,w=0,R=0;do{var D=M5(e,m),$=D[0],O=D[1],q=D[2],N=O-q-c*$;($||N)&&D5(e,m)&&(w+=N,R+=$),m instanceof ShadowRoot?m=m.host:m=m.parentNode}while(!y&&m!==document.body||y&&(t.contains(m)||t===m));return(S&&Math.abs(w)<1||!S&&Math.abs(R)<1)&&(x=!0),x},kC=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},D3=function(e){return[e.deltaX,e.deltaY]},M3=function(e){return e&&"current"in e?e.current:e},XI=function(e,t){return e[0]===t[0]&&e[1]===t[1]},WI=function(e){return`
|
|
44
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
45
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
46
|
+
`)},QI=0,T0=[];function ZI(e){var t=_.useRef([]),r=_.useRef([0,0]),l=_.useRef(),i=_.useState(QI++)[0],c=_.useState(A5)[0],h=_.useRef(e);_.useEffect(function(){h.current=e},[e]),_.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var O=bI([e.lockRef.current],(e.shards||[]).map(M3),!0).filter(Boolean);return O.forEach(function(q){return q.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),O.forEach(function(q){return q.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var m=_.useCallback(function(O,q){if("touches"in O&&O.touches.length===2||O.type==="wheel"&&O.ctrlKey)return!h.current.allowPinchZoom;var N=kC(O),U=r.current,I="deltaX"in O?O.deltaX:U[0]-N[0],G="deltaY"in O?O.deltaY:U[1]-N[1],F,H=O.target,V=Math.abs(I)>Math.abs(G)?"h":"v";if("touches"in O&&V==="h"&&H.type==="range")return!1;var X=_3(V,H);if(!X)return!0;if(X?F=V:(F=V==="v"?"h":"v",X=_3(V,H)),!X)return!1;if(!l.current&&"changedTouches"in O&&(I||G)&&(l.current=F),!F)return!0;var le=l.current||F;return YI(le,q,O,le==="h"?I:G)},[]),y=_.useCallback(function(O){var q=O;if(!(!T0.length||T0[T0.length-1]!==c)){var N="deltaY"in q?D3(q):kC(q),U=t.current.filter(function(F){return F.name===q.type&&(F.target===q.target||q.target===F.shadowParent)&&XI(F.delta,N)})[0];if(U&&U.should){q.cancelable&&q.preventDefault();return}if(!U){var I=(h.current.shards||[]).map(M3).filter(Boolean).filter(function(F){return F.contains(q.target)}),G=I.length>0?m(q,I[0]):!h.current.noIsolation;G&&q.cancelable&&q.preventDefault()}}},[]),x=_.useCallback(function(O,q,N,U){var I={name:O,delta:q,target:N,should:U,shadowParent:JI(N)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(G){return G!==I})},1)},[]),S=_.useCallback(function(O){r.current=kC(O),l.current=void 0},[]),w=_.useCallback(function(O){x(O.type,D3(O),O.target,m(O,e.lockRef.current))},[]),R=_.useCallback(function(O){x(O.type,kC(O),O.target,m(O,e.lockRef.current))},[]);_.useEffect(function(){return T0.push(c),e.setCallbacks({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:R}),document.addEventListener("wheel",y,R0),document.addEventListener("touchmove",y,R0),document.addEventListener("touchstart",S,R0),function(){T0=T0.filter(function(O){return O!==c}),document.removeEventListener("wheel",y,R0),document.removeEventListener("touchmove",y,R0),document.removeEventListener("touchstart",S,R0)}},[]);var D=e.removeScrollBar,$=e.inert;return _.createElement(_.Fragment,null,$?_.createElement(c,{styles:WI(i)}):null,D?_.createElement(UI,{gapMode:e.gapMode}):null)}function JI(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const eH=_I(T5,ZI);var ex=_.forwardRef(function(e,t){return _.createElement(GR,Af({},e,{ref:t,sideCar:eH}))});ex.classNames=GR.classNames;var tH=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},A0=new WeakMap,LC=new WeakMap,jC={},WA=0,O5=function(e){return e&&(e.host||O5(e.parentNode))},nH=function(e,t){return t.map(function(r){if(e.contains(r))return r;var l=O5(r);return l&&e.contains(l)?l:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},rH=function(e,t,r,l){var i=nH(t,Array.isArray(e)?e:[e]);jC[r]||(jC[r]=new WeakMap);var c=jC[r],h=[],m=new Set,y=new Set(i),x=function(w){!w||m.has(w)||(m.add(w),x(w.parentNode))};i.forEach(x);var S=function(w){!w||y.has(w)||Array.prototype.forEach.call(w.children,function(R){if(m.has(R))S(R);else try{var D=R.getAttribute(l),$=D!==null&&D!=="false",O=(A0.get(R)||0)+1,q=(c.get(R)||0)+1;A0.set(R,O),c.set(R,q),h.push(R),O===1&&$&&LC.set(R,!0),q===1&&R.setAttribute(r,"true"),$||R.setAttribute(l,"true")}catch(N){console.error("aria-hidden: cannot operate on ",R,N)}})};return S(t),m.clear(),WA++,function(){h.forEach(function(w){var R=A0.get(w)-1,D=c.get(w)-1;A0.set(w,R),c.set(w,D),R||(LC.has(w)||w.removeAttribute(l),LC.delete(w)),D||w.removeAttribute(r)}),WA--,WA||(A0=new WeakMap,A0=new WeakMap,LC=new WeakMap,jC={})}},mw=function(e,t,r){r===void 0&&(r="data-aria-hidden");var l=Array.from(Array.isArray(e)?e:[e]),i=tH(e);return i?(l.push.apply(l,Array.from(i.querySelectorAll("[aria-live]"))),rH(l,i,r,"aria-hidden")):function(){return null}},YR="Dialog",[N5]=Pf(YR),[aH,id]=N5(YR),$5=e=>{const{__scopeDialog:t,children:r,open:l,defaultOpen:i,onOpenChange:c,modal:h=!0}=e,m=_.useRef(null),y=_.useRef(null),[x,S]=vr({prop:l,defaultProp:i??!1,onChange:c,caller:YR});return M.jsx(aH,{scope:t,triggerRef:m,contentRef:y,contentId:sa(),titleId:sa(),descriptionId:sa(),open:x,onOpenChange:S,onOpenToggle:_.useCallback(()=>S(w=>!w),[S]),modal:h,children:r})};$5.displayName=YR;var P5="DialogTrigger",q5=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=id(P5,r),c=Sn(t,i.triggerRef);return M.jsx(hw.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":YD(i.open),...l,ref:c,onClick:vt(e.onClick,i.onOpenToggle)})});q5.displayName=P5;var KD="DialogPortal",[lH,k5]=N5(KD,{forceMount:void 0}),L5=e=>{const{__scopeDialog:t,forceMount:r,children:l,container:i}=e,c=id(KD,t);return M.jsx(lH,{scope:t,forceMount:r,children:_.Children.map(l,h=>M.jsx(Fu,{present:r||c.open,children:M.jsx(J0,{asChild:!0,container:i,children:h})}))})};L5.displayName=KD;var pR="DialogOverlay",j5=_.forwardRef((e,t)=>{const r=k5(pR,e.__scopeDialog),{forceMount:l=r.forceMount,...i}=e,c=id(pR,e.__scopeDialog);return c.modal?M.jsx(Fu,{present:l||c.open,children:M.jsx(iH,{...i,ref:t})}):null});j5.displayName=pR;var oH=w5("DialogOverlay.RemoveScroll"),iH=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=id(pR,r);return M.jsx(ex,{as:oH,allowPinchZoom:!0,shards:[i.contentRef],children:M.jsx(hw.div,{"data-state":YD(i.open),...l,ref:t,style:{pointerEvents:"auto",...l.style}})})}),Qy="DialogContent",B5=_.forwardRef((e,t)=>{const r=k5(Qy,e.__scopeDialog),{forceMount:l=r.forceMount,...i}=e,c=id(Qy,e.__scopeDialog);return M.jsx(Fu,{present:l||c.open,children:c.modal?M.jsx(uH,{...i,ref:t}):M.jsx(sH,{...i,ref:t})})});B5.displayName=Qy;var uH=_.forwardRef((e,t)=>{const r=id(Qy,e.__scopeDialog),l=_.useRef(null),i=Sn(t,r.contentRef,l);return _.useEffect(()=>{const c=l.current;if(c)return mw(c)},[]),M.jsx(z5,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:vt(e.onCloseAutoFocus,c=>{c.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:vt(e.onPointerDownOutside,c=>{const h=c.detail.originalEvent,m=h.button===0&&h.ctrlKey===!0;(h.button===2||m)&&c.preventDefault()}),onFocusOutside:vt(e.onFocusOutside,c=>c.preventDefault())})}),sH=_.forwardRef((e,t)=>{const r=id(Qy,e.__scopeDialog),l=_.useRef(!1),i=_.useRef(!1);return M.jsx(z5,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(l.current||r.triggerRef.current?.focus(),c.preventDefault()),l.current=!1,i.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(l.current=!0,c.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const h=c.target;r.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&i.current&&c.preventDefault()}})}),z5=_.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:c,...h}=e,m=id(Qy,r),y=_.useRef(null),x=Sn(t,y);return KR(),M.jsxs(M.Fragment,{children:[M.jsx(pw,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:i,onUnmountAutoFocus:c,children:M.jsx(Z0,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":YD(m.open),...h,ref:x,onDismiss:()=>m.onOpenChange(!1)})}),M.jsxs(M.Fragment,{children:[M.jsx(cH,{titleId:m.titleId}),M.jsx(fH,{contentRef:y,descriptionId:m.descriptionId})]})]})}),GD="DialogTitle",U5=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=id(GD,r);return M.jsx(hw.h2,{id:i.titleId,...l,ref:t})});U5.displayName=GD;var I5="DialogDescription",H5=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=id(I5,r);return M.jsx(hw.p,{id:i.descriptionId,...l,ref:t})});H5.displayName=I5;var V5="DialogClose",F5=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=id(V5,r);return M.jsx(hw.button,{type:"button",...l,ref:t,onClick:vt(e.onClick,()=>i.onOpenChange(!1))})});F5.displayName=V5;function YD(e){return e?"open":"closed"}var K5="DialogTitleWarning",[tpe,G5]=g5(K5,{contentName:Qy,titleName:GD,docsSlug:"dialog"}),cH=({titleId:e})=>{const t=G5(K5),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
47
|
+
|
|
48
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
49
|
+
|
|
50
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return _.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},dH="DialogDescriptionWarning",fH=({contentRef:e,descriptionId:t})=>{const l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${G5(dH).contentName}}.`;return _.useEffect(()=>{const i=e.current?.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(l))},[l,e,t]),null},pH=$5,hH=q5,mH=L5,vH=j5,gH=B5,yH=U5,bH=H5,Y5=F5;const xH=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),EH=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,l)=>l?l.toUpperCase():r.toLowerCase()),O3=e=>{const t=EH(e);return t.charAt(0).toUpperCase()+t.slice(1)},X5=(...e)=>e.filter((t,r,l)=>!!t&&t.trim()!==""&&l.indexOf(t)===r).join(" ").trim(),SH=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var wH={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const CH=j.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:l,className:i="",children:c,iconNode:h,...m},y)=>j.createElement("svg",{ref:y,...wH,width:t,height:t,stroke:e,strokeWidth:l?Number(r)*24/Number(t):r,className:X5("lucide",i),...!c&&!SH(m)&&{"aria-hidden":"true"},...m},[...h.map(([x,S])=>j.createElement(x,S)),...Array.isArray(c)?c:[c]]));const Da=(e,t)=>{const r=j.forwardRef(({className:l,...i},c)=>j.createElement(CH,{ref:c,iconNode:t,className:X5(`lucide-${xH(O3(e))}`,`lucide-${e}`,l),...i}));return r.displayName=O3(e),r};const RH=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],TH=Da("calendar",RH);const AH=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],hR=Da("check",AH);const _H=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],W5=Da("chevron-down",_H);const DH=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],XD=Da("chevron-left",DH);const MH=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],vw=Da("chevron-right",MH);const OH=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Q5=Da("chevron-up",OH);const NH=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],$H=Da("chevrons-left",NH);const PH=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],qH=Da("chevrons-right",PH);const kH=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],mR=Da("chevrons-up-down",kH);const LH=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],jH=Da("circle-alert",LH);const BH=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],zH=Da("circle-check",BH);const UH=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],IH=Da("circle-x",UH);const HH=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],VH=Da("circle",HH);const FH=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],KH=Da("cloud-upload",FH);const GH=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],YH=Da("eye-off",GH);const XH=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],WH=Da("eye",XH);const QH=[["path",{d:"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1",key:"1bw5m7"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}]],ZH=Da("folder-search",QH);const JH=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],vR=Da("loader-circle",JH);const eV=[["path",{d:"M5 12h14",key:"1ays0h"}]],tV=Da("minus",eV);const nV=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],rV=Da("search",nV);const aV=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],XR=Da("x",aV),WR=({onClose:e,...t})=>M.jsx(pH,{"data-slot":"dialog",...t,onOpenChange:r=>{!r&&e?.(),t?.onOpenChange?.(r)}}),WD=({...e})=>M.jsx(hH,{"data-slot":"dialog-trigger",...e}),Z5=({...e})=>M.jsx(mH,{"data-slot":"dialog-portal",...e}),U_=({...e})=>M.jsx(Y5,{"data-slot":"dialog-close",...e}),J5=({className:e,...t})=>M.jsx(vH,{"data-slot":"dialog-overlay",className:Ve("fixed inset-0 z-50 bg-black/80 data-[state='open']:animate-in data-[state='closed']:animate-out data-[state='closed']:fade-out-0 data-[state='open']:fade-in-0",e),...t}),QR=({className:e,children:t,focus:r=!0,hideClose:l=!1,...i})=>M.jsxs(Z5,{children:[M.jsx(J5,{}),M.jsxs(gH,{"data-slot":"dialog-content",className:Ve("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-10 rounded-md","data-[state='open']:animate-in data-[state='open']:fade-in-0 data-[state='open']:zoom-in-95 ","data-[state='closed']:animate-out data-[state='closed']:fade-out-0 data-[state='closed']:zoom-out-95 ",e),onOpenAutoFocus:c=>{!r&&c.preventDefault(),i?.onOpenAutoFocus?.(c)},...i,children:[t,M.jsxs(Y5,{className:Ve("absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state='open']:bg-accent data-[state='open']:text-muted-foreground",{hidden:l}),children:[M.jsx(XR,{className:"w-4 h-4","data-slot":"dialog-close-icon"}),M.jsx("span",{className:"sr-only",children:"Cerrar"})]})]})]}),QD=({className:e,...t})=>M.jsx("div",{className:Ve("flex flex-col space-y-1 text-center sm:text-left",e),"data-slot":"dialog-header",...t}),ZD=({className:e,...t})=>M.jsx("div",{"data-slot":"dialog-footer",className:Ve("flex flex-col-reverse sm:flex-row sm:justify-end gap-2",e),...t}),JD=({className:e,...t})=>M.jsx(yH,{"data-slot":"dialog-title",className:Ve("text-lg font-semibold leading-none tracking-tight",e),...t}),eM=({className:e,...t})=>M.jsx(bH,{"data-slot":"dialog-description",className:Ve("text-sm text-muted-foreground",e),...t}),lV=({trigger:e,title:t,description:r,children:l,footer:i,focus:c,triggerProps:h,headerProps:m,headerClassName:y,titleProps:x,titleClassName:S,descriptionProps:w,descriptionClassName:R,contentProps:D,contentClassName:$,footerProps:O,footerClassName:q,...N})=>M.jsxs(WR,{...N,children:[M.jsx(WD,{asChild:!0,...h,children:e}),M.jsxs(QR,{className:$,focus:c,...D,children:[M.jsxs(QD,{className:Ve("empty:hidden",y),...m,children:[t&&M.jsx(JD,{className:S,...x,children:t}),r&&M.jsx(eM,{className:R,...w,children:r})]}),l,i&&M.jsx(ZD,{className:q,...O,children:i})]})]}),eq={},tq=j.createContext({theme:eq}),nq=()=>j.useContext(tq),oV=({children:e,theme:t=eq})=>M.jsx(tq.Provider,{value:{theme:t},children:e}),gw=(e,t,r={})=>{const{theme:l}=nq(),i=l[e]||{};return{...r,...i,...t}};var iV=Symbol.for("react.lazy"),gR=_[" use ".trim().toString()];function uV(e){return typeof e=="object"&&e!==null&&"then"in e}function rq(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===iV&&"_payload"in e&&uV(e._payload)}function sV(e){const t=cV(e),r=_.forwardRef((l,i)=>{let{children:c,...h}=l;rq(c)&&typeof gR=="function"&&(c=gR(c._payload));const m=_.Children.toArray(c),y=m.find(pV);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}var yw=sV("Slot");function cV(e){const t=_.forwardRef((r,l)=>{let{children:i,...c}=r;if(rq(i)&&typeof gR=="function"&&(i=gR(i._payload)),_.isValidElement(i)){const h=mV(i),m=hV(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var aq=Symbol("radix.slottable");function dV(e){const t=({children:r})=>M.jsx(M.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=aq,t}var fV=dV("Slottable");function pV(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===aq}function hV(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function mV(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function JS(){return JS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},JS.apply(null,arguments)}function tM(e,t){if(e==null)return{};var r={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)!==-1)continue;r[l]=e[l]}return r}function I_(e,t){return I_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,l){return r.__proto__=l,r},I_(e,t)}function nM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,I_(e,t)}var BC={exports:{}},zC={exports:{}},Jn={};var N3;function vV(){if(N3)return Jn;N3=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,h=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,y=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,S=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,D=e?Symbol.for("react.memo"):60115,$=e?Symbol.for("react.lazy"):60116,O=e?Symbol.for("react.block"):60121,q=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function I(F){if(typeof F=="object"&&F!==null){var H=F.$$typeof;switch(H){case t:switch(F=F.type,F){case y:case x:case l:case c:case i:case w:return F;default:switch(F=F&&F.$$typeof,F){case m:case S:case $:case D:case h:return F;default:return H}}case r:return H}}}function G(F){return I(F)===x}return Jn.AsyncMode=y,Jn.ConcurrentMode=x,Jn.ContextConsumer=m,Jn.ContextProvider=h,Jn.Element=t,Jn.ForwardRef=S,Jn.Fragment=l,Jn.Lazy=$,Jn.Memo=D,Jn.Portal=r,Jn.Profiler=c,Jn.StrictMode=i,Jn.Suspense=w,Jn.isAsyncMode=function(F){return G(F)||I(F)===y},Jn.isConcurrentMode=G,Jn.isContextConsumer=function(F){return I(F)===m},Jn.isContextProvider=function(F){return I(F)===h},Jn.isElement=function(F){return typeof F=="object"&&F!==null&&F.$$typeof===t},Jn.isForwardRef=function(F){return I(F)===S},Jn.isFragment=function(F){return I(F)===l},Jn.isLazy=function(F){return I(F)===$},Jn.isMemo=function(F){return I(F)===D},Jn.isPortal=function(F){return I(F)===r},Jn.isProfiler=function(F){return I(F)===c},Jn.isStrictMode=function(F){return I(F)===i},Jn.isSuspense=function(F){return I(F)===w},Jn.isValidElementType=function(F){return typeof F=="string"||typeof F=="function"||F===l||F===x||F===c||F===i||F===w||F===R||typeof F=="object"&&F!==null&&(F.$$typeof===$||F.$$typeof===D||F.$$typeof===h||F.$$typeof===m||F.$$typeof===S||F.$$typeof===q||F.$$typeof===N||F.$$typeof===U||F.$$typeof===O)},Jn.typeOf=I,Jn}var er={};var $3;function gV(){return $3||($3=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,h=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,y=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,S=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,D=e?Symbol.for("react.memo"):60115,$=e?Symbol.for("react.lazy"):60116,O=e?Symbol.for("react.block"):60121,q=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function I(we){return typeof we=="string"||typeof we=="function"||we===l||we===x||we===c||we===i||we===w||we===R||typeof we=="object"&&we!==null&&(we.$$typeof===$||we.$$typeof===D||we.$$typeof===h||we.$$typeof===m||we.$$typeof===S||we.$$typeof===q||we.$$typeof===N||we.$$typeof===U||we.$$typeof===O)}function G(we){if(typeof we=="object"&&we!==null){var lt=we.$$typeof;switch(lt){case t:var St=we.type;switch(St){case y:case x:case l:case c:case i:case w:return St;default:var pn=St&&St.$$typeof;switch(pn){case m:case S:case $:case D:case h:return pn;default:return lt}}case r:return lt}}}var F=y,H=x,V=m,X=h,le=t,xe=S,Q=l,ue=$,se=D,ae=r,ge=c,L=i,W=w,ee=!1;function me(we){return ee||(ee=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(we)||G(we)===y}function Y(we){return G(we)===x}function be(we){return G(we)===m}function ie(we){return G(we)===h}function fe(we){return typeof we=="object"&&we!==null&&we.$$typeof===t}function _e(we){return G(we)===S}function $e(we){return G(we)===l}function Pe(we){return G(we)===$}function Re(we){return G(we)===D}function Ye(we){return G(we)===r}function oe(we){return G(we)===c}function je(we){return G(we)===i}function Le(we){return G(we)===w}er.AsyncMode=F,er.ConcurrentMode=H,er.ContextConsumer=V,er.ContextProvider=X,er.Element=le,er.ForwardRef=xe,er.Fragment=Q,er.Lazy=ue,er.Memo=se,er.Portal=ae,er.Profiler=ge,er.StrictMode=L,er.Suspense=W,er.isAsyncMode=me,er.isConcurrentMode=Y,er.isContextConsumer=be,er.isContextProvider=ie,er.isElement=fe,er.isForwardRef=_e,er.isFragment=$e,er.isLazy=Pe,er.isMemo=Re,er.isPortal=Ye,er.isProfiler=oe,er.isStrictMode=je,er.isSuspense=Le,er.isValidElementType=I,er.typeOf=G})()),er}var P3;function lq(){return P3||(P3=1,process.env.NODE_ENV==="production"?zC.exports=vV():zC.exports=gV()),zC.exports}var QA,q3;function yV(){if(q3)return QA;q3=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function l(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function i(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var h={},m=0;m<10;m++)h["_"+String.fromCharCode(m)]=m;var y=Object.getOwnPropertyNames(h).map(function(S){return h[S]});if(y.join("")!=="0123456789")return!1;var x={};return"abcdefghijklmnopqrst".split("").forEach(function(S){x[S]=S}),Object.keys(Object.assign({},x)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return QA=i()?Object.assign:function(c,h){for(var m,y=l(c),x,S=1;S<arguments.length;S++){m=Object(arguments[S]);for(var w in m)t.call(m,w)&&(y[w]=m[w]);if(e){x=e(m);for(var R=0;R<x.length;R++)r.call(m,x[R])&&(y[x[R]]=m[x[R]])}}return y},QA}var ZA,k3;function rM(){if(k3)return ZA;k3=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ZA=e,ZA}var JA,L3;function oq(){return L3||(L3=1,JA=Function.call.bind(Object.prototype.hasOwnProperty)),JA}var e_,j3;function bV(){if(j3)return e_;j3=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=rM(),r={},l=oq();e=function(c){var h="Warning: "+c;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}}}function i(c,h,m,y,x){if(process.env.NODE_ENV!=="production"){for(var S in c)if(l(c,S)){var w;try{if(typeof c[S]!="function"){var R=Error((y||"React class")+": "+m+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}w=c[S](h,S,y,m,null,t)}catch($){w=$}if(w&&!(w instanceof Error)&&e((y||"React class")+": type specification of "+m+" `"+S+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in r)){r[w.message]=!0;var D=x?x():"";e("Failed "+m+" type: "+w.message+(D??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},e_=i,e_}var t_,B3;function xV(){if(B3)return t_;B3=1;var e=lq(),t=yV(),r=rM(),l=oq(),i=bV(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(m){var y="Warning: "+m;typeof console<"u"&&console.error(y);try{throw new Error(y)}catch{}});function h(){return null}return t_=function(m,y){var x=typeof Symbol=="function"&&Symbol.iterator,S="@@iterator";function w(Y){var be=Y&&(x&&Y[x]||Y[S]);if(typeof be=="function")return be}var R="<<anonymous>>",D={array:N("array"),bigint:N("bigint"),bool:N("boolean"),func:N("function"),number:N("number"),object:N("object"),string:N("string"),symbol:N("symbol"),any:U(),arrayOf:I,element:G(),elementType:F(),instanceOf:H,node:xe(),objectOf:X,oneOf:V,oneOfType:le,shape:ue,exact:se};function $(Y,be){return Y===be?Y!==0||1/Y===1/be:Y!==Y&&be!==be}function O(Y,be){this.message=Y,this.data=be&&typeof be=="object"?be:{},this.stack=""}O.prototype=Error.prototype;function q(Y){if(process.env.NODE_ENV!=="production")var be={},ie=0;function fe($e,Pe,Re,Ye,oe,je,Le){if(Ye=Ye||R,je=je||Re,Le!==r){if(y){var we=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw we.name="Invariant Violation",we}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var lt=Ye+":"+Re;!be[lt]&&ie<3&&(c("You are manually calling a React.PropTypes validation function for the `"+je+"` prop on `"+Ye+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),be[lt]=!0,ie++)}}return Pe[Re]==null?$e?Pe[Re]===null?new O("The "+oe+" `"+je+"` is marked as required "+("in `"+Ye+"`, but its value is `null`.")):new O("The "+oe+" `"+je+"` is marked as required in "+("`"+Ye+"`, but its value is `undefined`.")):null:Y(Pe,Re,Ye,oe,je)}var _e=fe.bind(null,!1);return _e.isRequired=fe.bind(null,!0),_e}function N(Y){function be(ie,fe,_e,$e,Pe,Re){var Ye=ie[fe],oe=L(Ye);if(oe!==Y){var je=W(Ye);return new O("Invalid "+$e+" `"+Pe+"` of type "+("`"+je+"` supplied to `"+_e+"`, expected ")+("`"+Y+"`."),{expectedType:Y})}return null}return q(be)}function U(){return q(h)}function I(Y){function be(ie,fe,_e,$e,Pe){if(typeof Y!="function")return new O("Property `"+Pe+"` of component `"+_e+"` has invalid PropType notation inside arrayOf.");var Re=ie[fe];if(!Array.isArray(Re)){var Ye=L(Re);return new O("Invalid "+$e+" `"+Pe+"` of type "+("`"+Ye+"` supplied to `"+_e+"`, expected an array."))}for(var oe=0;oe<Re.length;oe++){var je=Y(Re,oe,_e,$e,Pe+"["+oe+"]",r);if(je instanceof Error)return je}return null}return q(be)}function G(){function Y(be,ie,fe,_e,$e){var Pe=be[ie];if(!m(Pe)){var Re=L(Pe);return new O("Invalid "+_e+" `"+$e+"` of type "+("`"+Re+"` supplied to `"+fe+"`, expected a single ReactElement."))}return null}return q(Y)}function F(){function Y(be,ie,fe,_e,$e){var Pe=be[ie];if(!e.isValidElementType(Pe)){var Re=L(Pe);return new O("Invalid "+_e+" `"+$e+"` of type "+("`"+Re+"` supplied to `"+fe+"`, expected a single ReactElement type."))}return null}return q(Y)}function H(Y){function be(ie,fe,_e,$e,Pe){if(!(ie[fe]instanceof Y)){var Re=Y.name||R,Ye=me(ie[fe]);return new O("Invalid "+$e+" `"+Pe+"` of type "+("`"+Ye+"` supplied to `"+_e+"`, expected ")+("instance of `"+Re+"`."))}return null}return q(be)}function V(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array.")),h;function be(ie,fe,_e,$e,Pe){for(var Re=ie[fe],Ye=0;Ye<Y.length;Ye++)if($(Re,Y[Ye]))return null;var oe=JSON.stringify(Y,function(Le,we){var lt=W(we);return lt==="symbol"?String(we):we});return new O("Invalid "+$e+" `"+Pe+"` of value `"+String(Re)+"` "+("supplied to `"+_e+"`, expected one of "+oe+"."))}return q(be)}function X(Y){function be(ie,fe,_e,$e,Pe){if(typeof Y!="function")return new O("Property `"+Pe+"` of component `"+_e+"` has invalid PropType notation inside objectOf.");var Re=ie[fe],Ye=L(Re);if(Ye!=="object")return new O("Invalid "+$e+" `"+Pe+"` of type "+("`"+Ye+"` supplied to `"+_e+"`, expected an object."));for(var oe in Re)if(l(Re,oe)){var je=Y(Re,oe,_e,$e,Pe+"."+oe,r);if(je instanceof Error)return je}return null}return q(be)}function le(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),h;for(var be=0;be<Y.length;be++){var ie=Y[be];if(typeof ie!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ee(ie)+" at index "+be+"."),h}function fe(_e,$e,Pe,Re,Ye){for(var oe=[],je=0;je<Y.length;je++){var Le=Y[je],we=Le(_e,$e,Pe,Re,Ye,r);if(we==null)return null;we.data&&l(we.data,"expectedType")&&oe.push(we.data.expectedType)}var lt=oe.length>0?", expected one of type ["+oe.join(", ")+"]":"";return new O("Invalid "+Re+" `"+Ye+"` supplied to "+("`"+Pe+"`"+lt+"."))}return q(fe)}function xe(){function Y(be,ie,fe,_e,$e){return ae(be[ie])?null:new O("Invalid "+_e+" `"+$e+"` supplied to "+("`"+fe+"`, expected a ReactNode."))}return q(Y)}function Q(Y,be,ie,fe,_e){return new O((Y||"React class")+": "+be+" type `"+ie+"."+fe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_e+"`.")}function ue(Y){function be(ie,fe,_e,$e,Pe){var Re=ie[fe],Ye=L(Re);if(Ye!=="object")return new O("Invalid "+$e+" `"+Pe+"` of type `"+Ye+"` "+("supplied to `"+_e+"`, expected `object`."));for(var oe in Y){var je=Y[oe];if(typeof je!="function")return Q(_e,$e,Pe,oe,W(je));var Le=je(Re,oe,_e,$e,Pe+"."+oe,r);if(Le)return Le}return null}return q(be)}function se(Y){function be(ie,fe,_e,$e,Pe){var Re=ie[fe],Ye=L(Re);if(Ye!=="object")return new O("Invalid "+$e+" `"+Pe+"` of type `"+Ye+"` "+("supplied to `"+_e+"`, expected `object`."));var oe=t({},ie[fe],Y);for(var je in oe){var Le=Y[je];if(l(Y,je)&&typeof Le!="function")return Q(_e,$e,Pe,je,W(Le));if(!Le)return new O("Invalid "+$e+" `"+Pe+"` key `"+je+"` supplied to `"+_e+"`.\nBad object: "+JSON.stringify(ie[fe],null," ")+`
|
|
51
|
+
Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var we=Le(Re,je,_e,$e,Pe+"."+je,r);if(we)return we}return null}return q(be)}function ae(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(ae);if(Y===null||m(Y))return!0;var be=w(Y);if(be){var ie=be.call(Y),fe;if(be!==Y.entries){for(;!(fe=ie.next()).done;)if(!ae(fe.value))return!1}else for(;!(fe=ie.next()).done;){var _e=fe.value;if(_e&&!ae(_e[1]))return!1}}else return!1;return!0;default:return!1}}function ge(Y,be){return Y==="symbol"?!0:be?be["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&be instanceof Symbol:!1}function L(Y){var be=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":ge(be,Y)?"symbol":be}function W(Y){if(typeof Y>"u"||Y===null)return""+Y;var be=L(Y);if(be==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return be}function ee(Y){var be=W(Y);switch(be){case"array":case"object":return"an "+be;case"boolean":case"date":case"regexp":return"a "+be;default:return be}}function me(Y){return!Y.constructor||!Y.constructor.name?R:Y.constructor.name}return D.checkPropTypes=i,D.resetWarningCache=i.resetWarningCache,D.PropTypes=D,D},t_}var n_,z3;function EV(){if(z3)return n_;z3=1;var e=rM();function t(){}function r(){}return r.resetWarningCache=t,n_=function(){function l(h,m,y,x,S,w){if(w!==e){var R=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw R.name="Invariant Violation",R}}l.isRequired=l;function i(){return l}var c={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:i,element:l,elementType:l,instanceOf:i,node:l,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return c.PropTypes=c,c},n_}var U3;function SV(){if(U3)return BC.exports;if(U3=1,process.env.NODE_ENV!=="production"){var e=lq(),t=!0;BC.exports=xV()(e.isElement,t)}else BC.exports=EV()();return BC.exports}var wV=SV();const qt=e5(wV);function CV(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function RV(e,t){e.classList?e.classList.add(t):CV(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function I3(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function TV(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=I3(e.className,t):e.setAttribute("class",I3(e.className&&e.className.baseVal||"",t))}const H3={disabled:!1};var AV=process.env.NODE_ENV!=="production"?qt.oneOfType([qt.number,qt.shape({enter:qt.number,exit:qt.number,appear:qt.number}).isRequired]):null,_V=process.env.NODE_ENV!=="production"?qt.oneOfType([qt.string,qt.shape({enter:qt.string,exit:qt.string,active:qt.string}),qt.shape({enter:qt.string,enterDone:qt.string,enterActive:qt.string,exit:qt.string,exitDone:qt.string,exitActive:qt.string})]):null;const yR=j.createContext(null);var iq=function(t){return t.scrollTop},HS="unmounted",Uy="exited",Iy="entering",$0="entered",H_="exiting",qf=(function(e){nM(t,e);function t(l,i){var c;c=e.call(this,l,i)||this;var h=i,m=h&&!h.isMounting?l.enter:l.appear,y;return c.appearStatus=null,l.in?m?(y=Uy,c.appearStatus=Iy):y=$0:l.unmountOnExit||l.mountOnEnter?y=HS:y=Uy,c.state={status:y},c.nextCallback=null,c}t.getDerivedStateFromProps=function(i,c){var h=i.in;return h&&c.status===HS?{status:Uy}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var c=null;if(i!==this.props){var h=this.state.status;this.props.in?h!==Iy&&h!==$0&&(c=Iy):(h===Iy||h===$0)&&(c=H_)}this.updateStatus(!1,c)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,c,h,m;return c=h=m=i,i!=null&&typeof i!="number"&&(c=i.exit,h=i.enter,m=i.appear!==void 0?i.appear:h),{exit:c,enter:h,appear:m}},r.updateStatus=function(i,c){if(i===void 0&&(i=!1),c!==null)if(this.cancelNextCallback(),c===Iy){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:Hu.findDOMNode(this);h&&iq(h)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Uy&&this.setState({status:HS})},r.performEnter=function(i){var c=this,h=this.props.enter,m=this.context?this.context.isMounting:i,y=this.props.nodeRef?[m]:[Hu.findDOMNode(this),m],x=y[0],S=y[1],w=this.getTimeouts(),R=m?w.appear:w.enter;if(!i&&!h||H3.disabled){this.safeSetState({status:$0},function(){c.props.onEntered(x)});return}this.props.onEnter(x,S),this.safeSetState({status:Iy},function(){c.props.onEntering(x,S),c.onTransitionEnd(R,function(){c.safeSetState({status:$0},function(){c.props.onEntered(x,S)})})})},r.performExit=function(){var i=this,c=this.props.exit,h=this.getTimeouts(),m=this.props.nodeRef?void 0:Hu.findDOMNode(this);if(!c||H3.disabled){this.safeSetState({status:Uy},function(){i.props.onExited(m)});return}this.props.onExit(m),this.safeSetState({status:H_},function(){i.props.onExiting(m),i.onTransitionEnd(h.exit,function(){i.safeSetState({status:Uy},function(){i.props.onExited(m)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,c){c=this.setNextCallback(c),this.setState(i,c)},r.setNextCallback=function(i){var c=this,h=!0;return this.nextCallback=function(m){h&&(h=!1,c.nextCallback=null,i(m))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},r.onTransitionEnd=function(i,c){this.setNextCallback(c);var h=this.props.nodeRef?this.props.nodeRef.current:Hu.findDOMNode(this),m=i==null&&!this.props.addEndListener;if(!h||m){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var y=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],x=y[0],S=y[1];this.props.addEndListener(x,S)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===HS)return null;var c=this.props,h=c.children;c.in,c.mountOnEnter,c.unmountOnExit,c.appear,c.enter,c.exit,c.timeout,c.addEndListener,c.onEnter,c.onEntering,c.onEntered,c.onExit,c.onExiting,c.onExited,c.nodeRef;var m=tM(c,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return j.createElement(yR.Provider,{value:null},typeof h=="function"?h(i,m):j.cloneElement(j.Children.only(h),m))},t})(j.Component);qf.contextType=yR;qf.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:qt.shape({current:typeof Element>"u"?qt.any:function(e,t,r,l,i,c){var h=e[t];return qt.instanceOf(h&&"ownerDocument"in h?h.ownerDocument.defaultView.Element:Element)(e,t,r,l,i,c)}}),children:qt.oneOfType([qt.func.isRequired,qt.element.isRequired]).isRequired,in:qt.bool,mountOnEnter:qt.bool,unmountOnExit:qt.bool,appear:qt.bool,enter:qt.bool,exit:qt.bool,timeout:function(t){var r=AV;t.addEndListener||(r=r.isRequired);for(var l=arguments.length,i=new Array(l>1?l-1:0),c=1;c<l;c++)i[c-1]=arguments[c];return r.apply(void 0,[t].concat(i))},addEndListener:qt.func,onEnter:qt.func,onEntering:qt.func,onEntered:qt.func,onExit:qt.func,onExiting:qt.func,onExited:qt.func}:{};function _0(){}qf.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_0,onEntering:_0,onEntered:_0,onExit:_0,onExiting:_0,onExited:_0};qf.UNMOUNTED=HS;qf.EXITED=Uy;qf.ENTERING=Iy;qf.ENTERED=$0;qf.EXITING=H_;var DV=function(t,r){return t&&r&&r.split(" ").forEach(function(l){return RV(t,l)})},r_=function(t,r){return t&&r&&r.split(" ").forEach(function(l){return TV(t,l)})},ZR=(function(e){nM(t,e);function t(){for(var l,i=arguments.length,c=new Array(i),h=0;h<i;h++)c[h]=arguments[h];return l=e.call.apply(e,[this].concat(c))||this,l.appliedClasses={appear:{},enter:{},exit:{}},l.onEnter=function(m,y){var x=l.resolveArguments(m,y),S=x[0],w=x[1];l.removeClasses(S,"exit"),l.addClass(S,w?"appear":"enter","base"),l.props.onEnter&&l.props.onEnter(m,y)},l.onEntering=function(m,y){var x=l.resolveArguments(m,y),S=x[0],w=x[1],R=w?"appear":"enter";l.addClass(S,R,"active"),l.props.onEntering&&l.props.onEntering(m,y)},l.onEntered=function(m,y){var x=l.resolveArguments(m,y),S=x[0],w=x[1],R=w?"appear":"enter";l.removeClasses(S,R),l.addClass(S,R,"done"),l.props.onEntered&&l.props.onEntered(m,y)},l.onExit=function(m){var y=l.resolveArguments(m),x=y[0];l.removeClasses(x,"appear"),l.removeClasses(x,"enter"),l.addClass(x,"exit","base"),l.props.onExit&&l.props.onExit(m)},l.onExiting=function(m){var y=l.resolveArguments(m),x=y[0];l.addClass(x,"exit","active"),l.props.onExiting&&l.props.onExiting(m)},l.onExited=function(m){var y=l.resolveArguments(m),x=y[0];l.removeClasses(x,"exit"),l.addClass(x,"exit","done"),l.props.onExited&&l.props.onExited(m)},l.resolveArguments=function(m,y){return l.props.nodeRef?[l.props.nodeRef.current,m]:[m,y]},l.getClassNames=function(m){var y=l.props.classNames,x=typeof y=="string",S=x&&y?y+"-":"",w=x?""+S+m:y[m],R=x?w+"-active":y[m+"Active"],D=x?w+"-done":y[m+"Done"];return{baseClassName:w,activeClassName:R,doneClassName:D}},l}var r=t.prototype;return r.addClass=function(i,c,h){var m=this.getClassNames(c)[h+"ClassName"],y=this.getClassNames("enter"),x=y.doneClassName;c==="appear"&&h==="done"&&x&&(m+=" "+x),h==="active"&&i&&iq(i),m&&(this.appliedClasses[c][h]=m,DV(i,m))},r.removeClasses=function(i,c){var h=this.appliedClasses[c],m=h.base,y=h.active,x=h.done;this.appliedClasses[c]={},m&&r_(i,m),y&&r_(i,y),x&&r_(i,x)},r.render=function(){var i=this.props;i.classNames;var c=tM(i,["classNames"]);return j.createElement(qf,JS({},c,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(j.Component);ZR.defaultProps={classNames:""};ZR.propTypes=process.env.NODE_ENV!=="production"?JS({},qf.propTypes,{classNames:_V,onEnter:qt.func,onEntering:qt.func,onEntered:qt.func,onExit:qt.func,onExiting:qt.func,onExited:qt.func}):{};function MV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aM(e,t){var r=function(c){return t&&j.isValidElement(c)?t(c):c},l=Object.create(null);return e&&j.Children.map(e,function(i){return i}).forEach(function(i){l[i.key]=r(i)}),l}function OV(e,t){e=e||{},t=t||{};function r(S){return S in t?t[S]:e[S]}var l=Object.create(null),i=[];for(var c in e)c in t?i.length&&(l[c]=i,i=[]):i.push(c);var h,m={};for(var y in t){if(l[y])for(h=0;h<l[y].length;h++){var x=l[y][h];m[l[y][h]]=r(x)}m[y]=r(y)}for(h=0;h<i.length;h++)m[i[h]]=r(i[h]);return m}function Fy(e,t,r){return r[t]!=null?r[t]:e.props[t]}function NV(e,t){return aM(e.children,function(r){return j.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Fy(r,"appear",e),enter:Fy(r,"enter",e),exit:Fy(r,"exit",e)})})}function $V(e,t,r){var l=aM(e.children),i=OV(t,l);return Object.keys(i).forEach(function(c){var h=i[c];if(j.isValidElement(h)){var m=c in t,y=c in l,x=t[c],S=j.isValidElement(x)&&!x.props.in;y&&(!m||S)?i[c]=j.cloneElement(h,{onExited:r.bind(null,h),in:!0,exit:Fy(h,"exit",e),enter:Fy(h,"enter",e)}):!y&&m&&!S?i[c]=j.cloneElement(h,{in:!1}):y&&m&&j.isValidElement(x)&&(i[c]=j.cloneElement(h,{onExited:r.bind(null,h),in:x.props.in,exit:Fy(h,"exit",e),enter:Fy(h,"enter",e)}))}}),i}var PV=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},qV={component:"div",childFactory:function(t){return t}},lM=(function(e){nM(t,e);function t(l,i){var c;c=e.call(this,l,i)||this;var h=c.handleExited.bind(MV(c));return c.state={contextValue:{isMounting:!0},handleExited:h,firstRender:!0},c}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,c){var h=c.children,m=c.handleExited,y=c.firstRender;return{children:y?NV(i,m):$V(i,h,m),firstRender:!1}},r.handleExited=function(i,c){var h=aM(this.props.children);i.key in h||(i.props.onExited&&i.props.onExited(c),this.mounted&&this.setState(function(m){var y=JS({},m.children);return delete y[i.key],{children:y}}))},r.render=function(){var i=this.props,c=i.component,h=i.childFactory,m=tM(i,["component","childFactory"]),y=this.state.contextValue,x=PV(this.state.children).map(h);return delete m.appear,delete m.enter,delete m.exit,c===null?j.createElement(yR.Provider,{value:y},x):j.createElement(yR.Provider,{value:y},j.createElement(c,m,x))},t})(j.Component);lM.propTypes=process.env.NODE_ENV!=="production"?{component:qt.any,children:qt.node,appear:qt.bool,enter:qt.bool,exit:qt.bool,childFactory:qt.func}:{};lM.defaultProps=qV;const V_=({loading:e,animate:t=!0,...r})=>{const l=j.useRef(null);return t?M.jsx(ZR,{unmountOnExit:!0,mountOnEnter:!0,timeout:200,in:e,classNames:"btn-loader",nodeRef:l,children:M.jsx(vR,{...r,ref:l,"data-testid":"btn-loader",className:Ve("animate-spin",r.className)})}):e?M.jsx(vR,{...r,"data-testid":"btn-loader",className:Ve("animate-spin",r.className)}):null},kV=({loading:e})=>M.jsx("span",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",background:"inherit",borderRadius:"inherit"},children:M.jsx(V_,{loading:e,animate:!1})}),LV={display:"inline-flex",alignItems:"center",gap:"0.5rem"},uq=({asChild:e=!1,onClick:t,loading:r,showLoader:l=!0,icon:i,iconPosition:c="start",loaderReplace:h,style:m,...y})=>{const x=e?yw:"button",[S=!1,w]=vr({prop:r,defaultProp:!1}),R=async q=>{if(!t||S)return;const N=t(q);N instanceof Promise&&(l&&w(!0),await N.finally(()=>w(!1)))},D=q=>{if(q!==c)return null;const N=h?!1:S;return M.jsxs(M.Fragment,{children:[M.jsx(V_,{loading:N&&!i,animate:!0}),i&&M.jsx(V_,{loading:N,animate:!1}),i&&!N&&i]})},O=h&&(S&&l);return M.jsxs(x,{type:"button","data-slot":"button",...y,onClick:R,style:{...LV,position:O?"relative":void 0,...m},children:[D("start"),M.jsx(fV,{children:y.children}),D("end"),O&&M.jsx(kV,{loading:!0})]})},V3=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,F3=VD,Oh=(e,t)=>r=>{var l;if(t?.variants==null)return F3(e,r?.class,r?.className);const{variants:i,defaultVariants:c}=t,h=Object.keys(i).map(x=>{const S=r?.[x],w=c?.[x];if(S===null)return null;const R=V3(S)||V3(w);return i[x][R]}),m=r&&Object.entries(r).reduce((x,S)=>{let[w,R]=S;return R===void 0||(x[w]=R),x},{}),y=t==null||(l=t.compoundVariants)===null||l===void 0?void 0:l.reduce((x,S)=>{let{class:w,className:R,...D}=S;return Object.entries(D).every($=>{let[O,q]=$;return Array.isArray(q)?q.includes({...c,...m}[O]):{...c,...m}[O]===q})?[...x,w,R]:x},[]);return F3(e,h,y,r?.class,r?.className)},jV=Oh(["inline-flex items-center justify-center gap-2","text-sm font-medium transition-all","ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","hover:brightness-105"],{variants:{variant:{default:"bg-primary text-primary-foreground",error:"bg-error text-error-foreground",success:"bg-success text-success-foreground",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:brightness-100 hover:bg-secondary/80",ghost:"hover:bg-accent hover:brightness-100 hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3",lg:"h-11 px-8",icon:"w-10 aspect-square"},shape:{rounded:"rounded-md",square:"rounded-none",circle:"rounded-full"}},defaultVariants:{variant:"default",size:"default",shape:"rounded"}}),Uo=e=>{const{variant:t,size:r,shape:l,className:i,...c}=gw("Button",e);return M.jsx(uq,{...c,className:Ve(jV({variant:t,size:r,shape:l}),i),"data-variant":t||"default"})},BV=({title:e="¿Estás seguro?",description:t="Esta acción no se puede deshacer",trigger:r,onClose:l,onAction:i,variant:c="default",triggerProps:h,contentProps:m,headerProps:y,titleProps:x,descriptionProps:S,footerProps:w,closeProps:R,closeText:D="Cancelar",actionText:$="Aceptar",actionProps:O,...q})=>M.jsxs(WR,{...q,"data-slot":"alert-dialog",children:[r&&M.jsx(WD,{...h,"data-slot":"alert-dialog-trigger",children:r}),M.jsxs(QR,{...m,"data-slot":"alert-dialog-content",children:[M.jsxs(QD,{...y,"data-slot":"alert-dialog-header",children:[M.jsx(JD,{...x,"data-slot":"alert-dialog-title",children:e}),M.jsx(eM,{...S,"data-slot":"alert-dialog-description",children:t})]}),M.jsxs(ZD,{...w,"data-slot":"alert-dialog-footer",children:[M.jsx(U_,{asChild:!0,type:"button",variant:"secondary",...R,onClick:l??R?.onClick,"data-slot":"alert-dialog-close",children:M.jsx(Uo,{"data-slot":"alert-dialog-close",children:D})}),M.jsx(U_,{asChild:!0,type:"button",variant:c,...O,onClick:i??O?.onClick,"data-slot":"alert-dialog-action",children:M.jsx(Uo,{"data-slot":"alert-dialog-action",children:$})})]})]})]});var K3=1,zV=.9,UV=.8,IV=.17,a_=.1,l_=.999,HV=.9999,VV=.99,FV=/[\\\/_+.#"@\[\(\{&]/,KV=/[\\\/_+.#"@\[\(\{&]/g,GV=/[\s-]/,sq=/[\s-]/g;function F_(e,t,r,l,i,c,h){if(c===t.length)return i===e.length?K3:VV;var m=`${i},${c}`;if(h[m]!==void 0)return h[m];for(var y=l.charAt(c),x=r.indexOf(y,i),S=0,w,R,D,$;x>=0;)w=F_(e,t,r,l,x+1,c+1,h),w>S&&(x===i?w*=K3:FV.test(e.charAt(x-1))?(w*=UV,D=e.slice(i,x-1).match(KV),D&&i>0&&(w*=Math.pow(l_,D.length))):GV.test(e.charAt(x-1))?(w*=zV,$=e.slice(i,x-1).match(sq),$&&i>0&&(w*=Math.pow(l_,$.length))):(w*=IV,i>0&&(w*=Math.pow(l_,x-i))),e.charAt(x)!==t.charAt(c)&&(w*=HV)),(w<a_&&r.charAt(x-1)===l.charAt(c+1)||l.charAt(c+1)===l.charAt(c)&&r.charAt(x-1)!==l.charAt(c))&&(R=F_(e,t,r,l,x+1,c+2,h),R*a_>w&&(w=R*a_)),w>S&&(S=w),x=r.indexOf(y,x+1);return h[m]=S,S}function G3(e){return e.toLowerCase().replace(sq," ")}function YV(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,F_(e,t,G3(e),G3(t),0,0,{})}function Uv(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),r===!1||!i.defaultPrevented)return t?.(i)}}function XV({prop:e,defaultProp:t,onChange:r=()=>{}}){const[l,i]=WV({defaultProp:t,onChange:r}),c=e!==void 0,h=c?e:l,m=co(r),y=_.useCallback(x=>{if(c){const w=typeof x=="function"?x(e):x;w!==e&&m(w)}else i(x)},[c,e,i,m]);return[h,y]}function WV({defaultProp:e,onChange:t}){const r=_.useState(e),[l]=r,i=_.useRef(l),c=co(t);return _.useEffect(()=>{i.current!==l&&(c(l),i.current=l)},[l,i,c]),r}function QV(e){const t=ZV(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(eF);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function ZV(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=nF(i),m=tF(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var JV=Symbol("radix.slottable");function eF(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===JV}function tF(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{c(...m),i(...m)}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function nF(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var rF=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fo=rF.reduce((e,t)=>{const r=QV(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function aF(e,t){e&&X0.flushSync(()=>e.dispatchEvent(t))}var lF="DismissableLayer",K_="dismissableLayer.update",oF="dismissableLayer.pointerDownOutside",iF="dismissableLayer.focusOutside",Y3,cq=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dq=_.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:l,onPointerDownOutside:i,onFocusOutside:c,onInteractOutside:h,onDismiss:m,...y}=e,x=_.useContext(cq),[S,w]=_.useState(null),R=S?.ownerDocument??globalThis?.document,[,D]=_.useState({}),$=Sn(t,V=>w(V)),O=Array.from(x.layers),[q]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),N=O.indexOf(q),U=S?O.indexOf(S):-1,I=x.layersWithOutsidePointerEventsDisabled.size>0,G=U>=N,F=cF(V=>{const X=V.target,le=[...x.branches].some(xe=>xe.contains(X));!G||le||(i?.(V),h?.(V),V.defaultPrevented||m?.())},R),H=dF(V=>{const X=V.target;[...x.branches].some(xe=>xe.contains(X))||(c?.(V),h?.(V),V.defaultPrevented||m?.())},R);return b5(V=>{U===x.layers.size-1&&(l?.(V),!V.defaultPrevented&&m&&(V.preventDefault(),m()))},R),_.useEffect(()=>{if(S)return r&&(x.layersWithOutsidePointerEventsDisabled.size===0&&(Y3=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(S)),x.layers.add(S),X3(),()=>{r&&x.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=Y3)}},[S,R,r,x]),_.useEffect(()=>()=>{S&&(x.layers.delete(S),x.layersWithOutsidePointerEventsDisabled.delete(S),X3())},[S,x]),_.useEffect(()=>{const V=()=>D({});return document.addEventListener(K_,V),()=>document.removeEventListener(K_,V)},[]),M.jsx(fo.div,{...y,ref:$,style:{pointerEvents:I?G?"auto":"none":void 0,...e.style},onFocusCapture:Uv(e.onFocusCapture,H.onFocusCapture),onBlurCapture:Uv(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:Uv(e.onPointerDownCapture,F.onPointerDownCapture)})});dq.displayName=lF;var uF="DismissableLayerBranch",sF=_.forwardRef((e,t)=>{const r=_.useContext(cq),l=_.useRef(null),i=Sn(t,l);return _.useEffect(()=>{const c=l.current;if(c)return r.branches.add(c),()=>{r.branches.delete(c)}},[r.branches]),M.jsx(fo.div,{...e,ref:i})});sF.displayName=uF;function cF(e,t=globalThis?.document){const r=co(e),l=_.useRef(!1),i=_.useRef(()=>{});return _.useEffect(()=>{const c=m=>{if(m.target&&!l.current){let y=function(){fq(oF,r,x,{discrete:!0})};const x={originalEvent:m};m.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=y,t.addEventListener("click",i.current,{once:!0})):y()}else t.removeEventListener("click",i.current);l.current=!1},h=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(h),t.removeEventListener("pointerdown",c),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>l.current=!0}}function dF(e,t=globalThis?.document){const r=co(e),l=_.useRef(!1);return _.useEffect(()=>{const i=c=>{c.target&&!l.current&&fq(iF,r,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function X3(){const e=new CustomEvent(K_);document.dispatchEvent(e)}function fq(e,t,r,{discrete:l}){const i=r.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),l?aF(i,c):i.dispatchEvent(c)}var o_="focusScope.autoFocusOnMount",i_="focusScope.autoFocusOnUnmount",W3={bubbles:!1,cancelable:!0},fF="FocusScope",pq=_.forwardRef((e,t)=>{const{loop:r=!1,trapped:l=!1,onMountAutoFocus:i,onUnmountAutoFocus:c,...h}=e,[m,y]=_.useState(null),x=co(i),S=co(c),w=_.useRef(null),R=Sn(t,O=>y(O)),D=_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;_.useEffect(()=>{if(l){let O=function(I){if(D.paused||!m)return;const G=I.target;m.contains(G)?w.current=G:kv(w.current,{select:!0})},q=function(I){if(D.paused||!m)return;const G=I.relatedTarget;G!==null&&(m.contains(G)||kv(w.current,{select:!0}))},N=function(I){if(document.activeElement===document.body)for(const F of I)F.removedNodes.length>0&&kv(m)};document.addEventListener("focusin",O),document.addEventListener("focusout",q);const U=new MutationObserver(N);return m&&U.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",O),document.removeEventListener("focusout",q),U.disconnect()}}},[l,m,D.paused]),_.useEffect(()=>{if(m){Z3.add(D);const O=document.activeElement;if(!m.contains(O)){const N=new CustomEvent(o_,W3);m.addEventListener(o_,x),m.dispatchEvent(N),N.defaultPrevented||(pF(yF(hq(m)),{select:!0}),document.activeElement===O&&kv(m))}return()=>{m.removeEventListener(o_,x),setTimeout(()=>{const N=new CustomEvent(i_,W3);m.addEventListener(i_,S),m.dispatchEvent(N),N.defaultPrevented||kv(O??document.body,{select:!0}),m.removeEventListener(i_,S),Z3.remove(D)},0)}}},[m,x,S,D]);const $=_.useCallback(O=>{if(!r&&!l||D.paused)return;const q=O.key==="Tab"&&!O.altKey&&!O.ctrlKey&&!O.metaKey,N=document.activeElement;if(q&&N){const U=O.currentTarget,[I,G]=hF(U);I&&G?!O.shiftKey&&N===G?(O.preventDefault(),r&&kv(I,{select:!0})):O.shiftKey&&N===I&&(O.preventDefault(),r&&kv(G,{select:!0})):N===U&&O.preventDefault()}},[r,l,D.paused]);return M.jsx(fo.div,{tabIndex:-1,...h,ref:R,onKeyDown:$})});pq.displayName=fF;function pF(e,{select:t=!1}={}){const r=document.activeElement;for(const l of e)if(kv(l,{select:t}),document.activeElement!==r)return}function hF(e){const t=hq(e),r=Q3(t,e),l=Q3(t.reverse(),e);return[r,l]}function hq(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const i=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||i?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Q3(e,t){for(const r of e)if(!mF(r,{upTo:t}))return r}function mF(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vF(e){return e instanceof HTMLInputElement&&"select"in e}function kv(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&vF(e)&&t&&e.select()}}var Z3=gF();function gF(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=J3(e,t),e.unshift(t)},remove(t){e=J3(e,t),e[0]?.resume()}}}function J3(e,t){const r=[...e],l=r.indexOf(t);return l!==-1&&r.splice(l,1),r}function yF(e){return e.filter(t=>t.tagName!=="A")}var bF="Portal",mq=_.forwardRef((e,t)=>{const{container:r,...l}=e,[i,c]=_.useState(!1);El(()=>c(!0),[]);const h=r||i&&globalThis?.document?.body;return h?Hu.createPortal(M.jsx(fo.div,{...l,ref:t}),h):null});mq.displayName=bF;function xF(e,t){return _.useReducer((r,l)=>t[r][l]??r,e)}var JR=e=>{const{present:t,children:r}=e,l=EF(t),i=typeof r=="function"?r({present:l.isPresent}):_.Children.only(r),c=Sn(l.ref,SF(i));return typeof r=="function"||l.isPresent?_.cloneElement(i,{ref:c}):null};JR.displayName="Presence";function EF(e){const[t,r]=_.useState(),l=_.useRef({}),i=_.useRef(e),c=_.useRef("none"),h=e?"mounted":"unmounted",[m,y]=xF(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return _.useEffect(()=>{const x=UC(l.current);c.current=m==="mounted"?x:"none"},[m]),El(()=>{const x=l.current,S=i.current;if(S!==e){const R=c.current,D=UC(x);e?y("MOUNT"):D==="none"||x?.display==="none"?y("UNMOUNT"):y(S&&R!==D?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,y]),El(()=>{if(t){let x;const S=t.ownerDocument.defaultView??window,w=D=>{const O=UC(l.current).includes(D.animationName);if(D.target===t&&O&&(y("ANIMATION_END"),!i.current)){const q=t.style.animationFillMode;t.style.animationFillMode="forwards",x=S.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=q)})}},R=D=>{D.target===t&&(c.current=UC(l.current))};return t.addEventListener("animationstart",R),t.addEventListener("animationcancel",w),t.addEventListener("animationend",w),()=>{S.clearTimeout(x),t.removeEventListener("animationstart",R),t.removeEventListener("animationcancel",w),t.removeEventListener("animationend",w)}}else y("ANIMATION_END")},[t,y]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:_.useCallback(x=>{x&&(l.current=getComputedStyle(x)),r(x)},[])}}function UC(e){return e?.animationName||"none"}function SF(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var u_=0;function wF(){_.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??e4()),document.body.insertAdjacentElement("beforeend",e[1]??e4()),u_++,()=>{u_===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),u_--}},[])}function e4(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function CF(e){const t=RF(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(AF);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function RF(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=DF(i),m=_F(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var TF=Symbol("radix.slottable");function AF(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===TF}function _F(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{c(...m),i(...m)}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function DF(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var oM="Dialog",[vq]=Pf(oM),[MF,ud]=vq(oM),gq=e=>{const{__scopeDialog:t,children:r,open:l,defaultOpen:i,onOpenChange:c,modal:h=!0}=e,m=_.useRef(null),y=_.useRef(null),[x=!1,S]=XV({prop:l,defaultProp:i,onChange:c});return M.jsx(MF,{scope:t,triggerRef:m,contentRef:y,contentId:sa(),titleId:sa(),descriptionId:sa(),open:x,onOpenChange:S,onOpenToggle:_.useCallback(()=>S(w=>!w),[S]),modal:h,children:r})};gq.displayName=oM;var yq="DialogTrigger",OF=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=ud(yq,r),c=Sn(t,i.triggerRef);return M.jsx(fo.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":sM(i.open),...l,ref:c,onClick:Uv(e.onClick,i.onOpenToggle)})});OF.displayName=yq;var iM="DialogPortal",[NF,bq]=vq(iM,{forceMount:void 0}),xq=e=>{const{__scopeDialog:t,forceMount:r,children:l,container:i}=e,c=ud(iM,t);return M.jsx(NF,{scope:t,forceMount:r,children:_.Children.map(l,h=>M.jsx(JR,{present:r||c.open,children:M.jsx(mq,{asChild:!0,container:i,children:h})}))})};xq.displayName=iM;var bR="DialogOverlay",Eq=_.forwardRef((e,t)=>{const r=bq(bR,e.__scopeDialog),{forceMount:l=r.forceMount,...i}=e,c=ud(bR,e.__scopeDialog);return c.modal?M.jsx(JR,{present:l||c.open,children:M.jsx(PF,{...i,ref:t})}):null});Eq.displayName=bR;var $F=CF("DialogOverlay.RemoveScroll"),PF=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=ud(bR,r);return M.jsx(ex,{as:$F,allowPinchZoom:!0,shards:[i.contentRef],children:M.jsx(fo.div,{"data-state":sM(i.open),...l,ref:t,style:{pointerEvents:"auto",...l.style}})})}),Zy="DialogContent",Sq=_.forwardRef((e,t)=>{const r=bq(Zy,e.__scopeDialog),{forceMount:l=r.forceMount,...i}=e,c=ud(Zy,e.__scopeDialog);return M.jsx(JR,{present:l||c.open,children:c.modal?M.jsx(qF,{...i,ref:t}):M.jsx(kF,{...i,ref:t})})});Sq.displayName=Zy;var qF=_.forwardRef((e,t)=>{const r=ud(Zy,e.__scopeDialog),l=_.useRef(null),i=Sn(t,r.contentRef,l);return _.useEffect(()=>{const c=l.current;if(c)return mw(c)},[]),M.jsx(wq,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Uv(e.onCloseAutoFocus,c=>{c.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Uv(e.onPointerDownOutside,c=>{const h=c.detail.originalEvent,m=h.button===0&&h.ctrlKey===!0;(h.button===2||m)&&c.preventDefault()}),onFocusOutside:Uv(e.onFocusOutside,c=>c.preventDefault())})}),kF=_.forwardRef((e,t)=>{const r=ud(Zy,e.__scopeDialog),l=_.useRef(!1),i=_.useRef(!1);return M.jsx(wq,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(l.current||r.triggerRef.current?.focus(),c.preventDefault()),l.current=!1,i.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(l.current=!0,c.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const h=c.target;r.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&i.current&&c.preventDefault()}})}),wq=_.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:c,...h}=e,m=ud(Zy,r),y=_.useRef(null),x=Sn(t,y);return wF(),M.jsxs(M.Fragment,{children:[M.jsx(pq,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:i,onUnmountAutoFocus:c,children:M.jsx(dq,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":sM(m.open),...h,ref:x,onDismiss:()=>m.onOpenChange(!1)})}),M.jsxs(M.Fragment,{children:[M.jsx(zF,{titleId:m.titleId}),M.jsx(IF,{contentRef:y,descriptionId:m.descriptionId})]})]})}),uM="DialogTitle",LF=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=ud(uM,r);return M.jsx(fo.h2,{id:i.titleId,...l,ref:t})});LF.displayName=uM;var Cq="DialogDescription",jF=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=ud(Cq,r);return M.jsx(fo.p,{id:i.descriptionId,...l,ref:t})});jF.displayName=Cq;var Rq="DialogClose",BF=_.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,i=ud(Rq,r);return M.jsx(fo.button,{type:"button",...l,ref:t,onClick:Uv(e.onClick,()=>i.onOpenChange(!1))})});BF.displayName=Rq;function sM(e){return e?"open":"closed"}var Tq="DialogTitleWarning",[npe,Aq]=g5(Tq,{contentName:Zy,titleName:uM,docsSlug:"dialog"}),zF=({titleId:e})=>{const t=Aq(Tq),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
52
|
+
|
|
53
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
54
|
+
|
|
55
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return _.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},UF="DialogDescriptionWarning",IF=({contentRef:e,descriptionId:t})=>{const l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Aq(UF).contentName}}.`;return _.useEffect(()=>{const i=e.current?.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(l))},[l,e,t]),null},HF=gq,VF=xq,FF=Eq,KF=Sq,Jx='[cmdk-group=""]',s_='[cmdk-group-items=""]',GF='[cmdk-group-heading=""]',_q='[cmdk-item=""]',t4=`${_q}:not([aria-disabled="true"])`,G_="cmdk-item-select",P0="data-value",YF=(e,t,r)=>YV(e,t,r),Dq=_.createContext(void 0),bw=()=>_.useContext(Dq),Mq=_.createContext(void 0),cM=()=>_.useContext(Mq),Oq=_.createContext(void 0),Nq=_.forwardRef((e,t)=>{let r=q0(()=>{var ie,fe;return{search:"",value:(fe=(ie=e.value)!=null?ie:e.defaultValue)!=null?fe:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),l=q0(()=>new Set),i=q0(()=>new Map),c=q0(()=>new Map),h=q0(()=>new Set),m=$q(e),{label:y,children:x,value:S,onValueChange:w,filter:R,shouldFilter:D,loop:$,disablePointerSelection:O=!1,vimBindings:q=!0,...N}=e,U=sa(),I=sa(),G=sa(),F=_.useRef(null),H=lK();Jy(()=>{if(S!==void 0){let ie=S.trim();r.current.value=ie,V.emit()}},[S]),Jy(()=>{H(6,se)},[]);let V=_.useMemo(()=>({subscribe:ie=>(h.current.add(ie),()=>h.current.delete(ie)),snapshot:()=>r.current,setState:(ie,fe,_e)=>{var $e,Pe,Re,Ye;if(!Object.is(r.current[ie],fe)){if(r.current[ie]=fe,ie==="search")ue(),xe(),H(1,Q);else if(ie==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let oe=document.getElementById(G);oe?oe.focus():($e=document.getElementById(U))==null||$e.focus()}if(H(7,()=>{var oe;r.current.selectedItemId=(oe=ae())==null?void 0:oe.id,V.emit()}),_e||H(5,se),((Pe=m.current)==null?void 0:Pe.value)!==void 0){let oe=fe??"";(Ye=(Re=m.current).onValueChange)==null||Ye.call(Re,oe);return}}V.emit()}},emit:()=>{h.current.forEach(ie=>ie())}}),[]),X=_.useMemo(()=>({value:(ie,fe,_e)=>{var $e;fe!==(($e=c.current.get(ie))==null?void 0:$e.value)&&(c.current.set(ie,{value:fe,keywords:_e}),r.current.filtered.items.set(ie,le(fe,_e)),H(2,()=>{xe(),V.emit()}))},item:(ie,fe)=>(l.current.add(ie),fe&&(i.current.has(fe)?i.current.get(fe).add(ie):i.current.set(fe,new Set([ie]))),H(3,()=>{ue(),xe(),r.current.value||Q(),V.emit()}),()=>{c.current.delete(ie),l.current.delete(ie),r.current.filtered.items.delete(ie);let _e=ae();H(4,()=>{ue(),_e?.getAttribute("id")===ie&&Q(),V.emit()})}),group:ie=>(i.current.has(ie)||i.current.set(ie,new Set),()=>{c.current.delete(ie),i.current.delete(ie)}),filter:()=>m.current.shouldFilter,label:y||e["aria-label"],getDisablePointerSelection:()=>m.current.disablePointerSelection,listId:U,inputId:G,labelId:I,listInnerRef:F}),[]);function le(ie,fe){var _e,$e;let Pe=($e=(_e=m.current)==null?void 0:_e.filter)!=null?$e:YF;return ie?Pe(ie,r.current.search,fe):0}function xe(){if(!r.current.search||m.current.shouldFilter===!1)return;let ie=r.current.filtered.items,fe=[];r.current.filtered.groups.forEach($e=>{let Pe=i.current.get($e),Re=0;Pe.forEach(Ye=>{let oe=ie.get(Ye);Re=Math.max(oe,Re)}),fe.push([$e,Re])});let _e=F.current;ge().sort(($e,Pe)=>{var Re,Ye;let oe=$e.getAttribute("id"),je=Pe.getAttribute("id");return((Re=ie.get(je))!=null?Re:0)-((Ye=ie.get(oe))!=null?Ye:0)}).forEach($e=>{let Pe=$e.closest(s_);Pe?Pe.appendChild($e.parentElement===Pe?$e:$e.closest(`${s_} > *`)):_e.appendChild($e.parentElement===_e?$e:$e.closest(`${s_} > *`))}),fe.sort(($e,Pe)=>Pe[1]-$e[1]).forEach($e=>{var Pe;let Re=(Pe=F.current)==null?void 0:Pe.querySelector(`${Jx}[${P0}="${encodeURIComponent($e[0])}"]`);Re?.parentElement.appendChild(Re)})}function Q(){let ie=ge().find(_e=>_e.getAttribute("aria-disabled")!=="true"),fe=ie?.getAttribute(P0);V.setState("value",fe||void 0)}function ue(){var ie,fe,_e,$e;if(!r.current.search||m.current.shouldFilter===!1){r.current.filtered.count=l.current.size;return}r.current.filtered.groups=new Set;let Pe=0;for(let Re of l.current){let Ye=(fe=(ie=c.current.get(Re))==null?void 0:ie.value)!=null?fe:"",oe=($e=(_e=c.current.get(Re))==null?void 0:_e.keywords)!=null?$e:[],je=le(Ye,oe);r.current.filtered.items.set(Re,je),je>0&&Pe++}for(let[Re,Ye]of i.current)for(let oe of Ye)if(r.current.filtered.items.get(oe)>0){r.current.filtered.groups.add(Re);break}r.current.filtered.count=Pe}function se(){var ie,fe,_e;let $e=ae();$e&&(((ie=$e.parentElement)==null?void 0:ie.firstChild)===$e&&((_e=(fe=$e.closest(Jx))==null?void 0:fe.querySelector(GF))==null||_e.scrollIntoView({block:"nearest"})),$e.scrollIntoView({block:"nearest"}))}function ae(){var ie;return(ie=F.current)==null?void 0:ie.querySelector(`${_q}[aria-selected="true"]`)}function ge(){var ie;return Array.from(((ie=F.current)==null?void 0:ie.querySelectorAll(t4))||[])}function L(ie){let fe=ge()[ie];fe&&V.setState("value",fe.getAttribute(P0))}function W(ie){var fe;let _e=ae(),$e=ge(),Pe=$e.findIndex(Ye=>Ye===_e),Re=$e[Pe+ie];(fe=m.current)!=null&&fe.loop&&(Re=Pe+ie<0?$e[$e.length-1]:Pe+ie===$e.length?$e[0]:$e[Pe+ie]),Re&&V.setState("value",Re.getAttribute(P0))}function ee(ie){let fe=ae(),_e=fe?.closest(Jx),$e;for(;_e&&!$e;)_e=ie>0?rK(_e,Jx):aK(_e,Jx),$e=_e?.querySelector(t4);$e?V.setState("value",$e.getAttribute(P0)):W(ie)}let me=()=>L(ge().length-1),Y=ie=>{ie.preventDefault(),ie.metaKey?me():ie.altKey?ee(1):W(1)},be=ie=>{ie.preventDefault(),ie.metaKey?L(0):ie.altKey?ee(-1):W(-1)};return _.createElement(fo.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:ie=>{var fe;(fe=N.onKeyDown)==null||fe.call(N,ie);let _e=ie.nativeEvent.isComposing||ie.keyCode===229;if(!(ie.defaultPrevented||_e))switch(ie.key){case"n":case"j":{q&&ie.ctrlKey&&Y(ie);break}case"ArrowDown":{Y(ie);break}case"p":case"k":{q&&ie.ctrlKey&&be(ie);break}case"ArrowUp":{be(ie);break}case"Home":{ie.preventDefault(),L(0);break}case"End":{ie.preventDefault(),me();break}case"Enter":{ie.preventDefault();let $e=ae();if($e){let Pe=new Event(G_);$e.dispatchEvent(Pe)}}}}},_.createElement("label",{"cmdk-label":"",htmlFor:X.inputId,id:X.labelId,style:iK},y),eT(e,ie=>_.createElement(Mq.Provider,{value:V},_.createElement(Dq.Provider,{value:X},ie))))}),XF=_.forwardRef((e,t)=>{var r,l;let i=sa(),c=_.useRef(null),h=_.useContext(Oq),m=bw(),y=$q(e),x=(l=(r=y.current)==null?void 0:r.forceMount)!=null?l:h?.forceMount;Jy(()=>{if(!x)return m.item(i,h?.id)},[x]);let S=Pq(i,c,[e.value,e.children,c],e.keywords),w=cM(),R=Vv(H=>H.value&&H.value===S.current),D=Vv(H=>x||m.filter()===!1?!0:H.search?H.filtered.items.get(i)>0:!0);_.useEffect(()=>{let H=c.current;if(!(!H||e.disabled))return H.addEventListener(G_,$),()=>H.removeEventListener(G_,$)},[D,e.onSelect,e.disabled]);function $(){var H,V;O(),(V=(H=y.current).onSelect)==null||V.call(H,S.current)}function O(){w.setState("value",S.current,!0)}if(!D)return null;let{disabled:q,value:N,onSelect:U,forceMount:I,keywords:G,...F}=e;return _.createElement(fo.div,{ref:qr(c,t),...F,id:i,"cmdk-item":"",role:"option","aria-disabled":!!q,"aria-selected":!!R,"data-disabled":!!q,"data-selected":!!R,onPointerMove:q||m.getDisablePointerSelection()?void 0:O,onClick:q?void 0:$},e.children)}),WF=_.forwardRef((e,t)=>{let{heading:r,children:l,forceMount:i,...c}=e,h=sa(),m=_.useRef(null),y=_.useRef(null),x=sa(),S=bw(),w=Vv(D=>i||S.filter()===!1?!0:D.search?D.filtered.groups.has(h):!0);Jy(()=>S.group(h),[]),Pq(h,m,[e.value,e.heading,y]);let R=_.useMemo(()=>({id:h,forceMount:i}),[i]);return _.createElement(fo.div,{ref:qr(m,t),...c,"cmdk-group":"",role:"presentation",hidden:w?void 0:!0},r&&_.createElement("div",{ref:y,"cmdk-group-heading":"","aria-hidden":!0,id:x},r),eT(e,D=>_.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?x:void 0},_.createElement(Oq.Provider,{value:R},D))))}),QF=_.forwardRef((e,t)=>{let{alwaysRender:r,...l}=e,i=_.useRef(null),c=Vv(h=>!h.search);return!r&&!c?null:_.createElement(fo.div,{ref:qr(i,t),...l,"cmdk-separator":"",role:"separator"})}),ZF=_.forwardRef((e,t)=>{let{onValueChange:r,...l}=e,i=e.value!=null,c=cM(),h=Vv(x=>x.search),m=Vv(x=>x.selectedItemId),y=bw();return _.useEffect(()=>{e.value!=null&&c.setState("search",e.value)},[e.value]),_.createElement(fo.input,{ref:t,...l,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":y.listId,"aria-labelledby":y.labelId,"aria-activedescendant":m,id:y.inputId,type:"text",value:i?e.value:h,onChange:x=>{i||c.setState("search",x.target.value),r?.(x.target.value)}})}),JF=_.forwardRef((e,t)=>{let{children:r,label:l="Suggestions",...i}=e,c=_.useRef(null),h=_.useRef(null),m=Vv(x=>x.selectedItemId),y=bw();return _.useEffect(()=>{if(h.current&&c.current){let x=h.current,S=c.current,w,R=new ResizeObserver(()=>{w=requestAnimationFrame(()=>{let D=x.offsetHeight;S.style.setProperty("--cmdk-list-height",D.toFixed(1)+"px")})});return R.observe(x),()=>{cancelAnimationFrame(w),R.unobserve(x)}}},[]),_.createElement(fo.div,{ref:qr(c,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":m,"aria-label":l,id:y.listId},eT(e,x=>_.createElement("div",{ref:qr(h,y.listInnerRef),"cmdk-list-sizer":""},x)))}),eK=_.forwardRef((e,t)=>{let{open:r,onOpenChange:l,overlayClassName:i,contentClassName:c,container:h,...m}=e;return _.createElement(HF,{open:r,onOpenChange:l},_.createElement(VF,{container:h},_.createElement(FF,{"cmdk-overlay":"",className:i}),_.createElement(KF,{"aria-label":e.label,"cmdk-dialog":"",className:c},_.createElement(Nq,{ref:t,...m}))))}),tK=_.forwardRef((e,t)=>Vv(r=>r.filtered.count===0)?_.createElement(fo.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),nK=_.forwardRef((e,t)=>{let{progress:r,children:l,label:i="Loading...",...c}=e;return _.createElement(fo.div,{ref:t,...c,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},eT(e,h=>_.createElement("div",{"aria-hidden":!0},h)))}),ub=Object.assign(Nq,{List:JF,Item:XF,Input:ZF,Group:WF,Separator:QF,Dialog:eK,Empty:tK,Loading:nK});function rK(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function aK(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function $q(e){let t=_.useRef(e);return Jy(()=>{t.current=e}),t}var Jy=typeof window>"u"?_.useEffect:_.useLayoutEffect;function q0(e){let t=_.useRef();return t.current===void 0&&(t.current=e()),t}function Vv(e){let t=cM(),r=()=>e(t.snapshot());return _.useSyncExternalStore(t.subscribe,r,r)}function Pq(e,t,r,l=[]){let i=_.useRef(),c=bw();return Jy(()=>{var h;let m=(()=>{var x;for(let S of r){if(typeof S=="string")return S.trim();if(typeof S=="object"&&"current"in S)return S.current?(x=S.current.textContent)==null?void 0:x.trim():i.current}})(),y=l.map(x=>x.trim());c.value(e,m,y),(h=t.current)==null||h.setAttribute(P0,m),i.current=m}),i}var lK=()=>{let[e,t]=_.useState(),r=q0(()=>new Map);return Jy(()=>{r.current.forEach(l=>l()),r.current=new Map},[e]),(l,i)=>{r.current.set(l,i),t({})}};function oK(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function eT({asChild:e,children:t},r){return e&&_.isValidElement(t)?_.cloneElement(oK(t),{ref:t.ref},r(t.props.children)):r(t)}var iK={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const xw=({className:e,...t})=>M.jsx(ub,{"data-slot":"auto-complete",className:Ve("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}),uK=({children:e,...t})=>M.jsx(WR,{...t,"data-slot":"auto-complete-dialog",children:M.jsx(QR,{className:"p-0 overflow-hidden shadow-lg","data-slot":"auto-complete-dialog-content",children:M.jsx(xw,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),tT=({className:e,...t})=>M.jsxs("div",{className:"flex items-center px-3 border-b","data-slot":"auto-complete-input-container",children:[M.jsx(rV,{className:"w-4 h-4 mr-2 opacity-50 shrink-0","data-slot":"auto-complete-input-icon"}),M.jsx(ub.Input,{"data-slot":"auto-complete-input",className:Ve("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}),nT=({className:e,...t})=>M.jsx(ub.List,{"data-slot":"auto-complete-list",className:Ve("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}),rT=e=>M.jsx(ub.Empty,{className:"py-6 text-sm text-center","data-slot":"auto-complete-empty",...e}),qq=({className:e,...t})=>M.jsx(ub.Group,{"data-slot":"auto-complete-group",className:Ve("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}),sK=({className:e,...t})=>M.jsx(ub.Separator,{"data-slot":"auto-complete-separator",className:Ve("-mx-1 h-px bg-input",e),...t}),ew=({className:e,...t})=>M.jsx(ub.Item,{"data-slot":"auto-complete-item",className:Ve("aria-selected:bg-accent aria-selected:text-accent-foreground","aria-disabled:pointer-events-none aria-disabled:opacity-50","relative flex gap-2 cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",e),...t}),kq=({className:e,...t})=>M.jsx("span",{"data-slot":"auto-complete-shortcut",className:Ve("ml-auto text-xs tracking-widest text-muted-foreground",e),...t}),cK=({items:e,placeholder:t="Buscar...",emptyMessage:r="No se encontraron resultados",onSelect:l,containerClassName:i,containerProps:c,inputClassName:h,inputProps:m,listClassName:y,listProps:x,itemClassName:S,itemProps:w,emptyClassName:R,emptyProps:D})=>M.jsxs(xw,{className:i,...c,children:[M.jsx(tT,{placeholder:t,className:h,...m}),M.jsx(nT,{className:y,...x,children:e.map($=>M.jsxs(ew,{className:S,onSelect:()=>l?.($.value,$),...w,children:[$.label,$.shortcut&&M.jsx(kq,{children:$.shortcut})]},$.value))}),M.jsx(rT,{className:R,...D,children:r})]}),Lq=e=>e.split(" ").map(t=>t.charAt(0)).join("");function dK(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}const fK=({children:e,as:t="div",props:r})=>{let l;return typeof e=="string"?l=M.jsx(t,{children:e}):j.isValidElement(e)?l=e:typeof e=="function"?l=e(r):l=M.jsx(t,{children:e}),j.isValidElement(l)?l:M.jsx(t,{children:l})},Ew=()=>{const e=j.createContext(null);return[()=>{const r=j.useContext(e);if(r===null)throw new Error("Context value is null");return r},e.Provider]},pK=e=>{e.preventDefault();const t=e.currentTarget.elements,r={};return Array.from(t).forEach(l=>{const i=l;i.name&&(r[i.name]=i.value)}),r};var IC={exports:{}},c_={};var n4;function hK(){if(n4)return c_;n4=1;var e=j,t=!1;return c_.act=function(r){return t===!1&&(t=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),e.act(r)},c_}var d_={};var r4;function mK(){return r4||(r4=1,process.env.NODE_ENV!=="production"&&(function(){var e=j,t=!1;d_.act=function(r){return t===!1&&(t=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),e.act(r)}})()),d_}var a4;function vK(){return a4||(a4=1,process.env.NODE_ENV==="production"?IC.exports=hK():IC.exports=mK()),IC.exports}var gK=vK(),HC={exports:{}},e1={},VC={exports:{}},f_={};var l4;function yK(){return l4||(l4=1,(function(e){function t(L,W){var ee=L.length;L.push(W);e:for(;0<ee;){var me=ee-1>>>1,Y=L[me];if(0<i(Y,W))L[me]=W,L[ee]=Y,ee=me;else break e}}function r(L){return L.length===0?null:L[0]}function l(L){if(L.length===0)return null;var W=L[0],ee=L.pop();if(ee!==W){L[0]=ee;e:for(var me=0,Y=L.length,be=Y>>>1;me<be;){var ie=2*(me+1)-1,fe=L[ie],_e=ie+1,$e=L[_e];if(0>i(fe,ee))_e<Y&&0>i($e,fe)?(L[me]=$e,L[_e]=ee,me=_e):(L[me]=fe,L[ie]=ee,me=ie);else if(_e<Y&&0>i($e,ee))L[me]=$e,L[_e]=ee,me=_e;else break e}}return W}function i(L,W){var ee=L.sortIndex-W.sortIndex;return ee!==0?ee:L.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var h=Date,m=h.now();e.unstable_now=function(){return h.now()-m}}var y=[],x=[],S=1,w=null,R=3,D=!1,$=!1,O=!1,q=!1,N=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function G(L){for(var W=r(x);W!==null;){if(W.callback===null)l(x);else if(W.startTime<=L)l(x),W.sortIndex=W.expirationTime,t(y,W);else break;W=r(x)}}function F(L){if(O=!1,G(L),!$)if(r(y)!==null)$=!0,H||(H=!0,ue());else{var W=r(x);W!==null&&ge(F,W.startTime-L)}}var H=!1,V=-1,X=5,le=-1;function xe(){return q?!0:!(e.unstable_now()-le<X)}function Q(){if(q=!1,H){var L=e.unstable_now();le=L;var W=!0;try{e:{$=!1,O&&(O=!1,U(V),V=-1),D=!0;var ee=R;try{t:{for(G(L),w=r(y);w!==null&&!(w.expirationTime>L&&xe());){var me=w.callback;if(typeof me=="function"){w.callback=null,R=w.priorityLevel;var Y=me(w.expirationTime<=L);if(L=e.unstable_now(),typeof Y=="function"){w.callback=Y,G(L),W=!0;break t}w===r(y)&&l(y),G(L)}else l(y);w=r(y)}if(w!==null)W=!0;else{var be=r(x);be!==null&&ge(F,be.startTime-L),W=!1}}break e}finally{w=null,R=ee,D=!1}W=void 0}}finally{W?ue():H=!1}}}var ue;if(typeof I=="function")ue=function(){I(Q)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,ae=se.port2;se.port1.onmessage=Q,ue=function(){ae.postMessage(null)}}else ue=function(){N(Q,0)};function ge(L,W){V=N(function(){L(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_next=function(L){switch(R){case 1:case 2:case 3:var W=3;break;default:W=R}var ee=R;R=W;try{return L()}finally{R=ee}},e.unstable_requestPaint=function(){q=!0},e.unstable_runWithPriority=function(L,W){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var ee=R;R=L;try{return W()}finally{R=ee}},e.unstable_scheduleCallback=function(L,W,ee){var me=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?me+ee:me):ee=me,L){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=ee+Y,L={id:S++,callback:W,priorityLevel:L,startTime:ee,expirationTime:Y,sortIndex:-1},ee>me?(L.sortIndex=ee,t(x,L),r(y)===null&&L===r(x)&&(O?(U(V),V=-1):O=!0,ge(F,ee-me))):(L.sortIndex=Y,t(y,L),$||D||($=!0,H||(H=!0,ue()))),L},e.unstable_shouldYield=xe,e.unstable_wrapCallback=function(L){var W=R;return function(){var ee=R;R=W;try{return L.apply(this,arguments)}finally{R=ee}}}})(f_)),f_}var p_={};var o4;function bK(){return o4||(o4=1,(function(e){process.env.NODE_ENV!=="production"&&(function(){function t(){if(F=!1,le){var L=e.unstable_now();ue=L;var W=!0;try{e:{I=!1,G&&(G=!1,V(xe),xe=-1),U=!0;var ee=N;try{t:{for(h(L),q=l(D);q!==null&&!(q.expirationTime>L&&y());){var me=q.callback;if(typeof me=="function"){q.callback=null,N=q.priorityLevel;var Y=me(q.expirationTime<=L);if(L=e.unstable_now(),typeof Y=="function"){q.callback=Y,h(L),W=!0;break t}q===l(D)&&i(D),h(L)}else i(D);q=l(D)}if(q!==null)W=!0;else{var be=l($);be!==null&&x(m,be.startTime-L),W=!1}}break e}finally{q=null,N=ee,U=!1}W=void 0}}finally{W?se():le=!1}}}function r(L,W){var ee=L.length;L.push(W);e:for(;0<ee;){var me=ee-1>>>1,Y=L[me];if(0<c(Y,W))L[me]=W,L[ee]=Y,ee=me;else break e}}function l(L){return L.length===0?null:L[0]}function i(L){if(L.length===0)return null;var W=L[0],ee=L.pop();if(ee!==W){L[0]=ee;e:for(var me=0,Y=L.length,be=Y>>>1;me<be;){var ie=2*(me+1)-1,fe=L[ie],_e=ie+1,$e=L[_e];if(0>c(fe,ee))_e<Y&&0>c($e,fe)?(L[me]=$e,L[_e]=ee,me=_e):(L[me]=fe,L[ie]=ee,me=ie);else if(_e<Y&&0>c($e,ee))L[me]=$e,L[_e]=ee,me=_e;else break e}}return W}function c(L,W){var ee=L.sortIndex-W.sortIndex;return ee!==0?ee:L.id-W.id}function h(L){for(var W=l($);W!==null;){if(W.callback===null)i($);else if(W.startTime<=L)i($),W.sortIndex=W.expirationTime,r(D,W);else break;W=l($)}}function m(L){if(G=!1,h(L),!I)if(l(D)!==null)I=!0,le||(le=!0,se());else{var W=l($);W!==null&&x(m,W.startTime-L)}}function y(){return F?!0:!(e.unstable_now()-ue<Q)}function x(L,W){xe=H(function(){L(e.unstable_now())},W)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;e.unstable_now=function(){return S.now()}}else{var w=Date,R=w.now();e.unstable_now=function(){return w.now()-R}}var D=[],$=[],O=1,q=null,N=3,U=!1,I=!1,G=!1,F=!1,H=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null,le=!1,xe=-1,Q=5,ue=-1;if(typeof X=="function")var se=function(){X(t)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,ge=ae.port2;ae.port1.onmessage=t,se=function(){ge.postMessage(null)}}else se=function(){H(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return N},e.unstable_next=function(L){switch(N){case 1:case 2:case 3:var W=3;break;default:W=N}var ee=N;N=W;try{return L()}finally{N=ee}},e.unstable_requestPaint=function(){F=!0},e.unstable_runWithPriority=function(L,W){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var ee=N;N=L;try{return W()}finally{N=ee}},e.unstable_scheduleCallback=function(L,W,ee){var me=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?me+ee:me):ee=me,L){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=ee+Y,L={id:O++,callback:W,priorityLevel:L,startTime:ee,expirationTime:Y,sortIndex:-1},ee>me?(L.sortIndex=ee,r($,L),l(D)===null&&L===l($)&&(G?(V(xe),xe=-1):G=!0,x(m,ee-me))):(L.sortIndex=Y,r(D,L),I||U||(I=!0,le||(le=!0,se()))),L},e.unstable_shouldYield=y,e.unstable_wrapCallback=function(L){var W=N;return function(){var ee=N;N=W;try{return L.apply(this,arguments)}finally{N=ee}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(p_)),p_}var i4;function jq(){return i4||(i4=1,process.env.NODE_ENV==="production"?VC.exports=yK():VC.exports=bK()),VC.exports}var u4;function xK(){if(u4)return e1;u4=1;var e=jq(),t=j,r=Hu;function l(o){var s="https://react.dev/errors/"+o;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)s+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+o+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function c(o){var s=o,d=o;if(o.alternate)for(;s.return;)s=s.return;else{o=s;do s=o,(s.flags&4098)!==0&&(d=s.return),o=s.return;while(o)}return s.tag===3?d:null}function h(o){if(o.tag===13){var s=o.memoizedState;if(s===null&&(o=o.alternate,o!==null&&(s=o.memoizedState)),s!==null)return s.dehydrated}return null}function m(o){if(c(o)!==o)throw Error(l(188))}function y(o){var s=o.alternate;if(!s){if(s=c(o),s===null)throw Error(l(188));return s!==o?null:o}for(var d=o,g=s;;){var C=d.return;if(C===null)break;var A=C.alternate;if(A===null){if(g=C.return,g!==null){d=g;continue}break}if(C.child===A.child){for(A=C.child;A;){if(A===d)return m(C),o;if(A===g)return m(C),s;A=A.sibling}throw Error(l(188))}if(d.return!==g.return)d=C,g=A;else{for(var z=!1,J=C.child;J;){if(J===d){z=!0,d=C,g=A;break}if(J===g){z=!0,g=C,d=A;break}J=J.sibling}if(!z){for(J=A.child;J;){if(J===d){z=!0,d=A,g=C;break}if(J===g){z=!0,g=A,d=C;break}J=J.sibling}if(!z)throw Error(l(189))}}if(d.alternate!==g)throw Error(l(190))}if(d.tag!==3)throw Error(l(188));return d.stateNode.current===d?o:s}function x(o){var s=o.tag;if(s===5||s===26||s===27||s===6)return o;for(o=o.child;o!==null;){if(s=x(o),s!==null)return s;o=o.sibling}return null}var S=Object.assign,w=Symbol.for("react.element"),R=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),U=Symbol.for("react.consumer"),I=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),xe=Symbol.for("react.memo_cache_sentinel"),Q=Symbol.iterator;function ue(o){return o===null||typeof o!="object"?null:(o=Q&&o[Q]||o["@@iterator"],typeof o=="function"?o:null)}var se=Symbol.for("react.client.reference");function ae(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===se?null:o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case $:return"Fragment";case q:return"Profiler";case O:return"StrictMode";case F:return"Suspense";case H:return"SuspenseList";case le:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case D:return"Portal";case I:return(o.displayName||"Context")+".Provider";case U:return(o._context.displayName||"Context")+".Consumer";case G:var s=o.render;return o=o.displayName,o||(o=s.displayName||s.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case V:return s=o.displayName||null,s!==null?s:ae(o.type)||"Memo";case X:s=o._payload,o=o._init;try{return ae(o(s))}catch{}}return null}var ge=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},me=[],Y=-1;function be(o){return{current:o}}function ie(o){0>Y||(o.current=me[Y],me[Y]=null,Y--)}function fe(o,s){Y++,me[Y]=o.current,o.current=s}var _e=be(null),$e=be(null),Pe=be(null),Re=be(null);function Ye(o,s){switch(fe(Pe,s),fe($e,o),fe(_e,null),s.nodeType){case 9:case 11:o=(o=s.documentElement)&&(o=o.namespaceURI)?On(o):0;break;default:if(o=s.tagName,s=s.namespaceURI)s=On(s),o=Vn(s,o);else switch(o){case"svg":o=1;break;case"math":o=2;break;default:o=0}}ie(_e),fe(_e,o)}function oe(){ie(_e),ie($e),ie(Pe)}function je(o){o.memoizedState!==null&&fe(Re,o);var s=_e.current,d=Vn(s,o.type);s!==d&&(fe($e,o),fe(_e,d))}function Le(o){$e.current===o&&(ie(_e),ie($e)),Re.current===o&&(ie(Re),hl._currentValue=ee)}var we=Object.prototype.hasOwnProperty,lt=e.unstable_scheduleCallback,St=e.unstable_cancelCallback,pn=e.unstable_shouldYield,Pn=e.unstable_requestPaint,an=e.unstable_now,nu=e.unstable_getCurrentPriorityLevel,Ws=e.unstable_ImmediatePriority,ve=e.unstable_UserBlockingPriority,De=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,it=e.unstable_IdlePriority,ot=e.log,rt=e.unstable_setDisableYieldValue,mt=null,Mt=null;function Bt(o){if(typeof ot=="function"&&rt(o),Mt&&typeof Mt.setStrictMode=="function")try{Mt.setStrictMode(mt,o)}catch{}}var An=Math.clz32?Math.clz32:Qs,po=Math.log,Wa=Math.LN2;function Qs(o){return o>>>=0,o===0?32:31-(po(o)/Wa|0)|0}var wl=256,da=4194304;function Vr(o){var s=o&42;if(s!==0)return s;switch(o&-o){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 o&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return o&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return o}}function Qa(o,s,d){var g=o.pendingLanes;if(g===0)return 0;var C=0,A=o.suspendedLanes,z=o.pingedLanes;o=o.warmLanes;var J=g&134217727;return J!==0?(g=J&~A,g!==0?C=Vr(g):(z&=J,z!==0?C=Vr(z):d||(d=J&~o,d!==0&&(C=Vr(d))))):(J=g&~A,J!==0?C=Vr(J):z!==0?C=Vr(z):d||(d=g&~o,d!==0&&(C=Vr(d)))),C===0?0:s!==0&&s!==C&&(s&A)===0&&(A=C&-C,d=s&-s,A>=d||A===32&&(d&4194048)!==0)?s:C}function Ma(o,s){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&s)===0}function gr(o,s){switch(o){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 vi(){var o=wl;return wl<<=1,(wl&4194048)===0&&(wl=256),o}function ru(){var o=da;return da<<=1,(da&62914560)===0&&(da=4194304),o}function Vo(o){for(var s=[],d=0;31>d;d++)s.push(o);return s}function gi(o,s){o.pendingLanes|=s,s!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function Ph(o,s,d,g,C,A){var z=o.pendingLanes;o.pendingLanes=d,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=d,o.entangledLanes&=d,o.errorRecoveryDisabledLanes&=d,o.shellSuspendCounter=0;var J=o.entanglements,ce=o.expirationTimes,Oe=o.hiddenUpdates;for(d=z&~d;0<d;){var We=31-An(d),Je=1<<We;J[We]=0,ce[We]=-1;var ke=Oe[We];if(ke!==null)for(Oe[We]=null,We=0;We<ke.length;We++){var Ne=ke[We];Ne!==null&&(Ne.lane&=-536870913)}d&=~Je}g!==0&&Zs(o,g,0),A!==0&&C===0&&o.tag!==0&&(o.suspendedLanes|=A&~(z&~s))}function Zs(o,s,d){o.pendingLanes|=s,o.suspendedLanes&=~s;var g=31-An(s);o.entangledLanes|=s,o.entanglements[g]=o.entanglements[g]|1073741824|d&4194090}function Js(o,s){var d=o.entangledLanes|=s;for(o=o.entanglements;d;){var g=31-An(d),C=1<<g;C&s|o[g]&s&&(o[g]|=s),d&=~C}}function Gl(o){switch(o){case 2:o=1;break;case 8:o=4;break;case 32:o=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:o=128;break;case 268435456:o=134217728;break;default:o=0}return o}function at(o){return o&=-o,2<o?8<o?(o&134217727)!==0?32:268435456:8:2}function qh(){var o=W.p;return o!==0?o:(o=window.event,o===void 0?32:hy(o.type))}function eg(o,s){var d=W.p;try{return W.p=o,s()}finally{W.p=d}}var ur=Math.random().toString(36).slice(2),kr="__reactFiber$"+ur,Za="__reactProps$"+ur,Gu="__reactContainer$"+ur,kh="__reactEvents$"+ur,fb="__reactListeners$"+ur,Lh="__reactHandles$"+ur,pb="__reactResources$"+ur,ht="__reactMarker$"+ur;function Lf(o){delete o[kr],delete o[Za],delete o[kh],delete o[fb],delete o[Lh]}function fa(o){var s=o[kr];if(s)return s;for(var d=o.parentNode;d;){if(s=d[Gu]||d[kr]){if(d=s.alternate,s.child!==null||d!==null&&d.child!==null)for(o=Sa(o);o!==null;){if(d=o[kr])return d;o=Sa(o)}return s}o=d,d=o.parentNode}return null}function ec(o){if(o=o[kr]||o[Gu]){var s=o.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return o}return null}function sd(o){var s=o.tag;if(s===5||s===26||s===27||s===6)return o.stateNode;throw Error(l(33))}function au(o){var s=o[pb];return s||(s=o[pb]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Fr(o){o[ht]=!0}var jf=new Set,Yl={};function Yu(o,s){Xu(o,s),Xu(o+"Capture",s)}function Xu(o,s){for(Yl[o]=s,o=0;o<s.length;o++)jf.add(s[o])}var Bf=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]*$"),jh={},cd={};function hb(o){return we.call(cd,o)?!0:we.call(jh,o)?!1:Bf.test(o)?cd[o]=!0:(jh[o]=!0,!1)}function lu(o,s,d){if(hb(s))if(d===null)o.removeAttribute(s);else{switch(typeof d){case"undefined":case"function":case"symbol":o.removeAttribute(s);return;case"boolean":var g=s.toLowerCase().slice(0,5);if(g!=="data-"&&g!=="aria-"){o.removeAttribute(s);return}}o.setAttribute(s,""+d)}}function zf(o,s,d){if(d===null)o.removeAttribute(s);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(s);return}o.setAttribute(s,""+d)}}function Fo(o,s,d,g){if(g===null)o.removeAttribute(d);else{switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(d);return}o.setAttributeNS(s,d,""+g)}}var Uf,Bh;function tc(o){if(Uf===void 0)try{throw Error()}catch(d){var s=d.stack.trim().match(/\n( *(at )?)/);Uf=s&&s[1]||"",Bh=-1<d.stack.indexOf(`
|
|
56
|
+
at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
57
|
+
`+Uf+o+Bh}var Ja=!1;function Wu(o,s){if(!o||Ja)return"";Ja=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(s){var Je=function(){throw Error()};if(Object.defineProperty(Je.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Je,[])}catch(Ne){var ke=Ne}Reflect.construct(o,[],Je)}else{try{Je.call()}catch(Ne){ke=Ne}o.call(Je.prototype)}}else{try{throw Error()}catch(Ne){ke=Ne}(Je=o())&&typeof Je.catch=="function"&&Je.catch(function(){})}}catch(Ne){if(Ne&&ke&&typeof Ne.stack=="string")return[Ne.stack,ke.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var C=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");C&&C.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var A=g.DetermineComponentFrameRoot(),z=A[0],J=A[1];if(z&&J){var ce=z.split(`
|
|
58
|
+
`),Oe=J.split(`
|
|
59
|
+
`);for(C=g=0;g<ce.length&&!ce[g].includes("DetermineComponentFrameRoot");)g++;for(;C<Oe.length&&!Oe[C].includes("DetermineComponentFrameRoot");)C++;if(g===ce.length||C===Oe.length)for(g=ce.length-1,C=Oe.length-1;1<=g&&0<=C&&ce[g]!==Oe[C];)C--;for(;1<=g&&0<=C;g--,C--)if(ce[g]!==Oe[C]){if(g!==1||C!==1)do if(g--,C--,0>C||ce[g]!==Oe[C]){var We=`
|
|
60
|
+
`+ce[g].replace(" at new "," at ");return o.displayName&&We.includes("<anonymous>")&&(We=We.replace("<anonymous>",o.displayName)),We}while(1<=g&&0<=C);break}}}finally{Ja=!1,Error.prepareStackTrace=d}return(d=o?o.displayName||o.name:"")?tc(d):""}function nc(o){switch(o.tag){case 26:case 27:case 5:return tc(o.type);case 16:return tc("Lazy");case 13:return tc("Suspense");case 19:return tc("SuspenseList");case 0:case 15:return Wu(o.type,!1);case 11:return Wu(o.type.render,!1);case 1:return Wu(o.type,!0);case 31:return tc("Activity");default:return""}}function zh(o){try{var s="";do s+=nc(o),o=o.return;while(o);return s}catch(d){return`
|
|
61
|
+
Error generating stack: `+d.message+`
|
|
62
|
+
`+d.stack}}function pa(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function dd(o){var s=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function If(o){var s=dd(o)?"checked":"value",d=Object.getOwnPropertyDescriptor(o.constructor.prototype,s),g=""+o[s];if(!o.hasOwnProperty(s)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var C=d.get,A=d.set;return Object.defineProperty(o,s,{configurable:!0,get:function(){return C.call(this)},set:function(z){g=""+z,A.call(this,z)}}),Object.defineProperty(o,s,{enumerable:d.enumerable}),{getValue:function(){return g},setValue:function(z){g=""+z},stopTracking:function(){o._valueTracker=null,delete o[s]}}}}function Qu(o){o._valueTracker||(o._valueTracker=If(o))}function Zu(o){if(!o)return!1;var s=o._valueTracker;if(!s)return!0;var d=s.getValue(),g="";return o&&(g=dd(o)?o.checked?"true":"false":o.value),o=g,o!==d?(s.setValue(o),!0):!1}function ou(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}var mb=/[\n"\\]/g;function ho(o){return o.replace(mb,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Hf(o,s,d,g,C,A,z,J){o.name="",z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?o.type=z:o.removeAttribute("type"),s!=null?z==="number"?(s===0&&o.value===""||o.value!=s)&&(o.value=""+pa(s)):o.value!==""+pa(s)&&(o.value=""+pa(s)):z!=="submit"&&z!=="reset"||o.removeAttribute("value"),s!=null?rc(o,z,pa(s)):d!=null?rc(o,z,pa(d)):g!=null&&o.removeAttribute("value"),C==null&&A!=null&&(o.defaultChecked=!!A),C!=null&&(o.checked=C&&typeof C!="function"&&typeof C!="symbol"),J!=null&&typeof J!="function"&&typeof J!="symbol"&&typeof J!="boolean"?o.name=""+pa(J):o.removeAttribute("name")}function Vf(o,s,d,g,C,A,z,J){if(A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(o.type=A),s!=null||d!=null){if(!(A!=="submit"&&A!=="reset"||s!=null))return;d=d!=null?""+pa(d):"",s=s!=null?""+pa(s):d,J||s===o.value||(o.value=s),o.defaultValue=s}g=g??C,g=typeof g!="function"&&typeof g!="symbol"&&!!g,o.checked=J?o.checked:!!g,o.defaultChecked=!!g,z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"&&(o.name=z)}function rc(o,s,d){s==="number"&&ou(o.ownerDocument)===o||o.defaultValue===""+d||(o.defaultValue=""+d)}function ac(o,s,d,g){if(o=o.options,s){s={};for(var C=0;C<d.length;C++)s["$"+d[C]]=!0;for(d=0;d<o.length;d++)C=s.hasOwnProperty("$"+o[d].value),o[d].selected!==C&&(o[d].selected=C),C&&g&&(o[d].defaultSelected=!0)}else{for(d=""+pa(d),s=null,C=0;C<o.length;C++){if(o[C].value===d){o[C].selected=!0,g&&(o[C].defaultSelected=!0);return}s!==null||o[C].disabled||(s=o[C])}s!==null&&(s.selected=!0)}}function Uh(o,s,d){if(s!=null&&(s=""+pa(s),s!==o.value&&(o.value=s),d==null)){o.defaultValue!==s&&(o.defaultValue=s);return}o.defaultValue=d!=null?""+pa(d):""}function Ff(o,s,d,g){if(s==null){if(g!=null){if(d!=null)throw Error(l(92));if(ge(g)){if(1<g.length)throw Error(l(93));g=g[0]}d=g}d==null&&(d=""),s=d}d=pa(s),o.defaultValue=d,g=o.textContent,g===d&&g!==""&&g!==null&&(o.value=g)}function Ju(o,s){if(s){var d=o.firstChild;if(d&&d===o.lastChild&&d.nodeType===3){d.nodeValue=s;return}}o.textContent=s}var lc=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 Kf(o,s,d){var g=s.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?g?o.setProperty(s,""):s==="float"?o.cssFloat="":o[s]="":g?o.setProperty(s,d):typeof d!="number"||d===0||lc.has(s)?s==="float"?o.cssFloat=d:o[s]=(""+d).trim():o[s]=d+"px"}function fd(o,s,d){if(s!=null&&typeof s!="object")throw Error(l(62));if(o=o.style,d!=null){for(var g in d)!d.hasOwnProperty(g)||s!=null&&s.hasOwnProperty(g)||(g.indexOf("--")===0?o.setProperty(g,""):g==="float"?o.cssFloat="":o[g]="");for(var C in s)g=s[C],s.hasOwnProperty(C)&&d[C]!==g&&Kf(o,C,g)}else for(var A in s)s.hasOwnProperty(A)&&Kf(o,A,s[A])}function oc(o){if(o.indexOf("-")===-1)return!1;switch(o){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!1;default:return!0}}var vb=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"]]),tg=/^[\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 pd(o){return tg.test(""+o)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":o}var es=null;function Ih(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var hd=null,md=null;function ng(o){var s=ec(o);if(s&&(o=s.stateNode)){var d=o[Za]||null;e:switch(o=s.stateNode,s.type){case"input":if(Hf(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),s=d.name,d.type==="radio"&&s!=null){for(d=o;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll('input[name="'+ho(""+s)+'"][type="radio"]'),s=0;s<d.length;s++){var g=d[s];if(g!==o&&g.form===o.form){var C=g[Za]||null;if(!C)throw Error(l(90));Hf(g,C.value,C.defaultValue,C.defaultValue,C.checked,C.defaultChecked,C.type,C.name)}}for(s=0;s<d.length;s++)g=d[s],g.form===o.form&&Zu(g)}break e;case"textarea":Uh(o,d.value,d.defaultValue);break e;case"select":s=d.value,s!=null&&ac(o,!!d.multiple,s,!1)}}}var rg=!1;function vd(o,s,d){if(rg)return o(s,d);rg=!0;try{var g=o(s);return g}finally{if(rg=!1,(hd!==null||md!==null)&&(qc(),hd&&(s=hd,o=md,md=hd=null,ng(s),o)))for(s=0;s<o.length;s++)ng(o[s])}}function ic(o,s){var d=o.stateNode;if(d===null)return null;var g=d[Za]||null;if(g===null)return null;d=g[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(o=o.type,g=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!g;break e;default:o=!1}if(o)return null;if(d&&typeof d!="function")throw Error(l(231,s,typeof d));return d}var yi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gd=!1;if(yi)try{var iu={};Object.defineProperty(iu,"passive",{get:function(){gd=!0}}),window.addEventListener("test",iu,iu),window.removeEventListener("test",iu,iu)}catch{gd=!1}var uu=null,yd=null,uc=null;function ag(){if(uc)return uc;var o,s=yd,d=s.length,g,C="value"in uu?uu.value:uu.textContent,A=C.length;for(o=0;o<d&&s[o]===C[o];o++);var z=d-o;for(g=1;g<=z&&s[d-g]===C[A-g];g++);return uc=C.slice(o,1<g?1-g:void 0)}function Kt(o){var s=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&s===13&&(o=13)):o=s,o===10&&(o=13),32<=o||o===13?o:0}function qn(){return!0}function Hh(){return!1}function el(o){function s(d,g,C,A,z){this._reactName=d,this._targetInst=C,this.type=g,this.nativeEvent=A,this.target=z,this.currentTarget=null;for(var J in o)o.hasOwnProperty(J)&&(d=o[J],this[J]=d?d(A):A[J]);return this.isDefaultPrevented=(A.defaultPrevented!=null?A.defaultPrevented:A.returnValue===!1)?qn:Hh,this.isPropagationStopped=Hh,this}return S(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=qn)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=qn)},persist:function(){},isPersistent:qn}),s}var ts={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vh=el(ts),Gf=S({},ts,{view:0,detail:0}),gb=el(Gf),Fh,Kh,Or,su=S({},Gf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oa,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==Or&&(Or&&o.type==="mousemove"?(Fh=o.screenX-Or.screenX,Kh=o.screenY-Or.screenY):Kh=Fh=0,Or=o),Fh)},movementY:function(o){return"movementY"in o?o.movementY:Kh}}),cu=el(su),lg=S({},su,{dataTransfer:0}),Gh=el(lg),mo=S({},Gf,{relatedTarget:0}),Yh=el(mo),yb=S({},ts,{animationName:0,elapsedTime:0,pseudoElement:0}),bb=el(yb),xb=S({},ts,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),bd=el(xb),og=S({},ts,{data:0}),tl=el(og),Eb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xl={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"},ig={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ug(o){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(o):(o=ig[o])?!!s[o]:!1}function Oa(){return ug}var bi=S({},Gf,{key:function(o){if(o.key){var s=Eb[o.key]||o.key;if(s!=="Unidentified")return s}return o.type==="keypress"?(o=Kt(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Xl[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oa,charCode:function(o){return o.type==="keypress"?Kt(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?Kt(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Wl=el(bi),dn=S({},su,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vo=el(dn),xd=S({},Gf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),sg=el(xd),Na=S({},ts,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sb=el(Na),Xh=S({},su,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),sc=el(Xh),Wh=S({},ts,{newState:0,oldState:0}),Yf=el(Wh),cc=[9,13,27,32],Xf=yi&&"CompositionEvent"in window,Ed=null;yi&&"documentMode"in document&&(Ed=document.documentMode);var Qh=yi&&"TextEvent"in window&&!Ed,go=yi&&(!Xf||Ed&&8<Ed&&11>=Ed),Wf=" ",Qf=!1;function Zf(o,s){switch(o){case"keyup":return cc.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xi(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ei=!1;function cg(o,s){switch(o){case"compositionend":return xi(s);case"keypress":return s.which!==32?null:(Qf=!0,Wf);case"textInput":return o=s.data,o===Wf&&Qf?null:o;default:return null}}function ns(o,s){if(Ei)return o==="compositionend"||!Xf&&Zf(o,s)?(o=ag(),uc=yd=uu=null,Ei=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return go&&s.locale!=="ko"?null:s.data;default:return null}}var Cl={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sd(o){var s=o&&o.nodeName&&o.nodeName.toLowerCase();return s==="input"?!!Cl[o.type]:s==="textarea"}function rs(o,s,d,g){hd?md?md.push(g):md=[g]:hd=g,s=sf(s,"onChange"),0<s.length&&(d=new Vh("onChange","change",null,d,g),o.push({event:d,listeners:s}))}var yo=null,bo=null;function dg(o){Bc(o,0)}function Si(o){var s=sd(o);if(Zu(s))return o}function fg(o,s){if(o==="change")return s}var pg=!1;if(yi){var dc;if(yi){var xo="oninput"in document;if(!xo){var hg=document.createElement("div");hg.setAttribute("oninput","return;"),xo=typeof hg.oninput=="function"}dc=xo}else dc=!1;pg=dc&&(!document.documentMode||9<document.documentMode)}function wd(){yo&&(yo.detachEvent("onpropertychange",Jf),bo=yo=null)}function Jf(o){if(o.propertyName==="value"&&Si(bo)){var s=[];rs(s,bo,o,Ih(o)),vd(dg,s)}}function ep(o,s,d){o==="focusin"?(wd(),yo=s,bo=d,yo.attachEvent("onpropertychange",Jf)):o==="focusout"&&wd()}function nl(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return Si(bo)}function Eo(o,s){if(o==="click")return Si(s)}function mg(o,s){if(o==="input"||o==="change")return Si(s)}function vg(o,s){return o===s&&(o!==0||1/o===1/s)||o!==o&&s!==s}var ha=typeof Object.is=="function"?Object.is:vg;function Ql(o,s){if(ha(o,s))return!0;if(typeof o!="object"||o===null||typeof s!="object"||s===null)return!1;var d=Object.keys(o),g=Object.keys(s);if(d.length!==g.length)return!1;for(g=0;g<d.length;g++){var C=d[g];if(!we.call(s,C)||!ha(o[C],s[C]))return!1}return!0}function ea(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function Yn(o,s){var d=ea(o);o=0;for(var g;d;){if(d.nodeType===3){if(g=o+d.textContent.length,o<=s&&g>=s)return{node:d,offset:s-o};o=g}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=ea(d)}}function tp(o,s){return o&&s?o===s?!0:o&&o.nodeType===3?!1:s&&s.nodeType===3?tp(o,s.parentNode):"contains"in o?o.contains(s):o.compareDocumentPosition?!!(o.compareDocumentPosition(s)&16):!1:!1}function gg(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var s=ou(o.document);s instanceof o.HTMLIFrameElement;){try{var d=typeof s.contentWindow.location.href=="string"}catch{d=!1}if(d)o=s.contentWindow;else break;s=ou(o.document)}return s}function np(o){var s=o&&o.nodeName&&o.nodeName.toLowerCase();return s&&(s==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||s==="textarea"||o.contentEditable==="true")}var fc=yi&&"documentMode"in document&&11>=document.documentMode,wi=null,$a=null,Ce=null,Ke=!1;function ze(o,s,d){var g=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Ke||wi==null||wi!==ou(g)||(g=wi,"selectionStart"in g&&np(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),Ce&&Ql(Ce,g)||(Ce=g,g=sf($a,"onSelect"),0<g.length&&(s=new Vh("onSelect","select",null,s,d),o.push({event:s,listeners:g}),s.target=wi)))}function ct(o,s){var d={};return d[o.toLowerCase()]=s.toLowerCase(),d["Webkit"+o]="webkit"+s,d["Moz"+o]="moz"+s,d}var Nt={animationend:ct("Animation","AnimationEnd"),animationiteration:ct("Animation","AnimationIteration"),animationstart:ct("Animation","AnimationStart"),transitionrun:ct("Transition","TransitionRun"),transitionstart:ct("Transition","TransitionStart"),transitioncancel:ct("Transition","TransitionCancel"),transitionend:ct("Transition","TransitionEnd")},zt={},kn={};yi&&(kn=document.createElement("div").style,"AnimationEvent"in window||(delete Nt.animationend.animation,delete Nt.animationiteration.animation,delete Nt.animationstart.animation),"TransitionEvent"in window||delete Nt.transitionend.transition);function fn(o){if(zt[o])return zt[o];if(!Nt[o])return o;var s=Nt[o],d;for(d in s)if(s.hasOwnProperty(d)&&d in kn)return zt[o]=s[d];return o}var Zh=fn("animationend"),yg=fn("animationiteration"),Zl=fn("animationstart"),Cd=fn("transitionrun"),Jh=fn("transitionstart"),pc=fn("transitioncancel"),Rd=fn("transitionend"),Td=new Map,yn="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(" ");yn.push("scrollEnd");function So(o,s){Td.set(o,s),Yu(s,[o])}var em=new WeakMap;function Pa(o,s){if(typeof o=="object"&&o!==null){var d=em.get(o);return d!==void 0?d:(s={value:o,source:s,stack:zh(s)},em.set(o,s),s)}return{value:o,source:s,stack:zh(s)}}var Rl=[],as=0,Ci=0;function Tl(){for(var o=as,s=Ci=as=0;s<o;){var d=Rl[s];Rl[s++]=null;var g=Rl[s];Rl[s++]=null;var C=Rl[s];Rl[s++]=null;var A=Rl[s];if(Rl[s++]=null,g!==null&&C!==null){var z=g.pending;z===null?C.next=C:(C.next=z.next,z.next=C),g.pending=C}A!==0&&fu(d,C,A)}}function rl(o,s,d,g){Rl[as++]=o,Rl[as++]=s,Rl[as++]=d,Rl[as++]=g,Ci|=g,o.lanes|=g,o=o.alternate,o!==null&&(o.lanes|=g)}function du(o,s,d,g){return rl(o,s,d,g),Ad(o)}function Ko(o,s){return rl(o,null,null,s),Ad(o)}function fu(o,s,d){o.lanes|=d;var g=o.alternate;g!==null&&(g.lanes|=d);for(var C=!1,A=o.return;A!==null;)A.childLanes|=d,g=A.alternate,g!==null&&(g.childLanes|=d),A.tag===22&&(o=A.stateNode,o===null||o._visibility&1||(C=!0)),o=A,A=A.return;return o.tag===3?(A=o.stateNode,C&&s!==null&&(C=31-An(d),o=A.hiddenUpdates,g=o[C],g===null?o[C]=[s]:g.push(s),s.lane=d|536870912),A):null}function Ad(o){if(50<Pc)throw Pc=0,Yg=null,Error(l(185));for(var s=o.return;s!==null;)o=s,s=o.return;return o.tag===3?o.stateNode:null}var hc={};function rp(o,s,d,g){this.tag=o,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function al(o,s,d,g){return new rp(o,s,d,g)}function pu(o){return o=o.prototype,!(!o||!o.isReactComponent)}function ma(o,s){var d=o.alternate;return d===null?(d=al(o.tag,s,o.key,o.mode),d.elementType=o.elementType,d.type=o.type,d.stateNode=o.stateNode,d.alternate=o,o.alternate=d):(d.pendingProps=s,d.type=o.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=o.flags&65011712,d.childLanes=o.childLanes,d.lanes=o.lanes,d.child=o.child,d.memoizedProps=o.memoizedProps,d.memoizedState=o.memoizedState,d.updateQueue=o.updateQueue,s=o.dependencies,d.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},d.sibling=o.sibling,d.index=o.index,d.ref=o.ref,d.refCleanup=o.refCleanup,d}function Ut(o,s){o.flags&=65011714;var d=o.alternate;return d===null?(o.childLanes=0,o.lanes=s,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=d.childLanes,o.lanes=d.lanes,o.child=d.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=d.memoizedProps,o.memoizedState=d.memoizedState,o.updateQueue=d.updateQueue,o.type=d.type,s=d.dependencies,o.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),o}function nt(o,s,d,g,C,A){var z=0;if(g=o,typeof o=="function")pu(o)&&(z=1);else if(typeof o=="string")z=Kb(o,d,_e.current)?26:o==="html"||o==="head"||o==="body"?27:5;else e:switch(o){case le:return o=al(31,d,s,C),o.elementType=le,o.lanes=A,o;case $:return wo(d.children,C,A,s);case O:z=8,C|=24;break;case q:return o=al(12,d,s,C|2),o.elementType=q,o.lanes=A,o;case F:return o=al(13,d,s,C),o.elementType=F,o.lanes=A,o;case H:return o=al(19,d,s,C),o.elementType=H,o.lanes=A,o;default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case N:case I:z=10;break e;case U:z=9;break e;case G:z=11;break e;case V:z=14;break e;case X:z=16,g=null;break e}z=29,d=Error(l(130,o===null?"null":typeof o,"")),g=null}return s=al(z,d,s,C),s.elementType=o,s.type=g,s.lanes=A,s}function wo(o,s,d,g){return o=al(7,o,g,s),o.lanes=d,o}function _d(o,s,d){return o=al(6,o,null,s),o.lanes=d,o}function Xn(o,s,d){return s=al(4,o.children!==null?o.children:[],o.key,s),s.lanes=d,s.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},s}var Go=[],Ri=0,ap=null,mc=0,Co=[],Al=0,zn=null,Wn=1,wr="";function hn(o,s){Go[Ri++]=mc,Go[Ri++]=ap,ap=o,mc=s}function lp(o,s,d){Co[Al++]=Wn,Co[Al++]=wr,Co[Al++]=zn,zn=o;var g=Wn;o=wr;var C=32-An(g)-1;g&=~(1<<C),d+=1;var A=32-An(s)+C;if(30<A){var z=C-C%5;A=(g&(1<<z)-1).toString(32),g>>=z,C-=z,Wn=1<<32-An(s)+C|d<<C|g,wr=A+o}else Wn=1<<A|d<<C|g,wr=o}function vc(o){o.return!==null&&(hn(o,1),lp(o,1,0))}function Ro(o){for(;o===ap;)ap=Go[--Ri],Go[Ri]=null,mc=Go[--Ri],Go[Ri]=null;for(;o===zn;)zn=Co[--Al],Co[Al]=null,wr=Co[--Al],Co[Al]=null,Wn=Co[--Al],Co[Al]=null}var nr=null,bn=null,tn=!1,qa=null,ka=!1,Ti=Error(l(519));function _l(o){var s=Error(l(418,""));throw hu(Pa(s,o)),Ti}function op(o){var s=o.stateNode,d=o.type,g=o.memoizedProps;switch(s[kr]=o,s[Za]=g,d){case"dialog":Vt("cancel",s),Vt("close",s);break;case"iframe":case"object":case"embed":Vt("load",s);break;case"video":case"audio":for(d=0;d<Hp.length;d++)Vt(Hp[d],s);break;case"source":Vt("error",s);break;case"img":case"image":case"link":Vt("error",s),Vt("load",s);break;case"details":Vt("toggle",s);break;case"input":Vt("invalid",s),Vf(s,g.value,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name,!0),Qu(s);break;case"select":Vt("invalid",s);break;case"textarea":Vt("invalid",s),Ff(s,g.value,g.defaultValue,g.children),Qu(s)}d=g.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||s.textContent===""+d||g.suppressHydrationWarning===!0||ay(s.textContent,d)?(g.popover!=null&&(Vt("beforetoggle",s),Vt("toggle",s)),g.onScroll!=null&&Vt("scroll",s),g.onScrollEnd!=null&&Vt("scrollend",s),g.onClick!=null&&(s.onclick=av),s=!0):s=!1,s||_l(o)}function bg(o){for(nr=o.return;nr;)switch(nr.tag){case 5:case 13:ka=!1;return;case 27:case 3:ka=!0;return;default:nr=nr.return}}function Dd(o){if(o!==nr)return!1;if(!tn)return bg(o),tn=!0,!1;var s=o.tag,d;if((d=s!==3&&s!==27)&&((d=s===5)&&(d=o.type,d=!(d!=="form"&&d!=="button")||ai(o.type,o.memoizedProps)),d=!d),d&&bn&&_l(o),bg(o),s===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(317));e:{for(o=o.nextSibling,s=0;o;){if(o.nodeType===8)if(d=o.data,d==="/$"){if(s===0){bn=oi(o.nextSibling);break e}s--}else d!=="$"&&d!=="$!"&&d!=="$?"||s++;o=o.nextSibling}bn=null}}else s===27?(s=bn,qo(o.type)?(o=As,As=null,bn=o):bn=s):bn=nr?oi(o.stateNode.nextSibling):null;return!0}function Md(){bn=nr=null,tn=!1}function xg(){var o=qa;return o!==null&&(Bl===null?Bl=o:Bl.push.apply(Bl,o),qa=null),o}function hu(o){qa===null?qa=[o]:qa.push(o)}var mu=be(null),Ai=null,Z=null;function Dl(o,s,d){fe(mu,s._currentValue),s._currentValue=d}function Jl(o){o._currentValue=mu.current,ie(mu)}function ll(o,s,d){for(;o!==null;){var g=o.alternate;if((o.childLanes&s)!==s?(o.childLanes|=s,g!==null&&(g.childLanes|=s)):g!==null&&(g.childLanes&s)!==s&&(g.childLanes|=s),o===d)break;o=o.return}}function nn(o,s,d,g){var C=o.child;for(C!==null&&(C.return=o);C!==null;){var A=C.dependencies;if(A!==null){var z=C.child;A=A.firstContext;e:for(;A!==null;){var J=A;A=C;for(var ce=0;ce<s.length;ce++)if(J.context===s[ce]){A.lanes|=d,J=A.alternate,J!==null&&(J.lanes|=d),ll(A.return,d,o),g||(z=null);break e}A=J.next}}else if(C.tag===18){if(z=C.return,z===null)throw Error(l(341));z.lanes|=d,A=z.alternate,A!==null&&(A.lanes|=d),ll(z,d,o),z=null}else z=C.child;if(z!==null)z.return=C;else for(z=C;z!==null;){if(z===o){z=null;break}if(C=z.sibling,C!==null){C.return=z.return,z=C;break}z=z.return}C=z}}function Od(o,s,d,g){o=null;for(var C=s,A=!1;C!==null;){if(!A){if((C.flags&524288)!==0)A=!0;else if((C.flags&262144)!==0)break}if(C.tag===10){var z=C.alternate;if(z===null)throw Error(l(387));if(z=z.memoizedProps,z!==null){var J=C.type;ha(C.pendingProps.value,z.value)||(o!==null?o.push(J):o=[J])}}else if(C===Re.current){if(z=C.alternate,z===null)throw Error(l(387));z.memoizedState.memoizedState!==C.memoizedState.memoizedState&&(o!==null?o.push(hl):o=[hl])}C=C.return}o!==null&&nn(s,o,d,g),s.flags|=262144}function ip(o){for(o=o.firstContext;o!==null;){if(!ha(o.context._currentValue,o.memoizedValue))return!0;o=o.next}return!1}function ls(o){Ai=o,Z=null,o=o.dependencies,o!==null&&(o.firstContext=null)}function sr(o){return Eg(Ai,o)}function up(o,s){return Ai===null&&ls(o),Eg(o,s)}function Eg(o,s){var d=s._currentValue;if(s={context:s,memoizedValue:d,next:null},Z===null){if(o===null)throw Error(l(308));Z=s,o.dependencies={lanes:0,firstContext:s},o.flags|=524288}else Z=Z.next=s;return d}var Nd=typeof AbortController<"u"?AbortController:function(){var o=[],s=this.signal={aborted:!1,addEventListener:function(d,g){o.push(g)}};this.abort=function(){s.aborted=!0,o.forEach(function(d){return d()})}},tm=e.unstable_scheduleCallback,wb=e.unstable_NormalPriority,Un={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $d(){return{controller:new Nd,data:new Map,refCount:0}}function _i(o){o.refCount--,o.refCount===0&&tm(wb,function(){o.controller.abort()})}var os=null,sp=0,To=0,In=null;function nm(o,s){if(os===null){var d=os=[];sp=0,To=Rs(),In={status:"pending",value:void 0,then:function(g){d.push(g)}}}return sp++,s.then(rm,rm),s}function rm(){if(--sp===0&&os!==null){In!==null&&(In.status="fulfilled");var o=os;os=null,To=0,In=null;for(var s=0;s<o.length;s++)(0,o[s])()}}function Cb(o,s){var d=[],g={status:"pending",value:null,reason:null,then:function(C){d.push(C)}};return o.then(function(){g.status="fulfilled",g.value=s;for(var C=0;C<d.length;C++)(0,d[C])(s)},function(C){for(g.status="rejected",g.reason=C,C=0;C<d.length;C++)(0,d[C])(void 0)}),g}var am=L.S;L.S=function(o,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&nm(o,s),am!==null&&am(o,s)};var Di=be(null);function Yo(){var o=Di.current;return o!==null?o:Hn.pooledCache}function gc(o,s){s===null?fe(Di,Di.current):fe(Di,s.pool)}function lm(){var o=Yo();return o===null?null:{parent:Un._currentValue,pool:o}}var ta=Error(l(460)),om=Error(l(474)),cp=Error(l(542)),im={then:function(){}};function um(o){return o=o.status,o==="fulfilled"||o==="rejected"}function dp(){}function sm(o,s,d){switch(d=o[d],d===void 0?o.push(s):d!==s&&(s.then(dp,dp),s=d),s.status){case"fulfilled":return s.value;case"rejected":throw o=s.reason,wg(o),o;default:if(typeof s.status=="string")s.then(dp,dp);else{if(o=Hn,o!==null&&100<o.shellSuspendCounter)throw Error(l(482));o=s,o.status="pending",o.then(function(g){if(s.status==="pending"){var C=s;C.status="fulfilled",C.value=g}},function(g){if(s.status==="pending"){var C=s;C.status="rejected",C.reason=g}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw o=s.reason,wg(o),o}throw is=s,ta}}var is=null;function Sg(){if(is===null)throw Error(l(459));var o=is;return is=null,o}function wg(o){if(o===ta||o===cp)throw Error(l(483))}var Ao=!1;function us(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yc(o,s){o=o.updateQueue,s.updateQueue===o&&(s.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,callbacks:null})}function Ml(o){return{lane:o,tag:0,payload:null,callback:null,next:null}}function Xo(o,s,d){var g=o.updateQueue;if(g===null)return null;if(g=g.shared,(Mn&2)!==0){var C=g.pending;return C===null?s.next=s:(s.next=C.next,C.next=s),g.pending=s,s=Ad(o),fu(o,null,d),s}return rl(o,g,s,d),Ad(o)}function bc(o,s,d){if(s=s.updateQueue,s!==null&&(s=s.shared,(d&4194048)!==0)){var g=s.lanes;g&=o.pendingLanes,d|=g,s.lanes=d,Js(o,d)}}function Wo(o,s){var d=o.updateQueue,g=o.alternate;if(g!==null&&(g=g.updateQueue,d===g)){var C=null,A=null;if(d=d.firstBaseUpdate,d!==null){do{var z={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};A===null?C=A=z:A=A.next=z,d=d.next}while(d!==null);A===null?C=A=s:A=A.next=s}else C=A=s;d={baseState:g.baseState,firstBaseUpdate:C,lastBaseUpdate:A,shared:g.shared,callbacks:g.callbacks},o.updateQueue=d;return}o=d.lastBaseUpdate,o===null?d.firstBaseUpdate=s:o.next=s,d.lastBaseUpdate=s}var fp=!1;function _o(){if(fp){var o=In;if(o!==null)throw o}}function Lr(o,s,d,g){fp=!1;var C=o.updateQueue;Ao=!1;var A=C.firstBaseUpdate,z=C.lastBaseUpdate,J=C.shared.pending;if(J!==null){C.shared.pending=null;var ce=J,Oe=ce.next;ce.next=null,z===null?A=Oe:z.next=Oe,z=ce;var We=o.alternate;We!==null&&(We=We.updateQueue,J=We.lastBaseUpdate,J!==z&&(J===null?We.firstBaseUpdate=Oe:J.next=Oe,We.lastBaseUpdate=ce))}if(A!==null){var Je=C.baseState;z=0,We=Oe=ce=null,J=A;do{var ke=J.lane&-536870913,Ne=ke!==J.lane;if(Ne?(un&ke)===ke:(g&ke)===ke){ke!==0&&ke===To&&(fp=!0),We!==null&&(We=We.next={lane:0,tag:J.tag,payload:J.payload,callback:null,next:null});e:{var Ct=o,At=J;ke=s;var Tn=d;switch(At.tag){case 1:if(Ct=At.payload,typeof Ct=="function"){Je=Ct.call(Tn,Je,ke);break e}Je=Ct;break e;case 3:Ct.flags=Ct.flags&-65537|128;case 0:if(Ct=At.payload,ke=typeof Ct=="function"?Ct.call(Tn,Je,ke):Ct,ke==null)break e;Je=S({},Je,ke);break e;case 2:Ao=!0}}ke=J.callback,ke!==null&&(o.flags|=64,Ne&&(o.flags|=8192),Ne=C.callbacks,Ne===null?C.callbacks=[ke]:Ne.push(ke))}else Ne={lane:ke,tag:J.tag,payload:J.payload,callback:J.callback,next:null},We===null?(Oe=We=Ne,ce=Je):We=We.next=Ne,z|=ke;if(J=J.next,J===null){if(J=C.shared.pending,J===null)break;Ne=J,J=Ne.next,Ne.next=null,C.lastBaseUpdate=Ne,C.shared.pending=null}}while(!0);We===null&&(ce=Je),C.baseState=ce,C.firstBaseUpdate=Oe,C.lastBaseUpdate=We,A===null&&(C.shared.lanes=0),_u|=z,o.lanes=z,o.memoizedState=Je}}function cm(o,s){if(typeof o!="function")throw Error(l(191,o));o.call(s)}function Pd(o,s){var d=o.callbacks;if(d!==null)for(o.callbacks=null,o=0;o<d.length;o++)cm(d[o],s)}var ss=be(null),vu=be(0);function rr(o,s){o=Au,fe(vu,o),fe(ss,s),Au=o|s.baseLanes}function xc(){fe(vu,Au),fe(ss,ss.current)}function qd(){Au=vu.current,ie(ss),ie(vu)}var ol=0,It=null,Cn=null,Zt=null,Ec=!1,Ol=!1,va=!1,eo=0,La=0,il=null,dm=0;function ln(){throw Error(l(321))}function kd(o,s){if(s===null)return!1;for(var d=0;d<s.length&&d<o.length;d++)if(!ha(o[d],s[d]))return!1;return!0}function fm(o,s,d,g,C,A){return ol=A,It=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,L.H=o===null||o.memoizedState===null?Mg:Rm,va=!1,A=d(g,C),va=!1,Ol&&(A=Cg(s,d,g,C)),cs(o),A}function cs(o){L.H=Rp;var s=Cn!==null&&Cn.next!==null;if(ol=0,Zt=Cn=It=null,Ec=!1,La=0,il=null,s)throw Error(l(300));o===null||Yr||(o=o.dependencies,o!==null&&ip(o)&&(Yr=!0))}function Cg(o,s,d,g){It=o;var C=0;do{if(Ol&&(il=null),La=0,Ol=!1,25<=C)throw Error(l(301));if(C+=1,Zt=Cn=null,o.updateQueue!=null){var A=o.updateQueue;A.lastEffect=null,A.events=null,A.stores=null,A.memoCache!=null&&(A.memoCache.index=0)}L.H=$i,A=s(d,g)}while(Ol);return A}function pm(){var o=L.H,s=o.useState()[0];return s=typeof s.then=="function"?hp(s):s,o=o.useState()[0],(Cn!==null?Cn.memoizedState:null)!==o&&(It.flags|=1024),s}function hm(){var o=eo!==0;return eo=0,o}function Mi(o,s,d){s.updateQueue=o.updateQueue,s.flags&=-2053,o.lanes&=~d}function pp(o){if(Ec){for(o=o.memoizedState;o!==null;){var s=o.queue;s!==null&&(s.pending=null),o=o.next}Ec=!1}ol=0,Zt=Cn=It=null,Ol=!1,La=eo=0,il=null}function ja(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?It.memoizedState=Zt=o:Zt=Zt.next=o,Zt}function Cr(){if(Cn===null){var o=It.alternate;o=o!==null?o.memoizedState:null}else o=Cn.next;var s=Zt===null?It.memoizedState:Zt.next;if(s!==null)Zt=s,Cn=o;else{if(o===null)throw It.alternate===null?Error(l(467)):Error(l(310));Cn=o,o={memoizedState:Cn.memoizedState,baseState:Cn.baseState,baseQueue:Cn.baseQueue,queue:Cn.queue,next:null},Zt===null?It.memoizedState=Zt=o:Zt=Zt.next=o}return Zt}function gu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hp(o){var s=La;return La+=1,il===null&&(il=[]),o=sm(il,o,s),s=It,(Zt===null?s.memoizedState:Zt.next)===null&&(s=s.alternate,L.H=s===null||s.memoizedState===null?Mg:Rm),o}function jr(o){if(o!==null&&typeof o=="object"){if(typeof o.then=="function")return hp(o);if(o.$$typeof===I)return sr(o)}throw Error(l(438,String(o)))}function Ld(o){var s=null,d=It.updateQueue;if(d!==null&&(s=d.memoCache),s==null){var g=It.alternate;g!==null&&(g=g.updateQueue,g!==null&&(g=g.memoCache,g!=null&&(s={data:g.data.map(function(C){return C.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),d===null&&(d=gu(),It.updateQueue=d),d.memoCache=s,d=s.data[s.index],d===void 0)for(d=s.data[s.index]=Array(o),g=0;g<o;g++)d[g]=xe;return s.index++,d}function Qo(o,s){return typeof s=="function"?s(o):s}function mp(o){var s=Cr();return mm(s,Cn,o)}function mm(o,s,d){var g=o.queue;if(g===null)throw Error(l(311));g.lastRenderedReducer=d;var C=o.baseQueue,A=g.pending;if(A!==null){if(C!==null){var z=C.next;C.next=A.next,A.next=z}s.baseQueue=C=A,g.pending=null}if(A=o.baseState,C===null)o.memoizedState=A;else{s=C.next;var J=z=null,ce=null,Oe=s,We=!1;do{var Je=Oe.lane&-536870913;if(Je!==Oe.lane?(un&Je)===Je:(ol&Je)===Je){var ke=Oe.revertLane;if(ke===0)ce!==null&&(ce=ce.next={lane:0,revertLane:0,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null}),Je===To&&(We=!0);else if((ol&ke)===ke){Oe=Oe.next,ke===To&&(We=!0);continue}else Je={lane:0,revertLane:Oe.revertLane,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null},ce===null?(J=ce=Je,z=A):ce=ce.next=Je,It.lanes|=ke,_u|=ke;Je=Oe.action,va&&d(A,Je),A=Oe.hasEagerState?Oe.eagerState:d(A,Je)}else ke={lane:Je,revertLane:Oe.revertLane,action:Oe.action,hasEagerState:Oe.hasEagerState,eagerState:Oe.eagerState,next:null},ce===null?(J=ce=ke,z=A):ce=ce.next=ke,It.lanes|=Je,_u|=Je;Oe=Oe.next}while(Oe!==null&&Oe!==s);if(ce===null?z=A:ce.next=J,!ha(A,o.memoizedState)&&(Yr=!0,We&&(d=In,d!==null)))throw d;o.memoizedState=A,o.baseState=z,o.baseQueue=ce,g.lastRenderedState=A}return C===null&&(g.lanes=0),[o.memoizedState,g.dispatch]}function vm(o){var s=Cr(),d=s.queue;if(d===null)throw Error(l(311));d.lastRenderedReducer=o;var g=d.dispatch,C=d.pending,A=s.memoizedState;if(C!==null){d.pending=null;var z=C=C.next;do A=o(A,z.action),z=z.next;while(z!==C);ha(A,s.memoizedState)||(Yr=!0),s.memoizedState=A,s.baseQueue===null&&(s.baseState=A),d.lastRenderedState=A}return[A,g]}function jd(o,s,d){var g=It,C=Cr(),A=tn;if(A){if(d===void 0)throw Error(l(407));d=d()}else d=s();var z=!ha((Cn||C).memoizedState,d);z&&(C.memoizedState=d,Yr=!0),C=C.queue;var J=vp.bind(null,g,C,o);if(Bn(2048,8,J,[o]),C.getSnapshot!==s||z||Zt!==null&&Zt.memoizedState.tag&1){if(g.flags|=2048,Nl(9,xp(),Rg.bind(null,g,C,d,s),null),Hn===null)throw Error(l(349));A||(ol&124)!==0||Bd(g,s,d)}return d}function Bd(o,s,d){o.flags|=16384,o={getSnapshot:s,value:d},s=It.updateQueue,s===null?(s=gu(),It.updateQueue=s,s.stores=[o]):(d=s.stores,d===null?s.stores=[o]:d.push(o))}function Rg(o,s,d,g){s.value=d,s.getSnapshot=g,gm(s)&&gp(o)}function vp(o,s,d){return d(function(){gm(s)&&gp(o)})}function gm(o){var s=o.getSnapshot;o=o.value;try{var d=s();return!ha(o,d)}catch{return!0}}function gp(o){var s=Ko(o,2);s!==null&&ro(s,o,2)}function zd(o){var s=ja();if(typeof o=="function"){var d=o;if(o=d(),va){Bt(!0);try{d()}finally{Bt(!1)}}}return s.memoizedState=s.baseState=o,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:o},s}function Sc(o,s,d,g){return o.baseState=d,mm(o,Cn,typeof g=="function"?g:Qo)}function Rb(o,s,d,g,C){if(Cc(o))throw Error(l(485));if(o=s.action,o!==null){var A={payload:C,action:o,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(z){A.listeners.push(z)}};L.T!==null?d(!0):A.isTransition=!1,g(A),d=s.pending,d===null?(A.next=s.pending=A,yp(s,A)):(A.next=d.next,s.pending=d.next=A)}}function yp(o,s){var d=s.action,g=s.payload,C=o.state;if(s.isTransition){var A=L.T,z={};L.T=z;try{var J=d(C,g),ce=L.S;ce!==null&&ce(z,J),Ud(o,s,J)}catch(Oe){bp(o,s,Oe)}finally{L.T=A}}else try{A=d(C,g),Ud(o,s,A)}catch(Oe){bp(o,s,Oe)}}function Ud(o,s,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(g){ym(o,s,g)},function(g){return bp(o,s,g)}):ym(o,s,d)}function ym(o,s,d){s.status="fulfilled",s.value=d,Tg(s),o.state=d,s=o.pending,s!==null&&(d=s.next,d===s?o.pending=null:(d=d.next,s.next=d,yp(o,d)))}function bp(o,s,d){var g=o.pending;if(o.pending=null,g!==null){g=g.next;do s.status="rejected",s.reason=d,Tg(s),s=s.next;while(s!==g)}o.action=null}function Tg(o){o=o.listeners;for(var s=0;s<o.length;s++)(0,o[s])()}function Id(o,s){return s}function bm(o,s){if(tn){var d=Hn.formState;if(d!==null){e:{var g=It;if(tn){if(bn){t:{for(var C=bn,A=ka;C.nodeType!==8;){if(!A){C=null;break t}if(C=oi(C.nextSibling),C===null){C=null;break t}}A=C.data,C=A==="F!"||A==="F"?C:null}if(C){bn=oi(C.nextSibling),g=C.data==="F!";break e}}_l(g)}g=!1}g&&(s=d[0])}}return d=ja(),d.memoizedState=d.baseState=s,g={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Id,lastRenderedState:s},d.queue=g,d=wm.bind(null,It,g),g.dispatch=d,g=zd(!1),A=Cp.bind(null,It,!1,g.queue),g=ja(),C={state:s,dispatch:null,action:o,pending:null},g.queue=C,d=Rb.bind(null,It,C,A,d),C.dispatch=d,g.memoizedState=o,[s,d,!1]}function Do(o){var s=Cr();return xm(s,Cn,o)}function xm(o,s,d){if(s=mm(o,s,Id)[0],o=mp(Qo)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var g=hp(s)}catch(z){throw z===ta?cp:z}else g=s;s=Cr();var C=s.queue,A=C.dispatch;return d!==s.memoizedState&&(It.flags|=2048,Nl(9,xp(),Ag.bind(null,C,d),null)),[g,A,o]}function Ag(o,s){o.action=s}function Ht(o){var s=Cr(),d=Cn;if(d!==null)return xm(s,d,o);Cr(),s=s.memoizedState,d=Cr();var g=d.queue.dispatch;return d.memoizedState=o,[s,g,!1]}function Nl(o,s,d,g){return o={tag:o,create:d,deps:g,inst:s,next:null},s=It.updateQueue,s===null&&(s=gu(),It.updateQueue=s),d=s.lastEffect,d===null?s.lastEffect=o.next=o:(g=d.next,d.next=o,o.next=g,s.lastEffect=o),o}function xp(){return{destroy:void 0,resource:void 0}}function yu(){return Cr().memoizedState}function bu(o,s,d,g){var C=ja();g=g===void 0?null:g,It.flags|=o,C.memoizedState=Nl(1|s,xp(),d,g)}function Bn(o,s,d,g){var C=Cr();g=g===void 0?null:g;var A=C.memoizedState.inst;Cn!==null&&g!==null&&kd(g,Cn.memoizedState.deps)?C.memoizedState=Nl(s,A,d,g):(It.flags|=o,C.memoizedState=Nl(1|s,A,d,g))}function Tb(o,s){bu(8390656,8,o,s)}function to(o,s){Bn(2048,8,o,s)}function _g(o,s){return Bn(4,2,o,s)}function $l(o,s){return Bn(4,4,o,s)}function Ep(o,s){if(typeof s=="function"){o=o();var d=s(o);return function(){typeof d=="function"?d():s(null)}}if(s!=null)return o=o(),s.current=o,function(){s.current=null}}function Sp(o,s,d){d=d!=null?d.concat([o]):null,Bn(4,4,Ep.bind(null,s,o),d)}function ds(){}function Kr(o,s){var d=Cr();s=s===void 0?null:s;var g=d.memoizedState;return s!==null&&kd(s,g[1])?g[0]:(d.memoizedState=[o,s],o)}function Oi(o,s){var d=Cr();s=s===void 0?null:s;var g=d.memoizedState;if(s!==null&&kd(s,g[1]))return g[0];if(g=o(),va){Bt(!0);try{o()}finally{Bt(!1)}}return d.memoizedState=[g,s],g}function wc(o,s,d){return d===void 0||(ol&1073741824)!==0?o.memoizedState=s:(o.memoizedState=d,o=Xg(),It.lanes|=o,_u|=o,d)}function Em(o,s,d,g){return ha(d,s)?d:ss.current!==null?(o=wc(o,d,g),ha(o,s)||(Yr=!0),o):(ol&42)===0?(Yr=!0,o.memoizedState=d):(o=Xg(),It.lanes|=o,_u|=o,s)}function wp(o,s,d,g,C){var A=W.p;W.p=A!==0&&8>A?A:8;var z=L.T,J={};L.T=J,Cp(o,!1,s,d);try{var ce=C(),Oe=L.S;if(Oe!==null&&Oe(J,ce),ce!==null&&typeof ce=="object"&&typeof ce.then=="function"){var We=Cb(ce,g);Eu(o,s,We,Ua(o))}else Eu(o,s,g,Ua(o))}catch(Je){Eu(o,s,{then:function(){},status:"rejected",reason:Je},Ua())}finally{W.p=A,L.T=z}}function Ab(){}function Hd(o,s,d,g){if(o.tag!==5)throw Error(l(476));var C=Dg(o).queue;wp(o,C,s,ee,d===null?Ab:function(){return fs(o),d(g)})}function Dg(o){var s=o.memoizedState;if(s!==null)return s;s={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:ee},next:null};var d={};return s.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:d},next:null},o.memoizedState=s,o=o.alternate,o!==null&&(o.memoizedState=s),s}function fs(o){var s=Dg(o).next.queue;Eu(o,s,{},Ua())}function Pl(){return sr(hl)}function Ni(){return Cr().memoizedState}function _b(){return Cr().memoizedState}function xu(o){for(var s=o.return;s!==null;){switch(s.tag){case 24:case 3:var d=Ua();o=Ml(d);var g=Xo(s,o,d);g!==null&&(ro(g,s,d),bc(g,s,d)),s={cache:$d()},o.payload=s;return}s=s.return}}function Sm(o,s,d){var g=Ua();d={lane:g,revertLane:0,action:d,hasEagerState:!1,eagerState:null,next:null},Cc(o)?Db(s,d):(d=du(o,s,d,g),d!==null&&(ro(d,o,g),Cm(d,s,g)))}function wm(o,s,d){var g=Ua();Eu(o,s,d,g)}function Eu(o,s,d,g){var C={lane:g,revertLane:0,action:d,hasEagerState:!1,eagerState:null,next:null};if(Cc(o))Db(s,C);else{var A=o.alternate;if(o.lanes===0&&(A===null||A.lanes===0)&&(A=s.lastRenderedReducer,A!==null))try{var z=s.lastRenderedState,J=A(z,d);if(C.hasEagerState=!0,C.eagerState=J,ha(J,z))return rl(o,s,C,0),Hn===null&&Tl(),!1}catch{}if(d=du(o,s,C,g),d!==null)return ro(d,o,g),Cm(d,s,g),!0}return!1}function Cp(o,s,d,g){if(g={lane:2,revertLane:Rs(),action:g,hasEagerState:!1,eagerState:null,next:null},Cc(o)){if(s)throw Error(l(479))}else s=du(o,d,g,2),s!==null&&ro(s,o,2)}function Cc(o){var s=o.alternate;return o===It||s!==null&&s===It}function Db(o,s){Ol=Ec=!0;var d=o.pending;d===null?s.next=s:(s.next=d.next,d.next=s),o.pending=s}function Cm(o,s,d){if((d&4194048)!==0){var g=s.lanes;g&=o.pendingLanes,d|=g,s.lanes=d,Js(o,d)}}var Rp={readContext:sr,use:jr,useCallback:ln,useContext:ln,useEffect:ln,useImperativeHandle:ln,useLayoutEffect:ln,useInsertionEffect:ln,useMemo:ln,useReducer:ln,useRef:ln,useState:ln,useDebugValue:ln,useDeferredValue:ln,useTransition:ln,useSyncExternalStore:ln,useId:ln,useHostTransitionStatus:ln,useFormState:ln,useActionState:ln,useOptimistic:ln,useMemoCache:ln,useCacheRefresh:ln},Mg={readContext:sr,use:jr,useCallback:function(o,s){return ja().memoizedState=[o,s===void 0?null:s],o},useContext:sr,useEffect:Tb,useImperativeHandle:function(o,s,d){d=d!=null?d.concat([o]):null,bu(4194308,4,Ep.bind(null,s,o),d)},useLayoutEffect:function(o,s){return bu(4194308,4,o,s)},useInsertionEffect:function(o,s){bu(4,2,o,s)},useMemo:function(o,s){var d=ja();s=s===void 0?null:s;var g=o();if(va){Bt(!0);try{o()}finally{Bt(!1)}}return d.memoizedState=[g,s],g},useReducer:function(o,s,d){var g=ja();if(d!==void 0){var C=d(s);if(va){Bt(!0);try{d(s)}finally{Bt(!1)}}}else C=s;return g.memoizedState=g.baseState=C,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:C},g.queue=o,o=o.dispatch=Sm.bind(null,It,o),[g.memoizedState,o]},useRef:function(o){var s=ja();return o={current:o},s.memoizedState=o},useState:function(o){o=zd(o);var s=o.queue,d=wm.bind(null,It,s);return s.dispatch=d,[o.memoizedState,d]},useDebugValue:ds,useDeferredValue:function(o,s){var d=ja();return wc(d,o,s)},useTransition:function(){var o=zd(!1);return o=wp.bind(null,It,o.queue,!0,!1),ja().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,s,d){var g=It,C=ja();if(tn){if(d===void 0)throw Error(l(407));d=d()}else{if(d=s(),Hn===null)throw Error(l(349));(un&124)!==0||Bd(g,s,d)}C.memoizedState=d;var A={value:d,getSnapshot:s};return C.queue=A,Tb(vp.bind(null,g,A,o),[o]),g.flags|=2048,Nl(9,xp(),Rg.bind(null,g,A,d,s),null),d},useId:function(){var o=ja(),s=Hn.identifierPrefix;if(tn){var d=wr,g=Wn;d=(g&~(1<<32-An(g)-1)).toString(32)+d,s="«"+s+"R"+d,d=eo++,0<d&&(s+="H"+d.toString(32)),s+="»"}else d=dm++,s="«"+s+"r"+d.toString(32)+"»";return o.memoizedState=s},useHostTransitionStatus:Pl,useFormState:bm,useActionState:bm,useOptimistic:function(o){var s=ja();s.memoizedState=s.baseState=o;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=d,s=Cp.bind(null,It,!0,d),d.dispatch=s,[o,s]},useMemoCache:Ld,useCacheRefresh:function(){return ja().memoizedState=xu.bind(null,It)}},Rm={readContext:sr,use:jr,useCallback:Kr,useContext:sr,useEffect:to,useImperativeHandle:Sp,useInsertionEffect:_g,useLayoutEffect:$l,useMemo:Oi,useReducer:mp,useRef:yu,useState:function(){return mp(Qo)},useDebugValue:ds,useDeferredValue:function(o,s){var d=Cr();return Em(d,Cn.memoizedState,o,s)},useTransition:function(){var o=mp(Qo)[0],s=Cr().memoizedState;return[typeof o=="boolean"?o:hp(o),s]},useSyncExternalStore:jd,useId:Ni,useHostTransitionStatus:Pl,useFormState:Do,useActionState:Do,useOptimistic:function(o,s){var d=Cr();return Sc(d,Cn,o,s)},useMemoCache:Ld,useCacheRefresh:_b},$i={readContext:sr,use:jr,useCallback:Kr,useContext:sr,useEffect:to,useImperativeHandle:Sp,useInsertionEffect:_g,useLayoutEffect:$l,useMemo:Oi,useReducer:vm,useRef:yu,useState:function(){return vm(Qo)},useDebugValue:ds,useDeferredValue:function(o,s){var d=Cr();return Cn===null?wc(d,o,s):Em(d,Cn.memoizedState,o,s)},useTransition:function(){var o=vm(Qo)[0],s=Cr().memoizedState;return[typeof o=="boolean"?o:hp(o),s]},useSyncExternalStore:jd,useId:Ni,useHostTransitionStatus:Pl,useFormState:Ht,useActionState:Ht,useOptimistic:function(o,s){var d=Cr();return Cn!==null?Sc(d,Cn,o,s):(d.baseState=o,[o,d.queue.dispatch])},useMemoCache:Ld,useCacheRefresh:_b},Br=null,ul=0;function Tm(o){var s=ul;return ul+=1,Br===null&&(Br=[]),sm(Br,o,s)}function Rc(o,s){s=s.props.ref,o.ref=s!==void 0?s:null}function Gr(o,s){throw s.$$typeof===w?Error(l(525)):(o=Object.prototype.toString.call(s),Error(l(31,o==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":o)))}function ps(o){var s=o._init;return s(o._payload)}function sl(o){function s(Te,Ee){if(o){var Me=Te.deletions;Me===null?(Te.deletions=[Ee],Te.flags|=16):Me.push(Ee)}}function d(Te,Ee){if(!o)return null;for(;Ee!==null;)s(Te,Ee),Ee=Ee.sibling;return null}function g(Te){for(var Ee=new Map;Te!==null;)Te.key!==null?Ee.set(Te.key,Te):Ee.set(Te.index,Te),Te=Te.sibling;return Ee}function C(Te,Ee){return Te=ma(Te,Ee),Te.index=0,Te.sibling=null,Te}function A(Te,Ee,Me){return Te.index=Me,o?(Me=Te.alternate,Me!==null?(Me=Me.index,Me<Ee?(Te.flags|=67108866,Ee):Me):(Te.flags|=67108866,Ee)):(Te.flags|=1048576,Ee)}function z(Te){return o&&Te.alternate===null&&(Te.flags|=67108866),Te}function J(Te,Ee,Me,Ze){return Ee===null||Ee.tag!==6?(Ee=_d(Me,Te.mode,Ze),Ee.return=Te,Ee):(Ee=C(Ee,Me),Ee.return=Te,Ee)}function ce(Te,Ee,Me,Ze){var pt=Me.type;return pt===$?We(Te,Ee,Me.props.children,Ze,Me.key):Ee!==null&&(Ee.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===X&&ps(pt)===Ee.type)?(Ee=C(Ee,Me.props),Rc(Ee,Me),Ee.return=Te,Ee):(Ee=nt(Me.type,Me.key,Me.props,null,Te.mode,Ze),Rc(Ee,Me),Ee.return=Te,Ee)}function Oe(Te,Ee,Me,Ze){return Ee===null||Ee.tag!==4||Ee.stateNode.containerInfo!==Me.containerInfo||Ee.stateNode.implementation!==Me.implementation?(Ee=Xn(Me,Te.mode,Ze),Ee.return=Te,Ee):(Ee=C(Ee,Me.children||[]),Ee.return=Te,Ee)}function We(Te,Ee,Me,Ze,pt){return Ee===null||Ee.tag!==7?(Ee=wo(Me,Te.mode,Ze,pt),Ee.return=Te,Ee):(Ee=C(Ee,Me),Ee.return=Te,Ee)}function Je(Te,Ee,Me){if(typeof Ee=="string"&&Ee!==""||typeof Ee=="number"||typeof Ee=="bigint")return Ee=_d(""+Ee,Te.mode,Me),Ee.return=Te,Ee;if(typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case R:return Me=nt(Ee.type,Ee.key,Ee.props,null,Te.mode,Me),Rc(Me,Ee),Me.return=Te,Me;case D:return Ee=Xn(Ee,Te.mode,Me),Ee.return=Te,Ee;case X:var Ze=Ee._init;return Ee=Ze(Ee._payload),Je(Te,Ee,Me)}if(ge(Ee)||ue(Ee))return Ee=wo(Ee,Te.mode,Me,null),Ee.return=Te,Ee;if(typeof Ee.then=="function")return Je(Te,Tm(Ee),Me);if(Ee.$$typeof===I)return Je(Te,up(Te,Ee),Me);Gr(Te,Ee)}return null}function ke(Te,Ee,Me,Ze){var pt=Ee!==null?Ee.key:null;if(typeof Me=="string"&&Me!==""||typeof Me=="number"||typeof Me=="bigint")return pt!==null?null:J(Te,Ee,""+Me,Ze);if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case R:return Me.key===pt?ce(Te,Ee,Me,Ze):null;case D:return Me.key===pt?Oe(Te,Ee,Me,Ze):null;case X:return pt=Me._init,Me=pt(Me._payload),ke(Te,Ee,Me,Ze)}if(ge(Me)||ue(Me))return pt!==null?null:We(Te,Ee,Me,Ze,null);if(typeof Me.then=="function")return ke(Te,Ee,Tm(Me),Ze);if(Me.$$typeof===I)return ke(Te,Ee,up(Te,Me),Ze);Gr(Te,Me)}return null}function Ne(Te,Ee,Me,Ze,pt){if(typeof Ze=="string"&&Ze!==""||typeof Ze=="number"||typeof Ze=="bigint")return Te=Te.get(Me)||null,J(Ee,Te,""+Ze,pt);if(typeof Ze=="object"&&Ze!==null){switch(Ze.$$typeof){case R:return Te=Te.get(Ze.key===null?Me:Ze.key)||null,ce(Ee,Te,Ze,pt);case D:return Te=Te.get(Ze.key===null?Me:Ze.key)||null,Oe(Ee,Te,Ze,pt);case X:var Jt=Ze._init;return Ze=Jt(Ze._payload),Ne(Te,Ee,Me,Ze,pt)}if(ge(Ze)||ue(Ze))return Te=Te.get(Me)||null,We(Ee,Te,Ze,pt,null);if(typeof Ze.then=="function")return Ne(Te,Ee,Me,Tm(Ze),pt);if(Ze.$$typeof===I)return Ne(Te,Ee,Me,up(Ee,Ze),pt);Gr(Ee,Ze)}return null}function Ct(Te,Ee,Me,Ze){for(var pt=null,Jt=null,wt=Ee,$t=Ee=0,la=null;wt!==null&&$t<Me.length;$t++){wt.index>$t?(la=wt,wt=null):la=wt.sibling;var mn=ke(Te,wt,Me[$t],Ze);if(mn===null){wt===null&&(wt=la);break}o&&wt&&mn.alternate===null&&s(Te,wt),Ee=A(mn,Ee,$t),Jt===null?pt=mn:Jt.sibling=mn,Jt=mn,wt=la}if($t===Me.length)return d(Te,wt),tn&&hn(Te,$t),pt;if(wt===null){for(;$t<Me.length;$t++)wt=Je(Te,Me[$t],Ze),wt!==null&&(Ee=A(wt,Ee,$t),Jt===null?pt=wt:Jt.sibling=wt,Jt=wt);return tn&&hn(Te,$t),pt}for(wt=g(wt);$t<Me.length;$t++)la=Ne(wt,Te,$t,Me[$t],Ze),la!==null&&(o&&la.alternate!==null&&wt.delete(la.key===null?$t:la.key),Ee=A(la,Ee,$t),Jt===null?pt=la:Jt.sibling=la,Jt=la);return o&&wt.forEach(function(Ms){return s(Te,Ms)}),tn&&hn(Te,$t),pt}function At(Te,Ee,Me,Ze){if(Me==null)throw Error(l(151));for(var pt=null,Jt=null,wt=Ee,$t=Ee=0,la=null,mn=Me.next();wt!==null&&!mn.done;$t++,mn=Me.next()){wt.index>$t?(la=wt,wt=null):la=wt.sibling;var Ms=ke(Te,wt,mn.value,Ze);if(Ms===null){wt===null&&(wt=la);break}o&&wt&&Ms.alternate===null&&s(Te,wt),Ee=A(Ms,Ee,$t),Jt===null?pt=Ms:Jt.sibling=Ms,Jt=Ms,wt=la}if(mn.done)return d(Te,wt),tn&&hn(Te,$t),pt;if(wt===null){for(;!mn.done;$t++,mn=Me.next())mn=Je(Te,mn.value,Ze),mn!==null&&(Ee=A(mn,Ee,$t),Jt===null?pt=mn:Jt.sibling=mn,Jt=mn);return tn&&hn(Te,$t),pt}for(wt=g(wt);!mn.done;$t++,mn=Me.next())mn=Ne(wt,Te,$t,mn.value,Ze),mn!==null&&(o&&mn.alternate!==null&&wt.delete(mn.key===null?$t:mn.key),Ee=A(mn,Ee,$t),Jt===null?pt=mn:Jt.sibling=mn,Jt=mn);return o&&wt.forEach(function(mx){return s(Te,mx)}),tn&&hn(Te,$t),pt}function Tn(Te,Ee,Me,Ze){if(typeof Me=="object"&&Me!==null&&Me.type===$&&Me.key===null&&(Me=Me.props.children),typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case R:e:{for(var pt=Me.key;Ee!==null;){if(Ee.key===pt){if(pt=Me.type,pt===$){if(Ee.tag===7){d(Te,Ee.sibling),Ze=C(Ee,Me.props.children),Ze.return=Te,Te=Ze;break e}}else if(Ee.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===X&&ps(pt)===Ee.type){d(Te,Ee.sibling),Ze=C(Ee,Me.props),Rc(Ze,Me),Ze.return=Te,Te=Ze;break e}d(Te,Ee);break}else s(Te,Ee);Ee=Ee.sibling}Me.type===$?(Ze=wo(Me.props.children,Te.mode,Ze,Me.key),Ze.return=Te,Te=Ze):(Ze=nt(Me.type,Me.key,Me.props,null,Te.mode,Ze),Rc(Ze,Me),Ze.return=Te,Te=Ze)}return z(Te);case D:e:{for(pt=Me.key;Ee!==null;){if(Ee.key===pt)if(Ee.tag===4&&Ee.stateNode.containerInfo===Me.containerInfo&&Ee.stateNode.implementation===Me.implementation){d(Te,Ee.sibling),Ze=C(Ee,Me.children||[]),Ze.return=Te,Te=Ze;break e}else{d(Te,Ee);break}else s(Te,Ee);Ee=Ee.sibling}Ze=Xn(Me,Te.mode,Ze),Ze.return=Te,Te=Ze}return z(Te);case X:return pt=Me._init,Me=pt(Me._payload),Tn(Te,Ee,Me,Ze)}if(ge(Me))return Ct(Te,Ee,Me,Ze);if(ue(Me)){if(pt=ue(Me),typeof pt!="function")throw Error(l(150));return Me=pt.call(Me),At(Te,Ee,Me,Ze)}if(typeof Me.then=="function")return Tn(Te,Ee,Tm(Me),Ze);if(Me.$$typeof===I)return Tn(Te,Ee,up(Te,Me),Ze);Gr(Te,Me)}return typeof Me=="string"&&Me!==""||typeof Me=="number"||typeof Me=="bigint"?(Me=""+Me,Ee!==null&&Ee.tag===6?(d(Te,Ee.sibling),Ze=C(Ee,Me),Ze.return=Te,Te=Ze):(d(Te,Ee),Ze=_d(Me,Te.mode,Ze),Ze.return=Te,Te=Ze),z(Te)):d(Te,Ee)}return function(Te,Ee,Me,Ze){try{ul=0;var pt=Tn(Te,Ee,Me,Ze);return Br=null,pt}catch(wt){if(wt===ta||wt===cp)throw wt;var Jt=al(29,wt,null,Te.mode);return Jt.lanes=Ze,Jt.return=Te,Jt}}}var hs=sl(!0),Pi=sl(!1),ql=be(null),Nr=null;function no(o){var s=o.alternate;fe(_n,_n.current&1),fe(ql,o),Nr===null&&(s===null||ss.current!==null||s.memoizedState!==null)&&(Nr=o)}function qi(o){if(o.tag===22){if(fe(_n,_n.current),fe(ql,o),Nr===null){var s=o.alternate;s!==null&&s.memoizedState!==null&&(Nr=o)}}else Zo()}function Zo(){fe(_n,_n.current),fe(ql,ql.current)}function Mo(o){ie(ql),Nr===o&&(Nr=null),ie(_n)}var _n=be(0);function Vd(o){for(var s=o;s!==null;){if(s.tag===13){var d=s.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||Ea(d)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function Jo(o,s,d,g){s=o.memoizedState,d=d(g,s),d=d==null?s:S({},s,d),o.memoizedState=d,o.lanes===0&&(o.updateQueue.baseState=d)}var Fd={enqueueSetState:function(o,s,d){o=o._reactInternals;var g=Ua(),C=Ml(g);C.payload=s,d!=null&&(C.callback=d),s=Xo(o,C,g),s!==null&&(ro(s,o,g),bc(s,o,g))},enqueueReplaceState:function(o,s,d){o=o._reactInternals;var g=Ua(),C=Ml(g);C.tag=1,C.payload=s,d!=null&&(C.callback=d),s=Xo(o,C,g),s!==null&&(ro(s,o,g),bc(s,o,g))},enqueueForceUpdate:function(o,s){o=o._reactInternals;var d=Ua(),g=Ml(d);g.tag=2,s!=null&&(g.callback=s),s=Xo(o,g,d),s!==null&&(ro(s,o,d),bc(s,o,d))}};function Su(o,s,d,g,C,A,z){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(g,A,z):s.prototype&&s.prototype.isPureReactComponent?!Ql(d,g)||!Ql(C,A):!0}function Tc(o,s,d,g){o=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(d,g),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(d,g),s.state!==o&&Fd.enqueueReplaceState(s,s.state,null)}function wu(o,s){var d=s;if("ref"in s){d={};for(var g in s)g!=="ref"&&(d[g]=s[g])}if(o=o.defaultProps){d===s&&(d=S({},d));for(var C in o)d[C]===void 0&&(d[C]=o[C])}return d}var ms=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)};function Ac(o){ms(o)}function Tp(o){console.error(o)}function Ap(o){ms(o)}function Kd(o,s){try{var d=o.onUncaughtError;d(s.value,{componentStack:s.stack})}catch(g){setTimeout(function(){throw g})}}function ei(o,s,d){try{var g=o.onCaughtError;g(d.value,{componentStack:d.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(C){setTimeout(function(){throw C})}}function Am(o,s,d){return d=Ml(d),d.tag=3,d.payload={element:null},d.callback=function(){Kd(o,s)},d}function _m(o){return o=Ml(o),o.tag=3,o}function kl(o,s,d,g){var C=d.type.getDerivedStateFromError;if(typeof C=="function"){var A=g.value;o.payload=function(){return C(A)},o.callback=function(){ei(s,d,g)}}var z=d.stateNode;z!==null&&typeof z.componentDidCatch=="function"&&(o.callback=function(){ei(s,d,g),typeof C!="function"&&(Ss===null?Ss=new Set([this]):Ss.add(this));var J=g.stack;this.componentDidCatch(g.value,{componentStack:J!==null?J:""})})}function Og(o,s,d,g,C){if(d.flags|=32768,g!==null&&typeof g=="object"&&typeof g.then=="function"){if(s=d.alternate,s!==null&&Od(s,d,C,!0),d=ql.current,d!==null){switch(d.tag){case 13:return Nr===null?Lc():d.alternate===null&&Ar===0&&(Ar=3),d.flags&=-257,d.flags|=65536,d.lanes=C,g===im?d.flags|=16384:(s=d.updateQueue,s===null?d.updateQueue=new Set([g]):s.add(g),Jm(o,g,C)),!1;case 22:return d.flags|=65536,g===im?d.flags|=16384:(s=d.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([g])},d.updateQueue=s):(d=s.retryQueue,d===null?s.retryQueue=new Set([g]):d.add(g)),Jm(o,g,C)),!1}throw Error(l(435,d.tag))}return Jm(o,g,C),Lc(),!1}if(tn)return s=ql.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=C,g!==Ti&&(o=Error(l(422),{cause:g}),hu(Pa(o,d)))):(g!==Ti&&(s=Error(l(423),{cause:g}),hu(Pa(s,d))),o=o.current.alternate,o.flags|=65536,C&=-C,o.lanes|=C,g=Pa(g,d),C=Am(o.stateNode,g,C),Wo(o,C),Ar!==4&&(Ar=2)),!1;var A=Error(l(520),{cause:g});if(A=Pa(A,d),ef===null?ef=[A]:ef.push(A),Ar!==4&&(Ar=2),s===null)return!0;g=Pa(g,d),d=s;do{switch(d.tag){case 3:return d.flags|=65536,o=C&-C,d.lanes|=o,o=Am(d.stateNode,g,o),Wo(d,o),!1;case 1:if(s=d.type,A=d.stateNode,(d.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(Ss===null||!Ss.has(A))))return d.flags|=65536,C&=-C,d.lanes|=C,C=_m(C),kl(C,o,d,g),Wo(d,C),!1}d=d.return}while(d!==null);return!1}var Rr=Error(l(461)),Yr=!1;function Qn(o,s,d,g){s.child=o===null?Pi(s,null,d,g):hs(s,o.child,d,g)}function Dm(o,s,d,g,C){d=d.render;var A=s.ref;if("ref"in g){var z={};for(var J in g)J!=="ref"&&(z[J]=g[J])}else z=g;return ls(s),g=fm(o,s,d,z,A,C),J=hm(),o!==null&&!Yr?(Mi(o,s,C),Li(o,s,C)):(tn&&J&&vc(s),s.flags|=1,Qn(o,s,g,C),s.child)}function ti(o,s,d,g,C){if(o===null){var A=d.type;return typeof A=="function"&&!pu(A)&&A.defaultProps===void 0&&d.compare===null?(s.tag=15,s.type=A,Cu(o,s,A,g,C)):(o=nt(d.type,null,g,s,s.mode,C),o.ref=s.ref,o.return=s,s.child=o)}if(A=o.child,!No(o,C)){var z=A.memoizedProps;if(d=d.compare,d=d!==null?d:Ql,d(z,g)&&o.ref===s.ref)return Li(o,s,C)}return s.flags|=1,o=ma(A,g),o.ref=s.ref,o.return=s,s.child=o}function Cu(o,s,d,g,C){if(o!==null){var A=o.memoizedProps;if(Ql(A,g)&&o.ref===s.ref)if(Yr=!1,s.pendingProps=g=A,No(o,C))(o.flags&131072)!==0&&(Yr=!0);else return s.lanes=o.lanes,Li(o,s,C)}return Dc(o,s,d,g,C)}function _c(o,s,d){var g=s.pendingProps,C=g.children,A=o!==null?o.memoizedState:null;if(g.mode==="hidden"){if((s.flags&128)!==0){if(g=A!==null?A.baseLanes|d:d,o!==null){for(C=s.child=o.child,A=0;C!==null;)A=A|C.lanes|C.childLanes,C=C.sibling;s.childLanes=A&~g}else s.childLanes=0,s.child=null;return Oo(o,s,g,d)}if((d&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},o!==null&&gc(s,A!==null?A.cachePool:null),A!==null?rr(s,A):xc(),qi(s);else return s.lanes=s.childLanes=536870912,Oo(o,s,A!==null?A.baseLanes|d:d,d)}else A!==null?(gc(s,A.cachePool),rr(s,A),Zo(),s.memoizedState=null):(o!==null&&gc(s,null),xc(),Zo());return Qn(o,s,C,d),s.child}function Oo(o,s,d,g){var C=Yo();return C=C===null?null:{parent:Un._currentValue,pool:C},s.memoizedState={baseLanes:d,cachePool:C},o!==null&&gc(s,null),xc(),qi(s),o!==null&&Od(o,s,g,!0),null}function Rt(o,s){var d=s.ref;if(d===null)o!==null&&o.ref!==null&&(s.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error(l(284));(o===null||o.ref!==d)&&(s.flags|=4194816)}}function Dc(o,s,d,g,C){return ls(s),d=fm(o,s,d,g,void 0,C),g=hm(),o!==null&&!Yr?(Mi(o,s,C),Li(o,s,C)):(tn&&g&&vc(s),s.flags|=1,Qn(o,s,d,C),s.child)}function _p(o,s,d,g,C,A){return ls(s),s.updateQueue=null,d=Cg(s,g,d,C),cs(o),g=hm(),o!==null&&!Yr?(Mi(o,s,A),Li(o,s,A)):(tn&&g&&vc(s),s.flags|=1,Qn(o,s,d,A),s.child)}function ki(o,s,d,g,C){if(ls(s),s.stateNode===null){var A=hc,z=d.contextType;typeof z=="object"&&z!==null&&(A=sr(z)),A=new d(g,A),s.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Fd,s.stateNode=A,A._reactInternals=s,A=s.stateNode,A.props=g,A.state=s.memoizedState,A.refs={},us(s),z=d.contextType,A.context=typeof z=="object"&&z!==null?sr(z):hc,A.state=s.memoizedState,z=d.getDerivedStateFromProps,typeof z=="function"&&(Jo(s,d,z,g),A.state=s.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(z=A.state,typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount(),z!==A.state&&Fd.enqueueReplaceState(A,A.state,null),Lr(s,g,A,C),_o(),A.state=s.memoizedState),typeof A.componentDidMount=="function"&&(s.flags|=4194308),g=!0}else if(o===null){A=s.stateNode;var J=s.memoizedProps,ce=wu(d,J);A.props=ce;var Oe=A.context,We=d.contextType;z=hc,typeof We=="object"&&We!==null&&(z=sr(We));var Je=d.getDerivedStateFromProps;We=typeof Je=="function"||typeof A.getSnapshotBeforeUpdate=="function",J=s.pendingProps!==J,We||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(J||Oe!==z)&&Tc(s,A,g,z),Ao=!1;var ke=s.memoizedState;A.state=ke,Lr(s,g,A,C),_o(),Oe=s.memoizedState,J||ke!==Oe||Ao?(typeof Je=="function"&&(Jo(s,d,Je,g),Oe=s.memoizedState),(ce=Ao||Su(s,d,ce,g,ke,Oe,z))?(We||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount()),typeof A.componentDidMount=="function"&&(s.flags|=4194308)):(typeof A.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=g,s.memoizedState=Oe),A.props=g,A.state=Oe,A.context=z,g=ce):(typeof A.componentDidMount=="function"&&(s.flags|=4194308),g=!1)}else{A=s.stateNode,yc(o,s),z=s.memoizedProps,We=wu(d,z),A.props=We,Je=s.pendingProps,ke=A.context,Oe=d.contextType,ce=hc,typeof Oe=="object"&&Oe!==null&&(ce=sr(Oe)),J=d.getDerivedStateFromProps,(Oe=typeof J=="function"||typeof A.getSnapshotBeforeUpdate=="function")||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(z!==Je||ke!==ce)&&Tc(s,A,g,ce),Ao=!1,ke=s.memoizedState,A.state=ke,Lr(s,g,A,C),_o();var Ne=s.memoizedState;z!==Je||ke!==Ne||Ao||o!==null&&o.dependencies!==null&&ip(o.dependencies)?(typeof J=="function"&&(Jo(s,d,J,g),Ne=s.memoizedState),(We=Ao||Su(s,d,We,g,ke,Ne,ce)||o!==null&&o.dependencies!==null&&ip(o.dependencies))?(Oe||typeof A.UNSAFE_componentWillUpdate!="function"&&typeof A.componentWillUpdate!="function"||(typeof A.componentWillUpdate=="function"&&A.componentWillUpdate(g,Ne,ce),typeof A.UNSAFE_componentWillUpdate=="function"&&A.UNSAFE_componentWillUpdate(g,Ne,ce)),typeof A.componentDidUpdate=="function"&&(s.flags|=4),typeof A.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof A.componentDidUpdate!="function"||z===o.memoizedProps&&ke===o.memoizedState||(s.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||z===o.memoizedProps&&ke===o.memoizedState||(s.flags|=1024),s.memoizedProps=g,s.memoizedState=Ne),A.props=g,A.state=Ne,A.context=ce,g=We):(typeof A.componentDidUpdate!="function"||z===o.memoizedProps&&ke===o.memoizedState||(s.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||z===o.memoizedProps&&ke===o.memoizedState||(s.flags|=1024),g=!1)}return A=g,Rt(o,s),g=(s.flags&128)!==0,A||g?(A=s.stateNode,d=g&&typeof d.getDerivedStateFromError!="function"?null:A.render(),s.flags|=1,o!==null&&g?(s.child=hs(s,o.child,null,C),s.child=hs(s,null,d,C)):Qn(o,s,d,C),s.memoizedState=A.state,o=s.child):o=Li(o,s,C),o}function Mm(o,s,d,g){return Md(),s.flags|=256,Qn(o,s,d,g),s.child}var Gd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Om(o){return{baseLanes:o,cachePool:lm()}}function na(o,s,d){return o=o!==null?o.childLanes&~d:0,s&&(o|=Po),o}function Ng(o,s,d){var g=s.pendingProps,C=!1,A=(s.flags&128)!==0,z;if((z=A)||(z=o!==null&&o.memoizedState===null?!1:(_n.current&2)!==0),z&&(C=!0,s.flags&=-129),z=(s.flags&32)!==0,s.flags&=-33,o===null){if(tn){if(C?no(s):Zo(),tn){var J=bn,ce;if(ce=J){e:{for(ce=J,J=ka;ce.nodeType!==8;){if(!J){J=null;break e}if(ce=oi(ce.nextSibling),ce===null){J=null;break e}}J=ce}J!==null?(s.memoizedState={dehydrated:J,treeContext:zn!==null?{id:Wn,overflow:wr}:null,retryLane:536870912,hydrationErrors:null},ce=al(18,null,null,0),ce.stateNode=J,ce.return=s,s.child=ce,nr=s,bn=null,ce=!0):ce=!1}ce||_l(s)}if(J=s.memoizedState,J!==null&&(J=J.dehydrated,J!==null))return Ea(J)?s.lanes=32:s.lanes=536870912,null;Mo(s)}return J=g.children,g=g.fallback,C?(Zo(),C=s.mode,J=Dp({mode:"hidden",children:J},C),g=wo(g,C,d,null),J.return=s,g.return=s,J.sibling=g,s.child=J,C=s.child,C.memoizedState=Om(d),C.childLanes=na(o,z,d),s.memoizedState=Gd,g):(no(s),Nm(s,J))}if(ce=o.memoizedState,ce!==null&&(J=ce.dehydrated,J!==null)){if(A)s.flags&256?(no(s),s.flags&=-257,s=vs(o,s,d)):s.memoizedState!==null?(Zo(),s.child=o.child,s.flags|=128,s=null):(Zo(),C=g.fallback,J=s.mode,g=Dp({mode:"visible",children:g.children},J),C=wo(C,J,d,null),C.flags|=2,g.return=s,C.return=s,g.sibling=C,s.child=g,hs(s,o.child,null,d),g=s.child,g.memoizedState=Om(d),g.childLanes=na(o,z,d),s.memoizedState=Gd,s=C);else if(no(s),Ea(J)){if(z=J.nextSibling&&J.nextSibling.dataset,z)var Oe=z.dgst;z=Oe,g=Error(l(419)),g.stack="",g.digest=z,hu({value:g,source:null,stack:null}),s=vs(o,s,d)}else if(Yr||Od(o,s,d,!1),z=(d&o.childLanes)!==0,Yr||z){if(z=Hn,z!==null&&(g=d&-d,g=(g&42)!==0?1:Gl(g),g=(g&(z.suspendedLanes|d))!==0?0:g,g!==0&&g!==ce.retryLane))throw ce.retryLane=g,Ko(o,g),ro(z,o,g),Rr;J.data==="$?"||Lc(),s=vs(o,s,d)}else J.data==="$?"?(s.flags|=192,s.child=o.child,s=null):(o=ce.treeContext,bn=oi(J.nextSibling),nr=s,tn=!0,qa=null,ka=!1,o!==null&&(Co[Al++]=Wn,Co[Al++]=wr,Co[Al++]=zn,Wn=o.id,wr=o.overflow,zn=s),s=Nm(s,g.children),s.flags|=4096);return s}return C?(Zo(),C=g.fallback,J=s.mode,ce=o.child,Oe=ce.sibling,g=ma(ce,{mode:"hidden",children:g.children}),g.subtreeFlags=ce.subtreeFlags&65011712,Oe!==null?C=ma(Oe,C):(C=wo(C,J,d,null),C.flags|=2),C.return=s,g.return=s,g.sibling=C,s.child=g,g=C,C=s.child,J=o.child.memoizedState,J===null?J=Om(d):(ce=J.cachePool,ce!==null?(Oe=Un._currentValue,ce=ce.parent!==Oe?{parent:Oe,pool:Oe}:ce):ce=lm(),J={baseLanes:J.baseLanes|d,cachePool:ce}),C.memoizedState=J,C.childLanes=na(o,z,d),s.memoizedState=Gd,g):(no(s),d=o.child,o=d.sibling,d=ma(d,{mode:"visible",children:g.children}),d.return=s,d.sibling=null,o!==null&&(z=s.deletions,z===null?(s.deletions=[o],s.flags|=16):z.push(o)),s.child=d,s.memoizedState=null,d)}function Nm(o,s){return s=Dp({mode:"visible",children:s},o.mode),s.return=o,o.child=s}function Dp(o,s){return o=al(22,o,null,s),o.lanes=0,o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},o}function vs(o,s,d){return hs(s,o.child,null,d),o=Nm(s,s.pendingProps.children),o.flags|=2,s.memoizedState=null,o}function Yd(o,s,d){o.lanes|=s;var g=o.alternate;g!==null&&(g.lanes|=s),ll(o.return,s,d)}function $m(o,s,d,g,C){var A=o.memoizedState;A===null?o.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:g,tail:d,tailMode:C}:(A.isBackwards=s,A.rendering=null,A.renderingStartTime=0,A.last=g,A.tail=d,A.tailMode=C)}function Pm(o,s,d){var g=s.pendingProps,C=g.revealOrder,A=g.tail;if(Qn(o,s,g.children,d),g=_n.current,(g&2)!==0)g=g&1|2,s.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=s.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&Yd(o,d,s);else if(o.tag===19)Yd(o,d,s);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===s)break e;for(;o.sibling===null;){if(o.return===null||o.return===s)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}g&=1}switch(fe(_n,g),C){case"forwards":for(d=s.child,C=null;d!==null;)o=d.alternate,o!==null&&Vd(o)===null&&(C=d),d=d.sibling;d=C,d===null?(C=s.child,s.child=null):(C=d.sibling,d.sibling=null),$m(s,!1,C,d,A);break;case"backwards":for(d=null,C=s.child,s.child=null;C!==null;){if(o=C.alternate,o!==null&&Vd(o)===null){s.child=C;break}o=C.sibling,C.sibling=d,d=C,C=o}$m(s,!0,d,null,A);break;case"together":$m(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Li(o,s,d){if(o!==null&&(s.dependencies=o.dependencies),_u|=s.lanes,(d&s.childLanes)===0)if(o!==null){if(Od(o,s,d,!1),(d&s.childLanes)===0)return null}else return null;if(o!==null&&s.child!==o.child)throw Error(l(153));if(s.child!==null){for(o=s.child,d=ma(o,o.pendingProps),s.child=d,d.return=s;o.sibling!==null;)o=o.sibling,d=d.sibling=ma(o,o.pendingProps),d.return=s;d.sibling=null}return s.child}function No(o,s){return(o.lanes&s)!==0?!0:(o=o.dependencies,!!(o!==null&&ip(o)))}function Ba(o,s,d){switch(s.tag){case 3:Ye(s,s.stateNode.containerInfo),Dl(s,Un,o.memoizedState.cache),Md();break;case 27:case 5:je(s);break;case 4:Ye(s,s.stateNode.containerInfo);break;case 10:Dl(s,s.type,s.memoizedProps.value);break;case 13:var g=s.memoizedState;if(g!==null)return g.dehydrated!==null?(no(s),s.flags|=128,null):(d&s.child.childLanes)!==0?Ng(o,s,d):(no(s),o=Li(o,s,d),o!==null?o.sibling:null);no(s);break;case 19:var C=(o.flags&128)!==0;if(g=(d&s.childLanes)!==0,g||(Od(o,s,d,!1),g=(d&s.childLanes)!==0),C){if(g)return Pm(o,s,d);s.flags|=128}if(C=s.memoizedState,C!==null&&(C.rendering=null,C.tail=null,C.lastEffect=null),fe(_n,_n.current),g)break;return null;case 22:case 23:return s.lanes=0,_c(o,s,d);case 24:Dl(s,Un,o.memoizedState.cache)}return Li(o,s,d)}function qm(o,s,d){if(o!==null)if(o.memoizedProps!==s.pendingProps)Yr=!0;else{if(!No(o,d)&&(s.flags&128)===0)return Yr=!1,Ba(o,s,d);Yr=(o.flags&131072)!==0}else Yr=!1,tn&&(s.flags&1048576)!==0&&lp(s,mc,s.index);switch(s.lanes=0,s.tag){case 16:e:{o=s.pendingProps;var g=s.elementType,C=g._init;if(g=C(g._payload),s.type=g,typeof g=="function")pu(g)?(o=wu(g,o),s.tag=1,s=ki(null,s,g,o,d)):(s.tag=0,s=Dc(null,s,g,o,d));else{if(g!=null){if(C=g.$$typeof,C===G){s.tag=11,s=Dm(null,s,g,o,d);break e}else if(C===V){s.tag=14,s=ti(null,s,g,o,d);break e}}throw s=ae(g)||g,Error(l(306,s,""))}}return s;case 0:return Dc(o,s,s.type,s.pendingProps,d);case 1:return g=s.type,C=wu(g,s.pendingProps),ki(o,s,g,C,d);case 3:e:{if(Ye(s,s.stateNode.containerInfo),o===null)throw Error(l(387));g=s.pendingProps;var A=s.memoizedState;C=A.element,yc(o,s),Lr(s,g,null,d);var z=s.memoizedState;if(g=z.cache,Dl(s,Un,g),g!==A.cache&&nn(s,[Un],d,!0),_o(),g=z.element,A.isDehydrated)if(A={element:g,isDehydrated:!1,cache:z.cache},s.updateQueue.baseState=A,s.memoizedState=A,s.flags&256){s=Mm(o,s,g,d);break e}else if(g!==C){C=Pa(Error(l(424)),s),hu(C),s=Mm(o,s,g,d);break e}else{switch(o=s.stateNode.containerInfo,o.nodeType){case 9:o=o.body;break;default:o=o.nodeName==="HTML"?o.ownerDocument.body:o}for(bn=oi(o.firstChild),nr=s,tn=!0,qa=null,ka=!0,d=Pi(s,null,g,d),s.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling}else{if(Md(),g===C){s=Li(o,s,d);break e}Qn(o,s,g,d)}s=s.child}return s;case 26:return Rt(o,s),o===null?(d=Hb(s.type,null,s.pendingProps,null))?s.memoizedState=d:tn||(d=s.type,o=s.pendingProps,g=fl(Pe.current).createElement(d),g[kr]=s,g[Za]=o,Pt(g,d,o),Fr(g),s.stateNode=g):s.memoizedState=Hb(s.type,o.memoizedProps,s.pendingProps,o.memoizedState),null;case 27:return je(s),o===null&&tn&&(g=s.stateNode=dt(s.type,s.pendingProps,Pe.current),nr=s,ka=!0,C=bn,qo(s.type)?(As=C,bn=oi(g.firstChild)):bn=C),Qn(o,s,s.pendingProps.children,d),Rt(o,s),o===null&&(s.flags|=4194304),s.child;case 5:return o===null&&tn&&((C=g=bn)&&(g=zc(g,s.type,s.pendingProps,ka),g!==null?(s.stateNode=g,nr=s,bn=oi(g.firstChild),ka=!1,C=!0):C=!1),C||_l(s)),je(s),C=s.type,A=s.pendingProps,z=o!==null?o.memoizedProps:null,g=A.children,ai(C,A)?g=null:z!==null&&ai(C,z)&&(s.flags|=32),s.memoizedState!==null&&(C=fm(o,s,pm,null,null,d),hl._currentValue=C),Rt(o,s),Qn(o,s,g,d),s.child;case 6:return o===null&&tn&&((o=d=bn)&&(d=ov(d,s.pendingProps,ka),d!==null?(s.stateNode=d,nr=s,bn=null,o=!0):o=!1),o||_l(s)),null;case 13:return Ng(o,s,d);case 4:return Ye(s,s.stateNode.containerInfo),g=s.pendingProps,o===null?s.child=hs(s,null,g,d):Qn(o,s,g,d),s.child;case 11:return Dm(o,s,s.type,s.pendingProps,d);case 7:return Qn(o,s,s.pendingProps,d),s.child;case 8:return Qn(o,s,s.pendingProps.children,d),s.child;case 12:return Qn(o,s,s.pendingProps.children,d),s.child;case 10:return g=s.pendingProps,Dl(s,s.type,g.value),Qn(o,s,g.children,d),s.child;case 9:return C=s.type._context,g=s.pendingProps.children,ls(s),C=sr(C),g=g(C),s.flags|=1,Qn(o,s,g,d),s.child;case 14:return ti(o,s,s.type,s.pendingProps,d);case 15:return Cu(o,s,s.type,s.pendingProps,d);case 19:return Pm(o,s,d);case 31:return g=s.pendingProps,d=s.mode,g={mode:g.mode,children:g.children},o===null?(d=Dp(g,d),d.ref=s.ref,s.child=d,d.return=s,s=d):(d=ma(o.child,g),d.ref=s.ref,s.child=d,d.return=s,s=d),s;case 22:return _c(o,s,d);case 24:return ls(s),g=sr(Un),o===null?(C=Yo(),C===null&&(C=Hn,A=$d(),C.pooledCache=A,A.refCount++,A!==null&&(C.pooledCacheLanes|=d),C=A),s.memoizedState={parent:g,cache:C},us(s),Dl(s,Un,C)):((o.lanes&d)!==0&&(yc(o,s),Lr(s,null,null,d),_o()),C=o.memoizedState,A=s.memoizedState,C.parent!==g?(C={parent:g,cache:g},s.memoizedState=C,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=C),Dl(s,Un,g)):(g=A.cache,Dl(s,Un,g),g!==C.cache&&nn(s,[Un],d,!0))),Qn(o,s,s.pendingProps.children,d),s.child;case 29:throw s.pendingProps}throw Error(l(156,s.tag))}function ji(o){o.flags|=4}function gs(o,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)o.flags&=-16777217;else if(o.flags|=16777216,!Ur(s)){if(s=ql.current,s!==null&&((un&4194048)===un?Nr!==null:(un&62914560)!==un&&(un&536870912)===0||s!==Nr))throw is=im,om;o.flags|=8192}}function Mp(o,s){s!==null&&(o.flags|=4),o.flags&16384&&(s=o.tag!==22?ru():536870912,o.lanes|=s,Jd|=s)}function Xd(o,s){if(!tn)switch(o.tailMode){case"hidden":s=o.tail;for(var d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?o.tail=null:d.sibling=null;break;case"collapsed":d=o.tail;for(var g=null;d!==null;)d.alternate!==null&&(g=d),d=d.sibling;g===null?s||o.tail===null?o.tail=null:o.tail.sibling=null:g.sibling=null}}function Tt(o){var s=o.alternate!==null&&o.alternate.child===o.child,d=0,g=0;if(s)for(var C=o.child;C!==null;)d|=C.lanes|C.childLanes,g|=C.subtreeFlags&65011712,g|=C.flags&65011712,C.return=o,C=C.sibling;else for(C=o.child;C!==null;)d|=C.lanes|C.childLanes,g|=C.subtreeFlags,g|=C.flags,C.return=o,C=C.sibling;return o.subtreeFlags|=g,o.childLanes=d,s}function km(o,s,d){var g=s.pendingProps;switch(Ro(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tt(s),null;case 1:return Tt(s),null;case 3:return d=s.stateNode,g=null,o!==null&&(g=o.memoizedState.cache),s.memoizedState.cache!==g&&(s.flags|=2048),Jl(Un),oe(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(Dd(s)?ji(s):o===null||o.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,xg())),Tt(s),null;case 26:return d=s.memoizedState,o===null?(ji(s),d!==null?(Tt(s),gs(s,d)):(Tt(s),s.flags&=-16777217)):d?d!==o.memoizedState?(ji(s),Tt(s),gs(s,d)):(Tt(s),s.flags&=-16777217):(o.memoizedProps!==g&&ji(s),Tt(s),s.flags&=-16777217),null;case 27:Le(s),d=Pe.current;var C=s.type;if(o!==null&&s.stateNode!=null)o.memoizedProps!==g&&ji(s);else{if(!g){if(s.stateNode===null)throw Error(l(166));return Tt(s),null}o=_e.current,Dd(s)?op(s):(o=dt(C,g,d),s.stateNode=o,ji(s))}return Tt(s),null;case 5:if(Le(s),d=s.type,o!==null&&s.stateNode!=null)o.memoizedProps!==g&&ji(s);else{if(!g){if(s.stateNode===null)throw Error(l(166));return Tt(s),null}if(o=_e.current,Dd(s))op(s);else{switch(C=fl(Pe.current),o){case 1:o=C.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:o=C.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":o=C.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":o=C.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":o=C.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof g.is=="string"?C.createElement("select",{is:g.is}):C.createElement("select"),g.multiple?o.multiple=!0:g.size&&(o.size=g.size);break;default:o=typeof g.is=="string"?C.createElement(d,{is:g.is}):C.createElement(d)}}o[kr]=s,o[Za]=g;e:for(C=s.child;C!==null;){if(C.tag===5||C.tag===6)o.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===s)break e;for(;C.sibling===null;){if(C.return===null||C.return===s)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}s.stateNode=o;e:switch(Pt(o,d,g),d){case"button":case"input":case"select":case"textarea":o=!!g.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&ji(s)}}return Tt(s),s.flags&=-16777217,null;case 6:if(o&&s.stateNode!=null)o.memoizedProps!==g&&ji(s);else{if(typeof g!="string"&&s.stateNode===null)throw Error(l(166));if(o=Pe.current,Dd(s)){if(o=s.stateNode,d=s.memoizedProps,g=null,C=nr,C!==null)switch(C.tag){case 27:case 5:g=C.memoizedProps}o[kr]=s,o=!!(o.nodeValue===d||g!==null&&g.suppressHydrationWarning===!0||ay(o.nodeValue,d)),o||_l(s)}else o=fl(o).createTextNode(g),o[kr]=s,s.stateNode=o}return Tt(s),null;case 13:if(g=s.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(C=Dd(s),g!==null&&g.dehydrated!==null){if(o===null){if(!C)throw Error(l(318));if(C=s.memoizedState,C=C!==null?C.dehydrated:null,!C)throw Error(l(317));C[kr]=s}else Md(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Tt(s),C=!1}else C=xg(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=C),C=!0;if(!C)return s.flags&256?(Mo(s),s):(Mo(s),null)}if(Mo(s),(s.flags&128)!==0)return s.lanes=d,s;if(d=g!==null,o=o!==null&&o.memoizedState!==null,d){g=s.child,C=null,g.alternate!==null&&g.alternate.memoizedState!==null&&g.alternate.memoizedState.cachePool!==null&&(C=g.alternate.memoizedState.cachePool.pool);var A=null;g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(A=g.memoizedState.cachePool.pool),A!==C&&(g.flags|=2048)}return d!==o&&d&&(s.child.flags|=8192),Mp(s,s.updateQueue),Tt(s),null;case 4:return oe(),o===null&&ry(s.stateNode.containerInfo),Tt(s),null;case 10:return Jl(s.type),Tt(s),null;case 19:if(ie(_n),C=s.memoizedState,C===null)return Tt(s),null;if(g=(s.flags&128)!==0,A=C.rendering,A===null)if(g)Xd(C,!1);else{if(Ar!==0||o!==null&&(o.flags&128)!==0)for(o=s.child;o!==null;){if(A=Vd(o),A!==null){for(s.flags|=128,Xd(C,!1),o=A.updateQueue,s.updateQueue=o,Mp(s,o),s.subtreeFlags=0,o=d,d=s.child;d!==null;)Ut(d,o),d=d.sibling;return fe(_n,_n.current&1|2),s.child}o=o.sibling}C.tail!==null&&an()>tf&&(s.flags|=128,g=!0,Xd(C,!1),s.lanes=4194304)}else{if(!g)if(o=Vd(A),o!==null){if(s.flags|=128,g=!0,o=o.updateQueue,s.updateQueue=o,Mp(s,o),Xd(C,!0),C.tail===null&&C.tailMode==="hidden"&&!A.alternate&&!tn)return Tt(s),null}else 2*an()-C.renderingStartTime>tf&&d!==536870912&&(s.flags|=128,g=!0,Xd(C,!1),s.lanes=4194304);C.isBackwards?(A.sibling=s.child,s.child=A):(o=C.last,o!==null?o.sibling=A:s.child=A,C.last=A)}return C.tail!==null?(s=C.tail,C.rendering=s,C.tail=s.sibling,C.renderingStartTime=an(),s.sibling=null,o=_n.current,fe(_n,g?o&1|2:o&1),s):(Tt(s),null);case 22:case 23:return Mo(s),qd(),g=s.memoizedState!==null,o!==null?o.memoizedState!==null!==g&&(s.flags|=8192):g&&(s.flags|=8192),g?(d&536870912)!==0&&(s.flags&128)===0&&(Tt(s),s.subtreeFlags&6&&(s.flags|=8192)):Tt(s),d=s.updateQueue,d!==null&&Mp(s,d.retryQueue),d=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),g=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(g=s.memoizedState.cachePool.pool),g!==d&&(s.flags|=2048),o!==null&&ie(Di),null;case 24:return d=null,o!==null&&(d=o.memoizedState.cache),s.memoizedState.cache!==d&&(s.flags|=2048),Jl(Un),Tt(s),null;case 25:return null;case 30:return null}throw Error(l(156,s.tag))}function Mb(o,s){switch(Ro(s),s.tag){case 1:return o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 3:return Jl(Un),oe(),o=s.flags,(o&65536)!==0&&(o&128)===0?(s.flags=o&-65537|128,s):null;case 26:case 27:case 5:return Le(s),null;case 13:if(Mo(s),o=s.memoizedState,o!==null&&o.dehydrated!==null){if(s.alternate===null)throw Error(l(340));Md()}return o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 19:return ie(_n),null;case 4:return oe(),null;case 10:return Jl(s.type),null;case 22:case 23:return Mo(s),qd(),o!==null&&ie(Di),o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 24:return Jl(Un),null;case 25:return null;default:return null}}function $g(o,s){switch(Ro(s),s.tag){case 3:Jl(Un),oe();break;case 26:case 27:case 5:Le(s);break;case 4:oe();break;case 13:Mo(s);break;case 19:ie(_n);break;case 10:Jl(s.type);break;case 22:case 23:Mo(s),qd(),o!==null&&ie(Di);break;case 24:Jl(Un)}}function Op(o,s){try{var d=s.updateQueue,g=d!==null?d.lastEffect:null;if(g!==null){var C=g.next;d=C;do{if((d.tag&o)===o){g=void 0;var A=d.create,z=d.inst;g=A(),z.destroy=g}d=d.next}while(d!==C)}}catch(J){Ln(s,s.return,J)}}function ys(o,s,d){try{var g=s.updateQueue,C=g!==null?g.lastEffect:null;if(C!==null){var A=C.next;g=A;do{if((g.tag&o)===o){var z=g.inst,J=z.destroy;if(J!==void 0){z.destroy=void 0,C=s;var ce=d,Oe=J;try{Oe()}catch(We){Ln(C,ce,We)}}}g=g.next}while(g!==A)}}catch(We){Ln(s,s.return,We)}}function Lm(o){var s=o.updateQueue;if(s!==null){var d=o.stateNode;try{Pd(s,d)}catch(g){Ln(o,o.return,g)}}}function jm(o,s,d){d.props=wu(o.type,o.memoizedProps),d.state=o.memoizedState;try{d.componentWillUnmount()}catch(g){Ln(o,s,g)}}function Mc(o,s){try{var d=o.ref;if(d!==null){switch(o.tag){case 26:case 27:case 5:var g=o.stateNode;break;case 30:g=o.stateNode;break;default:g=o.stateNode}typeof d=="function"?o.refCleanup=d(g):d.current=g}}catch(C){Ln(o,s,C)}}function ni(o,s){var d=o.ref,g=o.refCleanup;if(d!==null)if(typeof g=="function")try{g()}catch(C){Ln(o,s,C)}finally{o.refCleanup=null,o=o.alternate,o!=null&&(o.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(C){Ln(o,s,C)}else d.current=null}function bs(o){var s=o.type,d=o.memoizedProps,g=o.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":d.autoFocus&&g.focus();break e;case"img":d.src?g.src=d.src:d.srcSet&&(g.srcset=d.srcSet)}}catch(C){Ln(o,o.return,C)}}function Bm(o,s,d){try{var g=o.stateNode;dx(g,o.type,d,s),g[Za]=s}catch(C){Ln(o,o.return,C)}}function Wd(o){return o.tag===5||o.tag===3||o.tag===26||o.tag===27&&qo(o.type)||o.tag===4}function Ll(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Wd(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.tag===27&&qo(o.type)||o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function xs(o,s,d){var g=o.tag;if(g===5||g===6)o=o.stateNode,s?(d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d).insertBefore(o,s):(s=d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d,s.appendChild(o),d=d._reactRootContainer,d!=null||s.onclick!==null||(s.onclick=av));else if(g!==4&&(g===27&&qo(o.type)&&(d=o.stateNode,s=null),o=o.child,o!==null))for(xs(o,s,d),o=o.sibling;o!==null;)xs(o,s,d),o=o.sibling}function Np(o,s,d){var g=o.tag;if(g===5||g===6)o=o.stateNode,s?d.insertBefore(o,s):d.appendChild(o);else if(g!==4&&(g===27&&qo(o.type)&&(d=o.stateNode),o=o.child,o!==null))for(Np(o,s,d),o=o.sibling;o!==null;)Np(o,s,d),o=o.sibling}function Oc(o){var s=o.stateNode,d=o.memoizedProps;try{for(var g=o.type,C=s.attributes;C.length;)s.removeAttributeNode(C[0]);Pt(s,g,d),s[kr]=o,s[Za]=d}catch(A){Ln(o,o.return,A)}}var ri=!1,Dn=!1,Bi=!1,zm=typeof WeakSet=="function"?WeakSet:Set,zr=null;function Pg(o,s){if(o=o.containerInfo,lo=Yp,o=gg(o),np(o)){if("selectionStart"in o)var d={start:o.selectionStart,end:o.selectionEnd};else e:{d=(d=o.ownerDocument)&&d.defaultView||window;var g=d.getSelection&&d.getSelection();if(g&&g.rangeCount!==0){d=g.anchorNode;var C=g.anchorOffset,A=g.focusNode;g=g.focusOffset;try{d.nodeType,A.nodeType}catch{d=null;break e}var z=0,J=-1,ce=-1,Oe=0,We=0,Je=o,ke=null;t:for(;;){for(var Ne;Je!==d||C!==0&&Je.nodeType!==3||(J=z+C),Je!==A||g!==0&&Je.nodeType!==3||(ce=z+g),Je.nodeType===3&&(z+=Je.nodeValue.length),(Ne=Je.firstChild)!==null;)ke=Je,Je=Ne;for(;;){if(Je===o)break t;if(ke===d&&++Oe===C&&(J=z),ke===A&&++We===g&&(ce=z),(Ne=Je.nextSibling)!==null)break;Je=ke,ke=Je.parentNode}Je=Ne}d=J===-1||ce===-1?null:{start:J,end:ce}}else d=null}d=d||{start:0,end:0}}else d=null;for(cf={focusedElem:o,selectionRange:d},Yp=!1,zr=s;zr!==null;)if(s=zr,o=s.child,(s.subtreeFlags&1024)!==0&&o!==null)o.return=s,zr=o;else for(;zr!==null;){switch(s=zr,A=s.alternate,o=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((o&1024)!==0&&A!==null){o=void 0,d=s,C=A.memoizedProps,A=A.memoizedState,g=d.stateNode;try{var Ct=wu(d.type,C,d.elementType===d.type);o=g.getSnapshotBeforeUpdate(Ct,A),g.__reactInternalSnapshotBeforeUpdate=o}catch(At){Ln(d,d.return,At)}}break;case 3:if((o&1024)!==0){if(o=s.stateNode.containerInfo,d=o.nodeType,d===9)Vp(o);else if(d===1)switch(o.nodeName){case"HEAD":case"HTML":case"BODY":Vp(o);break;default:o.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error(l(163))}if(o=s.sibling,o!==null){o.return=s.return,zr=o;break}zr=s.return}}function qg(o,s,d){var g=d.flags;switch(d.tag){case 0:case 11:case 15:Ui(o,d),g&4&&Op(5,d);break;case 1:if(Ui(o,d),g&4)if(o=d.stateNode,s===null)try{o.componentDidMount()}catch(z){Ln(d,d.return,z)}else{var C=wu(d.type,s.memoizedProps);s=s.memoizedState;try{o.componentDidUpdate(C,s,o.__reactInternalSnapshotBeforeUpdate)}catch(z){Ln(d,d.return,z)}}g&64&&Lm(d),g&512&&Mc(d,d.return);break;case 3:if(Ui(o,d),g&64&&(o=d.updateQueue,o!==null)){if(s=null,d.child!==null)switch(d.child.tag){case 27:case 5:s=d.child.stateNode;break;case 1:s=d.child.stateNode}try{Pd(o,s)}catch(z){Ln(d,d.return,z)}}break;case 27:s===null&&g&4&&Oc(d);case 26:case 5:Ui(o,d),s===null&&g&4&&bs(d),g&512&&Mc(d,d.return);break;case 12:Ui(o,d);break;case 13:Ui(o,d),g&4&&Um(o,d),g&64&&(o=d.memoizedState,o!==null&&(o=o.dehydrated,o!==null&&(d=ev.bind(null,d),pf(o,d))));break;case 22:if(g=d.memoizedState!==null||ri,!g){s=s!==null&&s.memoizedState!==null||Dn,C=ri;var A=Dn;ri=g,(Dn=s)&&!A?Ru(o,d,(d.subtreeFlags&8772)!==0):Ui(o,d),ri=C,Dn=A}break;case 30:break;default:Ui(o,d)}}function kg(o){var s=o.alternate;s!==null&&(o.alternate=null,kg(s)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(s=o.stateNode,s!==null&&Lf(s)),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}var cr=null,ga=!1;function zi(o,s,d){for(d=d.child;d!==null;)rn(o,s,d),d=d.sibling}function rn(o,s,d){if(Mt&&typeof Mt.onCommitFiberUnmount=="function")try{Mt.onCommitFiberUnmount(mt,d)}catch{}switch(d.tag){case 26:Dn||ni(d,s),zi(o,s,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:Dn||ni(d,s);var g=cr,C=ga;qo(d.type)&&(cr=d.stateNode,ga=!1),zi(o,s,d),Ul(d.stateNode),cr=g,ga=C;break;case 5:Dn||ni(d,s);case 6:if(g=cr,C=ga,cr=null,zi(o,s,d),cr=g,ga=C,cr!==null)if(ga)try{(cr.nodeType===9?cr.body:cr.nodeName==="HTML"?cr.ownerDocument.body:cr).removeChild(d.stateNode)}catch(A){Ln(d,s,A)}else try{cr.removeChild(d.stateNode)}catch(A){Ln(d,s,A)}break;case 18:cr!==null&&(ga?(o=cr,ff(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,d.stateNode),Wi(o)):ff(cr,d.stateNode));break;case 4:g=cr,C=ga,cr=d.stateNode.containerInfo,ga=!0,zi(o,s,d),cr=g,ga=C;break;case 0:case 11:case 14:case 15:Dn||ys(2,d,s),Dn||ys(4,d,s),zi(o,s,d);break;case 1:Dn||(ni(d,s),g=d.stateNode,typeof g.componentWillUnmount=="function"&&jm(d,s,g)),zi(o,s,d);break;case 21:zi(o,s,d);break;case 22:Dn=(g=Dn)||d.memoizedState!==null,zi(o,s,d),Dn=g;break;default:zi(o,s,d)}}function Um(o,s){if(s.memoizedState===null&&(o=s.alternate,o!==null&&(o=o.memoizedState,o!==null&&(o=o.dehydrated,o!==null))))try{Wi(o)}catch(d){Ln(s,s.return,d)}}function Lg(o){switch(o.tag){case 13:case 19:var s=o.stateNode;return s===null&&(s=o.stateNode=new zm),s;case 22:return o=o.stateNode,s=o._retryCache,s===null&&(s=o._retryCache=new zm),s;default:throw Error(l(435,o.tag))}}function Im(o,s){var d=Lg(o);s.forEach(function(g){var C=sx.bind(null,o,g);d.has(g)||(d.add(g),g.then(C,C))})}function cl(o,s){var d=s.deletions;if(d!==null)for(var g=0;g<d.length;g++){var C=d[g],A=o,z=s,J=z;e:for(;J!==null;){switch(J.tag){case 27:if(qo(J.type)){cr=J.stateNode,ga=!1;break e}break;case 5:cr=J.stateNode,ga=!1;break e;case 3:case 4:cr=J.stateNode.containerInfo,ga=!0;break e}J=J.return}if(cr===null)throw Error(l(160));rn(A,z,C),cr=null,ga=!1,A=C.alternate,A!==null&&(A.return=null),C.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)Qd(s,o),s=s.sibling}var za=null;function Qd(o,s){var d=o.alternate,g=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:cl(s,o),Xr(o),g&4&&(ys(3,o,o.return),Op(3,o),ys(5,o,o.return));break;case 1:cl(s,o),Xr(o),g&512&&(Dn||d===null||ni(d,d.return)),g&64&&ri&&(o=o.updateQueue,o!==null&&(g=o.callbacks,g!==null&&(d=o.shared.hiddenCallbacks,o.shared.hiddenCallbacks=d===null?g:d.concat(g))));break;case 26:var C=za;if(cl(s,o),Xr(o),g&512&&(Dn||d===null||ni(d,d.return)),g&4){var A=d!==null?d.memoizedState:null;if(g=o.memoizedState,d===null)if(g===null)if(o.stateNode===null){e:{g=o.type,d=o.memoizedProps,C=C.ownerDocument||C;t:switch(g){case"title":A=C.getElementsByTagName("title")[0],(!A||A[ht]||A[kr]||A.namespaceURI==="http://www.w3.org/2000/svg"||A.hasAttribute("itemprop"))&&(A=C.createElement(g),C.head.insertBefore(A,C.querySelector("head > title"))),Pt(A,g,d),A[kr]=o,Fr(A),g=A;break e;case"link":var z=oy("link","href",C).get(g+(d.href||""));if(z){for(var J=0;J<z.length;J++)if(A=z[J],A.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&A.getAttribute("rel")===(d.rel==null?null:d.rel)&&A.getAttribute("title")===(d.title==null?null:d.title)&&A.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){z.splice(J,1);break t}}A=C.createElement(g),Pt(A,g,d),C.head.appendChild(A);break;case"meta":if(z=oy("meta","content",C).get(g+(d.content||""))){for(J=0;J<z.length;J++)if(A=z[J],A.getAttribute("content")===(d.content==null?null:""+d.content)&&A.getAttribute("name")===(d.name==null?null:d.name)&&A.getAttribute("property")===(d.property==null?null:d.property)&&A.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&A.getAttribute("charset")===(d.charSet==null?null:d.charSet)){z.splice(J,1);break t}}A=C.createElement(g),Pt(A,g,d),C.head.appendChild(A);break;default:throw Error(l(468,g))}A[kr]=o,Fr(A),g=A}o.stateNode=g}else iy(C,o.type,o.stateNode);else o.stateNode=Fb(C,g,o.memoizedProps);else A!==g?(A===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):A.count--,g===null?iy(C,o.type,o.stateNode):Fb(C,g,o.memoizedProps)):g===null&&o.stateNode!==null&&Bm(o,o.memoizedProps,d.memoizedProps)}break;case 27:cl(s,o),Xr(o),g&512&&(Dn||d===null||ni(d,d.return)),d!==null&&g&4&&Bm(o,o.memoizedProps,d.memoizedProps);break;case 5:if(cl(s,o),Xr(o),g&512&&(Dn||d===null||ni(d,d.return)),o.flags&32){C=o.stateNode;try{Ju(C,"")}catch(Ne){Ln(o,o.return,Ne)}}g&4&&o.stateNode!=null&&(C=o.memoizedProps,Bm(o,C,d!==null?d.memoizedProps:C)),g&1024&&(Bi=!0);break;case 6:if(cl(s,o),Xr(o),g&4){if(o.stateNode===null)throw Error(l(162));g=o.memoizedProps,d=o.stateNode;try{d.nodeValue=g}catch(Ne){Ln(o,o.return,Ne)}}break;case 3:if(Xi=null,C=za,za=jt(s.containerInfo),cl(s,o),za=C,Xr(o),g&4&&d!==null&&d.memoizedState.isDehydrated)try{Wi(s.containerInfo)}catch(Ne){Ln(o,o.return,Ne)}Bi&&(Bi=!1,jg(o));break;case 4:g=za,za=jt(o.stateNode.containerInfo),cl(s,o),Xr(o),za=g;break;case 12:cl(s,o),Xr(o);break;case 13:cl(s,o),Xr(o),o.child.flags&8192&&o.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Kg=an()),g&4&&(g=o.updateQueue,g!==null&&(o.updateQueue=null,Im(o,g)));break;case 22:C=o.memoizedState!==null;var ce=d!==null&&d.memoizedState!==null,Oe=ri,We=Dn;if(ri=Oe||C,Dn=We||ce,cl(s,o),Dn=We,ri=Oe,Xr(o),g&8192)e:for(s=o.stateNode,s._visibility=C?s._visibility&-2:s._visibility|1,C&&(d===null||ce||ri||Dn||dr(o)),d=null,s=o;;){if(s.tag===5||s.tag===26){if(d===null){ce=d=s;try{if(A=ce.stateNode,C)z=A.style,typeof z.setProperty=="function"?z.setProperty("display","none","important"):z.display="none";else{J=ce.stateNode;var Je=ce.memoizedProps.style,ke=Je!=null&&Je.hasOwnProperty("display")?Je.display:null;J.style.display=ke==null||typeof ke=="boolean"?"":(""+ke).trim()}}catch(Ne){Ln(ce,ce.return,Ne)}}}else if(s.tag===6){if(d===null){ce=s;try{ce.stateNode.nodeValue=C?"":ce.memoizedProps}catch(Ne){Ln(ce,ce.return,Ne)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===o)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break e;for(;s.sibling===null;){if(s.return===null||s.return===o)break e;d===s&&(d=null),s=s.return}d===s&&(d=null),s.sibling.return=s.return,s=s.sibling}g&4&&(g=o.updateQueue,g!==null&&(d=g.retryQueue,d!==null&&(g.retryQueue=null,Im(o,d))));break;case 19:cl(s,o),Xr(o),g&4&&(g=o.updateQueue,g!==null&&(o.updateQueue=null,Im(o,g)));break;case 30:break;case 21:break;default:cl(s,o),Xr(o)}}function Xr(o){var s=o.flags;if(s&2){try{for(var d,g=o.return;g!==null;){if(Wd(g)){d=g;break}g=g.return}if(d==null)throw Error(l(160));switch(d.tag){case 27:var C=d.stateNode,A=Ll(o);Np(o,A,C);break;case 5:var z=d.stateNode;d.flags&32&&(Ju(z,""),d.flags&=-33);var J=Ll(o);Np(o,J,z);break;case 3:case 4:var ce=d.stateNode.containerInfo,Oe=Ll(o);xs(o,Oe,ce);break;default:throw Error(l(161))}}catch(We){Ln(o,o.return,We)}o.flags&=-3}s&4096&&(o.flags&=-4097)}function jg(o){if(o.subtreeFlags&1024)for(o=o.child;o!==null;){var s=o;jg(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),o=o.sibling}}function Ui(o,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)qg(o,s.alternate,s),s=s.sibling}function dr(o){for(o=o.child;o!==null;){var s=o;switch(s.tag){case 0:case 11:case 14:case 15:ys(4,s,s.return),dr(s);break;case 1:ni(s,s.return);var d=s.stateNode;typeof d.componentWillUnmount=="function"&&jm(s,s.return,d),dr(s);break;case 27:Ul(s.stateNode);case 26:case 5:ni(s,s.return),dr(s);break;case 22:s.memoizedState===null&&dr(s);break;case 30:dr(s);break;default:dr(s)}o=o.sibling}}function Ru(o,s,d){for(d=d&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var g=s.alternate,C=o,A=s,z=A.flags;switch(A.tag){case 0:case 11:case 15:Ru(C,A,d),Op(4,A);break;case 1:if(Ru(C,A,d),g=A,C=g.stateNode,typeof C.componentDidMount=="function")try{C.componentDidMount()}catch(Oe){Ln(g,g.return,Oe)}if(g=A,C=g.updateQueue,C!==null){var J=g.stateNode;try{var ce=C.shared.hiddenCallbacks;if(ce!==null)for(C.shared.hiddenCallbacks=null,C=0;C<ce.length;C++)cm(ce[C],J)}catch(Oe){Ln(g,g.return,Oe)}}d&&z&64&&Lm(A),Mc(A,A.return);break;case 27:Oc(A);case 26:case 5:Ru(C,A,d),d&&g===null&&z&4&&bs(A),Mc(A,A.return);break;case 12:Ru(C,A,d);break;case 13:Ru(C,A,d),d&&z&4&&Um(C,A);break;case 22:A.memoizedState===null&&Ru(C,A,d),Mc(A,A.return);break;case 30:break;default:Ru(C,A,d)}s=s.sibling}}function $o(o,s){var d=null;o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),o=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(o=s.memoizedState.cachePool.pool),o!==d&&(o!=null&&o.refCount++,d!=null&&_i(d))}function Hm(o,s){o=null,s.alternate!==null&&(o=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==o&&(s.refCount++,o!=null&&_i(o))}function ya(o,s,d,g){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)Bg(o,s,d,g),s=s.sibling}function Bg(o,s,d,g){var C=s.flags;switch(s.tag){case 0:case 11:case 15:ya(o,s,d,g),C&2048&&Op(9,s);break;case 1:ya(o,s,d,g);break;case 3:ya(o,s,d,g),C&2048&&(o=null,s.alternate!==null&&(o=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==o&&(s.refCount++,o!=null&&_i(o)));break;case 12:if(C&2048){ya(o,s,d,g),o=s.stateNode;try{var A=s.memoizedProps,z=A.id,J=A.onPostCommit;typeof J=="function"&&J(z,s.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(ce){Ln(s,s.return,ce)}}else ya(o,s,d,g);break;case 13:ya(o,s,d,g);break;case 23:break;case 22:A=s.stateNode,z=s.alternate,s.memoizedState!==null?A._visibility&2?ya(o,s,d,g):Rn(o,s):A._visibility&2?ya(o,s,d,g):(A._visibility|=2,Tu(o,s,d,g,(s.subtreeFlags&10256)!==0)),C&2048&&$o(z,s);break;case 24:ya(o,s,d,g),C&2048&&Hm(s.alternate,s);break;default:ya(o,s,d,g)}}function Tu(o,s,d,g,C){for(C=C&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var A=o,z=s,J=d,ce=g,Oe=z.flags;switch(z.tag){case 0:case 11:case 15:Tu(A,z,J,ce,C),Op(8,z);break;case 23:break;case 22:var We=z.stateNode;z.memoizedState!==null?We._visibility&2?Tu(A,z,J,ce,C):Rn(A,z):(We._visibility|=2,Tu(A,z,J,ce,C)),C&&Oe&2048&&$o(z.alternate,z);break;case 24:Tu(A,z,J,ce,C),C&&Oe&2048&&Hm(z.alternate,z);break;default:Tu(A,z,J,ce,C)}s=s.sibling}}function Rn(o,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var d=o,g=s,C=g.flags;switch(g.tag){case 22:Rn(d,g),C&2048&&$o(g.alternate,g);break;case 24:Rn(d,g),C&2048&&Hm(g.alternate,g);break;default:Rn(d,g)}s=s.sibling}}var ra=8192;function Tr(o){if(o.subtreeFlags&ra)for(o=o.child;o!==null;)Ob(o),o=o.sibling}function Ob(o){switch(o.tag){case 26:Tr(o),o.flags&ra&&o.memoizedState!==null&&Yb(za,o.memoizedState,o.memoizedProps);break;case 5:Tr(o);break;case 3:case 4:var s=za;za=jt(o.stateNode.containerInfo),Tr(o),za=s;break;case 22:o.memoizedState===null&&(s=o.alternate,s!==null&&s.memoizedState!==null?(s=ra,ra=16777216,Tr(o),ra=s):Tr(o));break;default:Tr(o)}}function zg(o){var s=o.alternate;if(s!==null&&(o=s.child,o!==null)){s.child=null;do s=o.sibling,o.sibling=null,o=s;while(o!==null)}}function Es(o){var s=o.deletions;if((o.flags&16)!==0){if(s!==null)for(var d=0;d<s.length;d++){var g=s[d];zr=g,Ig(g,o)}zg(o)}if(o.subtreeFlags&10256)for(o=o.child;o!==null;)Ug(o),o=o.sibling}function Ug(o){switch(o.tag){case 0:case 11:case 15:Es(o),o.flags&2048&&ys(9,o,o.return);break;case 3:Es(o);break;case 12:Es(o);break;case 22:var s=o.stateNode;o.memoizedState!==null&&s._visibility&2&&(o.return===null||o.return.tag!==13)?(s._visibility&=-3,dl(o)):Es(o);break;default:Es(o)}}function dl(o){var s=o.deletions;if((o.flags&16)!==0){if(s!==null)for(var d=0;d<s.length;d++){var g=s[d];zr=g,Ig(g,o)}zg(o)}for(o=o.child;o!==null;){switch(s=o,s.tag){case 0:case 11:case 15:ys(8,s,s.return),dl(s);break;case 22:d=s.stateNode,d._visibility&2&&(d._visibility&=-3,dl(s));break;default:dl(s)}o=o.sibling}}function Ig(o,s){for(;zr!==null;){var d=zr;switch(d.tag){case 0:case 11:case 15:ys(8,d,s);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var g=d.memoizedState.cachePool.pool;g!=null&&g.refCount++}break;case 24:_i(d.memoizedState.cache)}if(g=d.child,g!==null)g.return=d,zr=g;else e:for(d=o;zr!==null;){g=zr;var C=g.sibling,A=g.return;if(kg(g),g===d){zr=null;break e}if(C!==null){C.return=A,zr=C;break e}zr=A}}}var Hg={getCacheForType:function(o){var s=sr(Un),d=s.data.get(o);return d===void 0&&(d=o(),s.data.set(o,d)),d}},Vm=typeof WeakMap=="function"?WeakMap:Map,Mn=0,Hn=null,on=null,un=0,Nn=0,jl=null,Ii=!1,Zd=!1,Vg=!1,Au=0,Ar=0,_u=0,Nc=0,Hi=0,Po=0,Jd=0,ef=null,Bl=null,Fg=!1,Kg=0,tf=1/0,$c=null,Ss=null,ba=0,Vi=null,nf=null,xa=0,Fm=0,Km=null,Gg=null,Pc=0,Yg=null;function Ua(){if((Mn&2)!==0&&un!==0)return un&-un;if(L.T!==null){var o=To;return o!==0?o:Rs()}return qh()}function Xg(){Po===0&&(Po=(un&536870912)===0||tn?vi():536870912);var o=ql.current;return o!==null&&(o.flags|=32),Po}function ro(o,s,d){(o===Hn&&(Nn===2||Nn===9)||o.cancelPendingCommit!==null)&&(Fi(o,0),Du(o,un,Po,!1)),gi(o,d),((Mn&2)===0||o!==Hn)&&(o===Hn&&((Mn&2)===0&&(Nc|=d),Ar===4&&Du(o,un,Po,!1)),zl(o))}function rf(o,s,d){if((Mn&6)!==0)throw Error(l(327));var g=!d&&(s&124)===0&&(s&o.expiredLanes)===0||Ma(o,s),C=g?Qg(o,s):Gm(o,s,!0),A=g;do{if(C===0){Zd&&!g&&Du(o,s,0,!1);break}else{if(d=o.current.alternate,A&&!Nb(d)){C=Gm(o,s,!1),A=!1;continue}if(C===2){if(A=s,o.errorRecoveryDisabledLanes&A)var z=0;else z=o.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){s=z;e:{var J=o;C=ef;var ce=J.current.memoizedState.isDehydrated;if(ce&&(Fi(J,z).flags|=256),z=Gm(J,z,!1),z!==2){if(Vg&&!ce){J.errorRecoveryDisabledLanes|=A,Nc|=A,C=4;break e}A=Bl,Bl=C,A!==null&&(Bl===null?Bl=A:Bl.push.apply(Bl,A))}C=z}if(A=!1,C!==2)continue}}if(C===1){Fi(o,0),Du(o,s,0,!0);break}e:{switch(g=o,A=C,A){case 0:case 1:throw Error(l(345));case 4:if((s&4194048)!==s)break;case 6:Du(g,s,Po,!Ii);break e;case 2:Bl=null;break;case 3:case 5:break;default:throw Error(l(329))}if((s&62914560)===s&&(C=Kg+300-an(),10<C)){if(Du(g,s,Po,!Ii),Qa(g,0,!0)!==0)break e;g.timeoutHandle=lv($p.bind(null,g,d,Bl,$c,Fg,s,Po,Nc,Jd,Ii,A,2,-0,0),C);break e}$p(g,d,Bl,$c,Fg,s,Po,Nc,Jd,Ii,A,0,-0,0)}}break}while(!0);zl(o)}function $p(o,s,d,g,C,A,z,J,ce,Oe,We,Je,ke,Ne){if(o.timeoutHandle=-1,Je=s.subtreeFlags,(Je&8192||(Je&16785408)===16785408)&&(Wr={stylesheets:null,count:0,unsuspend:Gb},Ob(s),Je=uy(),Je!==null)){o.cancelPendingCommit=Je(qp.bind(null,o,s,A,d,g,C,z,J,ce,We,1,ke,Ne)),Du(o,A,z,!Oe);return}qp(o,s,A,d,g,C,z,J,ce)}function Nb(o){for(var s=o;;){var d=s.tag;if((d===0||d===11||d===15)&&s.flags&16384&&(d=s.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var g=0;g<d.length;g++){var C=d[g],A=C.getSnapshot;C=C.value;try{if(!ha(A(),C))return!1}catch{return!1}}if(d=s.child,s.subtreeFlags&16384&&d!==null)d.return=s,s=d;else{if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Du(o,s,d,g){s&=~Hi,s&=~Nc,o.suspendedLanes|=s,o.pingedLanes&=~s,g&&(o.warmLanes|=s),g=o.expirationTimes;for(var C=s;0<C;){var A=31-An(C),z=1<<A;g[A]=-1,C&=~z}d!==0&&Zs(o,d,s)}function qc(){return(Mn&6)===0?(Bp(0),!1):!0}function ws(){if(on!==null){if(Nn===0)var o=on.return;else o=on,Z=Ai=null,pp(o),Br=null,ul=0,o=on;for(;o!==null;)$g(o.alternate,o),o=o.return;on=null}}function Fi(o,s){var d=o.timeoutHandle;d!==-1&&(o.timeoutHandle=-1,fx(d)),d=o.cancelPendingCommit,d!==null&&(o.cancelPendingCommit=null,d()),ws(),Hn=o,on=d=ma(o.current,null),un=s,Nn=0,jl=null,Ii=!1,Zd=Ma(o,s),Vg=!1,Jd=Po=Hi=Nc=_u=Ar=0,Bl=ef=null,Fg=!1,(s&8)!==0&&(s|=s&32);var g=o.entangledLanes;if(g!==0)for(o=o.entanglements,g&=s;0<g;){var C=31-An(g),A=1<<C;s|=o[C],g&=~A}return Au=s,Tl(),d}function Wg(o,s){It=null,L.H=Rp,s===ta||s===cp?(s=Sg(),Nn=3):s===om?(s=Sg(),Nn=4):Nn=s===Rr?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,jl=s,on===null&&(Ar=1,Kd(o,Pa(s,o.current)))}function $b(){var o=L.H;return L.H=Rp,o===null?Rp:o}function kc(){var o=L.A;return L.A=Hg,o}function Lc(){Ar=4,Ii||(un&4194048)!==un&&ql.current!==null||(Zd=!0),(_u&134217727)===0&&(Nc&134217727)===0||Hn===null||Du(Hn,un,Po,!1)}function Gm(o,s,d){var g=Mn;Mn|=2;var C=$b(),A=kc();(Hn!==o||un!==s)&&($c=null,Fi(o,s)),s=!1;var z=Ar;e:do try{if(Nn!==0&&on!==null){var J=on,ce=jl;switch(Nn){case 8:ws(),z=6;break e;case 3:case 2:case 9:case 6:ql.current===null&&(s=!0);var Oe=Nn;if(Nn=0,jl=null,af(o,J,ce,Oe),d&&Zd){z=0;break e}break;default:Oe=Nn,Nn=0,jl=null,af(o,J,ce,Oe)}}Ym(),z=Ar;break}catch(We){Wg(o,We)}while(!0);return s&&o.shellSuspendCounter++,Z=Ai=null,Mn=g,L.H=C,L.A=A,on===null&&(Hn=null,un=0,Tl()),z}function Ym(){for(;on!==null;)Wm(on)}function Qg(o,s){var d=Mn;Mn|=2;var g=$b(),C=kc();Hn!==o||un!==s?($c=null,tf=an()+500,Fi(o,s)):Zd=Ma(o,s);e:do try{if(Nn!==0&&on!==null){s=on;var A=jl;t:switch(Nn){case 1:Nn=0,jl=null,af(o,s,A,1);break;case 2:case 9:if(um(A)){Nn=0,jl=null,Zg(s);break}s=function(){Nn!==2&&Nn!==9||Hn!==o||(Nn=7),zl(o)},A.then(s,s);break e;case 3:Nn=7;break e;case 4:Nn=5;break e;case 7:um(A)?(Nn=0,jl=null,Zg(s)):(Nn=0,jl=null,af(o,s,A,7));break;case 5:var z=null;switch(on.tag){case 26:z=on.memoizedState;case 5:case 27:var J=on;if(!z||Ur(z)){Nn=0,jl=null;var ce=J.sibling;if(ce!==null)on=ce;else{var Oe=J.return;Oe!==null?(on=Oe,Pp(Oe)):on=null}break t}}Nn=0,jl=null,af(o,s,A,5);break;case 6:Nn=0,jl=null,af(o,s,A,6);break;case 8:ws(),Ar=6;break e;default:throw Error(l(462))}}Xm();break}catch(We){Wg(o,We)}while(!0);return Z=Ai=null,L.H=g,L.A=C,Mn=d,on!==null?0:(Hn=null,un=0,Tl(),Ar)}function Xm(){for(;on!==null&&!pn();)Wm(on)}function Wm(o){var s=qm(o.alternate,o,Au);o.memoizedProps=o.pendingProps,s===null?Pp(o):on=s}function Zg(o){var s=o,d=s.alternate;switch(s.tag){case 15:case 0:s=_p(d,s,s.pendingProps,s.type,void 0,un);break;case 11:s=_p(d,s,s.pendingProps,s.type.render,s.ref,un);break;case 5:pp(s);default:$g(d,s),s=on=Ut(s,Au),s=qm(d,s,Au)}o.memoizedProps=o.pendingProps,s===null?Pp(o):on=s}function af(o,s,d,g){Z=Ai=null,pp(s),Br=null,ul=0;var C=s.return;try{if(Og(o,C,s,d,un)){Ar=1,Kd(o,Pa(d,o.current)),on=null;return}}catch(A){if(C!==null)throw on=C,A;Ar=1,Kd(o,Pa(d,o.current)),on=null;return}s.flags&32768?(tn||g===1?o=!0:Zd||(un&536870912)!==0?o=!1:(Ii=o=!0,(g===2||g===9||g===3||g===6)&&(g=ql.current,g!==null&&g.tag===13&&(g.flags|=16384))),Pb(s,o)):Pp(s)}function Pp(o){var s=o;do{if((s.flags&32768)!==0){Pb(s,Ii);return}o=s.return;var d=km(s.alternate,s,Au);if(d!==null){on=d;return}if(s=s.sibling,s!==null){on=s;return}on=s=o}while(s!==null);Ar===0&&(Ar=5)}function Pb(o,s){do{var d=Mb(o.alternate,o);if(d!==null){d.flags&=32767,on=d;return}if(d=o.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!s&&(o=o.sibling,o!==null)){on=o;return}on=o=d}while(o!==null);Ar=6,on=null}function qp(o,s,d,g,C,A,z,J,ce){o.cancelPendingCommit=null;do Zm();while(ba!==0);if((Mn&6)!==0)throw Error(l(327));if(s!==null){if(s===o.current)throw Error(l(177));if(A=s.lanes|s.childLanes,A|=Ci,Ph(o,d,A,z,J,ce),o===Hn&&(on=Hn=null,un=0),nf=s,Vi=o,xa=d,Fm=A,Km=C,Gg=g,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(o.callbackNode=null,o.callbackPriority=0,Lb(De,function(){return Jg(),null})):(o.callbackNode=null,o.callbackPriority=0),g=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||g){g=L.T,L.T=null,C=W.p,W.p=2,z=Mn,Mn|=4;try{Pg(o,s,d)}finally{Mn=z,W.p=C,L.T=g}}ba=1,qb(),kp(),Qm()}}function qb(){if(ba===1){ba=0;var o=Vi,s=nf,d=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||d){d=L.T,L.T=null;var g=W.p;W.p=2;var C=Mn;Mn|=4;try{Qd(s,o);var A=cf,z=gg(o.containerInfo),J=A.focusedElem,ce=A.selectionRange;if(z!==J&&J&&J.ownerDocument&&tp(J.ownerDocument.documentElement,J)){if(ce!==null&&np(J)){var Oe=ce.start,We=ce.end;if(We===void 0&&(We=Oe),"selectionStart"in J)J.selectionStart=Oe,J.selectionEnd=Math.min(We,J.value.length);else{var Je=J.ownerDocument||document,ke=Je&&Je.defaultView||window;if(ke.getSelection){var Ne=ke.getSelection(),Ct=J.textContent.length,At=Math.min(ce.start,Ct),Tn=ce.end===void 0?At:Math.min(ce.end,Ct);!Ne.extend&&At>Tn&&(z=Tn,Tn=At,At=z);var Te=Yn(J,At),Ee=Yn(J,Tn);if(Te&&Ee&&(Ne.rangeCount!==1||Ne.anchorNode!==Te.node||Ne.anchorOffset!==Te.offset||Ne.focusNode!==Ee.node||Ne.focusOffset!==Ee.offset)){var Me=Je.createRange();Me.setStart(Te.node,Te.offset),Ne.removeAllRanges(),At>Tn?(Ne.addRange(Me),Ne.extend(Ee.node,Ee.offset)):(Me.setEnd(Ee.node,Ee.offset),Ne.addRange(Me))}}}}for(Je=[],Ne=J;Ne=Ne.parentNode;)Ne.nodeType===1&&Je.push({element:Ne,left:Ne.scrollLeft,top:Ne.scrollTop});for(typeof J.focus=="function"&&J.focus(),J=0;J<Je.length;J++){var Ze=Je[J];Ze.element.scrollLeft=Ze.left,Ze.element.scrollTop=Ze.top}}Yp=!!lo,cf=lo=null}finally{Mn=C,W.p=g,L.T=d}}o.current=s,ba=2}}function kp(){if(ba===2){ba=0;var o=Vi,s=nf,d=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||d){d=L.T,L.T=null;var g=W.p;W.p=2;var C=Mn;Mn|=4;try{qg(o,s.alternate,s)}finally{Mn=C,W.p=g,L.T=d}}ba=3}}function Qm(){if(ba===4||ba===3){ba=0,Pn();var o=Vi,s=nf,d=xa,g=Gg;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?ba=5:(ba=0,nf=Vi=null,kb(o,o.pendingLanes));var C=o.pendingLanes;if(C===0&&(Ss=null),at(d),s=s.stateNode,Mt&&typeof Mt.onCommitFiberRoot=="function")try{Mt.onCommitFiberRoot(mt,s,void 0,(s.current.flags&128)===128)}catch{}if(g!==null){s=L.T,C=W.p,W.p=2,L.T=null;try{for(var A=o.onRecoverableError,z=0;z<g.length;z++){var J=g[z];A(J.value,{componentStack:J.stack})}}finally{L.T=s,W.p=C}}(xa&3)!==0&&Zm(),zl(o),C=o.pendingLanes,(d&4194090)!==0&&(C&42)!==0?o===Yg?Pc++:(Pc=0,Yg=o):Pc=0,Bp(0)}}function kb(o,s){(o.pooledCacheLanes&=s)===0&&(s=o.pooledCache,s!=null&&(o.pooledCache=null,_i(s)))}function Zm(o){return qb(),kp(),Qm(),Jg()}function Jg(){if(ba!==5)return!1;var o=Vi,s=Fm;Fm=0;var d=at(xa),g=L.T,C=W.p;try{W.p=32>d?32:d,L.T=null,d=Km,Km=null;var A=Vi,z=xa;if(ba=0,nf=Vi=null,xa=0,(Mn&6)!==0)throw Error(l(331));var J=Mn;if(Mn|=4,Ug(A.current),Bg(A,A.current,z,d),Mn=J,Bp(0,!1),Mt&&typeof Mt.onPostCommitFiberRoot=="function")try{Mt.onPostCommitFiberRoot(mt,A)}catch{}return!0}finally{W.p=C,L.T=g,kb(o,s)}}function ey(o,s,d){s=Pa(d,s),s=Am(o.stateNode,s,2),o=Xo(o,s,2),o!==null&&(gi(o,2),zl(o))}function Ln(o,s,d){if(o.tag===3)ey(o,o,d);else for(;s!==null;){if(s.tag===3){ey(s,o,d);break}else if(s.tag===1){var g=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(Ss===null||!Ss.has(g))){o=Pa(d,o),d=_m(2),g=Xo(s,d,2),g!==null&&(kl(d,g,s,o),gi(g,2),zl(g));break}}s=s.return}}function Jm(o,s,d){var g=o.pingCache;if(g===null){g=o.pingCache=new Vm;var C=new Set;g.set(s,C)}else C=g.get(s),C===void 0&&(C=new Set,g.set(s,C));C.has(d)||(Vg=!0,C.add(d),o=ty.bind(null,o,s,d),s.then(o,o))}function ty(o,s,d){var g=o.pingCache;g!==null&&g.delete(s),o.pingedLanes|=o.suspendedLanes&d,o.warmLanes&=~d,Hn===o&&(un&d)===d&&(Ar===4||Ar===3&&(un&62914560)===un&&300>an()-Kg?(Mn&2)===0&&Fi(o,0):Hi|=d,Jd===un&&(Jd=0)),zl(o)}function ny(o,s){s===0&&(s=ru()),o=Ko(o,s),o!==null&&(gi(o,s),zl(o))}function ev(o){var s=o.memoizedState,d=0;s!==null&&(d=s.retryLane),ny(o,d)}function sx(o,s){var d=0;switch(o.tag){case 13:var g=o.stateNode,C=o.memoizedState;C!==null&&(d=C.retryLane);break;case 19:g=o.stateNode;break;case 22:g=o.stateNode._retryCache;break;default:throw Error(l(314))}g!==null&&g.delete(s),ny(o,d)}function Lb(o,s){return lt(o,s)}var Lp=null,Ki=null,lf=!1,jc=!1,jp=!1,Mu=0;function zl(o){o!==Ki&&o.next===null&&(Ki===null?Lp=Ki=o:Ki=Ki.next=o),jc=!0,lf||(lf=!0,tv())}function Bp(o,s){if(!jp&&jc){jp=!0;do for(var d=!1,g=Lp;g!==null;){if(o!==0){var C=g.pendingLanes;if(C===0)var A=0;else{var z=g.suspendedLanes,J=g.pingedLanes;A=(1<<31-An(42|o)+1)-1,A&=C&~(z&~J),A=A&201326741?A&201326741|1:A?A|2:0}A!==0&&(d=!0,zp(g,A))}else A=un,A=Qa(g,g===Hn?A:0,g.cancelPendingCommit!==null||g.timeoutHandle!==-1),(A&3)===0||Ma(g,A)||(d=!0,zp(g,A));g=g.next}while(d);jp=!1}}function jb(){Cs()}function Cs(){jc=lf=!1;var o=0;Mu!==0&&(Ou()&&(o=Mu),Mu=0);for(var s=an(),d=null,g=Lp;g!==null;){var C=g.next,A=of(g,s);A===0?(g.next=null,d===null?Lp=C:d.next=C,C===null&&(Ki=d)):(d=g,(o!==0||(A&3)!==0)&&(jc=!0)),g=C}Bp(o)}function of(o,s){for(var d=o.suspendedLanes,g=o.pingedLanes,C=o.expirationTimes,A=o.pendingLanes&-62914561;0<A;){var z=31-An(A),J=1<<z,ce=C[z];ce===-1?((J&d)===0||(J&g)!==0)&&(C[z]=gr(J,s)):ce<=s&&(o.expiredLanes|=J),A&=~J}if(s=Hn,d=un,d=Qa(o,o===s?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),g=o.callbackNode,d===0||o===s&&(Nn===2||Nn===9)||o.cancelPendingCommit!==null)return g!==null&&g!==null&&St(g),o.callbackNode=null,o.callbackPriority=0;if((d&3)===0||Ma(o,d)){if(s=d&-d,s===o.callbackPriority)return s;switch(g!==null&&St(g),at(d)){case 2:case 8:d=ve;break;case 32:d=De;break;case 268435456:d=it;break;default:d=De}return g=Bb.bind(null,o),d=lt(d,g),o.callbackPriority=s,o.callbackNode=d,s}return g!==null&&g!==null&&St(g),o.callbackPriority=2,o.callbackNode=null,2}function Bb(o,s){if(ba!==0&&ba!==5)return o.callbackNode=null,o.callbackPriority=0,null;var d=o.callbackNode;if(Zm()&&o.callbackNode!==d)return null;var g=un;return g=Qa(o,o===Hn?g:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),g===0?null:(rf(o,g,s),of(o,an()),o.callbackNode!=null&&o.callbackNode===d?Bb.bind(null,o):null)}function zp(o,s){if(Zm())return null;rf(o,s,!0)}function tv(){px(function(){(Mn&6)!==0?lt(Ws,jb):Cs()})}function Rs(){return Mu===0&&(Mu=vi()),Mu}function nv(o){return o==null||typeof o=="symbol"||typeof o=="boolean"?null:typeof o=="function"?o:pd(""+o)}function Up(o,s){var d=s.ownerDocument.createElement("input");return d.name=s.name,d.value=s.value,o.id&&d.setAttribute("form",o.id),s.parentNode.insertBefore(d,s),o=new FormData(o),d.parentNode.removeChild(d),o}function zb(o,s,d,g,C){if(s==="submit"&&d&&d.stateNode===C){var A=nv((C[Za]||null).action),z=g.submitter;z&&(s=(s=z[Za]||null)?nv(s.formAction):z.getAttribute("formAction"),s!==null&&(A=s,z=null));var J=new Vh("action","action",null,g,C);o.push({event:J,listeners:[{instance:null,listener:function(){if(g.defaultPrevented){if(Mu!==0){var ce=z?Up(C,z):new FormData(C);Hd(d,{pending:!0,data:ce,method:C.method,action:A},null,ce)}}else typeof A=="function"&&(J.preventDefault(),ce=z?Up(C,z):new FormData(C),Hd(d,{pending:!0,data:ce,method:C.method,action:A},A,ce))},currentTarget:C}]})}}for(var _r=0;_r<yn.length;_r++){var Ip=yn[_r],cx=Ip.toLowerCase(),Gt=Ip[0].toUpperCase()+Ip.slice(1);So(cx,"on"+Gt)}So(Zh,"onAnimationEnd"),So(yg,"onAnimationIteration"),So(Zl,"onAnimationStart"),So("dblclick","onDoubleClick"),So("focusin","onFocus"),So("focusout","onBlur"),So(Cd,"onTransitionRun"),So(Jh,"onTransitionStart"),So(pc,"onTransitionCancel"),So(Rd,"onTransitionEnd"),Xu("onMouseEnter",["mouseout","mouseover"]),Xu("onMouseLeave",["mouseout","mouseover"]),Xu("onPointerEnter",["pointerout","pointerover"]),Xu("onPointerLeave",["pointerout","pointerover"]),Yu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Yu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Yu("onBeforeInput",["compositionend","keypress","textInput","paste"]),Yu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Yu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Yu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hp="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ts=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Hp));function Bc(o,s){s=(s&4)!==0;for(var d=0;d<o.length;d++){var g=o[d],C=g.event;g=g.listeners;e:{var A=void 0;if(s)for(var z=g.length-1;0<=z;z--){var J=g[z],ce=J.instance,Oe=J.currentTarget;if(J=J.listener,ce!==A&&C.isPropagationStopped())break e;A=J,C.currentTarget=Oe;try{A(C)}catch(We){ms(We)}C.currentTarget=null,A=ce}else for(z=0;z<g.length;z++){if(J=g[z],ce=J.instance,Oe=J.currentTarget,J=J.listener,ce!==A&&C.isPropagationStopped())break e;A=J,C.currentTarget=Oe;try{A(C)}catch(We){ms(We)}C.currentTarget=null,A=ce}}}}function Vt(o,s){var d=s[kh];d===void 0&&(d=s[kh]=new Set);var g=o+"__bubble";d.has(g)||(rv(s,o,2,!1),d.add(g))}function uf(o,s,d){var g=0;s&&(g|=4),rv(d,o,g,s)}var Ia="_reactListening"+Math.random().toString(36).slice(2);function ry(o){if(!o[Ia]){o[Ia]=!0,jf.forEach(function(d){d!=="selectionchange"&&(Ts.has(d)||uf(d,!1,o),uf(d,!0,o))});var s=o.nodeType===9?o:o.ownerDocument;s===null||s[Ia]||(s[Ia]=!0,uf("selectionchange",!1,s))}}function rv(o,s,d,g){switch(hy(s)){case 2:var C=Xb;break;case 8:C=Ic;break;default:C=fy}d=C.bind(null,s,d,o),C=void 0,!gd||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(C=!0),g?C!==void 0?o.addEventListener(s,d,{capture:!0,passive:C}):o.addEventListener(s,d,!0):C!==void 0?o.addEventListener(s,d,{passive:C}):o.addEventListener(s,d,!1)}function aa(o,s,d,g,C){var A=g;if((s&1)===0&&(s&2)===0&&g!==null)e:for(;;){if(g===null)return;var z=g.tag;if(z===3||z===4){var J=g.stateNode.containerInfo;if(J===C)break;if(z===4)for(z=g.return;z!==null;){var ce=z.tag;if((ce===3||ce===4)&&z.stateNode.containerInfo===C)return;z=z.return}for(;J!==null;){if(z=fa(J),z===null)return;if(ce=z.tag,ce===5||ce===6||ce===26||ce===27){g=A=z;continue e}J=J.parentNode}}g=g.return}vd(function(){var Oe=A,We=Ih(d),Je=[];e:{var ke=Td.get(o);if(ke!==void 0){var Ne=Vh,Ct=o;switch(o){case"keypress":if(Kt(d)===0)break e;case"keydown":case"keyup":Ne=Wl;break;case"focusin":Ct="focus",Ne=Yh;break;case"focusout":Ct="blur",Ne=Yh;break;case"beforeblur":case"afterblur":Ne=Yh;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ne=cu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ne=Gh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ne=sg;break;case Zh:case yg:case Zl:Ne=bb;break;case Rd:Ne=Sb;break;case"scroll":case"scrollend":Ne=gb;break;case"wheel":Ne=sc;break;case"copy":case"cut":case"paste":Ne=bd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ne=vo;break;case"toggle":case"beforetoggle":Ne=Yf}var At=(s&4)!==0,Tn=!At&&(o==="scroll"||o==="scrollend"),Te=At?ke!==null?ke+"Capture":null:ke;At=[];for(var Ee=Oe,Me;Ee!==null;){var Ze=Ee;if(Me=Ze.stateNode,Ze=Ze.tag,Ze!==5&&Ze!==26&&Ze!==27||Me===null||Te===null||(Ze=ic(Ee,Te),Ze!=null&&At.push(Ot(Ee,Ze,Me))),Tn)break;Ee=Ee.return}0<At.length&&(ke=new Ne(ke,Ct,null,d,We),Je.push({event:ke,listeners:At}))}}if((s&7)===0){e:{if(ke=o==="mouseover"||o==="pointerover",Ne=o==="mouseout"||o==="pointerout",ke&&d!==es&&(Ct=d.relatedTarget||d.fromElement)&&(fa(Ct)||Ct[Gu]))break e;if((Ne||ke)&&(ke=We.window===We?We:(ke=We.ownerDocument)?ke.defaultView||ke.parentWindow:window,Ne?(Ct=d.relatedTarget||d.toElement,Ne=Oe,Ct=Ct?fa(Ct):null,Ct!==null&&(Tn=c(Ct),At=Ct.tag,Ct!==Tn||At!==5&&At!==27&&At!==6)&&(Ct=null)):(Ne=null,Ct=Oe),Ne!==Ct)){if(At=cu,Ze="onMouseLeave",Te="onMouseEnter",Ee="mouse",(o==="pointerout"||o==="pointerover")&&(At=vo,Ze="onPointerLeave",Te="onPointerEnter",Ee="pointer"),Tn=Ne==null?ke:sd(Ne),Me=Ct==null?ke:sd(Ct),ke=new At(Ze,Ee+"leave",Ne,d,We),ke.target=Tn,ke.relatedTarget=Me,Ze=null,fa(We)===Oe&&(At=new At(Te,Ee+"enter",Ct,d,We),At.target=Me,At.relatedTarget=Tn,Ze=At),Tn=Ze,Ne&&Ct)t:{for(At=Ne,Te=Ct,Ee=0,Me=At;Me;Me=$r(Me))Ee++;for(Me=0,Ze=Te;Ze;Ze=$r(Ze))Me++;for(;0<Ee-Me;)At=$r(At),Ee--;for(;0<Me-Ee;)Te=$r(Te),Me--;for(;Ee--;){if(At===Te||Te!==null&&At===Te.alternate)break t;At=$r(At),Te=$r(Te)}At=null}else At=null;Ne!==null&&ar(Je,ke,Ne,At,!1),Ct!==null&&Tn!==null&&ar(Je,Tn,Ct,At,!0)}}e:{if(ke=Oe?sd(Oe):window,Ne=ke.nodeName&&ke.nodeName.toLowerCase(),Ne==="select"||Ne==="input"&&ke.type==="file")var pt=fg;else if(Sd(ke))if(pg)pt=mg;else{pt=nl;var Jt=ep}else Ne=ke.nodeName,!Ne||Ne.toLowerCase()!=="input"||ke.type!=="checkbox"&&ke.type!=="radio"?Oe&&oc(Oe.elementType)&&(pt=fg):pt=Eo;if(pt&&(pt=pt(o,Oe))){rs(Je,pt,d,We);break e}Jt&&Jt(o,ke,Oe),o==="focusout"&&Oe&&ke.type==="number"&&Oe.memoizedProps.value!=null&&rc(ke,"number",ke.value)}switch(Jt=Oe?sd(Oe):window,o){case"focusin":(Sd(Jt)||Jt.contentEditable==="true")&&(wi=Jt,$a=Oe,Ce=null);break;case"focusout":Ce=$a=wi=null;break;case"mousedown":Ke=!0;break;case"contextmenu":case"mouseup":case"dragend":Ke=!1,ze(Je,d,We);break;case"selectionchange":if(fc)break;case"keydown":case"keyup":ze(Je,d,We)}var wt;if(Xf)e:{switch(o){case"compositionstart":var $t="onCompositionStart";break e;case"compositionend":$t="onCompositionEnd";break e;case"compositionupdate":$t="onCompositionUpdate";break e}$t=void 0}else Ei?Zf(o,d)&&($t="onCompositionEnd"):o==="keydown"&&d.keyCode===229&&($t="onCompositionStart");$t&&(go&&d.locale!=="ko"&&(Ei||$t!=="onCompositionStart"?$t==="onCompositionEnd"&&Ei&&(wt=ag()):(uu=We,yd="value"in uu?uu.value:uu.textContent,Ei=!0)),Jt=sf(Oe,$t),0<Jt.length&&($t=new tl($t,o,null,d,We),Je.push({event:$t,listeners:Jt}),wt?$t.data=wt:(wt=xi(d),wt!==null&&($t.data=wt)))),(wt=Qh?cg(o,d):ns(o,d))&&($t=sf(Oe,"onBeforeInput"),0<$t.length&&(Jt=new tl("onBeforeInput","beforeinput",null,d,We),Je.push({event:Jt,listeners:$t}),Jt.data=wt)),zb(Je,o,Oe,d,We)}Bc(Je,s)})}function Ot(o,s,d){return{instance:o,listener:s,currentTarget:d}}function sf(o,s){for(var d=s+"Capture",g=[];o!==null;){var C=o,A=C.stateNode;if(C=C.tag,C!==5&&C!==26&&C!==27||A===null||(C=ic(o,d),C!=null&&g.unshift(Ot(o,C,A)),C=ic(o,s),C!=null&&g.push(Ot(o,C,A))),o.tag===3)return g;o=o.return}return[]}function $r(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5&&o.tag!==27);return o||null}function ar(o,s,d,g,C){for(var A=s._reactName,z=[];d!==null&&d!==g;){var J=d,ce=J.alternate,Oe=J.stateNode;if(J=J.tag,ce!==null&&ce===g)break;J!==5&&J!==26&&J!==27||Oe===null||(ce=Oe,C?(Oe=ic(d,A),Oe!=null&&z.unshift(Ot(d,Oe,ce))):C||(Oe=ic(d,A),Oe!=null&&z.push(Ot(d,Oe,ce)))),d=d.return}z.length!==0&&o.push({event:s,listeners:z})}var ao=/\r\n?/g,Gi=/\u0000|\uFFFD/g;function Ub(o){return(typeof o=="string"?o:""+o).replace(ao,`
|
|
63
|
+
`).replace(Gi,"")}function ay(o,s){return s=Ub(s),Ub(o)===s}function av(){}function Lt(o,s,d,g,C,A){switch(d){case"children":typeof g=="string"?s==="body"||s==="textarea"&&g===""||Ju(o,g):(typeof g=="number"||typeof g=="bigint")&&s!=="body"&&Ju(o,""+g);break;case"className":zf(o,"class",g);break;case"tabIndex":zf(o,"tabindex",g);break;case"dir":case"role":case"viewBox":case"width":case"height":zf(o,d,g);break;case"style":fd(o,g,A);break;case"data":if(s!=="object"){zf(o,"data",g);break}case"src":case"href":if(g===""&&(s!=="a"||d!=="href")){o.removeAttribute(d);break}if(g==null||typeof g=="function"||typeof g=="symbol"||typeof g=="boolean"){o.removeAttribute(d);break}g=pd(""+g),o.setAttribute(d,g);break;case"action":case"formAction":if(typeof g=="function"){o.setAttribute(d,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof A=="function"&&(d==="formAction"?(s!=="input"&&Lt(o,s,"name",C.name,C,null),Lt(o,s,"formEncType",C.formEncType,C,null),Lt(o,s,"formMethod",C.formMethod,C,null),Lt(o,s,"formTarget",C.formTarget,C,null)):(Lt(o,s,"encType",C.encType,C,null),Lt(o,s,"method",C.method,C,null),Lt(o,s,"target",C.target,C,null)));if(g==null||typeof g=="symbol"||typeof g=="boolean"){o.removeAttribute(d);break}g=pd(""+g),o.setAttribute(d,g);break;case"onClick":g!=null&&(o.onclick=av);break;case"onScroll":g!=null&&Vt("scroll",o);break;case"onScrollEnd":g!=null&&Vt("scrollend",o);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error(l(61));if(d=g.__html,d!=null){if(C.children!=null)throw Error(l(60));o.innerHTML=d}}break;case"multiple":o.multiple=g&&typeof g!="function"&&typeof g!="symbol";break;case"muted":o.muted=g&&typeof g!="function"&&typeof g!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(g==null||typeof g=="function"||typeof g=="boolean"||typeof g=="symbol"){o.removeAttribute("xlink:href");break}d=pd(""+g),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",d);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":g!=null&&typeof g!="function"&&typeof g!="symbol"?o.setAttribute(d,""+g):o.removeAttribute(d);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":g&&typeof g!="function"&&typeof g!="symbol"?o.setAttribute(d,""):o.removeAttribute(d);break;case"capture":case"download":g===!0?o.setAttribute(d,""):g!==!1&&g!=null&&typeof g!="function"&&typeof g!="symbol"?o.setAttribute(d,g):o.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":g!=null&&typeof g!="function"&&typeof g!="symbol"&&!isNaN(g)&&1<=g?o.setAttribute(d,g):o.removeAttribute(d);break;case"rowSpan":case"start":g==null||typeof g=="function"||typeof g=="symbol"||isNaN(g)?o.removeAttribute(d):o.setAttribute(d,g);break;case"popover":Vt("beforetoggle",o),Vt("toggle",o),lu(o,"popover",g);break;case"xlinkActuate":Fo(o,"http://www.w3.org/1999/xlink","xlink:actuate",g);break;case"xlinkArcrole":Fo(o,"http://www.w3.org/1999/xlink","xlink:arcrole",g);break;case"xlinkRole":Fo(o,"http://www.w3.org/1999/xlink","xlink:role",g);break;case"xlinkShow":Fo(o,"http://www.w3.org/1999/xlink","xlink:show",g);break;case"xlinkTitle":Fo(o,"http://www.w3.org/1999/xlink","xlink:title",g);break;case"xlinkType":Fo(o,"http://www.w3.org/1999/xlink","xlink:type",g);break;case"xmlBase":Fo(o,"http://www.w3.org/XML/1998/namespace","xml:base",g);break;case"xmlLang":Fo(o,"http://www.w3.org/XML/1998/namespace","xml:lang",g);break;case"xmlSpace":Fo(o,"http://www.w3.org/XML/1998/namespace","xml:space",g);break;case"is":lu(o,"is",g);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=vb.get(d)||d,lu(o,d,g))}}function Ue(o,s,d,g,C,A){switch(d){case"style":fd(o,g,A);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error(l(61));if(d=g.__html,d!=null){if(C.children!=null)throw Error(l(60));o.innerHTML=d}}break;case"children":typeof g=="string"?Ju(o,g):(typeof g=="number"||typeof g=="bigint")&&Ju(o,""+g);break;case"onScroll":g!=null&&Vt("scroll",o);break;case"onScrollEnd":g!=null&&Vt("scrollend",o);break;case"onClick":g!=null&&(o.onclick=av);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Yl.hasOwnProperty(d))e:{if(d[0]==="o"&&d[1]==="n"&&(C=d.endsWith("Capture"),s=d.slice(2,C?d.length-7:void 0),A=o[Za]||null,A=A!=null?A[d]:null,typeof A=="function"&&o.removeEventListener(s,A,C),typeof g=="function")){typeof A!="function"&&A!==null&&(d in o?o[d]=null:o.hasAttribute(d)&&o.removeAttribute(d)),o.addEventListener(s,g,C);break e}d in o?o[d]=g:g===!0?o.setAttribute(d,""):lu(o,d,g)}}}function Pt(o,s,d){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Vt("error",o),Vt("load",o);var g=!1,C=!1,A;for(A in d)if(d.hasOwnProperty(A)){var z=d[A];if(z!=null)switch(A){case"src":g=!0;break;case"srcSet":C=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,s));default:Lt(o,s,A,z,d,null)}}C&&Lt(o,s,"srcSet",d.srcSet,d,null),g&&Lt(o,s,"src",d.src,d,null);return;case"input":Vt("invalid",o);var J=A=z=C=null,ce=null,Oe=null;for(g in d)if(d.hasOwnProperty(g)){var We=d[g];if(We!=null)switch(g){case"name":C=We;break;case"type":z=We;break;case"checked":ce=We;break;case"defaultChecked":Oe=We;break;case"value":A=We;break;case"defaultValue":J=We;break;case"children":case"dangerouslySetInnerHTML":if(We!=null)throw Error(l(137,s));break;default:Lt(o,s,g,We,d,null)}}Vf(o,A,J,ce,Oe,z,C,!1),Qu(o);return;case"select":Vt("invalid",o),g=z=A=null;for(C in d)if(d.hasOwnProperty(C)&&(J=d[C],J!=null))switch(C){case"value":A=J;break;case"defaultValue":z=J;break;case"multiple":g=J;default:Lt(o,s,C,J,d,null)}s=A,d=z,o.multiple=!!g,s!=null?ac(o,!!g,s,!1):d!=null&&ac(o,!!g,d,!0);return;case"textarea":Vt("invalid",o),A=C=g=null;for(z in d)if(d.hasOwnProperty(z)&&(J=d[z],J!=null))switch(z){case"value":g=J;break;case"defaultValue":C=J;break;case"children":A=J;break;case"dangerouslySetInnerHTML":if(J!=null)throw Error(l(91));break;default:Lt(o,s,z,J,d,null)}Ff(o,g,C,A),Qu(o);return;case"option":for(ce in d)if(d.hasOwnProperty(ce)&&(g=d[ce],g!=null))switch(ce){case"selected":o.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:Lt(o,s,ce,g,d,null)}return;case"dialog":Vt("beforetoggle",o),Vt("toggle",o),Vt("cancel",o),Vt("close",o);break;case"iframe":case"object":Vt("load",o);break;case"video":case"audio":for(g=0;g<Hp.length;g++)Vt(Hp[g],o);break;case"image":Vt("error",o),Vt("load",o);break;case"details":Vt("toggle",o);break;case"embed":case"source":case"link":Vt("error",o),Vt("load",o);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Oe in d)if(d.hasOwnProperty(Oe)&&(g=d[Oe],g!=null))switch(Oe){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,s));default:Lt(o,s,Oe,g,d,null)}return;default:if(oc(s)){for(We in d)d.hasOwnProperty(We)&&(g=d[We],g!==void 0&&Ue(o,s,We,g,d,void 0));return}}for(J in d)d.hasOwnProperty(J)&&(g=d[J],g!=null&&Lt(o,s,J,g,d,null))}function dx(o,s,d,g){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var C=null,A=null,z=null,J=null,ce=null,Oe=null,We=null;for(Ne in d){var Je=d[Ne];if(d.hasOwnProperty(Ne)&&Je!=null)switch(Ne){case"checked":break;case"value":break;case"defaultValue":ce=Je;default:g.hasOwnProperty(Ne)||Lt(o,s,Ne,null,g,Je)}}for(var ke in g){var Ne=g[ke];if(Je=d[ke],g.hasOwnProperty(ke)&&(Ne!=null||Je!=null))switch(ke){case"type":A=Ne;break;case"name":C=Ne;break;case"checked":Oe=Ne;break;case"defaultChecked":We=Ne;break;case"value":z=Ne;break;case"defaultValue":J=Ne;break;case"children":case"dangerouslySetInnerHTML":if(Ne!=null)throw Error(l(137,s));break;default:Ne!==Je&&Lt(o,s,ke,Ne,g,Je)}}Hf(o,z,J,ce,Oe,We,A,C);return;case"select":Ne=z=J=ke=null;for(A in d)if(ce=d[A],d.hasOwnProperty(A)&&ce!=null)switch(A){case"value":break;case"multiple":Ne=ce;default:g.hasOwnProperty(A)||Lt(o,s,A,null,g,ce)}for(C in g)if(A=g[C],ce=d[C],g.hasOwnProperty(C)&&(A!=null||ce!=null))switch(C){case"value":ke=A;break;case"defaultValue":J=A;break;case"multiple":z=A;default:A!==ce&&Lt(o,s,C,A,g,ce)}s=J,d=z,g=Ne,ke!=null?ac(o,!!d,ke,!1):!!g!=!!d&&(s!=null?ac(o,!!d,s,!0):ac(o,!!d,d?[]:"",!1));return;case"textarea":Ne=ke=null;for(J in d)if(C=d[J],d.hasOwnProperty(J)&&C!=null&&!g.hasOwnProperty(J))switch(J){case"value":break;case"children":break;default:Lt(o,s,J,null,g,C)}for(z in g)if(C=g[z],A=d[z],g.hasOwnProperty(z)&&(C!=null||A!=null))switch(z){case"value":ke=C;break;case"defaultValue":Ne=C;break;case"children":break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(l(91));break;default:C!==A&&Lt(o,s,z,C,g,A)}Uh(o,ke,Ne);return;case"option":for(var Ct in d)if(ke=d[Ct],d.hasOwnProperty(Ct)&&ke!=null&&!g.hasOwnProperty(Ct))switch(Ct){case"selected":o.selected=!1;break;default:Lt(o,s,Ct,null,g,ke)}for(ce in g)if(ke=g[ce],Ne=d[ce],g.hasOwnProperty(ce)&&ke!==Ne&&(ke!=null||Ne!=null))switch(ce){case"selected":o.selected=ke&&typeof ke!="function"&&typeof ke!="symbol";break;default:Lt(o,s,ce,ke,g,Ne)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var At in d)ke=d[At],d.hasOwnProperty(At)&&ke!=null&&!g.hasOwnProperty(At)&&Lt(o,s,At,null,g,ke);for(Oe in g)if(ke=g[Oe],Ne=d[Oe],g.hasOwnProperty(Oe)&&ke!==Ne&&(ke!=null||Ne!=null))switch(Oe){case"children":case"dangerouslySetInnerHTML":if(ke!=null)throw Error(l(137,s));break;default:Lt(o,s,Oe,ke,g,Ne)}return;default:if(oc(s)){for(var Tn in d)ke=d[Tn],d.hasOwnProperty(Tn)&&ke!==void 0&&!g.hasOwnProperty(Tn)&&Ue(o,s,Tn,void 0,g,ke);for(We in g)ke=g[We],Ne=d[We],!g.hasOwnProperty(We)||ke===Ne||ke===void 0&&Ne===void 0||Ue(o,s,We,ke,g,Ne);return}}for(var Te in d)ke=d[Te],d.hasOwnProperty(Te)&&ke!=null&&!g.hasOwnProperty(Te)&&Lt(o,s,Te,null,g,ke);for(Je in g)ke=g[Je],Ne=d[Je],!g.hasOwnProperty(Je)||ke===Ne||ke==null&&Ne==null||Lt(o,s,Je,ke,g,Ne)}var lo=null,cf=null;function fl(o){return o.nodeType===9?o:o.ownerDocument}function On(o){switch(o){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Vn(o,s){if(o===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return o===1&&s==="foreignObject"?0:o}function ai(o,s){return o==="textarea"||o==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var df=null;function Ou(){var o=window.event;return o&&o.type==="popstate"?o===df?!1:(df=o,!0):(df=null,!1)}var lv=typeof setTimeout=="function"?setTimeout:void 0,fx=typeof clearTimeout=="function"?clearTimeout:void 0,Ib=typeof Promise=="function"?Promise:void 0,px=typeof queueMicrotask=="function"?queueMicrotask:typeof Ib<"u"?function(o){return Ib.resolve(null).then(o).catch(li)}:lv;function li(o){setTimeout(function(){throw o})}function qo(o){return o==="head"}function ff(o,s){var d=s,g=0,C=0;do{var A=d.nextSibling;if(o.removeChild(d),A&&A.nodeType===8)if(d=A.data,d==="/$"){if(0<g&&8>g){d=g;var z=o.ownerDocument;if(d&1&&Ul(z.documentElement),d&2&&Ul(z.body),d&4)for(d=z.head,Ul(d),z=d.firstChild;z;){var J=z.nextSibling,ce=z.nodeName;z[ht]||ce==="SCRIPT"||ce==="STYLE"||ce==="LINK"&&z.rel.toLowerCase()==="stylesheet"||d.removeChild(z),z=J}}if(C===0){o.removeChild(A),Wi(s);return}C--}else d==="$"||d==="$?"||d==="$!"?C++:g=d.charCodeAt(0)-48;else g=0;d=A}while(d);Wi(s)}function Vp(o){var s=o.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var d=s;switch(s=s.nextSibling,d.nodeName){case"HTML":case"HEAD":case"BODY":Vp(d),Lf(d);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}o.removeChild(d)}}function zc(o,s,d,g){for(;o.nodeType===1;){var C=d;if(o.nodeName.toLowerCase()!==s.toLowerCase()){if(!g&&(o.nodeName!=="INPUT"||o.type!=="hidden"))break}else if(g){if(!o[ht])switch(s){case"meta":if(!o.hasAttribute("itemprop"))break;return o;case"link":if(A=o.getAttribute("rel"),A==="stylesheet"&&o.hasAttribute("data-precedence"))break;if(A!==C.rel||o.getAttribute("href")!==(C.href==null||C.href===""?null:C.href)||o.getAttribute("crossorigin")!==(C.crossOrigin==null?null:C.crossOrigin)||o.getAttribute("title")!==(C.title==null?null:C.title))break;return o;case"style":if(o.hasAttribute("data-precedence"))break;return o;case"script":if(A=o.getAttribute("src"),(A!==(C.src==null?null:C.src)||o.getAttribute("type")!==(C.type==null?null:C.type)||o.getAttribute("crossorigin")!==(C.crossOrigin==null?null:C.crossOrigin))&&A&&o.hasAttribute("async")&&!o.hasAttribute("itemprop"))break;return o;default:return o}}else if(s==="input"&&o.type==="hidden"){var A=C.name==null?null:""+C.name;if(C.type==="hidden"&&o.getAttribute("name")===A)return o}else return o;if(o=oi(o.nextSibling),o===null)break}return null}function ov(o,s,d){if(s==="")return null;for(;o.nodeType!==3;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!d||(o=oi(o.nextSibling),o===null))return null;return o}function Ea(o){return o.data==="$!"||o.data==="$?"&&o.ownerDocument.readyState==="complete"}function pf(o,s){var d=o.ownerDocument;if(o.data!=="$?"||d.readyState==="complete")s();else{var g=function(){s(),d.removeEventListener("DOMContentLoaded",g)};d.addEventListener("DOMContentLoaded",g),o._reactRetry=g}}function oi(o){for(;o!=null;o=o.nextSibling){var s=o.nodeType;if(s===1||s===3)break;if(s===8){if(s=o.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return o}var As=null;function Sa(o){o=o.previousSibling;for(var s=0;o;){if(o.nodeType===8){var d=o.data;if(d==="$"||d==="$!"||d==="$?"){if(s===0)return o;s--}else d==="/$"&&s++}o=o.previousSibling}return null}function dt(o,s,d){switch(s=fl(d),o){case"html":if(o=s.documentElement,!o)throw Error(l(452));return o;case"head":if(o=s.head,!o)throw Error(l(453));return o;case"body":if(o=s.body,!o)throw Error(l(454));return o;default:throw Error(l(451))}}function Ul(o){for(var s=o.attributes;s.length;)o.removeAttributeNode(s[0]);Lf(o)}var yr=new Map,fr=new Set;function jt(o){return typeof o.getRootNode=="function"?o.getRootNode():o.nodeType===9?o:o.ownerDocument}var Yi=W.d;W.d={f:pl,r:Fp,D:Nu,C:Kp,L:ii,m:Ha,X:_s,S:Il,M:ly};function pl(){var o=Yi.f(),s=qc();return o||s}function Fp(o){var s=ec(o);s!==null&&s.tag===5&&s.type==="form"?fs(s):Yi.r(o)}var wa=typeof document>"u"?null:document;function Yt(o,s,d){var g=wa;if(g&&typeof s=="string"&&s){var C=ho(s);C='link[rel="'+o+'"][href="'+C+'"]',typeof d=="string"&&(C+='[crossorigin="'+d+'"]'),fr.has(C)||(fr.add(C),o={rel:o,crossOrigin:d,href:s},g.querySelector(C)===null&&(s=g.createElement("link"),Pt(s,"link",o),Fr(s),g.head.appendChild(s)))}}function Nu(o){Yi.D(o),Yt("dns-prefetch",o,null)}function Kp(o,s){Yi.C(o,s),Yt("preconnect",o,s)}function ii(o,s,d){Yi.L(o,s,d);var g=wa;if(g&&o&&s){var C='link[rel="preload"][as="'+ho(s)+'"]';s==="image"&&d&&d.imageSrcSet?(C+='[imagesrcset="'+ho(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(C+='[imagesizes="'+ho(d.imageSizes)+'"]')):C+='[href="'+ho(o)+'"]';var A=C;switch(s){case"style":A=hf(o);break;case"script":A=ko(o)}yr.has(A)||(o=S({rel:"preload",href:s==="image"&&d&&d.imageSrcSet?void 0:o,as:s},d),yr.set(A,o),g.querySelector(C)!==null||s==="style"&&g.querySelector(mf(A))||s==="script"&&g.querySelector(Uc(A))||(s=g.createElement("link"),Pt(s,"link",o),Fr(s),g.head.appendChild(s)))}}function Ha(o,s){Yi.m(o,s);var d=wa;if(d&&o){var g=s&&typeof s.as=="string"?s.as:"script",C='link[rel="modulepreload"][as="'+ho(g)+'"][href="'+ho(o)+'"]',A=C;switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":A=ko(o)}if(!yr.has(A)&&(o=S({rel:"modulepreload",href:o},s),yr.set(A,o),d.querySelector(C)===null)){switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(Uc(A)))return}g=d.createElement("link"),Pt(g,"link",o),Fr(g),d.head.appendChild(g)}}}function Il(o,s,d){Yi.S(o,s,d);var g=wa;if(g&&o){var C=au(g).hoistableStyles,A=hf(o);s=s||"default";var z=C.get(A);if(!z){var J={loading:0,preload:null};if(z=g.querySelector(mf(A)))J.loading=5;else{o=S({rel:"stylesheet",href:o,"data-precedence":s},d),(d=yr.get(A))&&gf(o,d);var ce=z=g.createElement("link");Fr(ce),Pt(ce,"link",o),ce._p=new Promise(function(Oe,We){ce.onload=Oe,ce.onerror=We}),ce.addEventListener("load",function(){J.loading|=1}),ce.addEventListener("error",function(){J.loading|=2}),J.loading|=4,iv(z,s,g)}z={type:"stylesheet",instance:z,count:1,state:J},C.set(A,z)}}}function _s(o,s){Yi.X(o,s);var d=wa;if(d&&o){var g=au(d).hoistableScripts,C=ko(o),A=g.get(C);A||(A=d.querySelector(Uc(C)),A||(o=S({src:o,async:!0},s),(s=yr.get(C))&&uv(o,s),A=d.createElement("script"),Fr(A),Pt(A,"link",o),d.head.appendChild(A)),A={type:"script",instance:A,count:1,state:null},g.set(C,A))}}function ly(o,s){Yi.M(o,s);var d=wa;if(d&&o){var g=au(d).hoistableScripts,C=ko(o),A=g.get(C);A||(A=d.querySelector(Uc(C)),A||(o=S({src:o,async:!0,type:"module"},s),(s=yr.get(C))&&uv(o,s),A=d.createElement("script"),Fr(A),Pt(A,"link",o),d.head.appendChild(A)),A={type:"script",instance:A,count:1,state:null},g.set(C,A))}}function Hb(o,s,d,g){var C=(C=Pe.current)?jt(C):null;if(!C)throw Error(l(446));switch(o){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(s=hf(d.href),d=au(C).hoistableStyles,g=d.get(s),g||(g={type:"style",instance:null,count:0,state:null},d.set(s,g)),g):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){o=hf(d.href);var A=au(C).hoistableStyles,z=A.get(o);if(z||(C=C.ownerDocument||C,z={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},A.set(o,z),(A=C.querySelector(mf(o)))&&!A._p&&(z.instance=A,z.state.loading=5),yr.has(o)||(d={rel:"preload",as:"style",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy},yr.set(o,d),A||Vb(C,o,d,z.state))),s&&g===null)throw Error(l(528,""));return z}if(s&&g!==null)throw Error(l(529,""));return null;case"script":return s=d.async,d=d.src,typeof d=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=ko(d),d=au(C).hoistableScripts,g=d.get(s),g||(g={type:"script",instance:null,count:0,state:null},d.set(s,g)),g):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,o))}}function hf(o){return'href="'+ho(o)+'"'}function mf(o){return'link[rel="stylesheet"]['+o+"]"}function vf(o){return S({},o,{"data-precedence":o.precedence,precedence:null})}function Vb(o,s,d,g){o.querySelector('link[rel="preload"][as="style"]['+s+"]")?g.loading=1:(s=o.createElement("link"),g.preload=s,s.addEventListener("load",function(){return g.loading|=1}),s.addEventListener("error",function(){return g.loading|=2}),Pt(s,"link",d),Fr(s),o.head.appendChild(s))}function ko(o){return'[src="'+ho(o)+'"]'}function Uc(o){return"script[async]"+o}function Fb(o,s,d){if(s.count++,s.instance===null)switch(s.type){case"style":var g=o.querySelector('style[data-href~="'+ho(d.href)+'"]');if(g)return s.instance=g,Fr(g),g;var C=S({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return g=(o.ownerDocument||o).createElement("style"),Fr(g),Pt(g,"style",C),iv(g,d.precedence,o),s.instance=g;case"stylesheet":C=hf(d.href);var A=o.querySelector(mf(C));if(A)return s.state.loading|=4,s.instance=A,Fr(A),A;g=vf(d),(C=yr.get(C))&&gf(g,C),A=(o.ownerDocument||o).createElement("link"),Fr(A);var z=A;return z._p=new Promise(function(J,ce){z.onload=J,z.onerror=ce}),Pt(A,"link",g),s.state.loading|=4,iv(A,d.precedence,o),s.instance=A;case"script":return A=ko(d.src),(C=o.querySelector(Uc(A)))?(s.instance=C,Fr(C),C):(g=d,(C=yr.get(A))&&(g=S({},d),uv(g,C)),o=o.ownerDocument||o,C=o.createElement("script"),Fr(C),Pt(C,"link",g),o.head.appendChild(C),s.instance=C);case"void":return null;default:throw Error(l(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(g=s.instance,s.state.loading|=4,iv(g,d.precedence,o));return s.instance}function iv(o,s,d){for(var g=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),C=g.length?g[g.length-1]:null,A=C,z=0;z<g.length;z++){var J=g[z];if(J.dataset.precedence===s)A=J;else if(A!==C)break}A?A.parentNode.insertBefore(o,A.nextSibling):(s=d.nodeType===9?d.head:d,s.insertBefore(o,s.firstChild))}function gf(o,s){o.crossOrigin==null&&(o.crossOrigin=s.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=s.referrerPolicy),o.title==null&&(o.title=s.title)}function uv(o,s){o.crossOrigin==null&&(o.crossOrigin=s.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=s.referrerPolicy),o.integrity==null&&(o.integrity=s.integrity)}var Xi=null;function oy(o,s,d){if(Xi===null){var g=new Map,C=Xi=new Map;C.set(d,g)}else C=Xi,g=C.get(d),g||(g=new Map,C.set(d,g));if(g.has(o))return g;for(g.set(o,null),d=d.getElementsByTagName(o),C=0;C<d.length;C++){var A=d[C];if(!(A[ht]||A[kr]||o==="link"&&A.getAttribute("rel")==="stylesheet")&&A.namespaceURI!=="http://www.w3.org/2000/svg"){var z=A.getAttribute(s)||"";z=o+z;var J=g.get(z);J?J.push(A):g.set(z,[A])}}return g}function iy(o,s,d){o=o.ownerDocument||o,o.head.insertBefore(d,s==="title"?o.querySelector("head > title"):null)}function Kb(o,s,d){if(d===1||s.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return o=s.disabled,typeof s.precedence=="string"&&o==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Ur(o){return!(o.type==="stylesheet"&&(o.state.loading&3)===0)}var Wr=null;function Gb(){}function Yb(o,s,d){if(Wr===null)throw Error(l(475));var g=Wr;if(s.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var C=hf(d.href),A=o.querySelector(mf(C));if(A){o=A._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(g.count++,g=yf.bind(g),o.then(g,g)),s.state.loading|=4,s.instance=A,Fr(A);return}A=o.ownerDocument||o,d=vf(d),(C=yr.get(C))&&gf(d,C),A=A.createElement("link"),Fr(A);var z=A;z._p=new Promise(function(J,ce){z.onload=J,z.onerror=ce}),Pt(A,"link",d),s.instance=A}g.stylesheets===null&&(g.stylesheets=new Map),g.stylesheets.set(s,o),(o=s.state.preload)&&(s.state.loading&3)===0&&(g.count++,s=yf.bind(g),o.addEventListener("load",s),o.addEventListener("error",s))}}function uy(){if(Wr===null)throw Error(l(475));var o=Wr;return o.stylesheets&&o.count===0&&Gp(o,o.stylesheets),0<o.count?function(s){var d=setTimeout(function(){if(o.stylesheets&&Gp(o,o.stylesheets),o.unsuspend){var g=o.unsuspend;o.unsuspend=null,g()}},6e4);return o.unsuspend=s,function(){o.unsuspend=null,clearTimeout(d)}}:null}function yf(){if(this.count--,this.count===0){if(this.stylesheets)Gp(this,this.stylesheets);else if(this.unsuspend){var o=this.unsuspend;this.unsuspend=null,o()}}}var bf=null;function Gp(o,s){o.stylesheets=null,o.unsuspend!==null&&(o.count++,bf=new Map,s.forEach(oo,o),bf=null,yf.call(o))}function oo(o,s){if(!(s.state.loading&4)){var d=bf.get(o);if(d)var g=d.get(null);else{d=new Map,bf.set(o,d);for(var C=o.querySelectorAll("link[data-precedence],style[data-precedence]"),A=0;A<C.length;A++){var z=C[A];(z.nodeName==="LINK"||z.getAttribute("media")!=="not all")&&(d.set(z.dataset.precedence,z),g=z)}g&&d.set(null,g)}C=s.instance,z=C.getAttribute("data-precedence"),A=d.get(z)||g,A===g&&d.set(null,C),d.set(z,C),this.count++,g=yf.bind(this),C.addEventListener("load",g),C.addEventListener("error",g),A?A.parentNode.insertBefore(C,A.nextSibling):(o=o.nodeType===9?o.head:o,o.insertBefore(C,o.firstChild)),s.state.loading|=4}}var hl={$$typeof:I,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function hx(o,s,d,g,C,A,z,J){this.tag=1,this.containerInfo=o,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Vo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vo(0),this.hiddenUpdates=Vo(null),this.identifierPrefix=g,this.onUncaughtError=C,this.onCaughtError=A,this.onRecoverableError=z,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=J,this.incompleteTransitions=new Map}function sy(o,s,d,g,C,A,z,J,ce,Oe,We,Je){return o=new hx(o,s,d,z,J,ce,Oe,Je),s=1,A===!0&&(s|=24),A=al(3,null,null,s),o.current=A,A.stateNode=o,s=$d(),s.refCount++,o.pooledCache=s,s.refCount++,A.memoizedState={element:g,isDehydrated:d,cache:s},us(A),o}function cy(o){return o?(o=hc,o):hc}function sv(o,s,d,g,C,A){C=cy(C),g.context===null?g.context=C:g.pendingContext=C,g=Ml(s),g.payload={element:d},A=A===void 0?null:A,A!==null&&(g.callback=A),d=Xo(o,g,s),d!==null&&(ro(d,o,s),bc(d,o,s))}function cv(o,s){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var d=o.retryLane;o.retryLane=d!==0&&d<s?d:s}}function dv(o,s){cv(o,s),(o=o.alternate)&&cv(o,s)}function dy(o){if(o.tag===13){var s=Ko(o,67108864);s!==null&&ro(s,o,67108864),dv(o,67108864)}}var Yp=!0;function Xb(o,s,d,g){var C=L.T;L.T=null;var A=W.p;try{W.p=2,fy(o,s,d,g)}finally{W.p=A,L.T=C}}function Ic(o,s,d,g){var C=L.T;L.T=null;var A=W.p;try{W.p=8,fy(o,s,d,g)}finally{W.p=A,L.T=C}}function fy(o,s,d,g){if(Yp){var C=fv(g);if(C===null)aa(o,s,g,pv,d),Vc(o,g);else if(Qb(C,o,s,d,g))g.stopPropagation();else if(Vc(o,g),s&4&&-1<Wb.indexOf(o)){for(;C!==null;){var A=ec(C);if(A!==null)switch(A.tag){case 3:if(A=A.stateNode,A.current.memoizedState.isDehydrated){var z=Vr(A.pendingLanes);if(z!==0){var J=A;for(J.pendingLanes|=2,J.entangledLanes|=2;z;){var ce=1<<31-An(z);J.entanglements[1]|=ce,z&=~ce}zl(A),(Mn&6)===0&&(tf=an()+500,Bp(0))}}break;case 13:J=Ko(A,2),J!==null&&ro(J,A,2),qc(),dv(A,2)}if(A=fv(g),A===null&&aa(o,s,g,pv,d),A===C)break;C=A}C!==null&&g.stopPropagation()}else aa(o,s,g,null,d)}}function fv(o){return o=Ih(o),py(o)}var pv=null;function py(o){if(pv=null,o=fa(o),o!==null){var s=c(o);if(s===null)o=null;else{var d=s.tag;if(d===13){if(o=h(s),o!==null)return o;o=null}else if(d===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;o=null}else s!==o&&(o=null)}}return pv=o,null}function hy(o){switch(o){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(nu()){case Ws:return 2;case ve:return 8;case De:case Fe:return 32;case it:return 268435456;default:return 32}default:return 32}}var Hc=!1,ui=null,$u=null,Pu=null,Xp=new Map,Wp=new Map,Ds=[],Wb="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Vc(o,s){switch(o){case"focusin":case"focusout":ui=null;break;case"dragenter":case"dragleave":$u=null;break;case"mouseover":case"mouseout":Pu=null;break;case"pointerover":case"pointerout":Xp.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wp.delete(s.pointerId)}}function Fc(o,s,d,g,C,A){return o===null||o.nativeEvent!==A?(o={blockedOn:s,domEventName:d,eventSystemFlags:g,nativeEvent:A,targetContainers:[C]},s!==null&&(s=ec(s),s!==null&&dy(s)),o):(o.eventSystemFlags|=g,s=o.targetContainers,C!==null&&s.indexOf(C)===-1&&s.push(C),o)}function Qb(o,s,d,g,C){switch(s){case"focusin":return ui=Fc(ui,o,s,d,g,C),!0;case"dragenter":return $u=Fc($u,o,s,d,g,C),!0;case"mouseover":return Pu=Fc(Pu,o,s,d,g,C),!0;case"pointerover":var A=C.pointerId;return Xp.set(A,Fc(Xp.get(A)||null,o,s,d,g,C)),!0;case"gotpointercapture":return A=C.pointerId,Wp.set(A,Fc(Wp.get(A)||null,o,s,d,g,C)),!0}return!1}function my(o){var s=fa(o.target);if(s!==null){var d=c(s);if(d!==null){if(s=d.tag,s===13){if(s=h(d),s!==null){o.blockedOn=s,eg(o.priority,function(){if(d.tag===13){var g=Ua();g=Gl(g);var C=Ko(d,g);C!==null&&ro(C,d,g),dv(d,g)}});return}}else if(s===3&&d.stateNode.current.memoizedState.isDehydrated){o.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}o.blockedOn=null}function Qp(o){if(o.blockedOn!==null)return!1;for(var s=o.targetContainers;0<s.length;){var d=fv(o.nativeEvent);if(d===null){d=o.nativeEvent;var g=new d.constructor(d.type,d);es=g,d.target.dispatchEvent(g),es=null}else return s=ec(d),s!==null&&dy(s),o.blockedOn=d,!1;s.shift()}return!0}function Zp(o,s,d){Qp(o)&&d.delete(s)}function xf(){Hc=!1,ui!==null&&Qp(ui)&&(ui=null),$u!==null&&Qp($u)&&($u=null),Pu!==null&&Qp(Pu)&&(Pu=null),Xp.forEach(Zp),Wp.forEach(Zp)}function hv(o,s){o.blockedOn===s&&(o.blockedOn=null,Hc||(Hc=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,xf)))}var Kc=null;function vy(o){Kc!==o&&(Kc=o,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Kc===o&&(Kc=null);for(var s=0;s<o.length;s+=3){var d=o[s],g=o[s+1],C=o[s+2];if(typeof g!="function"){if(py(g||d)===null)continue;break}var A=ec(d);A!==null&&(o.splice(s,3),s-=3,Hd(A,{pending:!0,data:C,method:d.method,action:g},g,C))}}))}function Wi(o){function s(ce){return hv(ce,o)}ui!==null&&hv(ui,o),$u!==null&&hv($u,o),Pu!==null&&hv(Pu,o),Xp.forEach(s),Wp.forEach(s);for(var d=0;d<Ds.length;d++){var g=Ds[d];g.blockedOn===o&&(g.blockedOn=null)}for(;0<Ds.length&&(d=Ds[0],d.blockedOn===null);)my(d),d.blockedOn===null&&Ds.shift();if(d=(o.ownerDocument||o).$$reactFormReplay,d!=null)for(g=0;g<d.length;g+=3){var C=d[g],A=d[g+1],z=C[Za]||null;if(typeof A=="function")z||vy(d);else if(z){var J=null;if(A&&A.hasAttribute("formAction")){if(C=A,z=A[Za]||null)J=z.formAction;else if(py(C)!==null)continue}else J=z.action;typeof J=="function"?d[g+1]=J:(d.splice(g,3),g-=3),vy(d)}}}function gy(o){this._internalRoot=o}mv.prototype.render=gy.prototype.render=function(o){var s=this._internalRoot;if(s===null)throw Error(l(409));var d=s.current,g=Ua();sv(d,g,o,s,null,null)},mv.prototype.unmount=gy.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var s=o.containerInfo;sv(o.current,2,null,o,null,null),qc(),s[Gu]=null}};function mv(o){this._internalRoot=o}mv.prototype.unstable_scheduleHydration=function(o){if(o){var s=qh();o={blockedOn:null,target:o,priority:s};for(var d=0;d<Ds.length&&s!==0&&s<Ds[d].priority;d++);Ds.splice(d,0,o),d===0&&my(o)}};var yy=t.version;if(yy!=="19.1.0")throw Error(l(527,yy,"19.1.0"));W.findDOMNode=function(o){var s=o._reactInternals;if(s===void 0)throw typeof o.render=="function"?Error(l(188)):(o=Object.keys(o).join(","),Error(l(268,o)));return o=y(s),o=o!==null?x(o):null,o=o===null?null:o.stateNode,o};var ml={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Jp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jp.isDisabled&&Jp.supportsFiber)try{mt=Jp.inject(ml),Mt=Jp}catch{}}return e1.createRoot=function(o,s){if(!i(o))throw Error(l(299));var d=!1,g="",C=Ac,A=Tp,z=Ap,J=null;return s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onUncaughtError!==void 0&&(C=s.onUncaughtError),s.onCaughtError!==void 0&&(A=s.onCaughtError),s.onRecoverableError!==void 0&&(z=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(J=s.unstable_transitionCallbacks)),s=sy(o,1,!1,null,null,d,g,C,A,z,J,null),o[Gu]=s.current,ry(o),new gy(s)},e1.hydrateRoot=function(o,s,d){if(!i(o))throw Error(l(299));var g=!1,C="",A=Ac,z=Tp,J=Ap,ce=null,Oe=null;return d!=null&&(d.unstable_strictMode===!0&&(g=!0),d.identifierPrefix!==void 0&&(C=d.identifierPrefix),d.onUncaughtError!==void 0&&(A=d.onUncaughtError),d.onCaughtError!==void 0&&(z=d.onCaughtError),d.onRecoverableError!==void 0&&(J=d.onRecoverableError),d.unstable_transitionCallbacks!==void 0&&(ce=d.unstable_transitionCallbacks),d.formState!==void 0&&(Oe=d.formState)),s=sy(o,1,!0,s,d??null,g,C,A,z,J,ce,Oe),s.context=cy(null),d=s.current,g=Ua(),g=Gl(g),C=Ml(g),C.callback=null,Xo(d,C,g),d=g,s.current.lanes=d,gi(s,d),zl(s),o[Gu]=s.current,ry(o),new mv(s)},e1.version="19.1.0",e1}var t1={};var s4;function EK(){return s4||(s4=1,process.env.NODE_ENV!=="production"&&(function(){function e(n,a){for(n=n.memoizedState;n!==null&&0<a;)n=n.next,a--;return n}function t(n,a,u,p){if(u>=a.length)return p;var b=a[u],E=Lt(n)?n.slice():Gt({},n);return E[b]=t(n[b],a,u+1,p),E}function r(n,a,u){if(a.length!==u.length)console.warn("copyWithRename() expects paths of the same length");else{for(var p=0;p<u.length-1;p++)if(a[p]!==u[p]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return l(n,a,u,0)}}function l(n,a,u,p){var b=a[p],E=Lt(n)?n.slice():Gt({},n);return p+1===a.length?(E[u[p]]=E[b],Lt(E)?E.splice(b,1):delete E[b]):E[b]=l(n[b],a,u,p+1),E}function i(n,a,u){var p=a[u],b=Lt(n)?n.slice():Gt({},n);return u+1===a.length?(Lt(b)?b.splice(p,1):delete b[p],b):(b[p]=i(n[p],a,u+1),b)}function c(){return!1}function h(){return null}function m(){}function y(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function x(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function S(){}function w(n){var a=[];return n.forEach(function(u){a.push(u)}),a.sort().join(", ")}function R(n,a,u,p){return new Ed(n,a,u,p)}function D(n,a){n.context===vv&&(Ln(n.current,2,a,n,null,null),Cu())}function $(n,a){if(Ns!==null){var u=a.staleFamilies;a=a.updatedFamilies,gs(),Xf(n.current,a,u),Cu()}}function O(n){Ns=n}function q(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function N(n){var a=n,u=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(u=a.return),n=a.return;while(n)}return a.tag===3?u:null}function U(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function I(n){if(N(n)!==n)throw Error("Unable to find node on an unmounted component.")}function G(n){var a=n.alternate;if(!a){if(a=N(n),a===null)throw Error("Unable to find node on an unmounted component.");return a!==n?null:n}for(var u=n,p=a;;){var b=u.return;if(b===null)break;var E=b.alternate;if(E===null){if(p=b.return,p!==null){u=p;continue}break}if(b.child===E.child){for(E=b.child;E;){if(E===u)return I(b),n;if(E===p)return I(b),a;E=E.sibling}throw Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=b,p=E;else{for(var P=!1,B=b.child;B;){if(B===u){P=!0,u=b,p=E;break}if(B===p){P=!0,p=b,u=E;break}B=B.sibling}if(!P){for(B=E.child;B;){if(B===u){P=!0,u=E,p=b;break}if(B===p){P=!0,p=E,u=b;break}B=B.sibling}if(!P)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==p)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==3)throw Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?n:a}function F(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=F(n),a!==null)return a;n=n.sibling}return null}function H(n){return n===null||typeof n!="object"?null:(n=ay&&n[ay]||n["@@iterator"],typeof n=="function"?n:null)}function V(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===av?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Vt:return"Fragment";case Ia:return"Profiler";case uf:return"StrictMode";case sf:return"Suspense";case $r:return"SuspenseList";case Gi:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case Bc:return"Portal";case aa:return(n.displayName||"Context")+".Provider";case rv:return(n._context.displayName||"Context")+".Consumer";case Ot:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ar:return a=n.displayName||null,a!==null?a:V(n.type)||"Memo";case ao:a=n._payload,n=n._init;try{return V(n(a))}catch{}}return null}function X(n){return typeof n.tag=="number"?le(n):typeof n.name=="string"?n.name:null}function le(n){var a=n.type;switch(n.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return(a.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=a.render,n=n.displayName||n.name||"",a.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(a);case 8:return a===uf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=n._debugInfo,a!=null){for(var u=a.length-1;0<=u;u--)if(typeof a[u].name=="string")return a[u].name}if(n.return!==null)return le(n.return)}return null}function xe(n){return{current:n}}function Q(n,a){0>fl?console.error("Unexpected pop."):(a!==cf[fl]&&console.error("Unexpected Fiber popped."),n.current=lo[fl],lo[fl]=null,cf[fl]=null,fl--)}function ue(n,a,u){fl++,lo[fl]=n.current,cf[fl]=u,n.current=a}function se(n){return n===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),n}function ae(n,a){ue(ai,a,n),ue(Vn,n,n),ue(On,null,n);var u=a.nodeType;switch(u){case 9:case 11:u=u===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?Nn(a):sh;break;default:if(u=a.tagName,a=a.namespaceURI)a=Nn(a),a=jl(a,u);else switch(u){case"svg":a=S0;break;case"math":a=EC;break;default:a=sh}}u=u.toLowerCase(),u=Uh(null,u),u={context:a,ancestorInfo:u},Q(On,n),ue(On,u,n)}function ge(n){Q(On,n),Q(Vn,n),Q(ai,n)}function L(){return se(On.current)}function W(n){n.memoizedState!==null&&ue(df,n,n);var a=se(On.current),u=n.type,p=jl(a.context,u);u=Uh(a.ancestorInfo,u),p={context:p,ancestorInfo:u},a!==p&&(ue(Vn,n,n),ue(On,p,n))}function ee(n){Vn.current===n&&(Q(On,n),Q(Vn,n)),df.current===n&&(Q(df,n),Gx._currentValue=Ly)}function me(n){return typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object"}function Y(n){try{return be(n),!1}catch{return!0}}function be(n){return""+n}function ie(n,a){if(Y(n))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",a,me(n)),be(n)}function fe(n,a){if(Y(n))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",a,me(n)),be(n)}function _e(n){if(Y(n))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",me(n)),be(n)}function $e(n){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{As=a.inject(n),Sa=a}catch(u){console.error("React instrumentation encountered an error: %s.",u)}return!!a.checkDCE}function Pe(n){if(typeof pf=="function"&&oi(n),Sa&&typeof Sa.setStrictMode=="function")try{Sa.setStrictMode(As,n)}catch(a){Ul||(Ul=!0,console.error("React instrumentation encountered an error: %s",a))}}function Re(n){dt=n}function Ye(){dt!==null&&typeof dt.markCommitStopped=="function"&&dt.markCommitStopped()}function oe(n){dt!==null&&typeof dt.markComponentRenderStarted=="function"&&dt.markComponentRenderStarted(n)}function je(){dt!==null&&typeof dt.markComponentRenderStopped=="function"&&dt.markComponentRenderStopped()}function Le(n){dt!==null&&typeof dt.markRenderStarted=="function"&&dt.markRenderStarted(n)}function we(){dt!==null&&typeof dt.markRenderStopped=="function"&&dt.markRenderStopped()}function lt(n,a){dt!==null&&typeof dt.markStateUpdateScheduled=="function"&&dt.markStateUpdateScheduled(n,a)}function St(n){return n>>>=0,n===0?32:31-(jt(n)/Yi|0)|0}function pn(n){if(n&1)return"SyncHydrationLane";if(n&2)return"Sync";if(n&4)return"InputContinuousHydration";if(n&8)return"InputContinuous";if(n&16)return"DefaultHydration";if(n&32)return"Default";if(n&128)return"TransitionHydration";if(n&4194048)return"Transition";if(n&62914560)return"Retry";if(n&67108864)return"SelectiveHydration";if(n&134217728)return"IdleHydration";if(n&268435456)return"Idle";if(n&536870912)return"Offscreen";if(n&1073741824)return"Deferred"}function Pn(n){var a=n&42;if(a!==0)return a;switch(n&-n){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 n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),n}}function an(n,a,u){var p=n.pendingLanes;if(p===0)return 0;var b=0,E=n.suspendedLanes,P=n.pingedLanes;n=n.warmLanes;var B=p&134217727;return B!==0?(p=B&~E,p!==0?b=Pn(p):(P&=B,P!==0?b=Pn(P):u||(u=B&~n,u!==0&&(b=Pn(u))))):(B=p&~E,B!==0?b=Pn(B):P!==0?b=Pn(P):u||(u=p&~n,u!==0&&(b=Pn(u)))),b===0?0:a!==0&&a!==b&&(a&E)===0&&(E=b&-b,u=a&-a,E>=u||E===32&&(u&4194048)!==0)?a:b}function nu(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Ws(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function ve(){var n=pl;return pl<<=1,(pl&4194048)===0&&(pl=256),n}function De(){var n=Fp;return Fp<<=1,(Fp&62914560)===0&&(Fp=4194304),n}function Fe(n){for(var a=[],u=0;31>u;u++)a.push(n);return a}function it(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function ot(n,a,u,p,b,E){var P=n.pendingLanes;n.pendingLanes=u,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=u,n.entangledLanes&=u,n.errorRecoveryDisabledLanes&=u,n.shellSuspendCounter=0;var B=n.entanglements,te=n.expirationTimes,re=n.hiddenUpdates;for(u=P&~u;0<u;){var Be=31-fr(u),He=1<<Be;B[Be]=0,te[Be]=-1;var qe=re[Be];if(qe!==null)for(re[Be]=null,Be=0;Be<qe.length;Be++){var Ge=qe[Be];Ge!==null&&(Ge.lane&=-536870913)}u&=~He}p!==0&&rt(n,p,0),E!==0&&b===0&&n.tag!==0&&(n.suspendedLanes|=E&~(P&~a))}function rt(n,a,u){n.pendingLanes|=a,n.suspendedLanes&=~a;var p=31-fr(a);n.entangledLanes|=a,n.entanglements[p]=n.entanglements[p]|1073741824|u&4194090}function mt(n,a){var u=n.entangledLanes|=a;for(n=n.entanglements;u;){var p=31-fr(u),b=1<<p;b&a|n[p]&a&&(n[p]|=a),u&=~b}}function Mt(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Bt(n,a,u){if(yr)for(n=n.pendingUpdatersLaneMap;0<u;){var p=31-fr(u),b=1<<p;n[p].add(a),u&=~b}}function An(n,a){if(yr)for(var u=n.pendingUpdatersLaneMap,p=n.memoizedUpdaters;0<a;){var b=31-fr(a);n=1<<b,b=u[b],0<b.size&&(b.forEach(function(E){var P=E.alternate;P!==null&&p.has(P)||p.add(E)}),b.clear()),a&=~n}}function po(n){return n&=-n,wa<n?Yt<n?(n&134217727)!==0?Nu:Kp:Yt:wa}function Wa(){var n=Pt.p;return n!==0?n:(n=window.event,n===void 0?Nu:jp(n.type))}function Qs(n,a){var u=Pt.p;try{return Pt.p=n,a()}finally{Pt.p=u}}function wl(n){delete n[Ha],delete n[Il],delete n[ly],delete n[Hb],delete n[hf]}function da(n){var a=n[Ha];if(a)return a;for(var u=n.parentNode;u;){if(a=u[_s]||u[Ha]){if(u=a.alternate,a.child!==null||u!==null&&u.child!==null)for(n=Pc(n);n!==null;){if(u=n[Ha])return u;n=Pc(n)}return a}n=u,u=n.parentNode}return null}function Vr(n){if(n=n[Ha]||n[_s]){var a=n.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return n}return null}function Qa(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ma(n){var a=n[mf];return a||(a=n[mf]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function gr(n){n[vf]=!0}function vi(n,a){ru(n,a),ru(n+"Capture",a)}function ru(n,a){ko[n]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",n),ko[n]=a;var u=n.toLowerCase();for(Uc[u]=n,n==="onDoubleClick"&&(Uc.ondblclick=n),n=0;n<a.length;n++)Vb.add(a[n])}function Vo(n,a){Fb[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||console.error(n==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function gi(n){return Ou.call(uv,n)?!0:Ou.call(gf,n)?!1:iv.test(n)?uv[n]=!0:(gf[n]=!0,console.error("Invalid attribute name: `%s`",n),!1)}function Ph(n,a,u){if(gi(a)){if(!n.hasAttribute(a)){switch(typeof u){case"symbol":case"object":return u;case"function":return u;case"boolean":if(u===!1)return u}return u===void 0?void 0:null}return n=n.getAttribute(a),n===""&&u===!0?!0:(ie(u,a),n===""+u?u:n)}}function Zs(n,a,u){if(gi(a))if(u===null)n.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var p=a.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){n.removeAttribute(a);return}}ie(u,a),n.setAttribute(a,""+u)}}function Js(n,a,u){if(u===null)n.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}ie(u,a),n.setAttribute(a,""+u)}}function Gl(n,a,u,p){if(p===null)n.removeAttribute(u);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(u);return}ie(p,u),n.setAttributeNS(a,u,""+p)}}function at(){}function qh(){if(Xi===0){oy=console.log,iy=console.info,Kb=console.warn,Ur=console.error,Wr=console.group,Gb=console.groupCollapsed,Yb=console.groupEnd;var n={configurable:!0,enumerable:!0,value:at,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Xi++}function eg(){if(Xi--,Xi===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Gt({},n,{value:oy}),info:Gt({},n,{value:iy}),warn:Gt({},n,{value:Kb}),error:Gt({},n,{value:Ur}),group:Gt({},n,{value:Wr}),groupCollapsed:Gt({},n,{value:Gb}),groupEnd:Gt({},n,{value:Yb})})}0>Xi&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ur(n){if(uy===void 0)try{throw Error()}catch(u){var a=u.stack.trim().match(/\n( *(at )?)/);uy=a&&a[1]||"",yf=-1<u.stack.indexOf(`
|
|
64
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
65
|
+
`+uy+n+yf}function kr(n,a){if(!n||bf)return"";var u=Gp.get(n);if(u!==void 0)return u;bf=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var p=null;p=Ue.H,Ue.H=null,qh();try{var b={DetermineComponentFrameRoot:function(){try{if(a){var qe=function(){throw Error()};if(Object.defineProperty(qe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(qe,[])}catch(gt){var Ge=gt}Reflect.construct(n,[],qe)}else{try{qe.call()}catch(gt){Ge=gt}n.call(qe.prototype)}}else{try{throw Error()}catch(gt){Ge=gt}(qe=n())&&typeof qe.catch=="function"&&qe.catch(function(){})}}catch(gt){if(gt&&Ge&&typeof gt.stack=="string")return[gt.stack,Ge.stack]}return[null,null]}};b.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var E=Object.getOwnPropertyDescriptor(b.DetermineComponentFrameRoot,"name");E&&E.configurable&&Object.defineProperty(b.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var P=b.DetermineComponentFrameRoot(),B=P[0],te=P[1];if(B&&te){var re=B.split(`
|
|
66
|
+
`),Be=te.split(`
|
|
67
|
+
`);for(P=E=0;E<re.length&&!re[E].includes("DetermineComponentFrameRoot");)E++;for(;P<Be.length&&!Be[P].includes("DetermineComponentFrameRoot");)P++;if(E===re.length||P===Be.length)for(E=re.length-1,P=Be.length-1;1<=E&&0<=P&&re[E]!==Be[P];)P--;for(;1<=E&&0<=P;E--,P--)if(re[E]!==Be[P]){if(E!==1||P!==1)do if(E--,P--,0>P||re[E]!==Be[P]){var He=`
|
|
68
|
+
`+re[E].replace(" at new "," at ");return n.displayName&&He.includes("<anonymous>")&&(He=He.replace("<anonymous>",n.displayName)),typeof n=="function"&&Gp.set(n,He),He}while(1<=E&&0<=P);break}}}finally{bf=!1,Ue.H=p,eg(),Error.prepareStackTrace=u}return re=(re=n?n.displayName||n.name:"")?ur(re):"",typeof n=="function"&&Gp.set(n,re),re}function Za(n){var a=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,n=n.stack,Error.prepareStackTrace=a,n.startsWith(`Error: react-stack-top-frame
|
|
69
|
+
`)&&(n=n.slice(29)),a=n.indexOf(`
|
|
70
|
+
`),a!==-1&&(n=n.slice(a+1)),a=n.indexOf("react-stack-bottom-frame"),a!==-1&&(a=n.lastIndexOf(`
|
|
71
|
+
`,a)),a!==-1)n=n.slice(0,a);else return"";return n}function Gu(n){switch(n.tag){case 26:case 27:case 5:return ur(n.type);case 16:return ur("Lazy");case 13:return ur("Suspense");case 19:return ur("SuspenseList");case 0:case 15:return kr(n.type,!1);case 11:return kr(n.type.render,!1);case 1:return kr(n.type,!0);case 31:return ur("Activity");default:return""}}function kh(n){try{var a="";do{a+=Gu(n);var u=n._debugInfo;if(u)for(var p=u.length-1;0<=p;p--){var b=u[p];if(typeof b.name=="string"){var E=a,P=b.env,B=ur(b.name+(P?" ["+P+"]":""));a=E+B}}n=n.return}while(n);return a}catch(te){return`
|
|
72
|
+
Error generating stack: `+te.message+`
|
|
73
|
+
`+te.stack}}function fb(n){return(n=n?n.displayName||n.name:"")?ur(n):""}function Lh(){if(oo===null)return null;var n=oo._debugOwner;return n!=null?X(n):null}function pb(){if(oo===null)return"";var n=oo;try{var a="";switch(n.tag===6&&(n=n.return),n.tag){case 26:case 27:case 5:a+=ur(n.type);break;case 13:a+=ur("Suspense");break;case 19:a+=ur("SuspenseList");break;case 31:a+=ur("Activity");break;case 30:case 0:case 15:case 1:n._debugOwner||a!==""||(a+=fb(n.type));break;case 11:n._debugOwner||a!==""||(a+=fb(n.type.render))}for(;n;)if(typeof n.tag=="number"){var u=n;n=u._debugOwner;var p=u._debugStack;n&&p&&(typeof p!="string"&&(u._debugStack=p=Za(p)),p!==""&&(a+=`
|
|
74
|
+
`+p))}else if(n.debugStack!=null){var b=n.debugStack;(n=n.owner)&&b&&(a+=`
|
|
75
|
+
`+Za(b))}else break;var E=a}catch(P){E=`
|
|
76
|
+
Error generating stack: `+P.message+`
|
|
77
|
+
`+P.stack}return E}function ht(n,a,u,p,b,E,P){var B=oo;Lf(n);try{return n!==null&&n._debugTask?n._debugTask.run(a.bind(null,u,p,b,E,P)):a(u,p,b,E,P)}finally{Lf(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Lf(n){Ue.getCurrentStack=n===null?null:pb,hl=!1,oo=n}function fa(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return _e(n),n;default:return""}}function ec(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function sd(n){var a=ec(n)?"checked":"value",u=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);_e(n[a]);var p=""+n[a];if(!n.hasOwnProperty(a)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var b=u.get,E=u.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return b.call(this)},set:function(P){_e(P),p=""+P,E.call(this,P)}}),Object.defineProperty(n,a,{enumerable:u.enumerable}),{getValue:function(){return p},setValue:function(P){_e(P),p=""+P},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function au(n){n._valueTracker||(n._valueTracker=sd(n))}function Fr(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var u=a.getValue(),p="";return n&&(p=ec(n)?n.checked?"true":"false":n.value),n=p,n!==u?(a.setValue(n),!0):!1}function jf(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Yl(n){return n.replace(hx,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Yu(n,a){a.checked===void 0||a.defaultChecked===void 0||cy||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Lh()||"A component",a.type),cy=!0),a.value===void 0||a.defaultValue===void 0||sy||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Lh()||"A component",a.type),sy=!0)}function Xu(n,a,u,p,b,E,P,B){n.name="",P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"?(ie(P,"type"),n.type=P):n.removeAttribute("type"),a!=null?P==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+fa(a)):n.value!==""+fa(a)&&(n.value=""+fa(a)):P!=="submit"&&P!=="reset"||n.removeAttribute("value"),a!=null?jh(n,P,fa(a)):u!=null?jh(n,P,fa(u)):p!=null&&n.removeAttribute("value"),b==null&&E!=null&&(n.defaultChecked=!!E),b!=null&&(n.checked=b&&typeof b!="function"&&typeof b!="symbol"),B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?(ie(B,"name"),n.name=""+fa(B)):n.removeAttribute("name")}function Bf(n,a,u,p,b,E,P,B){if(E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(ie(E,"type"),n.type=E),a!=null||u!=null){if(!(E!=="submit"&&E!=="reset"||a!=null))return;u=u!=null?""+fa(u):"",a=a!=null?""+fa(a):u,B||a===n.value||(n.value=a),n.defaultValue=a}p=p??b,p=typeof p!="function"&&typeof p!="symbol"&&!!p,n.checked=B?n.checked:!!p,n.defaultChecked=!!p,P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"&&(ie(P,"name"),n.name=P)}function jh(n,a,u){a==="number"&&jf(n.ownerDocument)===n||n.defaultValue===""+u||(n.defaultValue=""+u)}function cd(n,a){a.value==null&&(typeof a.children=="object"&&a.children!==null?Ip.Children.forEach(a.children,function(u){u==null||typeof u=="string"||typeof u=="number"||typeof u=="bigint"||cv||(cv=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):a.dangerouslySetInnerHTML==null||dv||(dv=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),a.selected==null||sv||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sv=!0)}function hb(){var n=Lh();return n?`
|
|
78
|
+
|
|
79
|
+
Check the render method of \``+n+"`.":""}function lu(n,a,u,p){if(n=n.options,a){a={};for(var b=0;b<u.length;b++)a["$"+u[b]]=!0;for(u=0;u<n.length;u++)b=a.hasOwnProperty("$"+n[u].value),n[u].selected!==b&&(n[u].selected=b),b&&p&&(n[u].defaultSelected=!0)}else{for(u=""+fa(u),a=null,b=0;b<n.length;b++){if(n[b].value===u){n[b].selected=!0,p&&(n[b].defaultSelected=!0);return}a!==null||n[b].disabled||(a=n[b])}a!==null&&(a.selected=!0)}}function zf(n,a){for(n=0;n<Yp.length;n++){var u=Yp[n];if(a[u]!=null){var p=Lt(a[u]);a.multiple&&!p?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",u,hb()):!a.multiple&&p&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",u,hb())}}a.value===void 0||a.defaultValue===void 0||dy||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),dy=!0)}function Fo(n,a){a.value===void 0||a.defaultValue===void 0||Xb||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Lh()||"A component"),Xb=!0),a.children!=null&&a.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Uf(n,a,u){if(a!=null&&(a=""+fa(a),a!==n.value&&(n.value=a),u==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=u!=null?""+fa(u):""}function Bh(n,a,u,p){if(a==null){if(p!=null){if(u!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Lt(p)){if(1<p.length)throw Error("<textarea> can only have at most one child.");p=p[0]}u=p}u==null&&(u=""),a=u}u=fa(a),n.defaultValue=u,p=n.textContent,p===u&&p!==""&&p!==null&&(n.value=p)}function tc(n,a){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-a?tc(n.children[0],a):n}function Ja(n){return" "+" ".repeat(n)}function Wu(n){return"+ "+" ".repeat(n)}function nc(n){return"- "+" ".repeat(n)}function zh(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return n=n.type,n.displayName||n.name||null;case 11:return n=n.type.render,n.displayName||n.name||null;case 1:return n=n.type,n.displayName||n.name||null;default:return null}}function pa(n,a){return Ic.test(n)?(n=JSON.stringify(n),n.length>a-2?8>a?'{"..."}':"{"+n.slice(0,a-7)+'..."}':"{"+n+"}"):n.length>a?5>a?'{"..."}':n.slice(0,a-3)+"...":n}function dd(n,a,u){var p=120-2*u;if(a===null)return Wu(u)+pa(n,p)+`
|
|
80
|
+
`;if(typeof a=="string"){for(var b=0;b<a.length&&b<n.length&&a.charCodeAt(b)===n.charCodeAt(b);b++);return b>p-8&&10<b&&(n="..."+n.slice(b-8),a="..."+a.slice(b-8)),Wu(u)+pa(n,p)+`
|
|
81
|
+
`+nc(u)+pa(a,p)+`
|
|
82
|
+
`}return Ja(u)+pa(n,p)+`
|
|
83
|
+
`}function If(n){return Object.prototype.toString.call(n).replace(/^\[object (.*)\]$/,function(a,u){return u})}function Qu(n,a){switch(typeof n){case"string":return n=JSON.stringify(n),n.length>a?5>a?'"..."':n.slice(0,a-4)+'..."':n;case"object":if(n===null)return"null";if(Lt(n))return"[...]";if(n.$$typeof===Ts)return(a=V(n.type))?"<"+a+">":"<...>";var u=If(n);if(u==="Object"){u="",a-=2;for(var p in n)if(n.hasOwnProperty(p)){var b=JSON.stringify(p);if(b!=='"'+p+'"'&&(p=b),a-=p.length-2,b=Qu(n[p],15>a?a:15),a-=b.length,0>a){u+=u===""?"...":", ...";break}u+=(u===""?"":",")+p+":"+b}return"{"+u+"}"}return u;case"function":return(a=n.displayName||n.name)?"function "+a:"function";default:return String(n)}}function Zu(n,a){return typeof n!="string"||Ic.test(n)?"{"+Qu(n,a-2)+"}":n.length>a-2?5>a?'"..."':'"'+n.slice(0,a-5)+'..."':'"'+n+'"'}function ou(n,a,u){var p=120-u.length-n.length,b=[],E;for(E in a)if(a.hasOwnProperty(E)&&E!=="children"){var P=Zu(a[E],120-u.length-E.length-1);p-=E.length+P.length+2,b.push(E+"="+P)}return b.length===0?u+"<"+n+`>
|
|
84
|
+
`:0<p?u+"<"+n+" "+b.join(" ")+`>
|
|
85
|
+
`:u+"<"+n+`
|
|
86
|
+
`+u+" "+b.join(`
|
|
87
|
+
`+u+" ")+`
|
|
88
|
+
`+u+`>
|
|
89
|
+
`}function mb(n,a,u){var p="",b=Gt({},a),E;for(E in n)if(n.hasOwnProperty(E)){delete b[E];var P=120-2*u-E.length-2,B=Qu(n[E],P);a.hasOwnProperty(E)?(P=Qu(a[E],P),p+=Wu(u)+E+": "+B+`
|
|
90
|
+
`,p+=nc(u)+E+": "+P+`
|
|
91
|
+
`):p+=Wu(u)+E+": "+B+`
|
|
92
|
+
`}for(var te in b)b.hasOwnProperty(te)&&(n=Qu(b[te],120-2*u-te.length-2),p+=nc(u)+te+": "+n+`
|
|
93
|
+
`);return p}function ho(n,a,u,p){var b="",E=new Map;for(re in u)u.hasOwnProperty(re)&&E.set(re.toLowerCase(),re);if(E.size===1&&E.has("children"))b+=ou(n,a,Ja(p));else{for(var P in a)if(a.hasOwnProperty(P)&&P!=="children"){var B=120-2*(p+1)-P.length-1,te=E.get(P.toLowerCase());if(te!==void 0){E.delete(P.toLowerCase());var re=a[P];te=u[te];var Be=Zu(re,B);B=Zu(te,B),typeof re=="object"&&re!==null&&typeof te=="object"&&te!==null&&If(re)==="Object"&&If(te)==="Object"&&(2<Object.keys(re).length||2<Object.keys(te).length||-1<Be.indexOf("...")||-1<B.indexOf("..."))?b+=Ja(p+1)+P+`={{
|
|
94
|
+
`+mb(re,te,p+2)+Ja(p+1)+`}}
|
|
95
|
+
`:(b+=Wu(p+1)+P+"="+Be+`
|
|
96
|
+
`,b+=nc(p+1)+P+"="+B+`
|
|
97
|
+
`)}else b+=Ja(p+1)+P+"="+Zu(a[P],B)+`
|
|
98
|
+
`}E.forEach(function(He){if(He!=="children"){var qe=120-2*(p+1)-He.length-1;b+=nc(p+1)+He+"="+Zu(u[He],qe)+`
|
|
99
|
+
`}}),b=b===""?Ja(p)+"<"+n+`>
|
|
100
|
+
`:Ja(p)+"<"+n+`
|
|
101
|
+
`+b+Ja(p)+`>
|
|
102
|
+
`}return n=u.children,a=a.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(E="",(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(E=""+a),b+=dd(E,""+n,p+1)):(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(b=n==null?b+dd(""+a,null,p+1):b+dd(""+a,void 0,p+1)),b}function Hf(n,a){var u=zh(n);if(u===null){for(u="",n=n.child;n;)u+=Hf(n,a),n=n.sibling;return u}return Ja(a)+"<"+u+`>
|
|
103
|
+
`}function Vf(n,a){var u=tc(n,a);if(u!==n&&(n.children.length!==1||n.children[0]!==u))return Ja(a)+`...
|
|
104
|
+
`+Vf(u,a+1);u="";var p=n.fiber._debugInfo;if(p)for(var b=0;b<p.length;b++){var E=p[b].name;typeof E=="string"&&(u+=Ja(a)+"<"+E+`>
|
|
105
|
+
`,a++)}if(p="",b=n.fiber.pendingProps,n.fiber.tag===6)p=dd(b,n.serverProps,a),a++;else if(E=zh(n.fiber),E!==null)if(n.serverProps===void 0){p=a;var P=120-2*p-E.length-2,B="";for(re in b)if(b.hasOwnProperty(re)&&re!=="children"){var te=Zu(b[re],15);if(P-=re.length+te.length+2,0>P){B+=" ...";break}B+=" "+re+"="+te}p=Ja(p)+"<"+E+B+`>
|
|
106
|
+
`,a++}else n.serverProps===null?(p=ou(E,b,Wu(a)),a++):typeof n.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(p=ho(E,b,n.serverProps,a),a++);var re="";for(b=n.fiber.child,E=0;b&&E<n.children.length;)P=n.children[E],P.fiber===b?(re+=Vf(P,a),E++):re+=Hf(b,a),b=b.sibling;for(b&&0<n.children.length&&(re+=Ja(a)+`...
|
|
107
|
+
`),b=n.serverTail,n.serverProps===null&&a--,n=0;n<b.length;n++)E=b[n],re=typeof E=="string"?re+(nc(a)+pa(E,120-2*a)+`
|
|
108
|
+
`):re+ou(E.type,E.props,nc(a));return u+p+re}function rc(n){try{return`
|
|
109
|
+
|
|
110
|
+
`+Vf(n,0)}catch{return""}}function ac(n,a,u){for(var p=a,b=null,E=0;p;)p===n&&(E=0),b={fiber:p,children:b!==null?[b]:[],serverProps:p===a?u:p===n?null:void 0,serverTail:[],distanceFromLeaf:E},E++,p=p.return;return b!==null?rc(b).replaceAll(/^[+-]/gm,">"):""}function Uh(n,a){var u=Gt({},n||hy),p={tag:a};return fv.indexOf(a)!==-1&&(u.aTagInScope=null,u.buttonTagInScope=null,u.nobrTagInScope=null),pv.indexOf(a)!==-1&&(u.pTagInButtonScope=null),fy.indexOf(a)!==-1&&a!=="address"&&a!=="div"&&a!=="p"&&(u.listItemTagAutoclosing=null,u.dlItemTagAutoclosing=null),u.current=p,a==="form"&&(u.formTag=p),a==="a"&&(u.aTagInScope=p),a==="button"&&(u.buttonTagInScope=p),a==="nobr"&&(u.nobrTagInScope=p),a==="p"&&(u.pTagInButtonScope=p),a==="li"&&(u.listItemTagAutoclosing=p),(a==="dd"||a==="dt")&&(u.dlItemTagAutoclosing=p),a==="#document"||a==="html"?u.containerTagInScope=null:u.containerTagInScope||(u.containerTagInScope=p),n!==null||a!=="#document"&&a!=="html"&&a!=="body"?u.implicitRootScope===!0&&(u.implicitRootScope=!1):u.implicitRootScope=!0,u}function Ff(n,a,u){switch(a){case"select":return n==="hr"||n==="option"||n==="optgroup"||n==="script"||n==="template"||n==="#text";case"optgroup":return n==="option"||n==="#text";case"option":return n==="#text";case"tr":return n==="th"||n==="td"||n==="style"||n==="script"||n==="template";case"tbody":case"thead":case"tfoot":return n==="tr"||n==="style"||n==="script"||n==="template";case"colgroup":return n==="col"||n==="template";case"table":return n==="caption"||n==="colgroup"||n==="tbody"||n==="tfoot"||n==="thead"||n==="style"||n==="script"||n==="template";case"head":return n==="base"||n==="basefont"||n==="bgsound"||n==="link"||n==="meta"||n==="title"||n==="noscript"||n==="noframes"||n==="style"||n==="script"||n==="template";case"html":if(u)break;return n==="head"||n==="body"||n==="frameset";case"frameset":return n==="frame";case"#document":if(!u)return n==="html"}switch(n){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a!=="h1"&&a!=="h2"&&a!=="h3"&&a!=="h4"&&a!=="h5"&&a!=="h6";case"rp":case"rt":return py.indexOf(a)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return a==null;case"head":return u||a===null;case"html":return u&&a==="#document"||a===null;case"body":return u&&(a==="#document"||a==="html")||a===null}return!0}function Ju(n,a){switch(n){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a.pTagInButtonScope;case"form":return a.formTag||a.pTagInButtonScope;case"li":return a.listItemTagAutoclosing;case"dd":case"dt":return a.dlItemTagAutoclosing;case"button":return a.buttonTagInScope;case"a":return a.aTagInScope;case"nobr":return a.nobrTagInScope}return null}function lc(n,a){for(;n;){switch(n.tag){case 5:case 26:case 27:if(n.type===a)return n}n=n.return}return null}function Kf(n,a){a=a||hy;var u=a.current;if(a=(u=Ff(n,u&&u.tag,a.implicitRootScope)?null:u)?null:Ju(n,a),a=u||a,!a)return!0;var p=a.tag;if(a=String(!!u)+"|"+n+"|"+p,Hc[a])return!1;Hc[a]=!0;var b=(a=oo)?lc(a.return,p):null,E=a!==null&&b!==null?ac(b,a,null):"",P="<"+n+">";return u?(u="",p==="table"&&n==="tr"&&(u+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
111
|
+
This will cause a hydration error.%s`,P,p,u,E)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
112
|
+
This will cause a hydration error.%s`,P,p,E),a&&(n=a.return,b===null||n===null||b===n&&n._debugOwner===a._debugOwner||ht(b,function(){console.error(`<%s> cannot contain a nested %s.
|
|
113
|
+
See this log for the ancestor stack trace.`,p,P)})),!1}function fd(n,a,u){if(u||Ff("#text",a,!1))return!0;if(u="#text|"+a,Hc[u])return!1;Hc[u]=!0;var p=(u=oo)?lc(u,a):null;return u=u!==null&&p!==null?ac(p,u,u.tag!==6?{children:null}:null):"",/\S/.test(n)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
114
|
+
This will cause a hydration error.%s`,a,u):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
115
|
+
This will cause a hydration error.%s`,a,u),!1}function oc(n,a){if(a){var u=n.firstChild;if(u&&u===n.lastChild&&u.nodeType===3){u.nodeValue=a;return}}n.textContent=a}function vb(n){return n.replace(Ds,function(a,u){return u.toUpperCase()})}function tg(n,a,u){var p=a.indexOf("--")===0;p||(-1<a.indexOf("-")?Vc.hasOwnProperty(a)&&Vc[a]||(Vc[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,vb(a.replace(Wp,"ms-")))):Xp.test(a)?Vc.hasOwnProperty(a)&&Vc[a]||(Vc[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!Wb.test(u)||Fc.hasOwnProperty(u)&&Fc[u]||(Fc[u]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,u.replace(Wb,""))),typeof u=="number"&&(isNaN(u)?Qb||(Qb=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(u)||my||(my=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),u==null||typeof u=="boolean"||u===""?p?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":p?n.setProperty(a,u):typeof u!="number"||u===0||Qp.has(a)?a==="float"?n.cssFloat=u:(fe(u,a),n[a]=(""+u).trim()):n[a]=u+"px"}function pd(n,a,u){if(a!=null&&typeof a!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(a&&Object.freeze(a),n=n.style,u!=null){if(a){var p={};if(u){for(var b in u)if(u.hasOwnProperty(b)&&!a.hasOwnProperty(b))for(var E=ui[b]||[b],P=0;P<E.length;P++)p[E[P]]=b}for(var B in a)if(a.hasOwnProperty(B)&&(!u||u[B]!==a[B]))for(b=ui[B]||[B],E=0;E<b.length;E++)p[b[E]]=B;B={};for(var te in a)for(b=ui[te]||[te],E=0;E<b.length;E++)B[b[E]]=te;te={};for(var re in p)if(b=p[re],(E=B[re])&&b!==E&&(P=b+","+E,!te[P])){te[P]=!0,P=console;var Be=a[b];P.error.call(P,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Be==null||typeof Be=="boolean"||Be===""?"Removing":"Updating",b,E)}}for(var He in u)!u.hasOwnProperty(He)||a!=null&&a.hasOwnProperty(He)||(He.indexOf("--")===0?n.setProperty(He,""):He==="float"?n.cssFloat="":n[He]="");for(var qe in a)re=a[qe],a.hasOwnProperty(qe)&&u[qe]!==re&&tg(n,qe,re)}else for(p in a)a.hasOwnProperty(p)&&tg(n,p,a[p])}function es(n){if(n.indexOf("-")===-1)return!1;switch(n){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!1;default:return!0}}function Ih(n){return hv.get(n)||n}function hd(n,a){if(Ou.call(Wi,a)&&Wi[a])return!0;if(mv.test(a)){if(n="aria-"+a.slice(4).toLowerCase(),n=vy.hasOwnProperty(n)?n:null,n==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),Wi[a]=!0;if(a!==n)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,n),Wi[a]=!0}if(gy.test(a)){if(n=a.toLowerCase(),n=vy.hasOwnProperty(n)?n:null,n==null)return Wi[a]=!0,!1;a!==n&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,n),Wi[a]=!0)}return!0}function md(n,a){var u=[],p;for(p in a)hd(n,p)||u.push(p);a=u.map(function(b){return"`"+b+"`"}).join(", "),u.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,n):1<u.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,n)}function ng(n,a,u,p){if(Ou.call(ml,a)&&ml[a])return!0;var b=a.toLowerCase();if(b==="onfocusin"||b==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ml[a]=!0;if(typeof u=="function"&&(n==="form"&&a==="action"||n==="input"&&a==="formAction"||n==="button"&&a==="formAction"))return!0;if(p!=null){if(n=p.possibleRegistrationNames,p.registrationNameDependencies.hasOwnProperty(a))return!0;if(p=n.hasOwnProperty(b)?n[b]:null,p!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,p),ml[a]=!0;if(Jp.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),ml[a]=!0}else if(Jp.test(a))return o.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),ml[a]=!0;if(s.test(a)||d.test(a))return!0;if(b==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ml[a]=!0;if(b==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ml[a]=!0;if(b==="is"&&u!==null&&u!==void 0&&typeof u!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof u),ml[a]=!0;if(typeof u=="number"&&isNaN(u))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),ml[a]=!0;if(Kc.hasOwnProperty(b)){if(b=Kc[b],b!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,b),ml[a]=!0}else if(a!==b)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,b),ml[a]=!0;switch(a){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof u){case"boolean":switch(a){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return b=a.toLowerCase().slice(0,5),b==="data-"||b==="aria-"?!0:(u?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',u,a,a,u,a):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',u,a,a,u,a,a,a),ml[a]=!0)}case"function":case"symbol":return ml[a]=!0,!1;case"string":if(u==="false"||u==="true"){switch(a){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",u,a,u==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,u),ml[a]=!0}}return!0}function rg(n,a,u){var p=[],b;for(b in a)ng(n,b,a[b],u)||p.push(b);a=p.map(function(E){return"`"+E+"`"}).join(", "),p.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,n):1<p.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,n)}function vd(n){return g.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function ic(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}function yi(n){var a=Vr(n);if(a&&(n=a.stateNode)){var u=n[Il]||null;e:switch(n=a.stateNode,a.type){case"input":if(Xu(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),a=u.name,u.type==="radio"&&a!=null){for(u=n;u.parentNode;)u=u.parentNode;for(ie(a,"name"),u=u.querySelectorAll('input[name="'+Yl(""+a)+'"][type="radio"]'),a=0;a<u.length;a++){var p=u[a];if(p!==n&&p.form===n.form){var b=p[Il]||null;if(!b)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Xu(p,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(a=0;a<u.length;a++)p=u[a],p.form===n.form&&Fr(p)}break e;case"textarea":Uf(n,u.value,u.defaultValue);break e;case"select":a=u.value,a!=null&&lu(n,!!u.multiple,a,!1)}}}function gd(n,a,u){if(J)return n(a,u);J=!0;try{var p=n(a);return p}finally{if(J=!1,(A!==null||z!==null)&&(Cu(),A&&(a=A,n=z,z=A=null,yi(a),n)))for(a=0;a<n.length;a++)yi(n[a])}}function iu(n,a){var u=n.stateNode;if(u===null)return null;var p=u[Il]||null;if(p===null)return null;u=p[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(n=n.type,p=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!p;break e;default:n=!1}if(n)return null;if(u&&typeof u!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}function uu(){if(Ne)return Ne;var n,a=ke,u=a.length,p,b="value"in Je?Je.value:Je.textContent,E=b.length;for(n=0;n<u&&a[n]===b[n];n++);var P=u-n;for(p=1;p<=P&&a[u-p]===b[E-p];p++);return Ne=b.slice(n,1<p?1-p:void 0)}function yd(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function uc(){return!0}function ag(){return!1}function Kt(n){function a(u,p,b,E,P){this._reactName=u,this._targetInst=b,this.type=p,this.nativeEvent=E,this.target=P,this.currentTarget=null;for(var B in n)n.hasOwnProperty(B)&&(u=n[B],this[B]=u?u(E):E[B]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?uc:ag,this.isPropagationStopped=ag,this}return Gt(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=uc)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=uc)},persist:function(){},isPersistent:uc}),a}function qn(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=kT[n])?!!a[n]:!1}function Hh(){return qn}function el(n,a){switch(n){case"keyup":return YT.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==Fw;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ts(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}function Vh(n,a){switch(n){case"compositionend":return ts(a);case"keypress":return a.which!==T?null:(K=!0,k);case"textInput":return n=a.data,n===k&&K?null:n;default:return null}}function Gf(n,a){if(ne)return n==="compositionend"||!yx&&el(n,a)?(n=uu(),Ne=ke=Je=null,ne=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return v&&a.locale!=="ko"?null:a.data;default:return null}}function gb(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!de[n.type]:a==="textarea"}function Fh(n){if(!ce)return!1;n="on"+n;var a=n in document;return a||(a=document.createElement("div"),a.setAttribute(n,"return;"),a=typeof a[n]=="function"),a}function Kh(n,a,u,p){A?z?z.push(p):z=[p]:A=p,a=Qd(a,"onChange"),0<a.length&&(u=new At("onChange","change",null,u,p),n.push({event:u,listeners:a}))}function Or(n){zi(n,0)}function su(n){var a=Qa(n);if(Fr(a))return n}function cu(n,a){if(n==="change")return a}function lg(){ye&&(ye.detachEvent("onpropertychange",Gh),Ae=ye=null)}function Gh(n){if(n.propertyName==="value"&&su(Ae)){var a=[];Kh(a,Ae,n,ic(n)),gd(Or,a)}}function mo(n,a,u){n==="focusin"?(lg(),ye=a,Ae=u,ye.attachEvent("onpropertychange",Gh)):n==="focusout"&&lg()}function Yh(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return su(Ae)}function yb(n,a){if(n==="click")return su(a)}function bb(n,a){if(n==="input"||n==="change")return su(a)}function xb(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}function bd(n,a){if(Qe(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var u=Object.keys(n),p=Object.keys(a);if(u.length!==p.length)return!1;for(p=0;p<u.length;p++){var b=u[p];if(!Ou.call(a,b)||!Qe(n[b],a[b]))return!1}return!0}function og(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function tl(n,a){var u=og(n);n=0;for(var p;u;){if(u.nodeType===3){if(p=n+u.textContent.length,n<=a&&p>=a)return{node:u,offset:a-n};n=p}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=og(u)}}function Eb(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Eb(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Xl(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=jf(n.document);a instanceof n.HTMLIFrameElement;){try{var u=typeof a.contentWindow.location.href=="string"}catch{u=!1}if(u)n=a.contentWindow;else break;a=jf(n.document)}return a}function ig(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}function ug(n,a,u){var p=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Xt||st==null||st!==jf(p)||(p=st,"selectionStart"in p&&ig(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),Dt&&bd(Dt,p)||(Dt=p,p=Qd(bt,"onSelect"),0<p.length&&(a=new At("onSelect","select",null,a,u),n.push({event:a,listeners:p}),a.target=st)))}function Oa(n,a){var u={};return u[n.toLowerCase()]=a.toLowerCase(),u["Webkit"+n]="webkit"+a,u["Moz"+n]="moz"+a,u}function bi(n){if(sn[n])return sn[n];if(!_t[n])return n;var a=_t[n],u;for(u in a)if(a.hasOwnProperty(u)&&u in xn)return sn[n]=a[u];return n}function Wl(n,a){RO.set(n,a),vi(a,[n])}function dn(n,a){if(typeof n=="object"&&n!==null){var u=WT.get(n);return u!==void 0?u:(a={value:n,source:a,stack:kh(a)},WT.set(n,a),a)}return{value:n,source:a,stack:kh(a)}}function vo(){for(var n=Zb,a=QT=Zb=0;a<n;){var u=Os[a];Os[a++]=null;var p=Os[a];Os[a++]=null;var b=Os[a];Os[a++]=null;var E=Os[a];if(Os[a++]=null,p!==null&&b!==null){var P=p.pending;P===null?b.next=b:(b.next=P.next,P.next=b),p.pending=b}E!==0&&Sb(u,b,E)}}function xd(n,a,u,p){Os[Zb++]=n,Os[Zb++]=a,Os[Zb++]=u,Os[Zb++]=p,QT|=p,n.lanes|=p,n=n.alternate,n!==null&&(n.lanes|=p)}function sg(n,a,u,p){return xd(n,a,u,p),Xh(n)}function Na(n,a){return xd(n,null,null,a),Xh(n)}function Sb(n,a,u){n.lanes|=u;var p=n.alternate;p!==null&&(p.lanes|=u);for(var b=!1,E=n.return;E!==null;)E.childLanes|=u,p=E.alternate,p!==null&&(p.childLanes|=u),E.tag===22&&(n=E.stateNode,n===null||n._visibility&Kw||(b=!0)),n=E,E=E.return;return n.tag===3?(E=n.stateNode,b&&a!==null&&(b=31-fr(u),n=E.hiddenUpdates,p=n[b],p===null?n[b]=[a]:p.push(a),a.lane=u|536870912),E):null}function Xh(n){if(Ux>pz)throw Ny=Ux=0,Ix=AA=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ny>hz&&(Ny=0,Ix=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),n.alternate===null&&(n.flags&4098)!==0&&ni(n);for(var a=n,u=a.return;u!==null;)a.alternate===null&&(a.flags&4098)!==0&&ni(n),a=u,u=a.return;return a.tag===3?a.stateNode:null}function sc(n){if(Ns===null)return n;var a=Ns(n);return a===void 0?n:a.current}function Wh(n){if(Ns===null)return n;var a=Ns(n);return a===void 0?n!=null&&typeof n.render=="function"&&(a=sc(n.render),n.render!==a)?(a={$$typeof:Ot,render:a},n.displayName!==void 0&&(a.displayName=n.displayName),a):n:a.current}function Yf(n,a){if(Ns===null)return!1;var u=n.elementType;a=a.type;var p=!1,b=typeof a=="object"&&a!==null?a.$$typeof:null;switch(n.tag){case 1:typeof a=="function"&&(p=!0);break;case 0:(typeof a=="function"||b===ao)&&(p=!0);break;case 11:(b===Ot||b===ao)&&(p=!0);break;case 14:case 15:(b===ar||b===ao)&&(p=!0);break;default:return!1}return!!(p&&(n=Ns(u),n!==void 0&&n===Ns(a)))}function cc(n){Ns!==null&&typeof WeakSet=="function"&&(Jb===null&&(Jb=new WeakSet),Jb.add(n))}function Xf(n,a,u){var p=n.alternate,b=n.child,E=n.sibling,P=n.tag,B=n.type,te=null;switch(P){case 0:case 15:case 1:te=B;break;case 11:te=B.render}if(Ns===null)throw Error("Expected resolveFamily to be set during hot reload.");var re=!1;B=!1,te!==null&&(te=Ns(te),te!==void 0&&(u.has(te)?B=!0:a.has(te)&&(P===1?B=!0:re=!0))),Jb!==null&&(Jb.has(n)||p!==null&&Jb.has(p))&&(B=!0),B&&(n._debugNeedsRemount=!0),(B||re)&&(p=Na(n,2),p!==null&&Rr(p,n,2)),b===null||B||Xf(b,a,u),E!==null&&Xf(E,a,u)}function Ed(n,a,u,p){this.tag=n,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,AO||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Qh(n){return n=n.prototype,!(!n||!n.isReactComponent)}function go(n,a){var u=n.alternate;switch(u===null?(u=R(n.tag,a,n.key,n.mode),u.elementType=n.elementType,u.type=n.type,u.stateNode=n.stateNode,u._debugOwner=n._debugOwner,u._debugStack=n._debugStack,u._debugTask=n._debugTask,u._debugHookTypes=n._debugHookTypes,u.alternate=n,n.alternate=u):(u.pendingProps=a,u.type=n.type,u.flags=0,u.subtreeFlags=0,u.deletions=null,u.actualDuration=-0,u.actualStartTime=-1.1),u.flags=n.flags&65011712,u.childLanes=n.childLanes,u.lanes=n.lanes,u.child=n.child,u.memoizedProps=n.memoizedProps,u.memoizedState=n.memoizedState,u.updateQueue=n.updateQueue,a=n.dependencies,u.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},u.sibling=n.sibling,u.index=n.index,u.ref=n.ref,u.refCleanup=n.refCleanup,u.selfBaseDuration=n.selfBaseDuration,u.treeBaseDuration=n.treeBaseDuration,u._debugInfo=n._debugInfo,u._debugNeedsRemount=n._debugNeedsRemount,u.tag){case 0:case 15:u.type=sc(n.type);break;case 1:u.type=sc(n.type);break;case 11:u.type=Wh(n.type)}return u}function Wf(n,a){n.flags&=65011714;var u=n.alternate;return u===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null,n.selfBaseDuration=0,n.treeBaseDuration=0):(n.childLanes=u.childLanes,n.lanes=u.lanes,n.child=u.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=u.memoizedProps,n.memoizedState=u.memoizedState,n.updateQueue=u.updateQueue,n.type=u.type,a=u.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},n.selfBaseDuration=u.selfBaseDuration,n.treeBaseDuration=u.treeBaseDuration),n}function Qf(n,a,u,p,b,E){var P=0,B=n;if(typeof n=="function")Qh(n)&&(P=1),B=sc(B);else if(typeof n=="string")P=L(),P=af(n,u,P)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Gi:return a=R(31,u,a,b),a.elementType=Gi,a.lanes=E,a;case Vt:return xi(u.children,b,E,a);case uf:P=8,b|=Bo,b|=Yc;break;case Ia:return n=u,p=b,typeof n.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof n.id),a=R(12,n,a,p|io),a.elementType=Ia,a.lanes=E,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case sf:return a=R(13,u,a,b),a.elementType=sf,a.lanes=E,a;case $r:return a=R(19,u,a,b),a.elementType=$r,a.lanes=E,a;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ry:case aa:P=10;break e;case rv:P=9;break e;case Ot:P=11,B=Wh(B);break e;case ar:P=14;break e;case ao:P=16,B=null;break e}B="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null?u="null":Lt(n)?u="array":n!==void 0&&n.$$typeof===Ts?(u="<"+(V(n.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):u=typeof n,(P=p?X(p):null)&&(B+=`
|
|
116
|
+
|
|
117
|
+
Check the render method of \``+P+"`."),P=29,u=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(u+"."+B)),B=null}return a=R(P,u,a,b),a.elementType=n,a.type=B,a.lanes=E,a._debugOwner=p,a}function Zf(n,a,u){return a=Qf(n.type,n.key,n.props,n._owner,a,u),a._debugOwner=n._owner,a._debugStack=n._debugStack,a._debugTask=n._debugTask,a}function xi(n,a,u,p){return n=R(7,n,p,a),n.lanes=u,n}function Ei(n,a,u){return n=R(6,n,null,a),n.lanes=u,n}function cg(n,a,u){return a=R(4,n.children!==null?n.children:[],n.key,a),a.lanes=u,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function ns(n,a){yo(),e0[t0++]=Yw,e0[t0++]=Gw,Gw=n,Yw=a}function Cl(n,a,u){yo(),$s[Ps++]=th,$s[Ps++]=nh,$s[Ps++]=xy,xy=n;var p=th;n=nh;var b=32-fr(p)-1;p&=~(1<<b),u+=1;var E=32-fr(a)+b;if(30<E){var P=b-b%5;E=(p&(1<<P)-1).toString(32),p>>=P,b-=P,th=1<<32-fr(a)+b|u<<b|p,nh=E+n}else th=1<<E|u<<b|p,nh=n}function Sd(n){yo(),n.return!==null&&(ns(n,1),Cl(n,1,0))}function rs(n){for(;n===Gw;)Gw=e0[--t0],e0[t0]=null,Yw=e0[--t0],e0[t0]=null;for(;n===xy;)xy=$s[--Ps],$s[Ps]=null,nh=$s[--Ps],$s[Ps]=null,th=$s[--Ps],$s[Ps]=null}function yo(){$n||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function bo(n,a){if(n.return===null){if(qs===null)qs={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(qs.fiber!==n)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");qs.distanceFromLeaf>a&&(qs.distanceFromLeaf=a)}return qs}var u=bo(n.return,a+1).children;return 0<u.length&&u[u.length-1].fiber===n?(u=u[u.length-1],u.distanceFromLeaf>a&&(u.distanceFromLeaf=a),u):(a={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},u.push(a),a)}function dg(n,a){rh||(n=bo(n,0),n.serverProps=null,a!==null&&(a=Fm(a),n.serverTail.push(a)))}function Si(n){var a="",u=qs;throw u!==null&&(qs=null,a=rc(u)),wd(dn(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
118
|
+
|
|
119
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
120
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
121
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
122
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
123
|
+
- Invalid HTML tag nesting.
|
|
124
|
+
|
|
125
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
126
|
+
|
|
127
|
+
https://react.dev/link/hydration-mismatch`+a),n)),ZT}function fg(n){var a=n.stateNode,u=n.type,p=n.memoizedProps;switch(a[Ha]=n,a[Il]=p,Ui(u,p),u){case"dialog":rn("cancel",a),rn("close",a);break;case"iframe":case"object":case"embed":rn("load",a);break;case"video":case"audio":for(u=0;u<Hx.length;u++)rn(Hx[u],a);break;case"source":rn("error",a);break;case"img":case"image":case"link":rn("error",a),rn("load",a);break;case"details":rn("toggle",a);break;case"input":Vo("input",p),rn("invalid",a),Yu(a,p),Bf(a,p.value,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name,!0),au(a);break;case"option":cd(a,p);break;case"select":Vo("select",p),rn("invalid",a),zf(a,p);break;case"textarea":Vo("textarea",p),rn("invalid",a),Fo(a,p),Bh(a,p.value,p.defaultValue,p.children),au(a)}u=p.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||a.textContent===""+u||p.suppressHydrationWarning===!0||Bg(a.textContent,u)?(p.popover!=null&&(rn("beforetoggle",a),rn("toggle",a)),p.onScroll!=null&&rn("scroll",a),p.onScrollEnd!=null&&rn("scrollend",a),p.onClick!=null&&(a.onclick=Tu),a=!0):a=!1,a||Si(n)}function pg(n){for(si=n.return;si;)switch(si.tag){case 5:case 13:Ef=!1;return;case 27:case 3:Ef=!0;return;default:si=si.return}}function dc(n){if(n!==si)return!1;if(!$n)return pg(n),$n=!0,!1;var a=n.tag,u;if((u=a!==3&&a!==27)&&((u=a===5)&&(u=n.type,u=!(u!=="form"&&u!=="button")||Ii(n.type,n.memoizedProps)),u=!u),u&&oa){for(u=oa;u;){var p=bo(n,0),b=Fm(u);p.serverTail.push(b),u=b.type==="Suspense"?Gg(u):xa(u.nextSibling)}Si(n)}if(pg(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");oa=Gg(n)}else a===27?(a=oa,Hi(n.type)?(n=BA,BA=null,oa=n):oa=a):oa=si?xa(n.stateNode.nextSibling):null;return!0}function xo(){oa=si=null,rh=$n=!1}function hg(){var n=Ey;return n!==null&&(fi===null?fi=n:fi.push.apply(fi,n),Ey=null),n}function wd(n){Ey===null?Ey=[n]:Ey.push(n)}function Jf(){var n=qs;if(n!==null){qs=null;for(var a=rc(n);0<n.children.length;)n=n.children[0];ht(n.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
128
|
+
|
|
129
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
130
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
131
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
132
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
133
|
+
- Invalid HTML tag nesting.
|
|
134
|
+
|
|
135
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
136
|
+
|
|
137
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function ep(){n0=Xw=null,r0=!1}function nl(n,a,u){ue(JT,a._currentValue,n),a._currentValue=u,ue(eA,a._currentRenderer,n),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==OO&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=OO}function Eo(n,a){n._currentValue=JT.current;var u=eA.current;Q(eA,a),n._currentRenderer=u,Q(JT,a)}function mg(n,a,u){for(;n!==null;){var p=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,p!==null&&(p.childLanes|=a)):p!==null&&(p.childLanes&a)!==a&&(p.childLanes|=a),n===u)break;n=n.return}n!==u&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function vg(n,a,u,p){var b=n.child;for(b!==null&&(b.return=n);b!==null;){var E=b.dependencies;if(E!==null){var P=b.child;E=E.firstContext;e:for(;E!==null;){var B=E;E=b;for(var te=0;te<a.length;te++)if(B.context===a[te]){E.lanes|=u,B=E.alternate,B!==null&&(B.lanes|=u),mg(E.return,u,n),p||(P=null);break e}E=B.next}}else if(b.tag===18){if(P=b.return,P===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");P.lanes|=u,E=P.alternate,E!==null&&(E.lanes|=u),mg(P,u,n),P=null}else P=b.child;if(P!==null)P.return=b;else for(P=b;P!==null;){if(P===n){P=null;break}if(b=P.sibling,b!==null){b.return=P.return,P=b;break}P=P.return}b=P}}function ha(n,a,u,p){n=null;for(var b=a,E=!1;b!==null;){if(!E){if((b.flags&524288)!==0)E=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var P=b.alternate;if(P===null)throw Error("Should have a current fiber. This is a bug in React.");if(P=P.memoizedProps,P!==null){var B=b.type;Qe(b.pendingProps.value,P.value)||(n!==null?n.push(B):n=[B])}}else if(b===df.current){if(P=b.alternate,P===null)throw Error("Should have a current fiber. This is a bug in React.");P.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(n!==null?n.push(Gx):n=[Gx])}b=b.return}n!==null&&vg(a,n,u,p),a.flags|=262144}function Ql(n){for(n=n.firstContext;n!==null;){if(!Qe(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function ea(n){Xw=n,n0=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Yn(n){return r0&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),gg(Xw,n)}function tp(n,a){return Xw===null&&ea(n),gg(n,a)}function gg(n,a){var u=a._currentValue;if(a={context:a,memoizedValue:u,next:null},n0===null){if(n===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");n0=a,n.dependencies={lanes:0,firstContext:a,_debugThenableState:null},n.flags|=524288}else n0=n0.next=a;return u}function np(){return{controller:new Z9,data:new Map,refCount:0}}function fc(n){n.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),n.refCount++}function wi(n){n.refCount--,0>n.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),n.refCount===0&&J9(ez,function(){n.controller.abort()})}function $a(){var n=Sy;return Sy=0,n}function Ce(n){var a=Sy;return Sy=n,a}function Ke(n){var a=Sy;return Sy+=n,a}function ze(n){Qi=a0(),0>n.actualStartTime&&(n.actualStartTime=Qi)}function ct(n){if(0<=Qi){var a=a0()-Qi;n.actualDuration+=a,n.selfBaseDuration=a,Qi=-1}}function Nt(n){if(0<=Qi){var a=a0()-Qi;n.actualDuration+=a,Qi=-1}}function zt(){if(0<=Qi){var n=a0()-Qi;Qi=-1,Sy+=n}}function kn(){Qi=a0()}function fn(n){for(var a=n.child;a;)n.actualDuration+=a.actualDuration,a=a.sibling}function Zh(n,a){if(xx===null){var u=xx=[];tA=0,wy=Pg(),l0={status:"pending",value:void 0,then:function(p){u.push(p)}}}return tA++,a.then(yg,yg),a}function yg(){if(--tA===0&&xx!==null){l0!==null&&(l0.status="fulfilled");var n=xx;xx=null,wy=0,l0=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function Zl(n,a){var u=[],p={status:"pending",value:null,reason:null,then:function(b){u.push(b)}};return n.then(function(){p.status="fulfilled",p.value=a;for(var b=0;b<u.length;b++)(0,u[b])(a)},function(b){for(p.status="rejected",p.reason=b,b=0;b<u.length;b++)(0,u[b])(void 0)}),p}function Cd(){var n=Cy.current;return n!==null?n:br.pooledCache}function Jh(n,a){a===null?ue(Cy,Cy.current,n):ue(Cy,a.pool,n)}function pc(){var n=Cd();return n===null?null:{parent:vl._currentValue,pool:n}}function Rd(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Td(n){return n=n.status,n==="fulfilled"||n==="rejected"}function yn(){}function So(n,a,u){Ue.actQueue!==null&&(Ue.didUsePromise=!0);var p=n.thenables;switch(u=p[u],u===void 0?p.push(a):u!==a&&(n.didWarnAboutUncachedPromise||(n.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),a.then(yn,yn),a=u),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Pa(n),n;default:if(typeof a.status=="string")a.then(yn,yn);else{if(n=br,n!==null&&100<n.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");n=a,n.status="pending",n.then(function(b){if(a.status==="pending"){var E=a;E.status="fulfilled",E.value=b}},function(b){if(a.status==="pending"){var E=a;E.status="rejected",E.reason=b}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Pa(n),n}throw _x=a,tC=!0,Ax}}function em(){if(_x===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var n=_x;return _x=null,tC=!1,n}function Pa(n){if(n===Ax||n===eC)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Rl(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function as(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ci(n){return{lane:n,tag:kO,payload:null,callback:null,next:null}}function Tl(n,a,u){var p=n.updateQueue;if(p===null)return null;if(p=p.shared,aA===p&&!BO){var b=le(n);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
138
|
+
|
|
139
|
+
Please update the following component: %s`,b),BO=!0}return(Fn&di)!==ku?(b=p.pending,b===null?a.next=a:(a.next=b.next,b.next=a),p.pending=a,a=Xh(n),Sb(n,null,u),a):(xd(n,p,a,u),Xh(n))}function rl(n,a,u){if(a=a.updateQueue,a!==null&&(a=a.shared,(u&4194048)!==0)){var p=a.lanes;p&=n.pendingLanes,u|=p,a.lanes=u,mt(n,u)}}function du(n,a){var u=n.updateQueue,p=n.alternate;if(p!==null&&(p=p.updateQueue,u===p)){var b=null,E=null;if(u=u.firstBaseUpdate,u!==null){do{var P={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};E===null?b=E=P:E=E.next=P,u=u.next}while(u!==null);E===null?b=E=a:E=E.next=a}else b=E=a;u={baseState:p.baseState,firstBaseUpdate:b,lastBaseUpdate:E,shared:p.shared,callbacks:p.callbacks},n.updateQueue=u;return}n=u.lastBaseUpdate,n===null?u.firstBaseUpdate=a:n.next=a,u.lastBaseUpdate=a}function Ko(){if(lA){var n=l0;if(n!==null)throw n}}function fu(n,a,u,p){lA=!1;var b=n.updateQueue;gv=!1,aA=b.shared;var E=b.firstBaseUpdate,P=b.lastBaseUpdate,B=b.shared.pending;if(B!==null){b.shared.pending=null;var te=B,re=te.next;te.next=null,P===null?E=re:P.next=re,P=te;var Be=n.alternate;Be!==null&&(Be=Be.updateQueue,B=Be.lastBaseUpdate,B!==P&&(B===null?Be.firstBaseUpdate=re:B.next=re,Be.lastBaseUpdate=te))}if(E!==null){var He=b.baseState;P=0,Be=re=te=null,B=E;do{var qe=B.lane&-536870913,Ge=qe!==B.lane;if(Ge?(En&qe)===qe:(p&qe)===qe){qe!==0&&qe===wy&&(lA=!0),Be!==null&&(Be=Be.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});e:{qe=n;var gt=B,kt=a,xr=u;switch(gt.tag){case LO:if(gt=gt.payload,typeof gt=="function"){r0=!0;var wn=gt.call(xr,He,kt);if(qe.mode&Bo){Pe(!0);try{gt.call(xr,He,kt)}finally{Pe(!1)}}r0=!1,He=wn;break e}He=gt;break e;case rA:qe.flags=qe.flags&-65537|128;case kO:if(wn=gt.payload,typeof wn=="function"){if(r0=!0,gt=wn.call(xr,He,kt),qe.mode&Bo){Pe(!0);try{wn.call(xr,He,kt)}finally{Pe(!1)}}r0=!1}else gt=wn;if(gt==null)break e;He=Gt({},He,gt);break e;case jO:gv=!0}}qe=B.callback,qe!==null&&(n.flags|=64,Ge&&(n.flags|=8192),Ge=b.callbacks,Ge===null?b.callbacks=[qe]:Ge.push(qe))}else Ge={lane:qe,tag:B.tag,payload:B.payload,callback:B.callback,next:null},Be===null?(re=Be=Ge,te=He):Be=Be.next=Ge,P|=qe;if(B=B.next,B===null){if(B=b.shared.pending,B===null)break;Ge=B,B=Ge.next,Ge.next=null,b.lastBaseUpdate=Ge,b.shared.pending=null}}while(!0);Be===null&&(te=He),b.baseState=te,b.firstBaseUpdate=re,b.lastBaseUpdate=Be,E===null&&(b.shared.lanes=0),Ev|=P,n.lanes=P,n.memoizedState=He}aA=null}function Ad(n,a){if(typeof n!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+n);n.call(a)}function hc(n,a){var u=n.shared.hiddenCallbacks;if(u!==null)for(n.shared.hiddenCallbacks=null,n=0;n<u.length;n++)Ad(u[n],a)}function rp(n,a){var u=n.callbacks;if(u!==null)for(n.callbacks=null,n=0;n<u.length;n++)Ad(u[n],a)}function al(n,a){var u=Cf;ue(nC,u,n),ue(o0,a,n),Cf=u|a.baseLanes}function pu(n){ue(nC,Cf,n),ue(o0,o0.current,n)}function ma(n){Cf=nC.current,Q(o0,n),Q(nC,n)}function Ut(){var n=Ie;js===null?js=[n]:js.push(n)}function nt(){var n=Ie;if(js!==null&&(lh++,js[lh]!==n)){var a=le(Ft);if(!zO.has(a)&&(zO.add(a),js!==null)){for(var u="",p=0;p<=lh;p++){var b=js[p],E=p===lh?n:b;for(b=p+1+". "+b;30>b.length;)b+=" ";b+=E+`
|
|
140
|
+
`,u+=b}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
141
|
+
|
|
142
|
+
Previous render Next render
|
|
143
|
+
------------------------------------------------------
|
|
144
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
145
|
+
`,a,u)}}}function wo(n){n==null||Lt(n)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ie,typeof n)}function _d(){var n=le(Ft);IO.has(n)||(IO.add(n),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",n))}function Xn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
146
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
147
|
+
2. You might be breaking the Rules of Hooks
|
|
148
|
+
3. You might have more than one copy of React in the same app
|
|
149
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Go(n,a){if(Mx)return!1;if(a===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ie),!1;n.length!==a.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
150
|
+
|
|
151
|
+
Previous: %s
|
|
152
|
+
Incoming: %s`,Ie,"["+a.join(", ")+"]","["+n.join(", ")+"]");for(var u=0;u<a.length&&u<n.length;u++)if(!Qe(n[u],a[u]))return!1;return!0}function Ri(n,a,u,p,b,E){yv=E,Ft=a,js=n!==null?n._debugHookTypes:null,lh=-1,Mx=n!==null&&n.type!==a.type,(Object.prototype.toString.call(u)==="[object AsyncFunction]"||Object.prototype.toString.call(u)==="[object AsyncGeneratorFunction]")&&(E=le(Ft),oA.has(E)||(oA.add(E),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",E===null?"An unknown Component":"<"+E+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,Ue.H=n!==null&&n.memoizedState!==null?uA:js!==null?HO:iA,Ty=E=(a.mode&Bo)!==Dr;var P=sA(u,p,b);if(Ty=!1,u0&&(P=mc(a,u,p,b)),E){Pe(!0);try{P=mc(a,u,p,b)}finally{Pe(!1)}}return ap(n,a),P}function ap(n,a){a._debugHookTypes=js,a.dependencies===null?ah!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:ah}):a.dependencies._debugThenableState=ah,Ue.H=lC;var u=pr!==null&&pr.next!==null;if(yv=0,js=Ie=Va=pr=Ft=null,lh=-1,n!==null&&(n.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),rC=!1,Dx=0,ah=null,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");n===null||Vl||(n=n.dependencies,n!==null&&Ql(n)&&(Vl=!0)),tC?(tC=!1,n=!0):n=!1,n&&(a=le(a)||"Unknown",UO.has(a)||oA.has(a)||(UO.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function mc(n,a,u,p){Ft=n;var b=0;do{if(u0&&(ah=null),Dx=0,u0=!1,b>=nz)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(b+=1,Mx=!1,Va=pr=null,n.updateQueue!=null){var E=n.updateQueue;E.lastEffect=null,E.events=null,E.stores=null,E.memoCache!=null&&(E.memoCache.index=0)}lh=-1,Ue.H=VO,E=sA(a,u,p)}while(u0);return E}function Co(){var n=Ue.H,a=n.useState()[0];return a=typeof a.then=="function"?vc(a):a,n=n.useState()[0],(pr!==null?pr.memoizedState:null)!==n&&(Ft.flags|=1024),a}function Al(){var n=aC!==0;return aC=0,n}function zn(n,a,u){a.updateQueue=n.updateQueue,a.flags=(a.mode&Yc)!==Dr?a.flags&-402655237:a.flags&-2053,n.lanes&=~u}function Wn(n){if(rC){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}rC=!1}yv=0,js=Va=pr=Ft=null,lh=-1,Ie=null,u0=!1,Dx=aC=0,ah=null}function wr(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Va===null?Ft.memoizedState=Va=n:Va=Va.next=n,Va}function hn(){if(pr===null){var n=Ft.alternate;n=n!==null?n.memoizedState:null}else n=pr.next;var a=Va===null?Ft.memoizedState:Va.next;if(a!==null)Va=a,pr=n;else{if(n===null)throw Ft.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");pr=n,n={memoizedState:pr.memoizedState,baseState:pr.baseState,baseQueue:pr.baseQueue,queue:pr.queue,next:null},Va===null?Ft.memoizedState=Va=n:Va=Va.next=n}return Va}function lp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vc(n){var a=Dx;return Dx+=1,ah===null&&(ah=Rd()),n=So(ah,n,a),a=Ft,(Va===null?a.memoizedState:Va.next)===null&&(a=a.alternate,Ue.H=a!==null&&a.memoizedState!==null?uA:iA),n}function Ro(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return vc(n);if(n.$$typeof===aa)return Yn(n)}throw Error("An unsupported type was passed to use(): "+String(n))}function nr(n){var a=null,u=Ft.updateQueue;if(u!==null&&(a=u.memoCache),a==null){var p=Ft.alternate;p!==null&&(p=p.updateQueue,p!==null&&(p=p.memoCache,p!=null&&(a={data:p.data.map(function(b){return b.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),u===null&&(u=lp(),Ft.updateQueue=u),u.memoCache=a,u=a.data[a.index],u===void 0||Mx)for(u=a.data[a.index]=Array(n),p=0;p<n;p++)u[p]=Ub;else u.length!==n&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",u.length,n);return a.index++,u}function bn(n,a){return typeof a=="function"?a(n):a}function tn(n,a,u){var p=wr();if(u!==void 0){var b=u(a);if(Ty){Pe(!0);try{u(a)}finally{Pe(!1)}}}else b=a;return p.memoizedState=p.baseState=b,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:b},p.queue=n,n=n.dispatch=fp.bind(null,Ft,n),[p.memoizedState,n]}function qa(n){var a=hn();return ka(a,pr,n)}function ka(n,a,u){var p=n.queue;if(p===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");p.lastRenderedReducer=u;var b=n.baseQueue,E=p.pending;if(E!==null){if(b!==null){var P=b.next;b.next=E.next,E.next=P}a.baseQueue!==b&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=b=E,p.pending=null}if(E=n.baseState,b===null)n.memoizedState=E;else{a=b.next;var B=P=null,te=null,re=a,Be=!1;do{var He=re.lane&-536870913;if(He!==re.lane?(En&He)===He:(yv&He)===He){var qe=re.revertLane;if(qe===0)te!==null&&(te=te.next={lane:0,revertLane:0,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null}),He===wy&&(Be=!0);else if((yv&qe)===qe){re=re.next,qe===wy&&(Be=!0);continue}else He={lane:0,revertLane:re.revertLane,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},te===null?(B=te=He,P=E):te=te.next=He,Ft.lanes|=qe,Ev|=qe;He=re.action,Ty&&u(E,He),E=re.hasEagerState?re.eagerState:u(E,He)}else qe={lane:He,revertLane:re.revertLane,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},te===null?(B=te=qe,P=E):te=te.next=qe,Ft.lanes|=He,Ev|=He;re=re.next}while(re!==null&&re!==a);if(te===null?P=E:te.next=B,!Qe(E,n.memoizedState)&&(Vl=!0,Be&&(u=l0,u!==null)))throw u;n.memoizedState=E,n.baseState=P,n.baseQueue=te,p.lastRenderedState=E}return b===null&&(p.lanes=0),[n.memoizedState,p.dispatch]}function Ti(n){var a=hn(),u=a.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=n;var p=u.dispatch,b=u.pending,E=a.memoizedState;if(b!==null){u.pending=null;var P=b=b.next;do E=n(E,P.action),P=P.next;while(P!==b);Qe(E,a.memoizedState)||(Vl=!0),a.memoizedState=E,a.baseQueue===null&&(a.baseState=E),u.lastRenderedState=E}return[E,p]}function _l(n,a,u){var p=Ft,b=wr();if($n){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var E=u();i0||E===u()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),i0=!0)}else{if(E=a(),i0||(u=a(),Qe(E,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),i0=!0)),br===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(En&124)!==0||bg(p,a,E)}return b.memoizedState=E,u={value:E,getSnapshot:a},b.queue=u,nm(Md.bind(null,p,u,n),[n]),p.flags|=2048,_i(Ls|gl,os(),Dd.bind(null,p,u,E,a),null),E}function op(n,a,u){var p=Ft,b=hn(),E=$n;if(E){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");u=u()}else if(u=a(),!i0){var P=a();Qe(u,P)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),i0=!0)}(P=!Qe((pr||b).memoizedState,u))&&(b.memoizedState=u,Vl=!0),b=b.queue;var B=Md.bind(null,p,b,n);if(In(2048,gl,B,[n]),b.getSnapshot!==a||P||Va!==null&&Va.memoizedState.tag&Ls){if(p.flags|=2048,_i(Ls|gl,os(),Dd.bind(null,p,b,u,a),null),br===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");E||(yv&124)!==0||bg(p,a,u)}return u}function bg(n,a,u){n.flags|=16384,n={getSnapshot:a,value:u},a=Ft.updateQueue,a===null?(a=lp(),Ft.updateQueue=a,a.stores=[n]):(u=a.stores,u===null?a.stores=[n]:u.push(n))}function Dd(n,a,u,p){a.value=u,a.getSnapshot=p,xg(a)&&hu(n)}function Md(n,a,u){return u(function(){xg(a)&&hu(n)})}function xg(n){var a=n.getSnapshot;n=n.value;try{var u=a();return!Qe(n,u)}catch{return!0}}function hu(n){var a=Na(n,2);a!==null&&Rr(a,n,2)}function mu(n){var a=wr();if(typeof n=="function"){var u=n;if(n=u(),Ty){Pe(!0);try{u()}finally{Pe(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},a}function Ai(n){n=mu(n);var a=n.queue,u=_o.bind(null,Ft,a);return a.dispatch=u,[n.memoizedState,u]}function Z(n){var a=wr();a.memoizedState=a.baseState=n;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=u,a=cm.bind(null,Ft,!0,u),u.dispatch=a,[n,a]}function Dl(n,a){var u=hn();return Jl(u,pr,n,a)}function Jl(n,a,u,p){return n.baseState=u,ka(n,pr,typeof p=="function"?p:bn)}function ll(n,a){var u=hn();return pr!==null?Jl(u,pr,n,a):(u.baseState=n,[n,u.queue.dispatch])}function nn(n,a,u,p,b){if(Pd(n))throw Error("Cannot update form state while rendering.");if(n=a.action,n!==null){var E={payload:b,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(P){E.listeners.push(P)}};Ue.T!==null?u(!0):E.isTransition=!1,p(E),u=a.pending,u===null?(E.next=a.pending=E,Od(a,E)):(E.next=u.next,a.pending=u.next=E)}}function Od(n,a){var u=a.action,p=a.payload,b=n.state;if(a.isTransition){var E=Ue.T,P={};Ue.T=P,Ue.T._updatedFibers=new Set;try{var B=u(b,p),te=Ue.S;te!==null&&te(P,B),ip(n,a,B)}catch(re){sr(n,a,re)}finally{Ue.T=E,E===null&&P._updatedFibers&&(n=P._updatedFibers.size,P._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{P=u(b,p),ip(n,a,P)}catch(re){sr(n,a,re)}}function ip(n,a,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?(u.then(function(p){ls(n,a,p)},function(p){return sr(n,a,p)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ls(n,a,u)}function ls(n,a,u){a.status="fulfilled",a.value=u,up(a),n.state=u,a=n.pending,a!==null&&(u=a.next,u===a?n.pending=null:(u=u.next,a.next=u,Od(n,u)))}function sr(n,a,u){var p=n.pending;if(n.pending=null,p!==null){p=p.next;do a.status="rejected",a.reason=u,up(a),a=a.next;while(a!==p)}n.action=null}function up(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Eg(n,a){return a}function Nd(n,a){if($n){var u=br.formState;if(u!==null){e:{var p=Ft;if($n){if(oa){t:{for(var b=oa,E=Ef;b.nodeType!==8;){if(!E){b=null;break t}if(b=xa(b.nextSibling),b===null){b=null;break t}}E=b.data,b=E===qA||E===I2?b:null}if(b){oa=xa(b.nextSibling),p=b.data===qA;break e}}Si(p)}p=!1}p&&(a=u[0])}}return u=wr(),u.memoizedState=u.baseState=a,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eg,lastRenderedState:a},u.queue=p,u=_o.bind(null,Ft,p),p.dispatch=u,p=mu(!1),E=cm.bind(null,Ft,!1,p.queue),p=wr(),b={state:a,dispatch:null,action:n,pending:null},p.queue=b,u=nn.bind(null,Ft,b,E,u),b.dispatch=u,p.memoizedState=n,[a,u,!1]}function tm(n){var a=hn();return wb(a,pr,n)}function wb(n,a,u){if(a=ka(n,a,Eg)[0],n=qa(bn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var p=vc(a)}catch(P){throw P===Ax?eC:P}else p=a;a=hn();var b=a.queue,E=b.dispatch;return u!==a.memoizedState&&(Ft.flags|=2048,_i(Ls|gl,os(),Un.bind(null,b,u),null)),[p,E,n]}function Un(n,a){n.action=a}function $d(n){var a=hn(),u=pr;if(u!==null)return wb(a,u,n);hn(),a=a.memoizedState,u=hn();var p=u.queue.dispatch;return u.memoizedState=n,[a,p,!1]}function _i(n,a,u,p){return n={tag:n,create:u,deps:p,inst:a,next:null},a=Ft.updateQueue,a===null&&(a=lp(),Ft.updateQueue=a),u=a.lastEffect,u===null?a.lastEffect=n.next=n:(p=u.next,u.next=n,n.next=p,a.lastEffect=n),n}function os(){return{destroy:void 0,resource:void 0}}function sp(n){var a=wr();return n={current:n},a.memoizedState=n}function To(n,a,u,p){var b=wr();p=p===void 0?null:p,Ft.flags|=n,b.memoizedState=_i(Ls|a,os(),u,p)}function In(n,a,u,p){var b=hn();p=p===void 0?null:p;var E=b.memoizedState.inst;pr!==null&&p!==null&&Go(p,pr.memoizedState.deps)?b.memoizedState=_i(a,E,u,p):(Ft.flags|=n,b.memoizedState=_i(Ls|a,E,u,p))}function nm(n,a){(Ft.mode&Yc)!==Dr&&(Ft.mode&TO)===Dr?To(276826112,gl,n,a):To(8390656,gl,n,a)}function rm(n,a){var u=4194308;return(Ft.mode&Yc)!==Dr&&(u|=134217728),To(u,uo,n,a)}function Cb(n,a){if(typeof a=="function"){n=n();var u=a(n);return function(){typeof u=="function"?u():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),n=n(),a.current=n,function(){a.current=null}}function am(n,a,u){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),u=u!=null?u.concat([n]):null;var p=4194308;(Ft.mode&Yc)!==Dr&&(p|=134217728),To(p,uo,Cb.bind(null,a,n),u)}function Di(n,a,u){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),u=u!=null?u.concat([n]):null,In(4,uo,Cb.bind(null,a,n),u)}function Yo(n,a){return wr().memoizedState=[n,a===void 0?null:a],n}function gc(n,a){var u=hn();a=a===void 0?null:a;var p=u.memoizedState;return a!==null&&Go(a,p[1])?p[0]:(u.memoizedState=[n,a],n)}function lm(n,a){var u=wr();a=a===void 0?null:a;var p=n();if(Ty){Pe(!0);try{n()}finally{Pe(!1)}}return u.memoizedState=[p,a],p}function ta(n,a){var u=hn();a=a===void 0?null:a;var p=u.memoizedState;if(a!==null&&Go(a,p[1]))return p[0];if(p=n(),Ty){Pe(!0);try{n()}finally{Pe(!1)}}return u.memoizedState=[p,a],p}function om(n,a){var u=wr();return um(u,n,a)}function cp(n,a){var u=hn();return dp(u,pr.memoizedState,n,a)}function im(n,a){var u=hn();return pr===null?um(u,n,a):dp(u,pr.memoizedState,n,a)}function um(n,a,u){return u===void 0||(yv&1073741824)!==0?n.memoizedState=a:(n.memoizedState=u,n=Og(),Ft.lanes|=n,Ev|=n,u)}function dp(n,a,u,p){return Qe(u,a)?u:o0.current!==null?(n=um(n,u,p),Qe(n,a)||(Vl=!0),n):(yv&42)===0?(Vl=!0,n.memoizedState=u):(n=Og(),Ft.lanes|=n,Ev|=n,a)}function sm(n,a,u,p,b){var E=Pt.p;Pt.p=E!==0&&E<Yt?E:Yt;var P=Ue.T,B={};Ue.T=B,cm(n,!1,a,u),B._updatedFibers=new Set;try{var te=b(),re=Ue.S;if(re!==null&&re(B,te),te!==null&&typeof te=="object"&&typeof te.then=="function"){var Be=Zl(te,p);Lr(n,a,Be,kl(n))}else Lr(n,a,p,kl(n))}catch(He){Lr(n,a,{then:function(){},status:"rejected",reason:He},kl(n))}finally{Pt.p=E,Ue.T=P,P===null&&B._updatedFibers&&(n=B._updatedFibers.size,B._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function is(n,a,u,p){if(n.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var b=Sg(n).queue;sm(n,b,a,Ly,u===null?S:function(){return wg(n),u(p)})}function Sg(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:Ly,baseState:Ly,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:Ly},next:null};var u={};return a.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:u},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function wg(n){Ue.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var a=Sg(n).next.queue;Lr(n,a,{},kl(n))}function Ao(){var n=mu(!1);return n=sm.bind(null,Ft,n.queue,!0,!1),wr().memoizedState=n,[!1,n]}function us(){var n=qa(bn)[0],a=hn().memoizedState;return[typeof n=="boolean"?n:vc(n),a]}function yc(){var n=Ti(bn)[0],a=hn().memoizedState;return[typeof n=="boolean"?n:vc(n),a]}function Ml(){return Yn(Gx)}function Xo(){var n=wr(),a=br.identifierPrefix;if($n){var u=nh,p=th;u=(p&~(1<<32-fr(p)-1)).toString(32)+u,a="«"+a+"R"+u,u=aC++,0<u&&(a+="H"+u.toString(32)),a+="»"}else u=tz++,a="«"+a+"r"+u.toString(32)+"»";return n.memoizedState=a}function bc(){return wr().memoizedState=Wo.bind(null,Ft)}function Wo(n,a){for(var u=n.return;u!==null;){switch(u.tag){case 24:case 3:var p=kl(u);n=Ci(p);var b=Tl(u,n,p);b!==null&&(Rr(b,u,p),rl(b,u,p)),u=np(),a!=null&&b!==null&&console.error("The seed argument is not enabled outside experimental channels."),n.payload={cache:u};return}u=u.return}}function fp(n,a,u){var p=arguments;typeof p[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),p=kl(n);var b={lane:p,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};Pd(n)?ss(a,b):(b=sg(n,a,b,p),b!==null&&(Rr(b,n,p),vu(b,a,p))),lt(n,p)}function _o(n,a,u){var p=arguments;typeof p[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),p=kl(n),Lr(n,a,u,p),lt(n,p)}function Lr(n,a,u,p){var b={lane:p,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(Pd(n))ss(a,b);else{var E=n.alternate;if(n.lanes===0&&(E===null||E.lanes===0)&&(E=a.lastRenderedReducer,E!==null)){var P=Ue.H;Ue.H=Wc;try{var B=a.lastRenderedState,te=E(B,u);if(b.hasEagerState=!0,b.eagerState=te,Qe(te,B))return xd(n,a,b,0),br===null&&vo(),!1}catch{}finally{Ue.H=P}}if(u=sg(n,a,b,p),u!==null)return Rr(u,n,p),vu(u,a,p),!0}return!1}function cm(n,a,u,p){if(Ue.T===null&&wy===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),p={lane:2,revertLane:Pg(),action:p,hasEagerState:!1,eagerState:null,next:null},Pd(n)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=sg(n,u,p,2),a!==null&&Rr(a,n,2);lt(n,2)}function Pd(n){var a=n.alternate;return n===Ft||a!==null&&a===Ft}function ss(n,a){u0=rC=!0;var u=n.pending;u===null?a.next=a:(a.next=u.next,u.next=a),n.pending=a}function vu(n,a,u){if((u&4194048)!==0){var p=a.lanes;p&=n.pendingLanes,u|=p,a.lanes=u,mt(n,u)}}function rr(n){var a=cn;return n!=null&&(cn=a===null?n:a.concat(n)),a}function xc(n,a,u){for(var p=Object.keys(n.props),b=0;b<p.length;b++){var E=p[b];if(E!=="children"&&E!=="key"){a===null&&(a=Zf(n,u.mode,0),a._debugInfo=cn,a.return=u),ht(a,function(P){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P)},E);break}}}function qd(n){var a=Ox;return Ox+=1,s0===null&&(s0=Rd()),So(s0,n,a)}function ol(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function It(n,a){throw a.$$typeof===Hp?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
153
|
+
- Multiple copies of the "react" package is used.
|
|
154
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
155
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(n=Object.prototype.toString.call(a),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead."))}function Cn(n,a){var u=le(n)||"Component";l2[u]||(l2[u]=!0,a=a.displayName||a.name||"Component",n.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
156
|
+
root.render(%s)`,a,a,a):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
157
|
+
<%s>{%s}</%s>`,a,a,u,a,u))}function Zt(n,a){var u=le(n)||"Component";o2[u]||(o2[u]=!0,a=String(a),n.tag===3?console.error(`Symbols are not valid as a React child.
|
|
158
|
+
root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
|
|
159
|
+
<%s>%s</%s>`,u,a,u))}function Ec(n){function a(pe,he){if(n){var Se=pe.deletions;Se===null?(pe.deletions=[he],pe.flags|=16):Se.push(he)}}function u(pe,he){if(!n)return null;for(;he!==null;)a(pe,he),he=he.sibling;return null}function p(pe){for(var he=new Map;pe!==null;)pe.key!==null?he.set(pe.key,pe):he.set(pe.index,pe),pe=pe.sibling;return he}function b(pe,he){return pe=go(pe,he),pe.index=0,pe.sibling=null,pe}function E(pe,he,Se){return pe.index=Se,n?(Se=pe.alternate,Se!==null?(Se=Se.index,Se<he?(pe.flags|=67108866,he):Se):(pe.flags|=67108866,he)):(pe.flags|=1048576,he)}function P(pe){return n&&pe.alternate===null&&(pe.flags|=67108866),pe}function B(pe,he,Se,Xe){return he===null||he.tag!==6?(he=Ei(Se,pe.mode,Xe),he.return=pe,he._debugOwner=pe,he._debugTask=pe._debugTask,he._debugInfo=cn,he):(he=b(he,Se),he.return=pe,he._debugInfo=cn,he)}function te(pe,he,Se,Xe){var ut=Se.type;return ut===Vt?(he=Be(pe,he,Se.props.children,Xe,Se.key),xc(Se,he,pe),he):he!==null&&(he.elementType===ut||Yf(he,Se)||typeof ut=="object"&&ut!==null&&ut.$$typeof===ao&&bv(ut)===he.type)?(he=b(he,Se.props),ol(he,Se),he.return=pe,he._debugOwner=Se._owner,he._debugInfo=cn,he):(he=Zf(Se,pe.mode,Xe),ol(he,Se),he.return=pe,he._debugInfo=cn,he)}function re(pe,he,Se,Xe){return he===null||he.tag!==4||he.stateNode.containerInfo!==Se.containerInfo||he.stateNode.implementation!==Se.implementation?(he=cg(Se,pe.mode,Xe),he.return=pe,he._debugInfo=cn,he):(he=b(he,Se.children||[]),he.return=pe,he._debugInfo=cn,he)}function Be(pe,he,Se,Xe,ut){return he===null||he.tag!==7?(he=xi(Se,pe.mode,Xe,ut),he.return=pe,he._debugOwner=pe,he._debugTask=pe._debugTask,he._debugInfo=cn,he):(he=b(he,Se),he.return=pe,he._debugInfo=cn,he)}function He(pe,he,Se){if(typeof he=="string"&&he!==""||typeof he=="number"||typeof he=="bigint")return he=Ei(""+he,pe.mode,Se),he.return=pe,he._debugOwner=pe,he._debugTask=pe._debugTask,he._debugInfo=cn,he;if(typeof he=="object"&&he!==null){switch(he.$$typeof){case Ts:return Se=Zf(he,pe.mode,Se),ol(Se,he),Se.return=pe,pe=rr(he._debugInfo),Se._debugInfo=cn,cn=pe,Se;case Bc:return he=cg(he,pe.mode,Se),he.return=pe,he._debugInfo=cn,he;case ao:var Xe=rr(he._debugInfo);return he=bv(he),pe=He(pe,he,Se),cn=Xe,pe}if(Lt(he)||H(he))return Se=xi(he,pe.mode,Se,null),Se.return=pe,Se._debugOwner=pe,Se._debugTask=pe._debugTask,pe=rr(he._debugInfo),Se._debugInfo=cn,cn=pe,Se;if(typeof he.then=="function")return Xe=rr(he._debugInfo),pe=He(pe,qd(he),Se),cn=Xe,pe;if(he.$$typeof===aa)return He(pe,tp(pe,he),Se);It(pe,he)}return typeof he=="function"&&Cn(pe,he),typeof he=="symbol"&&Zt(pe,he),null}function qe(pe,he,Se,Xe){var ut=he!==null?he.key:null;if(typeof Se=="string"&&Se!==""||typeof Se=="number"||typeof Se=="bigint")return ut!==null?null:B(pe,he,""+Se,Xe);if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case Ts:return Se.key===ut?(ut=rr(Se._debugInfo),pe=te(pe,he,Se,Xe),cn=ut,pe):null;case Bc:return Se.key===ut?re(pe,he,Se,Xe):null;case ao:return ut=rr(Se._debugInfo),Se=bv(Se),pe=qe(pe,he,Se,Xe),cn=ut,pe}if(Lt(Se)||H(Se))return ut!==null?null:(ut=rr(Se._debugInfo),pe=Be(pe,he,Se,Xe,null),cn=ut,pe);if(typeof Se.then=="function")return ut=rr(Se._debugInfo),pe=qe(pe,he,qd(Se),Xe),cn=ut,pe;if(Se.$$typeof===aa)return qe(pe,he,tp(pe,Se),Xe);It(pe,Se)}return typeof Se=="function"&&Cn(pe,Se),typeof Se=="symbol"&&Zt(pe,Se),null}function Ge(pe,he,Se,Xe,ut){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number"||typeof Xe=="bigint")return pe=pe.get(Se)||null,B(he,pe,""+Xe,ut);if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case Ts:return Se=pe.get(Xe.key===null?Se:Xe.key)||null,pe=rr(Xe._debugInfo),he=te(he,Se,Xe,ut),cn=pe,he;case Bc:return pe=pe.get(Xe.key===null?Se:Xe.key)||null,re(he,pe,Xe,ut);case ao:var Wt=rr(Xe._debugInfo);return Xe=bv(Xe),he=Ge(pe,he,Se,Xe,ut),cn=Wt,he}if(Lt(Xe)||H(Xe))return Se=pe.get(Se)||null,pe=rr(Xe._debugInfo),he=Be(he,Se,Xe,ut,null),cn=pe,he;if(typeof Xe.then=="function")return Wt=rr(Xe._debugInfo),he=Ge(pe,he,Se,qd(Xe),ut),cn=Wt,he;if(Xe.$$typeof===aa)return Ge(pe,he,Se,tp(he,Xe),ut);It(he,Xe)}return typeof Xe=="function"&&Cn(he,Xe),typeof Xe=="symbol"&&Zt(he,Xe),null}function gt(pe,he,Se,Xe){if(typeof Se!="object"||Se===null)return Xe;switch(Se.$$typeof){case Ts:case Bc:m(pe,he,Se);var ut=Se.key;if(typeof ut!="string")break;if(Xe===null){Xe=new Set,Xe.add(ut);break}if(!Xe.has(ut)){Xe.add(ut);break}ht(he,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",ut)});break;case ao:Se=bv(Se),gt(pe,he,Se,Xe)}return Xe}function kt(pe,he,Se,Xe){for(var ut=null,Wt=null,yt=null,Qt=he,en=he=0,Mr=null;Qt!==null&&en<Se.length;en++){Qt.index>en?(Mr=Qt,Qt=null):Mr=Qt.sibling;var Ra=qe(pe,Qt,Se[en],Xe);if(Ra===null){Qt===null&&(Qt=Mr);break}ut=gt(pe,Ra,Se[en],ut),n&&Qt&&Ra.alternate===null&&a(pe,Qt),he=E(Ra,he,en),yt===null?Wt=Ra:yt.sibling=Ra,yt=Ra,Qt=Mr}if(en===Se.length)return u(pe,Qt),$n&&ns(pe,en),Wt;if(Qt===null){for(;en<Se.length;en++)Qt=He(pe,Se[en],Xe),Qt!==null&&(ut=gt(pe,Qt,Se[en],ut),he=E(Qt,he,en),yt===null?Wt=Qt:yt.sibling=Qt,yt=Qt);return $n&&ns(pe,en),Wt}for(Qt=p(Qt);en<Se.length;en++)Mr=Ge(Qt,pe,en,Se[en],Xe),Mr!==null&&(ut=gt(pe,Mr,Se[en],ut),n&&Mr.alternate!==null&&Qt.delete(Mr.key===null?en:Mr.key),he=E(Mr,he,en),yt===null?Wt=Mr:yt.sibling=Mr,yt=Mr);return n&&Qt.forEach(function(dh){return a(pe,dh)}),$n&&ns(pe,en),Wt}function xr(pe,he,Se,Xe){if(Se==null)throw Error("An iterable object provided no iterator.");for(var ut=null,Wt=null,yt=he,Qt=he=0,en=null,Mr=null,Ra=Se.next();yt!==null&&!Ra.done;Qt++,Ra=Se.next()){yt.index>Qt?(en=yt,yt=null):en=yt.sibling;var dh=qe(pe,yt,Ra.value,Xe);if(dh===null){yt===null&&(yt=en);break}Mr=gt(pe,dh,Ra.value,Mr),n&&yt&&dh.alternate===null&&a(pe,yt),he=E(dh,he,Qt),Wt===null?ut=dh:Wt.sibling=dh,Wt=dh,yt=en}if(Ra.done)return u(pe,yt),$n&&ns(pe,Qt),ut;if(yt===null){for(;!Ra.done;Qt++,Ra=Se.next())yt=He(pe,Ra.value,Xe),yt!==null&&(Mr=gt(pe,yt,Ra.value,Mr),he=E(yt,he,Qt),Wt===null?ut=yt:Wt.sibling=yt,Wt=yt);return $n&&ns(pe,Qt),ut}for(yt=p(yt);!Ra.done;Qt++,Ra=Se.next())en=Ge(yt,pe,Qt,Ra.value,Xe),en!==null&&(Mr=gt(pe,en,Ra.value,Mr),n&&en.alternate!==null&&yt.delete(en.key===null?Qt:en.key),he=E(en,he,Qt),Wt===null?ut=en:Wt.sibling=en,Wt=en);return n&&yt.forEach(function(_z){return a(pe,_z)}),$n&&ns(pe,Qt),ut}function wn(pe,he,Se,Xe){if(typeof Se=="object"&&Se!==null&&Se.type===Vt&&Se.key===null&&(xc(Se,null,pe),Se=Se.props.children),typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case Ts:var ut=rr(Se._debugInfo);e:{for(var Wt=Se.key;he!==null;){if(he.key===Wt){if(Wt=Se.type,Wt===Vt){if(he.tag===7){u(pe,he.sibling),Xe=b(he,Se.props.children),Xe.return=pe,Xe._debugOwner=Se._owner,Xe._debugInfo=cn,xc(Se,Xe,pe),pe=Xe;break e}}else if(he.elementType===Wt||Yf(he,Se)||typeof Wt=="object"&&Wt!==null&&Wt.$$typeof===ao&&bv(Wt)===he.type){u(pe,he.sibling),Xe=b(he,Se.props),ol(Xe,Se),Xe.return=pe,Xe._debugOwner=Se._owner,Xe._debugInfo=cn,pe=Xe;break e}u(pe,he);break}else a(pe,he);he=he.sibling}Se.type===Vt?(Xe=xi(Se.props.children,pe.mode,Xe,Se.key),Xe.return=pe,Xe._debugOwner=pe,Xe._debugTask=pe._debugTask,Xe._debugInfo=cn,xc(Se,Xe,pe),pe=Xe):(Xe=Zf(Se,pe.mode,Xe),ol(Xe,Se),Xe.return=pe,Xe._debugInfo=cn,pe=Xe)}return pe=P(pe),cn=ut,pe;case Bc:e:{for(ut=Se,Se=ut.key;he!==null;){if(he.key===Se)if(he.tag===4&&he.stateNode.containerInfo===ut.containerInfo&&he.stateNode.implementation===ut.implementation){u(pe,he.sibling),Xe=b(he,ut.children||[]),Xe.return=pe,pe=Xe;break e}else{u(pe,he);break}else a(pe,he);he=he.sibling}Xe=cg(ut,pe.mode,Xe),Xe.return=pe,pe=Xe}return P(pe);case ao:return ut=rr(Se._debugInfo),Se=bv(Se),pe=wn(pe,he,Se,Xe),cn=ut,pe}if(Lt(Se))return ut=rr(Se._debugInfo),pe=kt(pe,he,Se,Xe),cn=ut,pe;if(H(Se)){if(ut=rr(Se._debugInfo),Wt=H(Se),typeof Wt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var yt=Wt.call(Se);return yt===Se?(pe.tag!==0||Object.prototype.toString.call(pe.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(yt)!=="[object Generator]")&&(r2||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),r2=!0):Se.entries!==Wt||dA||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),dA=!0),pe=xr(pe,he,yt,Xe),cn=ut,pe}if(typeof Se.then=="function")return ut=rr(Se._debugInfo),pe=wn(pe,he,qd(Se),Xe),cn=ut,pe;if(Se.$$typeof===aa)return wn(pe,he,tp(pe,Se),Xe);It(pe,Se)}return typeof Se=="string"&&Se!==""||typeof Se=="number"||typeof Se=="bigint"?(ut=""+Se,he!==null&&he.tag===6?(u(pe,he.sibling),Xe=b(he,ut),Xe.return=pe,pe=Xe):(u(pe,he),Xe=Ei(ut,pe.mode,Xe),Xe.return=pe,Xe._debugOwner=pe,Xe._debugTask=pe._debugTask,Xe._debugInfo=cn,pe=Xe),P(pe)):(typeof Se=="function"&&Cn(pe,Se),typeof Se=="symbol"&&Zt(pe,Se),u(pe,he))}return function(pe,he,Se,Xe){var ut=cn;cn=null;try{Ox=0;var Wt=wn(pe,he,Se,Xe);return s0=null,Wt}catch(Mr){if(Mr===Ax||Mr===eC)throw Mr;var yt=R(29,Mr,null,pe.mode);yt.lanes=Xe,yt.return=pe;var Qt=yt._debugInfo=cn;if(yt._debugOwner=pe._debugOwner,yt._debugTask=pe._debugTask,Qt!=null){for(var en=Qt.length-1;0<=en;en--)if(typeof Qt[en].stack=="string"){yt._debugOwner=Qt[en],yt._debugTask=Qt[en].debugTask;break}}return yt}finally{cn=ut}}}function Ol(n){var a=n.alternate;ue(yl,yl.current&d0,n),ue(Bs,n,n),wf===null&&(a===null||o0.current!==null||a.memoizedState!==null)&&(wf=n)}function va(n){if(n.tag===22){if(ue(yl,yl.current,n),ue(Bs,n,n),wf===null){var a=n.alternate;a!==null&&a.memoizedState!==null&&(wf=n)}}else eo(n)}function eo(n){ue(yl,yl.current,n),ue(Bs,Bs.current,n)}function La(n){Q(Bs,n),wf===n&&(wf=null),Q(yl,n)}function il(n){for(var a=n;a!==null;){if(a.tag===13){var u=a.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data===uh||Vi(u)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function dm(n){if(n!==null&&typeof n!="function"){var a=String(n);y2.has(a)||(y2.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",n))}}function ln(n,a,u,p){var b=n.memoizedState,E=u(p,b);if(n.mode&Bo){Pe(!0);try{E=u(p,b)}finally{Pe(!1)}}E===void 0&&(a=V(a)||"Component",h2.has(a)||(h2.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),b=E==null?b:Gt({},b,E),n.memoizedState=b,n.lanes===0&&(n.updateQueue.baseState=b)}function kd(n,a,u,p,b,E,P){var B=n.stateNode;if(typeof B.shouldComponentUpdate=="function"){if(u=B.shouldComponentUpdate(p,E,P),n.mode&Bo){Pe(!0);try{u=B.shouldComponentUpdate(p,E,P)}finally{Pe(!1)}}return u===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",V(a)||"Component"),u}return a.prototype&&a.prototype.isPureReactComponent?!bd(u,p)||!bd(b,E):!0}function fm(n,a,u,p){var b=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(u,p),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(u,p),a.state!==b&&(n=le(n)||"Component",s2.has(n)||(s2.add(n),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n)),fA.enqueueReplaceState(a,a.state,null))}function cs(n,a){var u=a;if("ref"in a){u={};for(var p in a)p!=="ref"&&(u[p]=a[p])}if(n=n.defaultProps){u===a&&(u=Gt({},u));for(var b in n)u[b]===void 0&&(u[b]=n[b])}return u}function Cg(n){pA(n),console.warn(`%s
|
|
160
|
+
|
|
161
|
+
%s
|
|
162
|
+
`,f0?"An error occurred in the <"+f0+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
163
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function pm(n){var a=f0?"The above error occurred in the <"+f0+"> component.":"The above error occurred in one of your React components.",u="React will try to recreate this component tree from scratch using the error boundary you provided, "+((hA||"Anonymous")+".");if(typeof n=="object"&&n!==null&&typeof n.environmentName=="string"){var p=n.environmentName;n=[`%o
|
|
164
|
+
|
|
165
|
+
%s
|
|
166
|
+
|
|
167
|
+
%s
|
|
168
|
+
`,n,a,u].slice(0),typeof n[0]=="string"?n.splice(0,1,W2+n[0],Q2,CC+p+CC,Z2):n.splice(0,0,W2,Q2,CC+p+CC,Z2),n.unshift(console),p=Tz.apply(console.error,n),p()}else console.error(`%o
|
|
169
|
+
|
|
170
|
+
%s
|
|
171
|
+
|
|
172
|
+
%s
|
|
173
|
+
`,n,a,u)}function hm(n){pA(n)}function Mi(n,a){try{f0=a.source?le(a.source):null,hA=null;var u=a.value;if(Ue.actQueue!==null)Ue.thrownErrors.push(u);else{var p=n.onUncaughtError;p(u,{componentStack:a.stack})}}catch(b){setTimeout(function(){throw b})}}function pp(n,a,u){try{f0=u.source?le(u.source):null,hA=le(a);var p=n.onCaughtError;p(u.value,{componentStack:u.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function ja(n,a,u){return u=Ci(u),u.tag=rA,u.payload={element:null},u.callback=function(){ht(a.source,Mi,n,a)},u}function Cr(n){return n=Ci(n),n.tag=rA,n}function gu(n,a,u,p){var b=u.type.getDerivedStateFromError;if(typeof b=="function"){var E=p.value;n.payload=function(){return b(E)},n.callback=function(){cc(u),ht(p.source,pp,a,u,p)}}var P=u.stateNode;P!==null&&typeof P.componentDidCatch=="function"&&(n.callback=function(){cc(u),ht(p.source,pp,a,u,p),typeof b!="function"&&(wv===null?wv=new Set([this]):wv.add(this)),rz(this,p),typeof b=="function"||(u.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",le(u)||"Unknown")})}function hp(n,a,u,p,b){if(u.flags|=32768,yr&&bs(n,b),p!==null&&typeof p=="object"&&typeof p.then=="function"){if(a=u.alternate,a!==null&&ha(a,u,b,!0),$n&&(rh=!0),u=Bs.current,u!==null){switch(u.tag){case 13:return wf===null?ki():u.alternate===null&&ia===ih&&(ia=yA),u.flags&=-257,u.flags|=65536,u.lanes=b,p===nA?u.flags|=16384:(a=u.updateQueue,a===null?u.updateQueue=new Set([p]):a.add(p),km(n,p,b)),!1;case 22:return u.flags|=65536,p===nA?u.flags|=16384:(a=u.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([p])},u.updateQueue=a):(u=a.retryQueue,u===null?a.retryQueue=new Set([p]):u.add(p)),km(n,p,b)),!1}throw Error("Unexpected Suspense handler tag ("+u.tag+"). This is a bug in React.")}return km(n,p,b),ki(),!1}if($n)return rh=!0,a=Bs.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=b,p!==ZT&&wd(dn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:p}),u))):(p!==ZT&&wd(dn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:p}),u)),n=n.current.alternate,n.flags|=65536,b&=-b,n.lanes|=b,p=dn(p,u),b=ja(n.stateNode,p,b),du(n,b),ia!==Ay&&(ia=v0)),!1;var E=dn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:p}),u);if(Bx===null?Bx=[E]:Bx.push(E),ia!==Ay&&(ia=v0),a===null)return!0;p=dn(p,u),u=a;do{switch(u.tag){case 3:return u.flags|=65536,n=b&-b,u.lanes|=n,n=ja(u.stateNode,p,n),du(u,n),!1;case 1:if(a=u.type,E=u.stateNode,(u.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(wv===null||!wv.has(E))))return u.flags|=65536,b&=-b,u.lanes|=b,b=Cr(b),gu(b,n,u,p),du(u,b),!1}u=u.return}while(u!==null);return!1}function jr(n,a,u,p){a.child=n===null?i2(a,null,u,p):c0(a,n.child,u,p)}function Ld(n,a,u,p,b){u=u.render;var E=a.ref;if("ref"in p){var P={};for(var B in p)B!=="ref"&&(P[B]=p[B])}else P=p;return ea(a),oe(a),p=Ri(n,a,u,P,E,b),B=Al(),je(),n!==null&&!Vl?(zn(n,a,b),Do(n,a,b)):($n&&B&&Sd(a),a.flags|=1,jr(n,a,p,b),a.child)}function Qo(n,a,u,p,b){if(n===null){var E=u.type;return typeof E=="function"&&!Qh(E)&&E.defaultProps===void 0&&u.compare===null?(u=sc(E),a.tag=15,a.type=u,gp(a,E),mp(n,a,u,p,b)):(n=Qf(u.type,null,p,a,a.mode,b),n.ref=a.ref,n.return=a,a.child=n)}if(E=n.child,!xm(n,b)){var P=E.memoizedProps;if(u=u.compare,u=u!==null?u:bd,u(P,p)&&n.ref===a.ref)return Do(n,a,b)}return a.flags|=1,n=go(E,p),n.ref=a.ref,n.return=a,a.child=n}function mp(n,a,u,p,b){if(n!==null){var E=n.memoizedProps;if(bd(E,p)&&n.ref===a.ref&&a.type===n.type)if(Vl=!1,a.pendingProps=p=E,xm(n,b))(n.flags&131072)!==0&&(Vl=!0);else return a.lanes=n.lanes,Do(n,a,b)}return Bd(n,a,u,p,b)}function mm(n,a,u){var p=a.pendingProps,b=p.children,E=n!==null?n.memoizedState:null;if(p.mode==="hidden"){if((a.flags&128)!==0){if(p=E!==null?E.baseLanes|u:u,n!==null){for(b=a.child=n.child,E=0;b!==null;)E=E|b.lanes|b.childLanes,b=b.sibling;a.childLanes=E&~p}else a.childLanes=0,a.child=null;return vm(n,a,p,u)}if((u&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Jh(a,E!==null?E.cachePool:null),E!==null?al(a,E):pu(a),va(a);else return a.lanes=a.childLanes=536870912,vm(n,a,E!==null?E.baseLanes|u:u,u)}else E!==null?(Jh(a,E.cachePool),al(a,E),eo(a),a.memoizedState=null):(n!==null&&Jh(a,null),pu(a),eo(a));return jr(n,a,b,u),a.child}function vm(n,a,u,p){var b=Cd();return b=b===null?null:{parent:vl._currentValue,pool:b},a.memoizedState={baseLanes:u,cachePool:b},n!==null&&Jh(a,null),pu(a),va(a),n!==null&&ha(n,a,p,!0),null}function jd(n,a){var u=a.ref;if(u===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(n===null||n.ref!==u)&&(a.flags|=4194816)}}function Bd(n,a,u,p,b){if(u.prototype&&typeof u.prototype.render=="function"){var E=V(u)||"Unknown";x2[E]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",E,E),x2[E]=!0)}return a.mode&Bo&&Xc.recordLegacyContextWarning(a,null),n===null&&(gp(a,a.type),u.contextTypes&&(E=V(u)||"Unknown",S2[E]||(S2[E]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",E)))),ea(a),oe(a),u=Ri(n,a,u,p,void 0,b),p=Al(),je(),n!==null&&!Vl?(zn(n,a,b),Do(n,a,b)):($n&&p&&Sd(a),a.flags|=1,jr(n,a,u,b),a.child)}function Rg(n,a,u,p,b,E){return ea(a),oe(a),lh=-1,Mx=n!==null&&n.type!==a.type,a.updateQueue=null,u=mc(a,p,u,b),ap(n,a),p=Al(),je(),n!==null&&!Vl?(zn(n,a,E),Do(n,a,E)):($n&&p&&Sd(a),a.flags|=1,jr(n,a,u,E),a.child)}function vp(n,a,u,p,b){switch(h(a)){case!1:var E=a.stateNode,P=new a.type(a.memoizedProps,E.context).state;E.updater.enqueueSetState(E,P,null);break;case!0:a.flags|=128,a.flags|=65536,E=Error("Simulated error coming from DevTools");var B=b&-b;if(a.lanes|=B,P=br,P===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=Cr(B),gu(B,P,a,dn(E,a)),du(a,B)}if(ea(a),a.stateNode===null){if(P=vv,E=u.contextType,"contextType"in u&&E!==null&&(E===void 0||E.$$typeof!==aa)&&!g2.has(u)&&(g2.add(u),B=E===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof E!="object"?" However, it is set to a "+typeof E+".":E.$$typeof===rv?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",V(u)||"Component",B)),typeof E=="object"&&E!==null&&(P=Yn(E)),E=new u(p,P),a.mode&Bo){Pe(!0);try{E=new u(p,P)}finally{Pe(!1)}}if(P=a.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,E.updater=fA,a.stateNode=E,E._reactInternals=a,E._reactInternalInstance=u2,typeof u.getDerivedStateFromProps=="function"&&P===null&&(P=V(u)||"Component",c2.has(P)||(c2.add(P),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",P,E.state===null?"null":"undefined",P))),typeof u.getDerivedStateFromProps=="function"||typeof E.getSnapshotBeforeUpdate=="function"){var te=B=P=null;if(typeof E.componentWillMount=="function"&&E.componentWillMount.__suppressDeprecationWarning!==!0?P="componentWillMount":typeof E.UNSAFE_componentWillMount=="function"&&(P="UNSAFE_componentWillMount"),typeof E.componentWillReceiveProps=="function"&&E.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof E.UNSAFE_componentWillReceiveProps=="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof E.componentWillUpdate=="function"&&E.componentWillUpdate.__suppressDeprecationWarning!==!0?te="componentWillUpdate":typeof E.UNSAFE_componentWillUpdate=="function"&&(te="UNSAFE_componentWillUpdate"),P!==null||B!==null||te!==null){E=V(u)||"Component";var re=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";f2.has(E)||(f2.add(E),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
174
|
+
|
|
175
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
176
|
+
|
|
177
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
178
|
+
https://react.dev/link/unsafe-component-lifecycles`,E,re,P!==null?`
|
|
179
|
+
`+P:"",B!==null?`
|
|
180
|
+
`+B:"",te!==null?`
|
|
181
|
+
`+te:""))}}E=a.stateNode,P=V(u)||"Component",E.render||(u.prototype&&typeof u.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",P):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",P)),!E.getInitialState||E.getInitialState.isReactClassApproved||E.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",P),E.getDefaultProps&&!E.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",P),E.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",P),u.childContextTypes&&!v2.has(u)&&(v2.add(u),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",P)),u.contextTypes&&!m2.has(u)&&(m2.add(u),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",P)),typeof E.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",P),u.prototype&&u.prototype.isPureReactComponent&&typeof E.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",V(u)||"A pure component"),typeof E.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",P),typeof E.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",P),typeof E.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",P),typeof E.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",P),B=E.props!==p,E.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",P),E.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",P,P),typeof E.getSnapshotBeforeUpdate!="function"||typeof E.componentDidUpdate=="function"||d2.has(u)||(d2.add(u),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",V(u))),typeof E.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",P),typeof E.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",P),typeof u.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",P),(B=E.state)&&(typeof B!="object"||Lt(B))&&console.error("%s.state: must be set to an object or null",P),typeof E.getChildContext=="function"&&typeof u.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",P),E=a.stateNode,E.props=p,E.state=a.memoizedState,E.refs={},Rl(a),P=u.contextType,E.context=typeof P=="object"&&P!==null?Yn(P):vv,E.state===p&&(P=V(u)||"Component",p2.has(P)||(p2.add(P),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",P))),a.mode&Bo&&Xc.recordLegacyContextWarning(a,E),Xc.recordUnsafeLifecycleWarnings(a,E),E.state=a.memoizedState,P=u.getDerivedStateFromProps,typeof P=="function"&&(ln(a,u,P,p),E.state=a.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof E.getSnapshotBeforeUpdate=="function"||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(P=E.state,typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount(),P!==E.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",le(a)||"Component"),fA.enqueueReplaceState(E,E.state,null)),fu(a,p,E,b),Ko(),E.state=a.memoizedState),typeof E.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Yc)!==Dr&&(a.flags|=134217728),E=!0}else if(n===null){E=a.stateNode;var Be=a.memoizedProps;B=cs(u,Be),E.props=B;var He=E.context;te=u.contextType,P=vv,typeof te=="object"&&te!==null&&(P=Yn(te)),re=u.getDerivedStateFromProps,te=typeof re=="function"||typeof E.getSnapshotBeforeUpdate=="function",Be=a.pendingProps!==Be,te||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(Be||He!==P)&&fm(a,E,p,P),gv=!1;var qe=a.memoizedState;E.state=qe,fu(a,p,E,b),Ko(),He=a.memoizedState,Be||qe!==He||gv?(typeof re=="function"&&(ln(a,u,re,p),He=a.memoizedState),(B=gv||kd(a,u,B,p,qe,He,P))?(te||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Yc)!==Dr&&(a.flags|=134217728)):(typeof E.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Yc)!==Dr&&(a.flags|=134217728),a.memoizedProps=p,a.memoizedState=He),E.props=p,E.state=He,E.context=P,E=B):(typeof E.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Yc)!==Dr&&(a.flags|=134217728),E=!1)}else{E=a.stateNode,as(n,a),P=a.memoizedProps,te=cs(u,P),E.props=te,re=a.pendingProps,qe=E.context,He=u.contextType,B=vv,typeof He=="object"&&He!==null&&(B=Yn(He)),Be=u.getDerivedStateFromProps,(He=typeof Be=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(P!==re||qe!==B)&&fm(a,E,p,B),gv=!1,qe=a.memoizedState,E.state=qe,fu(a,p,E,b),Ko();var Ge=a.memoizedState;P!==re||qe!==Ge||gv||n!==null&&n.dependencies!==null&&Ql(n.dependencies)?(typeof Be=="function"&&(ln(a,u,Be,p),Ge=a.memoizedState),(te=gv||kd(a,u,te,p,qe,Ge,B)||n!==null&&n.dependencies!==null&&Ql(n.dependencies))?(He||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(p,Ge,B),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(p,Ge,B)),typeof E.componentDidUpdate=="function"&&(a.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof E.componentDidUpdate!="function"||P===n.memoizedProps&&qe===n.memoizedState||(a.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||P===n.memoizedProps&&qe===n.memoizedState||(a.flags|=1024),a.memoizedProps=p,a.memoizedState=Ge),E.props=p,E.state=Ge,E.context=B,E=te):(typeof E.componentDidUpdate!="function"||P===n.memoizedProps&&qe===n.memoizedState||(a.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||P===n.memoizedProps&&qe===n.memoizedState||(a.flags|=1024),E=!1)}if(B=E,jd(n,a),P=(a.flags&128)!==0,B||P){if(B=a.stateNode,Lf(a),P&&typeof u.getDerivedStateFromError!="function")u=null,Qi=-1;else{if(oe(a),u=GO(B),a.mode&Bo){Pe(!0);try{GO(B)}finally{Pe(!1)}}je()}a.flags|=1,n!==null&&P?(a.child=c0(a,n.child,null,b),a.child=c0(a,null,u,b)):jr(n,a,u,b),a.memoizedState=B.state,n=a.child}else n=Do(n,a,b);return b=a.stateNode,E&&b.props!==p&&(p0||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",le(a)||"a component"),p0=!0),n}function gm(n,a,u,p){return xo(),a.flags|=256,jr(n,a,u,p),a.child}function gp(n,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
182
|
+
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(n=V(a)||"Unknown",w2[n]||(console.error("%s: Function components do not support getDerivedStateFromProps.",n),w2[n]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=V(a)||"Unknown",E2[a]||(console.error("%s: Function components do not support contextType.",a),E2[a]=!0))}function zd(n){return{baseLanes:n,cachePool:pc()}}function Sc(n,a,u){return n=n!==null?n.childLanes&~u:0,a&&(n|=ju),n}function Rb(n,a,u){var p,b=a.pendingProps;c(a)&&(a.flags|=128);var E=!1,P=(a.flags&128)!==0;if((p=P)||(p=n!==null&&n.memoizedState===null?!1:(yl.current&Nx)!==0),p&&(E=!0,a.flags&=-129),p=(a.flags&32)!==0,a.flags&=-33,n===null){if($n){if(E?Ol(a):eo(a),$n){var B=oa,te;if(!(te=!B)){e:{var re=B;for(te=Ef;re.nodeType!==8;){if(!te){te=null;break e}if(re=xa(re.nextSibling),re===null){te=null;break e}}te=re}te!==null?(yo(),a.memoizedState={dehydrated:te,treeContext:xy!==null?{id:th,overflow:nh}:null,retryLane:536870912,hydrationErrors:null},re=R(18,null,null,Dr),re.stateNode=te,re.return=a,a.child=re,si=a,oa=null,te=!0):te=!1,te=!te}te&&(dg(a,B),Si(a))}if(B=a.memoizedState,B!==null&&(B=B.dehydrated,B!==null))return Vi(B)?a.lanes=32:a.lanes=536870912,null;La(a)}return B=b.children,b=b.fallback,E?(eo(a),E=a.mode,B=Ud({mode:"hidden",children:B},E),b=xi(b,E,u,null),B.return=a,b.return=a,B.sibling=b,a.child=B,E=a.child,E.memoizedState=zd(u),E.childLanes=Sc(n,p,u),a.memoizedState=vA,b):(Ol(a),yp(a,B))}var Be=n.memoizedState;if(Be!==null&&(B=Be.dehydrated,B!==null)){if(P)a.flags&256?(Ol(a),a.flags&=-257,a=ym(n,a,u)):a.memoizedState!==null?(eo(a),a.child=n.child,a.flags|=128,a=null):(eo(a),E=b.fallback,B=a.mode,b=Ud({mode:"visible",children:b.children},B),E=xi(E,B,u,null),E.flags|=2,b.return=a,E.return=a,b.sibling=E,a.child=b,c0(a,n.child,null,u),b=a.child,b.memoizedState=zd(u),b.childLanes=Sc(n,p,u),a.memoizedState=vA,a=E);else if(Ol(a),$n&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Vi(B)){if(p=B.nextSibling&&B.nextSibling.dataset,p){te=p.dgst;var He=p.msg;re=p.stck;var qe=p.cstck}B=He,p=te,b=re,te=E=qe,E=Error(B||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),E.stack=b||"",E.digest=p,p=te===void 0?null:te,b={value:E,source:null,stack:p},typeof p=="string"&&WT.set(E,b),wd(b),a=ym(n,a,u)}else if(Vl||ha(n,a,u,!1),p=(u&n.childLanes)!==0,Vl||p){if(p=br,p!==null&&(b=u&-u,b=(b&42)!==0?1:Mt(b),b=(b&(p.suspendedLanes|u))!==0?0:b,b!==0&&b!==Be.retryLane))throw Be.retryLane=b,Na(n,b),Rr(p,n,b),b2;B.data===uh||ki(),a=ym(n,a,u)}else B.data===uh?(a.flags|=192,a.child=n.child,a=null):(n=Be.treeContext,oa=xa(B.nextSibling),si=a,$n=!0,Ey=null,rh=!1,qs=null,Ef=!1,n!==null&&(yo(),$s[Ps++]=th,$s[Ps++]=nh,$s[Ps++]=xy,th=n.id,nh=n.overflow,xy=a),a=yp(a,b.children),a.flags|=4096);return a}return E?(eo(a),E=b.fallback,B=a.mode,te=n.child,re=te.sibling,b=go(te,{mode:"hidden",children:b.children}),b.subtreeFlags=te.subtreeFlags&65011712,re!==null?E=go(re,E):(E=xi(E,B,u,null),E.flags|=2),E.return=a,b.return=a,b.sibling=E,a.child=b,b=E,E=a.child,B=n.child.memoizedState,B===null?B=zd(u):(te=B.cachePool,te!==null?(re=vl._currentValue,te=te.parent!==re?{parent:re,pool:re}:te):te=pc(),B={baseLanes:B.baseLanes|u,cachePool:te}),E.memoizedState=B,E.childLanes=Sc(n,p,u),a.memoizedState=vA,b):(Ol(a),u=n.child,n=u.sibling,u=go(u,{mode:"visible",children:b.children}),u.return=a,u.sibling=null,n!==null&&(p=a.deletions,p===null?(a.deletions=[n],a.flags|=16):p.push(n)),a.child=u,a.memoizedState=null,u)}function yp(n,a){return a=Ud({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Ud(n,a){return n=R(22,n,null,a),n.lanes=0,n.stateNode={_visibility:Kw,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function ym(n,a,u){return c0(a,n.child,null,u),n=yp(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function bp(n,a,u){n.lanes|=a;var p=n.alternate;p!==null&&(p.lanes|=a),mg(n.return,a,u)}function Tg(n,a){var u=Lt(n);return n=!u&&typeof H(n)=="function",u||n?(u=u?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,a,u),!1):!0}function Id(n,a,u,p,b){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:p,tail:u,tailMode:b}:(E.isBackwards=a,E.rendering=null,E.renderingStartTime=0,E.last=p,E.tail=u,E.tailMode=b)}function bm(n,a,u){var p=a.pendingProps,b=p.revealOrder,E=p.tail;if(p=p.children,b!==void 0&&b!=="forwards"&&b!=="backwards"&&b!=="together"&&!C2[b])if(C2[b]=!0,typeof b=="string")switch(b.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',b,b.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',b,b.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',b)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',b);E===void 0||mA[E]||(E!=="collapsed"&&E!=="hidden"?(mA[E]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',E)):b!=="forwards"&&b!=="backwards"&&(mA[E]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',E)));e:if((b==="forwards"||b==="backwards")&&p!==void 0&&p!==null&&p!==!1)if(Lt(p)){for(var P=0;P<p.length;P++)if(!Tg(p[P],P))break e}else if(P=H(p),typeof P=="function"){if(P=P.call(p))for(var B=P.next(),te=0;!B.done;B=P.next()){if(!Tg(B.value,te))break e;te++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',b);if(jr(n,a,p,u),p=yl.current,(p&Nx)!==0)p=p&d0|Nx,a.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&bp(n,u,a);else if(n.tag===19)bp(n,u,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}p&=d0}switch(ue(yl,p,a),b){case"forwards":for(u=a.child,b=null;u!==null;)n=u.alternate,n!==null&&il(n)===null&&(b=u),u=u.sibling;u=b,u===null?(b=a.child,a.child=null):(b=u.sibling,u.sibling=null),Id(a,!1,b,u,E);break;case"backwards":for(u=null,b=a.child,a.child=null;b!==null;){if(n=b.alternate,n!==null&&il(n)===null){a.child=b;break}n=b.sibling,b.sibling=u,u=b,b=n}Id(a,!0,u,null,E);break;case"together":Id(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Do(n,a,u){if(n!==null&&(a.dependencies=n.dependencies),Qi=-1,Ev|=a.lanes,(u&a.childLanes)===0)if(n!==null){if(ha(n,a,u,!1),(u&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(n=a.child,u=go(n,n.pendingProps),a.child=u,u.return=a;n.sibling!==null;)n=n.sibling,u=u.sibling=go(n,n.pendingProps),u.return=a;u.sibling=null}return a.child}function xm(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&Ql(n)))}function Ag(n,a,u){switch(a.tag){case 3:ae(a,a.stateNode.containerInfo),nl(a,vl,n.memoizedState.cache),xo();break;case 27:case 5:W(a);break;case 4:ae(a,a.stateNode.containerInfo);break;case 10:nl(a,a.type,a.memoizedProps.value);break;case 12:(u&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var p=a.stateNode;p.effectDuration=-0,p.passiveEffectDuration=-0;break;case 13:if(p=a.memoizedState,p!==null)return p.dehydrated!==null?(Ol(a),a.flags|=128,null):(u&a.child.childLanes)!==0?Rb(n,a,u):(Ol(a),n=Do(n,a,u),n!==null?n.sibling:null);Ol(a);break;case 19:var b=(n.flags&128)!==0;if(p=(u&a.childLanes)!==0,p||(ha(n,a,u,!1),p=(u&a.childLanes)!==0),b){if(p)return bm(n,a,u);a.flags|=128}if(b=a.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),ue(yl,yl.current,a),p)break;return null;case 22:case 23:return a.lanes=0,mm(n,a,u);case 24:nl(a,vl,n.memoizedState.cache)}return Do(n,a,u)}function Ht(n,a,u){if(a._debugNeedsRemount&&n!==null){u=Qf(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),u._debugStack=a._debugStack,u._debugTask=a._debugTask;var p=a.return;if(p===null)throw Error("Cannot swap the root fiber.");if(n.alternate=null,a.alternate=null,u.index=a.index,u.sibling=a.sibling,u.return=a.return,u.ref=a.ref,u._debugInfo=a._debugInfo,a===p.child)p.child=u;else{var b=p.child;if(b===null)throw Error("Expected parent to have a child.");for(;b.sibling!==a;)if(b=b.sibling,b===null)throw Error("Expected to find the previous sibling.");b.sibling=u}return a=p.deletions,a===null?(p.deletions=[n],p.flags|=16):a.push(n),u.flags|=2,u}if(n!==null)if(n.memoizedProps!==a.pendingProps||a.type!==n.type)Vl=!0;else{if(!xm(n,u)&&(a.flags&128)===0)return Vl=!1,Ag(n,a,u);Vl=(n.flags&131072)!==0}else Vl=!1,(p=$n)&&(yo(),p=(a.flags&1048576)!==0),p&&(p=a.index,yo(),Cl(a,Yw,p));switch(a.lanes=0,a.tag){case 16:e:if(p=a.pendingProps,n=bv(a.elementType),a.type=n,typeof n=="function")Qh(n)?(p=cs(n,p),a.tag=1,a.type=n=sc(n),a=vp(null,a,n,p,u)):(a.tag=0,gp(a,n),a.type=n=sc(n),a=Bd(null,a,n,p,u));else{if(n!=null){if(b=n.$$typeof,b===Ot){a.tag=11,a.type=n=Wh(n),a=Ld(null,a,n,p,u);break e}else if(b===ar){a.tag=14,a=Qo(null,a,n,p,u);break e}}throw a="",n!==null&&typeof n=="object"&&n.$$typeof===ao&&(a=" Did you wrap a component in React.lazy() more than once?"),n=V(n)||n,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return Bd(n,a,a.type,a.pendingProps,u);case 1:return p=a.type,b=cs(p,a.pendingProps),vp(n,a,p,b,u);case 3:e:{if(ae(a,a.stateNode.containerInfo),n===null)throw Error("Should have a current fiber. This is a bug in React.");p=a.pendingProps;var E=a.memoizedState;b=E.element,as(n,a),fu(a,p,null,u);var P=a.memoizedState;if(p=P.cache,nl(a,vl,p),p!==E.cache&&vg(a,[vl],u,!0),Ko(),p=P.element,E.isDehydrated)if(E={element:p,isDehydrated:!1,cache:P.cache},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){a=gm(n,a,p,u);break e}else if(p!==b){b=dn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),wd(b),a=gm(n,a,p,u);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(oa=xa(n.firstChild),si=a,$n=!0,Ey=null,rh=!1,qs=null,Ef=!0,n=i2(a,null,p,u),a.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(xo(),p===b){a=Do(n,a,u);break e}jr(n,a,p,u)}a=a.child}return a;case 26:return jd(n,a),n===null?(n=Du(a.type,null,a.pendingProps,null))?a.memoizedState=n:$n||(n=a.type,u=a.pendingProps,p=se(ai.current),p=un(p).createElement(n),p[Ha]=a,p[Il]=u,Tr(p,n,u),gr(p),a.stateNode=p):a.memoizedState=Du(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return W(a),n===null&&$n&&(p=se(ai.current),b=L(),p=a.stateNode=Xg(a.type,a.pendingProps,p,b,!1),rh||(b=Hn(p,a.type,a.pendingProps,b),b!==null&&(bo(a,0).serverProps=b)),si=a,Ef=!0,b=oa,Hi(a.type)?(BA=b,oa=xa(p.firstChild)):oa=b),jr(n,a,a.pendingProps.children,u),jd(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&$n&&(E=L(),p=Kf(a.type,E.ancestorInfo),b=oa,(P=!b)||(P=Ss(b,a.type,a.pendingProps,Ef),P!==null?(a.stateNode=P,rh||(E=Hn(P,a.type,a.pendingProps,E),E!==null&&(bo(a,0).serverProps=E)),si=a,oa=xa(P.firstChild),Ef=!1,E=!0):E=!1,P=!E),P&&(p&&dg(a,b),Si(a))),W(a),b=a.type,E=a.pendingProps,P=n!==null?n.memoizedProps:null,p=E.children,Ii(b,E)?p=null:P!==null&&Ii(b,P)&&(a.flags|=32),a.memoizedState!==null&&(b=Ri(n,a,Co,null,null,u),Gx._currentValue=b),jd(n,a),jr(n,a,p,u),a.child;case 6:return n===null&&$n&&(n=a.pendingProps,u=L(),p=u.ancestorInfo.current,n=p!=null?fd(n,p.tag,u.ancestorInfo.implicitRootScope):!0,u=oa,(p=!u)||(p=ba(u,a.pendingProps,Ef),p!==null?(a.stateNode=p,si=a,oa=null,p=!0):p=!1,p=!p),p&&(n&&dg(a,u),Si(a))),null;case 13:return Rb(n,a,u);case 4:return ae(a,a.stateNode.containerInfo),p=a.pendingProps,n===null?a.child=c0(a,null,p,u):jr(n,a,p,u),a.child;case 11:return Ld(n,a,a.type,a.pendingProps,u);case 7:return jr(n,a,a.pendingProps,u),a.child;case 8:return jr(n,a,a.pendingProps.children,u),a.child;case 12:return a.flags|=4,a.flags|=2048,p=a.stateNode,p.effectDuration=-0,p.passiveEffectDuration=-0,jr(n,a,a.pendingProps.children,u),a.child;case 10:return p=a.type,b=a.pendingProps,E=b.value,"value"in b||R2||(R2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),nl(a,p,E),jr(n,a,b.children,u),a.child;case 9:return b=a.type._context,p=a.pendingProps.children,typeof p!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ea(a),b=Yn(b),oe(a),p=sA(p,b,void 0),je(),a.flags|=1,jr(n,a,p,u),a.child;case 14:return Qo(n,a,a.type,a.pendingProps,u);case 15:return mp(n,a,a.type,a.pendingProps,u);case 19:return bm(n,a,u);case 31:return p=a.pendingProps,u=a.mode,p={mode:p.mode,children:p.children},n===null?(n=Ud(p,u),n.ref=a.ref,a.child=n,n.return=a,a=n):(n=go(n.child,p),n.ref=a.ref,a.child=n,n.return=a,a=n),a;case 22:return mm(n,a,u);case 24:return ea(a),p=Yn(vl),n===null?(b=Cd(),b===null&&(b=br,E=np(),b.pooledCache=E,fc(E),E!==null&&(b.pooledCacheLanes|=u),b=E),a.memoizedState={parent:p,cache:b},Rl(a),nl(a,vl,b)):((n.lanes&u)!==0&&(as(n,a),fu(a,null,null,u),Ko()),b=n.memoizedState,E=a.memoizedState,b.parent!==p?(b={parent:p,cache:p},a.memoizedState=b,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=b),nl(a,vl,p)):(p=E.cache,nl(a,vl,p),p!==b.cache&&vg(a,[vl],u,!0))),jr(n,a,a.pendingProps.children,u),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Nl(n){n.flags|=4}function xp(n,a){if(a.type!=="stylesheet"||(a.state.loading&zs)!==ky)n.flags&=-16777217;else if(n.flags|=16777216,!Pp(a)){if(a=Bs.current,a!==null&&((En&4194048)===En?wf!==null:(En&62914560)!==En&&(En&536870912)===0||a!==wf))throw _x=nA,qO;n.flags|=8192}}function yu(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?De():536870912,n.lanes|=a,My|=a)}function bu(n,a){if(!$n)switch(n.tailMode){case"hidden":a=n.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?n.tail=null:u.sibling=null;break;case"collapsed":u=n.tail;for(var p=null;u!==null;)u.alternate!==null&&(p=u),u=u.sibling;p===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:p.sibling=null}}function Bn(n){var a=n.alternate!==null&&n.alternate.child===n.child,u=0,p=0;if(a)if((n.mode&io)!==Dr){for(var b=n.selfBaseDuration,E=n.child;E!==null;)u|=E.lanes|E.childLanes,p|=E.subtreeFlags&65011712,p|=E.flags&65011712,b+=E.treeBaseDuration,E=E.sibling;n.treeBaseDuration=b}else for(b=n.child;b!==null;)u|=b.lanes|b.childLanes,p|=b.subtreeFlags&65011712,p|=b.flags&65011712,b.return=n,b=b.sibling;else if((n.mode&io)!==Dr){b=n.actualDuration,E=n.selfBaseDuration;for(var P=n.child;P!==null;)u|=P.lanes|P.childLanes,p|=P.subtreeFlags,p|=P.flags,b+=P.actualDuration,E+=P.treeBaseDuration,P=P.sibling;n.actualDuration=b,n.treeBaseDuration=E}else for(b=n.child;b!==null;)u|=b.lanes|b.childLanes,p|=b.subtreeFlags,p|=b.flags,b.return=n,b=b.sibling;return n.subtreeFlags|=p,n.childLanes=u,a}function Tb(n,a,u){var p=a.pendingProps;switch(rs(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bn(a),null;case 1:return Bn(a),null;case 3:return u=a.stateNode,p=null,n!==null&&(p=n.memoizedState.cache),a.memoizedState.cache!==p&&(a.flags|=2048),Eo(vl,a),ge(a),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(dc(a)?(Jf(),Nl(a)):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,hg())),Bn(a),null;case 26:return u=a.memoizedState,n===null?(Nl(a),u!==null?(Bn(a),xp(a,u)):(Bn(a),a.flags&=-16777217)):u?u!==n.memoizedState?(Nl(a),Bn(a),xp(a,u)):(Bn(a),a.flags&=-16777217):(n.memoizedProps!==p&&Nl(a),Bn(a),a.flags&=-16777217),null;case 27:ee(a),u=se(ai.current);var b=a.type;if(n!==null&&a.stateNode!=null)n.memoizedProps!==p&&Nl(a);else{if(!p){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Bn(a),null}n=L(),dc(a)?fg(a):(n=Xg(b,p,u,n,!0),a.stateNode=n,Nl(a))}return Bn(a),null;case 5:if(ee(a),u=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==p&&Nl(a);else{if(!p){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Bn(a),null}if(b=L(),dc(a))fg(a);else{switch(n=se(ai.current),Kf(u,b.ancestorInfo),b=b.context,n=un(n),b){case S0:n=n.createElementNS(xf,u);break;case EC:n=n.createElementNS(Zp,u);break;default:switch(u){case"svg":n=n.createElementNS(xf,u);break;case"math":n=n.createElementNS(Zp,u);break;case"script":n=n.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof p.is=="string"?n.createElement("select",{is:p.is}):n.createElement("select"),p.multiple?n.multiple=!0:p.size&&(n.size=p.size);break;default:n=typeof p.is=="string"?n.createElement(u,{is:p.is}):n.createElement(u),u.indexOf("-")===-1&&(u!==u.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",u),Object.prototype.toString.call(n)!=="[object HTMLUnknownElement]"||Ou.call(V2,u)||(V2[u]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",u)))}}n[Ha]=a,n[Il]=p;e:for(b=a.child;b!==null;){if(b.tag===5||b.tag===6)n.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===a)break e;for(;b.sibling===null;){if(b.return===null||b.return===a)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}a.stateNode=n;e:switch(Tr(n,u,p),u){case"button":case"input":case"select":case"textarea":n=!!p.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Nl(a)}}return Bn(a),a.flags&=-16777217,null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==p&&Nl(a);else{if(typeof p!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(n=se(ai.current),u=L(),dc(a)){n=a.stateNode,u=a.memoizedProps,b=!rh,p=null;var E=si;if(E!==null)switch(E.tag){case 3:b&&(b=Km(n,u,p),b!==null&&(bo(a,0).serverProps=b));break;case 27:case 5:p=E.memoizedProps,b&&(b=Km(n,u,p),b!==null&&(bo(a,0).serverProps=b))}n[Ha]=a,n=!!(n.nodeValue===u||p!==null&&p.suppressHydrationWarning===!0||Bg(n.nodeValue,u)),n||Si(a)}else b=u.ancestorInfo.current,b!=null&&fd(p,b.tag,u.ancestorInfo.implicitRootScope),n=un(n).createTextNode(p),n[Ha]=a,a.stateNode=n}return Bn(a),null;case 13:if(p=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(b=dc(a),p!==null&&p.dehydrated!==null){if(n===null){if(!b)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(b=a.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");b[Ha]=a,Bn(a),(a.mode&io)!==Dr&&p!==null&&(b=a.child,b!==null&&(a.treeBaseDuration-=b.treeBaseDuration))}else Jf(),xo(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4,Bn(a),(a.mode&io)!==Dr&&p!==null&&(b=a.child,b!==null&&(a.treeBaseDuration-=b.treeBaseDuration));b=!1}else b=hg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=b),b=!0;if(!b)return a.flags&256?(La(a),a):(La(a),null)}return La(a),(a.flags&128)!==0?(a.lanes=u,(a.mode&io)!==Dr&&fn(a),a):(u=p!==null,n=n!==null&&n.memoizedState!==null,u&&(p=a.child,b=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(b=p.alternate.memoizedState.cachePool.pool),E=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(E=p.memoizedState.cachePool.pool),E!==b&&(p.flags|=2048)),u!==n&&u&&(a.child.flags|=8192),yu(a,a.updateQueue),Bn(a),(a.mode&io)!==Dr&&u&&(n=a.child,n!==null&&(a.treeBaseDuration-=n.treeBaseDuration)),null);case 4:return ge(a),n===null&&Lg(a.stateNode.containerInfo),Bn(a),null;case 10:return Eo(a.type,a),Bn(a),null;case 19:if(Q(yl,a),b=a.memoizedState,b===null)return Bn(a),null;if(p=(a.flags&128)!==0,E=b.rendering,E===null)if(p)bu(b,!1);else{if(ia!==ih||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(E=il(n),E!==null){for(a.flags|=128,bu(b,!1),n=E.updateQueue,a.updateQueue=n,yu(a,n),a.subtreeFlags=0,n=u,u=a.child;u!==null;)Wf(u,n),u=u.sibling;return ue(yl,yl.current&d0|Nx,a),a.child}n=n.sibling}b.tail!==null&&li()>sC&&(a.flags|=128,p=!0,bu(b,!1),a.lanes=4194304)}else{if(!p)if(n=il(E),n!==null){if(a.flags|=128,p=!0,n=n.updateQueue,a.updateQueue=n,yu(a,n),bu(b,!0),b.tail===null&&b.tailMode==="hidden"&&!E.alternate&&!$n)return Bn(a),null}else 2*li()-b.renderingStartTime>sC&&u!==536870912&&(a.flags|=128,p=!0,bu(b,!1),a.lanes=4194304);b.isBackwards?(E.sibling=a.child,a.child=E):(n=b.last,n!==null?n.sibling=E:a.child=E,b.last=E)}return b.tail!==null?(n=b.tail,b.rendering=n,b.tail=n.sibling,b.renderingStartTime=li(),n.sibling=null,u=yl.current,u=p?u&d0|Nx:u&d0,ue(yl,u,a),n):(Bn(a),null);case 22:case 23:return La(a),ma(a),p=a.memoizedState!==null,n!==null?n.memoizedState!==null!==p&&(a.flags|=8192):p&&(a.flags|=8192),p?(u&536870912)!==0&&(a.flags&128)===0&&(Bn(a),a.subtreeFlags&6&&(a.flags|=8192)):Bn(a),u=a.updateQueue,u!==null&&yu(a,u.retryQueue),u=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),p=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(p=a.memoizedState.cachePool.pool),p!==u&&(a.flags|=2048),n!==null&&Q(Cy,a),null;case 24:return u=null,n!==null&&(u=n.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),Eo(vl,a),Bn(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function to(n,a){switch(rs(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&io)!==Dr&&fn(a),a):null;case 3:return Eo(vl,a),ge(a),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return ee(a),null;case 13:if(La(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");xo()}return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&io)!==Dr&&fn(a),a):null;case 19:return Q(yl,a),null;case 4:return ge(a),null;case 10:return Eo(a.type,a),null;case 22:case 23:return La(a),ma(a),n!==null&&Q(Cy,a),n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&io)!==Dr&&fn(a),a):null;case 24:return Eo(vl,a),null;case 25:return null;default:return null}}function _g(n,a){switch(rs(a),a.tag){case 3:Eo(vl,a),ge(a);break;case 26:case 27:case 5:ee(a);break;case 4:ge(a);break;case 13:La(a);break;case 19:Q(yl,a);break;case 10:Eo(a.type,a);break;case 22:case 23:La(a),ma(a),n!==null&&Q(Cy,a);break;case 24:Eo(vl,a)}}function $l(n){return(n.mode&io)!==Dr}function Ep(n,a){$l(n)?(kn(),ds(a,n),zt()):ds(a,n)}function Sp(n,a,u){$l(n)?(kn(),Kr(u,n,a),zt()):Kr(u,n,a)}function ds(n,a){try{var u=a.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var b=p.next;u=b;do{if((u.tag&n)===n&&((n&gl)!==ks?dt!==null&&typeof dt.markComponentPassiveEffectMountStarted=="function"&&dt.markComponentPassiveEffectMountStarted(a):(n&uo)!==ks&&dt!==null&&typeof dt.markComponentLayoutEffectMountStarted=="function"&&dt.markComponentLayoutEffectMountStarted(a),p=void 0,(n&ci)!==ks&&(x0=!0),p=ht(a,az,u),(n&ci)!==ks&&(x0=!1),(n&gl)!==ks?dt!==null&&typeof dt.markComponentPassiveEffectMountStopped=="function"&&dt.markComponentPassiveEffectMountStopped():(n&uo)!==ks&&dt!==null&&typeof dt.markComponentLayoutEffectMountStopped=="function"&&dt.markComponentLayoutEffectMountStopped(),p!==void 0&&typeof p!="function")){var E=void 0;E=(u.tag&uo)!==0?"useLayoutEffect":(u.tag&ci)!==0?"useInsertionEffect":"useEffect";var P=void 0;P=p===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof p.then=="function"?`
|
|
183
|
+
|
|
184
|
+
It looks like you wrote `+E+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
185
|
+
|
|
186
|
+
`+E+`(() => {
|
|
187
|
+
async function fetchData() {
|
|
188
|
+
// You can await here
|
|
189
|
+
const response = await MyAPI.getData(someId);
|
|
190
|
+
// ...
|
|
191
|
+
}
|
|
192
|
+
fetchData();
|
|
193
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
194
|
+
|
|
195
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+p,ht(a,function(B,te){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,te)},E,P)}u=u.next}while(u!==b)}}catch(B){Tt(a,a.return,B)}}function Kr(n,a,u){try{var p=a.updateQueue,b=p!==null?p.lastEffect:null;if(b!==null){var E=b.next;p=E;do{if((p.tag&n)===n){var P=p.inst,B=P.destroy;B!==void 0&&(P.destroy=void 0,(n&gl)!==ks?dt!==null&&typeof dt.markComponentPassiveEffectUnmountStarted=="function"&&dt.markComponentPassiveEffectUnmountStarted(a):(n&uo)!==ks&&dt!==null&&typeof dt.markComponentLayoutEffectUnmountStarted=="function"&&dt.markComponentLayoutEffectUnmountStarted(a),(n&ci)!==ks&&(x0=!0),b=a,ht(b,lz,b,u,B),(n&ci)!==ks&&(x0=!1),(n&gl)!==ks?dt!==null&&typeof dt.markComponentPassiveEffectUnmountStopped=="function"&&dt.markComponentPassiveEffectUnmountStopped():(n&uo)!==ks&&dt!==null&&typeof dt.markComponentLayoutEffectUnmountStopped=="function"&&dt.markComponentLayoutEffectUnmountStopped())}p=p.next}while(p!==E)}}catch(te){Tt(a,a.return,te)}}function Oi(n,a){$l(n)?(kn(),ds(a,n),zt()):ds(a,n)}function wc(n,a,u){$l(n)?(kn(),Kr(u,n,a),zt()):Kr(u,n,a)}function Em(n){var a=n.updateQueue;if(a!==null){var u=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||p0||(u.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",le(n)||"instance"),u.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",le(n)||"instance"));try{ht(n,rp,a,u)}catch(p){Tt(n,n.return,p)}}}function wp(n,a,u){return n.getSnapshotBeforeUpdate(a,u)}function Ab(n,a){var u=a.memoizedProps,p=a.memoizedState;a=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||p0||(a.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",le(n)||"instance"),a.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",le(n)||"instance"));try{var b=cs(n.type,u,n.elementType===n.type),E=ht(n,wp,a,b,p);u=T2,E!==void 0||u.has(n.type)||(u.add(n.type),ht(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",le(n))})),a.__reactInternalSnapshotBeforeUpdate=E}catch(P){Tt(n,n.return,P)}}function Hd(n,a,u){u.props=cs(n.type,n.memoizedProps),u.state=n.memoizedState,$l(n)?(kn(),ht(n,JO,n,a,u),zt()):ht(n,JO,n,a,u)}function Dg(n){var a=n.ref;if(a!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}if(typeof a=="function")if($l(n))try{kn(),n.refCleanup=a(u)}finally{zt()}else n.refCleanup=a(u);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",le(n)),a.current=u}}function fs(n,a){try{ht(n,Dg,n)}catch(u){Tt(n,a,u)}}function Pl(n,a){var u=n.ref,p=n.refCleanup;if(u!==null)if(typeof p=="function")try{if($l(n))try{kn(),ht(n,p)}finally{zt(n)}else ht(n,p)}catch(b){Tt(n,a,b)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof u=="function")try{if($l(n))try{kn(),ht(n,u,null)}finally{zt(n)}else ht(n,u,null)}catch(b){Tt(n,a,b)}else u.current=null}function Ni(n,a,u,p){var b=n.memoizedProps,E=b.id,P=b.onCommit;b=b.onRender,a=a===null?"mount":"update",Qw&&(a="nested-update"),typeof b=="function"&&b(E,a,n.actualDuration,n.treeBaseDuration,n.actualStartTime,u),typeof P=="function"&&P(n.memoizedProps.id,a,p,u)}function _b(n,a,u,p){var b=n.memoizedProps;n=b.id,b=b.onPostCommit,a=a===null?"mount":"update",Qw&&(a="nested-update"),typeof b=="function"&&b(n,a,p,u)}function xu(n){var a=n.type,u=n.memoizedProps,p=n.stateNode;try{ht(n,Au,p,a,u,n)}catch(b){Tt(n,n.return,b)}}function Sm(n,a,u){try{ht(n,Ar,n.stateNode,n.type,u,a,n)}catch(p){Tt(n,n.return,p)}}function wm(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Hi(n.type)||n.tag===4}function Eu(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||wm(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Hi(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Cp(n,a,u){var p=n.tag;if(p===5||p===6)n=n.stateNode,a?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(n,a):(a=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,a.appendChild(n),u=u._reactRootContainer,u!=null||a.onclick!==null||(a.onclick=Tu));else if(p!==4&&(p===27&&Hi(n.type)&&(u=n.stateNode,a=null),n=n.child,n!==null))for(Cp(n,a,u),n=n.sibling;n!==null;)Cp(n,a,u),n=n.sibling}function Cc(n,a,u){var p=n.tag;if(p===5||p===6)n=n.stateNode,a?u.insertBefore(n,a):u.appendChild(n);else if(p!==4&&(p===27&&Hi(n.type)&&(u=n.stateNode),n=n.child,n!==null))for(Cc(n,a,u),n=n.sibling;n!==null;)Cc(n,a,u),n=n.sibling}function Db(n){for(var a,u=n.return;u!==null;){if(wm(u)){a=u;break}u=u.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:a=a.stateNode,u=Eu(n),Cc(n,u,a);break;case 5:u=a.stateNode,a.flags&32&&(_u(u),a.flags&=-33),a=Eu(n),Cc(n,a,u);break;case 3:case 4:a=a.stateNode.containerInfo,u=Eu(n),Cp(n,u,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Cm(n){var a=n.stateNode,u=n.memoizedProps;try{ht(n,ro,n.type,u,a,n)}catch(p){Tt(n,n.return,p)}}function Rp(n,a){if(n=n.containerInfo,kA=RC,n=Xl(n),ig(n)){if("selectionStart"in n)var u={start:n.selectionStart,end:n.selectionEnd};else e:{u=(u=n.ownerDocument)&&u.defaultView||window;var p=u.getSelection&&u.getSelection();if(p&&p.rangeCount!==0){u=p.anchorNode;var b=p.anchorOffset,E=p.focusNode;p=p.focusOffset;try{u.nodeType,E.nodeType}catch{u=null;break e}var P=0,B=-1,te=-1,re=0,Be=0,He=n,qe=null;t:for(;;){for(var Ge;He!==u||b!==0&&He.nodeType!==3||(B=P+b),He!==E||p!==0&&He.nodeType!==3||(te=P+p),He.nodeType===3&&(P+=He.nodeValue.length),(Ge=He.firstChild)!==null;)qe=He,He=Ge;for(;;){if(He===n)break t;if(qe===u&&++re===b&&(B=P),qe===E&&++Be===p&&(te=P),(Ge=He.nextSibling)!==null)break;He=qe,qe=He.parentNode}He=Ge}u=B===-1||te===-1?null:{start:B,end:te}}else u=null}u=u||{start:0,end:0}}else u=null;for(LA={focusedElem:n,selectionRange:u},RC=!1,Fl=a;Fl!==null;)if(a=Fl,n=a.child,(a.subtreeFlags&1024)!==0&&n!==null)n.return=a,Fl=n;else for(;Fl!==null;){switch(n=a=Fl,u=n.alternate,b=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:(b&1024)!==0&&u!==null&&Ab(n,u);break;case 3:if((b&1024)!==0){if(n=n.stateNode.containerInfo,u=n.nodeType,u===9)$c(n);else if(u===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":$c(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((b&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(n=a.sibling,n!==null){n.return=a.return,Fl=n;break}Fl=a.return}}function Mg(n,a,u){var p=u.flags;switch(u.tag){case 0:case 11:case 15:Pi(n,u),p&4&&Ep(u,uo|Ls);break;case 1:if(Pi(n,u),p&4)if(n=u.stateNode,a===null)u.type.defaultProps||"ref"in u.memoizedProps||p0||(n.props!==u.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",le(u)||"instance"),n.state!==u.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",le(u)||"instance")),$l(u)?(kn(),ht(u,cA,u,n),zt()):ht(u,cA,u,n);else{var b=cs(u.type,a.memoizedProps);a=a.memoizedState,u.type.defaultProps||"ref"in u.memoizedProps||p0||(n.props!==u.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",le(u)||"instance"),n.state!==u.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",le(u)||"instance")),$l(u)?(kn(),ht(u,WO,u,n,b,a,n.__reactInternalSnapshotBeforeUpdate),zt()):ht(u,WO,u,n,b,a,n.__reactInternalSnapshotBeforeUpdate)}p&64&&Em(u),p&512&&fs(u,u.return);break;case 3:if(a=$a(),Pi(n,u),p&64&&(p=u.updateQueue,p!==null)){if(b=null,u.child!==null)switch(u.child.tag){case 27:case 5:b=u.child.stateNode;break;case 1:b=u.child.stateNode}try{ht(u,rp,p,b)}catch(P){Tt(u,u.return,P)}}n.effectDuration+=Ce(a);break;case 27:a===null&&p&4&&Cm(u);case 26:case 5:Pi(n,u),a===null&&p&4&&xu(u),p&512&&fs(u,u.return);break;case 12:if(p&4){p=$a(),Pi(n,u),n=u.stateNode,n.effectDuration+=Ke(p);try{ht(u,Ni,u,a,Ww,n.effectDuration)}catch(P){Tt(u,u.return,P)}}else Pi(n,u);break;case 13:Pi(n,u),p&4&&ul(n,u),p&64&&(n=u.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(u=Op.bind(null,u),nf(n,u))));break;case 22:if(p=u.memoizedState!==null||oh,!p){a=a!==null&&a.memoizedState!==null||Ca,b=oh;var E=Ca;oh=p,(Ca=a)&&!E?qi(n,u,(u.subtreeFlags&8772)!==0):Pi(n,u),oh=b,Ca=E}break;case 30:break;default:Pi(n,u)}}function Rm(n){var a=n.alternate;a!==null&&(n.alternate=null,Rm(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&wl(a)),n.stateNode=null,n._debugOwner=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function $i(n,a,u){for(u=u.child;u!==null;)Br(n,a,u),u=u.sibling}function Br(n,a,u){if(Sa&&typeof Sa.onCommitFiberUnmount=="function")try{Sa.onCommitFiberUnmount(As,u)}catch(E){Ul||(Ul=!0,console.error("React instrumentation encountered an error: %s",E))}switch(u.tag){case 26:Ca||Pl(u,a),$i(n,a,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Ca||Pl(u,a);var p=Fa,b=Zi;Hi(u.type)&&(Fa=u.stateNode,Zi=!1),$i(n,a,u),ht(u,rf,u.stateNode),Fa=p,Zi=b;break;case 5:Ca||Pl(u,a);case 6:if(p=Fa,b=Zi,Fa=null,$i(n,a,u),Fa=p,Zi=b,Fa!==null)if(Zi)try{ht(u,Jd,Fa,u.stateNode)}catch(E){Tt(u,a,E)}else try{ht(u,Po,Fa,u.stateNode)}catch(E){Tt(u,a,E)}break;case 18:Fa!==null&&(Zi?(n=Fa,ef(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,u.stateNode),Rs(n)):ef(Fa,u.stateNode));break;case 4:p=Fa,b=Zi,Fa=u.stateNode.containerInfo,Zi=!0,$i(n,a,u),Fa=p,Zi=b;break;case 0:case 11:case 14:case 15:Ca||Kr(ci,u,a),Ca||Sp(u,a,uo),$i(n,a,u);break;case 1:Ca||(Pl(u,a),p=u.stateNode,typeof p.componentWillUnmount=="function"&&Hd(u,a,p)),$i(n,a,u);break;case 21:$i(n,a,u);break;case 22:Ca=(p=Ca)||u.memoizedState!==null,$i(n,a,u),Ca=p;break;default:$i(n,a,u)}}function ul(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{ht(a,Ua,n)}catch(u){Tt(a,a.return,u)}}function Tm(n){switch(n.tag){case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new A2),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new A2),a;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function Rc(n,a){var u=Tm(n);a.forEach(function(p){var b=ys.bind(null,n,p);if(!u.has(p)){if(u.add(p),yr)if(h0!==null&&m0!==null)bs(m0,h0);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");p.then(b,b)}})}function Gr(n,a){var u=a.deletions;if(u!==null)for(var p=0;p<u.length;p++){var b=n,E=a,P=u[p],B=E;e:for(;B!==null;){switch(B.tag){case 27:if(Hi(B.type)){Fa=B.stateNode,Zi=!1;break e}break;case 5:Fa=B.stateNode,Zi=!1;break e;case 3:case 4:Fa=B.stateNode.containerInfo,Zi=!0;break e}B=B.return}if(Fa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Br(b,E,P),Fa=null,Zi=!1,b=P,E=b.alternate,E!==null&&(E.return=null),b.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)ps(a,n),a=a.sibling}function ps(n,a){var u=n.alternate,p=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Gr(a,n),sl(n),p&4&&(Kr(ci|Ls,n,n.return),ds(ci|Ls,n),Sp(n,n.return,uo|Ls));break;case 1:Gr(a,n),sl(n),p&512&&(Ca||u===null||Pl(u,u.return)),p&64&&oh&&(n=n.updateQueue,n!==null&&(p=n.callbacks,p!==null&&(u=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=u===null?p:u.concat(p))));break;case 26:var b=Qc;if(Gr(a,n),sl(n),p&512&&(Ca||u===null||Pl(u,u.return)),p&4)if(a=u!==null?u.memoizedState:null,p=n.memoizedState,u===null)if(p===null)if(n.stateNode===null){e:{p=n.type,u=n.memoizedProps,a=b.ownerDocument||b;t:switch(p){case"title":b=a.getElementsByTagName("title")[0],(!b||b[vf]||b[Ha]||b.namespaceURI===xf||b.hasAttribute("itemprop"))&&(b=a.createElement(p),a.head.insertBefore(b,a.querySelector("head > title"))),Tr(b,p,u),b[Ha]=n,gr(b),p=b;break e;case"link":var E=Wm("link","href",a).get(p+(u.href||""));if(E){for(var P=0;P<E.length;P++)if(b=E[P],b.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&b.getAttribute("rel")===(u.rel==null?null:u.rel)&&b.getAttribute("title")===(u.title==null?null:u.title)&&b.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){E.splice(P,1);break t}}b=a.createElement(p),Tr(b,p,u),a.head.appendChild(b);break;case"meta":if(E=Wm("meta","content",a).get(p+(u.content||""))){for(P=0;P<E.length;P++)if(b=E[P],ie(u.content,"content"),b.getAttribute("content")===(u.content==null?null:""+u.content)&&b.getAttribute("name")===(u.name==null?null:u.name)&&b.getAttribute("property")===(u.property==null?null:u.property)&&b.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&b.getAttribute("charset")===(u.charSet==null?null:u.charSet)){E.splice(P,1);break t}}b=a.createElement(p),Tr(b,p,u),a.head.appendChild(b);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+p+'". This is a bug in React.')}b[Ha]=n,gr(b),p=b}n.stateNode=p}else Zg(b,n.type,n.stateNode);else n.stateNode=Gm(b,p,n.memoizedProps);else a!==p?(a===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):a.count--,p===null?Zg(b,n.type,n.stateNode):Gm(b,p,n.memoizedProps)):p===null&&n.stateNode!==null&&Sm(n,n.memoizedProps,u.memoizedProps);break;case 27:Gr(a,n),sl(n),p&512&&(Ca||u===null||Pl(u,u.return)),u!==null&&p&4&&Sm(n,n.memoizedProps,u.memoizedProps);break;case 5:if(Gr(a,n),sl(n),p&512&&(Ca||u===null||Pl(u,u.return)),n.flags&32){a=n.stateNode;try{ht(n,_u,a)}catch(Be){Tt(n,n.return,Be)}}p&4&&n.stateNode!=null&&(a=n.memoizedProps,Sm(n,a,u!==null?u.memoizedProps:a)),p&1024&&(gA=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gr(a,n),sl(n),p&4){if(n.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");p=n.memoizedProps,u=u!==null?u.memoizedProps:p,a=n.stateNode;try{ht(n,Nc,a,u,p)}catch(Be){Tt(n,n.return,Be)}}break;case 3:if(b=$a(),SC=null,E=Qc,Qc=$p(a.containerInfo),Gr(a,n),Qc=E,sl(n),p&4&&u!==null&&u.memoizedState.isDehydrated)try{ht(n,Yg,a.containerInfo)}catch(Be){Tt(n,n.return,Be)}gA&&(gA=!1,hs(n)),a.effectDuration+=Ce(b);break;case 4:p=Qc,Qc=$p(n.stateNode.containerInfo),Gr(a,n),sl(n),Qc=p;break;case 12:p=$a(),Gr(a,n),sl(n),n.stateNode.effectDuration+=Ke(p);break;case 13:Gr(a,n),sl(n),n.child.flags&8192&&n.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(wA=li()),p&4&&(p=n.updateQueue,p!==null&&(n.updateQueue=null,Rc(n,p)));break;case 22:b=n.memoizedState!==null;var B=u!==null&&u.memoizedState!==null,te=oh,re=Ca;if(oh=te||b,Ca=re||B,Gr(a,n),Ca=re,oh=te,sl(n),p&8192)e:for(a=n.stateNode,a._visibility=b?a._visibility&~Kw:a._visibility|Kw,b&&(u===null||B||oh||Ca||Nr(n)),u=null,a=n;;){if(a.tag===5||a.tag===26){if(u===null){B=u=a;try{E=B.stateNode,b?ht(B,Bl,E):ht(B,Kg,B.stateNode,B.memoizedProps)}catch(Be){Tt(B,B.return,Be)}}}else if(a.tag===6){if(u===null){B=a;try{P=B.stateNode,b?ht(B,Fg,P):ht(B,tf,P,B.memoizedProps)}catch(Be){Tt(B,B.return,Be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;u===a&&(u=null),a=a.return}u===a&&(u=null),a.sibling.return=a.return,a=a.sibling}p&4&&(p=n.updateQueue,p!==null&&(u=p.retryQueue,u!==null&&(p.retryQueue=null,Rc(n,u))));break;case 19:Gr(a,n),sl(n),p&4&&(p=n.updateQueue,p!==null&&(n.updateQueue=null,Rc(n,p)));break;case 30:break;case 21:break;default:Gr(a,n),sl(n)}}function sl(n){var a=n.flags;if(a&2){try{ht(n,Db,n)}catch(u){Tt(n,n.return,u)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function hs(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;hs(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function Pi(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Mg(n,a.alternate,a),a=a.sibling}function ql(n){switch(n.tag){case 0:case 11:case 14:case 15:Sp(n,n.return,uo),Nr(n);break;case 1:Pl(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount=="function"&&Hd(n,n.return,a),Nr(n);break;case 27:ht(n,rf,n.stateNode);case 26:case 5:Pl(n,n.return),Nr(n);break;case 22:n.memoizedState===null&&Nr(n);break;case 30:Nr(n);break;default:Nr(n)}}function Nr(n){for(n=n.child;n!==null;)ql(n),n=n.sibling}function no(n,a,u,p){var b=u.flags;switch(u.tag){case 0:case 11:case 15:qi(n,u,p),Ep(u,uo);break;case 1:if(qi(n,u,p),a=u.stateNode,typeof a.componentDidMount=="function"&&ht(u,cA,u,a),a=u.updateQueue,a!==null){n=u.stateNode;try{ht(u,hc,a,n)}catch(E){Tt(u,u.return,E)}}p&&b&64&&Em(u),fs(u,u.return);break;case 27:Cm(u);case 26:case 5:qi(n,u,p),p&&a===null&&b&4&&xu(u),fs(u,u.return);break;case 12:if(p&&b&4){b=$a(),qi(n,u,p),p=u.stateNode,p.effectDuration+=Ke(b);try{ht(u,Ni,u,a,Ww,p.effectDuration)}catch(E){Tt(u,u.return,E)}}else qi(n,u,p);break;case 13:qi(n,u,p),p&&b&4&&ul(n,u);break;case 22:u.memoizedState===null&&qi(n,u,p),fs(u,u.return);break;case 30:break;default:qi(n,u,p)}}function qi(n,a,u){for(u=u&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)no(n,a.alternate,a,u),a=a.sibling}function Zo(n,a){var u=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(n!=null&&fc(n),u!=null&&wi(u))}function Mo(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(fc(a),n!=null&&wi(n))}function _n(n,a,u,p){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Vd(n,a,u,p),a=a.sibling}function Vd(n,a,u,p){var b=a.flags;switch(a.tag){case 0:case 11:case 15:_n(n,a,u,p),b&2048&&Oi(a,gl|Ls);break;case 1:_n(n,a,u,p);break;case 3:var E=$a();_n(n,a,u,p),b&2048&&(u=null,a.alternate!==null&&(u=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==u&&(fc(a),u!=null&&wi(u))),n.passiveEffectDuration+=Ce(E);break;case 12:if(b&2048){b=$a(),_n(n,a,u,p),n=a.stateNode,n.passiveEffectDuration+=Ke(b);try{ht(a,_b,a,a.alternate,Ww,n.passiveEffectDuration)}catch(B){Tt(a,a.return,B)}}else _n(n,a,u,p);break;case 13:_n(n,a,u,p);break;case 23:break;case 22:E=a.stateNode;var P=a.alternate;a.memoizedState!==null?E._visibility&eh?_n(n,a,u,p):Su(n,a):E._visibility&eh?_n(n,a,u,p):(E._visibility|=eh,Jo(n,a,u,p,(a.subtreeFlags&10256)!==0)),b&2048&&Zo(P,a);break;case 24:_n(n,a,u,p),b&2048&&Mo(a.alternate,a);break;default:_n(n,a,u,p)}}function Jo(n,a,u,p,b){for(b=b&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;)Fd(n,a,u,p,b),a=a.sibling}function Fd(n,a,u,p,b){var E=a.flags;switch(a.tag){case 0:case 11:case 15:Jo(n,a,u,p,b),Oi(a,gl);break;case 23:break;case 22:var P=a.stateNode;a.memoizedState!==null?P._visibility&eh?Jo(n,a,u,p,b):Su(n,a):(P._visibility|=eh,Jo(n,a,u,p,b)),b&&E&2048&&Zo(a.alternate,a);break;case 24:Jo(n,a,u,p,b),b&&E&2048&&Mo(a.alternate,a);break;default:Jo(n,a,u,p,b)}}function Su(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var u=n,p=a,b=p.flags;switch(p.tag){case 22:Su(u,p),b&2048&&Zo(p.alternate,p);break;case 24:Su(u,p),b&2048&&Mo(p.alternate,p);break;default:Su(u,p)}a=a.sibling}}function Tc(n){if(n.subtreeFlags&$x)for(n=n.child;n!==null;)wu(n),n=n.sibling}function wu(n){switch(n.tag){case 26:Tc(n),n.flags&$x&&n.memoizedState!==null&&qp(Qc,n.memoizedState,n.memoizedProps);break;case 5:Tc(n);break;case 3:case 4:var a=Qc;Qc=$p(n.stateNode.containerInfo),Tc(n),Qc=a;break;case 22:n.memoizedState===null&&(a=n.alternate,a!==null&&a.memoizedState!==null?(a=$x,$x=16777216,Tc(n),$x=a):Tc(n));break;default:Tc(n)}}function ms(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function Ac(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var p=a[u];Fl=p,ei(p,n)}ms(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Tp(n),n=n.sibling}function Tp(n){switch(n.tag){case 0:case 11:case 15:Ac(n),n.flags&2048&&wc(n,n.return,gl|Ls);break;case 3:var a=$a();Ac(n),n.stateNode.passiveEffectDuration+=Ce(a);break;case 12:a=$a(),Ac(n),n.stateNode.passiveEffectDuration+=Ke(a);break;case 22:a=n.stateNode,n.memoizedState!==null&&a._visibility&eh&&(n.return===null||n.return.tag!==13)?(a._visibility&=~eh,Ap(n)):Ac(n);break;default:Ac(n)}}function Ap(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var p=a[u];Fl=p,ei(p,n)}ms(n)}for(n=n.child;n!==null;)Kd(n),n=n.sibling}function Kd(n){switch(n.tag){case 0:case 11:case 15:wc(n,n.return,gl),Ap(n);break;case 22:var a=n.stateNode;a._visibility&eh&&(a._visibility&=~eh,Ap(n));break;default:Ap(n)}}function ei(n,a){for(;Fl!==null;){var u=Fl,p=u;switch(p.tag){case 0:case 11:case 15:wc(p,a,gl);break;case 23:case 22:p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(p=p.memoizedState.cachePool.pool,p!=null&&fc(p));break;case 24:wi(p.memoizedState.cache)}if(p=u.child,p!==null)p.return=u,Fl=p;else e:for(u=n;Fl!==null;){p=Fl;var b=p.sibling,E=p.return;if(Rm(p),p===u){Fl=null;break e}if(b!==null){b.return=E,Fl=b;break e}Fl=E}}}function Am(){iz.forEach(function(n){return n()})}function _m(){var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return n||Ue.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),n}function kl(n){if((Fn&di)!==ku&&En!==0)return En&-En;var a=Ue.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(n),n=wy,n!==0?n:Pg()):Wa()}function Og(){ju===0&&(ju=(En&536870912)===0||$n?ve():536870912);var n=Bs.current;return n!==null&&(n.flags|=32),ju}function Rr(n,a,u){if(x0&&console.error("useInsertionEffect must not schedule updates."),_A&&(cC=!0),(n===br&&(Zn===_y||Zn===Dy)||n.cancelPendingCommit!==null)&&(Oo(n,0),ti(n,En,ju,!1)),it(n,u),(Fn&di)!==0&&n===br){if(hl)switch(a.tag){case 0:case 11:case 15:n=vn&&le(vn)||"Unknown",L2.has(n)||(L2.add(n),a=le(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,n,n));break;case 1:k2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),k2=!0)}}else yr&&Bt(n,a,u),Wd(a),n===br&&((Fn&di)===ku&&(Sv|=u),ia===Ay&&ti(n,En,ju,!1)),Ll(n)}function Yr(n,a,u){if((Fn&(di|Zc))!==ku)throw Error("Should not already be working.");var p=!u&&(a&124)===0&&(a&n.expiredLanes)===0||nu(n,a),b=p?Om(n,a):Mm(n,a,!0),E=p;do{if(b===ih){y0&&!p&&ti(n,a,0,!1);break}else{if(u=n.current.alternate,E&&!Dm(u)){b=Mm(n,a,!1),E=!1;continue}if(b===v0){if(E=a,n.errorRecoveryDisabledLanes&E)var P=0;else P=n.pendingLanes&-536870913,P=P!==0?P:P&536870912?536870912:0;if(P!==0){a=P;e:{b=n;var B=P;P=Bx;var te=b.current.memoizedState.isDehydrated;if(te&&(Oo(b,B).flags|=256),B=Mm(b,B,!1),B!==v0){if(EA&&!te){b.errorRecoveryDisabledLanes|=E,Sv|=E,b=Ay;break e}b=fi,fi=P,b!==null&&(fi===null?fi=b:fi.push.apply(fi,b))}b=B}if(E=!1,b!==v0)continue}}if(b===qx){Oo(n,0),ti(n,a,0,!0);break}e:{switch(p=n,b){case ih:case qx:throw Error("Root did not complete. This is a bug in React.");case Ay:if((a&4194048)!==a)break;case iC:ti(p,a,ju,!xv);break e;case v0:fi=null;break;case yA:case _2:break;default:throw Error("Unknown root exit status.")}if(Ue.actQueue!==null)Pm(p,u,a,fi,zx,uC,ju,Sv,My);else{if((a&62914560)===a&&(E=wA+M2-li(),10<E)){if(ti(p,a,ju,!xv),an(p,0,!0)!==0)break e;p.timeoutHandle=F2(Qn.bind(null,p,u,fi,zx,uC,a,ju,Sv,My,xv,b,dz,NO,0),E);break e}Qn(p,u,fi,zx,uC,a,ju,Sv,My,xv,b,sz,NO,0)}}}break}while(!0);Ll(n)}function Qn(n,a,u,p,b,E,P,B,te,re,Be,He,qe,Ge){if(n.timeoutHandle=qy,He=a.subtreeFlags,(He&8192||(He&16785408)===16785408)&&(Kx={stylesheets:null,count:0,unsuspend:Pb},wu(a),He=qb(),He!==null)){n.cancelPendingCommit=He(Pm.bind(null,n,a,E,u,p,b,P,B,te,Be,cz,qe,Ge)),ti(n,E,P,!re);return}Pm(n,a,E,u,p,b,P,B,te)}function Dm(n){for(var a=n;;){var u=a.tag;if((u===0||u===11||u===15)&&a.flags&16384&&(u=a.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var p=0;p<u.length;p++){var b=u[p],E=b.getSnapshot;b=b.value;try{if(!Qe(E(),b))return!1}catch{return!1}}if(u=a.child,a.subtreeFlags&16384&&u!==null)u.return=a,a=u;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ti(n,a,u,p){a&=~SA,a&=~Sv,n.suspendedLanes|=a,n.pingedLanes&=~a,p&&(n.warmLanes|=a),p=n.expirationTimes;for(var b=a;0<b;){var E=31-fr(b),P=1<<E;p[E]=-1,b&=~P}u!==0&&rt(n,u,a)}function Cu(){return(Fn&(di|Zc))===ku?(xs(0),!1):!0}function _c(){if(vn!==null){if(Zn===Ji)var n=vn.return;else n=vn,ep(),Wn(n),s0=null,Ox=0,n=vn;for(;n!==null;)_g(n.alternate,n),n=n.return;vn=null}}function Oo(n,a){var u=n.timeoutHandle;u!==qy&&(n.timeoutHandle=qy,Cz(u)),u=n.cancelPendingCommit,u!==null&&(n.cancelPendingCommit=null,u()),_c(),br=n,vn=u=go(n.current,null),En=a,Zn=Ji,Lu=null,xv=!1,y0=nu(n,a),EA=!1,ia=ih,My=ju=SA=Sv=Ev=0,fi=Bx=null,uC=!1,(a&8)!==0&&(a|=a&32);var p=n.entangledLanes;if(p!==0)for(n=n.entanglements,p&=a;0<p;){var b=31-fr(p),E=1<<b;a|=n[b],p&=~E}return Cf=a,vo(),a=MO(),1e3<a-DO&&(Ue.recentlyCreatedOwnerStacks=0,DO=a),Xc.discardPendingWarnings(),u}function Rt(n,a){Ft=null,Ue.H=lC,Ue.getCurrentStack=null,hl=!1,oo=null,a===Ax||a===eC?(a=em(),Zn=Lx):a===qO?(a=em(),Zn=D2):Zn=a===b2?xA:a!==null&&typeof a=="object"&&typeof a.then=="function"?g0:kx,Lu=a;var u=vn;if(u===null)ia=qx,Mi(n,dn(a,n.current));else switch(u.mode&io&&ct(u),je(),Zn){case kx:dt!==null&&typeof dt.markComponentErrored=="function"&&dt.markComponentErrored(u,a,En);break;case _y:case Dy:case Lx:case g0:case jx:dt!==null&&typeof dt.markComponentSuspended=="function"&&dt.markComponentSuspended(u,a,En)}}function Dc(){var n=Ue.H;return Ue.H=lC,n===null?lC:n}function _p(){var n=Ue.A;return Ue.A=oz,n}function ki(){ia=Ay,xv||(En&4194048)!==En&&Bs.current!==null||(y0=!0),(Ev&134217727)===0&&(Sv&134217727)===0||br===null||ti(br,En,ju,!1)}function Mm(n,a,u){var p=Fn;Fn|=di;var b=Dc(),E=_p();if(br!==n||En!==a){if(yr){var P=n.memoizedUpdaters;0<P.size&&(bs(n,En),P.clear()),An(n,a)}zx=null,Oo(n,a)}Le(a),a=!1,P=ia;e:do try{if(Zn!==Ji&&vn!==null){var B=vn,te=Lu;switch(Zn){case xA:_c(),P=iC;break e;case Lx:case _y:case Dy:case g0:Bs.current===null&&(a=!0);var re=Zn;if(Zn=Ji,Lu=null,vs(n,B,te,re),u&&y0){P=ih;break e}break;default:re=Zn,Zn=Ji,Lu=null,vs(n,B,te,re)}}Gd(),P=ia;break}catch(Be){Rt(n,Be)}while(!0);return a&&n.shellSuspendCounter++,ep(),Fn=p,Ue.H=b,Ue.A=E,we(),vn===null&&(br=null,En=0,vo()),P}function Gd(){for(;vn!==null;)Ng(vn)}function Om(n,a){var u=Fn;Fn|=di;var p=Dc(),b=_p();if(br!==n||En!==a){if(yr){var E=n.memoizedUpdaters;0<E.size&&(bs(n,En),E.clear()),An(n,a)}zx=null,sC=li()+O2,Oo(n,a)}else y0=nu(n,a);Le(a);e:do try{if(Zn!==Ji&&vn!==null)t:switch(a=vn,E=Lu,Zn){case kx:Zn=Ji,Lu=null,vs(n,a,E,kx);break;case _y:case Dy:if(Td(E)){Zn=Ji,Lu=null,Nm(a);break}a=function(){Zn!==_y&&Zn!==Dy||br!==n||(Zn=jx),Ll(n)},E.then(a,a);break e;case Lx:Zn=jx;break e;case D2:Zn=bA;break e;case jx:Td(E)?(Zn=Ji,Lu=null,Nm(a)):(Zn=Ji,Lu=null,vs(n,a,E,jx));break;case bA:var P=null;switch(vn.tag){case 26:P=vn.memoizedState;case 5:case 27:var B=vn;if(!P||Pp(P)){Zn=Ji,Lu=null;var te=B.sibling;if(te!==null)vn=te;else{var re=B.return;re!==null?(vn=re,Yd(re)):vn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Zn=Ji,Lu=null,vs(n,a,E,bA);break;case g0:Zn=Ji,Lu=null,vs(n,a,E,g0);break;case xA:_c(),ia=iC;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Ue.actQueue!==null?Gd():na();break}catch(Be){Rt(n,Be)}while(!0);return ep(),Ue.H=p,Ue.A=b,Fn=u,vn!==null?(dt!==null&&typeof dt.markRenderYielded=="function"&&dt.markRenderYielded(),ih):(we(),br=null,En=0,vo(),ia)}function na(){for(;vn!==null&&!Ib();)Ng(vn)}function Ng(n){var a=n.alternate;(n.mode&io)!==Dr?(ze(n),a=ht(n,Ht,a,n,Cf),ct(n)):a=ht(n,Ht,a,n,Cf),n.memoizedProps=n.pendingProps,a===null?Yd(n):vn=a}function Nm(n){var a=ht(n,Dp,n);n.memoizedProps=n.pendingProps,a===null?Yd(n):vn=a}function Dp(n){var a=n.alternate,u=(n.mode&io)!==Dr;switch(u&&ze(n),n.tag){case 15:case 0:a=Rg(a,n,n.pendingProps,n.type,void 0,En);break;case 11:a=Rg(a,n,n.pendingProps,n.type.render,n.ref,En);break;case 5:Wn(n);default:_g(a,n),n=vn=Wf(n,Cf),a=Ht(a,n,Cf)}return u&&ct(n),a}function vs(n,a,u,p){ep(),Wn(a),s0=null,Ox=0;var b=a.return;try{if(hp(n,b,a,u,En)){ia=qx,Mi(n,dn(u,n.current)),vn=null;return}}catch(E){if(b!==null)throw vn=b,E;ia=qx,Mi(n,dn(u,n.current)),vn=null;return}a.flags&32768?($n||p===kx?n=!0:y0||(En&536870912)!==0?n=!1:(xv=n=!0,(p===_y||p===Dy||p===Lx||p===g0)&&(p=Bs.current,p!==null&&p.tag===13&&(p.flags|=16384))),$m(a,n)):Yd(a)}function Yd(n){var a=n;do{if((a.flags&32768)!==0){$m(a,xv);return}var u=a.alternate;if(n=a.return,ze(a),u=ht(a,Tb,u,a,Cf),(a.mode&io)!==Dr&&Nt(a),u!==null){vn=u;return}if(a=a.sibling,a!==null){vn=a;return}vn=a=n}while(a!==null);ia===ih&&(ia=_2)}function $m(n,a){do{var u=to(n.alternate,n);if(u!==null){u.flags&=32767,vn=u;return}if((n.mode&io)!==Dr){Nt(n),u=n.actualDuration;for(var p=n.child;p!==null;)u+=p.actualDuration,p=p.sibling;n.actualDuration=u}if(u=n.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!a&&(n=n.sibling,n!==null)){vn=n;return}vn=n=u}while(n!==null);ia=iC,vn=null}function Pm(n,a,u,p,b,E,P,B,te){n.cancelPendingCommit=null;do gs();while(so!==Oy);if(Xc.flushLegacyContextWarning(),Xc.flushPendingUnsafeLifecycleWarnings(),(Fn&(di|Zc))!==ku)throw Error("Should not already be working.");if(dt!==null&&typeof dt.markCommitStarted=="function"&&dt.markCommitStarted(u),a===null)Ye();else{if(u===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===n.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(E=a.lanes|a.childLanes,E|=QT,ot(n,u,E,P,B,te),n===br&&(vn=br=null,En=0),b0=a,Cv=n,Rv=u,RA=E,TA=b,q2=p,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Bm(zc,function(){return Mp(),null})):(n.callbackNode=null,n.callbackPriority=0),Ww=a0(),p=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||p){p=Ue.T,Ue.T=null,b=Pt.p,Pt.p=wa,P=Fn,Fn|=Zc;try{Rp(n,a,u)}finally{Fn=P,Pt.p=b,Ue.T=p}}so=N2,Li(),No(),Ba()}}function Li(){if(so===N2){so=Oy;var n=Cv,a=b0,u=Rv,p=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||p){p=Ue.T,Ue.T=null;var b=Pt.p;Pt.p=wa;var E=Fn;Fn|=Zc;try{h0=u,m0=n,ps(a,n),m0=h0=null,u=LA;var P=Xl(n.containerInfo),B=u.focusedElem,te=u.selectionRange;if(P!==B&&B&&B.ownerDocument&&Eb(B.ownerDocument.documentElement,B)){if(te!==null&&ig(B)){var re=te.start,Be=te.end;if(Be===void 0&&(Be=re),"selectionStart"in B)B.selectionStart=re,B.selectionEnd=Math.min(Be,B.value.length);else{var He=B.ownerDocument||document,qe=He&&He.defaultView||window;if(qe.getSelection){var Ge=qe.getSelection(),gt=B.textContent.length,kt=Math.min(te.start,gt),xr=te.end===void 0?kt:Math.min(te.end,gt);!Ge.extend&&kt>xr&&(P=xr,xr=kt,kt=P);var wn=tl(B,kt),pe=tl(B,xr);if(wn&&pe&&(Ge.rangeCount!==1||Ge.anchorNode!==wn.node||Ge.anchorOffset!==wn.offset||Ge.focusNode!==pe.node||Ge.focusOffset!==pe.offset)){var he=He.createRange();he.setStart(wn.node,wn.offset),Ge.removeAllRanges(),kt>xr?(Ge.addRange(he),Ge.extend(pe.node,pe.offset)):(he.setEnd(pe.node,pe.offset),Ge.addRange(he))}}}}for(He=[],Ge=B;Ge=Ge.parentNode;)Ge.nodeType===1&&He.push({element:Ge,left:Ge.scrollLeft,top:Ge.scrollTop});for(typeof B.focus=="function"&&B.focus(),B=0;B<He.length;B++){var Se=He[B];Se.element.scrollLeft=Se.left,Se.element.scrollTop=Se.top}}RC=!!kA,LA=kA=null}finally{Fn=E,Pt.p=b,Ue.T=p}}n.current=a,so=$2}}function No(){if(so===$2){so=Oy;var n=Cv,a=b0,u=Rv,p=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||p){p=Ue.T,Ue.T=null;var b=Pt.p;Pt.p=wa;var E=Fn;Fn|=Zc;try{dt!==null&&typeof dt.markLayoutEffectsStarted=="function"&&dt.markLayoutEffectsStarted(u),h0=u,m0=n,Mg(n,a.alternate,a),m0=h0=null,dt!==null&&typeof dt.markLayoutEffectsStopped=="function"&&dt.markLayoutEffectsStopped()}finally{Fn=E,Pt.p=b,Ue.T=p}}so=P2}}function Ba(){if(so===fz||so===P2){so=Oy,px();var n=Cv,a=b0,u=Rv,p=q2,b=(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;b?so=CA:(so=Oy,b0=Cv=null,ji(n,n.pendingLanes),Ny=0,Ix=null);var E=n.pendingLanes;if(E===0&&(wv=null),b||Mc(n),b=po(u),a=a.stateNode,Sa&&typeof Sa.onCommitFiberRoot=="function")try{var P=(a.current.flags&128)===128;switch(b){case wa:var B=ff;break;case Yt:B=Vp;break;case Nu:B=zc;break;case Kp:B=Ea;break;default:B=zc}Sa.onCommitFiberRoot(As,a,B,P)}catch(He){Ul||(Ul=!0,console.error("React instrumentation encountered an error: %s",He))}if(yr&&n.memoizedUpdaters.clear(),Am(),p!==null){P=Ue.T,B=Pt.p,Pt.p=wa,Ue.T=null;try{var te=n.onRecoverableError;for(a=0;a<p.length;a++){var re=p[a],Be=qm(re.stack);ht(re.source,te,re.value,Be)}}finally{Ue.T=P,Pt.p=B}}(Rv&3)!==0&&gs(),Ll(n),E=n.pendingLanes,(u&4194090)!==0&&(E&42)!==0?(Zw=!0,n===AA?Ux++:(Ux=0,AA=n)):Ux=0,xs(0),Ye()}}function qm(n){return n={componentStack:n},Object.defineProperty(n,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),n}function ji(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,wi(a)))}function gs(n){return Li(),No(),Ba(),Mp()}function Mp(){if(so!==CA)return!1;var n=Cv,a=RA;RA=0;var u=po(Rv),p=Nu>u?Nu:u;u=Ue.T;var b=Pt.p;try{Pt.p=p,Ue.T=null,p=TA,TA=null;var E=Cv,P=Rv;if(so=Oy,b0=Cv=null,Rv=0,(Fn&(di|Zc))!==ku)throw Error("Cannot flush passive effects while already rendering.");_A=!0,cC=!1,dt!==null&&typeof dt.markPassiveEffectsStarted=="function"&&dt.markPassiveEffectsStarted(P);var B=Fn;if(Fn|=Zc,Tp(E.current),Vd(E,E.current,P,p),dt!==null&&typeof dt.markPassiveEffectsStopped=="function"&&dt.markPassiveEffectsStopped(),Mc(E),Fn=B,xs(0,!1),cC?E===Ix?Ny++:(Ny=0,Ix=E):Ny=0,cC=_A=!1,Sa&&typeof Sa.onPostCommitFiberRoot=="function")try{Sa.onPostCommitFiberRoot(As,E)}catch(re){Ul||(Ul=!0,console.error("React instrumentation encountered an error: %s",re))}var te=E.current.stateNode;return te.effectDuration=0,te.passiveEffectDuration=0,!0}finally{Pt.p=b,Ue.T=u,ji(n,a)}}function Xd(n,a,u){a=dn(u,a),a=ja(n.stateNode,a,2),n=Tl(n,a,2),n!==null&&(it(n,2),Ll(n))}function Tt(n,a,u){if(x0=!1,n.tag===3)Xd(n,n,u);else{for(;a!==null;){if(a.tag===3){Xd(a,n,u);return}if(a.tag===1){var p=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(wv===null||!wv.has(p))){n=dn(u,n),u=Cr(2),p=Tl(a,u,2),p!==null&&(gu(u,p,a,n),it(p,2),Ll(p));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
196
|
+
|
|
197
|
+
Error message:
|
|
198
|
+
|
|
199
|
+
%s`,u)}}function km(n,a,u){var p=n.pingCache;if(p===null){p=n.pingCache=new uz;var b=new Set;p.set(a,b)}else b=p.get(a),b===void 0&&(b=new Set,p.set(a,b));b.has(u)||(EA=!0,b.add(u),p=Mb.bind(null,n,a,u),yr&&bs(n,u),a.then(p,p))}function Mb(n,a,u){var p=n.pingCache;p!==null&&p.delete(a),n.pingedLanes|=n.suspendedLanes&u,n.warmLanes&=~u,_m()&&Ue.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
200
|
+
|
|
201
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
202
|
+
|
|
203
|
+
act(() => {
|
|
204
|
+
/* finish loading suspended data */
|
|
205
|
+
});
|
|
206
|
+
/* assert on the output */
|
|
207
|
+
|
|
208
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),br===n&&(En&u)===u&&(ia===Ay||ia===yA&&(En&62914560)===En&&li()-wA<M2?(Fn&di)===ku&&Oo(n,0):SA|=u,My===En&&(My=0)),Ll(n)}function $g(n,a){a===0&&(a=De()),n=Na(n,a),n!==null&&(it(n,a),Ll(n))}function Op(n){var a=n.memoizedState,u=0;a!==null&&(u=a.retryLane),$g(n,u)}function ys(n,a){var u=0;switch(n.tag){case 13:var p=n.stateNode,b=n.memoizedState;b!==null&&(u=b.retryLane);break;case 19:p=n.stateNode;break;case 22:p=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}p!==null&&p.delete(a),$g(n,u)}function Lm(n,a,u){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var p=n,b=a,E=b.type===uf;E=u||E,b.tag!==22?b.flags&67108864?E&&ht(b,jm,p,b,(b.mode&TO)===Dr):Lm(p,b,E):b.memoizedState===null&&(E&&b.flags&8192?ht(b,jm,p,b):b.subtreeFlags&67108864&&ht(b,Lm,p,b,E)),a=a.sibling}}function jm(n,a){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Pe(!0);try{ql(a),u&&Kd(a),no(n,a.alternate,a,!1),u&&Fd(n,a,0,null,!1,0)}finally{Pe(!1)}}function Mc(n){var a=!0;n.current.mode&(Bo|Yc)||(a=!1),Lm(n,n.current,a)}function ni(n){if((Fn&di)===ku){var a=n.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=le(n)||"ReactComponent",dC!==null){if(dC.has(a))return;dC.add(a)}else dC=new Set([a]);ht(n,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function bs(n,a){yr&&n.memoizedUpdaters.forEach(function(u){Bt(n,u,a)})}function Bm(n,a){var u=Ue.actQueue;return u!==null?(u.push(a),mz):lv(n,a)}function Wd(n){_m()&&Ue.actQueue===null&&ht(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
209
|
+
|
|
210
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
211
|
+
|
|
212
|
+
act(() => {
|
|
213
|
+
/* fire events that update state */
|
|
214
|
+
});
|
|
215
|
+
/* assert on the output */
|
|
216
|
+
|
|
217
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,le(n))})}function Ll(n){n!==E0&&n.next===null&&(E0===null?fC=E0=n:E0=E0.next=n),pC=!0,Ue.actQueue!==null?MA||(MA=!0,zr()):DA||(DA=!0,zr())}function xs(n,a){if(!OA&&pC){OA=!0;do for(var u=!1,p=fC;p!==null;){if(n!==0){var b=p.pendingLanes;if(b===0)var E=0;else{var P=p.suspendedLanes,B=p.pingedLanes;E=(1<<31-fr(42|n)+1)-1,E&=b&~(P&~B),E=E&201326741?E&201326741|1:E?E|2:0}E!==0&&(u=!0,Bi(p,E))}else E=En,E=an(p,p===br?E:0,p.cancelPendingCommit!==null||p.timeoutHandle!==qy),(E&3)===0||nu(p,E)||(u=!0,Bi(p,E));p=p.next}while(u);OA=!1}}function Np(){Oc()}function Oc(){pC=MA=DA=!1;var n=0;$y!==0&&(Zd()&&(n=$y),$y=0);for(var a=li(),u=null,p=fC;p!==null;){var b=p.next,E=ri(p,a);E===0?(p.next=null,u===null?fC=b:u.next=b,b===null&&(E0=u)):(u=p,(n!==0||(E&3)!==0)&&(pC=!0)),p=b}xs(n)}function ri(n,a){for(var u=n.suspendedLanes,p=n.pingedLanes,b=n.expirationTimes,E=n.pendingLanes&-62914561;0<E;){var P=31-fr(E),B=1<<P,te=b[P];te===-1?((B&u)===0||(B&p)!==0)&&(b[P]=Ws(B,a)):te<=a&&(n.expiredLanes|=B),E&=~B}if(a=br,u=En,u=an(n,n===a?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==qy),p=n.callbackNode,u===0||n===a&&(Zn===_y||Zn===Dy)||n.cancelPendingCommit!==null)return p!==null&&zm(p),n.callbackNode=null,n.callbackPriority=0;if((u&3)===0||nu(n,u)){if(a=u&-u,a!==n.callbackPriority||Ue.actQueue!==null&&p!==NA)zm(p);else return a;switch(po(u)){case wa:case Yt:u=Vp;break;case Nu:u=zc;break;case Kp:u=Ea;break;default:u=zc}return p=Dn.bind(null,n),Ue.actQueue!==null?(Ue.actQueue.push(p),u=NA):u=lv(u,p),n.callbackPriority=a,n.callbackNode=u,a}return p!==null&&zm(p),n.callbackPriority=2,n.callbackNode=null,2}function Dn(n,a){if(Zw=Qw=!1,so!==Oy&&so!==CA)return n.callbackNode=null,n.callbackPriority=0,null;var u=n.callbackNode;if(gs()&&n.callbackNode!==u)return null;var p=En;return p=an(n,n===br?p:0,n.cancelPendingCommit!==null||n.timeoutHandle!==qy),p===0?null:(Yr(n,p,a),ri(n,li()),n.callbackNode!=null&&n.callbackNode===u?Dn.bind(null,n):null)}function Bi(n,a){if(gs())return null;Qw=Zw,Zw=!1,Yr(n,a,!0)}function zm(n){n!==NA&&n!==null&&fx(n)}function zr(){Ue.actQueue!==null&&Ue.actQueue.push(function(){return Oc(),null}),Rz(function(){(Fn&(di|Zc))!==ku?lv(ff,Np):Oc()})}function Pg(){return $y===0&&($y=ve()),$y}function qg(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:(ie(n,"action"),vd(""+n))}function kg(n,a){var u=a.ownerDocument.createElement("input");return u.name=a.name,u.value=a.value,n.id&&u.setAttribute("form",n.id),a.parentNode.insertBefore(u,a),n=new FormData(n),u.parentNode.removeChild(u),n}function cr(n,a,u,p,b){if(a==="submit"&&u&&u.stateNode===b){var E=qg((b[Il]||null).action),P=p.submitter;P&&(a=(a=P[Il]||null)?qg(a.formAction):P.getAttribute("formAction"),a!==null&&(E=a,P=null));var B=new At("action","action",null,p,b);n.push({event:B,listeners:[{instance:null,listener:function(){if(p.defaultPrevented){if($y!==0){var te=P?kg(b,P):new FormData(b),re={pending:!0,data:te,method:b.method,action:E};Object.freeze(re),is(u,re,null,te)}}else typeof E=="function"&&(B.preventDefault(),te=P?kg(b,P):new FormData(b),re={pending:!0,data:te,method:b.method,action:E},Object.freeze(re),is(u,re,E,te))},currentTarget:b}]})}}function ga(n,a,u){n.currentTarget=u;try{a(n)}catch(p){pA(p)}n.currentTarget=null}function zi(n,a){a=(a&4)!==0;for(var u=0;u<n.length;u++){var p=n[u];e:{var b=void 0,E=p.event;if(p=p.listeners,a)for(var P=p.length-1;0<=P;P--){var B=p[P],te=B.instance,re=B.currentTarget;if(B=B.listener,te!==b&&E.isPropagationStopped())break e;te!==null?ht(te,ga,E,B,re):ga(E,B,re),b=te}else for(P=0;P<p.length;P++){if(B=p[P],te=B.instance,re=B.currentTarget,B=B.listener,te!==b&&E.isPropagationStopped())break e;te!==null?ht(te,ga,E,B,re):ga(E,B,re),b=te}}}}function rn(n,a){$A.has(n)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',n);var u=a[ly];u===void 0&&(u=a[ly]=new Set);var p=n+"__bubble";u.has(p)||(Im(a,n,2,!1),u.add(p))}function Um(n,a,u){$A.has(n)&&!a&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',n);var p=0;a&&(p|=4),Im(u,n,p,a)}function Lg(n){if(!n[hC]){n[hC]=!0,Vb.forEach(function(u){u!=="selectionchange"&&($A.has(u)||Um(u,!1,n),Um(u,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[hC]||(a[hC]=!0,Um("selectionchange",!1,a))}}function Im(n,a,u,p){switch(jp(a)){case wa:var b=Lb;break;case Yt:b=Lp;break;default:b=Ki}u=b.bind(null,a,u,n),b=void 0,!Oe||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(b=!0),p?b!==void 0?n.addEventListener(a,u,{capture:!0,passive:b}):n.addEventListener(a,u,!0):b!==void 0?n.addEventListener(a,u,{passive:b}):n.addEventListener(a,u,!1)}function cl(n,a,u,p,b){var E=p;if((a&1)===0&&(a&2)===0&&p!==null)e:for(;;){if(p===null)return;var P=p.tag;if(P===3||P===4){var B=p.stateNode.containerInfo;if(B===b)break;if(P===4)for(P=p.return;P!==null;){var te=P.tag;if((te===3||te===4)&&P.stateNode.containerInfo===b)return;P=P.return}for(;B!==null;){if(P=da(B),P===null)return;if(te=P.tag,te===5||te===6||te===26||te===27){p=E=P;continue e}B=B.parentNode}}p=p.return}gd(function(){var re=E,Be=ic(u),He=[];e:{var qe=RO.get(n);if(qe!==void 0){var Ge=At,gt=n;switch(n){case"keypress":if(yd(u)===0)break e;case"keydown":case"keyup":Ge=jT;break;case"focusin":gt="focus",Ge=mn;break;case"focusout":gt="blur",Ge=mn;break;case"beforeblur":case"afterblur":Ge=mn;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ge=Jt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ge=$t;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ge=UT;break;case Lo:case Hl:case jo:Ge=mx;break;case bx:Ge=HT;break;case"scroll":case"scrollend":Ge=Te;break;case"wheel":Ge=FT;break;case"copy":case"cut":case"paste":Ge=vx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ge=Vw;break;case"toggle":case"beforetoggle":Ge=GT}var kt=(a&4)!==0,xr=!kt&&(n==="scroll"||n==="scrollend"),wn=kt?qe!==null?qe+"Capture":null:qe;kt=[];for(var pe=re,he;pe!==null;){var Se=pe;if(he=Se.stateNode,Se=Se.tag,Se!==5&&Se!==26&&Se!==27||he===null||wn===null||(Se=iu(pe,wn),Se!=null&&kt.push(za(pe,Se,he))),xr)break;pe=pe.return}0<kt.length&&(qe=new Ge(qe,gt,null,u,Be),He.push({event:qe,listeners:kt}))}}if((a&7)===0){e:{if(qe=n==="mouseover"||n==="pointerover",Ge=n==="mouseout"||n==="pointerout",qe&&u!==C&&(gt=u.relatedTarget||u.fromElement)&&(da(gt)||gt[_s]))break e;if((Ge||qe)&&(qe=Be.window===Be?Be:(qe=Be.ownerDocument)?qe.defaultView||qe.parentWindow:window,Ge?(gt=u.relatedTarget||u.toElement,Ge=re,gt=gt?da(gt):null,gt!==null&&(xr=N(gt),kt=gt.tag,gt!==xr||kt!==5&&kt!==27&&kt!==6)&&(gt=null)):(Ge=null,gt=re),Ge!==gt)){if(kt=Jt,Se="onMouseLeave",wn="onMouseEnter",pe="mouse",(n==="pointerout"||n==="pointerover")&&(kt=Vw,Se="onPointerLeave",wn="onPointerEnter",pe="pointer"),xr=Ge==null?qe:Qa(Ge),he=gt==null?qe:Qa(gt),qe=new kt(Se,pe+"leave",Ge,u,Be),qe.target=xr,qe.relatedTarget=he,Se=null,da(Be)===re&&(kt=new kt(wn,pe+"enter",gt,u,Be),kt.target=he,kt.relatedTarget=xr,Se=kt),xr=Se,Ge&>)t:{for(kt=Ge,wn=gt,pe=0,he=kt;he;he=Xr(he))pe++;for(he=0,Se=wn;Se;Se=Xr(Se))he++;for(;0<pe-he;)kt=Xr(kt),pe--;for(;0<he-pe;)wn=Xr(wn),he--;for(;pe--;){if(kt===wn||wn!==null&&kt===wn.alternate)break t;kt=Xr(kt),wn=Xr(wn)}kt=null}else kt=null;Ge!==null&&jg(He,qe,Ge,kt,!1),gt!==null&&xr!==null&&jg(He,xr,gt,kt,!0)}}e:{if(qe=re?Qa(re):window,Ge=qe.nodeName&&qe.nodeName.toLowerCase(),Ge==="select"||Ge==="input"&&qe.type==="file")var Xe=cu;else if(gb(qe))if(et)Xe=bb;else{Xe=Yh;var ut=mo}else Ge=qe.nodeName,!Ge||Ge.toLowerCase()!=="input"||qe.type!=="checkbox"&&qe.type!=="radio"?re&&es(re.elementType)&&(Xe=cu):Xe=yb;if(Xe&&(Xe=Xe(n,re))){Kh(He,Xe,u,Be);break e}ut&&ut(n,qe,re),n==="focusout"&&re&&qe.type==="number"&&re.memoizedProps.value!=null&&jh(qe,"number",qe.value)}switch(ut=re?Qa(re):window,n){case"focusin":(gb(ut)||ut.contentEditable==="true")&&(st=ut,bt=re,Dt=null);break;case"focusout":Dt=bt=st=null;break;case"mousedown":Xt=!0;break;case"contextmenu":case"mouseup":case"dragend":Xt=!1,ug(He,u,Be);break;case"selectionchange":if(tt)break;case"keydown":case"keyup":ug(He,u,Be)}var Wt;if(yx)e:{switch(n){case"compositionstart":var yt="onCompositionStart";break e;case"compositionend":yt="onCompositionEnd";break e;case"compositionupdate":yt="onCompositionUpdate";break e}yt=void 0}else ne?el(n,u)&&(yt="onCompositionEnd"):n==="keydown"&&u.keyCode===Fw&&(yt="onCompositionStart");yt&&(v&&u.locale!=="ko"&&(ne||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&ne&&(Wt=uu()):(Je=Be,ke="value"in Je?Je.value:Je.textContent,ne=!0)),ut=Qd(re,yt),0<ut.length&&(yt=new Hw(yt,n,null,u,Be),He.push({event:yt,listeners:ut}),Wt?yt.data=Wt:(Wt=ts(u),Wt!==null&&(yt.data=Wt)))),(Wt=f?Vh(n,u):Gf(n,u))&&(yt=Qd(re,"onBeforeInput"),0<yt.length&&(ut=new $T("onBeforeInput","beforeinput",null,u,Be),He.push({event:ut,listeners:yt}),ut.data=Wt)),cr(He,n,re,u,Be)}zi(He,a)})}function za(n,a,u){return{instance:n,listener:a,currentTarget:u}}function Qd(n,a){for(var u=a+"Capture",p=[];n!==null;){var b=n,E=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||E===null||(b=iu(n,u),b!=null&&p.unshift(za(n,b,E)),b=iu(n,a),b!=null&&p.push(za(n,b,E))),n.tag===3)return p;n=n.return}return[]}function Xr(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function jg(n,a,u,p,b){for(var E=a._reactName,P=[];u!==null&&u!==p;){var B=u,te=B.alternate,re=B.stateNode;if(B=B.tag,te!==null&&te===p)break;B!==5&&B!==26&&B!==27||re===null||(te=re,b?(re=iu(u,E),re!=null&&P.unshift(za(u,re,te))):b||(re=iu(u,E),re!=null&&P.push(za(u,re,te)))),u=u.return}P.length!==0&&n.push({event:a,listeners:P})}function Ui(n,a){md(n,a),n!=="input"&&n!=="textarea"&&n!=="select"||a==null||a.value!==null||yy||(yy=!0,n==="select"&&a.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n));var u={registrationNameDependencies:ko,possibleRegistrationNames:Uc};es(n)||typeof a.is=="string"||rg(n,a,u),a.contentEditable&&!a.suppressContentEditableWarning&&a.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function dr(n,a,u,p){a!==u&&(u=ya(u),ya(a)!==u&&(p[n]=a))}function Ru(n,a,u){a.forEach(function(p){u[zg(p)]=p==="style"?Es(n):n.getAttribute(p)})}function $o(n,a){a===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",n,n,n):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",n,typeof a)}function Hm(n,a){return n=n.namespaceURI===Zp||n.namespaceURI===xf?n.ownerDocument.createElementNS(n.namespaceURI,n.tagName):n.ownerDocument.createElement(n.tagName),n.innerHTML=a,n.innerHTML}function ya(n){return Y(n)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",me(n)),be(n)),(typeof n=="string"?n:""+n).replace(vz,`
|
|
218
|
+
`).replace(gz,"")}function Bg(n,a){return a=ya(a),ya(n)===a}function Tu(){}function Rn(n,a,u,p,b,E){switch(u){case"children":typeof p=="string"?(fd(p,a,!1),a==="body"||a==="textarea"&&p===""||oc(n,p)):(typeof p=="number"||typeof p=="bigint")&&(fd(""+p,a,!1),a!=="body"&&oc(n,""+p));break;case"className":Js(n,"class",p);break;case"tabIndex":Js(n,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":Js(n,u,p);break;case"style":pd(n,p,E);break;case"data":if(a!=="object"){Js(n,"data",p);break}case"src":case"href":if(p===""&&(a!=="a"||u!=="href")){console.error(u==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u),n.removeAttribute(u);break}if(p==null||typeof p=="function"||typeof p=="symbol"||typeof p=="boolean"){n.removeAttribute(u);break}ie(p,u),p=vd(""+p),n.setAttribute(u,p);break;case"action":case"formAction":if(p!=null&&(a==="form"?u==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof p=="function"&&(b.encType==null&&b.method==null||gC||(gC=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),b.target==null||vC||(vC=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):a==="input"||a==="button"?u==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||b.type==="submit"||b.type==="image"||mC?a!=="button"||b.type==null||b.type==="submit"||mC?typeof p=="function"&&(b.name==null||z2||(z2=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),b.formEncType==null&&b.formMethod==null||gC||(gC=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),b.formTarget==null||vC||(vC=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(mC=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(mC=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(u==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof p=="function"){n.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof E=="function"&&(u==="formAction"?(a!=="input"&&Rn(n,a,"name",b.name,b,null),Rn(n,a,"formEncType",b.formEncType,b,null),Rn(n,a,"formMethod",b.formMethod,b,null),Rn(n,a,"formTarget",b.formTarget,b,null)):(Rn(n,a,"encType",b.encType,b,null),Rn(n,a,"method",b.method,b,null),Rn(n,a,"target",b.target,b,null)));if(p==null||typeof p=="symbol"||typeof p=="boolean"){n.removeAttribute(u);break}ie(p,u),p=vd(""+p),n.setAttribute(u,p);break;case"onClick":p!=null&&(typeof p!="function"&&$o(u,p),n.onclick=Tu);break;case"onScroll":p!=null&&(typeof p!="function"&&$o(u,p),rn("scroll",n));break;case"onScrollEnd":p!=null&&(typeof p!="function"&&$o(u,p),rn("scrollend",n));break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(u=p.__html,u!=null){if(b.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n.innerHTML=u}}break;case"multiple":n.multiple=p&&typeof p!="function"&&typeof p!="symbol";break;case"muted":n.muted=p&&typeof p!="function"&&typeof p!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeof p=="function"||typeof p=="boolean"||typeof p=="symbol"){n.removeAttribute("xlink:href");break}ie(p,u),u=vd(""+p),n.setAttributeNS(Py,"xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeof p!="function"&&typeof p!="symbol"?(ie(p,u),n.setAttribute(u,""+p)):n.removeAttribute(u);break;case"inert":p!==""||yC[u]||(yC[u]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",u));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":p&&typeof p!="function"&&typeof p!="symbol"?n.setAttribute(u,""):n.removeAttribute(u);break;case"capture":case"download":p===!0?n.setAttribute(u,""):p!==!1&&p!=null&&typeof p!="function"&&typeof p!="symbol"?(ie(p,u),n.setAttribute(u,p)):n.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":p!=null&&typeof p!="function"&&typeof p!="symbol"&&!isNaN(p)&&1<=p?(ie(p,u),n.setAttribute(u,p)):n.removeAttribute(u);break;case"rowSpan":case"start":p==null||typeof p=="function"||typeof p=="symbol"||isNaN(p)?n.removeAttribute(u):(ie(p,u),n.setAttribute(u,p));break;case"popover":rn("beforetoggle",n),rn("toggle",n),Zs(n,"popover",p);break;case"xlinkActuate":Gl(n,Py,"xlink:actuate",p);break;case"xlinkArcrole":Gl(n,Py,"xlink:arcrole",p);break;case"xlinkRole":Gl(n,Py,"xlink:role",p);break;case"xlinkShow":Gl(n,Py,"xlink:show",p);break;case"xlinkTitle":Gl(n,Py,"xlink:title",p);break;case"xlinkType":Gl(n,Py,"xlink:type",p);break;case"xmlBase":Gl(n,PA,"xml:base",p);break;case"xmlLang":Gl(n,PA,"xml:lang",p);break;case"xmlSpace":Gl(n,PA,"xml:space",p);break;case"is":E!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Zs(n,"is",p);break;case"innerText":case"textContent":break;case"popoverTarget":U2||p==null||typeof p!="object"||(U2=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",p));default:!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N"?(u=Ih(u),Zs(n,u,p)):ko.hasOwnProperty(u)&&p!=null&&typeof p!="function"&&$o(u,p)}}function ra(n,a,u,p,b,E){switch(u){case"style":pd(n,p,E);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(u=p.__html,u!=null){if(b.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n.innerHTML=u}}break;case"children":typeof p=="string"?oc(n,p):(typeof p=="number"||typeof p=="bigint")&&oc(n,""+p);break;case"onScroll":p!=null&&(typeof p!="function"&&$o(u,p),rn("scroll",n));break;case"onScrollEnd":p!=null&&(typeof p!="function"&&$o(u,p),rn("scrollend",n));break;case"onClick":p!=null&&(typeof p!="function"&&$o(u,p),n.onclick=Tu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ko.hasOwnProperty(u))p!=null&&typeof p!="function"&&$o(u,p);else e:{if(u[0]==="o"&&u[1]==="n"&&(b=u.endsWith("Capture"),a=u.slice(2,b?u.length-7:void 0),E=n[Il]||null,E=E!=null?E[u]:null,typeof E=="function"&&n.removeEventListener(a,E,b),typeof p=="function")){typeof E!="function"&&E!==null&&(u in n?n[u]=null:n.hasAttribute(u)&&n.removeAttribute(u)),n.addEventListener(a,p,b);break e}u in n?n[u]=p:p===!0?n.setAttribute(u,""):Zs(n,u,p)}}}function Tr(n,a,u){switch(Ui(a,u),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":rn("error",n),rn("load",n);var p=!1,b=!1,E;for(E in u)if(u.hasOwnProperty(E)){var P=u[E];if(P!=null)switch(E){case"src":p=!0;break;case"srcSet":b=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Rn(n,a,E,P,u,null)}}b&&Rn(n,a,"srcSet",u.srcSet,u,null),p&&Rn(n,a,"src",u.src,u,null);return;case"input":Vo("input",u),rn("invalid",n);var B=E=P=b=null,te=null,re=null;for(p in u)if(u.hasOwnProperty(p)){var Be=u[p];if(Be!=null)switch(p){case"name":b=Be;break;case"type":P=Be;break;case"checked":te=Be;break;case"defaultChecked":re=Be;break;case"value":E=Be;break;case"defaultValue":B=Be;break;case"children":case"dangerouslySetInnerHTML":if(Be!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Rn(n,a,p,Be,u,null)}}Yu(n,u),Bf(n,E,B,te,re,P,b,!1),au(n);return;case"select":Vo("select",u),rn("invalid",n),p=P=E=null;for(b in u)if(u.hasOwnProperty(b)&&(B=u[b],B!=null))switch(b){case"value":E=B;break;case"defaultValue":P=B;break;case"multiple":p=B;default:Rn(n,a,b,B,u,null)}zf(n,u),a=E,u=P,n.multiple=!!p,a!=null?lu(n,!!p,a,!1):u!=null&&lu(n,!!p,u,!0);return;case"textarea":Vo("textarea",u),rn("invalid",n),E=b=p=null;for(P in u)if(u.hasOwnProperty(P)&&(B=u[P],B!=null))switch(P){case"value":p=B;break;case"defaultValue":b=B;break;case"children":E=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Rn(n,a,P,B,u,null)}Fo(n,u),Bh(n,p,b,E),au(n);return;case"option":cd(n,u);for(te in u)if(u.hasOwnProperty(te)&&(p=u[te],p!=null))switch(te){case"selected":n.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:Rn(n,a,te,p,u,null)}return;case"dialog":rn("beforetoggle",n),rn("toggle",n),rn("cancel",n),rn("close",n);break;case"iframe":case"object":rn("load",n);break;case"video":case"audio":for(p=0;p<Hx.length;p++)rn(Hx[p],n);break;case"image":rn("error",n),rn("load",n);break;case"details":rn("toggle",n);break;case"embed":case"source":case"link":rn("error",n),rn("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(re in u)if(u.hasOwnProperty(re)&&(p=u[re],p!=null))switch(re){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Rn(n,a,re,p,u,null)}return;default:if(es(a)){for(Be in u)u.hasOwnProperty(Be)&&(p=u[Be],p!==void 0&&ra(n,a,Be,p,u,void 0));return}}for(B in u)u.hasOwnProperty(B)&&(p=u[B],p!=null&&Rn(n,a,B,p,u,null))}function Ob(n,a,u,p){switch(Ui(a,p),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var b=null,E=null,P=null,B=null,te=null,re=null,Be=null;for(Ge in u){var He=u[Ge];if(u.hasOwnProperty(Ge)&&He!=null)switch(Ge){case"checked":break;case"value":break;case"defaultValue":te=He;default:p.hasOwnProperty(Ge)||Rn(n,a,Ge,null,p,He)}}for(var qe in p){var Ge=p[qe];if(He=u[qe],p.hasOwnProperty(qe)&&(Ge!=null||He!=null))switch(qe){case"type":E=Ge;break;case"name":b=Ge;break;case"checked":re=Ge;break;case"defaultChecked":Be=Ge;break;case"value":P=Ge;break;case"defaultValue":B=Ge;break;case"children":case"dangerouslySetInnerHTML":if(Ge!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ge!==He&&Rn(n,a,qe,Ge,p,He)}}a=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,p=p.type==="checkbox"||p.type==="radio"?p.checked!=null:p.value!=null,a||!p||B2||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),B2=!0),!a||p||j2||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),j2=!0),Xu(n,P,B,te,re,Be,E,b);return;case"select":Ge=P=B=qe=null;for(E in u)if(te=u[E],u.hasOwnProperty(E)&&te!=null)switch(E){case"value":break;case"multiple":Ge=te;default:p.hasOwnProperty(E)||Rn(n,a,E,null,p,te)}for(b in p)if(E=p[b],te=u[b],p.hasOwnProperty(b)&&(E!=null||te!=null))switch(b){case"value":qe=E;break;case"defaultValue":B=E;break;case"multiple":P=E;default:E!==te&&Rn(n,a,b,E,p,te)}p=B,a=P,u=Ge,qe!=null?lu(n,!!a,qe,!1):!!u!=!!a&&(p!=null?lu(n,!!a,p,!0):lu(n,!!a,a?[]:"",!1));return;case"textarea":Ge=qe=null;for(B in u)if(b=u[B],u.hasOwnProperty(B)&&b!=null&&!p.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:Rn(n,a,B,null,p,b)}for(P in p)if(b=p[P],E=u[P],p.hasOwnProperty(P)&&(b!=null||E!=null))switch(P){case"value":qe=b;break;case"defaultValue":Ge=b;break;case"children":break;case"dangerouslySetInnerHTML":if(b!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:b!==E&&Rn(n,a,P,b,p,E)}Uf(n,qe,Ge);return;case"option":for(var gt in u)if(qe=u[gt],u.hasOwnProperty(gt)&&qe!=null&&!p.hasOwnProperty(gt))switch(gt){case"selected":n.selected=!1;break;default:Rn(n,a,gt,null,p,qe)}for(te in p)if(qe=p[te],Ge=u[te],p.hasOwnProperty(te)&&qe!==Ge&&(qe!=null||Ge!=null))switch(te){case"selected":n.selected=qe&&typeof qe!="function"&&typeof qe!="symbol";break;default:Rn(n,a,te,qe,p,Ge)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var kt in u)qe=u[kt],u.hasOwnProperty(kt)&&qe!=null&&!p.hasOwnProperty(kt)&&Rn(n,a,kt,null,p,qe);for(re in p)if(qe=p[re],Ge=u[re],p.hasOwnProperty(re)&&qe!==Ge&&(qe!=null||Ge!=null))switch(re){case"children":case"dangerouslySetInnerHTML":if(qe!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Rn(n,a,re,qe,p,Ge)}return;default:if(es(a)){for(var xr in u)qe=u[xr],u.hasOwnProperty(xr)&&qe!==void 0&&!p.hasOwnProperty(xr)&&ra(n,a,xr,void 0,p,qe);for(Be in p)qe=p[Be],Ge=u[Be],!p.hasOwnProperty(Be)||qe===Ge||qe===void 0&&Ge===void 0||ra(n,a,Be,qe,p,Ge);return}}for(var wn in u)qe=u[wn],u.hasOwnProperty(wn)&&qe!=null&&!p.hasOwnProperty(wn)&&Rn(n,a,wn,null,p,qe);for(He in p)qe=p[He],Ge=u[He],!p.hasOwnProperty(He)||qe===Ge||qe==null&&Ge==null||Rn(n,a,He,qe,p,Ge)}function zg(n){switch(n){case"class":return"className";case"for":return"htmlFor";default:return n}}function Es(n){var a={};n=n.style;for(var u=0;u<n.length;u++){var p=n[u];a[p]=n.getPropertyValue(p)}return a}function Ug(n,a,u){if(a!=null&&typeof a!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var p,b=p="",E;for(E in a)if(a.hasOwnProperty(E)){var P=a[E];P!=null&&typeof P!="boolean"&&P!==""&&(E.indexOf("--")===0?(fe(P,E),p+=b+E+":"+(""+P).trim()):typeof P!="number"||P===0||Qp.has(E)?(fe(P,E),p+=b+E.replace($u,"-$1").toLowerCase().replace(Pu,"-ms-")+":"+(""+P).trim()):p+=b+E.replace($u,"-$1").toLowerCase().replace(Pu,"-ms-")+":"+P+"px",b=";")}p=p||null,a=n.getAttribute("style"),a!==p&&(p=ya(p),ya(a)!==p&&(u.style=Es(n)))}}function dl(n,a,u,p,b,E){if(b.delete(u),n=n.getAttribute(u),n===null)switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":return}else if(p!=null)switch(typeof p){case"function":case"symbol":case"boolean":break;default:if(ie(p,a),n===""+p)return}dr(a,n,p,E)}function Ig(n,a,u,p,b,E){if(b.delete(u),n=n.getAttribute(u),n===null){switch(typeof p){case"function":case"symbol":return}if(!p)return}else switch(typeof p){case"function":case"symbol":break;default:if(p)return}dr(a,n,p,E)}function Hg(n,a,u,p,b,E){if(b.delete(u),n=n.getAttribute(u),n===null)switch(typeof p){case"undefined":case"function":case"symbol":return}else if(p!=null)switch(typeof p){case"function":case"symbol":break;default:if(ie(p,u),n===""+p)return}dr(a,n,p,E)}function Vm(n,a,u,p,b,E){if(b.delete(u),n=n.getAttribute(u),n===null)switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(p))return}else if(p!=null)switch(typeof p){case"function":case"symbol":case"boolean":break;default:if(!isNaN(p)&&(ie(p,a),n===""+p))return}dr(a,n,p,E)}function Mn(n,a,u,p,b,E){if(b.delete(u),n=n.getAttribute(u),n===null)switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":return}else if(p!=null)switch(typeof p){case"function":case"symbol":case"boolean":break;default:if(ie(p,a),u=vd(""+p),n===u)return}dr(a,n,p,E)}function Hn(n,a,u,p){for(var b={},E=new Set,P=n.attributes,B=0;B<P.length;B++)switch(P[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:E.add(P[B].name)}if(es(a)){for(var te in u)if(u.hasOwnProperty(te)){var re=u[te];if(re!=null){if(ko.hasOwnProperty(te))typeof re!="function"&&$o(te,re);else if(u.suppressHydrationWarning!==!0)switch(te){case"children":typeof re!="string"&&typeof re!="number"||dr("children",n.textContent,re,b);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":P=n.innerHTML,re=re?re.__html:void 0,re!=null&&(re=Hm(n,re),dr(te,P,re,b));continue;case"style":E.delete(te),Ug(n,re,b);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":E.delete(te.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",te);continue;case"className":E.delete("class"),P=Ph(n,"class",re),dr("className",P,re,b);continue;default:p.context===sh&&a!=="svg"&&a!=="math"?E.delete(te.toLowerCase()):E.delete(te),P=Ph(n,te,re),dr(te,P,re,b)}}}}else for(re in u)if(u.hasOwnProperty(re)&&(te=u[re],te!=null)){if(ko.hasOwnProperty(re))typeof te!="function"&&$o(re,te);else if(u.suppressHydrationWarning!==!0)switch(re){case"children":typeof te!="string"&&typeof te!="number"||dr("children",n.textContent,te,b);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":P=n.innerHTML,te=te?te.__html:void 0,te!=null&&(te=Hm(n,te),P!==te&&(b[re]={__html:P}));continue;case"className":dl(n,re,"class",te,E,b);continue;case"tabIndex":dl(n,re,"tabindex",te,E,b);continue;case"style":E.delete(re),Ug(n,te,b);continue;case"multiple":E.delete(re),dr(re,n.multiple,te,b);continue;case"muted":E.delete(re),dr(re,n.muted,te,b);continue;case"autoFocus":E.delete("autofocus"),dr(re,n.autofocus,te,b);continue;case"data":if(a!=="object"){E.delete(re),P=n.getAttribute("data"),dr(re,P,te,b);continue}case"src":case"href":if(!(te!==""||a==="a"&&re==="href"||a==="object"&&re==="data")){console.error(re==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',re,re);continue}Mn(n,re,re,te,E,b);continue;case"action":case"formAction":if(P=n.getAttribute(re),typeof te=="function"){E.delete(re.toLowerCase()),re==="formAction"?(E.delete("name"),E.delete("formenctype"),E.delete("formmethod"),E.delete("formtarget")):(E.delete("enctype"),E.delete("method"),E.delete("target"));continue}else if(P===yz){E.delete(re.toLowerCase()),dr(re,"function",te,b);continue}Mn(n,re,re.toLowerCase(),te,E,b);continue;case"xlinkHref":Mn(n,re,"xlink:href",te,E,b);continue;case"contentEditable":Hg(n,re,"contenteditable",te,E,b);continue;case"spellCheck":Hg(n,re,"spellcheck",te,E,b);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Hg(n,re,re,te,E,b);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Ig(n,re,re.toLowerCase(),te,E,b);continue;case"capture":case"download":e:{B=n;var Be=P=re,He=b;if(E.delete(Be),B=B.getAttribute(Be),B===null)switch(typeof te){case"undefined":case"function":case"symbol":break e;default:if(te===!1)break e}else if(te!=null)switch(typeof te){case"function":case"symbol":break;case"boolean":if(te===!0&&B==="")break e;break;default:if(ie(te,P),B===""+te)break e}dr(P,B,te,He)}continue;case"cols":case"rows":case"size":case"span":e:{if(B=n,Be=P=re,He=b,E.delete(Be),B=B.getAttribute(Be),B===null)switch(typeof te){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(te)||1>te)break e}else if(te!=null)switch(typeof te){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(te)||1>te)&&(ie(te,P),B===""+te))break e}dr(P,B,te,He)}continue;case"rowSpan":Vm(n,re,"rowspan",te,E,b);continue;case"start":Vm(n,re,re,te,E,b);continue;case"xHeight":dl(n,re,"x-height",te,E,b);continue;case"xlinkActuate":dl(n,re,"xlink:actuate",te,E,b);continue;case"xlinkArcrole":dl(n,re,"xlink:arcrole",te,E,b);continue;case"xlinkRole":dl(n,re,"xlink:role",te,E,b);continue;case"xlinkShow":dl(n,re,"xlink:show",te,E,b);continue;case"xlinkTitle":dl(n,re,"xlink:title",te,E,b);continue;case"xlinkType":dl(n,re,"xlink:type",te,E,b);continue;case"xmlBase":dl(n,re,"xml:base",te,E,b);continue;case"xmlLang":dl(n,re,"xml:lang",te,E,b);continue;case"xmlSpace":dl(n,re,"xml:space",te,E,b);continue;case"inert":te!==""||yC[re]||(yC[re]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",re)),Ig(n,re,re,te,E,b);continue;default:if(!(2<re.length)||re[0]!=="o"&&re[0]!=="O"||re[1]!=="n"&&re[1]!=="N"){B=Ih(re),P=!1,p.context===sh&&a!=="svg"&&a!=="math"?E.delete(B.toLowerCase()):(Be=re.toLowerCase(),Be=Kc.hasOwnProperty(Be)&&Kc[Be]||null,Be!==null&&Be!==re&&(P=!0,E.delete(Be)),E.delete(B));e:if(Be=n,He=B,B=te,gi(He))if(Be.hasAttribute(He))Be=Be.getAttribute(He),ie(B,He),B=Be===""+B?B:Be;else{switch(typeof B){case"function":case"symbol":break e;case"boolean":if(Be=He.toLowerCase().slice(0,5),Be!=="data-"&&Be!=="aria-")break e}B=B===void 0?void 0:null}else B=void 0;P||dr(re,B,te,b)}}}return 0<E.size&&u.suppressHydrationWarning!==!0&&Ru(n,E,b),Object.keys(b).length===0?null:b}function on(n,a){switch(n.length){case 0:return"";case 1:return n[0];case 2:return n[0]+" "+a+" "+n[1];default:return n.slice(0,-1).join(", ")+", "+a+" "+n[n.length-1]}}function un(n){return n.nodeType===9?n:n.ownerDocument}function Nn(n){switch(n){case xf:return S0;case Zp:return EC;default:return sh}}function jl(n,a){if(n===sh)switch(a){case"svg":return S0;case"math":return EC;default:return sh}return n===S0&&a==="foreignObject"?sh:n}function Ii(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}function Zd(){var n=window.event;return n&&n.type==="popstate"?n===jA?!1:(jA=n,!0):(jA=null,!1)}function Vg(n){setTimeout(function(){throw n})}function Au(n,a,u){switch(a){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src?n.src=u.src:u.srcSet&&(n.srcset=u.srcSet)}}function Ar(n,a,u,p){Ob(n,a,u,p),n[Il]=p}function _u(n){oc(n,"")}function Nc(n,a,u){n.nodeValue=u}function Hi(n){return n==="head"}function Po(n,a){n.removeChild(a)}function Jd(n,a){(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).removeChild(a)}function ef(n,a){var u=a,p=0,b=0;do{var E=u.nextSibling;if(n.removeChild(u),E&&E.nodeType===8)if(u=E.data,u===xC){if(0<p&&8>p){u=p;var P=n.ownerDocument;if(u&xz&&rf(P.documentElement),u&Ez&&rf(P.body),u&Sz)for(u=P.head,rf(u),P=u.firstChild;P;){var B=P.nextSibling,te=P.nodeName;P[vf]||te==="SCRIPT"||te==="STYLE"||te==="LINK"&&P.rel.toLowerCase()==="stylesheet"||u.removeChild(P),P=B}}if(b===0){n.removeChild(E),Rs(a);return}b--}else u===bC||u===uh||u===Vx?b++:p=u.charCodeAt(0)-48;else p=0;u=E}while(u);Rs(a)}function Bl(n){n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function Fg(n){n.nodeValue=""}function Kg(n,a){a=a[wz],a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function tf(n,a){n.nodeValue=a}function $c(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var u=a;switch(a=a.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":$c(u),wl(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}n.removeChild(u)}}function Ss(n,a,u,p){for(;n.nodeType===1;){var b=u;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!p&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(p){if(!n[vf])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(E=n.getAttribute("rel"),E==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(E!==b.rel||n.getAttribute("href")!==(b.href==null||b.href===""?null:b.href)||n.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin)||n.getAttribute("title")!==(b.title==null?null:b.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(E=n.getAttribute("src"),(E!==(b.src==null?null:b.src)||n.getAttribute("type")!==(b.type==null?null:b.type)||n.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin))&&E&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){ie(b.name,"name");var E=b.name==null?null:""+b.name;if(b.type==="hidden"&&n.getAttribute("name")===E)return n}else return n;if(n=xa(n.nextSibling),n===null)break}return null}function ba(n,a,u){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!u||(n=xa(n.nextSibling),n===null))return null;return n}function Vi(n){return n.data===Vx||n.data===uh&&n.ownerDocument.readyState===H2}function nf(n,a){var u=n.ownerDocument;if(n.data!==uh||u.readyState===H2)a();else{var p=function(){a(),u.removeEventListener("DOMContentLoaded",p)};u.addEventListener("DOMContentLoaded",p),n._reactRetry=p}}function xa(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a===bC||a===Vx||a===uh||a===qA||a===I2)break;if(a===xC)return null}}return n}function Fm(n){if(n.nodeType===1){for(var a=n.nodeName.toLowerCase(),u={},p=n.attributes,b=0;b<p.length;b++){var E=p[b];u[zg(E.name)]=E.name.toLowerCase()==="style"?Es(n):E.value}return{type:a,props:u}}return n.nodeType===8?{type:"Suspense",props:{}}:n.nodeValue}function Km(n,a,u){return u===null||u[bz]!==!0?(n.nodeValue===a?n=null:(a=ya(a),n=ya(n.nodeValue)===a?null:n.nodeValue),n):null}function Gg(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var u=n.data;if(u===xC){if(a===0)return xa(n.nextSibling);a--}else u!==bC&&u!==Vx&&u!==uh||a++}n=n.nextSibling}return null}function Pc(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var u=n.data;if(u===bC||u===Vx||u===uh){if(a===0)return n;a--}else u===xC&&a++}n=n.previousSibling}return null}function Yg(n){Rs(n)}function Ua(n){Rs(n)}function Xg(n,a,u,p,b){switch(b&&Kf(n,p.ancestorInfo),a=un(u),n){case"html":if(n=a.documentElement,!n)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return n;case"head":if(n=a.head,!n)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return n;case"body":if(n=a.body,!n)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return n;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function ro(n,a,u,p){if(!u[_s]&&Vr(u)){var b=u.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",b,b,b)}switch(n){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(b=u.attributes;b.length;)u.removeAttributeNode(b[0]);Tr(u,n,a),u[Ha]=p,u[Il]=a}function rf(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);wl(n)}function $p(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}function Nb(n,a,u){var p=w0;if(p&&typeof a=="string"&&a){var b=Yl(a);b='link[rel="'+n+'"][href="'+b+'"]',typeof u=="string"&&(b+='[crossorigin="'+u+'"]'),X2.has(b)||(X2.add(b),n={rel:n,crossOrigin:u,href:a},p.querySelector(b)===null&&(a=p.createElement("link"),Tr(a,"link",n),gr(a),p.head.appendChild(a)))}}function Du(n,a,u,p){var b=(b=ai.current)?$p(b):null;if(!b)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(n){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(u=ws(u.href),a=Ma(b).hoistableStyles,p=a.get(u),p||(p={type:"style",instance:null,count:0,state:null},a.set(u,p)),p):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){n=ws(u.href);var E=Ma(b).hoistableStyles,P=E.get(n);if(!P&&(b=b.ownerDocument||b,P={type:"stylesheet",instance:null,count:0,state:{loading:ky,preload:null}},E.set(n,P),(E=b.querySelector(Fi(n)))&&!E._p&&(P.instance=E,P.state.loading=Fx|zs),!Us.has(n))){var B={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy};Us.set(n,B),E||$b(b,n,B,P.state)}if(a&&p===null)throw u=`
|
|
219
|
+
|
|
220
|
+
- `+qc(a)+`
|
|
221
|
+
+ `+qc(u),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+u);return P}if(a&&p!==null)throw u=`
|
|
222
|
+
|
|
223
|
+
- `+qc(a)+`
|
|
224
|
+
+ `+qc(u),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+u);return null;case"script":return a=u.async,u=u.src,typeof u=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(u=kc(u),a=Ma(b).hoistableScripts,p=a.get(u),p||(p={type:"script",instance:null,count:0,state:null},a.set(u,p)),p):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+n+'". this is a bug in React.')}}function qc(n){var a=0,u="<link";return typeof n.rel=="string"?(a++,u+=' rel="'+n.rel+'"'):Ou.call(n,"rel")&&(a++,u+=' rel="'+(n.rel===null?"null":"invalid type "+typeof n.rel)+'"'),typeof n.href=="string"?(a++,u+=' href="'+n.href+'"'):Ou.call(n,"href")&&(a++,u+=' href="'+(n.href===null?"null":"invalid type "+typeof n.href)+'"'),typeof n.precedence=="string"?(a++,u+=' precedence="'+n.precedence+'"'):Ou.call(n,"precedence")&&(a++,u+=" precedence={"+(n.precedence===null?"null":"invalid type "+typeof n.precedence)+"}"),Object.getOwnPropertyNames(n).length>a&&(u+=" ..."),u+" />"}function ws(n){return'href="'+Yl(n)+'"'}function Fi(n){return'link[rel="stylesheet"]['+n+"]"}function Wg(n){return Gt({},n,{"data-precedence":n.precedence,precedence:null})}function $b(n,a,u,p){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?p.loading=Fx:(a=n.createElement("link"),p.preload=a,a.addEventListener("load",function(){return p.loading|=Fx}),a.addEventListener("error",function(){return p.loading|=G2}),Tr(a,"link",u),gr(a),n.head.appendChild(a))}function kc(n){return'[src="'+Yl(n)+'"]'}function Lc(n){return"script[async]"+n}function Gm(n,a,u){if(a.count++,a.instance===null)switch(a.type){case"style":var p=n.querySelector('style[data-href~="'+Yl(u.href)+'"]');if(p)return a.instance=p,gr(p),p;var b=Gt({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return p=(n.ownerDocument||n).createElement("style"),gr(p),Tr(p,"style",b),Ym(p,u.precedence,n),a.instance=p;case"stylesheet":b=ws(u.href);var E=n.querySelector(Fi(b));if(E)return a.state.loading|=zs,a.instance=E,gr(E),E;p=Wg(u),(b=Us.get(b))&&Qg(p,b),E=(n.ownerDocument||n).createElement("link"),gr(E);var P=E;return P._p=new Promise(function(B,te){P.onload=B,P.onerror=te}),Tr(E,"link",p),a.state.loading|=zs,Ym(E,u.precedence,n),a.instance=E;case"script":return E=kc(u.src),(b=n.querySelector(Lc(E)))?(a.instance=b,gr(b),b):(p=u,(b=Us.get(E))&&(p=Gt({},u),Xm(p,b)),n=n.ownerDocument||n,b=n.createElement("script"),gr(b),Tr(b,"link",p),n.head.appendChild(b),a.instance=b);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+a.type+'". this is a bug in React.')}else a.type==="stylesheet"&&(a.state.loading&zs)===ky&&(p=a.instance,a.state.loading|=zs,Ym(p,u.precedence,n));return a.instance}function Ym(n,a,u){for(var p=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=p.length?p[p.length-1]:null,E=b,P=0;P<p.length;P++){var B=p[P];if(B.dataset.precedence===a)E=B;else if(E!==b)break}E?E.parentNode.insertBefore(n,E.nextSibling):(a=u.nodeType===9?u.head:u,a.insertBefore(n,a.firstChild))}function Qg(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Xm(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}function Wm(n,a,u){if(SC===null){var p=new Map,b=SC=new Map;b.set(u,p)}else b=SC,p=b.get(u),p||(p=new Map,b.set(u,p));if(p.has(n))return p;for(p.set(n,null),u=u.getElementsByTagName(n),b=0;b<u.length;b++){var E=u[b];if(!(E[vf]||E[Ha]||n==="link"&&E.getAttribute("rel")==="stylesheet")&&E.namespaceURI!==xf){var P=E.getAttribute(a)||"";P=n+P;var B=p.get(P);B?B.push(E):p.set(P,[E])}}return p}function Zg(n,a,u){n=n.ownerDocument||n,n.head.insertBefore(u,a==="title"?n.querySelector("head > title"):null)}function af(n,a,u){var p=!u.ancestorInfo.containerTagInScope;if(u.context===S0||a.itemProp!=null)return!p||a.itemProp==null||n!=="meta"&&n!=="title"&&n!=="style"&&n!=="link"&&n!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",n,n),!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href===""){p&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError){if(a.rel==="stylesheet"&&typeof a.precedence=="string"){n=a.href;var b=a.onError,E=a.disabled;u=[],a.onLoad&&u.push("`onLoad`"),b&&u.push("`onError`"),E!=null&&u.push("`disabled`"),b=on(u,"and"),b+=u.length===1?" prop":" props",E=u.length===1?"an "+b:"the "+b,u.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',n,E,b)}p&&(typeof a.rel!="string"||typeof a.href!="string"||a.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(a.onError||a.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(a.rel){case"stylesheet":return n=a.precedence,a=a.disabled,typeof n!="string"&&p&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof n=="string"&&a==null;default:return!0}case"script":if(n=a.async&&typeof a.async!="function"&&typeof a.async!="symbol",!n||a.onLoad||a.onError||!a.src||typeof a.src!="string"){p&&(n?a.onLoad||a.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":p&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",n)}return!1}function Pp(n){return!(n.type==="stylesheet"&&(n.state.loading&Y2)===ky)}function Pb(){}function qp(n,a,u){if(Kx===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var p=Kx;if(a.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(a.state.loading&zs)===ky){if(a.instance===null){var b=ws(u.href),E=n.querySelector(Fi(b));if(E){n=E._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(p.count++,p=kp.bind(p),n.then(p,p)),a.state.loading|=zs,a.instance=E,gr(E);return}E=n.ownerDocument||n,u=Wg(u),(b=Us.get(b))&&Qg(u,b),E=E.createElement("link"),gr(E);var P=E;P._p=new Promise(function(B,te){P.onload=B,P.onerror=te}),Tr(E,"link",u),a.instance=E}p.stylesheets===null&&(p.stylesheets=new Map),p.stylesheets.set(a,n),(n=a.state.preload)&&(a.state.loading&Y2)===ky&&(p.count++,a=kp.bind(p),n.addEventListener("load",a),n.addEventListener("error",a))}}function qb(){if(Kx===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var n=Kx;return n.stylesheets&&n.count===0&&Qm(n,n.stylesheets),0<n.count?function(a){var u=setTimeout(function(){if(n.stylesheets&&Qm(n,n.stylesheets),n.unsuspend){var p=n.unsuspend;n.unsuspend=null,p()}},6e4);return n.unsuspend=a,function(){n.unsuspend=null,clearTimeout(u)}}:null}function kp(){if(this.count--,this.count===0){if(this.stylesheets)Qm(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}function Qm(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,wC=new Map,a.forEach(kb,n),wC=null,kp.call(n))}function kb(n,a){if(!(a.state.loading&zs)){var u=wC.get(n);if(u)var p=u.get(zA);else{u=new Map,wC.set(n,u);for(var b=n.querySelectorAll("link[data-precedence],style[data-precedence]"),E=0;E<b.length;E++){var P=b[E];(P.nodeName==="LINK"||P.getAttribute("media")!=="not all")&&(u.set(P.dataset.precedence,P),p=P)}p&&u.set(zA,p)}b=a.instance,P=b.getAttribute("data-precedence"),E=u.get(P)||p,E===p&&u.set(zA,b),u.set(P,b),this.count++,p=kp.bind(this),b.addEventListener("load",p),b.addEventListener("error",p),E?E.parentNode.insertBefore(b,E.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(b,n.firstChild)),a.state.loading|=zs}}function Zm(n,a,u,p,b,E,P,B){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=qy,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Fe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fe(0),this.hiddenUpdates=Fe(null),this.identifierPrefix=p,this.onUncaughtError=b,this.onCaughtError=E,this.onRecoverableError=P,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=B,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,n=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)n.push(new Set);this._debugRootType=u?"hydrateRoot()":"createRoot()"}function Jg(n,a,u,p,b,E,P,B,te,re,Be,He){return n=new Zm(n,a,u,P,B,te,re,He),a=X9,E===!0&&(a|=Bo|Yc),yr&&(a|=io),E=R(3,null,null,a),n.current=E,E.stateNode=n,a=np(),fc(a),n.pooledCache=a,fc(a),E.memoizedState={element:p,isDehydrated:u,cache:a},Rl(E),n}function ey(n){return n?(n=vv,n):vv}function Ln(n,a,u,p,b,E){if(Sa&&typeof Sa.onScheduleFiberRoot=="function")try{Sa.onScheduleFiberRoot(As,p,u)}catch(P){Ul||(Ul=!0,console.error("React instrumentation encountered an error: %s",P))}dt!==null&&typeof dt.markRenderScheduled=="function"&&dt.markRenderScheduled(a),b=ey(b),p.context===null?p.context=b:p.pendingContext=b,hl&&oo!==null&&!J2&&(J2=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
225
|
+
|
|
226
|
+
Check the render method of %s.`,le(oo)||"Unknown")),p=Ci(a),p.payload={element:u},E=E===void 0?null:E,E!==null&&(typeof E!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",E),p.callback=E),u=Tl(n,p,a),u!==null&&(Rr(u,n,a),rl(u,n,a))}function Jm(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var u=n.retryLane;n.retryLane=u!==0&&u<a?u:a}}function ty(n,a){Jm(n,a),(n=n.alternate)&&Jm(n,a)}function ny(n){if(n.tag===13){var a=Na(n,67108864);a!==null&&Rr(a,n,67108864),ty(n,67108864)}}function ev(){return oo}function sx(){for(var n=new Map,a=1,u=0;31>u;u++){var p=pn(a);n.set(a,p),a*=2}return n}function Lb(n,a,u,p){var b=Ue.T;Ue.T=null;var E=Pt.p;try{Pt.p=wa,Ki(n,a,u,p)}finally{Pt.p=E,Ue.T=b}}function Lp(n,a,u,p){var b=Ue.T;Ue.T=null;var E=Pt.p;try{Pt.p=Yt,Ki(n,a,u,p)}finally{Pt.p=E,Ue.T=b}}function Ki(n,a,u,p){if(RC){var b=lf(p);if(b===null)cl(n,a,p,TC,u),Mu(n,p);else if(Bp(b,n,a,u,p))p.stopPropagation();else if(Mu(n,p),a&4&&-1<Az.indexOf(n)){for(;b!==null;){var E=Vr(b);if(E!==null)switch(E.tag){case 3:if(E=E.stateNode,E.current.memoizedState.isDehydrated){var P=Pn(E.pendingLanes);if(P!==0){var B=E;for(B.pendingLanes|=2,B.entangledLanes|=2;P;){var te=1<<31-fr(P);B.entanglements[1]|=te,P&=~te}Ll(E),(Fn&(di|Zc))===ku&&(sC=li()+O2,xs(0))}}break;case 13:B=Na(E,2),B!==null&&Rr(B,E,2),Cu(),ty(E,2)}if(E=lf(p),E===null&&cl(n,a,p,TC,u),E===b)break;b=E}b!==null&&p.stopPropagation()}else cl(n,a,p,null,u)}}function lf(n){return n=ic(n),jc(n)}function jc(n){if(TC=null,n=da(n),n!==null){var a=N(n);if(a===null)n=null;else{var u=a.tag;if(u===13){if(n=U(a),n!==null)return n;n=null}else if(u===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return TC=n,null}function jp(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return wa;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Yt;case"message":switch(qo()){case ff:return wa;case Vp:return Yt;case zc:case ov:return Nu;case Ea:return Kp;default:return Nu}default:return Nu}}function Mu(n,a){switch(n){case"focusin":case"focusout":Tv=null;break;case"dragenter":case"dragleave":Av=null;break;case"mouseover":case"mouseout":_v=null;break;case"pointerover":case"pointerout":Yx.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xx.delete(a.pointerId)}}function zl(n,a,u,p,b,E){return n===null||n.nativeEvent!==E?(n={blockedOn:a,domEventName:u,eventSystemFlags:p,nativeEvent:E,targetContainers:[b]},a!==null&&(a=Vr(a),a!==null&&ny(a)),n):(n.eventSystemFlags|=p,a=n.targetContainers,b!==null&&a.indexOf(b)===-1&&a.push(b),n)}function Bp(n,a,u,p,b){switch(a){case"focusin":return Tv=zl(Tv,n,a,u,p,b),!0;case"dragenter":return Av=zl(Av,n,a,u,p,b),!0;case"mouseover":return _v=zl(_v,n,a,u,p,b),!0;case"pointerover":var E=b.pointerId;return Yx.set(E,zl(Yx.get(E)||null,n,a,u,p,b)),!0;case"gotpointercapture":return E=b.pointerId,Xx.set(E,zl(Xx.get(E)||null,n,a,u,p,b)),!0}return!1}function jb(n){var a=da(n.target);if(a!==null){var u=N(a);if(u!==null){if(a=u.tag,a===13){if(a=U(u),a!==null){n.blockedOn=a,Qs(n.priority,function(){if(u.tag===13){var p=kl(u);p=Mt(p);var b=Na(u,p);b!==null&&Rr(b,u,p),ty(u,p)}});return}}else if(a===3&&u.stateNode.current.memoizedState.isDehydrated){n.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Cs(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var u=lf(n.nativeEvent);if(u===null){u=n.nativeEvent;var p=new u.constructor(u.type,u),b=p;C!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),C=b,u.target.dispatchEvent(p),C===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),C=null}else return a=Vr(u),a!==null&&ny(a),n.blockedOn=u,!1;a.shift()}return!0}function of(n,a,u){Cs(n)&&u.delete(a)}function Bb(){UA=!1,Tv!==null&&Cs(Tv)&&(Tv=null),Av!==null&&Cs(Av)&&(Av=null),_v!==null&&Cs(_v)&&(_v=null),Yx.forEach(of),Xx.forEach(of)}function zp(n,a){n.blockedOn===a&&(n.blockedOn=null,UA||(UA=!0,_r.unstable_scheduleCallback(_r.unstable_NormalPriority,Bb)))}function tv(n){AC!==n&&(AC=n,_r.unstable_scheduleCallback(_r.unstable_NormalPriority,function(){AC===n&&(AC=null);for(var a=0;a<n.length;a+=3){var u=n[a],p=n[a+1],b=n[a+2];if(typeof p!="function"){if(jc(p||u)===null)continue;break}var E=Vr(u);E!==null&&(n.splice(a,3),a-=3,u={pending:!0,data:b,method:u.method,action:p},Object.freeze(u),is(E,u,p,b))}}))}function Rs(n){function a(te){return zp(te,n)}Tv!==null&&zp(Tv,n),Av!==null&&zp(Av,n),_v!==null&&zp(_v,n),Yx.forEach(a),Xx.forEach(a);for(var u=0;u<Dv.length;u++){var p=Dv[u];p.blockedOn===n&&(p.blockedOn=null)}for(;0<Dv.length&&(u=Dv[0],u.blockedOn===null);)jb(u),u.blockedOn===null&&Dv.shift();if(u=(n.ownerDocument||n).$$reactFormReplay,u!=null)for(p=0;p<u.length;p+=3){var b=u[p],E=u[p+1],P=b[Il]||null;if(typeof E=="function")P||tv(u);else if(P){var B=null;if(E&&E.hasAttribute("formAction")){if(b=E,P=E[Il]||null)B=P.formAction;else if(jc(b)!==null)continue}else B=P.action;typeof B=="function"?u[p+1]=B:(u.splice(p,3),p-=3),tv(u)}}}function nv(n){this._internalRoot=n}function Up(n){this._internalRoot=n}function zb(n){n[_s]&&(n._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var _r=jq(),Ip=j,cx=Hu,Gt=Object.assign,Hp=Symbol.for("react.element"),Ts=Symbol.for("react.transitional.element"),Bc=Symbol.for("react.portal"),Vt=Symbol.for("react.fragment"),uf=Symbol.for("react.strict_mode"),Ia=Symbol.for("react.profiler"),ry=Symbol.for("react.provider"),rv=Symbol.for("react.consumer"),aa=Symbol.for("react.context"),Ot=Symbol.for("react.forward_ref"),sf=Symbol.for("react.suspense"),$r=Symbol.for("react.suspense_list"),ar=Symbol.for("react.memo"),ao=Symbol.for("react.lazy"),Gi=Symbol.for("react.activity"),Ub=Symbol.for("react.memo_cache_sentinel"),ay=Symbol.iterator,av=Symbol.for("react.client.reference"),Lt=Array.isArray,Ue=Ip.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Pt=cx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,dx=Object.freeze({pending:!1,data:null,method:null,action:null}),lo=[],cf=[],fl=-1,On=xe(null),Vn=xe(null),ai=xe(null),df=xe(null),Ou=Object.prototype.hasOwnProperty,lv=_r.unstable_scheduleCallback,fx=_r.unstable_cancelCallback,Ib=_r.unstable_shouldYield,px=_r.unstable_requestPaint,li=_r.unstable_now,qo=_r.unstable_getCurrentPriorityLevel,ff=_r.unstable_ImmediatePriority,Vp=_r.unstable_UserBlockingPriority,zc=_r.unstable_NormalPriority,ov=_r.unstable_LowPriority,Ea=_r.unstable_IdlePriority,pf=_r.log,oi=_r.unstable_setDisableYieldValue,As=null,Sa=null,dt=null,Ul=!1,yr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",fr=Math.clz32?Math.clz32:St,jt=Math.log,Yi=Math.LN2,pl=256,Fp=4194304,wa=2,Yt=8,Nu=32,Kp=268435456,ii=Math.random().toString(36).slice(2),Ha="__reactFiber$"+ii,Il="__reactProps$"+ii,_s="__reactContainer$"+ii,ly="__reactEvents$"+ii,Hb="__reactListeners$"+ii,hf="__reactHandles$"+ii,mf="__reactResources$"+ii,vf="__reactMarker$"+ii,Vb=new Set,ko={},Uc={},Fb={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},iv=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]*$"),gf={},uv={},Xi=0,oy,iy,Kb,Ur,Wr,Gb,Yb;at.__reactDisabledLog=!0;var uy,yf,bf=!1,Gp=new(typeof WeakMap=="function"?WeakMap:Map),oo=null,hl=!1,hx=/[\n"\\]/g,sy=!1,cy=!1,sv=!1,cv=!1,dv=!1,dy=!1,Yp=["value","defaultValue"],Xb=!1,Ic=/["'&<>\n\t]|^\s|\s$/,fy="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),fv="applet caption html table td th marquee object template foreignObject desc title".split(" "),pv=fv.concat(["button"]),py="dd dt li option optgroup p rp rt".split(" "),hy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Hc={},ui={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},$u=/([A-Z])/g,Pu=/^ms-/,Xp=/^(?:webkit|moz|o)[A-Z]/,Wp=/^-ms-/,Ds=/-(.)/g,Wb=/;\s*$/,Vc={},Fc={},Qb=!1,my=!1,Qp=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(" ")),Zp="http://www.w3.org/1998/Math/MathML",xf="http://www.w3.org/2000/svg",hv=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"]]),Kc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},vy={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Wi={},gy=RegExp("^(aria)-[: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]*$"),mv=RegExp("^(aria)[A-Z][: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]*$"),yy=!1,ml={},Jp=/^on./,o=/^on[^A-Z]/,s=RegExp("^(aria)-[: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]*$"),d=RegExp("^(aria)[A-Z][: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]*$"),g=/^[\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,C=null,A=null,z=null,J=!1,ce=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Oe=!1;if(ce)try{var We={};Object.defineProperty(We,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch{Oe=!1}var Je=null,ke=null,Ne=null,Ct={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},At=Kt(Ct),Tn=Gt({},Ct,{view:0,detail:0}),Te=Kt(Tn),Ee,Me,Ze,pt=Gt({},Tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hh,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ze&&(Ze&&n.type==="mousemove"?(Ee=n.screenX-Ze.screenX,Me=n.screenY-Ze.screenY):Me=Ee=0,Ze=n),Ee)},movementY:function(n){return"movementY"in n?n.movementY:Me}}),Jt=Kt(pt),wt=Gt({},pt,{dataTransfer:0}),$t=Kt(wt),la=Gt({},Tn,{relatedTarget:0}),mn=Kt(la),Ms=Gt({},Ct,{animationName:0,elapsedTime:0,pseudoElement:0}),mx=Kt(Ms),NT=Gt({},Ct,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),vx=Kt(NT),gx=Gt({},Ct,{data:0}),Hw=Kt(gx),$T=Hw,PT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qT={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"},kT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},LT=Gt({},Tn,{key:function(n){if(n.key){var a=PT[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=yd(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?qT[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hh,charCode:function(n){return n.type==="keypress"?yd(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?yd(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),jT=Kt(LT),BT=Gt({},pt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vw=Kt(BT),zT=Gt({},Tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hh}),UT=Kt(zT),IT=Gt({},Ct,{propertyName:0,elapsedTime:0,pseudoElement:0}),HT=Kt(IT),VT=Gt({},pt,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),FT=Kt(VT),KT=Gt({},Ct,{newState:0,oldState:0}),GT=Kt(KT),YT=[9,13,27,32],Fw=229,yx=ce&&"CompositionEvent"in window,by=null;ce&&"documentMode"in document&&(by=document.documentMode);var f=ce&&"TextEvent"in window&&!by,v=ce&&(!yx||by&&8<by&&11>=by),T=32,k=String.fromCharCode(T),K=!1,ne=!1,de={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},ye=null,Ae=null,et=!1;ce&&(et=Fh("input")&&(!document.documentMode||9<document.documentMode));var Qe=typeof Object.is=="function"?Object.is:xb,tt=ce&&"documentMode"in document&&11>=document.documentMode,st=null,bt=null,Dt=null,Xt=!1,_t={animationend:Oa("Animation","AnimationEnd"),animationiteration:Oa("Animation","AnimationIteration"),animationstart:Oa("Animation","AnimationStart"),transitionrun:Oa("Transition","TransitionRun"),transitionstart:Oa("Transition","TransitionStart"),transitioncancel:Oa("Transition","TransitionCancel"),transitionend:Oa("Transition","TransitionEnd")},sn={},xn={};ce&&(xn=document.createElement("div").style,"AnimationEvent"in window||(delete _t.animationend.animation,delete _t.animationiteration.animation,delete _t.animationstart.animation),"TransitionEvent"in window||delete _t.transitionend.transition);var Lo=bi("animationend"),Hl=bi("animationiteration"),jo=bi("animationstart"),Qr=bi("transitionrun"),qu=bi("transitionstart"),Gc=bi("transitioncancel"),bx=bi("transitionend"),RO=new Map,XT="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(" ");XT.push("scrollEnd");var WT=new WeakMap,Kw=1,eh=2,Os=[],Zb=0,QT=0,vv={};Object.freeze(vv);var Ns=null,Jb=null,Dr=0,X9=1,io=2,Bo=8,Yc=16,TO=64,AO=!1;try{var _O=Object.preventExtensions({})}catch{AO=!0}var e0=[],t0=0,Gw=null,Yw=0,$s=[],Ps=0,xy=null,th=1,nh="",si=null,oa=null,$n=!1,rh=!1,qs=null,Ey=null,Ef=!1,ZT=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),DO=0;if(typeof performance=="object"&&typeof performance.now=="function")var W9=performance,MO=function(){return W9.now()};else{var Q9=Date;MO=function(){return Q9.now()}}var JT=xe(null),eA=xe(null),OO={},Xw=null,n0=null,r0=!1,Z9=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(u,p){n.push(p)}};this.abort=function(){a.aborted=!0,n.forEach(function(u){return u()})}},J9=_r.unstable_scheduleCallback,ez=_r.unstable_NormalPriority,vl={$$typeof:aa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},a0=_r.unstable_now,NO=-0,Ww=-0,Qi=-1.1,Sy=-0,Qw=!1,Zw=!1,xx=null,tA=0,wy=0,l0=null,$O=Ue.S;Ue.S=function(n,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&Zh(n,a),$O!==null&&$O(n,a)};var Cy=xe(null),Xc={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ex=[],Sx=[],wx=[],Cx=[],Rx=[],Tx=[],Ry=new Set;Xc.recordUnsafeLifecycleWarnings=function(n,a){Ry.has(n.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&Ex.push(n),n.mode&Bo&&typeof a.UNSAFE_componentWillMount=="function"&&Sx.push(n),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&wx.push(n),n.mode&Bo&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&Cx.push(n),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&Rx.push(n),n.mode&Bo&&typeof a.UNSAFE_componentWillUpdate=="function"&&Tx.push(n))},Xc.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<Ex.length&&(Ex.forEach(function(B){n.add(le(B)||"Component"),Ry.add(B.type)}),Ex=[]);var a=new Set;0<Sx.length&&(Sx.forEach(function(B){a.add(le(B)||"Component"),Ry.add(B.type)}),Sx=[]);var u=new Set;0<wx.length&&(wx.forEach(function(B){u.add(le(B)||"Component"),Ry.add(B.type)}),wx=[]);var p=new Set;0<Cx.length&&(Cx.forEach(function(B){p.add(le(B)||"Component"),Ry.add(B.type)}),Cx=[]);var b=new Set;0<Rx.length&&(Rx.forEach(function(B){b.add(le(B)||"Component"),Ry.add(B.type)}),Rx=[]);var E=new Set;if(0<Tx.length&&(Tx.forEach(function(B){E.add(le(B)||"Component"),Ry.add(B.type)}),Tx=[]),0<a.size){var P=w(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
227
|
+
|
|
228
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
229
|
+
|
|
230
|
+
Please update the following components: %s`,P)}0<p.size&&(P=w(p),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
231
|
+
|
|
232
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
233
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
234
|
+
|
|
235
|
+
Please update the following components: %s`,P)),0<E.size&&(P=w(E),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
236
|
+
|
|
237
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
238
|
+
|
|
239
|
+
Please update the following components: %s`,P)),0<n.size&&(P=w(n),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
240
|
+
|
|
241
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
242
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
243
|
+
|
|
244
|
+
Please update the following components: %s`,P)),0<u.size&&(P=w(u),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
245
|
+
|
|
246
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
247
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
248
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
249
|
+
|
|
250
|
+
Please update the following components: %s`,P)),0<b.size&&(P=w(b),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
251
|
+
|
|
252
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
253
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
254
|
+
|
|
255
|
+
Please update the following components: %s`,P))};var Jw=new Map,PO=new Set;Xc.recordLegacyContextWarning=function(n,a){for(var u=null,p=n;p!==null;)p.mode&Bo&&(u=p),p=p.return;u===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!PO.has(n.type)&&(p=Jw.get(u),n.type.contextTypes!=null||n.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(p===void 0&&(p=[],Jw.set(u,p)),p.push(n))},Xc.flushLegacyContextWarning=function(){Jw.forEach(function(n){if(n.length!==0){var a=n[0],u=new Set;n.forEach(function(b){u.add(le(b)||"Component"),PO.add(b.type)});var p=w(u);ht(a,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
256
|
+
|
|
257
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
258
|
+
|
|
259
|
+
Please update the following components: %s
|
|
260
|
+
|
|
261
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,p)})}})},Xc.discardPendingWarnings=function(){Ex=[],Sx=[],wx=[],Cx=[],Rx=[],Tx=[],Jw=new Map};var Ax=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),qO=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),eC=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),nA={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},_x=null,tC=!1,ks=0,Ls=1,ci=2,uo=4,gl=8,kO=0,LO=1,jO=2,rA=3,gv=!1,BO=!1,aA=null,lA=!1,o0=xe(null),nC=xe(0),i0,zO=new Set,UO=new Set,oA=new Set,IO=new Set,yv=0,Ft=null,pr=null,Va=null,rC=!1,u0=!1,Ty=!1,aC=0,Dx=0,ah=null,tz=0,nz=25,Ie=null,js=null,lh=-1,Mx=!1,lC={readContext:Yn,use:Ro,useCallback:Xn,useContext:Xn,useEffect:Xn,useImperativeHandle:Xn,useLayoutEffect:Xn,useInsertionEffect:Xn,useMemo:Xn,useReducer:Xn,useRef:Xn,useState:Xn,useDebugValue:Xn,useDeferredValue:Xn,useTransition:Xn,useSyncExternalStore:Xn,useId:Xn,useHostTransitionStatus:Xn,useFormState:Xn,useActionState:Xn,useOptimistic:Xn,useMemoCache:Xn,useCacheRefresh:Xn},iA=null,HO=null,uA=null,VO=null,Sf=null,Wc=null,oC=null;iA={readContext:function(n){return Yn(n)},use:Ro,useCallback:function(n,a){return Ie="useCallback",Ut(),wo(a),Yo(n,a)},useContext:function(n){return Ie="useContext",Ut(),Yn(n)},useEffect:function(n,a){return Ie="useEffect",Ut(),wo(a),nm(n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",Ut(),wo(u),am(n,a,u)},useInsertionEffect:function(n,a){Ie="useInsertionEffect",Ut(),wo(a),To(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",Ut(),wo(a),rm(n,a)},useMemo:function(n,a){Ie="useMemo",Ut(),wo(a);var u=Ue.H;Ue.H=Sf;try{return lm(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",Ut();var p=Ue.H;Ue.H=Sf;try{return tn(n,a,u)}finally{Ue.H=p}},useRef:function(n){return Ie="useRef",Ut(),sp(n)},useState:function(n){Ie="useState",Ut();var a=Ue.H;Ue.H=Sf;try{return Ai(n)}finally{Ue.H=a}},useDebugValue:function(){Ie="useDebugValue",Ut()},useDeferredValue:function(n,a){return Ie="useDeferredValue",Ut(),om(n,a)},useTransition:function(){return Ie="useTransition",Ut(),Ao()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",Ut(),_l(n,a,u)},useId:function(){return Ie="useId",Ut(),Xo()},useFormState:function(n,a){return Ie="useFormState",Ut(),_d(),Nd(n,a)},useActionState:function(n,a){return Ie="useActionState",Ut(),Nd(n,a)},useOptimistic:function(n){return Ie="useOptimistic",Ut(),Z(n)},useHostTransitionStatus:Ml,useMemoCache:nr,useCacheRefresh:function(){return Ie="useCacheRefresh",Ut(),bc()}},HO={readContext:function(n){return Yn(n)},use:Ro,useCallback:function(n,a){return Ie="useCallback",nt(),Yo(n,a)},useContext:function(n){return Ie="useContext",nt(),Yn(n)},useEffect:function(n,a){return Ie="useEffect",nt(),nm(n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",nt(),am(n,a,u)},useInsertionEffect:function(n,a){Ie="useInsertionEffect",nt(),To(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",nt(),rm(n,a)},useMemo:function(n,a){Ie="useMemo",nt();var u=Ue.H;Ue.H=Sf;try{return lm(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",nt();var p=Ue.H;Ue.H=Sf;try{return tn(n,a,u)}finally{Ue.H=p}},useRef:function(n){return Ie="useRef",nt(),sp(n)},useState:function(n){Ie="useState",nt();var a=Ue.H;Ue.H=Sf;try{return Ai(n)}finally{Ue.H=a}},useDebugValue:function(){Ie="useDebugValue",nt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",nt(),om(n,a)},useTransition:function(){return Ie="useTransition",nt(),Ao()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",nt(),_l(n,a,u)},useId:function(){return Ie="useId",nt(),Xo()},useActionState:function(n,a){return Ie="useActionState",nt(),Nd(n,a)},useFormState:function(n,a){return Ie="useFormState",nt(),_d(),Nd(n,a)},useOptimistic:function(n){return Ie="useOptimistic",nt(),Z(n)},useHostTransitionStatus:Ml,useMemoCache:nr,useCacheRefresh:function(){return Ie="useCacheRefresh",nt(),bc()}},uA={readContext:function(n){return Yn(n)},use:Ro,useCallback:function(n,a){return Ie="useCallback",nt(),gc(n,a)},useContext:function(n){return Ie="useContext",nt(),Yn(n)},useEffect:function(n,a){Ie="useEffect",nt(),In(2048,gl,n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",nt(),Di(n,a,u)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",nt(),In(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",nt(),In(4,uo,n,a)},useMemo:function(n,a){Ie="useMemo",nt();var u=Ue.H;Ue.H=Wc;try{return ta(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",nt();var p=Ue.H;Ue.H=Wc;try{return qa(n,a,u)}finally{Ue.H=p}},useRef:function(){return Ie="useRef",nt(),hn().memoizedState},useState:function(){Ie="useState",nt();var n=Ue.H;Ue.H=Wc;try{return qa(bn)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",nt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",nt(),cp(n,a)},useTransition:function(){return Ie="useTransition",nt(),us()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",nt(),op(n,a,u)},useId:function(){return Ie="useId",nt(),hn().memoizedState},useFormState:function(n){return Ie="useFormState",nt(),_d(),tm(n)},useActionState:function(n){return Ie="useActionState",nt(),tm(n)},useOptimistic:function(n,a){return Ie="useOptimistic",nt(),Dl(n,a)},useHostTransitionStatus:Ml,useMemoCache:nr,useCacheRefresh:function(){return Ie="useCacheRefresh",nt(),hn().memoizedState}},VO={readContext:function(n){return Yn(n)},use:Ro,useCallback:function(n,a){return Ie="useCallback",nt(),gc(n,a)},useContext:function(n){return Ie="useContext",nt(),Yn(n)},useEffect:function(n,a){Ie="useEffect",nt(),In(2048,gl,n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",nt(),Di(n,a,u)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",nt(),In(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",nt(),In(4,uo,n,a)},useMemo:function(n,a){Ie="useMemo",nt();var u=Ue.H;Ue.H=oC;try{return ta(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",nt();var p=Ue.H;Ue.H=oC;try{return Ti(n,a,u)}finally{Ue.H=p}},useRef:function(){return Ie="useRef",nt(),hn().memoizedState},useState:function(){Ie="useState",nt();var n=Ue.H;Ue.H=oC;try{return Ti(bn)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",nt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",nt(),im(n,a)},useTransition:function(){return Ie="useTransition",nt(),yc()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",nt(),op(n,a,u)},useId:function(){return Ie="useId",nt(),hn().memoizedState},useFormState:function(n){return Ie="useFormState",nt(),_d(),$d(n)},useActionState:function(n){return Ie="useActionState",nt(),$d(n)},useOptimistic:function(n,a){return Ie="useOptimistic",nt(),ll(n,a)},useHostTransitionStatus:Ml,useMemoCache:nr,useCacheRefresh:function(){return Ie="useCacheRefresh",nt(),hn().memoizedState}},Sf={readContext:function(n){return x(),Yn(n)},use:function(n){return y(),Ro(n)},useCallback:function(n,a){return Ie="useCallback",y(),Ut(),Yo(n,a)},useContext:function(n){return Ie="useContext",y(),Ut(),Yn(n)},useEffect:function(n,a){return Ie="useEffect",y(),Ut(),nm(n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",y(),Ut(),am(n,a,u)},useInsertionEffect:function(n,a){Ie="useInsertionEffect",y(),Ut(),To(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",y(),Ut(),rm(n,a)},useMemo:function(n,a){Ie="useMemo",y(),Ut();var u=Ue.H;Ue.H=Sf;try{return lm(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",y(),Ut();var p=Ue.H;Ue.H=Sf;try{return tn(n,a,u)}finally{Ue.H=p}},useRef:function(n){return Ie="useRef",y(),Ut(),sp(n)},useState:function(n){Ie="useState",y(),Ut();var a=Ue.H;Ue.H=Sf;try{return Ai(n)}finally{Ue.H=a}},useDebugValue:function(){Ie="useDebugValue",y(),Ut()},useDeferredValue:function(n,a){return Ie="useDeferredValue",y(),Ut(),om(n,a)},useTransition:function(){return Ie="useTransition",y(),Ut(),Ao()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",y(),Ut(),_l(n,a,u)},useId:function(){return Ie="useId",y(),Ut(),Xo()},useFormState:function(n,a){return Ie="useFormState",y(),Ut(),Nd(n,a)},useActionState:function(n,a){return Ie="useActionState",y(),Ut(),Nd(n,a)},useOptimistic:function(n){return Ie="useOptimistic",y(),Ut(),Z(n)},useMemoCache:function(n){return y(),nr(n)},useHostTransitionStatus:Ml,useCacheRefresh:function(){return Ie="useCacheRefresh",Ut(),bc()}},Wc={readContext:function(n){return x(),Yn(n)},use:function(n){return y(),Ro(n)},useCallback:function(n,a){return Ie="useCallback",y(),nt(),gc(n,a)},useContext:function(n){return Ie="useContext",y(),nt(),Yn(n)},useEffect:function(n,a){Ie="useEffect",y(),nt(),In(2048,gl,n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",y(),nt(),Di(n,a,u)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",y(),nt(),In(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",y(),nt(),In(4,uo,n,a)},useMemo:function(n,a){Ie="useMemo",y(),nt();var u=Ue.H;Ue.H=Wc;try{return ta(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",y(),nt();var p=Ue.H;Ue.H=Wc;try{return qa(n,a,u)}finally{Ue.H=p}},useRef:function(){return Ie="useRef",y(),nt(),hn().memoizedState},useState:function(){Ie="useState",y(),nt();var n=Ue.H;Ue.H=Wc;try{return qa(bn)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",y(),nt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",y(),nt(),cp(n,a)},useTransition:function(){return Ie="useTransition",y(),nt(),us()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",y(),nt(),op(n,a,u)},useId:function(){return Ie="useId",y(),nt(),hn().memoizedState},useFormState:function(n){return Ie="useFormState",y(),nt(),tm(n)},useActionState:function(n){return Ie="useActionState",y(),nt(),tm(n)},useOptimistic:function(n,a){return Ie="useOptimistic",y(),nt(),Dl(n,a)},useMemoCache:function(n){return y(),nr(n)},useHostTransitionStatus:Ml,useCacheRefresh:function(){return Ie="useCacheRefresh",nt(),hn().memoizedState}},oC={readContext:function(n){return x(),Yn(n)},use:function(n){return y(),Ro(n)},useCallback:function(n,a){return Ie="useCallback",y(),nt(),gc(n,a)},useContext:function(n){return Ie="useContext",y(),nt(),Yn(n)},useEffect:function(n,a){Ie="useEffect",y(),nt(),In(2048,gl,n,a)},useImperativeHandle:function(n,a,u){return Ie="useImperativeHandle",y(),nt(),Di(n,a,u)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",y(),nt(),In(4,ci,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",y(),nt(),In(4,uo,n,a)},useMemo:function(n,a){Ie="useMemo",y(),nt();var u=Ue.H;Ue.H=Wc;try{return ta(n,a)}finally{Ue.H=u}},useReducer:function(n,a,u){Ie="useReducer",y(),nt();var p=Ue.H;Ue.H=Wc;try{return Ti(n,a,u)}finally{Ue.H=p}},useRef:function(){return Ie="useRef",y(),nt(),hn().memoizedState},useState:function(){Ie="useState",y(),nt();var n=Ue.H;Ue.H=Wc;try{return Ti(bn)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",y(),nt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",y(),nt(),im(n,a)},useTransition:function(){return Ie="useTransition",y(),nt(),yc()},useSyncExternalStore:function(n,a,u){return Ie="useSyncExternalStore",y(),nt(),op(n,a,u)},useId:function(){return Ie="useId",y(),nt(),hn().memoizedState},useFormState:function(n){return Ie="useFormState",y(),nt(),$d(n)},useActionState:function(n){return Ie="useActionState",y(),nt(),$d(n)},useOptimistic:function(n,a){return Ie="useOptimistic",y(),nt(),ll(n,a)},useMemoCache:function(n){return y(),nr(n)},useHostTransitionStatus:Ml,useCacheRefresh:function(){return Ie="useCacheRefresh",nt(),hn().memoizedState}};var FO={"react-stack-bottom-frame":function(n,a,u){var p=hl;hl=!0;try{return n(a,u)}finally{hl=p}}},sA=FO["react-stack-bottom-frame"].bind(FO),KO={"react-stack-bottom-frame":function(n){var a=hl;hl=!0;try{return n.render()}finally{hl=a}}},GO=KO["react-stack-bottom-frame"].bind(KO),YO={"react-stack-bottom-frame":function(n,a){try{a.componentDidMount()}catch(u){Tt(n,n.return,u)}}},cA=YO["react-stack-bottom-frame"].bind(YO),XO={"react-stack-bottom-frame":function(n,a,u,p,b){try{a.componentDidUpdate(u,p,b)}catch(E){Tt(n,n.return,E)}}},WO=XO["react-stack-bottom-frame"].bind(XO),QO={"react-stack-bottom-frame":function(n,a){var u=a.stack;n.componentDidCatch(a.value,{componentStack:u!==null?u:""})}},rz=QO["react-stack-bottom-frame"].bind(QO),ZO={"react-stack-bottom-frame":function(n,a,u){try{u.componentWillUnmount()}catch(p){Tt(n,a,p)}}},JO=ZO["react-stack-bottom-frame"].bind(ZO),e2={"react-stack-bottom-frame":function(n){n.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",n.resourceKind);var a=n.create;return n=n.inst,a=a(),n.destroy=a}},az=e2["react-stack-bottom-frame"].bind(e2),t2={"react-stack-bottom-frame":function(n,a,u){try{u()}catch(p){Tt(n,a,p)}}},lz=t2["react-stack-bottom-frame"].bind(t2),n2={"react-stack-bottom-frame":function(n){var a=n._init;return a(n._payload)}},bv=n2["react-stack-bottom-frame"].bind(n2),s0=null,Ox=0,cn=null,dA,r2=dA=!1,a2={},l2={},o2={};m=function(n,a,u){if(u!==null&&typeof u=="object"&&u._store&&(!u._store.validated&&u.key==null||u._store.validated===2)){if(typeof u._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");u._store.validated=1;var p=le(n),b=p||"null";if(!a2[b]){a2[b]=!0,u=u._owner,n=n._debugOwner;var E="";n&&typeof n.tag=="number"&&(b=le(n))&&(E=`
|
|
262
|
+
|
|
263
|
+
Check the render method of \``+b+"`."),E||p&&(E=`
|
|
264
|
+
|
|
265
|
+
Check the top-level render call using <`+p+">.");var P="";u!=null&&n!==u&&(p=null,typeof u.tag=="number"?p=le(u):typeof u.name=="string"&&(p=u.name),p&&(P=" It was passed a child from "+p+".")),ht(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',E,P)})}}};var c0=Ec(!0),i2=Ec(!1),Bs=xe(null),wf=null,d0=1,Nx=2,yl=xe(0),u2={},s2=new Set,c2=new Set,d2=new Set,f2=new Set,p2=new Set,h2=new Set,m2=new Set,v2=new Set,g2=new Set,y2=new Set;Object.freeze(u2);var fA={enqueueSetState:function(n,a,u){n=n._reactInternals;var p=kl(n),b=Ci(p);b.payload=a,u!=null&&(dm(u),b.callback=u),a=Tl(n,b,p),a!==null&&(Rr(a,n,p),rl(a,n,p)),lt(n,p)},enqueueReplaceState:function(n,a,u){n=n._reactInternals;var p=kl(n),b=Ci(p);b.tag=LO,b.payload=a,u!=null&&(dm(u),b.callback=u),a=Tl(n,b,p),a!==null&&(Rr(a,n,p),rl(a,n,p)),lt(n,p)},enqueueForceUpdate:function(n,a){n=n._reactInternals;var u=kl(n),p=Ci(u);p.tag=jO,a!=null&&(dm(a),p.callback=a),a=Tl(n,p,u),a!==null&&(Rr(a,n,u),rl(a,n,u)),dt!==null&&typeof dt.markForceUpdateScheduled=="function"&&dt.markForceUpdateScheduled(n,u)}},pA=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},f0=null,hA=null,b2=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Vl=!1,x2={},E2={},S2={},w2={},p0=!1,C2={},mA={},vA={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},R2=!1,T2=null;T2=new Set;var oh=!1,Ca=!1,gA=!1,A2=typeof WeakSet=="function"?WeakSet:Set,Fl=null,h0=null,m0=null,Fa=null,Zi=!1,Qc=null,$x=8192,oz={getCacheForType:function(n){var a=Yn(vl),u=a.data.get(n);return u===void 0&&(u=n(),a.data.set(n,u)),u},getOwner:function(){return oo}};if(typeof Symbol=="function"&&Symbol.for){var Px=Symbol.for;Px("selector.component"),Px("selector.has_pseudo_class"),Px("selector.role"),Px("selector.test_id"),Px("selector.text")}var iz=[],uz=typeof WeakMap=="function"?WeakMap:Map,ku=0,di=2,Zc=4,ih=0,qx=1,v0=2,yA=3,Ay=4,iC=6,_2=5,Fn=ku,br=null,vn=null,En=0,Ji=0,kx=1,_y=2,Lx=3,D2=4,bA=5,g0=6,jx=7,xA=8,Dy=9,Zn=Ji,Lu=null,xv=!1,y0=!1,EA=!1,Cf=0,ia=ih,Ev=0,Sv=0,SA=0,ju=0,My=0,Bx=null,fi=null,uC=!1,wA=0,M2=300,sC=1/0,O2=500,zx=null,wv=null,sz=0,cz=1,dz=2,Oy=0,N2=1,$2=2,P2=3,fz=4,CA=5,so=0,Cv=null,b0=null,Rv=0,RA=0,TA=null,q2=null,pz=50,Ux=0,AA=null,_A=!1,cC=!1,hz=50,Ny=0,Ix=null,x0=!1,dC=null,k2=!1,L2=new Set,mz={},fC=null,E0=null,DA=!1,MA=!1,pC=!1,OA=!1,$y=0,NA={};(function(){for(var n=0;n<XT.length;n++){var a=XT[n],u=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),Wl(u,"on"+a)}Wl(Lo,"onAnimationEnd"),Wl(Hl,"onAnimationIteration"),Wl(jo,"onAnimationStart"),Wl("dblclick","onDoubleClick"),Wl("focusin","onFocus"),Wl("focusout","onBlur"),Wl(Qr,"onTransitionRun"),Wl(qu,"onTransitionStart"),Wl(Gc,"onTransitionCancel"),Wl(bx,"onTransitionEnd")})(),ru("onMouseEnter",["mouseout","mouseover"]),ru("onMouseLeave",["mouseout","mouseover"]),ru("onPointerEnter",["pointerout","pointerover"]),ru("onPointerLeave",["pointerout","pointerover"]),vi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vi("onBeforeInput",["compositionend","keypress","textInput","paste"]),vi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hx="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$A=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Hx)),hC="_reactListening"+Math.random().toString(36).slice(2),j2=!1,B2=!1,mC=!1,z2=!1,vC=!1,gC=!1,U2=!1,yC={},vz=/\r\n?/g,gz=/\u0000|\uFFFD/g,Py="http://www.w3.org/1999/xlink",PA="http://www.w3.org/XML/1998/namespace",yz="javascript:throw new Error('React form unexpectedly submitted.')",bz="suppressHydrationWarning",bC="$",xC="/$",uh="$?",Vx="$!",xz=1,Ez=2,Sz=4,qA="F!",I2="F",H2="complete",wz="style",sh=0,S0=1,EC=2,kA=null,LA=null,V2={dialog:!0,webview:!0},jA=null,F2=typeof setTimeout=="function"?setTimeout:void 0,Cz=typeof clearTimeout=="function"?clearTimeout:void 0,qy=-1,K2=typeof Promise=="function"?Promise:void 0,Rz=typeof queueMicrotask=="function"?queueMicrotask:typeof K2<"u"?function(n){return K2.resolve(null).then(n).catch(Vg)}:F2,BA=null,ky=0,Fx=1,G2=2,Y2=3,zs=4,Us=new Map,X2=new Set,ch=Pt.d;Pt.d={f:function(){var n=ch.f(),a=Cu();return n||a},r:function(n){var a=Vr(n);a!==null&&a.tag===5&&a.type==="form"?wg(a):ch.r(n)},D:function(n){ch.D(n),Nb("dns-prefetch",n,null)},C:function(n,a){ch.C(n,a),Nb("preconnect",n,a)},L:function(n,a,u){ch.L(n,a,u);var p=w0;if(p&&n&&a){var b='link[rel="preload"][as="'+Yl(a)+'"]';a==="image"&&u&&u.imageSrcSet?(b+='[imagesrcset="'+Yl(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(b+='[imagesizes="'+Yl(u.imageSizes)+'"]')):b+='[href="'+Yl(n)+'"]';var E=b;switch(a){case"style":E=ws(n);break;case"script":E=kc(n)}Us.has(E)||(n=Gt({rel:"preload",href:a==="image"&&u&&u.imageSrcSet?void 0:n,as:a},u),Us.set(E,n),p.querySelector(b)!==null||a==="style"&&p.querySelector(Fi(E))||a==="script"&&p.querySelector(Lc(E))||(a=p.createElement("link"),Tr(a,"link",n),gr(a),p.head.appendChild(a)))}},m:function(n,a){ch.m(n,a);var u=w0;if(u&&n){var p=a&&typeof a.as=="string"?a.as:"script",b='link[rel="modulepreload"][as="'+Yl(p)+'"][href="'+Yl(n)+'"]',E=b;switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":E=kc(n)}if(!Us.has(E)&&(n=Gt({rel:"modulepreload",href:n},a),Us.set(E,n),u.querySelector(b)===null)){switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Lc(E)))return}p=u.createElement("link"),Tr(p,"link",n),gr(p),u.head.appendChild(p)}}},X:function(n,a){ch.X(n,a);var u=w0;if(u&&n){var p=Ma(u).hoistableScripts,b=kc(n),E=p.get(b);E||(E=u.querySelector(Lc(b)),E||(n=Gt({src:n,async:!0},a),(a=Us.get(b))&&Xm(n,a),E=u.createElement("script"),gr(E),Tr(E,"link",n),u.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},p.set(b,E))}},S:function(n,a,u){ch.S(n,a,u);var p=w0;if(p&&n){var b=Ma(p).hoistableStyles,E=ws(n);a=a||"default";var P=b.get(E);if(!P){var B={loading:ky,preload:null};if(P=p.querySelector(Fi(E)))B.loading=Fx|zs;else{n=Gt({rel:"stylesheet",href:n,"data-precedence":a},u),(u=Us.get(E))&&Qg(n,u);var te=P=p.createElement("link");gr(te),Tr(te,"link",n),te._p=new Promise(function(re,Be){te.onload=re,te.onerror=Be}),te.addEventListener("load",function(){B.loading|=Fx}),te.addEventListener("error",function(){B.loading|=G2}),B.loading|=zs,Ym(P,a,p)}P={type:"stylesheet",instance:P,count:1,state:B},b.set(E,P)}}},M:function(n,a){ch.M(n,a);var u=w0;if(u&&n){var p=Ma(u).hoistableScripts,b=kc(n),E=p.get(b);E||(E=u.querySelector(Lc(b)),E||(n=Gt({src:n,async:!0,type:"module"},a),(a=Us.get(b))&&Xm(n,a),E=u.createElement("script"),gr(E),Tr(E,"link",n),u.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},p.set(b,E))}}};var w0=typeof document>"u"?null:document,SC=null,Kx=null,zA=null,wC=null,Ly=dx,Gx={$$typeof:aa,Provider:null,Consumer:null,_currentValue:Ly,_currentValue2:Ly,_threadCount:0},W2="%c%s%c ",Q2="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",Z2="",CC=" ",Tz=Function.prototype.bind,J2=!1,e3=null,t3=null,n3=null,r3=null,a3=null,l3=null,o3=null,i3=null,u3=null;e3=function(n,a,u,p){a=e(n,a),a!==null&&(u=t(a.memoizedState,u,0,p),a.memoizedState=u,a.baseState=u,n.memoizedProps=Gt({},n.memoizedProps),u=Na(n,2),u!==null&&Rr(u,n,2))},t3=function(n,a,u){a=e(n,a),a!==null&&(u=i(a.memoizedState,u,0),a.memoizedState=u,a.baseState=u,n.memoizedProps=Gt({},n.memoizedProps),u=Na(n,2),u!==null&&Rr(u,n,2))},n3=function(n,a,u,p){a=e(n,a),a!==null&&(u=r(a.memoizedState,u,p),a.memoizedState=u,a.baseState=u,n.memoizedProps=Gt({},n.memoizedProps),u=Na(n,2),u!==null&&Rr(u,n,2))},r3=function(n,a,u){n.pendingProps=t(n.memoizedProps,a,0,u),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=Na(n,2),a!==null&&Rr(a,n,2)},a3=function(n,a){n.pendingProps=i(n.memoizedProps,a,0),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=Na(n,2),a!==null&&Rr(a,n,2)},l3=function(n,a,u){n.pendingProps=r(n.memoizedProps,a,u),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=Na(n,2),a!==null&&Rr(a,n,2)},o3=function(n){var a=Na(n,2);a!==null&&Rr(a,n,2)},i3=function(n){h=n},u3=function(n){c=n};var RC=!0,TC=null,UA=!1,Tv=null,Av=null,_v=null,Yx=new Map,Xx=new Map,Dv=[],Az="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),AC=null;if(Up.prototype.render=nv.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var u=arguments;typeof u[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):q(u[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof u[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),u=n;var p=a.current,b=kl(p);Ln(p,b,u,a,null,null)},Up.prototype.unmount=nv.prototype.unmount=function(){var n=arguments;if(typeof n[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),n=this._internalRoot,n!==null){this._internalRoot=null;var a=n.containerInfo;(Fn&(di|Zc))!==ku&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Ln(n.current,2,null,n,null,null),Cu(),a[_s]=null}},Up.prototype.unstable_scheduleHydration=function(n){if(n){var a=Wa();n={blockedOn:null,target:n,priority:a};for(var u=0;u<Dv.length&&a!==0&&a<Dv[u].priority;u++);Dv.splice(u,0,n),u===0&&jb(n)}},(function(){var n=Ip.version;if(n!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
266
|
+
- react: `+(n+`
|
|
267
|
+
- react-dom: 19.1.0
|
|
268
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Pt.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error("Unable to find node on an unmounted component."):(n=Object.keys(n).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+n));return n=G(a),n=n!==null?F(n):null,n=n===null?null:n.stateNode,n},!(function(){var n={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:Ue,reconcilerVersion:"19.1.0"};return n.overrideHookState=e3,n.overrideHookStateDeletePath=t3,n.overrideHookStateRenamePath=n3,n.overrideProps=r3,n.overridePropsDeletePath=a3,n.overridePropsRenamePath=l3,n.scheduleUpdate=o3,n.setErrorHandler=i3,n.setSuspenseHandler=u3,n.scheduleRefresh=$,n.scheduleRoot=D,n.setRefreshHandler=O,n.getCurrentFiber=ev,n.getLaneLabelMap=sx,n.injectProfilingHooks=Re,$e(n)})()&&ce&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var s3=window.location.protocol;/^(https?|file):$/.test(s3)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(s3==="file:"?`
|
|
269
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}t1.createRoot=function(n,a){if(!q(n))throw Error("Target container is not a DOM element.");zb(n);var u=!1,p="",b=Cg,E=pm,P=hm,B=null;return a!=null&&(a.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof a=="object"&&a!==null&&a.$$typeof===Ts&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
270
|
+
|
|
271
|
+
let root = createRoot(domContainer);
|
|
272
|
+
root.render(<App />);`),a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onUncaughtError!==void 0&&(b=a.onUncaughtError),a.onCaughtError!==void 0&&(E=a.onCaughtError),a.onRecoverableError!==void 0&&(P=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(B=a.unstable_transitionCallbacks)),a=Jg(n,1,!1,null,null,u,p,b,E,P,B,null),n[_s]=a.current,Lg(n),new nv(a)},t1.hydrateRoot=function(n,a,u){if(!q(n))throw Error("Target container is not a DOM element.");zb(n),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var p=!1,b="",E=Cg,P=pm,B=hm,te=null,re=null;return u!=null&&(u.unstable_strictMode===!0&&(p=!0),u.identifierPrefix!==void 0&&(b=u.identifierPrefix),u.onUncaughtError!==void 0&&(E=u.onUncaughtError),u.onCaughtError!==void 0&&(P=u.onCaughtError),u.onRecoverableError!==void 0&&(B=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(te=u.unstable_transitionCallbacks),u.formState!==void 0&&(re=u.formState)),a=Jg(n,1,!0,a,u??null,p,b,E,P,B,te,re),a.context=ey(null),u=a.current,p=kl(u),p=Mt(p),b=Ci(p),b.callback=null,Tl(u,b,p),u=p,a.current.lanes=u,it(a,u),Ll(a),n[_s]=a.current,Lg(n),new Up(a)},t1.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),t1}var c4;function SK(){if(c4)return HC.exports;c4=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),HC.exports=xK()):HC.exports=EK(),HC.exports}SK();var Rf={},oR={exports:{}};oR.exports;var d4;function Bq(){return d4||(d4=1,(function(e){const r=(c=0)=>h=>`\x1B[${38+c};5;${h}m`,l=(c=0)=>(h,m,y)=>`\x1B[${38+c};2;${h};${m};${y}m`;function i(){const c=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(const[m,y]of Object.entries(h)){for(const[x,S]of Object.entries(y))h[x]={open:`\x1B[${S[0]}m`,close:`\x1B[${S[1]}m`},y[x]=h[x],c.set(S[0],S[1]);Object.defineProperty(h,m,{value:y,enumerable:!1})}return Object.defineProperty(h,"codes",{value:c,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",h.color.ansi256=r(),h.color.ansi16m=l(),h.bgColor.ansi256=r(10),h.bgColor.ansi16m=l(10),Object.defineProperties(h,{rgbToAnsi256:{value:(m,y,x)=>m===y&&y===x?m<8?16:m>248?231:Math.round((m-8)/247*24)+232:16+36*Math.round(m/255*5)+6*Math.round(y/255*5)+Math.round(x/255*5),enumerable:!1},hexToRgb:{value:m=>{const y=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(m.toString(16));if(!y)return[0,0,0];let{colorString:x}=y.groups;x.length===3&&(x=x.split("").map(w=>w+w).join(""));const S=Number.parseInt(x,16);return[S>>16&255,S>>8&255,S&255]},enumerable:!1},hexToAnsi256:{value:m=>h.rgbToAnsi256(...h.hexToRgb(m)),enumerable:!1}}),h}Object.defineProperty(e,"exports",{enumerable:!0,get:i})})(oR)),oR.exports}var By={},f4;function aT(){if(f4)return By;f4=1,Object.defineProperty(By,"__esModule",{value:!0}),By.printIteratorEntries=t,By.printIteratorValues=r,By.printListItems=l,By.printObjectProperties=i;const e=(c,h)=>{const m=Object.keys(c).sort(h);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(c).forEach(y=>{Object.getOwnPropertyDescriptor(c,y).enumerable&&m.push(y)}),m};function t(c,h,m,y,x,S,w=": "){let R="",D=c.next();if(!D.done){R+=h.spacingOuter;const $=m+h.indent;for(;!D.done;){const O=S(D.value[0],h,$,y,x),q=S(D.value[1],h,$,y,x);R+=$+O+w+q,D=c.next(),D.done?h.min||(R+=","):R+=","+h.spacingInner}R+=h.spacingOuter+m}return R}function r(c,h,m,y,x,S){let w="",R=c.next();if(!R.done){w+=h.spacingOuter;const D=m+h.indent;for(;!R.done;)w+=D+S(R.value,h,D,y,x),R=c.next(),R.done?h.min||(w+=","):w+=","+h.spacingInner;w+=h.spacingOuter+m}return w}function l(c,h,m,y,x,S){let w="";if(c.length){w+=h.spacingOuter;const R=m+h.indent;for(let D=0;D<c.length;D++)w+=R,D in c&&(w+=S(c[D],h,R,y,x)),D<c.length-1?w+=","+h.spacingInner:h.min||(w+=",");w+=h.spacingOuter+m}return w}function i(c,h,m,y,x,S){let w="";const R=e(c,h.compareKeys);if(R.length){w+=h.spacingOuter;const D=m+h.indent;for(let $=0;$<R.length;$++){const O=R[$],q=S(O,h,D,y,x),N=S(c[O],h,D,y,x);w+=D+q+": "+N,$<R.length-1?w+=","+h.spacingInner:h.min||(w+=",")}w+=h.spacingOuter+m}return w}return By}var ph={},p4;function wK(){if(p4)return ph;p4=1,Object.defineProperty(ph,"__esModule",{value:!0}),ph.test=ph.serialize=ph.default=void 0;var e=aT(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const l=typeof r=="function"&&r.for?r.for("jest.asymmetricMatcher"):1267621,i=" ",c=(x,S,w,R,D,$)=>{const O=x.toString();return O==="ArrayContaining"||O==="ArrayNotContaining"?++R>S.maxDepth?"["+O+"]":O+i+"["+(0,e.printListItems)(x.sample,S,w,R,D,$)+"]":O==="ObjectContaining"||O==="ObjectNotContaining"?++R>S.maxDepth?"["+O+"]":O+i+"{"+(0,e.printObjectProperties)(x.sample,S,w,R,D,$)+"}":O==="StringMatching"||O==="StringNotMatching"||O==="StringContaining"||O==="StringNotContaining"?O+i+$(x.sample,S,w,R,D):x.toAsymmetricMatcher()};ph.serialize=c;const h=x=>x&&x.$$typeof===l;ph.test=h;var y={serialize:c,test:h};return ph.default=y,ph}var hh={},h_,h4;function CK(){return h4||(h4=1,h_=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),h_}var m4;function RK(){if(m4)return hh;m4=1,Object.defineProperty(hh,"__esModule",{value:!0}),hh.test=hh.serialize=hh.default=void 0;var e=r(CK()),t=r(Bq());function r(y){return y&&y.__esModule?y:{default:y}}const l=y=>y.replace((0,e.default)(),x=>{switch(x){case t.default.red.close:case t.default.green.close:case t.default.cyan.close:case t.default.gray.close:case t.default.white.close:case t.default.yellow.close:case t.default.bgRed.close:case t.default.bgGreen.close:case t.default.bgYellow.close:case t.default.inverse.close:case t.default.dim.close:case t.default.bold.close:case t.default.reset.open:case t.default.reset.close:return"</>";case t.default.red.open:return"<red>";case t.default.green.open:return"<green>";case t.default.cyan.open:return"<cyan>";case t.default.gray.open:return"<gray>";case t.default.white.open:return"<white>";case t.default.yellow.open:return"<yellow>";case t.default.bgRed.open:return"<bgRed>";case t.default.bgGreen.open:return"<bgGreen>";case t.default.bgYellow.open:return"<bgYellow>";case t.default.inverse.open:return"<inverse>";case t.default.dim.open:return"<dim>";case t.default.bold.open:return"<bold>";default:return""}}),i=y=>typeof y=="string"&&!!y.match((0,e.default)());hh.test=i;const c=(y,x,S,w,R,D)=>D(l(y),x,S,w,R);hh.serialize=c;var m={serialize:c,test:i};return hh.default=m,hh}var mh={},v4;function TK(){if(v4)return mh;v4=1,Object.defineProperty(mh,"__esModule",{value:!0}),mh.test=mh.serialize=mh.default=void 0;var e=aT();const t=" ",r=["DOMStringMap","NamedNodeMap"],l=/^(HTML\w*Collection|NodeList)$/,i=S=>r.indexOf(S)!==-1||l.test(S),c=S=>S&&S.constructor&&!!S.constructor.name&&i(S.constructor.name);mh.test=c;const h=S=>S.constructor.name==="NamedNodeMap",m=(S,w,R,D,$,O)=>{const q=S.constructor.name;return++D>w.maxDepth?"["+q+"]":(w.min?"":q+t)+(r.indexOf(q)!==-1?"{"+(0,e.printObjectProperties)(h(S)?Array.from(S).reduce((N,U)=>(N[U.name]=U.value,N),{}):{...S},w,R,D,$,O)+"}":"["+(0,e.printListItems)(Array.from(S),w,R,D,$,O)+"]")};mh.serialize=m;var x={serialize:m,test:c};return mh.default=x,mh}var vh={},pi={},FC={},g4;function AK(){if(g4)return FC;g4=1,Object.defineProperty(FC,"__esModule",{value:!0}),FC.default=e;function e(t){return t.replace(/</g,"<").replace(/>/g,">")}return FC}var y4;function dM(){if(y4)return pi;y4=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.printText=pi.printProps=pi.printElementAsLeaf=pi.printElement=pi.printComment=pi.printChildren=void 0;var e=t(AK());function t(y){return y&&y.__esModule?y:{default:y}}const r=(y,x,S,w,R,D,$)=>{const O=w+S.indent,q=S.colors;return y.map(N=>{const U=x[N];let I=$(U,S,O,R,D);return typeof U!="string"&&(I.indexOf(`
|
|
273
|
+
`)!==-1&&(I=S.spacingOuter+O+I+S.spacingOuter+w),I="{"+I+"}"),S.spacingInner+w+q.prop.open+N+q.prop.close+"="+q.value.open+I+q.value.close}).join("")};pi.printProps=r;const l=(y,x,S,w,R,D)=>y.map($=>x.spacingOuter+S+(typeof $=="string"?i($,x):D($,x,S,w,R))).join("");pi.printChildren=l;const i=(y,x)=>{const S=x.colors.content;return S.open+(0,e.default)(y)+S.close};pi.printText=i;const c=(y,x)=>{const S=x.colors.comment;return S.open+"<!--"+(0,e.default)(y)+"-->"+S.close};pi.printComment=c;const h=(y,x,S,w,R)=>{const D=w.colors.tag;return D.open+"<"+y+(x&&D.close+x+w.spacingOuter+R+D.open)+(S?">"+D.close+S+w.spacingOuter+R+D.open+"</"+y:(x&&!w.min?"":" ")+"/")+">"+D.close};pi.printElement=h;const m=(y,x)=>{const S=x.colors.tag;return S.open+"<"+y+S.close+" …"+S.open+" />"+S.close};return pi.printElementAsLeaf=m,pi}var b4;function _K(){if(b4)return vh;b4=1,Object.defineProperty(vh,"__esModule",{value:!0}),vh.test=vh.serialize=vh.default=void 0;var e=dM();const t=1,r=3,l=8,i=11,c=/^((HTML|SVG)\w*)?Element$/,h=O=>{try{return typeof O.hasAttribute=="function"&&O.hasAttribute("is")}catch{return!1}},m=O=>{const q=O.constructor.name,{nodeType:N,tagName:U}=O,I=typeof U=="string"&&U.includes("-")||h(O);return N===t&&(c.test(q)||I)||N===r&&q==="Text"||N===l&&q==="Comment"||N===i&&q==="DocumentFragment"},y=O=>{var q;return(O==null||(q=O.constructor)===null||q===void 0?void 0:q.name)&&m(O)};vh.test=y;function x(O){return O.nodeType===r}function S(O){return O.nodeType===l}function w(O){return O.nodeType===i}const R=(O,q,N,U,I,G)=>{if(x(O))return(0,e.printText)(O.data,q);if(S(O))return(0,e.printComment)(O.data,q);const F=w(O)?"DocumentFragment":O.tagName.toLowerCase();return++U>q.maxDepth?(0,e.printElementAsLeaf)(F,q):(0,e.printElement)(F,(0,e.printProps)(w(O)?[]:Array.from(O.attributes).map(H=>H.name).sort(),w(O)?{}:Array.from(O.attributes).reduce((H,V)=>(H[V.name]=V.value,H),{}),q,N+q.indent,U,I,G),(0,e.printChildren)(Array.prototype.slice.call(O.childNodes||O.children),q,N+q.indent,U,I,G),q,N)};vh.serialize=R;var $={serialize:R,test:y};return vh.default=$,vh}var gh={},x4;function DK(){if(x4)return gh;x4=1,Object.defineProperty(gh,"__esModule",{value:!0}),gh.test=gh.serialize=gh.default=void 0;var e=aT();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",l="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",c="@@__IMMUTABLE_ORDERED__@@",h="@@__IMMUTABLE_RECORD__@@",m="@@__IMMUTABLE_SEQ__@@",y="@@__IMMUTABLE_SET__@@",x="@@__IMMUTABLE_STACK__@@",S=V=>"Immutable."+V,w=V=>"["+V+"]",R=" ",D="…",$=(V,X,le,xe,Q,ue,se)=>++xe>X.maxDepth?w(S(se)):S(se)+R+"{"+(0,e.printIteratorEntries)(V.entries(),X,le,xe,Q,ue)+"}";function O(V){let X=0;return{next(){if(X<V._keys.length){const le=V._keys[X++];return{done:!1,value:[le,V.get(le)]}}return{done:!0,value:void 0}}}}const q=(V,X,le,xe,Q,ue)=>{const se=S(V._name||"Record");return++xe>X.maxDepth?w(se):se+R+"{"+(0,e.printIteratorEntries)(O(V),X,le,xe,Q,ue)+"}"},N=(V,X,le,xe,Q,ue)=>{const se=S("Seq");return++xe>X.maxDepth?w(se):V[l]?se+R+"{"+(V._iter||V._object?(0,e.printIteratorEntries)(V.entries(),X,le,xe,Q,ue):D)+"}":se+R+"["+(V._iter||V._array||V._collection||V._iterable?(0,e.printIteratorValues)(V.values(),X,le,xe,Q,ue):D)+"]"},U=(V,X,le,xe,Q,ue,se)=>++xe>X.maxDepth?w(S(se)):S(se)+R+"["+(0,e.printIteratorValues)(V.values(),X,le,xe,Q,ue)+"]",I=(V,X,le,xe,Q,ue)=>V[i]?$(V,X,le,xe,Q,ue,V[c]?"OrderedMap":"Map"):V[r]?U(V,X,le,xe,Q,ue,"List"):V[y]?U(V,X,le,xe,Q,ue,V[c]?"OrderedSet":"Set"):V[x]?U(V,X,le,xe,Q,ue,"Stack"):V[m]?N(V,X,le,xe,Q,ue):q(V,X,le,xe,Q,ue);gh.serialize=I;const G=V=>V&&(V[t]===!0||V[h]===!0);gh.test=G;var H={serialize:I,test:G};return gh.default=H,gh}var yh={},KC={exports:{}},hr={};var E4;function MK(){if(E4)return hr;E4=1;var e=60103,t=60106,r=60107,l=60108,i=60114,c=60109,h=60110,m=60112,y=60113,x=60120,S=60115,w=60116,R=60121,D=60122,$=60117,O=60129,q=60131;if(typeof Symbol=="function"&&Symbol.for){var N=Symbol.for;e=N("react.element"),t=N("react.portal"),r=N("react.fragment"),l=N("react.strict_mode"),i=N("react.profiler"),c=N("react.provider"),h=N("react.context"),m=N("react.forward_ref"),y=N("react.suspense"),x=N("react.suspense_list"),S=N("react.memo"),w=N("react.lazy"),R=N("react.block"),D=N("react.server.block"),$=N("react.fundamental"),O=N("react.debug_trace_mode"),q=N("react.legacy_hidden")}function U(se){if(typeof se=="object"&&se!==null){var ae=se.$$typeof;switch(ae){case e:switch(se=se.type,se){case r:case i:case l:case y:case x:return se;default:switch(se=se&&se.$$typeof,se){case h:case m:case w:case S:case c:return se;default:return ae}}case t:return ae}}}var I=c,G=e,F=m,H=r,V=w,X=S,le=t,xe=i,Q=l,ue=y;return hr.ContextConsumer=h,hr.ContextProvider=I,hr.Element=G,hr.ForwardRef=F,hr.Fragment=H,hr.Lazy=V,hr.Memo=X,hr.Portal=le,hr.Profiler=xe,hr.StrictMode=Q,hr.Suspense=ue,hr.isAsyncMode=function(){return!1},hr.isConcurrentMode=function(){return!1},hr.isContextConsumer=function(se){return U(se)===h},hr.isContextProvider=function(se){return U(se)===c},hr.isElement=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===e},hr.isForwardRef=function(se){return U(se)===m},hr.isFragment=function(se){return U(se)===r},hr.isLazy=function(se){return U(se)===w},hr.isMemo=function(se){return U(se)===S},hr.isPortal=function(se){return U(se)===t},hr.isProfiler=function(se){return U(se)===i},hr.isStrictMode=function(se){return U(se)===l},hr.isSuspense=function(se){return U(se)===y},hr.isValidElementType=function(se){return typeof se=="string"||typeof se=="function"||se===r||se===i||se===O||se===l||se===y||se===x||se===q||typeof se=="object"&&se!==null&&(se.$$typeof===w||se.$$typeof===S||se.$$typeof===c||se.$$typeof===h||se.$$typeof===m||se.$$typeof===$||se.$$typeof===R||se[0]===D)},hr.typeOf=U,hr}var mr={};var S4;function OK(){return S4||(S4=1,process.env.NODE_ENV!=="production"&&(function(){var e=60103,t=60106,r=60107,l=60108,i=60114,c=60109,h=60110,m=60112,y=60113,x=60120,S=60115,w=60116,R=60121,D=60122,$=60117,O=60129,q=60131;if(typeof Symbol=="function"&&Symbol.for){var N=Symbol.for;e=N("react.element"),t=N("react.portal"),r=N("react.fragment"),l=N("react.strict_mode"),i=N("react.profiler"),c=N("react.provider"),h=N("react.context"),m=N("react.forward_ref"),y=N("react.suspense"),x=N("react.suspense_list"),S=N("react.memo"),w=N("react.lazy"),R=N("react.block"),D=N("react.server.block"),$=N("react.fundamental"),N("react.scope"),N("react.opaque.id"),O=N("react.debug_trace_mode"),N("react.offscreen"),q=N("react.legacy_hidden")}var U=!1;function I(Le){return!!(typeof Le=="string"||typeof Le=="function"||Le===r||Le===i||Le===O||Le===l||Le===y||Le===x||Le===q||U||typeof Le=="object"&&Le!==null&&(Le.$$typeof===w||Le.$$typeof===S||Le.$$typeof===c||Le.$$typeof===h||Le.$$typeof===m||Le.$$typeof===$||Le.$$typeof===R||Le[0]===D))}function G(Le){if(typeof Le=="object"&&Le!==null){var we=Le.$$typeof;switch(we){case e:var lt=Le.type;switch(lt){case r:case i:case l:case y:case x:return lt;default:var St=lt&<.$$typeof;switch(St){case h:case m:case w:case S:case c:return St;default:return we}}case t:return we}}}var F=h,H=c,V=e,X=m,le=r,xe=w,Q=S,ue=t,se=i,ae=l,ge=y,L=!1,W=!1;function ee(Le){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function me(Le){return W||(W=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Y(Le){return G(Le)===h}function be(Le){return G(Le)===c}function ie(Le){return typeof Le=="object"&&Le!==null&&Le.$$typeof===e}function fe(Le){return G(Le)===m}function _e(Le){return G(Le)===r}function $e(Le){return G(Le)===w}function Pe(Le){return G(Le)===S}function Re(Le){return G(Le)===t}function Ye(Le){return G(Le)===i}function oe(Le){return G(Le)===l}function je(Le){return G(Le)===y}mr.ContextConsumer=F,mr.ContextProvider=H,mr.Element=V,mr.ForwardRef=X,mr.Fragment=le,mr.Lazy=xe,mr.Memo=Q,mr.Portal=ue,mr.Profiler=se,mr.StrictMode=ae,mr.Suspense=ge,mr.isAsyncMode=ee,mr.isConcurrentMode=me,mr.isContextConsumer=Y,mr.isContextProvider=be,mr.isElement=ie,mr.isForwardRef=fe,mr.isFragment=_e,mr.isLazy=$e,mr.isMemo=Pe,mr.isPortal=Re,mr.isProfiler=Ye,mr.isStrictMode=oe,mr.isSuspense=je,mr.isValidElementType=I,mr.typeOf=G})()),mr}var w4;function NK(){return w4||(w4=1,process.env.NODE_ENV==="production"?KC.exports=MK():KC.exports=OK()),KC.exports}var C4;function $K(){if(C4)return yh;C4=1,Object.defineProperty(yh,"__esModule",{value:!0}),yh.test=yh.serialize=yh.default=void 0;var e=l(NK()),t=dM();function r(w){if(typeof WeakMap!="function")return null;var R=new WeakMap,D=new WeakMap;return(r=function($){return $?D:R})(w)}function l(w,R){if(w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var D=r(R);if(D&&D.has(w))return D.get(w);var $={},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in w)if(q!=="default"&&Object.prototype.hasOwnProperty.call(w,q)){var N=O?Object.getOwnPropertyDescriptor(w,q):null;N&&(N.get||N.set)?Object.defineProperty($,q,N):$[q]=w[q]}return $.default=w,D&&D.set(w,$),$}const i=(w,R=[])=>(Array.isArray(w)?w.forEach(D=>{i(D,R)}):w!=null&&w!==!1&&R.push(w),R),c=w=>{const R=w.type;if(typeof R=="string")return R;if(typeof R=="function")return R.displayName||R.name||"Unknown";if(e.isFragment(w))return"React.Fragment";if(e.isSuspense(w))return"React.Suspense";if(typeof R=="object"&&R!==null){if(e.isContextProvider(w))return"Context.Provider";if(e.isContextConsumer(w))return"Context.Consumer";if(e.isForwardRef(w)){if(R.displayName)return R.displayName;const D=R.render.displayName||R.render.name||"";return D!==""?"ForwardRef("+D+")":"ForwardRef"}if(e.isMemo(w)){const D=R.displayName||R.type.displayName||R.type.name||"";return D!==""?"Memo("+D+")":"Memo"}}return"UNDEFINED"},h=w=>{const{props:R}=w;return Object.keys(R).filter(D=>D!=="children"&&R[D]!==void 0).sort()},m=(w,R,D,$,O,q)=>++$>R.maxDepth?(0,t.printElementAsLeaf)(c(w),R):(0,t.printElement)(c(w),(0,t.printProps)(h(w),w.props,R,D+R.indent,$,O,q),(0,t.printChildren)(i(w.props.children),R,D+R.indent,$,O,q),R,D);yh.serialize=m;const y=w=>w!=null&&e.isElement(w);yh.test=y;var S={serialize:m,test:y};return yh.default=S,yh}var bh={},R4;function PK(){if(R4)return bh;R4=1,Object.defineProperty(bh,"__esModule",{value:!0}),bh.test=bh.serialize=bh.default=void 0;var e=dM(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const l=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,i=x=>{const{props:S}=x;return S?Object.keys(S).filter(w=>S[w]!==void 0).sort():[]},c=(x,S,w,R,D,$)=>++R>S.maxDepth?(0,e.printElementAsLeaf)(x.type,S):(0,e.printElement)(x.type,x.props?(0,e.printProps)(i(x),x.props,S,w+S.indent,R,D,$):"",x.children?(0,e.printChildren)(x.children,S,w+S.indent,R,D,$):"",S,w);bh.serialize=c;const h=x=>x&&x.$$typeof===l;bh.test=h;var y={serialize:c,test:h};return bh.default=y,bh}var T4;function qK(){if(T4)return Rf;T4=1,Object.defineProperty(Rf,"__esModule",{value:!0}),Rf.default=Rf.DEFAULT_OPTIONS=void 0,Rf.format=Pe,Rf.plugins=void 0;var e=x(Bq()),t=aT(),r=x(wK()),l=x(RK()),i=x(TK()),c=x(_K()),h=x(DK()),m=x($K()),y=x(PK());function x(oe){return oe&&oe.__esModule?oe:{default:oe}}const S=Object.prototype.toString,w=Date.prototype.toISOString,R=Error.prototype.toString,D=RegExp.prototype.toString,$=oe=>typeof oe.constructor=="function"&&oe.constructor.name||"Object",O=oe=>typeof window<"u"&&oe===window,q=/^Symbol\((.*)\)(.*)$/,N=/\n/gi;class U extends Error{constructor(je,Le){super(je),this.stack=Le,this.name=this.constructor.name}}function I(oe){return oe==="[object Array]"||oe==="[object ArrayBuffer]"||oe==="[object DataView]"||oe==="[object Float32Array]"||oe==="[object Float64Array]"||oe==="[object Int8Array]"||oe==="[object Int16Array]"||oe==="[object Int32Array]"||oe==="[object Uint8Array]"||oe==="[object Uint8ClampedArray]"||oe==="[object Uint16Array]"||oe==="[object Uint32Array]"}function G(oe){return Object.is(oe,-0)?"-0":String(oe)}function F(oe){return`${oe}n`}function H(oe,je){return je?"[Function "+(oe.name||"anonymous")+"]":"[Function]"}function V(oe){return String(oe).replace(q,"Symbol($1)")}function X(oe){return"["+R.call(oe)+"]"}function le(oe,je,Le,we){if(oe===!0||oe===!1)return""+oe;if(oe===void 0)return"undefined";if(oe===null)return"null";const lt=typeof oe;if(lt==="number")return G(oe);if(lt==="bigint")return F(oe);if(lt==="string")return we?'"'+oe.replace(/"|\\/g,"\\$&")+'"':'"'+oe+'"';if(lt==="function")return H(oe,je);if(lt==="symbol")return V(oe);const St=S.call(oe);return St==="[object WeakMap]"?"WeakMap {}":St==="[object WeakSet]"?"WeakSet {}":St==="[object Function]"||St==="[object GeneratorFunction]"?H(oe,je):St==="[object Symbol]"?V(oe):St==="[object Date]"?isNaN(+oe)?"Date { NaN }":w.call(oe):St==="[object Error]"?X(oe):St==="[object RegExp]"?Le?D.call(oe).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):D.call(oe):oe instanceof Error?X(oe):null}function xe(oe,je,Le,we,lt,St){if(lt.indexOf(oe)!==-1)return"[Circular]";lt=lt.slice(),lt.push(oe);const pn=++we>je.maxDepth,Pn=je.min;if(je.callToJSON&&!pn&&oe.toJSON&&typeof oe.toJSON=="function"&&!St)return ae(oe.toJSON(),je,Le,we,lt,!0);const an=S.call(oe);return an==="[object Arguments]"?pn?"[Arguments]":(Pn?"":"Arguments ")+"["+(0,t.printListItems)(oe,je,Le,we,lt,ae)+"]":I(an)?pn?"["+oe.constructor.name+"]":(Pn||!je.printBasicPrototype&&oe.constructor.name==="Array"?"":oe.constructor.name+" ")+"["+(0,t.printListItems)(oe,je,Le,we,lt,ae)+"]":an==="[object Map]"?pn?"[Map]":"Map {"+(0,t.printIteratorEntries)(oe.entries(),je,Le,we,lt,ae," => ")+"}":an==="[object Set]"?pn?"[Set]":"Set {"+(0,t.printIteratorValues)(oe.values(),je,Le,we,lt,ae)+"}":pn||O(oe)?"["+$(oe)+"]":(Pn||!je.printBasicPrototype&&$(oe)==="Object"?"":$(oe)+" ")+"{"+(0,t.printObjectProperties)(oe,je,Le,we,lt,ae)+"}"}function Q(oe){return oe.serialize!=null}function ue(oe,je,Le,we,lt,St){let pn;try{pn=Q(oe)?oe.serialize(je,Le,we,lt,St,ae):oe.print(je,Pn=>ae(Pn,Le,we,lt,St),Pn=>{const an=we+Le.indent;return an+Pn.replace(N,`
|
|
274
|
+
`+an)},{edgeSpacing:Le.spacingOuter,min:Le.min,spacing:Le.spacingInner},Le.colors)}catch(Pn){throw new U(Pn.message,Pn.stack)}if(typeof pn!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof pn}".`);return pn}function se(oe,je){for(let Le=0;Le<oe.length;Le++)try{if(oe[Le].test(je))return oe[Le]}catch(we){throw new U(we.message,we.stack)}return null}function ae(oe,je,Le,we,lt,St){const pn=se(je.plugins,oe);if(pn!==null)return ue(pn,oe,je,Le,we,lt);const Pn=le(oe,je.printFunctionName,je.escapeRegex,je.escapeString);return Pn!==null?Pn:xe(oe,je,Le,we,lt,St)}const ge={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},L=Object.keys(ge),W={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ge};Rf.DEFAULT_OPTIONS=W;function ee(oe){if(Object.keys(oe).forEach(je=>{if(!W.hasOwnProperty(je))throw new Error(`pretty-format: Unknown option "${je}".`)}),oe.min&&oe.indent!==void 0&&oe.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(oe.theme!==void 0){if(oe.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof oe.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof oe.theme}".`)}}const me=oe=>L.reduce((je,Le)=>{const we=oe.theme&&oe.theme[Le]!==void 0?oe.theme[Le]:ge[Le],lt=we&&e.default[we];if(lt&&typeof lt.close=="string"&&typeof lt.open=="string")je[Le]=lt;else throw new Error(`pretty-format: Option "theme" has a key "${Le}" whose value "${we}" is undefined in ansi-styles.`);return je},Object.create(null)),Y=()=>L.reduce((oe,je)=>(oe[je]={close:"",open:""},oe),Object.create(null)),be=oe=>oe&&oe.printFunctionName!==void 0?oe.printFunctionName:W.printFunctionName,ie=oe=>oe&&oe.escapeRegex!==void 0?oe.escapeRegex:W.escapeRegex,fe=oe=>oe&&oe.escapeString!==void 0?oe.escapeString:W.escapeString,_e=oe=>{var je;return{callToJSON:oe&&oe.callToJSON!==void 0?oe.callToJSON:W.callToJSON,colors:oe&&oe.highlight?me(oe):Y(),compareKeys:oe&&typeof oe.compareKeys=="function"?oe.compareKeys:W.compareKeys,escapeRegex:ie(oe),escapeString:fe(oe),indent:oe&&oe.min?"":$e(oe&&oe.indent!==void 0?oe.indent:W.indent),maxDepth:oe&&oe.maxDepth!==void 0?oe.maxDepth:W.maxDepth,min:oe&&oe.min!==void 0?oe.min:W.min,plugins:oe&&oe.plugins!==void 0?oe.plugins:W.plugins,printBasicPrototype:(je=oe?.printBasicPrototype)!==null&&je!==void 0?je:!0,printFunctionName:be(oe),spacingInner:oe&&oe.min?" ":`
|
|
275
|
+
`,spacingOuter:oe&&oe.min?"":`
|
|
276
|
+
`}};function $e(oe){return new Array(oe+1).join(" ")}function Pe(oe,je){if(je&&(ee(je),je.plugins)){const we=se(je.plugins,oe);if(we!==null)return ue(we,oe,_e(je),"",0,[])}const Le=le(oe,be(je),ie(je),fe(je));return Le!==null?Le:xe(oe,_e(je),"",0,[])}const Re={AsymmetricMatcher:r.default,ConvertAnsi:l.default,DOMCollection:i.default,DOMElement:c.default,Immutable:h.default,ReactElement:m.default,ReactTestComponent:y.default};Rf.plugins=Re;var Ye=Pe;return Rf.default=Ye,Rf}var zq=qK(),kK=Object.prototype.toString;function LK(e){return typeof e=="function"||kK.call(e)==="[object Function]"}function jK(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var BK=Math.pow(2,53)-1;function zK(e){var t=jK(e);return Math.min(Math.max(t,0),BK)}function td(e,t){var r=Array,l=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var i=zK(l.length),c=LK(r)?Object(new r(i)):new Array(i),h=0,m;h<i;)m=l[h],c[h]=m,h+=1;return c.length=i,c}function tw(e){"@babel/helpers - typeof";return tw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tw(e)}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IK(e,t){for(var r=0;r<t.length;r++){var l=t[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,Uq(l.key),l)}}function HK(e,t,r){return t&&IK(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function VK(e,t,r){return t=Uq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uq(e){var t=FK(e,"string");return tw(t)==="symbol"?t:String(t)}function FK(e,t){if(tw(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var l=r.call(e,t);if(tw(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var KK=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];UK(this,e),VK(this,"items",void 0),this.items=t}return HK(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var l=this.items.length;return this.items=this.items.filter(function(i){return i!==r}),l!==this.items.length}},{key:"forEach",value:function(r){var l=this;this.items.forEach(function(i){r(i,i,l)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})();const GK=typeof Set>"u"?Set:KK;function Io(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var YK={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},XK={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function WK(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var l;return e.hasAttribute(r)&&!((l=XK[t])!==null&&l!==void 0&&l.has(r))})}function Iq(e,t){return WK(e,t)}function QK(e){var t=JK(e);if(t===null||t==="presentation"){var r=ZK(e);if(t!=="presentation"||Iq(e,r||""))return r}return t}function ZK(e){var t=YK[Io(e)];if(t!==void 0)return t;switch(Io(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Iq(e,"img")?"presentation":"img";case"input":{var r=e,l=r.type;switch(l){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return l;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function JK(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Hr(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Hq(e){return Hr(e)&&Io(e)==="caption"}function iR(e){return Hr(e)&&Io(e)==="input"}function eG(e){return Hr(e)&&Io(e)==="optgroup"}function tG(e){return Hr(e)&&Io(e)==="select"}function nG(e){return Hr(e)&&Io(e)==="table"}function rG(e){return Hr(e)&&Io(e)==="textarea"}function aG(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function lG(e){return Hr(e)&&Io(e)==="fieldset"}function oG(e){return Hr(e)&&Io(e)==="legend"}function iG(e){return Hr(e)&&Io(e)==="slot"}function uG(e){return Hr(e)&&e.ownerSVGElement!==void 0}function sG(e){return Hr(e)&&Io(e)==="svg"}function cG(e){return uG(e)&&Io(e)==="title"}function xR(e,t){if(Hr(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),l=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return l.getElementById(i)}).filter(function(i){return i!==null})}return[]}function wh(e,t){return Hr(e)?t.indexOf(QK(e))!==-1:!1}function dG(e){return e.trim().replace(/\s\s+/g," ")}function fG(e,t){if(!Hr(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function pG(e){return wh(e,["button","combobox","listbox","textbox"])||Vq(e,"range")}function Vq(e,t){if(!Hr(e))return!1;switch(t){case"range":return wh(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function A4(e,t){var r=td(e.querySelectorAll(t));return xR(e,"aria-owns").forEach(function(l){r.push.apply(r,td(l.querySelectorAll(t)))}),r}function hG(e){return tG(e)?e.selectedOptions||A4(e,"[selected]"):A4(e,'[aria-selected="true"]')}function mG(e){return wh(e,["none","presentation"])}function vG(e){return Hq(e)}function gG(e){return wh(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function yG(e){return!1}function bG(e){return iR(e)||rG(e)?e.value:e.textContent||""}function _4(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Fq(e){var t=Io(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Kq(e){if(Fq(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Hr(r)){var l=Kq(r);l!==null&&(t=l)}}),t}function xG(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Kq(e)}function EG(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return td(t);if(!Fq(e))return null;var r=e.ownerDocument;return td(r.querySelectorAll("label")).filter(function(l){return xG(l)===e})}function SG(e){var t=e.assignedNodes();return t.length===0?td(e.childNodes):t}function Gq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new GK,l=aG(e),i=t.compute,c=i===void 0?"name":i,h=t.computedStyleSupportsPseudoElements,m=h===void 0?t.getComputedStyle!==void 0:h,y=t.getComputedStyle,x=y===void 0?l.getComputedStyle.bind(l):y,S=t.hidden,w=S===void 0?!1:S;function R(N,U){var I="";if(Hr(N)&&m){var G=x(N,"::before"),F=_4(G);I="".concat(F," ").concat(I)}var H=iG(N)?SG(N):td(N.childNodes).concat(xR(N,"aria-owns"));if(H.forEach(function(le){var xe=q(le,{isEmbeddedInLabel:U.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),Q=Hr(le)?x(le).getPropertyValue("display"):"inline",ue=Q!=="inline"?" ":"";I+="".concat(ue).concat(xe).concat(ue)}),Hr(N)&&m){var V=x(N,"::after"),X=_4(V);I="".concat(I," ").concat(X)}return I.trim()}function D(N,U){var I=N.getAttributeNode(U);return I!==null&&!r.has(I)&&I.value.trim()!==""?(r.add(I),I.value):null}function $(N){return Hr(N)?D(N,"title"):null}function O(N){if(!Hr(N))return null;if(lG(N)){r.add(N);for(var U=td(N.childNodes),I=0;I<U.length;I+=1){var G=U[I];if(oG(G))return q(G,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nG(N)){r.add(N);for(var F=td(N.childNodes),H=0;H<F.length;H+=1){var V=F[H];if(Hq(V))return q(V,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(sG(N)){r.add(N);for(var X=td(N.childNodes),le=0;le<X.length;le+=1){var xe=X[le];if(cG(xe))return xe.textContent}return null}else if(Io(N)==="img"||Io(N)==="area"){var Q=D(N,"alt");if(Q!==null)return Q}else if(eG(N)){var ue=D(N,"label");if(ue!==null)return ue}if(iR(N)&&(N.type==="button"||N.type==="submit"||N.type==="reset")){var se=D(N,"value");if(se!==null)return se;if(N.type==="submit")return"Submit";if(N.type==="reset")return"Reset"}var ae=EG(N);if(ae!==null&&ae.length!==0)return r.add(N),td(ae).map(function(ee){return q(ee,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ee){return ee.length>0}).join(" ");if(iR(N)&&N.type==="image"){var ge=D(N,"alt");if(ge!==null)return ge;var L=D(N,"title");return L!==null?L:"Submit Query"}if(wh(N,["button"])){var W=R(N,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}function q(N,U){if(r.has(N))return"";if(!w&&fG(N,x)&&!U.isReferenced)return r.add(N),"";var I=Hr(N)?N.getAttributeNode("aria-labelledby"):null,G=I!==null&&!r.has(I)?xR(N,"aria-labelledby"):[];if(c==="name"&&!U.isReferenced&&G.length>0)return r.add(I),G.map(function(Q){return q(Q,{isEmbeddedInLabel:U.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var F=U.recursion&&pG(N)&&c==="name";if(!F){var H=(Hr(N)&&N.getAttribute("aria-label")||"").trim();if(H!==""&&c==="name")return r.add(N),H;if(!mG(N)){var V=O(N);if(V!==null)return r.add(N),V}}if(wh(N,["menu"]))return r.add(N),"";if(F||U.isEmbeddedInLabel||U.isReferenced){if(wh(N,["combobox","listbox"])){r.add(N);var X=hG(N);return X.length===0?iR(N)?N.value:"":td(X).map(function(Q){return q(Q,{isEmbeddedInLabel:U.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Vq(N,"range"))return r.add(N),N.hasAttribute("aria-valuetext")?N.getAttribute("aria-valuetext"):N.hasAttribute("aria-valuenow")?N.getAttribute("aria-valuenow"):N.getAttribute("value")||"";if(wh(N,["textbox"]))return r.add(N),bG(N)}if(gG(N)||Hr(N)&&U.isReferenced||vG(N)||yG()){var le=R(N,{isEmbeddedInLabel:U.isEmbeddedInLabel});if(le!=="")return r.add(N),le}if(N.nodeType===N.TEXT_NODE)return r.add(N),N.textContent||"";if(U.recursion)return r.add(N),R(N,{isEmbeddedInLabel:U.isEmbeddedInLabel});var xe=$(N);return xe!==null?(r.add(N),xe):(r.add(N),"")}return dG(q(e,{isEmbeddedInLabel:!1,isReferenced:c==="description",recursion:!1}))}function nw(e){"@babel/helpers - typeof";return nw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nw(e)}function D4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,l)}return r}function M4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?D4(Object(r),!0).forEach(function(l){wG(e,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D4(Object(r)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(r,l))})}return e}function wG(e,t,r){return t=CG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CG(e){var t=RG(e,"string");return nw(t)==="symbol"?t:String(t)}function RG(e,t){if(nw(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var l=r.call(e,t);if(nw(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=xR(e,"aria-describedby").map(function(i){return Gq(i,M4(M4({},t),{},{compute:"description"}))}).join(" ");if(r===""){var l=e.getAttribute("title");r=l===null?"":l}return r}function TG(e){return wh(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function fM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return TG(e)?"":Gq(e,t)}var Bu={},n1={},GC={},r1={},O4;function AG(){if(O4)return r1;O4=1,Object.defineProperty(r1,"__esModule",{value:!0}),r1.default=void 0;function e(){var r=this,l=0,i={"@@iterator":function(){return i},next:function(){if(l<r.length){var h=r[l];return l=l+1,{done:!1,value:h}}else return{done:!0}}};return i}var t=e;return r1.default=t,r1}var N4;function Sw(){if(N4)return GC;N4=1,Object.defineProperty(GC,"__esModule",{value:!0}),GC.default=l;var e=t(AG());function t(i){return i&&i.__esModule?i:{default:i}}function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},r(i)}function l(i,c){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:e.default.bind(c)}),i}return GC}var $4;function _G(){if($4)return n1;$4=1,Object.defineProperty(n1,"__esModule",{value:!0}),n1.default=void 0;var e=t(Sw());function t(R){return R&&R.__esModule?R:{default:R}}function r(R,D){return c(R)||i(R,D)||m(R,D)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
277
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(R,D){var $=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if($!=null){var O=[],q=!0,N=!1,U,I;try{for($=$.call(R);!(q=(U=$.next()).done)&&(O.push(U.value),!(D&&O.length===D));q=!0);}catch(G){N=!0,I=G}finally{try{!q&&$.return!=null&&$.return()}finally{if(N)throw I}}return O}}function c(R){if(Array.isArray(R))return R}function h(R,D){var $=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!$){if(Array.isArray(R)||($=m(R))||D){$&&(R=$);var O=0,q=function(){};return{s:q,n:function(){return O>=R.length?{done:!0}:{done:!1,value:R[O++]}},e:function(F){throw F},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
278
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,U=!1,I;return{s:function(){$=$.call(R)},n:function(){var F=$.next();return N=F.done,F},e:function(F){U=!0,I=F},f:function(){try{!N&&$.return!=null&&$.return()}finally{if(U)throw I}}}}function m(R,D){if(R){if(typeof R=="string")return y(R,D);var $=Object.prototype.toString.call(R).slice(8,-1);if($==="Object"&&R.constructor&&($=R.constructor.name),$==="Map"||$==="Set")return Array.from(R);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return y(R,D)}}function y(R,D){(D==null||D>R.length)&&(D=R.length);for(var $=0,O=new Array(D);$<D;$++)O[$]=R[$];return O}var x=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],S={entries:function(){return x},forEach:function(D){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=h(x),q;try{for(O.s();!(q=O.n()).done;){var N=r(q.value,2),U=N[0],I=N[1];D.call($,I,U,x)}}catch(G){O.e(G)}finally{O.f()}},get:function(D){var $=x.find(function(O){return O[0]===D});return $&&$[1]},has:function(D){return!!S.get(D)},keys:function(){return x.map(function(D){var $=r(D,1),O=$[0];return O})},values:function(){return x.map(function(D){var $=r(D,2),O=$[1];return O})}},w=(0,e.default)(S,S.entries());return n1.default=w,n1}var a1={},P4;function DG(){if(P4)return a1;P4=1,Object.defineProperty(a1,"__esModule",{value:!0}),a1.default=void 0;var e=t(Sw());function t(R){return R&&R.__esModule?R:{default:R}}function r(R,D){return c(R)||i(R,D)||m(R,D)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
279
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(R,D){var $=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if($!=null){var O=[],q=!0,N=!1,U,I;try{for($=$.call(R);!(q=(U=$.next()).done)&&(O.push(U.value),!(D&&O.length===D));q=!0);}catch(G){N=!0,I=G}finally{try{!q&&$.return!=null&&$.return()}finally{if(N)throw I}}return O}}function c(R){if(Array.isArray(R))return R}function h(R,D){var $=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!$){if(Array.isArray(R)||($=m(R))||D){$&&(R=$);var O=0,q=function(){};return{s:q,n:function(){return O>=R.length?{done:!0}:{done:!1,value:R[O++]}},e:function(F){throw F},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
280
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,U=!1,I;return{s:function(){$=$.call(R)},n:function(){var F=$.next();return N=F.done,F},e:function(F){U=!0,I=F},f:function(){try{!N&&$.return!=null&&$.return()}finally{if(U)throw I}}}}function m(R,D){if(R){if(typeof R=="string")return y(R,D);var $=Object.prototype.toString.call(R).slice(8,-1);if($==="Object"&&R.constructor&&($=R.constructor.name),$==="Map"||$==="Set")return Array.from(R);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return y(R,D)}}function y(R,D){(D==null||D>R.length)&&(D=R.length);for(var $=0,O=new Array(D);$<D;$++)O[$]=R[$];return O}var x=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],S={entries:function(){return x},forEach:function(D){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=h(x),q;try{for(O.s();!(q=O.n()).done;){var N=r(q.value,2),U=N[0],I=N[1];D.call($,I,U,x)}}catch(G){O.e(G)}finally{O.f()}},get:function(D){var $=x.find(function(O){return O[0]===D});return $&&$[1]},has:function(D){return!!S.get(D)},keys:function(){return x.map(function(D){var $=r(D,1),O=$[0];return O})},values:function(){return x.map(function(D){var $=r(D,2),O=$[1];return O})}},w=(0,e.default)(S,S.entries());return a1.default=w,a1}var l1={},o1={},i1={},q4;function MG(){if(q4)return i1;q4=1,Object.defineProperty(i1,"__esModule",{value:!0}),i1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return i1.default=t,i1}var u1={},k4;function OG(){if(k4)return u1;k4=1,Object.defineProperty(u1,"__esModule",{value:!0}),u1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return u1.default=t,u1}var s1={},L4;function NG(){if(L4)return s1;L4=1,Object.defineProperty(s1,"__esModule",{value:!0}),s1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return s1.default=t,s1}var c1={},j4;function $G(){if(j4)return c1;j4=1,Object.defineProperty(c1,"__esModule",{value:!0}),c1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return c1.default=t,c1}var d1={},B4;function PG(){if(B4)return d1;B4=1,Object.defineProperty(d1,"__esModule",{value:!0}),d1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return d1.default=t,d1}var f1={},z4;function qG(){if(z4)return f1;z4=1,Object.defineProperty(f1,"__esModule",{value:!0}),f1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return f1.default=t,f1}var p1={},U4;function kG(){if(U4)return p1;U4=1,Object.defineProperty(p1,"__esModule",{value:!0}),p1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return p1.default=t,p1}var h1={},I4;function LG(){if(I4)return h1;I4=1,Object.defineProperty(h1,"__esModule",{value:!0}),h1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return h1.default=t,h1}var m1={},H4;function jG(){if(H4)return m1;H4=1,Object.defineProperty(m1,"__esModule",{value:!0}),m1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},t=e;return m1.default=t,m1}var v1={},V4;function BG(){if(V4)return v1;V4=1,Object.defineProperty(v1,"__esModule",{value:!0}),v1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return v1.default=t,v1}var g1={},F4;function zG(){if(F4)return g1;F4=1,Object.defineProperty(g1,"__esModule",{value:!0}),g1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return g1.default=t,g1}var y1={},K4;function UG(){if(K4)return y1;K4=1,Object.defineProperty(y1,"__esModule",{value:!0}),y1.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return y1.default=t,y1}var G4;function IG(){if(G4)return o1;G4=1,Object.defineProperty(o1,"__esModule",{value:!0}),o1.default=void 0;var e=R(MG()),t=R(OG()),r=R(NG()),l=R($G()),i=R(PG()),c=R(qG()),h=R(kG()),m=R(LG()),y=R(jG()),x=R(BG()),S=R(zG()),w=R(UG());function R(O){return O&&O.__esModule?O:{default:O}}var D=[["command",e.default],["composite",t.default],["input",r.default],["landmark",l.default],["range",i.default],["roletype",c.default],["section",h.default],["sectionhead",m.default],["select",y.default],["structure",x.default],["widget",S.default],["window",w.default]],$=D;return o1.default=$,o1}var b1={},x1={},Y4;function HG(){if(Y4)return x1;Y4=1,Object.defineProperty(x1,"__esModule",{value:!0}),x1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return x1.default=t,x1}var E1={},X4;function VG(){if(X4)return E1;X4=1,Object.defineProperty(E1,"__esModule",{value:!0}),E1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},t=e;return E1.default=t,E1}var S1={},W4;function FG(){if(W4)return S1;W4=1,Object.defineProperty(S1,"__esModule",{value:!0}),S1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return S1.default=t,S1}var w1={},Q4;function KG(){if(Q4)return w1;Q4=1,Object.defineProperty(w1,"__esModule",{value:!0}),w1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},t=e;return w1.default=t,w1}var C1={},Z4;function GG(){if(Z4)return C1;Z4=1,Object.defineProperty(C1,"__esModule",{value:!0}),C1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return C1.default=t,C1}var R1={},J4;function YG(){if(J4)return R1;J4=1,Object.defineProperty(R1,"__esModule",{value:!0}),R1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return R1.default=t,R1}var T1={},eN;function XG(){if(eN)return T1;eN=1,Object.defineProperty(T1,"__esModule",{value:!0}),T1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return T1.default=t,T1}var A1={},tN;function WG(){if(tN)return A1;tN=1,Object.defineProperty(A1,"__esModule",{value:!0}),A1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return A1.default=t,A1}var _1={},nN;function QG(){if(nN)return _1;nN=1,Object.defineProperty(_1,"__esModule",{value:!0}),_1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return _1.default=t,_1}var D1={},rN;function ZG(){if(rN)return D1;rN=1,Object.defineProperty(D1,"__esModule",{value:!0}),D1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},t=e;return D1.default=t,D1}var M1={},aN;function JG(){if(aN)return M1;aN=1,Object.defineProperty(M1,"__esModule",{value:!0}),M1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return M1.default=t,M1}var O1={},lN;function eY(){if(lN)return O1;lN=1,Object.defineProperty(O1,"__esModule",{value:!0}),O1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},t=e;return O1.default=t,O1}var N1={},oN;function tY(){if(oN)return N1;oN=1,Object.defineProperty(N1,"__esModule",{value:!0}),N1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},t=e;return N1.default=t,N1}var $1={},iN;function nY(){if(iN)return $1;iN=1,Object.defineProperty($1,"__esModule",{value:!0}),$1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return $1.default=t,$1}var P1={},uN;function rY(){if(uN)return P1;uN=1,Object.defineProperty(P1,"__esModule",{value:!0}),P1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return P1.default=t,P1}var q1={},sN;function aY(){if(sN)return q1;sN=1,Object.defineProperty(q1,"__esModule",{value:!0}),q1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return q1.default=t,q1}var k1={},cN;function lY(){if(cN)return k1;cN=1,Object.defineProperty(k1,"__esModule",{value:!0}),k1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return k1.default=t,k1}var L1={},dN;function oY(){if(dN)return L1;dN=1,Object.defineProperty(L1,"__esModule",{value:!0}),L1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return L1.default=t,L1}var j1={},fN;function iY(){if(fN)return j1;fN=1,Object.defineProperty(j1,"__esModule",{value:!0}),j1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return j1.default=t,j1}var B1={},pN;function uY(){if(pN)return B1;pN=1,Object.defineProperty(B1,"__esModule",{value:!0}),B1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return B1.default=t,B1}var z1={},hN;function sY(){if(hN)return z1;hN=1,Object.defineProperty(z1,"__esModule",{value:!0}),z1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return z1.default=t,z1}var U1={},mN;function cY(){if(mN)return U1;mN=1,Object.defineProperty(U1,"__esModule",{value:!0}),U1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return U1.default=t,U1}var I1={},vN;function dY(){if(vN)return I1;vN=1,Object.defineProperty(I1,"__esModule",{value:!0}),I1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return I1.default=t,I1}var H1={},gN;function fY(){if(gN)return H1;gN=1,Object.defineProperty(H1,"__esModule",{value:!0}),H1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return H1.default=t,H1}var V1={},yN;function pY(){if(yN)return V1;yN=1,Object.defineProperty(V1,"__esModule",{value:!0}),V1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return V1.default=t,V1}var F1={},bN;function hY(){if(bN)return F1;bN=1,Object.defineProperty(F1,"__esModule",{value:!0}),F1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},t=e;return F1.default=t,F1}var K1={},xN;function mY(){if(xN)return K1;xN=1,Object.defineProperty(K1,"__esModule",{value:!0}),K1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},t=e;return K1.default=t,K1}var G1={},EN;function vY(){if(EN)return G1;EN=1,Object.defineProperty(G1,"__esModule",{value:!0}),G1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return G1.default=t,G1}var Y1={},SN;function gY(){if(SN)return Y1;SN=1,Object.defineProperty(Y1,"__esModule",{value:!0}),Y1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},t=e;return Y1.default=t,Y1}var X1={},wN;function yY(){if(wN)return X1;wN=1,Object.defineProperty(X1,"__esModule",{value:!0}),X1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return X1.default=t,X1}var W1={},CN;function bY(){if(CN)return W1;CN=1,Object.defineProperty(W1,"__esModule",{value:!0}),W1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return W1.default=t,W1}var Q1={},RN;function xY(){if(RN)return Q1;RN=1,Object.defineProperty(Q1,"__esModule",{value:!0}),Q1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return Q1.default=t,Q1}var Z1={},TN;function EY(){if(TN)return Z1;TN=1,Object.defineProperty(Z1,"__esModule",{value:!0}),Z1.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Z1.default=t,Z1}var J1={},AN;function SY(){if(AN)return J1;AN=1,Object.defineProperty(J1,"__esModule",{value:!0}),J1.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return J1.default=t,J1}var eE={},_N;function wY(){if(_N)return eE;_N=1,Object.defineProperty(eE,"__esModule",{value:!0}),eE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return eE.default=t,eE}var tE={},DN;function CY(){if(DN)return tE;DN=1,Object.defineProperty(tE,"__esModule",{value:!0}),tE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return tE.default=t,tE}var nE={},MN;function RY(){if(MN)return nE;MN=1,Object.defineProperty(nE,"__esModule",{value:!0}),nE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return nE.default=t,nE}var rE={},ON;function TY(){if(ON)return rE;ON=1,Object.defineProperty(rE,"__esModule",{value:!0}),rE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return rE.default=t,rE}var aE={},NN;function AY(){if(NN)return aE;NN=1,Object.defineProperty(aE,"__esModule",{value:!0}),aE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return aE.default=t,aE}var lE={},$N;function _Y(){if($N)return lE;$N=1,Object.defineProperty(lE,"__esModule",{value:!0}),lE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return lE.default=t,lE}var oE={},PN;function DY(){if(PN)return oE;PN=1,Object.defineProperty(oE,"__esModule",{value:!0}),oE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return oE.default=t,oE}var iE={},qN;function MY(){if(qN)return iE;qN=1,Object.defineProperty(iE,"__esModule",{value:!0}),iE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},t=e;return iE.default=t,iE}var uE={},kN;function OY(){if(kN)return uE;kN=1,Object.defineProperty(uE,"__esModule",{value:!0}),uE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return uE.default=t,uE}var sE={},LN;function NY(){if(LN)return sE;LN=1,Object.defineProperty(sE,"__esModule",{value:!0}),sE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},t=e;return sE.default=t,sE}var cE={},jN;function $Y(){if(jN)return cE;jN=1,Object.defineProperty(cE,"__esModule",{value:!0}),cE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},t=e;return cE.default=t,cE}var dE={},BN;function PY(){if(BN)return dE;BN=1,Object.defineProperty(dE,"__esModule",{value:!0}),dE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},t=e;return dE.default=t,dE}var fE={},zN;function qY(){if(zN)return fE;zN=1,Object.defineProperty(fE,"__esModule",{value:!0}),fE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return fE.default=t,fE}var pE={},UN;function kY(){if(UN)return pE;UN=1,Object.defineProperty(pE,"__esModule",{value:!0}),pE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return pE.default=t,pE}var hE={},IN;function LY(){if(IN)return hE;IN=1,Object.defineProperty(hE,"__esModule",{value:!0}),hE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hE.default=t,hE}var mE={},HN;function jY(){if(HN)return mE;HN=1,Object.defineProperty(mE,"__esModule",{value:!0}),mE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},t=e;return mE.default=t,mE}var vE={},VN;function BY(){if(VN)return vE;VN=1,Object.defineProperty(vE,"__esModule",{value:!0}),vE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return vE.default=t,vE}var gE={},FN;function zY(){if(FN)return gE;FN=1,Object.defineProperty(gE,"__esModule",{value:!0}),gE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return gE.default=t,gE}var yE={},KN;function UY(){if(KN)return yE;KN=1,Object.defineProperty(yE,"__esModule",{value:!0}),yE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return yE.default=t,yE}var bE={},GN;function IY(){if(GN)return bE;GN=1,Object.defineProperty(bE,"__esModule",{value:!0}),bE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},t=e;return bE.default=t,bE}var xE={},YN;function HY(){if(YN)return xE;YN=1,Object.defineProperty(xE,"__esModule",{value:!0}),xE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return xE.default=t,xE}var EE={},XN;function VY(){if(XN)return EE;XN=1,Object.defineProperty(EE,"__esModule",{value:!0}),EE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return EE.default=t,EE}var SE={},WN;function FY(){if(WN)return SE;WN=1,Object.defineProperty(SE,"__esModule",{value:!0}),SE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},t=e;return SE.default=t,SE}var wE={},QN;function KY(){if(QN)return wE;QN=1,Object.defineProperty(wE,"__esModule",{value:!0}),wE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return wE.default=t,wE}var CE={},ZN;function GY(){if(ZN)return CE;ZN=1,Object.defineProperty(CE,"__esModule",{value:!0}),CE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},t=e;return CE.default=t,CE}var RE={},JN;function YY(){if(JN)return RE;JN=1,Object.defineProperty(RE,"__esModule",{value:!0}),RE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return RE.default=t,RE}var TE={},e$;function XY(){if(e$)return TE;e$=1,Object.defineProperty(TE,"__esModule",{value:!0}),TE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return TE.default=t,TE}var AE={},t$;function WY(){if(t$)return AE;t$=1,Object.defineProperty(AE,"__esModule",{value:!0}),AE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},t=e;return AE.default=t,AE}var _E={},n$;function QY(){if(n$)return _E;n$=1,Object.defineProperty(_E,"__esModule",{value:!0}),_E.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return _E.default=t,_E}var DE={},r$;function ZY(){if(r$)return DE;r$=1,Object.defineProperty(DE,"__esModule",{value:!0}),DE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},t=e;return DE.default=t,DE}var ME={},a$;function JY(){if(a$)return ME;a$=1,Object.defineProperty(ME,"__esModule",{value:!0}),ME.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},t=e;return ME.default=t,ME}var OE={},l$;function eX(){if(l$)return OE;l$=1,Object.defineProperty(OE,"__esModule",{value:!0}),OE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return OE.default=t,OE}var NE={},o$;function tX(){if(o$)return NE;o$=1,Object.defineProperty(NE,"__esModule",{value:!0}),NE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return NE.default=t,NE}var $E={},i$;function nX(){if(i$)return $E;i$=1,Object.defineProperty($E,"__esModule",{value:!0}),$E.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return $E.default=t,$E}var PE={},u$;function rX(){if(u$)return PE;u$=1,Object.defineProperty(PE,"__esModule",{value:!0}),PE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return PE.default=t,PE}var qE={},s$;function aX(){if(s$)return qE;s$=1,Object.defineProperty(qE,"__esModule",{value:!0}),qE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},t=e;return qE.default=t,qE}var kE={},c$;function lX(){if(c$)return kE;c$=1,Object.defineProperty(kE,"__esModule",{value:!0}),kE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},t=e;return kE.default=t,kE}var LE={},d$;function oX(){if(d$)return LE;d$=1,Object.defineProperty(LE,"__esModule",{value:!0}),LE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return LE.default=t,LE}var jE={},f$;function iX(){if(f$)return jE;f$=1,Object.defineProperty(jE,"__esModule",{value:!0}),jE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},t=e;return jE.default=t,jE}var BE={},p$;function uX(){if(p$)return BE;p$=1,Object.defineProperty(BE,"__esModule",{value:!0}),BE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return BE.default=t,BE}var zE={},h$;function sX(){if(h$)return zE;h$=1,Object.defineProperty(zE,"__esModule",{value:!0}),zE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return zE.default=t,zE}var UE={},m$;function cX(){if(m$)return UE;m$=1,Object.defineProperty(UE,"__esModule",{value:!0}),UE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},t=e;return UE.default=t,UE}var IE={},v$;function dX(){if(v$)return IE;v$=1,Object.defineProperty(IE,"__esModule",{value:!0}),IE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return IE.default=t,IE}var HE={},g$;function fX(){if(g$)return HE;g$=1,Object.defineProperty(HE,"__esModule",{value:!0}),HE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t=e;return HE.default=t,HE}var VE={},y$;function pX(){if(y$)return VE;y$=1,Object.defineProperty(VE,"__esModule",{value:!0}),VE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return VE.default=t,VE}var FE={},b$;function hX(){if(b$)return FE;b$=1,Object.defineProperty(FE,"__esModule",{value:!0}),FE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return FE.default=t,FE}var KE={},x$;function mX(){if(x$)return KE;x$=1,Object.defineProperty(KE,"__esModule",{value:!0}),KE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return KE.default=t,KE}var GE={},E$;function vX(){if(E$)return GE;E$=1,Object.defineProperty(GE,"__esModule",{value:!0}),GE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},t=e;return GE.default=t,GE}var YE={},S$;function gX(){if(S$)return YE;S$=1,Object.defineProperty(YE,"__esModule",{value:!0}),YE.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},t=e;return YE.default=t,YE}var w$;function yX(){if(w$)return b1;w$=1,Object.defineProperty(b1,"__esModule",{value:!0}),b1.default=void 0;var e=at(HG()),t=at(VG()),r=at(FG()),l=at(KG()),i=at(GG()),c=at(YG()),h=at(XG()),m=at(WG()),y=at(QG()),x=at(ZG()),S=at(JG()),w=at(eY()),R=at(tY()),D=at(nY()),$=at(rY()),O=at(aY()),q=at(lY()),N=at(oY()),U=at(iY()),I=at(uY()),G=at(sY()),F=at(cY()),H=at(dY()),V=at(fY()),X=at(pY()),le=at(hY()),xe=at(mY()),Q=at(vY()),ue=at(gY()),se=at(yY()),ae=at(bY()),ge=at(xY()),L=at(EY()),W=at(SY()),ee=at(wY()),me=at(CY()),Y=at(RY()),be=at(TY()),ie=at(AY()),fe=at(_Y()),_e=at(DY()),$e=at(MY()),Pe=at(OY()),Re=at(NY()),Ye=at($Y()),oe=at(PY()),je=at(qY()),Le=at(kY()),we=at(LY()),lt=at(jY()),St=at(BY()),pn=at(zY()),Pn=at(UY()),an=at(IY()),nu=at(HY()),Ws=at(VY()),ve=at(FY()),De=at(KY()),Fe=at(GY()),it=at(YY()),ot=at(XY()),rt=at(WY()),mt=at(QY()),Mt=at(ZY()),Bt=at(JY()),An=at(eX()),po=at(tX()),Wa=at(nX()),Qs=at(rX()),wl=at(aX()),da=at(lX()),Vr=at(oX()),Qa=at(iX()),Ma=at(uX()),gr=at(sX()),vi=at(cX()),ru=at(dX()),Vo=at(fX()),gi=at(pX()),Ph=at(hX()),Zs=at(mX()),Js=at(vX()),Gl=at(gX());function at(ur){return ur&&ur.__esModule?ur:{default:ur}}var qh=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",l.default],["banner",i.default],["blockquote",c.default],["button",h.default],["caption",m.default],["cell",y.default],["checkbox",x.default],["code",S.default],["columnheader",w.default],["combobox",R.default],["complementary",D.default],["contentinfo",$.default],["definition",O.default],["deletion",q.default],["dialog",N.default],["directory",U.default],["document",I.default],["emphasis",G.default],["feed",F.default],["figure",H.default],["form",V.default],["generic",X.default],["grid",le.default],["gridcell",xe.default],["group",Q.default],["heading",ue.default],["img",se.default],["insertion",ae.default],["link",ge.default],["list",L.default],["listbox",W.default],["listitem",ee.default],["log",me.default],["main",Y.default],["mark",be.default],["marquee",ie.default],["math",fe.default],["menu",_e.default],["menubar",$e.default],["menuitem",Pe.default],["menuitemcheckbox",Re.default],["menuitemradio",Ye.default],["meter",oe.default],["navigation",je.default],["none",Le.default],["note",we.default],["option",lt.default],["paragraph",St.default],["presentation",pn.default],["progressbar",Pn.default],["radio",an.default],["radiogroup",nu.default],["region",Ws.default],["row",ve.default],["rowgroup",De.default],["rowheader",Fe.default],["scrollbar",it.default],["search",ot.default],["searchbox",rt.default],["separator",mt.default],["slider",Mt.default],["spinbutton",Bt.default],["status",An.default],["strong",po.default],["subscript",Wa.default],["superscript",Qs.default],["switch",wl.default],["tab",da.default],["table",Vr.default],["tablist",Qa.default],["tabpanel",Ma.default],["term",gr.default],["textbox",vi.default],["time",ru.default],["timer",Vo.default],["toolbar",gi.default],["tooltip",Ph.default],["tree",Zs.default],["treegrid",Js.default],["treeitem",Gl.default]],eg=qh;return b1.default=eg,b1}var XE={},WE={},C$;function bX(){if(C$)return WE;C$=1,Object.defineProperty(WE,"__esModule",{value:!0}),WE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return WE.default=t,WE}var QE={},R$;function xX(){if(R$)return QE;R$=1,Object.defineProperty(QE,"__esModule",{value:!0}),QE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return QE.default=t,QE}var ZE={},T$;function EX(){if(T$)return ZE;T$=1,Object.defineProperty(ZE,"__esModule",{value:!0}),ZE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ZE.default=t,ZE}var JE={},A$;function SX(){if(A$)return JE;A$=1,Object.defineProperty(JE,"__esModule",{value:!0}),JE.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return JE.default=t,JE}var eS={},_$;function wX(){if(_$)return eS;_$=1,Object.defineProperty(eS,"__esModule",{value:!0}),eS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return eS.default=t,eS}var tS={},D$;function CX(){if(D$)return tS;D$=1,Object.defineProperty(tS,"__esModule",{value:!0}),tS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return tS.default=t,tS}var nS={},M$;function RX(){if(M$)return nS;M$=1,Object.defineProperty(nS,"__esModule",{value:!0}),nS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return nS.default=t,nS}var rS={},O$;function TX(){if(O$)return rS;O$=1,Object.defineProperty(rS,"__esModule",{value:!0}),rS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return rS.default=t,rS}var aS={},N$;function AX(){if(N$)return aS;N$=1,Object.defineProperty(aS,"__esModule",{value:!0}),aS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return aS.default=t,aS}var lS={},$$;function _X(){if($$)return lS;$$=1,Object.defineProperty(lS,"__esModule",{value:!0}),lS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return lS.default=t,lS}var oS={},P$;function DX(){if(P$)return oS;P$=1,Object.defineProperty(oS,"__esModule",{value:!0}),oS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return oS.default=t,oS}var iS={},q$;function MX(){if(q$)return iS;q$=1,Object.defineProperty(iS,"__esModule",{value:!0}),iS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return iS.default=t,iS}var uS={},k$;function OX(){if(k$)return uS;k$=1,Object.defineProperty(uS,"__esModule",{value:!0}),uS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return uS.default=t,uS}var sS={},L$;function NX(){if(L$)return sS;L$=1,Object.defineProperty(sS,"__esModule",{value:!0}),sS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return sS.default=t,sS}var cS={},j$;function $X(){if(j$)return cS;j$=1,Object.defineProperty(cS,"__esModule",{value:!0}),cS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return cS.default=t,cS}var dS={},B$;function PX(){if(B$)return dS;B$=1,Object.defineProperty(dS,"__esModule",{value:!0}),dS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return dS.default=t,dS}var fS={},z$;function qX(){if(z$)return fS;z$=1,Object.defineProperty(fS,"__esModule",{value:!0}),fS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return fS.default=t,fS}var pS={},U$;function kX(){if(U$)return pS;U$=1,Object.defineProperty(pS,"__esModule",{value:!0}),pS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return pS.default=t,pS}var hS={},I$;function LX(){if(I$)return hS;I$=1,Object.defineProperty(hS,"__esModule",{value:!0}),hS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return hS.default=t,hS}var mS={},H$;function jX(){if(H$)return mS;H$=1,Object.defineProperty(mS,"__esModule",{value:!0}),mS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return mS.default=t,mS}var vS={},V$;function BX(){if(V$)return vS;V$=1,Object.defineProperty(vS,"__esModule",{value:!0}),vS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return vS.default=t,vS}var gS={},F$;function zX(){if(F$)return gS;F$=1,Object.defineProperty(gS,"__esModule",{value:!0}),gS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return gS.default=t,gS}var yS={},K$;function UX(){if(K$)return yS;K$=1,Object.defineProperty(yS,"__esModule",{value:!0}),yS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return yS.default=t,yS}var bS={},G$;function IX(){if(G$)return bS;G$=1,Object.defineProperty(bS,"__esModule",{value:!0}),bS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return bS.default=t,bS}var xS={},Y$;function HX(){if(Y$)return xS;Y$=1,Object.defineProperty(xS,"__esModule",{value:!0}),xS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return xS.default=t,xS}var ES={},X$;function VX(){if(X$)return ES;X$=1,Object.defineProperty(ES,"__esModule",{value:!0}),ES.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return ES.default=t,ES}var SS={},W$;function FX(){if(W$)return SS;W$=1,Object.defineProperty(SS,"__esModule",{value:!0}),SS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return SS.default=t,SS}var wS={},Q$;function KX(){if(Q$)return wS;Q$=1,Object.defineProperty(wS,"__esModule",{value:!0}),wS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return wS.default=t,wS}var CS={},Z$;function GX(){if(Z$)return CS;Z$=1,Object.defineProperty(CS,"__esModule",{value:!0}),CS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return CS.default=t,CS}var RS={},J$;function YX(){if(J$)return RS;J$=1,Object.defineProperty(RS,"__esModule",{value:!0}),RS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},t=e;return RS.default=t,RS}var TS={},eP;function XX(){if(eP)return TS;eP=1,Object.defineProperty(TS,"__esModule",{value:!0}),TS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return TS.default=t,TS}var AS={},tP;function WX(){if(tP)return AS;tP=1,Object.defineProperty(AS,"__esModule",{value:!0}),AS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return AS.default=t,AS}var _S={},nP;function QX(){if(nP)return _S;nP=1,Object.defineProperty(_S,"__esModule",{value:!0}),_S.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return _S.default=t,_S}var DS={},rP;function ZX(){if(rP)return DS;rP=1,Object.defineProperty(DS,"__esModule",{value:!0}),DS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return DS.default=t,DS}var MS={},aP;function JX(){if(aP)return MS;aP=1,Object.defineProperty(MS,"__esModule",{value:!0}),MS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},t=e;return MS.default=t,MS}var OS={},lP;function eW(){if(lP)return OS;lP=1,Object.defineProperty(OS,"__esModule",{value:!0}),OS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return OS.default=t,OS}var NS={},oP;function tW(){if(oP)return NS;oP=1,Object.defineProperty(NS,"__esModule",{value:!0}),NS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},t=e;return NS.default=t,NS}var $S={},iP;function nW(){if(iP)return $S;iP=1,Object.defineProperty($S,"__esModule",{value:!0}),$S.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return $S.default=t,$S}var PS={},uP;function rW(){if(uP)return PS;uP=1,Object.defineProperty(PS,"__esModule",{value:!0}),PS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return PS.default=t,PS}var sP;function aW(){if(sP)return XE;sP=1,Object.defineProperty(XE,"__esModule",{value:!0}),XE.default=void 0;var e=fe(bX()),t=fe(xX()),r=fe(EX()),l=fe(SX()),i=fe(wX()),c=fe(CX()),h=fe(RX()),m=fe(TX()),y=fe(AX()),x=fe(_X()),S=fe(DX()),w=fe(MX()),R=fe(OX()),D=fe(NX()),$=fe($X()),O=fe(PX()),q=fe(qX()),N=fe(kX()),U=fe(LX()),I=fe(jX()),G=fe(BX()),F=fe(zX()),H=fe(UX()),V=fe(IX()),X=fe(HX()),le=fe(VX()),xe=fe(FX()),Q=fe(KX()),ue=fe(GX()),se=fe(YX()),ae=fe(XX()),ge=fe(WX()),L=fe(QX()),W=fe(ZX()),ee=fe(JX()),me=fe(eW()),Y=fe(tW()),be=fe(nW()),ie=fe(rW());function fe(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}var _e=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",l.default],["doc-backlink",i.default],["doc-biblioentry",c.default],["doc-bibliography",h.default],["doc-biblioref",m.default],["doc-chapter",y.default],["doc-colophon",x.default],["doc-conclusion",S.default],["doc-cover",w.default],["doc-credit",R.default],["doc-credits",D.default],["doc-dedication",$.default],["doc-endnote",O.default],["doc-endnotes",q.default],["doc-epigraph",N.default],["doc-epilogue",U.default],["doc-errata",I.default],["doc-example",G.default],["doc-footnote",F.default],["doc-foreword",H.default],["doc-glossary",V.default],["doc-glossref",X.default],["doc-index",le.default],["doc-introduction",xe.default],["doc-noteref",Q.default],["doc-notice",ue.default],["doc-pagebreak",se.default],["doc-pagelist",ae.default],["doc-part",ge.default],["doc-preface",L.default],["doc-prologue",W.default],["doc-pullquote",ee.default],["doc-qna",me.default],["doc-subtitle",Y.default],["doc-tip",be.default],["doc-toc",ie.default]],$e=_e;return XE.default=$e,XE}var qS={},kS={},cP;function lW(){if(cP)return kS;cP=1,Object.defineProperty(kS,"__esModule",{value:!0}),kS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},t=e;return kS.default=t,kS}var LS={},dP;function oW(){if(dP)return LS;dP=1,Object.defineProperty(LS,"__esModule",{value:!0}),LS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return LS.default=t,LS}var jS={},fP;function iW(){if(fP)return jS;fP=1,Object.defineProperty(jS,"__esModule",{value:!0}),jS.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return jS.default=t,jS}var pP;function uW(){if(pP)return qS;pP=1,Object.defineProperty(qS,"__esModule",{value:!0}),qS.default=void 0;var e=l(lW()),t=l(oW()),r=l(iW());function l(h){return h&&h.__esModule?h:{default:h}}var i=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],c=i;return qS.default=c,qS}var hP;function pM(){if(hP)return l1;hP=1,Object.defineProperty(l1,"__esModule",{value:!0}),l1.default=void 0;var e=c(IG()),t=c(yX()),r=c(aW()),l=c(uW()),i=c(Sw());function c(N){return N&&N.__esModule?N:{default:N}}function h(N,U,I){return U in N?Object.defineProperty(N,U,{value:I,enumerable:!0,configurable:!0,writable:!0}):N[U]=I,N}function m(N,U){var I=typeof Symbol<"u"&&N[Symbol.iterator]||N["@@iterator"];if(!I){if(Array.isArray(N)||(I=S(N))||U){I&&(N=I);var G=0,F=function(){};return{s:F,n:function(){return G>=N.length?{done:!0}:{done:!1,value:N[G++]}},e:function(xe){throw xe},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
281
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H=!0,V=!1,X;return{s:function(){I=I.call(N)},n:function(){var xe=I.next();return H=xe.done,xe},e:function(xe){V=!0,X=xe},f:function(){try{!H&&I.return!=null&&I.return()}finally{if(V)throw X}}}}function y(N,U){return D(N)||R(N,U)||S(N,U)||x()}function x(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
282
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S(N,U){if(N){if(typeof N=="string")return w(N,U);var I=Object.prototype.toString.call(N).slice(8,-1);if(I==="Object"&&N.constructor&&(I=N.constructor.name),I==="Map"||I==="Set")return Array.from(N);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return w(N,U)}}function w(N,U){(U==null||U>N.length)&&(U=N.length);for(var I=0,G=new Array(U);I<U;I++)G[I]=N[I];return G}function R(N,U){var I=N==null?null:typeof Symbol<"u"&&N[Symbol.iterator]||N["@@iterator"];if(I!=null){var G=[],F=!0,H=!1,V,X;try{for(I=I.call(N);!(F=(V=I.next()).done)&&(G.push(V.value),!(U&&G.length===U));F=!0);}catch(le){H=!0,X=le}finally{try{!F&&I.return!=null&&I.return()}finally{if(H)throw X}}return G}}function D(N){if(Array.isArray(N))return N}var $=[].concat(e.default,t.default,r.default,l.default);$.forEach(function(N){var U=y(N,2),I=U[1],G=m(I.superClass),F;try{for(G.s();!(F=G.n()).done;){var H=F.value,V=m(H),X;try{var le=function(){var Q=X.value,ue=$.find(function(W){var ee=y(W,1),me=ee[0];return me===Q});if(ue)for(var se=ue[1],ae=0,ge=Object.keys(se.props);ae<ge.length;ae++){var L=ge[ae];Object.prototype.hasOwnProperty.call(I.props,L)||Object.assign(I.props,h({},L,se.props[L]))}};for(V.s();!(X=V.n()).done;)le()}catch(xe){V.e(xe)}finally{V.f()}}}catch(xe){G.e(xe)}finally{G.f()}});var O={entries:function(){return $},forEach:function(U){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,G=m($),F;try{for(G.s();!(F=G.n()).done;){var H=y(F.value,2),V=H[0],X=H[1];U.call(I,X,V,$)}}catch(le){G.e(le)}finally{G.f()}},get:function(U){var I=$.find(function(G){return G[0]===U});return I&&I[1]},has:function(U){return!!O.get(U)},keys:function(){return $.map(function(U){var I=y(U,1),G=I[0];return G})},values:function(){return $.map(function(U){var I=y(U,2),G=I[1];return G})}},q=(0,i.default)(O,O.entries());return l1.default=q,l1}var BS={},m_={},mP;function sW(){if(mP)return m_;mP=1;var e=Object.prototype.hasOwnProperty;function t(r,l){var i,c;if(r===l)return!0;if(r&&l&&(i=r.constructor)===l.constructor){if(i===Date)return r.getTime()===l.getTime();if(i===RegExp)return r.toString()===l.toString();if(i===Array){if((c=r.length)===l.length)for(;c--&&t(r[c],l[c]););return c===-1}if(!i||typeof r=="object"){c=0;for(i in r)if(e.call(r,i)&&++c&&!e.call(l,i)||!(i in l)||!t(r[i],l[i]))return!1;return Object.keys(l).length===c}}return r!==r&&l!==l}return m_.dequal=t,m_}var vP;function cW(){if(vP)return BS;vP=1,Object.defineProperty(BS,"__esModule",{value:!0}),BS.default=void 0;var e=sW(),t=l(Sw()),r=l(pM());function l(F){return F&&F.__esModule?F:{default:F}}function i(F,H){return m(F)||h(F,H)||x(F,H)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
283
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(F,H){var V=F==null?null:typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(V!=null){var X=[],le=!0,xe=!1,Q,ue;try{for(V=V.call(F);!(le=(Q=V.next()).done)&&(X.push(Q.value),!(H&&X.length===H));le=!0);}catch(se){xe=!0,ue=se}finally{try{!le&&V.return!=null&&V.return()}finally{if(xe)throw ue}}return X}}function m(F){if(Array.isArray(F))return F}function y(F,H){var V=typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(!V){if(Array.isArray(F)||(V=x(F))||H){V&&(F=V);var X=0,le=function(){};return{s:le,n:function(){return X>=F.length?{done:!0}:{done:!1,value:F[X++]}},e:function(ae){throw ae},f:le}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
284
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xe=!0,Q=!1,ue;return{s:function(){V=V.call(F)},n:function(){var ae=V.next();return xe=ae.done,ae},e:function(ae){Q=!0,ue=ae},f:function(){try{!xe&&V.return!=null&&V.return()}finally{if(Q)throw ue}}}}function x(F,H){if(F){if(typeof F=="string")return S(F,H);var V=Object.prototype.toString.call(F).slice(8,-1);if(V==="Object"&&F.constructor&&(V=F.constructor.name),V==="Map"||V==="Set")return Array.from(F);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return S(F,H)}}function S(F,H){(H==null||H>F.length)&&(H=F.length);for(var V=0,X=new Array(H);V<H;V++)X[V]=F[V];return X}for(var w=[],R=r.default.keys(),D=0;D<R.length;D++){var $=R[D],O=r.default.get($);if(O)for(var q=[].concat(O.baseConcepts,O.relatedConcepts),N=0;N<q.length;N++){var U=q[N];U.module==="HTML"&&(function(){var F=U.concept;if(F){var H=w.find(function(xe){return(0,e.dequal)(xe,F)}),V;H?V=H[1]:V=[];for(var X=!0,le=0;le<V.length;le++)if(V[le]===$){X=!1;break}X&&V.push($),w.push([F,V])}})()}}var I={entries:function(){return w},forEach:function(H){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,X=y(w),le;try{for(X.s();!(le=X.n()).done;){var xe=i(le.value,2),Q=xe[0],ue=xe[1];H.call(V,ue,Q,w)}}catch(se){X.e(se)}finally{X.f()}},get:function(H){var V=w.find(function(X){return H.name===X[0].name&&(0,e.dequal)(H.attributes,X[0].attributes)});return V&&V[1]},has:function(H){return!!I.get(H)},keys:function(){return w.map(function(H){var V=i(H,1),X=V[0];return X})},values:function(){return w.map(function(H){var V=i(H,2),X=V[1];return X})}},G=(0,t.default)(I,I.entries());return BS.default=G,BS}var zS={},gP;function dW(){if(gP)return zS;gP=1,Object.defineProperty(zS,"__esModule",{value:!0}),zS.default=void 0;var e=r(Sw()),t=r(pM());function r(H){return H&&H.__esModule?H:{default:H}}function l(H,V){return h(H)||c(H,V)||y(H,V)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(H,V){var X=H==null?null:typeof Symbol<"u"&&H[Symbol.iterator]||H["@@iterator"];if(X!=null){var le=[],xe=!0,Q=!1,ue,se;try{for(X=X.call(H);!(xe=(ue=X.next()).done)&&(le.push(ue.value),!(V&&le.length===V));xe=!0);}catch(ae){Q=!0,se=ae}finally{try{!xe&&X.return!=null&&X.return()}finally{if(Q)throw se}}return le}}function h(H){if(Array.isArray(H))return H}function m(H,V){var X=typeof Symbol<"u"&&H[Symbol.iterator]||H["@@iterator"];if(!X){if(Array.isArray(H)||(X=y(H))||V){X&&(H=X);var le=0,xe=function(){};return{s:xe,n:function(){return le>=H.length?{done:!0}:{done:!1,value:H[le++]}},e:function(ge){throw ge},f:xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
286
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Q=!0,ue=!1,se;return{s:function(){X=X.call(H)},n:function(){var ge=X.next();return Q=ge.done,ge},e:function(ge){ue=!0,se=ge},f:function(){try{!Q&&X.return!=null&&X.return()}finally{if(ue)throw se}}}}function y(H,V){if(H){if(typeof H=="string")return x(H,V);var X=Object.prototype.toString.call(H).slice(8,-1);if(X==="Object"&&H.constructor&&(X=H.constructor.name),X==="Map"||X==="Set")return Array.from(H);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return x(H,V)}}function x(H,V){(V==null||V>H.length)&&(V=H.length);for(var X=0,le=new Array(V);X<V;X++)le[X]=H[X];return le}for(var S=[],w=t.default.keys(),R=0;R<w.length;R++){var D=w[R],$=t.default.get(D),O=[];if($){for(var q=[].concat($.baseConcepts,$.relatedConcepts),N=0;N<q.length;N++){var U=q[N];if(U.module==="HTML"){var I=U.concept;I!=null&&O.push(I)}}O.length>0&&S.push([D,O])}}var G={entries:function(){return S},forEach:function(V){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,le=m(S),xe;try{for(le.s();!(xe=le.n()).done;){var Q=l(xe.value,2),ue=Q[0],se=Q[1];V.call(X,se,ue,S)}}catch(ae){le.e(ae)}finally{le.f()}},get:function(V){var X=S.find(function(le){return le[0]===V});return X&&X[1]},has:function(V){return!!G.get(V)},keys:function(){return S.map(function(V){var X=l(V,1),le=X[0];return le})},values:function(){return S.map(function(V){var X=l(V,2),le=X[1];return le})}},F=(0,e.default)(G,G.entries());return zS.default=F,zS}var yP;function fW(){if(yP)return Bu;yP=1,Object.defineProperty(Bu,"__esModule",{value:!0}),Bu.roles=Bu.roleElements=Bu.elementRoles=Bu.dom=Bu.aria=void 0;var e=c(_G()),t=c(DG()),r=c(pM()),l=c(cW()),i=c(dW());function c(w){return w&&w.__esModule?w:{default:w}}var h=e.default;Bu.aria=h;var m=t.default;Bu.dom=m;var y=r.default;Bu.roles=y;var x=l.default;Bu.elementRoles=x;var S=i.default;return Bu.roleElements=S,Bu}var Is=fW(),v_={exports:{}},bP;function pW(){return bP||(bP=1,(function(e){var t=(function(){var r=String.fromCharCode,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",c={};function h(y,x){if(!c[y]){c[y]={};for(var S=0;S<y.length;S++)c[y][y.charAt(S)]=S}return c[y][x]}var m={compressToBase64:function(y){if(y==null)return"";var x=m._compress(y,6,function(S){return l.charAt(S)});switch(x.length%4){default:case 0:return x;case 1:return x+"===";case 2:return x+"==";case 3:return x+"="}},decompressFromBase64:function(y){return y==null?"":y==""?null:m._decompress(y.length,32,function(x){return h(l,y.charAt(x))})},compressToUTF16:function(y){return y==null?"":m._compress(y,15,function(x){return r(x+32)})+" "},decompressFromUTF16:function(y){return y==null?"":y==""?null:m._decompress(y.length,16384,function(x){return y.charCodeAt(x)-32})},compressToUint8Array:function(y){for(var x=m.compress(y),S=new Uint8Array(x.length*2),w=0,R=x.length;w<R;w++){var D=x.charCodeAt(w);S[w*2]=D>>>8,S[w*2+1]=D%256}return S},decompressFromUint8Array:function(y){if(y==null)return m.decompress(y);for(var x=new Array(y.length/2),S=0,w=x.length;S<w;S++)x[S]=y[S*2]*256+y[S*2+1];var R=[];return x.forEach(function(D){R.push(r(D))}),m.decompress(R.join(""))},compressToEncodedURIComponent:function(y){return y==null?"":m._compress(y,6,function(x){return i.charAt(x)})},decompressFromEncodedURIComponent:function(y){return y==null?"":y==""?null:(y=y.replace(/ /g,"+"),m._decompress(y.length,32,function(x){return h(i,y.charAt(x))}))},compress:function(y){return m._compress(y,16,function(x){return r(x)})},_compress:function(y,x,S){if(y==null)return"";var w,R,D={},$={},O="",q="",N="",U=2,I=3,G=2,F=[],H=0,V=0,X;for(X=0;X<y.length;X+=1)if(O=y.charAt(X),Object.prototype.hasOwnProperty.call(D,O)||(D[O]=I++,$[O]=!0),q=N+O,Object.prototype.hasOwnProperty.call(D,q))N=q;else{if(Object.prototype.hasOwnProperty.call($,N)){if(N.charCodeAt(0)<256){for(w=0;w<G;w++)H=H<<1,V==x-1?(V=0,F.push(S(H)),H=0):V++;for(R=N.charCodeAt(0),w=0;w<8;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1}else{for(R=1,w=0;w<G;w++)H=H<<1|R,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=0;for(R=N.charCodeAt(0),w=0;w<16;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1}U--,U==0&&(U=Math.pow(2,G),G++),delete $[N]}else for(R=D[N],w=0;w<G;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1;U--,U==0&&(U=Math.pow(2,G),G++),D[q]=I++,N=String(O)}if(N!==""){if(Object.prototype.hasOwnProperty.call($,N)){if(N.charCodeAt(0)<256){for(w=0;w<G;w++)H=H<<1,V==x-1?(V=0,F.push(S(H)),H=0):V++;for(R=N.charCodeAt(0),w=0;w<8;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1}else{for(R=1,w=0;w<G;w++)H=H<<1|R,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=0;for(R=N.charCodeAt(0),w=0;w<16;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1}U--,U==0&&(U=Math.pow(2,G),G++),delete $[N]}else for(R=D[N],w=0;w<G;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1;U--,U==0&&(U=Math.pow(2,G),G++)}for(R=2,w=0;w<G;w++)H=H<<1|R&1,V==x-1?(V=0,F.push(S(H)),H=0):V++,R=R>>1;for(;;)if(H=H<<1,V==x-1){F.push(S(H));break}else V++;return F.join("")},decompress:function(y){return y==null?"":y==""?null:m._decompress(y.length,32768,function(x){return y.charCodeAt(x)})},_decompress:function(y,x,S){var w=[],R=4,D=4,$=3,O="",q=[],N,U,I,G,F,H,V,X={val:S(0),position:x,index:1};for(N=0;N<3;N+=1)w[N]=N;for(I=0,F=Math.pow(2,2),H=1;H!=F;)G=X.val&X.position,X.position>>=1,X.position==0&&(X.position=x,X.val=S(X.index++)),I|=(G>0?1:0)*H,H<<=1;switch(I){case 0:for(I=0,F=Math.pow(2,8),H=1;H!=F;)G=X.val&X.position,X.position>>=1,X.position==0&&(X.position=x,X.val=S(X.index++)),I|=(G>0?1:0)*H,H<<=1;V=r(I);break;case 1:for(I=0,F=Math.pow(2,16),H=1;H!=F;)G=X.val&X.position,X.position>>=1,X.position==0&&(X.position=x,X.val=S(X.index++)),I|=(G>0?1:0)*H,H<<=1;V=r(I);break;case 2:return""}for(w[3]=V,U=V,q.push(V);;){if(X.index>y)return"";for(I=0,F=Math.pow(2,$),H=1;H!=F;)G=X.val&X.position,X.position>>=1,X.position==0&&(X.position=x,X.val=S(X.index++)),I|=(G>0?1:0)*H,H<<=1;switch(V=I){case 0:for(I=0,F=Math.pow(2,8),H=1;H!=F;)G=X.val&X.position,X.position>>=1,X.position==0&&(X.position=x,X.val=S(X.index++)),I|=(G>0?1:0)*H,H<<=1;w[D++]=r(I),V=D-1,R--;break;case 1:for(I=0,F=Math.pow(2,16),H=1;H!=F;)G=X.val&X.position,X.position>>=1,X.position==0&&(X.position=x,X.val=S(X.index++)),I|=(G>0?1:0)*H,H<<=1;w[D++]=r(I),V=D-1,R--;break;case 2:return q.join("")}if(R==0&&(R=Math.pow(2,$),$++),w[V])O=w[V];else if(V===D)O=U+U.charAt(0);else return null;q.push(O),w[D++]=U+O.charAt(0),R--,U=O,R==0&&(R=Math.pow(2,$),$++)}}};return m})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(v_)),v_.exports}var hW=pW();const mW=e5(hW);function Xq(e){return e.replace(/</g,"<").replace(/>/g,">")}const vW=(e,t,r,l,i,c,h)=>{const m=l+r.indent,y=r.colors;return e.map(x=>{const S=t[x];let w=h(S,r,m,i,c);return typeof S!="string"&&(w.indexOf(`
|
|
287
|
+
`)!==-1&&(w=r.spacingOuter+m+w+r.spacingOuter+l),w="{"+w+"}"),r.spacingInner+l+y.prop.open+x+y.prop.close+"="+y.value.open+w+y.value.close}).join("")},gW=3,yW=(e,t,r,l,i,c)=>e.map(h=>{const m=typeof h=="string"?Wq(h,t):c(h,t,r,l,i);return m===""&&typeof h=="object"&&h!==null&&h.nodeType!==gW?"":t.spacingOuter+r+m}).join(""),Wq=(e,t)=>{const r=t.colors.content;return r.open+Xq(e)+r.close},bW=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Xq(e)+"-->"+r.close},xW=(e,t,r,l,i)=>{const c=l.colors.tag;return c.open+"<"+e+(t&&c.close+t+l.spacingOuter+i+c.open)+(r?">"+c.close+r+l.spacingOuter+i+c.open+"</"+e:(t&&!l.min?"":" ")+"/")+">"+c.close},EW=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},SW=1,Qq=3,Zq=8,Jq=11,wW=/^((HTML|SVG)\w*)?Element$/,ek=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},CW=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===SW&&(wW.test(t)||ek(e))||r===Qq&&t==="Text"||r===Zq&&t==="Comment"||r===Jq&&t==="DocumentFragment"};function RW(e){return e.nodeType===Qq}function TW(e){return e.nodeType===Zq}function g_(e){return e.nodeType===Jq}function AW(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||ek(t))&&CW(t)},serialize:(t,r,l,i,c,h)=>{if(RW(t))return Wq(t.data,r);if(TW(t))return bW(t.data,r);const m=g_(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?EW(m,r):xW(m,vW(g_(t)?[]:Array.from(t.attributes).map(y=>y.name).sort(),g_(t)?{}:Array.from(t.attributes).reduce((y,x)=>(y[x.name]=x.value,y),{}),r,l+r.indent,i,c,h),yW(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,l+r.indent,i,c,h),r,l)}}}let tk=null,hM=null,mM=null;try{const e=module&&module.require;hM=e.call(module,"fs").readFileSync,mM=e.call(module,"@babel/code-frame").codeFrameColumns,tk=e.call(module,"chalk")}catch{}function _W(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),l=e.slice(t,r),i=l.split(":"),[c,h,m]=[i[0],parseInt(i[1],10),parseInt(i[2],10)];let y="";try{y=hM(c,"utf-8")}catch{return""}const x=mM(y,{start:{line:h,column:m}},{highlightCode:!0,linesBelow:0});return tk.dim(l)+`
|
|
288
|
+
`+x+`
|
|
289
|
+
`}function DW(){if(!hM||!mM)return"";const t=new Error().stack.split(`
|
|
290
|
+
`).slice(1).find(r=>!r.includes("node_modules/"));return _W(t)}const nk=3;function y_(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function vM(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function rk(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Nh(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const MW=()=>{if(typeof process>"u")return!1;let e;try{var t;const r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:OW}=zq.plugins,NW=1,$W=8;function PW(e){return e.nodeType!==$W&&(e.nodeType!==NW||!e.matches(Er().defaultIgnore))}function ER(e,t,r){if(r===void 0&&(r={}),e||(e=vM().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let l=typeof e;if(l==="object"?l=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+l);const{filterNode:i=PW,...c}=r,h=zq.format(e,{plugins:[AW(i),OW],printFunctionName:!1,highlight:MW(),...c});return t!==void 0&&e.outerHTML.length>t?h.slice(0,t)+"...":h}const xP=function(){const e=DW();console.log(e?ER(...arguments)+`
|
|
291
|
+
|
|
292
|
+
`+e:ER(...arguments))};let Xy={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=ER(t),l=new Error([e,"Ignored nodes: comments, "+Xy.defaultIgnore+`
|
|
293
|
+
`+r].filter(Boolean).join(`
|
|
294
|
+
|
|
295
|
+
`));return l.name="TestingLibraryElementError",l},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function qW(e){try{return Xy._disableExpensiveErrorDiagnostics=!0,e()}finally{Xy._disableExpensiveErrorDiagnostics=!1}}function kW(e){typeof e=="function"&&(e=e(Xy)),Xy={...Xy,...e}}function Er(){return Xy}const LW=["button","meter","output","progress","select","textarea","input"];function ak(e){return LW.includes(e.nodeName.toLowerCase())?"":e.nodeType===nk?e.textContent:Array.from(e.childNodes).map(t=>ak(t)).join("")}function Y_(e){let t;return e.tagName.toLowerCase()==="label"?t=ak(e):t=e.value||e.textContent,t}function lk(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!jW(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(l=>l.control===e)}function jW(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function ok(e,t,r){let{selector:l="*"}=r===void 0?{}:r;const i=t.getAttribute("aria-labelledby"),c=i?i.split(" "):[];return c.length?c.map(h=>{const m=e.querySelector('[id="'+h+'"]');return m?{content:Y_(m),formControl:null}:{content:"",formControl:null}}):Array.from(lk(t)).map(h=>{const m=Y_(h),x=Array.from(h.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(S=>S.matches(l))[0];return{content:m,formControl:x}})}function ik(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function tx(e,t,r,l){if(typeof e!="string")return!1;ik(r);const i=l(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):sk(r,i)}function Rh(e,t,r,l){if(typeof e!="string")return!1;ik(r);const i=l(e);return r instanceof Function?r(i,t):r instanceof RegExp?sk(r,i):i===String(r)}function uk(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return l=>{let i=l;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}function sb(e){let{trim:t,collapseWhitespace:r,normalizer:l}=e;if(!l)return uk({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return l}function sk(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function lT(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===nk&&!!t.textContent).map(t=>t.textContent).join("")}const BW=zW(Is.elementRoles);function ck(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function gM(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=ck}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let i=e;for(;i;){if(r(i))return!0;i=i.parentElement}return!1}function yM(e){for(const{match:t,roles:r}of BW)if(t(e))return[...r];return[]}function zW(e){function t(h){let{name:m,attributes:y}=h;return""+m+y.map(x=>{let{name:S,value:w,constraints:R=[]}=x;const D=R.indexOf("undefined")!==-1,$=R.indexOf("set")!==-1;return typeof w<"u"?"["+S+'="'+w+'"]':D?":not(["+S+"])":$?"["+S+"]:not(["+S+'=""])':"["+S+"]"}).join("")}function r(h){let{attributes:m=[]}=h;return m.length}function l(h,m){let{specificity:y}=h,{specificity:x}=m;return x-y}function i(h){let{attributes:m=[]}=h;const y=m.findIndex(S=>S.value&&S.name==="type"&&S.value==="text");y>=0&&(m=[...m.slice(0,y),...m.slice(y+1)]);const x=t({...h,attributes:m});return S=>y>=0&&S.type!=="text"?!1:S.matches(x)}let c=[];for(const[h,m]of e.entries())c=[...c,{match:i(h),roles:Array.from(m),specificity:r(h)}];return c.sort(l)}function UW(e,t){let{hidden:r=!1}=t===void 0?{}:t;function l(i){return[i,...Array.from(i.children).reduce((c,h)=>[...c,...l(h)],[])]}return l(e).filter(i=>r===!1?gM(i)===!1:!0).reduce((i,c)=>{let h=[];return c.hasAttribute("role")?h=c.getAttribute("role").split(" ").slice(0,1):h=yM(c),h.reduce((m,y)=>Array.isArray(m[y])?{...m,[y]:[...m[y],c]}:{...m,[y]:[c]},i)},{})}function IW(e,t){let{hidden:r,includeDescription:l}=t;const i=UW(e,{hidden:r});return Object.entries(i).filter(c=>{let[h]=c;return h!=="generic"}).map(c=>{let[h,m]=c;const y="-".repeat(50),x=m.map(S=>{const w='Name "'+fM(S,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements})+`":
|
|
296
|
+
`,R=ER(S.cloneNode(!1));if(l){const D='Description "'+Yq(S,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements})+`":
|
|
297
|
+
`;return""+w+D+R}return""+w+R}).join(`
|
|
298
|
+
|
|
299
|
+
`);return h+`:
|
|
300
|
+
|
|
301
|
+
`+x+`
|
|
302
|
+
|
|
303
|
+
`+y}).join(`
|
|
304
|
+
`)}function HW(e){return e.tagName==="OPTION"?e.selected:ww(e,"aria-selected")}function VW(e){return e.getAttribute("aria-busy")==="true"}function FW(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ww(e,"aria-checked")}function KW(e){return ww(e,"aria-pressed")}function GW(e){var t,r;return(t=(r=ww(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function YW(e){return ww(e,"aria-expanded")}function ww(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function XW(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function WW(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function QW(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function ZW(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function JW(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const EP=uk();function eQ(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function SP(e){return new RegExp(eQ(e.toLowerCase()),"i")}function Ov(e,t,r,l){let{variant:i,name:c}=l,h="";const m={},y=[["Role","TestId"].includes(e)?r:SP(r)];c&&(m.name=SP(c)),e==="Role"&&gM(t)&&(m.hidden=!0,h=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
305
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
306
|
+
`),Object.keys(m).length>0&&y.push(m);const x=i+"By"+e;return{queryName:e,queryMethod:x,queryArgs:y,variant:i,warning:h,toString(){h&&console.warn(h);let[S,w]=y;return S=typeof S=="string"?"'"+S+"'":S,w=w?", { "+Object.entries(w).map(R=>{let[D,$]=R;return D+": "+$}).join(", ")+" }":"",x+"("+S+w+")"}}}function Nv(e,t,r){return r&&!0}function X_(e,t,r){var l,i;if(t===void 0&&(t="get"),e.matches(Er().defaultIgnore))return;const c=(l=e.getAttribute("role"))!=null?l:(i=yM(e))==null?void 0:i[0];if(c!=="generic"&&Nv("Role",r,c))return Ov("Role",e,c,{variant:t,name:fM(e,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements})});const h=ok(document,e).map(R=>R.content).join(" ");if(Nv("LabelText",r,h))return Ov("LabelText",e,h,{variant:t});const m=e.getAttribute("placeholder");if(Nv("PlaceholderText",r,m))return Ov("PlaceholderText",e,m,{variant:t});const y=EP(lT(e));if(Nv("Text",r,y))return Ov("Text",e,y,{variant:t});if(Nv("DisplayValue",r,e.value))return Ov("DisplayValue",e,EP(e.value),{variant:t});const x=e.getAttribute("alt");if(Nv("AltText",r,x))return Ov("AltText",e,x,{variant:t});const S=e.getAttribute("title");if(Nv("Title",r,S))return Ov("Title",e,S,{variant:t});const w=e.getAttribute(Er().testIdAttribute);if(Nv("TestId",r,w))return Ov("TestId",e,w,{variant:t})}function YC(e,t){e.stack=t.stack.replace(t.message,e.message)}function tQ(e,t){let{container:r=vM(),timeout:l=Er().asyncUtilTimeout,showOriginalStackTrace:i=Er().showOriginalStackTrace,stackTraceError:c,interval:h=50,onTimeout:m=x=>(Object.defineProperty(x,"message",{value:Er().getElementError(x.message,r).message}),x),mutationObserverOptions:y={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(x,S)=>{let w,R,D,$=!1,O="idle";const q=setTimeout(F,l),N=y_();if(N){const{unstable_advanceTimersWrapper:H}=Er();for(G();!$;){if(!y_()){const V=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||YC(V,c),S(V);return}if(await H(async()=>{jest.advanceTimersByTime(h)}),$)break;G()}}else{try{Nh(r)}catch(V){S(V);return}R=setInterval(I,h);const{MutationObserver:H}=rk(r);D=new H(I),D.observe(r,y),G()}function U(H,V){$=!0,clearTimeout(q),N||(clearInterval(R),D.disconnect()),H?S(H):x(V)}function I(){if(y_()){const H=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||YC(H,c),S(H)}else return G()}function G(){if(O!=="pending")try{const H=qW(e);typeof H?.then=="function"?(O="pending",H.then(V=>{O="resolved",U(null,V)},V=>{O="rejected",w=V})):U(null,H)}catch(H){w=H}}function F(){let H;w?(H=w,!i&&H.name==="TestingLibraryElementError"&&YC(H,c)):(H=new Error("Timed out in waitFor."),i||YC(H,c)),U(m(H),null)}})}function nQ(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Er().asyncWrapper(()=>tQ(e,{stackTraceError:r,...t}))}function dk(e,t){return Er().getElementError(e,t)}function rQ(e,t){return dk(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function oT(e,t,r,l){let{exact:i=!0,collapseWhitespace:c,trim:h,normalizer:m}=l===void 0?{}:l;const y=i?Rh:tx,x=sb({collapseWhitespace:c,trim:h,normalizer:m});return Array.from(t.querySelectorAll("["+e+"]")).filter(S=>y(S.getAttribute(e),S,r,x))}function SR(e,t){return function(r){for(var l=arguments.length,i=new Array(l>1?l-1:0),c=1;c<l;c++)i[c-1]=arguments[c];const h=e(r,...i);if(h.length>1){const m=h.map(y=>dk(null,y).message).join(`
|
|
307
|
+
|
|
308
|
+
`);throw rQ(t(r,...i)+`
|
|
309
|
+
|
|
310
|
+
Here are the matching elements:
|
|
311
|
+
|
|
312
|
+
`+m,r)}return h[0]||null}}function fk(e,t){return Er().getElementError(`A better query is available, try this:
|
|
313
|
+
`+e.toString()+`
|
|
314
|
+
`,t)}function aQ(e,t){return function(r){for(var l=arguments.length,i=new Array(l>1?l-1:0),c=1;c<l;c++)i[c-1]=arguments[c];const h=e(r,...i);if(!h.length)throw Er().getElementError(t(r,...i),r);return h}}function wR(e){return(t,r,l,i)=>nQ(()=>e(t,r,l),{container:t,...i})}const z0=(e,t,r)=>function(l){for(var i=arguments.length,c=new Array(i>1?i-1:0),h=1;h<i;h++)c[h-1]=arguments[h];const m=e(l,...c),[{suggest:y=Er().throwSuggestions}={}]=c.slice(-1);if(m&&y){const x=X_(m,r);if(x&&!t.endsWith(x.queryName))throw fk(x.toString(),l)}return m},Ys=(e,t,r)=>function(l){for(var i=arguments.length,c=new Array(i>1?i-1:0),h=1;h<i;h++)c[h-1]=arguments[h];const m=e(l,...c),[{suggest:y=Er().throwSuggestions}={}]=c.slice(-1);if(m.length&&y){const x=[...new Set(m.map(S=>{var w;return(w=X_(S,r))==null?void 0:w.toString()}))];if(x.length===1&&!t.endsWith(X_(m[0],r).queryName))throw fk(x[0],l)}return m};function cb(e,t,r){const l=z0(SR(e,t),e.name,"query"),i=aQ(e,r),c=SR(i,t),h=z0(c,e.name,"get"),m=Ys(i,e.name.replace("query","get"),"getAll"),y=wR(Ys(i,e.name,"findAll")),x=wR(z0(c,e.name,"find"));return[l,m,h,y,x]}function lQ(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Y_(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const oQ=function(e,t,r){let{exact:l=!0,trim:i,collapseWhitespace:c,normalizer:h}=r===void 0?{}:r;const m=l?Rh:tx,y=sb({collapseWhitespace:c,trim:i,normalizer:h});return lQ(e).filter(S=>{let{node:w,textToMatch:R}=S;return m(R,w,t,y)}).map(S=>{let{node:w}=S;return w})},rw=function(e,t,r){let{selector:l="*",exact:i=!0,collapseWhitespace:c,trim:h,normalizer:m}=r===void 0?{}:r;Nh(e);const y=i?Rh:tx,x=sb({collapseWhitespace:c,trim:h,normalizer:m}),S=Array.from(e.querySelectorAll("*")).filter(w=>lk(w).length||w.hasAttribute("aria-labelledby")).reduce((w,R)=>{const D=ok(e,R,{selector:l});D.filter(O=>!!O.formControl).forEach(O=>{y(O.content,O.formControl,t,x)&&O.formControl&&w.push(O.formControl)});const $=D.filter(O=>!!O.content).map(O=>O.content);return y($.join(" "),R,t,x)&&w.push(R),$.length>1&&$.forEach((O,q)=>{y(O,R,t,x)&&w.push(R);const N=[...$];N.splice(q,1),N.length>1&&y(N.join(" "),R,t,x)&&w.push(R)}),w},[]).concat(oT("aria-label",e,t,{exact:i,normalizer:x}));return Array.from(new Set(S)).filter(w=>w.matches(l))},eb=function(e,t){for(var r=arguments.length,l=new Array(r>2?r-2:0),i=2;i<r;i++)l[i-2]=arguments[i];const c=rw(e,t,...l);if(!c.length){const h=oQ(e,t,...l);if(h.length){const m=h.map(y=>iQ(e,y)).filter(y=>!!y);throw m.length?Er().getElementError(m.map(y=>"Found a label with the text of: "+t+", however the element associated with this label (<"+y+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+y+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
315
|
+
|
|
316
|
+
`),e):Er().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Er().getElementError("Unable to find a label with the text of: "+t,e)}return c};function iQ(e,t){const r=t.getAttribute("for");if(!r)return null;const l=e.querySelector('[id="'+r+'"]');return l?l.tagName.toLowerCase():null}const pk=(e,t)=>"Found multiple elements with the text of: "+t,uQ=z0(SR(rw,pk),rw.name,"query"),hk=SR(eb,pk),sQ=wR(Ys(eb,eb.name,"findAll")),cQ=wR(z0(hk,eb.name,"find")),dQ=Ys(eb,eb.name,"getAll"),fQ=z0(hk,eb.name,"get"),pQ=Ys(rw,rw.name,"queryAll"),W_=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Nh(t[0]),oT("placeholder",...t)},hQ=(e,t)=>"Found multiple elements with the placeholder text of: "+t,mQ=(e,t)=>"Unable to find an element with the placeholder text of: "+t,vQ=Ys(W_,W_.name,"queryAll"),[gQ,yQ,bQ,xQ,EQ]=cb(W_,hQ,mQ),Q_=function(e,t,r){let{selector:l="*",exact:i=!0,collapseWhitespace:c,trim:h,ignore:m=Er().defaultIgnore,normalizer:y}=r===void 0?{}:r;Nh(e);const x=i?Rh:tx,S=sb({collapseWhitespace:c,trim:h,normalizer:y});let w=[];return typeof e.matches=="function"&&e.matches(l)&&(w=[e]),[...w,...Array.from(e.querySelectorAll(l))].filter(R=>!m||!R.matches(m)).filter(R=>x(lT(R),R,t,S))},SQ=(e,t)=>"Found multiple elements with the text: "+t,wQ=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:l,trim:i,normalizer:c,selector:h}=r,y=sb({collapseWhitespace:l,trim:i,normalizer:c})(t.toString()),x=y!==t.toString(),S=(h??"*")!=="*";return"Unable to find an element with the text: "+(x?y+" (normalized from '"+t+"')":t)+(S?", which matches selector '"+h+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},CQ=Ys(Q_,Q_.name,"queryAll"),[RQ,TQ,AQ,_Q,DQ]=cb(Q_,SQ,wQ),Z_=function(e,t,r){let{exact:l=!0,collapseWhitespace:i,trim:c,normalizer:h}=r===void 0?{}:r;Nh(e);const m=l?Rh:tx,y=sb({collapseWhitespace:i,trim:c,normalizer:h});return Array.from(e.querySelectorAll("input,textarea,select")).filter(x=>x.tagName==="SELECT"?Array.from(x.options).filter(w=>w.selected).some(w=>m(lT(w),w,t,y)):m(x.value,x,t,y))},MQ=(e,t)=>"Found multiple elements with the display value: "+t+".",OQ=(e,t)=>"Unable to find an element with the display value: "+t+".",NQ=Ys(Z_,Z_.name,"queryAll"),[$Q,PQ,qQ,kQ,LQ]=cb(Z_,MQ,OQ),jQ=/^(img|input|area|.+-.+)$/i,J_=function(e,t,r){return r===void 0&&(r={}),Nh(e),oT("alt",e,t,r).filter(l=>jQ.test(l.tagName))},BQ=(e,t)=>"Found multiple elements with the alt text: "+t,zQ=(e,t)=>"Unable to find an element with the alt text: "+t,UQ=Ys(J_,J_.name,"queryAll"),[IQ,HQ,VQ,FQ,KQ]=cb(J_,BQ,zQ),GQ=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},eD=function(e,t,r){let{exact:l=!0,collapseWhitespace:i,trim:c,normalizer:h}=r===void 0?{}:r;Nh(e);const m=l?Rh:tx,y=sb({collapseWhitespace:i,trim:c,normalizer:h});return Array.from(e.querySelectorAll("[title], svg > title")).filter(x=>m(x.getAttribute("title"),x,t,y)||GQ(x)&&m(lT(x),x,t,y))},YQ=(e,t)=>"Found multiple elements with the title: "+t+".",XQ=(e,t)=>"Unable to find an element with the title: "+t+".",WQ=Ys(eD,eD.name,"queryAll"),[QQ,ZQ,JQ,eZ,tZ]=cb(eD,YQ,XQ),tD=function(e,t,r){let{hidden:l=Er().defaultHidden,name:i,description:c,queryFallbacks:h=!1,selected:m,busy:y,checked:x,pressed:S,current:w,level:R,expanded:D,value:{now:$,min:O,max:q,text:N}={}}=r===void 0?{}:r;if(Nh(e),m!==void 0){var U;if(((U=Is.roles.get(t))==null?void 0:U.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(y!==void 0){var I;if(((I=Is.roles.get(t))==null?void 0:I.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(x!==void 0){var G;if(((G=Is.roles.get(t))==null?void 0:G.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(S!==void 0){var F;if(((F=Is.roles.get(t))==null?void 0:F.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(w!==void 0){var H;if(((H=Is.roles.get(t))==null?void 0:H.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(R!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if($!==void 0){var V;if(((V=Is.roles.get(t))==null?void 0:V.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(q!==void 0){var X;if(((X=Is.roles.get(t))==null?void 0:X.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(O!==void 0){var le;if(((le=Is.roles.get(t))==null?void 0:le.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(N!==void 0){var xe;if(((xe=Is.roles.get(t))==null?void 0:xe.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(D!==void 0){var Q;if(((Q=Is.roles.get(t))==null?void 0:Q.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const ue=new WeakMap;function se(ae){return ue.has(ae)||ue.set(ae,ck(ae)),ue.get(ae)}return Array.from(e.querySelectorAll(nZ(t))).filter(ae=>{if(ae.hasAttribute("role")){const W=ae.getAttribute("role");if(h)return W.split(" ").filter(Boolean).some(me=>me===t);const[ee]=W.split(" ");return ee===t}return yM(ae).some(W=>W===t)}).filter(ae=>{if(m!==void 0)return m===HW(ae);if(y!==void 0)return y===VW(ae);if(x!==void 0)return x===FW(ae);if(S!==void 0)return S===KW(ae);if(w!==void 0)return w===GW(ae);if(D!==void 0)return D===YW(ae);if(R!==void 0)return R===XW(ae);if($!==void 0||q!==void 0||O!==void 0||N!==void 0){let L=!0;if($!==void 0&&L&&(L=$===WW(ae)),q!==void 0&&L&&(L=q===QW(ae)),O!==void 0&&L&&(L=O===ZW(ae)),N!==void 0){var ge;L&&(L=Rh((ge=JW(ae))!=null?ge:null,ae,N,W=>W))}return L}return!0}).filter(ae=>i===void 0?!0:Rh(fM(ae,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements}),ae,i,ge=>ge)).filter(ae=>c===void 0?!0:Rh(Yq(ae,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements}),ae,c,ge=>ge)).filter(ae=>l===!1?gM(ae,{isSubtreeInaccessible:se})===!1:!0)};function nZ(e){var t;const r='*[role~="'+e+'"]',l=(t=Is.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(l).map(c=>{let{name:h}=c;return h}));return[r].concat(Array.from(i)).join(",")}const mk=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},rZ=function(e,t,r){let{name:l}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+mk(l)},aZ=function(e,t,r){let{hidden:l=Er().defaultHidden,name:i,description:c}=r===void 0?{}:r;if(Er()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+mk(i);let h="";Array.from(e.children).forEach(S=>{h+=IW(S,{hidden:l,includeDescription:c!==void 0})});let m;h.length===0?l===!1?m="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":m="There are no available roles.":m=(`
|
|
317
|
+
Here are the `+(l===!1?"accessible":"available")+` roles:
|
|
318
|
+
|
|
319
|
+
`+h.replace(/\n/g,`
|
|
320
|
+
`).replace(/\n\s\s\n/g,`
|
|
321
|
+
|
|
322
|
+
`)+`
|
|
323
|
+
`).trim();let y="";i===void 0?y="":typeof i=="string"?y=' and name "'+i+'"':y=" and name `"+i+"`";let x="";return c===void 0?x="":typeof c=="string"?x=' and description "'+c+'"':x=" and description `"+c+"`",(`
|
|
324
|
+
Unable to find an `+(l===!1?"accessible ":"")+'element with the role "'+t+'"'+y+x+`
|
|
325
|
+
|
|
326
|
+
`+m).trim()},lZ=Ys(tD,tD.name,"queryAll"),[oZ,iZ,uZ,sZ,cZ]=cb(tD,rZ,aZ),bM=()=>Er().testIdAttribute,nD=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Nh(t[0]),oT(bM(),...t)},dZ=(e,t)=>"Found multiple elements by: ["+bM()+'="'+t+'"]',fZ=(e,t)=>"Unable to find an element by: ["+bM()+'="'+t+'"]',pZ=Ys(nD,nD.name,"queryAll"),[hZ,mZ,vZ,gZ,yZ]=cb(nD,dZ,fZ);var rD=Object.freeze({__proto__:null,queryAllByLabelText:pQ,queryByLabelText:uQ,getAllByLabelText:dQ,getByLabelText:fQ,findAllByLabelText:sQ,findByLabelText:cQ,queryByPlaceholderText:gQ,queryAllByPlaceholderText:vQ,getByPlaceholderText:bQ,getAllByPlaceholderText:yQ,findAllByPlaceholderText:xQ,findByPlaceholderText:EQ,queryByText:RQ,queryAllByText:CQ,getByText:AQ,getAllByText:TQ,findAllByText:_Q,findByText:DQ,queryByDisplayValue:$Q,queryAllByDisplayValue:NQ,getByDisplayValue:qQ,getAllByDisplayValue:PQ,findAllByDisplayValue:kQ,findByDisplayValue:LQ,queryByAltText:IQ,queryAllByAltText:UQ,getByAltText:VQ,getAllByAltText:HQ,findAllByAltText:FQ,findByAltText:KQ,queryByTitle:QQ,queryAllByTitle:WQ,getByTitle:JQ,getAllByTitle:ZQ,findAllByTitle:eZ,findByTitle:tZ,queryByRole:oZ,queryAllByRole:lZ,getAllByRole:iZ,getByRole:uZ,findAllByRole:sZ,findByRole:cZ,queryByTestId:hZ,queryAllByTestId:pZ,getByTestId:vZ,getAllByTestId:mZ,findAllByTestId:gZ,findByTestId:yZ});function bZ(e,t,r){return t===void 0&&(t=rD),r===void 0&&(r={}),Object.keys(t).reduce((l,i)=>{const c=t[i];return l[i]=c.bind(null,e),l},r)}const wP={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},CP={doubleClick:"dblClick"};function tb(e,t){return Er().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function b_(e,t,r,l){let{EventType:i="Event",defaultInit:c={}}=l===void 0?{}:l;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const h={...c,...r},{target:{value:m,files:y,...x}={}}=h;m!==void 0&&xZ(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,x);const S=rk(t),w=S[i]||S.Event;let R;if(typeof w=="function")R=new w(e,h);else{R=S.document.createEvent(i);const{bubbles:$,cancelable:O,detail:q,...N}=h;R.initEvent(e,$,O,q),Object.keys(N).forEach(U=>{R[U]=N[U]})}return["dataTransfer","clipboardData"].forEach($=>{const O=h[$];typeof O=="object"&&(typeof S.DataTransfer=="function"?Object.defineProperty(R,$,{value:Object.getOwnPropertyNames(O).reduce((q,N)=>(Object.defineProperty(q,N,{value:O[N]}),q),new S.DataTransfer)}):Object.defineProperty(R,$,{value:O}))}),R}Object.keys(wP).forEach(e=>{const{EventType:t,defaultInit:r}=wP[e],l=e.toLowerCase();b_[e]=(i,c)=>b_(l,i,c,{EventType:t,defaultInit:r}),tb[e]=(i,c)=>tb(i,b_[e](i,c))});function xZ(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},l=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(l,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(CP).forEach(e=>{const t=CP[e];tb[e]=function(){return tb[t](...arguments)}});function EZ(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
327
|
+
`)}function SZ(e){return mW.compressToEncodedURIComponent(EZ(e))}function wZ(e){return"https://testing-playground.com/#markup="+SZ(e)}const CZ=(e,t,r)=>Array.isArray(e)?e.forEach(l=>xP(l,t,r)):xP(e,t,r),RZ=function(e){if(e===void 0&&(e=vM().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=wZ(e.innerHTML);return console.log(`Open this URL in your browser
|
|
328
|
+
|
|
329
|
+
`+t),t},RP={debug:CZ,logTestingPlaygroundURL:RZ};typeof document<"u"&&document.body?bZ(document.body,rD,RP):Object.keys(rD).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),RP);const TZ=typeof _.act=="function"?_.act:gK.act;function vk(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}function Sh(e){vk().IS_REACT_ACT_ENVIRONMENT=e}function CR(){return vk().IS_REACT_ACT_ENVIRONMENT}function AZ(e){return t=>{const r=CR();Sh(!0);try{let l=!1;const i=e(()=>{const c=t();return c!==null&&typeof c=="object"&&typeof c.then=="function"&&(l=!0),c});if(l){const c=i;return{then:(h,m)=>{c.then(y=>{Sh(r),h(y)},y=>{Sh(r),m(y)})}}}else return Sh(r),i}catch(l){throw Sh(r),l}}}const aw=AZ(TZ),Jr=function(){return tb(...arguments)};Object.keys(tb).forEach(e=>{Jr[e]=function(){return tb[e](...arguments)}});const _Z=Jr.mouseEnter,DZ=Jr.mouseLeave;Jr.mouseEnter=function(){return _Z(...arguments),Jr.mouseOver(...arguments)};Jr.mouseLeave=function(){return DZ(...arguments),Jr.mouseOut(...arguments)};const MZ=Jr.pointerEnter,OZ=Jr.pointerLeave;Jr.pointerEnter=function(){return MZ(...arguments),Jr.pointerOver(...arguments)};Jr.pointerLeave=function(){return OZ(...arguments),Jr.pointerOut(...arguments)};const NZ=Jr.select;Jr.select=(e,t)=>{NZ(e,t),e.focus(),Jr.keyUp(e,t)};const $Z=Jr.blur,PZ=Jr.focus;Jr.blur=function(){return Jr.focusOut(...arguments),$Z(...arguments)};Jr.focus=function(){return Jr.focusIn(...arguments),PZ(...arguments)};function qZ(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}kW({unstable_advanceTimersWrapper:e=>aw(e),asyncWrapper:async e=>{const t=CR();Sh(!1);try{const r=await e();return await new Promise(l=>{setTimeout(()=>{l()},0),qZ()&&jest.advanceTimersByTime(0)}),r}finally{Sh(t)}},eventWrapper:e=>{let t;return aw(()=>{t=e()}),t}});const kZ=new Set,TP=[];function AP(){TP.forEach(e=>{let{root:t,container:r}=e;aw(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),TP.length=0,kZ.clear()}if((typeof process>"u"||!process.env?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach=="function"?afterEach(()=>{AP()}):typeof teardown=="function"&&teardown(()=>{AP()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=CR();beforeAll(()=>{e=CR(),Sh(!0)}),afterAll(()=>{Sh(e)})}const LZ=e=>aw(()=>e.click()),jZ=(e,t)=>aw(()=>{Jr.change(e,{target:{value:t}})}),BZ=Oh("overflow-hidden pb-px aspect-square bg-muted grid place-items-center font-semibold",{variants:{variant:{circle:"rounded-full",square:"rounded"},size:{sm:"w-8 h-8",md:"w-12 h-12",lg:"w-16 h-16"}},defaultVariants:{variant:"circle",size:"md"}}),zZ=({variant:e,size:t,fallback:r,alt:l,src:i,className:c,imageProps:h,...m})=>{const[y,x]=j.useState(!i),S=j.useMemo(()=>Lq(l),[l]);return j.useEffect(()=>{y&&x(!0)},[i,y]),M.jsx("div",{...m,"data-slot":"avatar",className:Ve(BZ({variant:e,size:t}),c),children:y?M.jsx("span",{"data-slot":"avatar-fallback",children:r||S}):M.jsx("img",{...h,"data-slot":"avatar-image",alt:l,src:i,onError:w=>{x(!0),h?.onError?.(w)},className:Ve("object-cover w-full h-full text-transparent",h?.className)})})},UZ=({src:e,...t})=>M.jsx("div",{...t,"data-slot":"background-image",className:Ve("w-full block bg-cover bg-center",t.className),style:{...t.style,backgroundImage:`url(${e})`}}),gk=6048e5,IZ=864e5,HZ=6e4,VZ=36e5,FZ=1e3,_P=Symbol.for("constructDateFrom");function Sr(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&_P in e?e[_P](t):e instanceof Date?new e.constructor(t):new Date(t)}function jn(e,t){return Sr(t||e,e)}function yk(e,t,r){const l=jn(e,r?.in);return isNaN(t)?Sr(r?.in||e,NaN):(t&&l.setDate(l.getDate()+t),l)}function aD(e,t,r){const l=jn(e,r?.in);if(isNaN(t))return Sr(e,NaN);if(!t)return l;const i=l.getDate(),c=Sr(e,l.getTime());c.setMonth(l.getMonth()+t+1,0);const h=c.getDate();return i>=h?c:(l.setFullYear(c.getFullYear(),c.getMonth(),i),l)}function KZ(e,t){const r=jn(e,t?.in).getDay();return r===0||r===6}let GZ={};function nx(){return GZ}function Th(e,t){const r=nx(),l=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=jn(e,t?.in),c=i.getDay(),h=(c<l?7:0)+c-l;return i.setDate(i.getDate()-h),i.setHours(0,0,0,0),i}function F0(e,t){return Th(e,{...t,weekStartsOn:1})}function bk(e,t){const r=jn(e,t?.in),l=r.getFullYear(),i=Sr(r,0);i.setFullYear(l+1,0,4),i.setHours(0,0,0,0);const c=F0(i),h=Sr(r,0);h.setFullYear(l,0,4),h.setHours(0,0,0,0);const m=F0(h);return r.getTime()>=c.getTime()?l+1:r.getTime()>=m.getTime()?l:l-1}function RR(e){const t=jn(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function iT(e,...t){const r=Sr.bind(null,t.find(l=>typeof l=="object"));return t.map(r)}function Iv(e,t){const r=jn(e,t?.in);return r.setHours(0,0,0,0),r}function YZ(e,t,r){const[l,i]=iT(r?.in,e,t),c=Iv(l),h=Iv(i),m=+c-RR(c),y=+h-RR(h);return Math.round((m-y)/IZ)}function XZ(e,t){const r=bk(e,t),l=Sr(e,0);return l.setFullYear(r,0,4),l.setHours(0,0,0,0),F0(l)}function XC(e,t,r){return aD(e,t*12,r)}function WZ(e){return Sr(e,Date.now())}function Wy(e,t,r){const[l,i]=iT(r?.in,e,t);return+Iv(l)==+Iv(i)}function Bv(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function QZ(e){return!(!Bv(e)&&typeof e!="number"||isNaN(+jn(e)))}function ZZ(e,t){const r=jn(e,t?.in),l=r.getMonth();return r.setFullYear(r.getFullYear(),l+1,0),r.setHours(23,59,59,999),r}function xk(e,t){const[r,l]=iT(e,t.start,t.end);return{start:r,end:l}}function Ek(e,t){const{start:r,end:l}=xk(t?.in,e);let i=+r>+l;const c=i?+r:+l,h=i?l:r;h.setHours(0,0,0,0);let m=1;const y=[];for(;+h<=c;)y.push(Sr(r,h)),h.setDate(h.getDate()+m),h.setHours(0,0,0,0);return i?y.reverse():y}function JZ(e,t){const r=jn(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Sk(e,t){const{start:r,end:l}=xk(t?.in,e);let i=+r>+l;const c=i?+r:+l,h=i?l:r;h.setHours(0,0,0,0),h.setMonth(0,1);let m=1;const y=[];for(;+h<=c;)y.push(Sr(r,h)),h.setFullYear(h.getFullYear()+m);return i?y.reverse():y}function wk(e,t){const r=jn(e,t?.in),l=r.getFullYear(),i=9+Math.floor(l/10)*10;return r.setFullYear(i,11,31),r.setHours(23,59,59,999),r}function eJ(e,t){const r=t?.weekStartsOn,l=jn(e,t?.in),i=l.getDay(),c=(i<r?-7:0)+6-(i-r);return l.setDate(l.getDate()+c),l.setHours(23,59,59,999),l}const tJ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},nJ=(e,t,r)=>{let l;const i=tJ[e];return typeof i=="string"?l=i:t===1?l=i.one:l=i.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+l:l+" ago":l};function U0(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const rJ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},aJ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},lJ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oJ={date:U0({formats:rJ,defaultWidth:"full"}),time:U0({formats:aJ,defaultWidth:"full"}),dateTime:U0({formats:lJ,defaultWidth:"full"})},iJ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},uJ=(e,t,r,l)=>iJ[e];function _f(e){return(t,r)=>{const l=r?.context?String(r.context):"standalone";let i;if(l==="formatting"&&e.formattingValues){const h=e.defaultFormattingWidth||e.defaultWidth,m=r?.width?String(r.width):h;i=e.formattingValues[m]||e.formattingValues[h]}else{const h=e.defaultWidth,m=r?.width?String(r.width):e.defaultWidth;i=e.values[m]||e.values[h]}const c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}const sJ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},cJ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dJ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fJ={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},pJ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},hJ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},mJ=(e,t)=>{const r=Number(e),l=r%100;if(l>20||l<10)switch(l%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},vJ={ordinalNumber:mJ,era:_f({values:sJ,defaultWidth:"wide"}),quarter:_f({values:cJ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_f({values:dJ,defaultWidth:"wide"}),day:_f({values:fJ,defaultWidth:"wide"}),dayPeriod:_f({values:pJ,defaultWidth:"wide",formattingValues:hJ,defaultFormattingWidth:"wide"})};function Df(e){return(t,r={})=>{const l=r.width,i=l&&e.matchPatterns[l]||e.matchPatterns[e.defaultMatchWidth],c=t.match(i);if(!c)return null;const h=c[0],m=l&&e.parsePatterns[l]||e.parsePatterns[e.defaultParseWidth],y=Array.isArray(m)?yJ(m,w=>w.test(h)):gJ(m,w=>w.test(h));let x;x=e.valueCallback?e.valueCallback(y):y,x=r.valueCallback?r.valueCallback(x):x;const S=t.slice(h.length);return{value:x,rest:S}}}function gJ(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function yJ(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Ck(e){return(t,r={})=>{const l=t.match(e.matchPattern);if(!l)return null;const i=l[0],c=t.match(e.parsePattern);if(!c)return null;let h=e.valueCallback?e.valueCallback(c[0]):c[0];h=r.valueCallback?r.valueCallback(h):h;const m=t.slice(i.length);return{value:h,rest:m}}}const bJ=/^(\d+)(th|st|nd|rd)?/i,xJ=/\d+/i,EJ={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},SJ={any:[/^b/i,/^(a|c)/i]},wJ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},CJ={any:[/1/i,/2/i,/3/i,/4/i]},RJ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},TJ={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},AJ={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},_J={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},DJ={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},MJ={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},OJ={ordinalNumber:Ck({matchPattern:bJ,parsePattern:xJ,valueCallback:e=>parseInt(e,10)}),era:Df({matchPatterns:EJ,defaultMatchWidth:"wide",parsePatterns:SJ,defaultParseWidth:"any"}),quarter:Df({matchPatterns:wJ,defaultMatchWidth:"wide",parsePatterns:CJ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Df({matchPatterns:RJ,defaultMatchWidth:"wide",parsePatterns:TJ,defaultParseWidth:"any"}),day:Df({matchPatterns:AJ,defaultMatchWidth:"wide",parsePatterns:_J,defaultParseWidth:"any"}),dayPeriod:Df({matchPatterns:DJ,defaultMatchWidth:"any",parsePatterns:MJ,defaultParseWidth:"any"})},Rk={code:"en-US",formatDistance:nJ,formatLong:oJ,formatRelative:uJ,localize:vJ,match:OJ,options:{weekStartsOn:0,firstWeekContainsDate:1}};function NJ(e,t){const r=jn(e,t?.in);return YZ(r,JZ(r))+1}function Tk(e,t){const r=jn(e,t?.in),l=+F0(r)-+XZ(r);return Math.round(l/gk)+1}function xM(e,t){const r=jn(e,t?.in),l=r.getFullYear(),i=nx(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,h=Sr(t?.in||e,0);h.setFullYear(l+1,0,c),h.setHours(0,0,0,0);const m=Th(h,t),y=Sr(t?.in||e,0);y.setFullYear(l,0,c),y.setHours(0,0,0,0);const x=Th(y,t);return+r>=+m?l+1:+r>=+x?l:l-1}function $J(e,t){const r=nx(),l=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=xM(e,t),c=Sr(t?.in||e,0);return c.setFullYear(i,0,l),c.setHours(0,0,0,0),Th(c,t)}function Ak(e,t){const r=jn(e,t?.in),l=+Th(r,t)-+$J(r,t);return Math.round(l/gk)+1}function or(e,t){const r=e<0?"-":"",l=Math.abs(e).toString().padStart(t,"0");return r+l}const $v={y(e,t){const r=e.getFullYear(),l=r>0?r:1-r;return or(t==="yy"?l%100:l,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):or(r+1,2)},d(e,t){return or(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return or(e.getHours()%12||12,t.length)},H(e,t){return or(e.getHours(),t.length)},m(e,t){return or(e.getMinutes(),t.length)},s(e,t){return or(e.getSeconds(),t.length)},S(e,t){const r=t.length,l=e.getMilliseconds(),i=Math.trunc(l*Math.pow(10,r-3));return or(i,t.length)}},D0={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},DP={G:function(e,t,r){const l=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(l,{width:"abbreviated"});case"GGGGG":return r.era(l,{width:"narrow"});case"GGGG":default:return r.era(l,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const l=e.getFullYear(),i=l>0?l:1-l;return r.ordinalNumber(i,{unit:"year"})}return $v.y(e,t)},Y:function(e,t,r,l){const i=xM(e,l),c=i>0?i:1-i;if(t==="YY"){const h=c%100;return or(h,2)}return t==="Yo"?r.ordinalNumber(c,{unit:"year"}):or(c,t.length)},R:function(e,t){const r=bk(e);return or(r,t.length)},u:function(e,t){const r=e.getFullYear();return or(r,t.length)},Q:function(e,t,r){const l=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(l);case"QQ":return or(l,2);case"Qo":return r.ordinalNumber(l,{unit:"quarter"});case"QQQ":return r.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(l,{width:"wide",context:"formatting"})}},q:function(e,t,r){const l=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(l);case"qq":return or(l,2);case"qo":return r.ordinalNumber(l,{unit:"quarter"});case"qqq":return r.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(l,{width:"wide",context:"standalone"})}},M:function(e,t,r){const l=e.getMonth();switch(t){case"M":case"MM":return $v.M(e,t);case"Mo":return r.ordinalNumber(l+1,{unit:"month"});case"MMM":return r.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(l,{width:"wide",context:"formatting"})}},L:function(e,t,r){const l=e.getMonth();switch(t){case"L":return String(l+1);case"LL":return or(l+1,2);case"Lo":return r.ordinalNumber(l+1,{unit:"month"});case"LLL":return r.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(l,{width:"wide",context:"standalone"})}},w:function(e,t,r,l){const i=Ak(e,l);return t==="wo"?r.ordinalNumber(i,{unit:"week"}):or(i,t.length)},I:function(e,t,r){const l=Tk(e);return t==="Io"?r.ordinalNumber(l,{unit:"week"}):or(l,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):$v.d(e,t)},D:function(e,t,r){const l=NJ(e);return t==="Do"?r.ordinalNumber(l,{unit:"dayOfYear"}):or(l,t.length)},E:function(e,t,r){const l=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(l,{width:"short",context:"formatting"});case"EEEE":default:return r.day(l,{width:"wide",context:"formatting"})}},e:function(e,t,r,l){const i=e.getDay(),c=(i-l.weekStartsOn+8)%7||7;switch(t){case"e":return String(c);case"ee":return or(c,2);case"eo":return r.ordinalNumber(c,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,l){const i=e.getDay(),c=(i-l.weekStartsOn+8)%7||7;switch(t){case"c":return String(c);case"cc":return or(c,t.length);case"co":return r.ordinalNumber(c,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){const l=e.getDay(),i=l===0?7:l;switch(t){case"i":return String(i);case"ii":return or(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(l,{width:"short",context:"formatting"});case"iiii":default:return r.day(l,{width:"wide",context:"formatting"})}},a:function(e,t,r){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,r){const l=e.getHours();let i;switch(l===12?i=D0.noon:l===0?i=D0.midnight:i=l/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,r){const l=e.getHours();let i;switch(l>=17?i=D0.evening:l>=12?i=D0.afternoon:l>=4?i=D0.morning:i=D0.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let l=e.getHours()%12;return l===0&&(l=12),r.ordinalNumber(l,{unit:"hour"})}return $v.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):$v.H(e,t)},K:function(e,t,r){const l=e.getHours()%12;return t==="Ko"?r.ordinalNumber(l,{unit:"hour"}):or(l,t.length)},k:function(e,t,r){let l=e.getHours();return l===0&&(l=24),t==="ko"?r.ordinalNumber(l,{unit:"hour"}):or(l,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):$v.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):$v.s(e,t)},S:function(e,t){return $v.S(e,t)},X:function(e,t,r){const l=e.getTimezoneOffset();if(l===0)return"Z";switch(t){case"X":return OP(l);case"XXXX":case"XX":return Hy(l);case"XXXXX":case"XXX":default:return Hy(l,":")}},x:function(e,t,r){const l=e.getTimezoneOffset();switch(t){case"x":return OP(l);case"xxxx":case"xx":return Hy(l);case"xxxxx":case"xxx":default:return Hy(l,":")}},O:function(e,t,r){const l=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+MP(l,":");case"OOOO":default:return"GMT"+Hy(l,":")}},z:function(e,t,r){const l=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+MP(l,":");case"zzzz":default:return"GMT"+Hy(l,":")}},t:function(e,t,r){const l=Math.trunc(+e/1e3);return or(l,t.length)},T:function(e,t,r){return or(+e,t.length)}};function MP(e,t=""){const r=e>0?"-":"+",l=Math.abs(e),i=Math.trunc(l/60),c=l%60;return c===0?r+String(i):r+String(i)+t+or(c,2)}function OP(e,t){return e%60===0?(e>0?"-":"+")+or(Math.abs(e)/60,2):Hy(e,t)}function Hy(e,t=""){const r=e>0?"-":"+",l=Math.abs(e),i=or(Math.trunc(l/60),2),c=or(l%60,2);return r+i+t+c}const NP=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},_k=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},PJ=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],l=r[1],i=r[2];if(!i)return NP(e,t);let c;switch(l){case"P":c=t.dateTime({width:"short"});break;case"PP":c=t.dateTime({width:"medium"});break;case"PPP":c=t.dateTime({width:"long"});break;case"PPPP":default:c=t.dateTime({width:"full"});break}return c.replace("{{date}}",NP(l,t)).replace("{{time}}",_k(i,t))},lD={p:_k,P:PJ},qJ=/^D+$/,kJ=/^Y+$/,LJ=["D","DD","YY","YYYY"];function Dk(e){return qJ.test(e)}function Mk(e){return kJ.test(e)}function oD(e,t,r){const l=jJ(e,t,r);if(console.warn(l),LJ.includes(e))throw new RangeError(l)}function jJ(e,t,r){const l=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${l} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const BJ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zJ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,UJ=/^'([^]*?)'?$/,IJ=/''/g,HJ=/[a-zA-Z]/;function Kl(e,t,r){const l=nx(),i=r?.locale??l.locale??Rk,c=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,h=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,m=jn(e,r?.in);if(!QZ(m))throw new RangeError("Invalid time value");let y=t.match(zJ).map(S=>{const w=S[0];if(w==="p"||w==="P"){const R=lD[w];return R(S,i.formatLong)}return S}).join("").match(BJ).map(S=>{if(S==="''")return{isToken:!1,value:"'"};const w=S[0];if(w==="'")return{isToken:!1,value:VJ(S)};if(DP[w])return{isToken:!0,value:S};if(w.match(HJ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:S}});i.localize.preprocessor&&(y=i.localize.preprocessor(m,y));const x={firstWeekContainsDate:c,weekStartsOn:h,locale:i};return y.map(S=>{if(!S.isToken)return S.value;const w=S.value;(!r?.useAdditionalWeekYearTokens&&Mk(w)||!r?.useAdditionalDayOfYearTokens&&Dk(w))&&oD(w,t,String(e));const R=DP[w[0]];return R(m,w,i.localize,x)}).join("")}function VJ(e){const t=e.match(UJ);return t?t[1].replace(IJ,"'"):e}function FJ(e,t){const r=jn(e,t?.in),l=r.getFullYear(),i=r.getMonth(),c=Sr(r,0);return c.setFullYear(l,i+1,0),c.setHours(0,0,0,0),c.getDate()}function KJ(){return Object.assign({},nx())}function GJ(e,t){const r=jn(e,t?.in).getDay();return r===0?7:r}function YJ(e,t){return+jn(e)<+jn(t)}function XJ(e,t){const r=WJ(t)?new t(0):Sr(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function WJ(e){return typeof e=="function"&&e.prototype?.constructor===e}const QJ=10;class Ok{subPriority=0;validate(t,r){return!0}}class ZJ extends Ok{constructor(t,r,l,i,c){super(),this.value=t,this.validateValue=r,this.setValue=l,this.priority=i,c&&(this.subPriority=c)}validate(t,r){return this.validateValue(t,this.value,r)}set(t,r,l){return this.setValue(t,r,this.value,l)}}class JJ extends Ok{priority=QJ;subPriority=-1;constructor(t,r){super(),this.context=t||(l=>Sr(r,l))}set(t,r){return r.timestampIsSet?t:Sr(t,XJ(t,this.context))}}class Gn{run(t,r,l,i){const c=this.parse(t,r,l,i);return c?{setter:new ZJ(c.value,this.validate,this.set,this.priority,this.subPriority),rest:c.rest}:null}validate(t,r,l){return!0}}class eee extends Gn{priority=140;parse(t,r,l){switch(r){case"G":case"GG":case"GGG":return l.era(t,{width:"abbreviated"})||l.era(t,{width:"narrow"});case"GGGGG":return l.era(t,{width:"narrow"});case"GGGG":default:return l.era(t,{width:"wide"})||l.era(t,{width:"abbreviated"})||l.era(t,{width:"narrow"})}}set(t,r,l){return r.era=l,t.setFullYear(l,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const Ta={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Mf={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Aa(e,t){return e&&{value:t(e.value),rest:e.rest}}function Zr(e,t){const r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Of(e,t){const r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};const l=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,c=r[3]?parseInt(r[3],10):0,h=r[5]?parseInt(r[5],10):0;return{value:l*(i*VZ+c*HZ+h*FZ),rest:t.slice(r[0].length)}}function Nk(e){return Zr(Ta.anyDigitsSigned,e)}function ca(e,t){switch(e){case 1:return Zr(Ta.singleDigit,t);case 2:return Zr(Ta.twoDigits,t);case 3:return Zr(Ta.threeDigits,t);case 4:return Zr(Ta.fourDigits,t);default:return Zr(new RegExp("^\\d{1,"+e+"}"),t)}}function TR(e,t){switch(e){case 1:return Zr(Ta.singleDigitSigned,t);case 2:return Zr(Ta.twoDigitsSigned,t);case 3:return Zr(Ta.threeDigitsSigned,t);case 4:return Zr(Ta.fourDigitsSigned,t);default:return Zr(new RegExp("^-?\\d{1,"+e+"}"),t)}}function EM(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function $k(e,t){const r=t>0,l=r?t:1-t;let i;if(l<=50)i=e||100;else{const c=l+50,h=Math.trunc(c/100)*100,m=e>=c%100;i=e+h-(m?100:0)}return r?i:1-i}function Pk(e){return e%400===0||e%4===0&&e%100!==0}class tee extends Gn{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,r,l){const i=c=>({year:c,isTwoDigitYear:r==="yy"});switch(r){case"y":return Aa(ca(4,t),i);case"yo":return Aa(l.ordinalNumber(t,{unit:"year"}),i);default:return Aa(ca(r.length,t),i)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,l){const i=t.getFullYear();if(l.isTwoDigitYear){const h=$k(l.year,i);return t.setFullYear(h,0,1),t.setHours(0,0,0,0),t}const c=!("era"in r)||r.era===1?l.year:1-l.year;return t.setFullYear(c,0,1),t.setHours(0,0,0,0),t}}class nee extends Gn{priority=130;parse(t,r,l){const i=c=>({year:c,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Aa(ca(4,t),i);case"Yo":return Aa(l.ordinalNumber(t,{unit:"year"}),i);default:return Aa(ca(r.length,t),i)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,l,i){const c=xM(t,i);if(l.isTwoDigitYear){const m=$k(l.year,c);return t.setFullYear(m,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Th(t,i)}const h=!("era"in r)||r.era===1?l.year:1-l.year;return t.setFullYear(h,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Th(t,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class ree extends Gn{priority=130;parse(t,r){return TR(r==="R"?4:r.length,t)}set(t,r,l){const i=Sr(t,0);return i.setFullYear(l,0,4),i.setHours(0,0,0,0),F0(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class aee extends Gn{priority=130;parse(t,r){return TR(r==="u"?4:r.length,t)}set(t,r,l){return t.setFullYear(l,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class lee extends Gn{priority=120;parse(t,r,l){switch(r){case"Q":case"QQ":return ca(r.length,t);case"Qo":return l.ordinalNumber(t,{unit:"quarter"});case"QQQ":return l.quarter(t,{width:"abbreviated",context:"formatting"})||l.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(t,{width:"wide",context:"formatting"})||l.quarter(t,{width:"abbreviated",context:"formatting"})||l.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=1&&r<=4}set(t,r,l){return t.setMonth((l-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class oee extends Gn{priority=120;parse(t,r,l){switch(r){case"q":case"qq":return ca(r.length,t);case"qo":return l.ordinalNumber(t,{unit:"quarter"});case"qqq":return l.quarter(t,{width:"abbreviated",context:"standalone"})||l.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(t,{width:"wide",context:"standalone"})||l.quarter(t,{width:"abbreviated",context:"standalone"})||l.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=1&&r<=4}set(t,r,l){return t.setMonth((l-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class iee extends Gn{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,r,l){const i=c=>c-1;switch(r){case"M":return Aa(Zr(Ta.month,t),i);case"MM":return Aa(ca(2,t),i);case"Mo":return Aa(l.ordinalNumber(t,{unit:"month"}),i);case"MMM":return l.month(t,{width:"abbreviated",context:"formatting"})||l.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return l.month(t,{width:"wide",context:"formatting"})||l.month(t,{width:"abbreviated",context:"formatting"})||l.month(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=11}set(t,r,l){return t.setMonth(l,1),t.setHours(0,0,0,0),t}}class uee extends Gn{priority=110;parse(t,r,l){const i=c=>c-1;switch(r){case"L":return Aa(Zr(Ta.month,t),i);case"LL":return Aa(ca(2,t),i);case"Lo":return Aa(l.ordinalNumber(t,{unit:"month"}),i);case"LLL":return l.month(t,{width:"abbreviated",context:"standalone"})||l.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return l.month(t,{width:"wide",context:"standalone"})||l.month(t,{width:"abbreviated",context:"standalone"})||l.month(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=11}set(t,r,l){return t.setMonth(l,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function see(e,t,r){const l=jn(e,r?.in),i=Ak(l,r)-t;return l.setDate(l.getDate()-i*7),jn(l,r?.in)}class cee extends Gn{priority=100;parse(t,r,l){switch(r){case"w":return Zr(Ta.week,t);case"wo":return l.ordinalNumber(t,{unit:"week"});default:return ca(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,l,i){return Th(see(t,l,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function dee(e,t,r){const l=jn(e,r?.in),i=Tk(l,r)-t;return l.setDate(l.getDate()-i*7),l}class fee extends Gn{priority=100;parse(t,r,l){switch(r){case"I":return Zr(Ta.week,t);case"Io":return l.ordinalNumber(t,{unit:"week"});default:return ca(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,l){return F0(dee(t,l))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const pee=[31,28,31,30,31,30,31,31,30,31,30,31],hee=[31,29,31,30,31,30,31,31,30,31,30,31];class mee extends Gn{priority=90;subPriority=1;parse(t,r,l){switch(r){case"d":return Zr(Ta.date,t);case"do":return l.ordinalNumber(t,{unit:"date"});default:return ca(r.length,t)}}validate(t,r){const l=t.getFullYear(),i=Pk(l),c=t.getMonth();return i?r>=1&&r<=hee[c]:r>=1&&r<=pee[c]}set(t,r,l){return t.setDate(l),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class vee extends Gn{priority=90;subpriority=1;parse(t,r,l){switch(r){case"D":case"DD":return Zr(Ta.dayOfYear,t);case"Do":return l.ordinalNumber(t,{unit:"date"});default:return ca(r.length,t)}}validate(t,r){const l=t.getFullYear();return Pk(l)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,l){return t.setMonth(0,l),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function SM(e,t,r){const l=nx(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,c=jn(e,r?.in),h=c.getDay(),y=(t%7+7)%7,x=7-i,S=t<0||t>6?t-(h+x)%7:(y+x)%7-(h+x)%7;return yk(c,S,r)}class gee extends Gn{priority=90;parse(t,r,l){switch(r){case"E":case"EE":case"EEE":return l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(t,{width:"wide",context:"formatting"})||l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,l,i){return t=SM(t,l,i),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class yee extends Gn{priority=90;parse(t,r,l,i){const c=h=>{const m=Math.floor((h-1)/7)*7;return(h+i.weekStartsOn+6)%7+m};switch(r){case"e":case"ee":return Aa(ca(r.length,t),c);case"eo":return Aa(l.ordinalNumber(t,{unit:"day"}),c);case"eee":return l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"});case"eeeee":return l.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(t,{width:"wide",context:"formatting"})||l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,l,i){return t=SM(t,l,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class bee extends Gn{priority=90;parse(t,r,l,i){const c=h=>{const m=Math.floor((h-1)/7)*7;return(h+i.weekStartsOn+6)%7+m};switch(r){case"c":case"cc":return Aa(ca(r.length,t),c);case"co":return Aa(l.ordinalNumber(t,{unit:"day"}),c);case"ccc":return l.day(t,{width:"abbreviated",context:"standalone"})||l.day(t,{width:"short",context:"standalone"})||l.day(t,{width:"narrow",context:"standalone"});case"ccccc":return l.day(t,{width:"narrow",context:"standalone"});case"cccccc":return l.day(t,{width:"short",context:"standalone"})||l.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(t,{width:"wide",context:"standalone"})||l.day(t,{width:"abbreviated",context:"standalone"})||l.day(t,{width:"short",context:"standalone"})||l.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,l,i){return t=SM(t,l,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function xee(e,t,r){const l=jn(e,r?.in),i=GJ(l,r),c=t-i;return yk(l,c,r)}class Eee extends Gn{priority=90;parse(t,r,l){const i=c=>c===0?7:c;switch(r){case"i":case"ii":return ca(r.length,t);case"io":return l.ordinalNumber(t,{unit:"day"});case"iii":return Aa(l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return Aa(l.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Aa(l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Aa(l.day(t,{width:"wide",context:"formatting"})||l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,r){return r>=1&&r<=7}set(t,r,l){return t=xee(t,l),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class See extends Gn{priority=80;parse(t,r,l){switch(r){case"a":case"aa":case"aaa":return l.dayPeriod(t,{width:"abbreviated",context:"formatting"})||l.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(t,{width:"wide",context:"formatting"})||l.dayPeriod(t,{width:"abbreviated",context:"formatting"})||l.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,l){return t.setHours(EM(l),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class wee extends Gn{priority=80;parse(t,r,l){switch(r){case"b":case"bb":case"bbb":return l.dayPeriod(t,{width:"abbreviated",context:"formatting"})||l.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(t,{width:"wide",context:"formatting"})||l.dayPeriod(t,{width:"abbreviated",context:"formatting"})||l.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,l){return t.setHours(EM(l),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class Cee extends Gn{priority=80;parse(t,r,l){switch(r){case"B":case"BB":case"BBB":return l.dayPeriod(t,{width:"abbreviated",context:"formatting"})||l.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(t,{width:"wide",context:"formatting"})||l.dayPeriod(t,{width:"abbreviated",context:"formatting"})||l.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,l){return t.setHours(EM(l),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class Ree extends Gn{priority=70;parse(t,r,l){switch(r){case"h":return Zr(Ta.hour12h,t);case"ho":return l.ordinalNumber(t,{unit:"hour"});default:return ca(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,l){const i=t.getHours()>=12;return i&&l<12?t.setHours(l+12,0,0,0):!i&&l===12?t.setHours(0,0,0,0):t.setHours(l,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class Tee extends Gn{priority=70;parse(t,r,l){switch(r){case"H":return Zr(Ta.hour23h,t);case"Ho":return l.ordinalNumber(t,{unit:"hour"});default:return ca(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,l){return t.setHours(l,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class Aee extends Gn{priority=70;parse(t,r,l){switch(r){case"K":return Zr(Ta.hour11h,t);case"Ko":return l.ordinalNumber(t,{unit:"hour"});default:return ca(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,l){return t.getHours()>=12&&l<12?t.setHours(l+12,0,0,0):t.setHours(l,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class _ee extends Gn{priority=70;parse(t,r,l){switch(r){case"k":return Zr(Ta.hour24h,t);case"ko":return l.ordinalNumber(t,{unit:"hour"});default:return ca(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,l){const i=l<=24?l%24:l;return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class Dee extends Gn{priority=60;parse(t,r,l){switch(r){case"m":return Zr(Ta.minute,t);case"mo":return l.ordinalNumber(t,{unit:"minute"});default:return ca(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,l){return t.setMinutes(l,0,0),t}incompatibleTokens=["t","T"]}class Mee extends Gn{priority=50;parse(t,r,l){switch(r){case"s":return Zr(Ta.second,t);case"so":return l.ordinalNumber(t,{unit:"second"});default:return ca(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,l){return t.setSeconds(l,0),t}incompatibleTokens=["t","T"]}class Oee extends Gn{priority=30;parse(t,r){const l=i=>Math.trunc(i*Math.pow(10,-r.length+3));return Aa(ca(r.length,t),l)}set(t,r,l){return t.setMilliseconds(l),t}incompatibleTokens=["t","T"]}class Nee extends Gn{priority=10;parse(t,r){switch(r){case"X":return Of(Mf.basicOptionalMinutes,t);case"XX":return Of(Mf.basic,t);case"XXXX":return Of(Mf.basicOptionalSeconds,t);case"XXXXX":return Of(Mf.extendedOptionalSeconds,t);case"XXX":default:return Of(Mf.extended,t)}}set(t,r,l){return r.timestampIsSet?t:Sr(t,t.getTime()-RR(t)-l)}incompatibleTokens=["t","T","x"]}class $ee extends Gn{priority=10;parse(t,r){switch(r){case"x":return Of(Mf.basicOptionalMinutes,t);case"xx":return Of(Mf.basic,t);case"xxxx":return Of(Mf.basicOptionalSeconds,t);case"xxxxx":return Of(Mf.extendedOptionalSeconds,t);case"xxx":default:return Of(Mf.extended,t)}}set(t,r,l){return r.timestampIsSet?t:Sr(t,t.getTime()-RR(t)-l)}incompatibleTokens=["t","T","X"]}class Pee extends Gn{priority=40;parse(t){return Nk(t)}set(t,r,l){return[Sr(t,l*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class qee extends Gn{priority=20;parse(t){return Nk(t)}set(t,r,l){return[Sr(t,l),{timestampIsSet:!0}]}incompatibleTokens="*"}const kee={G:new eee,y:new tee,Y:new nee,R:new ree,u:new aee,Q:new lee,q:new oee,M:new iee,L:new uee,w:new cee,I:new fee,d:new mee,D:new vee,E:new gee,e:new yee,c:new bee,i:new Eee,a:new See,b:new wee,B:new Cee,h:new Ree,H:new Tee,K:new Aee,k:new _ee,m:new Dee,s:new Mee,S:new Oee,X:new Nee,x:new $ee,t:new Pee,T:new qee},Lee=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bee=/^'([^]*?)'?$/,zee=/''/g,Uee=/\S/,Iee=/[a-zA-Z]/;function Hee(e,t,r,l){const i=()=>Sr(r,NaN),c=KJ(),h=c.locale??Rk,m=c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,y=c.weekStartsOn??c.locale?.options?.weekStartsOn??0,x={firstWeekContainsDate:m,weekStartsOn:y,locale:h},S=[new JJ(l?.in,r)],w=t.match(jee).map(q=>{const N=q[0];if(N in lD){const U=lD[N];return U(q,h.formatLong)}return q}).join("").match(Lee),R=[];for(let q of w){Mk(q)&&oD(q,t,e),Dk(q)&&oD(q,t,e);const N=q[0],U=kee[N];if(U){const{incompatibleTokens:I}=U;if(Array.isArray(I)){const F=R.find(H=>I.includes(H.token)||H.token===N);if(F)throw new RangeError(`The format string mustn't contain \`${F.fullToken}\` and \`${q}\` at the same time`)}else if(U.incompatibleTokens==="*"&&R.length>0)throw new RangeError(`The format string mustn't contain \`${q}\` and any other token at the same time`);R.push({token:N,fullToken:q});const G=U.run(e,q,h.match,x);if(!G)return i();S.push(G.setter),e=G.rest}else{if(N.match(Iee))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");if(q==="''"?q="'":N==="'"&&(q=Vee(q)),e.indexOf(q)===0)e=e.slice(q.length);else return i()}}if(e.length>0&&Uee.test(e))return i();const D=S.map(q=>q.priority).sort((q,N)=>N-q).filter((q,N,U)=>U.indexOf(q)===N).map(q=>S.filter(N=>N.priority===q).sort((N,U)=>U.subPriority-N.subPriority)).map(q=>q[0]);let $=jn(r,l?.in);if(isNaN(+$))return i();const O={};for(const q of D){if(!q.validate($,x))return i();const N=q.set($,O,x);Array.isArray(N)?($=N[0],Object.assign(O,N[1])):$=N}return $}function Vee(e){return e.match(Bee)[1].replace(zee,"'")}function Fee(e,t,r){const[l,i]=iT(r?.in,e,t);return l.getFullYear()===i.getFullYear()&&l.getMonth()===i.getMonth()}function Kee(e,t){return Wy(Sr(e,e),WZ(e))}function Gee(e,t,r){const l=+jn(e,r?.in),[i,c]=[+jn(t.start,r?.in),+jn(t.end,r?.in)].sort((h,m)=>h-m);return l>=i&&l<=c}function Yee(e,t,r){const l=jn(e,r?.in),i=l.getFullYear(),c=l.getDate(),h=Sr(e,0);h.setFullYear(i,t,15),h.setHours(0,0,0,0);const m=FJ(h);return l.setMonth(t,Math.min(c,m)),l}function Xee(e,t,r){const l=jn(e,r?.in);return isNaN(+l)?Sr(e,NaN):(l.setFullYear(t),l)}function qk(e,t){const r=jn(e,t?.in),l=r.getFullYear(),i=Math.floor(l/10)*10;return r.setFullYear(i,0,1),r.setHours(0,0,0,0),r}function x_(e){return Iv(Date.now(),e)}const Wee={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Qee=(e,t,r)=>{let l;const i=Wee[e];return typeof i=="string"?l=i:t===1?l=i.one:l=i.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"en "+l:"hace "+l:l},Zee={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Jee={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ete={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tte={date:U0({formats:Zee,defaultWidth:"full"}),time:U0({formats:Jee,defaultWidth:"full"}),dateTime:U0({formats:ete,defaultWidth:"full"})},nte={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},rte={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},ate=(e,t,r,l)=>t.getHours()!==1?rte[e]:nte[e],lte={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},ote={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},ite={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},ute={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},ste={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},cte={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},dte=(e,t)=>Number(e)+"º",fte={ordinalNumber:dte,era:_f({values:lte,defaultWidth:"wide"}),quarter:_f({values:ote,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:_f({values:ite,defaultWidth:"wide"}),day:_f({values:ute,defaultWidth:"wide"}),dayPeriod:_f({values:ste,defaultWidth:"wide",formattingValues:cte,defaultFormattingWidth:"wide"})},pte=/^(\d+)(º)?/i,hte=/\d+/i,mte={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},vte={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},gte={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},yte={any:[/1/i,/2/i,/3/i,/4/i]},bte={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},xte={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Ete={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},Ste={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},wte={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},Cte={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},Rte={ordinalNumber:Ck({matchPattern:pte,parsePattern:hte,valueCallback:function(e){return parseInt(e,10)}}),era:Df({matchPatterns:mte,defaultMatchWidth:"wide",parsePatterns:vte,defaultParseWidth:"any"}),quarter:Df({matchPatterns:gte,defaultMatchWidth:"wide",parsePatterns:yte,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Df({matchPatterns:bte,defaultMatchWidth:"wide",parsePatterns:xte,defaultParseWidth:"any"}),day:Df({matchPatterns:Ete,defaultMatchWidth:"wide",parsePatterns:Ste,defaultParseWidth:"any"}),dayPeriod:Df({matchPatterns:wte,defaultMatchWidth:"any",parsePatterns:Cte,defaultParseWidth:"any"})},Tte={code:"es",formatDistance:Qee,formatLong:tte,formatRelative:ate,localize:fte,match:Rte,options:{weekStartsOn:1,firstWeekContainsDate:1}};var VS={exports:{}};var Ate=VS.exports,$P;function _te(){return $P||($P=1,(function(e,t){(function(){var r,l="4.17.21",i=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",h="Expected a function",m="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",x=500,S="__lodash_placeholder__",w=1,R=2,D=4,$=1,O=2,q=1,N=2,U=4,I=8,G=16,F=32,H=64,V=128,X=256,le=512,xe=30,Q="...",ue=800,se=16,ae=1,ge=2,L=3,W=1/0,ee=9007199254740991,me=17976931348623157e292,Y=NaN,be=4294967295,ie=be-1,fe=be>>>1,_e=[["ary",V],["bind",q],["bindKey",N],["curry",I],["curryRight",G],["flip",le],["partial",F],["partialRight",H],["rearg",X]],$e="[object Arguments]",Pe="[object Array]",Re="[object AsyncFunction]",Ye="[object Boolean]",oe="[object Date]",je="[object DOMException]",Le="[object Error]",we="[object Function]",lt="[object GeneratorFunction]",St="[object Map]",pn="[object Number]",Pn="[object Null]",an="[object Object]",nu="[object Promise]",Ws="[object Proxy]",ve="[object RegExp]",De="[object Set]",Fe="[object String]",it="[object Symbol]",ot="[object Undefined]",rt="[object WeakMap]",mt="[object WeakSet]",Mt="[object ArrayBuffer]",Bt="[object DataView]",An="[object Float32Array]",po="[object Float64Array]",Wa="[object Int8Array]",Qs="[object Int16Array]",wl="[object Int32Array]",da="[object Uint8Array]",Vr="[object Uint8ClampedArray]",Qa="[object Uint16Array]",Ma="[object Uint32Array]",gr=/\b__p \+= '';/g,vi=/\b(__p \+=) '' \+/g,ru=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vo=/&(?:amp|lt|gt|quot|#39);/g,gi=/[&<>"']/g,Ph=RegExp(Vo.source),Zs=RegExp(gi.source),Js=/<%-([\s\S]+?)%>/g,Gl=/<%([\s\S]+?)%>/g,at=/<%=([\s\S]+?)%>/g,qh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eg=/^\w*$/,ur=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kr=/[\\^$.*+?()[\]{}|]/g,Za=RegExp(kr.source),Gu=/^\s+/,kh=/\s/,fb=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lh=/\{\n\/\* \[wrapped with (.+)\] \*/,pb=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Lf=/[()=,{}\[\]\/\s]/,fa=/\\(\\)?/g,ec=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sd=/\w*$/,au=/^[-+]0x[0-9a-f]+$/i,Fr=/^0b[01]+$/i,jf=/^\[object .+?Constructor\]$/,Yl=/^0o[0-7]+$/i,Yu=/^(?:0|[1-9]\d*)$/,Xu=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bf=/($^)/,jh=/['\n\r\u2028\u2029\\]/g,cd="\\ud800-\\udfff",hb="\\u0300-\\u036f",lu="\\ufe20-\\ufe2f",zf="\\u20d0-\\u20ff",Fo=hb+lu+zf,Uf="\\u2700-\\u27bf",Bh="a-z\\xdf-\\xf6\\xf8-\\xff",tc="\\xac\\xb1\\xd7\\xf7",Ja="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wu="\\u2000-\\u206f",nc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zh="A-Z\\xc0-\\xd6\\xd8-\\xde",pa="\\ufe0e\\ufe0f",dd=tc+Ja+Wu+nc,If="['’]",Qu="["+cd+"]",Zu="["+dd+"]",ou="["+Fo+"]",mb="\\d+",ho="["+Uf+"]",Hf="["+Bh+"]",Vf="[^"+cd+dd+mb+Uf+Bh+zh+"]",rc="\\ud83c[\\udffb-\\udfff]",ac="(?:"+ou+"|"+rc+")",Uh="[^"+cd+"]",Ff="(?:\\ud83c[\\udde6-\\uddff]){2}",Ju="[\\ud800-\\udbff][\\udc00-\\udfff]",lc="["+zh+"]",Kf="\\u200d",fd="(?:"+Hf+"|"+Vf+")",oc="(?:"+lc+"|"+Vf+")",vb="(?:"+If+"(?:d|ll|m|re|s|t|ve))?",tg="(?:"+If+"(?:D|LL|M|RE|S|T|VE))?",pd=ac+"?",es="["+pa+"]?",Ih="(?:"+Kf+"(?:"+[Uh,Ff,Ju].join("|")+")"+es+pd+")*",hd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",md="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ng=es+pd+Ih,rg="(?:"+[ho,Ff,Ju].join("|")+")"+ng,vd="(?:"+[Uh+ou+"?",ou,Ff,Ju,Qu].join("|")+")",ic=RegExp(If,"g"),yi=RegExp(ou,"g"),gd=RegExp(rc+"(?="+rc+")|"+vd+ng,"g"),iu=RegExp([lc+"?"+Hf+"+"+vb+"(?="+[Zu,lc,"$"].join("|")+")",oc+"+"+tg+"(?="+[Zu,lc+fd,"$"].join("|")+")",lc+"?"+fd+"+"+vb,lc+"+"+tg,md,hd,mb,rg].join("|"),"g"),uu=RegExp("["+Kf+cd+Fo+pa+"]"),yd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,uc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ag=-1,Kt={};Kt[An]=Kt[po]=Kt[Wa]=Kt[Qs]=Kt[wl]=Kt[da]=Kt[Vr]=Kt[Qa]=Kt[Ma]=!0,Kt[$e]=Kt[Pe]=Kt[Mt]=Kt[Ye]=Kt[Bt]=Kt[oe]=Kt[Le]=Kt[we]=Kt[St]=Kt[pn]=Kt[an]=Kt[ve]=Kt[De]=Kt[Fe]=Kt[rt]=!1;var qn={};qn[$e]=qn[Pe]=qn[Mt]=qn[Bt]=qn[Ye]=qn[oe]=qn[An]=qn[po]=qn[Wa]=qn[Qs]=qn[wl]=qn[St]=qn[pn]=qn[an]=qn[ve]=qn[De]=qn[Fe]=qn[it]=qn[da]=qn[Vr]=qn[Qa]=qn[Ma]=!0,qn[Le]=qn[we]=qn[rt]=!1;var Hh={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},el={"&":"&","<":"<",">":">",'"':""","'":"'"},ts={"&":"&","<":"<",">":">",""":'"',"'":"'"},Vh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Gf=parseFloat,gb=parseInt,Fh=typeof _C=="object"&&_C&&_C.Object===Object&&_C,Kh=typeof self=="object"&&self&&self.Object===Object&&self,Or=Fh||Kh||Function("return this")(),su=t&&!t.nodeType&&t,cu=su&&!0&&e&&!e.nodeType&&e,lg=cu&&cu.exports===su,Gh=lg&&Fh.process,mo=(function(){try{var Ce=cu&&cu.require&&cu.require("util").types;return Ce||Gh&&Gh.binding&&Gh.binding("util")}catch{}})(),Yh=mo&&mo.isArrayBuffer,yb=mo&&mo.isDate,bb=mo&&mo.isMap,xb=mo&&mo.isRegExp,bd=mo&&mo.isSet,og=mo&&mo.isTypedArray;function tl(Ce,Ke,ze){switch(ze.length){case 0:return Ce.call(Ke);case 1:return Ce.call(Ke,ze[0]);case 2:return Ce.call(Ke,ze[0],ze[1]);case 3:return Ce.call(Ke,ze[0],ze[1],ze[2])}return Ce.apply(Ke,ze)}function Eb(Ce,Ke,ze,ct){for(var Nt=-1,zt=Ce==null?0:Ce.length;++Nt<zt;){var kn=Ce[Nt];Ke(ct,kn,ze(kn),Ce)}return ct}function Xl(Ce,Ke){for(var ze=-1,ct=Ce==null?0:Ce.length;++ze<ct&&Ke(Ce[ze],ze,Ce)!==!1;);return Ce}function ig(Ce,Ke){for(var ze=Ce==null?0:Ce.length;ze--&&Ke(Ce[ze],ze,Ce)!==!1;);return Ce}function ug(Ce,Ke){for(var ze=-1,ct=Ce==null?0:Ce.length;++ze<ct;)if(!Ke(Ce[ze],ze,Ce))return!1;return!0}function Oa(Ce,Ke){for(var ze=-1,ct=Ce==null?0:Ce.length,Nt=0,zt=[];++ze<ct;){var kn=Ce[ze];Ke(kn,ze,Ce)&&(zt[Nt++]=kn)}return zt}function bi(Ce,Ke){var ze=Ce==null?0:Ce.length;return!!ze&&cc(Ce,Ke,0)>-1}function Wl(Ce,Ke,ze){for(var ct=-1,Nt=Ce==null?0:Ce.length;++ct<Nt;)if(ze(Ke,Ce[ct]))return!0;return!1}function dn(Ce,Ke){for(var ze=-1,ct=Ce==null?0:Ce.length,Nt=Array(ct);++ze<ct;)Nt[ze]=Ke(Ce[ze],ze,Ce);return Nt}function vo(Ce,Ke){for(var ze=-1,ct=Ke.length,Nt=Ce.length;++ze<ct;)Ce[Nt+ze]=Ke[ze];return Ce}function xd(Ce,Ke,ze,ct){var Nt=-1,zt=Ce==null?0:Ce.length;for(ct&&zt&&(ze=Ce[++Nt]);++Nt<zt;)ze=Ke(ze,Ce[Nt],Nt,Ce);return ze}function sg(Ce,Ke,ze,ct){var Nt=Ce==null?0:Ce.length;for(ct&&Nt&&(ze=Ce[--Nt]);Nt--;)ze=Ke(ze,Ce[Nt],Nt,Ce);return ze}function Na(Ce,Ke){for(var ze=-1,ct=Ce==null?0:Ce.length;++ze<ct;)if(Ke(Ce[ze],ze,Ce))return!0;return!1}var Sb=go("length");function Xh(Ce){return Ce.split("")}function sc(Ce){return Ce.match(ht)||[]}function Wh(Ce,Ke,ze){var ct;return ze(Ce,function(Nt,zt,kn){if(Ke(Nt,zt,kn))return ct=zt,!1}),ct}function Yf(Ce,Ke,ze,ct){for(var Nt=Ce.length,zt=ze+(ct?1:-1);ct?zt--:++zt<Nt;)if(Ke(Ce[zt],zt,Ce))return zt;return-1}function cc(Ce,Ke,ze){return Ke===Ke?vg(Ce,Ke,ze):Yf(Ce,Ed,ze)}function Xf(Ce,Ke,ze,ct){for(var Nt=ze-1,zt=Ce.length;++Nt<zt;)if(ct(Ce[Nt],Ke))return Nt;return-1}function Ed(Ce){return Ce!==Ce}function Qh(Ce,Ke){var ze=Ce==null?0:Ce.length;return ze?xi(Ce,Ke)/ze:Y}function go(Ce){return function(Ke){return Ke==null?r:Ke[Ce]}}function Wf(Ce){return function(Ke){return Ce==null?r:Ce[Ke]}}function Qf(Ce,Ke,ze,ct,Nt){return Nt(Ce,function(zt,kn,fn){ze=ct?(ct=!1,zt):Ke(ze,zt,kn,fn)}),ze}function Zf(Ce,Ke){var ze=Ce.length;for(Ce.sort(Ke);ze--;)Ce[ze]=Ce[ze].value;return Ce}function xi(Ce,Ke){for(var ze,ct=-1,Nt=Ce.length;++ct<Nt;){var zt=Ke(Ce[ct]);zt!==r&&(ze=ze===r?zt:ze+zt)}return ze}function Ei(Ce,Ke){for(var ze=-1,ct=Array(Ce);++ze<Ce;)ct[ze]=Ke(ze);return ct}function cg(Ce,Ke){return dn(Ke,function(ze){return[ze,Ce[ze]]})}function ns(Ce){return Ce&&Ce.slice(0,Yn(Ce)+1).replace(Gu,"")}function Cl(Ce){return function(Ke){return Ce(Ke)}}function Sd(Ce,Ke){return dn(Ke,function(ze){return Ce[ze]})}function rs(Ce,Ke){return Ce.has(Ke)}function yo(Ce,Ke){for(var ze=-1,ct=Ce.length;++ze<ct&&cc(Ke,Ce[ze],0)>-1;);return ze}function bo(Ce,Ke){for(var ze=Ce.length;ze--&&cc(Ke,Ce[ze],0)>-1;);return ze}function dg(Ce,Ke){for(var ze=Ce.length,ct=0;ze--;)Ce[ze]===Ke&&++ct;return ct}var Si=Wf(Hh),fg=Wf(el);function pg(Ce){return"\\"+Vh[Ce]}function dc(Ce,Ke){return Ce==null?r:Ce[Ke]}function xo(Ce){return uu.test(Ce)}function hg(Ce){return yd.test(Ce)}function wd(Ce){for(var Ke,ze=[];!(Ke=Ce.next()).done;)ze.push(Ke.value);return ze}function Jf(Ce){var Ke=-1,ze=Array(Ce.size);return Ce.forEach(function(ct,Nt){ze[++Ke]=[Nt,ct]}),ze}function ep(Ce,Ke){return function(ze){return Ce(Ke(ze))}}function nl(Ce,Ke){for(var ze=-1,ct=Ce.length,Nt=0,zt=[];++ze<ct;){var kn=Ce[ze];(kn===Ke||kn===S)&&(Ce[ze]=S,zt[Nt++]=ze)}return zt}function Eo(Ce){var Ke=-1,ze=Array(Ce.size);return Ce.forEach(function(ct){ze[++Ke]=ct}),ze}function mg(Ce){var Ke=-1,ze=Array(Ce.size);return Ce.forEach(function(ct){ze[++Ke]=[ct,ct]}),ze}function vg(Ce,Ke,ze){for(var ct=ze-1,Nt=Ce.length;++ct<Nt;)if(Ce[ct]===Ke)return ct;return-1}function ha(Ce,Ke,ze){for(var ct=ze+1;ct--;)if(Ce[ct]===Ke)return ct;return ct}function Ql(Ce){return xo(Ce)?gg(Ce):Sb(Ce)}function ea(Ce){return xo(Ce)?np(Ce):Xh(Ce)}function Yn(Ce){for(var Ke=Ce.length;Ke--&&kh.test(Ce.charAt(Ke)););return Ke}var tp=Wf(ts);function gg(Ce){for(var Ke=gd.lastIndex=0;gd.test(Ce);)++Ke;return Ke}function np(Ce){return Ce.match(gd)||[]}function fc(Ce){return Ce.match(iu)||[]}var wi=(function Ce(Ke){Ke=Ke==null?Or:$a.defaults(Or.Object(),Ke,$a.pick(Or,uc));var ze=Ke.Array,ct=Ke.Date,Nt=Ke.Error,zt=Ke.Function,kn=Ke.Math,fn=Ke.Object,Zh=Ke.RegExp,yg=Ke.String,Zl=Ke.TypeError,Cd=ze.prototype,Jh=zt.prototype,pc=fn.prototype,Rd=Ke["__core-js_shared__"],Td=Jh.toString,yn=pc.hasOwnProperty,So=0,em=(function(){var f=/[^.]+$/.exec(Rd&&Rd.keys&&Rd.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""})(),Pa=pc.toString,Rl=Td.call(fn),as=Or._,Ci=Zh("^"+Td.call(yn).replace(kr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tl=lg?Ke.Buffer:r,rl=Ke.Symbol,du=Ke.Uint8Array,Ko=Tl?Tl.allocUnsafe:r,fu=ep(fn.getPrototypeOf,fn),Ad=fn.create,hc=pc.propertyIsEnumerable,rp=Cd.splice,al=rl?rl.isConcatSpreadable:r,pu=rl?rl.iterator:r,ma=rl?rl.toStringTag:r,Ut=(function(){try{var f=ki(fn,"defineProperty");return f({},"",{}),f}catch{}})(),nt=Ke.clearTimeout!==Or.clearTimeout&&Ke.clearTimeout,wo=ct&&ct.now!==Or.Date.now&&ct.now,_d=Ke.setTimeout!==Or.setTimeout&&Ke.setTimeout,Xn=kn.ceil,Go=kn.floor,Ri=fn.getOwnPropertySymbols,ap=Tl?Tl.isBuffer:r,mc=Ke.isFinite,Co=Cd.join,Al=ep(fn.keys,fn),zn=kn.max,Wn=kn.min,wr=ct.now,hn=Ke.parseInt,lp=kn.random,vc=Cd.reverse,Ro=ki(Ke,"DataView"),nr=ki(Ke,"Map"),bn=ki(Ke,"Promise"),tn=ki(Ke,"Set"),qa=ki(Ke,"WeakMap"),ka=ki(fn,"create"),Ti=qa&&new qa,_l={},op=Bi(Ro),bg=Bi(nr),Dd=Bi(bn),Md=Bi(tn),xg=Bi(qa),hu=rl?rl.prototype:r,mu=hu?hu.valueOf:r,Ai=hu?hu.toString:r;function Z(f){if(Vn(f)&&!Ot(f)&&!(f instanceof nn)){if(f instanceof ll)return f;if(yn.call(f,"__wrapped__"))return zr(f)}return new ll(f)}var Dl=(function(){function f(){}return function(v){if(!On(v))return{};if(Ad)return Ad(v);f.prototype=v;var T=new f;return f.prototype=r,T}})();function Jl(){}function ll(f,v){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!v,this.__index__=0,this.__values__=r}Z.templateSettings={escape:Js,evaluate:Gl,interpolate:at,variable:"",imports:{_:Z}},Z.prototype=Jl.prototype,Z.prototype.constructor=Z,ll.prototype=Dl(Jl.prototype),ll.prototype.constructor=ll;function nn(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=be,this.__views__=[]}function Od(){var f=new nn(this.__wrapped__);return f.__actions__=Br(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=Br(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=Br(this.__views__),f}function ip(){if(this.__filtered__){var f=new nn(this);f.__dir__=-1,f.__filtered__=!0}else f=this.clone(),f.__dir__*=-1;return f}function ls(){var f=this.__wrapped__.value(),v=this.__dir__,T=Ot(f),k=v<0,K=T?f.length:0,ne=Ng(0,K,this.__views__),de=ne.start,ye=ne.end,Ae=ye-de,et=k?ye:de-1,Qe=this.__iteratees__,tt=Qe.length,st=0,bt=Wn(Ae,this.__takeCount__);if(!T||!k&&K==Ae&&bt==Ae)return Ab(f,this.__actions__);var Dt=[];e:for(;Ae--&&st<bt;){et+=v;for(var Xt=-1,_t=f[et];++Xt<tt;){var sn=Qe[Xt],xn=sn.iteratee,Lo=sn.type,Hl=xn(_t);if(Lo==ge)_t=Hl;else if(!Hl){if(Lo==ae)continue e;break e}}Dt[st++]=_t}return Dt}nn.prototype=Dl(Jl.prototype),nn.prototype.constructor=nn;function sr(f){var v=-1,T=f==null?0:f.length;for(this.clear();++v<T;){var k=f[v];this.set(k[0],k[1])}}function up(){this.__data__=ka?ka(null):{},this.size=0}function Eg(f){var v=this.has(f)&&delete this.__data__[f];return this.size-=v?1:0,v}function Nd(f){var v=this.__data__;if(ka){var T=v[f];return T===y?r:T}return yn.call(v,f)?v[f]:r}function tm(f){var v=this.__data__;return ka?v[f]!==r:yn.call(v,f)}function wb(f,v){var T=this.__data__;return this.size+=this.has(f)?0:1,T[f]=ka&&v===r?y:v,this}sr.prototype.clear=up,sr.prototype.delete=Eg,sr.prototype.get=Nd,sr.prototype.has=tm,sr.prototype.set=wb;function Un(f){var v=-1,T=f==null?0:f.length;for(this.clear();++v<T;){var k=f[v];this.set(k[0],k[1])}}function $d(){this.__data__=[],this.size=0}function _i(f){var v=this.__data__,T=yc(v,f);if(T<0)return!1;var k=v.length-1;return T==k?v.pop():rp.call(v,T,1),--this.size,!0}function os(f){var v=this.__data__,T=yc(v,f);return T<0?r:v[T][1]}function sp(f){return yc(this.__data__,f)>-1}function To(f,v){var T=this.__data__,k=yc(T,f);return k<0?(++this.size,T.push([f,v])):T[k][1]=v,this}Un.prototype.clear=$d,Un.prototype.delete=_i,Un.prototype.get=os,Un.prototype.has=sp,Un.prototype.set=To;function In(f){var v=-1,T=f==null?0:f.length;for(this.clear();++v<T;){var k=f[v];this.set(k[0],k[1])}}function nm(){this.size=0,this.__data__={hash:new sr,map:new(nr||Un),string:new sr}}function rm(f){var v=Dc(this,f).delete(f);return this.size-=v?1:0,v}function Cb(f){return Dc(this,f).get(f)}function am(f){return Dc(this,f).has(f)}function Di(f,v){var T=Dc(this,f),k=T.size;return T.set(f,v),this.size+=T.size==k?0:1,this}In.prototype.clear=nm,In.prototype.delete=rm,In.prototype.get=Cb,In.prototype.has=am,In.prototype.set=Di;function Yo(f){var v=-1,T=f==null?0:f.length;for(this.__data__=new In;++v<T;)this.add(f[v])}function gc(f){return this.__data__.set(f,y),this}function lm(f){return this.__data__.has(f)}Yo.prototype.add=Yo.prototype.push=gc,Yo.prototype.has=lm;function ta(f){var v=this.__data__=new Un(f);this.size=v.size}function om(){this.__data__=new Un,this.size=0}function cp(f){var v=this.__data__,T=v.delete(f);return this.size=v.size,T}function im(f){return this.__data__.get(f)}function um(f){return this.__data__.has(f)}function dp(f,v){var T=this.__data__;if(T instanceof Un){var k=T.__data__;if(!nr||k.length<i-1)return k.push([f,v]),this.size=++T.size,this;T=this.__data__=new In(k)}return T.set(f,v),this.size=T.size,this}ta.prototype.clear=om,ta.prototype.delete=cp,ta.prototype.get=im,ta.prototype.has=um,ta.prototype.set=dp;function sm(f,v){var T=Ot(f),k=!T&&aa(f),K=!T&&!k&&Gi(f),ne=!T&&!k&&!K&&pf(f),de=T||k||K||ne,ye=de?Ei(f.length,yg):[],Ae=ye.length;for(var et in f)(v||yn.call(f,et))&&!(de&&(et=="length"||K&&(et=="offset"||et=="parent")||ne&&(et=="buffer"||et=="byteLength"||et=="byteOffset")||No(et,Ae)))&&ye.push(et);return ye}function is(f){var v=f.length;return v?f[Do(0,v-1)]:r}function Sg(f,v){return Oc(Br(f),_o(v,0,f.length))}function wg(f){return Oc(Br(f))}function Ao(f,v,T){(T!==r&&!Ia(f[v],T)||T===r&&!(v in f))&&Wo(f,v,T)}function us(f,v,T){var k=f[v];(!(yn.call(f,v)&&Ia(k,T))||T===r&&!(v in f))&&Wo(f,v,T)}function yc(f,v){for(var T=f.length;T--;)if(Ia(f[T][0],v))return T;return-1}function Ml(f,v,T,k){return rr(f,function(K,ne,de){v(k,K,T(K),de)}),k}function Xo(f,v){return f&&ul(v,Ur(v),f)}function bc(f,v){return f&&ul(v,Wr(v),f)}function Wo(f,v,T){v=="__proto__"&&Ut?Ut(f,v,{configurable:!0,enumerable:!0,value:T,writable:!0}):f[v]=T}function fp(f,v){for(var T=-1,k=v.length,K=ze(k),ne=f==null;++T<k;)K[T]=ne?r:gf(f,v[T]);return K}function _o(f,v,T){return f===f&&(T!==r&&(f=f<=T?f:T),v!==r&&(f=f>=v?f:v)),f}function Lr(f,v,T,k,K,ne){var de,ye=v&w,Ae=v&R,et=v&D;if(T&&(de=K?T(f,k,K,ne):T(f)),de!==r)return de;if(!On(f))return f;var Qe=Ot(f);if(Qe){if(de=vs(f),!ye)return Br(f,de)}else{var tt=na(f),st=tt==we||tt==lt;if(Gi(f))return wm(f,ye);if(tt==an||tt==$e||st&&!K){if(de=Ae||st?{}:Yd(f),!ye)return Ae?Rc(f,bc(de,f)):Tm(f,Xo(de,f))}else{if(!qn[tt])return K?f:{};de=$m(f,tt,ye)}}ne||(ne=new ta);var bt=ne.get(f);if(bt)return bt;ne.set(f,de),zc(f)?f.forEach(function(_t){de.add(Lr(_t,v,T,_t,f,ne))}):ai(f)&&f.forEach(function(_t,sn){de.set(sn,Lr(_t,v,T,sn,f,ne))});var Dt=et?Ae?ti:Dm:Ae?Wr:Ur,Xt=Qe?r:Dt(f);return Xl(Xt||f,function(_t,sn){Xt&&(sn=_t,_t=f[sn]),us(de,sn,Lr(_t,v,T,sn,f,ne))}),de}function cm(f){var v=Ur(f);return function(T){return Pd(T,f,v)}}function Pd(f,v,T){var k=T.length;if(f==null)return!k;for(f=fn(f);k--;){var K=T[k],ne=v[K],de=f[K];if(de===r&&!(K in f)||!ne(de))return!1}return!0}function ss(f,v,T){if(typeof f!="function")throw new Zl(h);return Wd(function(){f.apply(r,T)},v)}function vu(f,v,T,k){var K=-1,ne=bi,de=!0,ye=f.length,Ae=[],et=v.length;if(!ye)return Ae;T&&(v=dn(v,Cl(T))),k?(ne=Wl,de=!1):v.length>=i&&(ne=rs,de=!1,v=new Yo(v));e:for(;++K<ye;){var Qe=f[K],tt=T==null?Qe:T(Qe);if(Qe=k||Qe!==0?Qe:0,de&&tt===tt){for(var st=et;st--;)if(v[st]===tt)continue e;Ae.push(Qe)}else ne(v,tt,k)||Ae.push(Qe)}return Ae}var rr=sl(va),xc=sl(eo,!0);function qd(f,v){var T=!0;return rr(f,function(k,K,ne){return T=!!v(k,K,ne),T}),T}function ol(f,v,T){for(var k=-1,K=f.length;++k<K;){var ne=f[k],de=v(ne);if(de!=null&&(ye===r?de===de&&!Ea(de):T(de,ye)))var ye=de,Ae=ne}return Ae}function It(f,v,T,k){var K=f.length;for(T=jt(T),T<0&&(T=-T>K?0:K+T),k=k===r||k>K?K:jt(k),k<0&&(k+=K),k=T>k?0:Yi(k);T<k;)f[T++]=v;return f}function Cn(f,v){var T=[];return rr(f,function(k,K,ne){v(k,K,ne)&&T.push(k)}),T}function Zt(f,v,T,k,K){var ne=-1,de=f.length;for(T||(T=Li),K||(K=[]);++ne<de;){var ye=f[ne];v>0&&T(ye)?v>1?Zt(ye,v-1,T,k,K):vo(K,ye):k||(K[K.length]=ye)}return K}var Ec=hs(),Ol=hs(!0);function va(f,v){return f&&Ec(f,v,Ur)}function eo(f,v){return f&&Ol(f,v,Ur)}function La(f,v){return Oa(v,function(T){return lo(f[T])})}function il(f,v){v=Ni(v,f);for(var T=0,k=v.length;f!=null&&T<k;)f=f[Dn(v[T++])];return T&&T==k?f:r}function dm(f,v,T){var k=v(f);return Ot(f)?k:vo(k,T(f))}function ln(f){return f==null?f===r?ot:Pn:ma&&ma in fn(f)?Mm(f):Lm(f)}function kd(f,v){return f>v}function fm(f,v){return f!=null&&yn.call(f,v)}function cs(f,v){return f!=null&&v in fn(f)}function Cg(f,v,T){return f>=Wn(v,T)&&f<zn(v,T)}function pm(f,v,T){for(var k=T?Wl:bi,K=f[0].length,ne=f.length,de=ne,ye=ze(ne),Ae=1/0,et=[];de--;){var Qe=f[de];de&&v&&(Qe=dn(Qe,Cl(v))),Ae=Wn(Qe.length,Ae),ye[de]=!T&&(v||K>=120&&Qe.length>=120)?new Yo(de&&Qe):r}Qe=f[0];var tt=-1,st=ye[0];e:for(;++tt<K&&et.length<Ae;){var bt=Qe[tt],Dt=v?v(bt):bt;if(bt=T||bt!==0?bt:0,!(st?rs(st,Dt):k(et,Dt,T))){for(de=ne;--de;){var Xt=ye[de];if(!(Xt?rs(Xt,Dt):k(f[de],Dt,T)))continue e}st&&st.push(Dt),et.push(bt)}}return et}function hm(f,v,T,k){return va(f,function(K,ne,de){v(k,T(K),ne,de)}),k}function Mi(f,v,T){v=Ni(v,f),f=Mc(f,v);var k=f==null?f:f[Dn(ra(v))];return k==null?r:tl(k,f,T)}function pp(f){return Vn(f)&&ln(f)==$e}function ja(f){return Vn(f)&&ln(f)==Mt}function Cr(f){return Vn(f)&&ln(f)==oe}function gu(f,v,T,k,K){return f===v?!0:f==null||v==null||!Vn(f)&&!Vn(v)?f!==f&&v!==v:hp(f,v,T,k,gu,K)}function hp(f,v,T,k,K,ne){var de=Ot(f),ye=Ot(v),Ae=de?Pe:na(f),et=ye?Pe:na(v);Ae=Ae==$e?an:Ae,et=et==$e?an:et;var Qe=Ae==an,tt=et==an,st=Ae==et;if(st&&Gi(f)){if(!Gi(v))return!1;de=!0,Qe=!1}if(st&&!Qe)return ne||(ne=new ta),de||pf(f)?Og(f,v,T,k,K,ne):Rr(f,v,Ae,T,k,K,ne);if(!(T&$)){var bt=Qe&&yn.call(f,"__wrapped__"),Dt=tt&&yn.call(v,"__wrapped__");if(bt||Dt){var Xt=bt?f.value():f,_t=Dt?v.value():v;return ne||(ne=new ta),K(Xt,_t,T,k,ne)}}return st?(ne||(ne=new ta),Yr(f,v,T,k,K,ne)):!1}function jr(f){return Vn(f)&&na(f)==St}function Ld(f,v,T,k){var K=T.length,ne=K,de=!k;if(f==null)return!ne;for(f=fn(f);K--;){var ye=T[K];if(de&&ye[2]?ye[1]!==f[ye[0]]:!(ye[0]in f))return!1}for(;++K<ne;){ye=T[K];var Ae=ye[0],et=f[Ae],Qe=ye[1];if(de&&ye[2]){if(et===r&&!(Ae in f))return!1}else{var tt=new ta;if(k)var st=k(et,Qe,Ae,f,v,tt);if(!(st===r?gu(Qe,et,$|O,k,tt):st))return!1}}return!0}function Qo(f){if(!On(f)||Mp(f))return!1;var v=lo(f)?Ci:jf;return v.test(Bi(f))}function mp(f){return Vn(f)&&ln(f)==ve}function mm(f){return Vn(f)&&na(f)==De}function vm(f){return Vn(f)&&fl(f.length)&&!!Kt[ln(f)]}function jd(f){return typeof f=="function"?f:f==null?Ne:typeof f=="object"?Ot(f)?zd(f[0],f[1]):gp(f):mn(f)}function Bd(f){if(!Tt(f))return Al(f);var v=[];for(var T in fn(f))yn.call(f,T)&&T!="constructor"&&v.push(T);return v}function Rg(f){if(!On(f))return ys(f);var v=Tt(f),T=[];for(var k in f)k=="constructor"&&(v||!yn.call(f,k))||T.push(k);return T}function vp(f,v){return f<v}function gm(f,v){var T=-1,k=$r(f)?ze(f.length):[];return rr(f,function(K,ne,de){k[++T]=v(K,ne,de)}),k}function gp(f){var v=_p(f);return v.length==1&&v[0][2]?Mb(v[0][0],v[0][1]):function(T){return T===f||Ld(T,f,v)}}function zd(f,v){return qm(f)&&km(v)?Mb(Dn(f),v):function(T){var k=gf(T,f);return k===r&&k===v?Xi(T,f):gu(v,k,$|O)}}function Sc(f,v,T,k,K){f!==v&&Ec(v,function(ne,de){if(K||(K=new ta),On(ne))Rb(f,v,de,T,Sc,k,K);else{var ye=k?k(bs(f,de),ne,de+"",f,v,K):r;ye===r&&(ye=ne),Ao(f,de,ye)}},Wr)}function Rb(f,v,T,k,K,ne,de){var ye=bs(f,T),Ae=bs(v,T),et=de.get(Ae);if(et){Ao(f,T,et);return}var Qe=ne?ne(ye,Ae,T+"",f,v,de):r,tt=Qe===r;if(tt){var st=Ot(Ae),bt=!st&&Gi(Ae),Dt=!st&&!bt&&pf(Ae);Qe=Ae,st||bt||Dt?Ot(ye)?Qe=ye:ar(ye)?Qe=Br(ye):bt?(tt=!1,Qe=wm(Ae,!0)):Dt?(tt=!1,Qe=Cm(Ae,!0)):Qe=[]:qo(Ae)||aa(Ae)?(Qe=ye,aa(ye)?Qe=Fp(ye):(!On(ye)||lo(ye))&&(Qe=Yd(Ae))):tt=!1}tt&&(de.set(Ae,Qe),K(Qe,Ae,k,ne,de),de.delete(Ae)),Ao(f,T,Qe)}function yp(f,v){var T=f.length;if(T)return v+=v<0?T:0,No(v,T)?f[v]:r}function Ud(f,v,T){v.length?v=dn(v,function(ne){return Ot(ne)?function(de){return il(de,ne.length===1?ne[0]:ne)}:ne}):v=[Ne];var k=-1;v=dn(v,Cl(Rt()));var K=gm(f,function(ne,de,ye){var Ae=dn(v,function(et){return et(ne)});return{criteria:Ae,index:++k,value:ne}});return Zf(K,function(ne,de){return Mg(ne,de,T)})}function ym(f,v){return bp(f,v,function(T,k){return Xi(f,k)})}function bp(f,v,T){for(var k=-1,K=v.length,ne={};++k<K;){var de=v[k],ye=il(f,de);T(ye,de)&&yu(ne,Ni(de,f),ye)}return ne}function Tg(f){return function(v){return il(v,f)}}function Id(f,v,T,k){var K=k?Xf:cc,ne=-1,de=v.length,ye=f;for(f===v&&(v=Br(v)),T&&(ye=dn(f,Cl(T)));++ne<de;)for(var Ae=0,et=v[ne],Qe=T?T(et):et;(Ae=K(ye,Qe,Ae,k))>-1;)ye!==f&&rp.call(ye,Ae,1),rp.call(f,Ae,1);return f}function bm(f,v){for(var T=f?v.length:0,k=T-1;T--;){var K=v[T];if(T==k||K!==ne){var ne=K;No(K)?rp.call(f,K,1):wc(f,K)}}return f}function Do(f,v){return f+Go(lp()*(v-f+1))}function xm(f,v,T,k){for(var K=-1,ne=zn(Xn((v-f)/(T||1)),0),de=ze(ne);ne--;)de[k?ne:++K]=f,f+=T;return de}function Ag(f,v){var T="";if(!f||v<1||v>ee)return T;do v%2&&(T+=f),v=Go(v/2),v&&(f+=f);while(v);return T}function Ht(f,v){return Ll(jm(f,v,Ne),f+"")}function Nl(f){return is(Ic(f))}function xp(f,v){var T=Ic(f);return Oc(T,_o(v,0,T.length))}function yu(f,v,T,k){if(!On(f))return f;v=Ni(v,f);for(var K=-1,ne=v.length,de=ne-1,ye=f;ye!=null&&++K<ne;){var Ae=Dn(v[K]),et=T;if(Ae==="__proto__"||Ae==="constructor"||Ae==="prototype")return f;if(K!=de){var Qe=ye[Ae];et=k?k(Qe,Ae,ye):r,et===r&&(et=On(Qe)?Qe:No(v[K+1])?[]:{})}us(ye,Ae,et),ye=ye[Ae]}return f}var bu=Ti?function(f,v){return Ti.set(f,v),f}:Ne,Bn=Ut?function(f,v){return Ut(f,"toString",{configurable:!0,enumerable:!1,value:Oe(v),writable:!0})}:Ne;function Tb(f){return Oc(Ic(f))}function to(f,v,T){var k=-1,K=f.length;v<0&&(v=-v>K?0:K+v),T=T>K?K:T,T<0&&(T+=K),K=v>T?0:T-v>>>0,v>>>=0;for(var ne=ze(K);++k<K;)ne[k]=f[k+v];return ne}function _g(f,v){var T;return rr(f,function(k,K,ne){return T=v(k,K,ne),!T}),!!T}function $l(f,v,T){var k=0,K=f==null?k:f.length;if(typeof v=="number"&&v===v&&K<=fe){for(;k<K;){var ne=k+K>>>1,de=f[ne];de!==null&&!Ea(de)&&(T?de<=v:de<v)?k=ne+1:K=ne}return K}return Ep(f,v,Ne,T)}function Ep(f,v,T,k){var K=0,ne=f==null?0:f.length;if(ne===0)return 0;v=T(v);for(var de=v!==v,ye=v===null,Ae=Ea(v),et=v===r;K<ne;){var Qe=Go((K+ne)/2),tt=T(f[Qe]),st=tt!==r,bt=tt===null,Dt=tt===tt,Xt=Ea(tt);if(de)var _t=k||Dt;else et?_t=Dt&&(k||st):ye?_t=Dt&&st&&(k||!bt):Ae?_t=Dt&&st&&!bt&&(k||!Xt):bt||Xt?_t=!1:_t=k?tt<=v:tt<v;_t?K=Qe+1:ne=Qe}return Wn(ne,ie)}function Sp(f,v){for(var T=-1,k=f.length,K=0,ne=[];++T<k;){var de=f[T],ye=v?v(de):de;if(!T||!Ia(ye,Ae)){var Ae=ye;ne[K++]=de===0?0:de}}return ne}function ds(f){return typeof f=="number"?f:Ea(f)?Y:+f}function Kr(f){if(typeof f=="string")return f;if(Ot(f))return dn(f,Kr)+"";if(Ea(f))return Ai?Ai.call(f):"";var v=f+"";return v=="0"&&1/f==-W?"-0":v}function Oi(f,v,T){var k=-1,K=bi,ne=f.length,de=!0,ye=[],Ae=ye;if(T)de=!1,K=Wl;else if(ne>=i){var et=v?null:Ap(f);if(et)return Eo(et);de=!1,K=rs,Ae=new Yo}else Ae=v?[]:ye;e:for(;++k<ne;){var Qe=f[k],tt=v?v(Qe):Qe;if(Qe=T||Qe!==0?Qe:0,de&&tt===tt){for(var st=Ae.length;st--;)if(Ae[st]===tt)continue e;v&&Ae.push(tt),ye.push(Qe)}else K(Ae,tt,T)||(Ae!==ye&&Ae.push(tt),ye.push(Qe))}return ye}function wc(f,v){return v=Ni(v,f),f=Mc(f,v),f==null||delete f[Dn(ra(v))]}function Em(f,v,T,k){return yu(f,v,T(il(f,v)),k)}function wp(f,v,T,k){for(var K=f.length,ne=k?K:-1;(k?ne--:++ne<K)&&v(f[ne],ne,f););return T?to(f,k?0:ne,k?ne+1:K):to(f,k?ne+1:0,k?K:ne)}function Ab(f,v){var T=f;return T instanceof nn&&(T=T.value()),xd(v,function(k,K){return K.func.apply(K.thisArg,vo([k],K.args))},T)}function Hd(f,v,T){var k=f.length;if(k<2)return k?Oi(f[0]):[];for(var K=-1,ne=ze(k);++K<k;)for(var de=f[K],ye=-1;++ye<k;)ye!=K&&(ne[K]=vu(ne[K]||de,f[ye],v,T));return Oi(Zt(ne,1),v,T)}function Dg(f,v,T){for(var k=-1,K=f.length,ne=v.length,de={};++k<K;){var ye=k<ne?v[k]:r;T(de,f[k],ye)}return de}function fs(f){return ar(f)?f:[]}function Pl(f){return typeof f=="function"?f:Ne}function Ni(f,v){return Ot(f)?f:qm(f,v)?[f]:ri(Yt(f))}var _b=Ht;function xu(f,v,T){var k=f.length;return T=T===r?k:T,!v&&T>=k?f:to(f,v,T)}var Sm=nt||function(f){return Or.clearTimeout(f)};function wm(f,v){if(v)return f.slice();var T=f.length,k=Ko?Ko(T):new f.constructor(T);return f.copy(k),k}function Eu(f){var v=new f.constructor(f.byteLength);return new du(v).set(new du(f)),v}function Cp(f,v){var T=v?Eu(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.byteLength)}function Cc(f){var v=new f.constructor(f.source,sd.exec(f));return v.lastIndex=f.lastIndex,v}function Db(f){return mu?fn(mu.call(f)):{}}function Cm(f,v){var T=v?Eu(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.length)}function Rp(f,v){if(f!==v){var T=f!==r,k=f===null,K=f===f,ne=Ea(f),de=v!==r,ye=v===null,Ae=v===v,et=Ea(v);if(!ye&&!et&&!ne&&f>v||ne&&de&&Ae&&!ye&&!et||k&&de&&Ae||!T&&Ae||!K)return 1;if(!k&&!ne&&!et&&f<v||et&&T&&K&&!k&&!ne||ye&&T&&K||!de&&K||!Ae)return-1}return 0}function Mg(f,v,T){for(var k=-1,K=f.criteria,ne=v.criteria,de=K.length,ye=T.length;++k<de;){var Ae=Rp(K[k],ne[k]);if(Ae){if(k>=ye)return Ae;var et=T[k];return Ae*(et=="desc"?-1:1)}}return f.index-v.index}function Rm(f,v,T,k){for(var K=-1,ne=f.length,de=T.length,ye=-1,Ae=v.length,et=zn(ne-de,0),Qe=ze(Ae+et),tt=!k;++ye<Ae;)Qe[ye]=v[ye];for(;++K<de;)(tt||K<ne)&&(Qe[T[K]]=f[K]);for(;et--;)Qe[ye++]=f[K++];return Qe}function $i(f,v,T,k){for(var K=-1,ne=f.length,de=-1,ye=T.length,Ae=-1,et=v.length,Qe=zn(ne-ye,0),tt=ze(Qe+et),st=!k;++K<Qe;)tt[K]=f[K];for(var bt=K;++Ae<et;)tt[bt+Ae]=v[Ae];for(;++de<ye;)(st||K<ne)&&(tt[bt+T[de]]=f[K++]);return tt}function Br(f,v){var T=-1,k=f.length;for(v||(v=ze(k));++T<k;)v[T]=f[T];return v}function ul(f,v,T,k){var K=!T;T||(T={});for(var ne=-1,de=v.length;++ne<de;){var ye=v[ne],Ae=k?k(T[ye],f[ye],ye,T,f):r;Ae===r&&(Ae=f[ye]),K?Wo(T,ye,Ae):us(T,ye,Ae)}return T}function Tm(f,v){return ul(f,Gd(f),v)}function Rc(f,v){return ul(f,Om(f),v)}function Gr(f,v){return function(T,k){var K=Ot(T)?Eb:Ml,ne=v?v():{};return K(T,f,Rt(k,2),ne)}}function ps(f){return Ht(function(v,T){var k=-1,K=T.length,ne=K>1?T[K-1]:r,de=K>2?T[2]:r;for(ne=f.length>3&&typeof ne=="function"?(K--,ne):r,de&&Ba(T[0],T[1],de)&&(ne=K<3?r:ne,K=1),v=fn(v);++k<K;){var ye=T[k];ye&&f(v,ye,k,ne)}return v})}function sl(f,v){return function(T,k){if(T==null)return T;if(!$r(T))return f(T,k);for(var K=T.length,ne=v?K:-1,de=fn(T);(v?ne--:++ne<K)&&k(de[ne],ne,de)!==!1;);return T}}function hs(f){return function(v,T,k){for(var K=-1,ne=fn(v),de=k(v),ye=de.length;ye--;){var Ae=de[f?ye:++K];if(T(ne[Ae],Ae,ne)===!1)break}return v}}function Pi(f,v,T){var k=v&q,K=no(f);function ne(){var de=this&&this!==Or&&this instanceof ne?K:f;return de.apply(k?T:this,arguments)}return ne}function ql(f){return function(v){v=Yt(v);var T=xo(v)?ea(v):r,k=T?T[0]:v.charAt(0),K=T?xu(T,1).join(""):v.slice(1);return k[f]()+K}}function Nr(f){return function(v){return xd(C(ui(v).replace(ic,"")),f,"")}}function no(f){return function(){var v=arguments;switch(v.length){case 0:return new f;case 1:return new f(v[0]);case 2:return new f(v[0],v[1]);case 3:return new f(v[0],v[1],v[2]);case 4:return new f(v[0],v[1],v[2],v[3]);case 5:return new f(v[0],v[1],v[2],v[3],v[4]);case 6:return new f(v[0],v[1],v[2],v[3],v[4],v[5]);case 7:return new f(v[0],v[1],v[2],v[3],v[4],v[5],v[6])}var T=Dl(f.prototype),k=f.apply(T,v);return On(k)?k:T}}function qi(f,v,T){var k=no(f);function K(){for(var ne=arguments.length,de=ze(ne),ye=ne,Ae=Oo(K);ye--;)de[ye]=arguments[ye];var et=ne<3&&de[0]!==Ae&&de[ne-1]!==Ae?[]:nl(de,Ae);if(ne-=et.length,ne<T)return Ac(f,v,_n,K.placeholder,r,de,et,r,r,T-ne);var Qe=this&&this!==Or&&this instanceof K?k:f;return tl(Qe,this,de)}return K}function Zo(f){return function(v,T,k){var K=fn(v);if(!$r(v)){var ne=Rt(T,3);v=Ur(v),T=function(ye){return ne(K[ye],ye,K)}}var de=f(v,T,k);return de>-1?K[ne?v[de]:de]:r}}function Mo(f){return Qn(function(v){var T=v.length,k=T,K=ll.prototype.thru;for(f&&v.reverse();k--;){var ne=v[k];if(typeof ne!="function")throw new Zl(h);if(K&&!de&&_c(ne)=="wrapper")var de=new ll([],!0)}for(k=de?k:T;++k<T;){ne=v[k];var ye=_c(ne),Ae=ye=="wrapper"?Cu(ne):r;Ae&&gs(Ae[0])&&Ae[1]==(V|I|F|X)&&!Ae[4].length&&Ae[9]==1?de=de[_c(Ae[0])].apply(de,Ae[3]):de=ne.length==1&&gs(ne)?de[ye]():de.thru(ne)}return function(){var et=arguments,Qe=et[0];if(de&&et.length==1&&Ot(Qe))return de.plant(Qe).value();for(var tt=0,st=T?v[tt].apply(this,et):Qe;++tt<T;)st=v[tt].call(this,st);return st}})}function _n(f,v,T,k,K,ne,de,ye,Ae,et){var Qe=v&V,tt=v&q,st=v&N,bt=v&(I|G),Dt=v&le,Xt=st?r:no(f);function _t(){for(var sn=arguments.length,xn=ze(sn),Lo=sn;Lo--;)xn[Lo]=arguments[Lo];if(bt)var Hl=Oo(_t),jo=dg(xn,Hl);if(k&&(xn=Rm(xn,k,K,bt)),ne&&(xn=$i(xn,ne,de,bt)),sn-=jo,bt&&sn<et){var Qr=nl(xn,Hl);return Ac(f,v,_n,_t.placeholder,T,xn,Qr,ye,Ae,et-sn)}var qu=tt?T:this,Gc=st?qu[f]:f;return sn=xn.length,ye?xn=ni(xn,ye):Dt&&sn>1&&xn.reverse(),Qe&&Ae<sn&&(xn.length=Ae),this&&this!==Or&&this instanceof _t&&(Gc=Xt||no(Gc)),Gc.apply(qu,xn)}return _t}function Vd(f,v){return function(T,k){return hm(T,f,v(k),{})}}function Jo(f,v){return function(T,k){var K;if(T===r&&k===r)return v;if(T!==r&&(K=T),k!==r){if(K===r)return k;typeof T=="string"||typeof k=="string"?(T=Kr(T),k=Kr(k)):(T=ds(T),k=ds(k)),K=f(T,k)}return K}}function Fd(f){return Qn(function(v){return v=dn(v,Cl(Rt())),Ht(function(T){var k=this;return f(v,function(K){return tl(K,k,T)})})})}function Su(f,v){v=v===r?" ":Kr(v);var T=v.length;if(T<2)return T?Ag(v,f):v;var k=Ag(v,Xn(f/Ql(v)));return xo(v)?xu(ea(k),0,f).join(""):k.slice(0,f)}function Tc(f,v,T,k){var K=v&q,ne=no(f);function de(){for(var ye=-1,Ae=arguments.length,et=-1,Qe=k.length,tt=ze(Qe+Ae),st=this&&this!==Or&&this instanceof de?ne:f;++et<Qe;)tt[et]=k[et];for(;Ae--;)tt[et++]=arguments[++ye];return tl(st,K?T:this,tt)}return de}function wu(f){return function(v,T,k){return k&&typeof k!="number"&&Ba(v,T,k)&&(T=k=r),v=fr(v),T===r?(T=v,v=0):T=fr(T),k=k===r?v<T?1:-1:fr(k),xm(v,T,k,f)}}function ms(f){return function(v,T){return typeof v=="string"&&typeof T=="string"||(v=pl(v),T=pl(T)),f(v,T)}}function Ac(f,v,T,k,K,ne,de,ye,Ae,et){var Qe=v&I,tt=Qe?de:r,st=Qe?r:de,bt=Qe?ne:r,Dt=Qe?r:ne;v|=Qe?F:H,v&=~(Qe?H:F),v&U||(v&=-4);var Xt=[f,v,K,bt,tt,Dt,st,ye,Ae,et],_t=T.apply(r,Xt);return gs(f)&&Bm(_t,Xt),_t.placeholder=k,xs(_t,f,v)}function Tp(f){var v=kn[f];return function(T,k){if(T=pl(T),k=k==null?0:Wn(jt(k),292),k&&mc(T)){var K=(Yt(T)+"e").split("e"),ne=v(K[0]+"e"+(+K[1]+k));return K=(Yt(ne)+"e").split("e"),+(K[0]+"e"+(+K[1]-k))}return v(T)}}var Ap=tn&&1/Eo(new tn([,-0]))[1]==W?function(f){return new tn(f)}:pt;function Kd(f){return function(v){var T=na(v);return T==St?Jf(v):T==De?mg(v):cg(v,f(v))}}function ei(f,v,T,k,K,ne,de,ye){var Ae=v&N;if(!Ae&&typeof f!="function")throw new Zl(h);var et=k?k.length:0;if(et||(v&=-97,k=K=r),de=de===r?de:zn(jt(de),0),ye=ye===r?ye:jt(ye),et-=K?K.length:0,v&H){var Qe=k,tt=K;k=K=r}var st=Ae?r:Cu(f),bt=[f,v,T,k,K,Qe,tt,ne,de,ye];if(st&&Op(bt,st),f=bt[0],v=bt[1],T=bt[2],k=bt[3],K=bt[4],ye=bt[9]=bt[9]===r?Ae?0:f.length:zn(bt[9]-et,0),!ye&&v&(I|G)&&(v&=-25),!v||v==q)var Dt=Pi(f,v,T);else v==I||v==G?Dt=qi(f,v,ye):(v==F||v==(q|F))&&!K.length?Dt=Tc(f,v,T,k):Dt=_n.apply(r,bt);var Xt=st?bu:Bm;return xs(Xt(Dt,bt),f,v)}function Am(f,v,T,k){return f===r||Ia(f,pc[T])&&!yn.call(k,T)?v:f}function _m(f,v,T,k,K,ne){return On(f)&&On(v)&&(ne.set(v,f),Sc(f,v,r,_m,ne),ne.delete(v)),f}function kl(f){return qo(f)?r:f}function Og(f,v,T,k,K,ne){var de=T&$,ye=f.length,Ae=v.length;if(ye!=Ae&&!(de&&Ae>ye))return!1;var et=ne.get(f),Qe=ne.get(v);if(et&&Qe)return et==v&&Qe==f;var tt=-1,st=!0,bt=T&O?new Yo:r;for(ne.set(f,v),ne.set(v,f);++tt<ye;){var Dt=f[tt],Xt=v[tt];if(k)var _t=de?k(Xt,Dt,tt,v,f,ne):k(Dt,Xt,tt,f,v,ne);if(_t!==r){if(_t)continue;st=!1;break}if(bt){if(!Na(v,function(sn,xn){if(!rs(bt,xn)&&(Dt===sn||K(Dt,sn,T,k,ne)))return bt.push(xn)})){st=!1;break}}else if(!(Dt===Xt||K(Dt,Xt,T,k,ne))){st=!1;break}}return ne.delete(f),ne.delete(v),st}function Rr(f,v,T,k,K,ne,de){switch(T){case Bt:if(f.byteLength!=v.byteLength||f.byteOffset!=v.byteOffset)return!1;f=f.buffer,v=v.buffer;case Mt:return!(f.byteLength!=v.byteLength||!ne(new du(f),new du(v)));case Ye:case oe:case pn:return Ia(+f,+v);case Le:return f.name==v.name&&f.message==v.message;case ve:case Fe:return f==v+"";case St:var ye=Jf;case De:var Ae=k&$;if(ye||(ye=Eo),f.size!=v.size&&!Ae)return!1;var et=de.get(f);if(et)return et==v;k|=O,de.set(f,v);var Qe=Og(ye(f),ye(v),k,K,ne,de);return de.delete(f),Qe;case it:if(mu)return mu.call(f)==mu.call(v)}return!1}function Yr(f,v,T,k,K,ne){var de=T&$,ye=Dm(f),Ae=ye.length,et=Dm(v),Qe=et.length;if(Ae!=Qe&&!de)return!1;for(var tt=Ae;tt--;){var st=ye[tt];if(!(de?st in v:yn.call(v,st)))return!1}var bt=ne.get(f),Dt=ne.get(v);if(bt&&Dt)return bt==v&&Dt==f;var Xt=!0;ne.set(f,v),ne.set(v,f);for(var _t=de;++tt<Ae;){st=ye[tt];var sn=f[st],xn=v[st];if(k)var Lo=de?k(xn,sn,st,v,f,ne):k(sn,xn,st,f,v,ne);if(!(Lo===r?sn===xn||K(sn,xn,T,k,ne):Lo)){Xt=!1;break}_t||(_t=st=="constructor")}if(Xt&&!_t){var Hl=f.constructor,jo=v.constructor;Hl!=jo&&"constructor"in f&&"constructor"in v&&!(typeof Hl=="function"&&Hl instanceof Hl&&typeof jo=="function"&&jo instanceof jo)&&(Xt=!1)}return ne.delete(f),ne.delete(v),Xt}function Qn(f){return Ll(jm(f,r,Xr),f+"")}function Dm(f){return dm(f,Ur,Gd)}function ti(f){return dm(f,Wr,Om)}var Cu=Ti?function(f){return Ti.get(f)}:pt;function _c(f){for(var v=f.name+"",T=_l[v],k=yn.call(_l,v)?T.length:0;k--;){var K=T[k],ne=K.func;if(ne==null||ne==f)return K.name}return v}function Oo(f){var v=yn.call(Z,"placeholder")?Z:f;return v.placeholder}function Rt(){var f=Z.iteratee||Ct;return f=f===Ct?jd:f,arguments.length?f(arguments[0],arguments[1]):f}function Dc(f,v){var T=f.__data__;return ji(v)?T[typeof v=="string"?"string":"hash"]:T.map}function _p(f){for(var v=Ur(f),T=v.length;T--;){var k=v[T],K=f[k];v[T]=[k,K,km(K)]}return v}function ki(f,v){var T=dc(f,v);return Qo(T)?T:r}function Mm(f){var v=yn.call(f,ma),T=f[ma];try{f[ma]=r;var k=!0}catch{}var K=Pa.call(f);return k&&(v?f[ma]=T:delete f[ma]),K}var Gd=Ri?function(f){return f==null?[]:(f=fn(f),Oa(Ri(f),function(v){return hc.call(f,v)}))}:vx,Om=Ri?function(f){for(var v=[];f;)vo(v,Gd(f)),f=fu(f);return v}:vx,na=ln;(Ro&&na(new Ro(new ArrayBuffer(1)))!=Bt||nr&&na(new nr)!=St||bn&&na(bn.resolve())!=nu||tn&&na(new tn)!=De||qa&&na(new qa)!=rt)&&(na=function(f){var v=ln(f),T=v==an?f.constructor:r,k=T?Bi(T):"";if(k)switch(k){case op:return Bt;case bg:return St;case Dd:return nu;case Md:return De;case xg:return rt}return v});function Ng(f,v,T){for(var k=-1,K=T.length;++k<K;){var ne=T[k],de=ne.size;switch(ne.type){case"drop":f+=de;break;case"dropRight":v-=de;break;case"take":v=Wn(v,f+de);break;case"takeRight":f=zn(f,v-de);break}}return{start:f,end:v}}function Nm(f){var v=f.match(Lh);return v?v[1].split(pb):[]}function Dp(f,v,T){v=Ni(v,f);for(var k=-1,K=v.length,ne=!1;++k<K;){var de=Dn(v[k]);if(!(ne=f!=null&&T(f,de)))break;f=f[de]}return ne||++k!=K?ne:(K=f==null?0:f.length,!!K&&fl(K)&&No(de,K)&&(Ot(f)||aa(f)))}function vs(f){var v=f.length,T=new f.constructor(v);return v&&typeof f[0]=="string"&&yn.call(f,"index")&&(T.index=f.index,T.input=f.input),T}function Yd(f){return typeof f.constructor=="function"&&!Tt(f)?Dl(fu(f)):{}}function $m(f,v,T){var k=f.constructor;switch(v){case Mt:return Eu(f);case Ye:case oe:return new k(+f);case Bt:return Cp(f,T);case An:case po:case Wa:case Qs:case wl:case da:case Vr:case Qa:case Ma:return Cm(f,T);case St:return new k;case pn:case Fe:return new k(f);case ve:return Cc(f);case De:return new k;case it:return Db(f)}}function Pm(f,v){var T=v.length;if(!T)return f;var k=T-1;return v[k]=(T>1?"& ":"")+v[k],v=v.join(T>2?", ":" "),f.replace(fb,`{
|
|
330
|
+
/* [wrapped with `+v+`] */
|
|
331
|
+
`)}function Li(f){return Ot(f)||aa(f)||!!(al&&f&&f[al])}function No(f,v){var T=typeof f;return v=v??ee,!!v&&(T=="number"||T!="symbol"&&Yu.test(f))&&f>-1&&f%1==0&&f<v}function Ba(f,v,T){if(!On(T))return!1;var k=typeof v;return(k=="number"?$r(T)&&No(v,T.length):k=="string"&&v in T)?Ia(T[v],f):!1}function qm(f,v){if(Ot(f))return!1;var T=typeof f;return T=="number"||T=="symbol"||T=="boolean"||f==null||Ea(f)?!0:eg.test(f)||!qh.test(f)||v!=null&&f in fn(v)}function ji(f){var v=typeof f;return v=="string"||v=="number"||v=="symbol"||v=="boolean"?f!=="__proto__":f===null}function gs(f){var v=_c(f),T=Z[v];if(typeof T!="function"||!(v in nn.prototype))return!1;if(f===T)return!0;var k=Cu(T);return!!k&&f===k[0]}function Mp(f){return!!em&&em in f}var Xd=Rd?lo:gx;function Tt(f){var v=f&&f.constructor,T=typeof v=="function"&&v.prototype||pc;return f===T}function km(f){return f===f&&!On(f)}function Mb(f,v){return function(T){return T==null?!1:T[f]===v&&(v!==r||f in fn(T))}}function $g(f){var v=Cs(f,function(k){return T.size===x&&T.clear(),k}),T=v.cache;return v}function Op(f,v){var T=f[1],k=v[1],K=T|k,ne=K<(q|N|V),de=k==V&&T==I||k==V&&T==X&&f[7].length<=v[8]||k==(V|X)&&v[7].length<=v[8]&&T==I;if(!(ne||de))return f;k&q&&(f[2]=v[2],K|=T&q?0:U);var ye=v[3];if(ye){var Ae=f[3];f[3]=Ae?Rm(Ae,ye,v[4]):ye,f[4]=Ae?nl(f[3],S):v[4]}return ye=v[5],ye&&(Ae=f[5],f[5]=Ae?$i(Ae,ye,v[6]):ye,f[6]=Ae?nl(f[5],S):v[6]),ye=v[7],ye&&(f[7]=ye),k&V&&(f[8]=f[8]==null?v[8]:Wn(f[8],v[8])),f[9]==null&&(f[9]=v[9]),f[0]=v[0],f[1]=K,f}function ys(f){var v=[];if(f!=null)for(var T in fn(f))v.push(T);return v}function Lm(f){return Pa.call(f)}function jm(f,v,T){return v=zn(v===r?f.length-1:v,0),function(){for(var k=arguments,K=-1,ne=zn(k.length-v,0),de=ze(ne);++K<ne;)de[K]=k[v+K];K=-1;for(var ye=ze(v+1);++K<v;)ye[K]=k[K];return ye[v]=T(de),tl(f,this,ye)}}function Mc(f,v){return v.length<2?f:il(f,to(v,0,-1))}function ni(f,v){for(var T=f.length,k=Wn(v.length,T),K=Br(f);k--;){var ne=v[k];f[k]=No(ne,T)?K[ne]:r}return f}function bs(f,v){if(!(v==="constructor"&&typeof f[v]=="function")&&v!="__proto__")return f[v]}var Bm=Np(bu),Wd=_d||function(f,v){return Or.setTimeout(f,v)},Ll=Np(Bn);function xs(f,v,T){var k=v+"";return Ll(f,Pm(k,zm(Nm(k),T)))}function Np(f){var v=0,T=0;return function(){var k=wr(),K=se-(k-T);if(T=k,K>0){if(++v>=ue)return arguments[0]}else v=0;return f.apply(r,arguments)}}function Oc(f,v){var T=-1,k=f.length,K=k-1;for(v=v===r?k:v;++T<v;){var ne=Do(T,K),de=f[ne];f[ne]=f[T],f[T]=de}return f.length=v,f}var ri=$g(function(f){var v=[];return f.charCodeAt(0)===46&&v.push(""),f.replace(ur,function(T,k,K,ne){v.push(K?ne.replace(fa,"$1"):k||T)}),v});function Dn(f){if(typeof f=="string"||Ea(f))return f;var v=f+"";return v=="0"&&1/f==-W?"-0":v}function Bi(f){if(f!=null){try{return Td.call(f)}catch{}try{return f+""}catch{}}return""}function zm(f,v){return Xl(_e,function(T){var k="_."+T[0];v&T[1]&&!bi(f,k)&&f.push(k)}),f.sort()}function zr(f){if(f instanceof nn)return f.clone();var v=new ll(f.__wrapped__,f.__chain__);return v.__actions__=Br(f.__actions__),v.__index__=f.__index__,v.__values__=f.__values__,v}function Pg(f,v,T){(T?Ba(f,v,T):v===r)?v=1:v=zn(jt(v),0);var k=f==null?0:f.length;if(!k||v<1)return[];for(var K=0,ne=0,de=ze(Xn(k/v));K<k;)de[ne++]=to(f,K,K+=v);return de}function qg(f){for(var v=-1,T=f==null?0:f.length,k=0,K=[];++v<T;){var ne=f[v];ne&&(K[k++]=ne)}return K}function kg(){var f=arguments.length;if(!f)return[];for(var v=ze(f-1),T=arguments[0],k=f;k--;)v[k-1]=arguments[k];return vo(Ot(T)?Br(T):[T],Zt(v,1))}var cr=Ht(function(f,v){return ar(f)?vu(f,Zt(v,1,ar,!0)):[]}),ga=Ht(function(f,v){var T=ra(v);return ar(T)&&(T=r),ar(f)?vu(f,Zt(v,1,ar,!0),Rt(T,2)):[]}),zi=Ht(function(f,v){var T=ra(v);return ar(T)&&(T=r),ar(f)?vu(f,Zt(v,1,ar,!0),r,T):[]});function rn(f,v,T){var k=f==null?0:f.length;return k?(v=T||v===r?1:jt(v),to(f,v<0?0:v,k)):[]}function Um(f,v,T){var k=f==null?0:f.length;return k?(v=T||v===r?1:jt(v),v=k-v,to(f,0,v<0?0:v)):[]}function Lg(f,v){return f&&f.length?wp(f,Rt(v,3),!0,!0):[]}function Im(f,v){return f&&f.length?wp(f,Rt(v,3),!0):[]}function cl(f,v,T,k){var K=f==null?0:f.length;return K?(T&&typeof T!="number"&&Ba(f,v,T)&&(T=0,k=K),It(f,v,T,k)):[]}function za(f,v,T){var k=f==null?0:f.length;if(!k)return-1;var K=T==null?0:jt(T);return K<0&&(K=zn(k+K,0)),Yf(f,Rt(v,3),K)}function Qd(f,v,T){var k=f==null?0:f.length;if(!k)return-1;var K=k-1;return T!==r&&(K=jt(T),K=T<0?zn(k+K,0):Wn(K,k-1)),Yf(f,Rt(v,3),K,!0)}function Xr(f){var v=f==null?0:f.length;return v?Zt(f,1):[]}function jg(f){var v=f==null?0:f.length;return v?Zt(f,W):[]}function Ui(f,v){var T=f==null?0:f.length;return T?(v=v===r?1:jt(v),Zt(f,v)):[]}function dr(f){for(var v=-1,T=f==null?0:f.length,k={};++v<T;){var K=f[v];k[K[0]]=K[1]}return k}function Ru(f){return f&&f.length?f[0]:r}function $o(f,v,T){var k=f==null?0:f.length;if(!k)return-1;var K=T==null?0:jt(T);return K<0&&(K=zn(k+K,0)),cc(f,v,K)}function Hm(f){var v=f==null?0:f.length;return v?to(f,0,-1):[]}var ya=Ht(function(f){var v=dn(f,fs);return v.length&&v[0]===f[0]?pm(v):[]}),Bg=Ht(function(f){var v=ra(f),T=dn(f,fs);return v===ra(T)?v=r:T.pop(),T.length&&T[0]===f[0]?pm(T,Rt(v,2)):[]}),Tu=Ht(function(f){var v=ra(f),T=dn(f,fs);return v=typeof v=="function"?v:r,v&&T.pop(),T.length&&T[0]===f[0]?pm(T,r,v):[]});function Rn(f,v){return f==null?"":Co.call(f,v)}function ra(f){var v=f==null?0:f.length;return v?f[v-1]:r}function Tr(f,v,T){var k=f==null?0:f.length;if(!k)return-1;var K=k;return T!==r&&(K=jt(T),K=K<0?zn(k+K,0):Wn(K,k-1)),v===v?ha(f,v,K):Yf(f,Ed,K,!0)}function Ob(f,v){return f&&f.length?yp(f,jt(v)):r}var zg=Ht(Es);function Es(f,v){return f&&f.length&&v&&v.length?Id(f,v):f}function Ug(f,v,T){return f&&f.length&&v&&v.length?Id(f,v,Rt(T,2)):f}function dl(f,v,T){return f&&f.length&&v&&v.length?Id(f,v,r,T):f}var Ig=Qn(function(f,v){var T=f==null?0:f.length,k=fp(f,v);return bm(f,dn(v,function(K){return No(K,T)?+K:K}).sort(Rp)),k});function Hg(f,v){var T=[];if(!(f&&f.length))return T;var k=-1,K=[],ne=f.length;for(v=Rt(v,3);++k<ne;){var de=f[k];v(de,k,f)&&(T.push(de),K.push(k))}return bm(f,K),T}function Vm(f){return f==null?f:vc.call(f)}function Mn(f,v,T){var k=f==null?0:f.length;return k?(T&&typeof T!="number"&&Ba(f,v,T)?(v=0,T=k):(v=v==null?0:jt(v),T=T===r?k:jt(T)),to(f,v,T)):[]}function Hn(f,v){return $l(f,v)}function on(f,v,T){return Ep(f,v,Rt(T,2))}function un(f,v){var T=f==null?0:f.length;if(T){var k=$l(f,v);if(k<T&&Ia(f[k],v))return k}return-1}function Nn(f,v){return $l(f,v,!0)}function jl(f,v,T){return Ep(f,v,Rt(T,2),!0)}function Ii(f,v){var T=f==null?0:f.length;if(T){var k=$l(f,v,!0)-1;if(Ia(f[k],v))return k}return-1}function Zd(f){return f&&f.length?Sp(f):[]}function Vg(f,v){return f&&f.length?Sp(f,Rt(v,2)):[]}function Au(f){var v=f==null?0:f.length;return v?to(f,1,v):[]}function Ar(f,v,T){return f&&f.length?(v=T||v===r?1:jt(v),to(f,0,v<0?0:v)):[]}function _u(f,v,T){var k=f==null?0:f.length;return k?(v=T||v===r?1:jt(v),v=k-v,to(f,v<0?0:v,k)):[]}function Nc(f,v){return f&&f.length?wp(f,Rt(v,3),!1,!0):[]}function Hi(f,v){return f&&f.length?wp(f,Rt(v,3)):[]}var Po=Ht(function(f){return Oi(Zt(f,1,ar,!0))}),Jd=Ht(function(f){var v=ra(f);return ar(v)&&(v=r),Oi(Zt(f,1,ar,!0),Rt(v,2))}),ef=Ht(function(f){var v=ra(f);return v=typeof v=="function"?v:r,Oi(Zt(f,1,ar,!0),r,v)});function Bl(f){return f&&f.length?Oi(f):[]}function Fg(f,v){return f&&f.length?Oi(f,Rt(v,2)):[]}function Kg(f,v){return v=typeof v=="function"?v:r,f&&f.length?Oi(f,r,v):[]}function tf(f){if(!(f&&f.length))return[];var v=0;return f=Oa(f,function(T){if(ar(T))return v=zn(T.length,v),!0}),Ei(v,function(T){return dn(f,go(T))})}function $c(f,v){if(!(f&&f.length))return[];var T=tf(f);return v==null?T:dn(T,function(k){return tl(v,r,k)})}var Ss=Ht(function(f,v){return ar(f)?vu(f,v):[]}),ba=Ht(function(f){return Hd(Oa(f,ar))}),Vi=Ht(function(f){var v=ra(f);return ar(v)&&(v=r),Hd(Oa(f,ar),Rt(v,2))}),nf=Ht(function(f){var v=ra(f);return v=typeof v=="function"?v:r,Hd(Oa(f,ar),r,v)}),xa=Ht(tf);function Fm(f,v){return Dg(f||[],v||[],us)}function Km(f,v){return Dg(f||[],v||[],yu)}var Gg=Ht(function(f){var v=f.length,T=v>1?f[v-1]:r;return T=typeof T=="function"?(f.pop(),T):r,$c(f,T)});function Pc(f){var v=Z(f);return v.__chain__=!0,v}function Yg(f,v){return v(f),f}function Ua(f,v){return v(f)}var Xg=Qn(function(f){var v=f.length,T=v?f[0]:0,k=this.__wrapped__,K=function(ne){return fp(ne,f)};return v>1||this.__actions__.length||!(k instanceof nn)||!No(T)?this.thru(K):(k=k.slice(T,+T+(v?1:0)),k.__actions__.push({func:Ua,args:[K],thisArg:r}),new ll(k,this.__chain__).thru(function(ne){return v&&!ne.length&&ne.push(r),ne}))});function ro(){return Pc(this)}function rf(){return new ll(this.value(),this.__chain__)}function $p(){this.__values__===r&&(this.__values__=yr(this.value()));var f=this.__index__>=this.__values__.length,v=f?r:this.__values__[this.__index__++];return{done:f,value:v}}function Nb(){return this}function Du(f){for(var v,T=this;T instanceof Jl;){var k=zr(T);k.__index__=0,k.__values__=r,v?K.__wrapped__=k:v=k;var K=k;T=T.__wrapped__}return K.__wrapped__=f,v}function qc(){var f=this.__wrapped__;if(f instanceof nn){var v=f;return this.__actions__.length&&(v=new nn(this)),v=v.reverse(),v.__actions__.push({func:Ua,args:[Vm],thisArg:r}),new ll(v,this.__chain__)}return this.thru(Vm)}function ws(){return Ab(this.__wrapped__,this.__actions__)}var Fi=Gr(function(f,v,T){yn.call(f,T)?++f[T]:Wo(f,T,1)});function Wg(f,v,T){var k=Ot(f)?ug:qd;return T&&Ba(f,v,T)&&(v=r),k(f,Rt(v,3))}function $b(f,v){var T=Ot(f)?Oa:Cn;return T(f,Rt(v,3))}var kc=Zo(za),Lc=Zo(Qd);function Gm(f,v){return Zt(qp(f,v),1)}function Ym(f,v){return Zt(qp(f,v),W)}function Qg(f,v,T){return T=T===r?1:jt(T),Zt(qp(f,v),T)}function Xm(f,v){var T=Ot(f)?Xl:rr;return T(f,Rt(v,3))}function Wm(f,v){var T=Ot(f)?ig:xc;return T(f,Rt(v,3))}var Zg=Gr(function(f,v,T){yn.call(f,T)?f[T].push(v):Wo(f,T,[v])});function af(f,v,T,k){f=$r(f)?f:Ic(f),T=T&&!k?jt(T):0;var K=f.length;return T<0&&(T=zn(K+T,0)),ov(f)?T<=K&&f.indexOf(v,T)>-1:!!K&&cc(f,v,T)>-1}var Pp=Ht(function(f,v,T){var k=-1,K=typeof v=="function",ne=$r(f)?ze(f.length):[];return rr(f,function(de){ne[++k]=K?tl(v,de,T):Mi(de,v,T)}),ne}),Pb=Gr(function(f,v,T){Wo(f,T,v)});function qp(f,v){var T=Ot(f)?dn:gm;return T(f,Rt(v,3))}function qb(f,v,T,k){return f==null?[]:(Ot(v)||(v=v==null?[]:[v]),T=k?r:T,Ot(T)||(T=T==null?[]:[T]),Ud(f,v,T))}var kp=Gr(function(f,v,T){f[T?0:1].push(v)},function(){return[[],[]]});function Qm(f,v,T){var k=Ot(f)?xd:Qf,K=arguments.length<3;return k(f,Rt(v,4),T,K,rr)}function kb(f,v,T){var k=Ot(f)?sg:Qf,K=arguments.length<3;return k(f,Rt(v,4),T,K,xc)}function Zm(f,v){var T=Ot(f)?Oa:Cn;return T(f,of(Rt(v,3)))}function Jg(f){var v=Ot(f)?is:Nl;return v(f)}function ey(f,v,T){(T?Ba(f,v,T):v===r)?v=1:v=jt(v);var k=Ot(f)?Sg:xp;return k(f,v)}function Ln(f){var v=Ot(f)?wg:Tb;return v(f)}function Jm(f){if(f==null)return 0;if($r(f))return ov(f)?Ql(f):f.length;var v=na(f);return v==St||v==De?f.size:Bd(f).length}function ty(f,v,T){var k=Ot(f)?Na:_g;return T&&Ba(f,v,T)&&(v=r),k(f,Rt(v,3))}var ny=Ht(function(f,v){if(f==null)return[];var T=v.length;return T>1&&Ba(f,v[0],v[1])?v=[]:T>2&&Ba(v[0],v[1],v[2])&&(v=[v[0]]),Ud(f,Zt(v,1),[])}),ev=wo||function(){return Or.Date.now()};function sx(f,v){if(typeof v!="function")throw new Zl(h);return f=jt(f),function(){if(--f<1)return v.apply(this,arguments)}}function Lb(f,v,T){return v=T?r:v,v=f&&v==null?f.length:v,ei(f,V,r,r,r,r,v)}function Lp(f,v){var T;if(typeof v!="function")throw new Zl(h);return f=jt(f),function(){return--f>0&&(T=v.apply(this,arguments)),f<=1&&(v=r),T}}var Ki=Ht(function(f,v,T){var k=q;if(T.length){var K=nl(T,Oo(Ki));k|=F}return ei(f,k,v,T,K)}),lf=Ht(function(f,v,T){var k=q|N;if(T.length){var K=nl(T,Oo(lf));k|=F}return ei(v,k,f,T,K)});function jc(f,v,T){v=T?r:v;var k=ei(f,I,r,r,r,r,r,v);return k.placeholder=jc.placeholder,k}function jp(f,v,T){v=T?r:v;var k=ei(f,G,r,r,r,r,r,v);return k.placeholder=jp.placeholder,k}function Mu(f,v,T){var k,K,ne,de,ye,Ae,et=0,Qe=!1,tt=!1,st=!0;if(typeof f!="function")throw new Zl(h);v=pl(v)||0,On(T)&&(Qe=!!T.leading,tt="maxWait"in T,ne=tt?zn(pl(T.maxWait)||0,v):ne,st="trailing"in T?!!T.trailing:st);function bt(Qr){var qu=k,Gc=K;return k=K=r,et=Qr,de=f.apply(Gc,qu),de}function Dt(Qr){return et=Qr,ye=Wd(sn,v),Qe?bt(Qr):de}function Xt(Qr){var qu=Qr-Ae,Gc=Qr-et,bx=v-qu;return tt?Wn(bx,ne-Gc):bx}function _t(Qr){var qu=Qr-Ae,Gc=Qr-et;return Ae===r||qu>=v||qu<0||tt&&Gc>=ne}function sn(){var Qr=ev();if(_t(Qr))return xn(Qr);ye=Wd(sn,Xt(Qr))}function xn(Qr){return ye=r,st&&k?bt(Qr):(k=K=r,de)}function Lo(){ye!==r&&Sm(ye),et=0,k=Ae=K=ye=r}function Hl(){return ye===r?de:xn(ev())}function jo(){var Qr=ev(),qu=_t(Qr);if(k=arguments,K=this,Ae=Qr,qu){if(ye===r)return Dt(Ae);if(tt)return Sm(ye),ye=Wd(sn,v),bt(Ae)}return ye===r&&(ye=Wd(sn,v)),de}return jo.cancel=Lo,jo.flush=Hl,jo}var zl=Ht(function(f,v){return ss(f,1,v)}),Bp=Ht(function(f,v,T){return ss(f,pl(v)||0,T)});function jb(f){return ei(f,le)}function Cs(f,v){if(typeof f!="function"||v!=null&&typeof v!="function")throw new Zl(h);var T=function(){var k=arguments,K=v?v.apply(this,k):k[0],ne=T.cache;if(ne.has(K))return ne.get(K);var de=f.apply(this,k);return T.cache=ne.set(K,de)||ne,de};return T.cache=new(Cs.Cache||In),T}Cs.Cache=In;function of(f){if(typeof f!="function")throw new Zl(h);return function(){var v=arguments;switch(v.length){case 0:return!f.call(this);case 1:return!f.call(this,v[0]);case 2:return!f.call(this,v[0],v[1]);case 3:return!f.call(this,v[0],v[1],v[2])}return!f.apply(this,v)}}function Bb(f){return Lp(2,f)}var zp=_b(function(f,v){v=v.length==1&&Ot(v[0])?dn(v[0],Cl(Rt())):dn(Zt(v,1),Cl(Rt()));var T=v.length;return Ht(function(k){for(var K=-1,ne=Wn(k.length,T);++K<ne;)k[K]=v[K].call(this,k[K]);return tl(f,this,k)})}),tv=Ht(function(f,v){var T=nl(v,Oo(tv));return ei(f,F,r,v,T)}),Rs=Ht(function(f,v){var T=nl(v,Oo(Rs));return ei(f,H,r,v,T)}),nv=Qn(function(f,v){return ei(f,X,r,r,r,v)});function Up(f,v){if(typeof f!="function")throw new Zl(h);return v=v===r?v:jt(v),Ht(f,v)}function zb(f,v){if(typeof f!="function")throw new Zl(h);return v=v==null?0:zn(jt(v),0),Ht(function(T){var k=T[v],K=xu(T,0,v);return k&&vo(K,k),tl(f,this,K)})}function _r(f,v,T){var k=!0,K=!0;if(typeof f!="function")throw new Zl(h);return On(T)&&(k="leading"in T?!!T.leading:k,K="trailing"in T?!!T.trailing:K),Mu(f,v,{leading:k,maxWait:v,trailing:K})}function Ip(f){return Lb(f,1)}function cx(f,v){return tv(Pl(v),f)}function Gt(){if(!arguments.length)return[];var f=arguments[0];return Ot(f)?f:[f]}function Hp(f){return Lr(f,D)}function Ts(f,v){return v=typeof v=="function"?v:r,Lr(f,D,v)}function Bc(f){return Lr(f,w|D)}function Vt(f,v){return v=typeof v=="function"?v:r,Lr(f,w|D,v)}function uf(f,v){return v==null||Pd(f,v,Ur(v))}function Ia(f,v){return f===v||f!==f&&v!==v}var ry=ms(kd),rv=ms(function(f,v){return f>=v}),aa=pp((function(){return arguments})())?pp:function(f){return Vn(f)&&yn.call(f,"callee")&&!hc.call(f,"callee")},Ot=ze.isArray,sf=Yh?Cl(Yh):ja;function $r(f){return f!=null&&fl(f.length)&&!lo(f)}function ar(f){return Vn(f)&&$r(f)}function ao(f){return f===!0||f===!1||Vn(f)&&ln(f)==Ye}var Gi=ap||gx,Ub=yb?Cl(yb):Cr;function ay(f){return Vn(f)&&f.nodeType===1&&!qo(f)}function av(f){if(f==null)return!0;if($r(f)&&(Ot(f)||typeof f=="string"||typeof f.splice=="function"||Gi(f)||pf(f)||aa(f)))return!f.length;var v=na(f);if(v==St||v==De)return!f.size;if(Tt(f))return!Bd(f).length;for(var T in f)if(yn.call(f,T))return!1;return!0}function Lt(f,v){return gu(f,v)}function Ue(f,v,T){T=typeof T=="function"?T:r;var k=T?T(f,v):r;return k===r?gu(f,v,r,T):!!k}function Pt(f){if(!Vn(f))return!1;var v=ln(f);return v==Le||v==je||typeof f.message=="string"&&typeof f.name=="string"&&!qo(f)}function dx(f){return typeof f=="number"&&mc(f)}function lo(f){if(!On(f))return!1;var v=ln(f);return v==we||v==lt||v==Re||v==Ws}function cf(f){return typeof f=="number"&&f==jt(f)}function fl(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=ee}function On(f){var v=typeof f;return f!=null&&(v=="object"||v=="function")}function Vn(f){return f!=null&&typeof f=="object"}var ai=bb?Cl(bb):jr;function df(f,v){return f===v||Ld(f,v,_p(v))}function Ou(f,v,T){return T=typeof T=="function"?T:r,Ld(f,v,_p(v),T)}function lv(f){return li(f)&&f!=+f}function fx(f){if(Xd(f))throw new Nt(c);return Qo(f)}function Ib(f){return f===null}function px(f){return f==null}function li(f){return typeof f=="number"||Vn(f)&&ln(f)==pn}function qo(f){if(!Vn(f)||ln(f)!=an)return!1;var v=fu(f);if(v===null)return!0;var T=yn.call(v,"constructor")&&v.constructor;return typeof T=="function"&&T instanceof T&&Td.call(T)==Rl}var ff=xb?Cl(xb):mp;function Vp(f){return cf(f)&&f>=-ee&&f<=ee}var zc=bd?Cl(bd):mm;function ov(f){return typeof f=="string"||!Ot(f)&&Vn(f)&&ln(f)==Fe}function Ea(f){return typeof f=="symbol"||Vn(f)&&ln(f)==it}var pf=og?Cl(og):vm;function oi(f){return f===r}function As(f){return Vn(f)&&na(f)==rt}function Sa(f){return Vn(f)&&ln(f)==mt}var dt=ms(vp),Ul=ms(function(f,v){return f<=v});function yr(f){if(!f)return[];if($r(f))return ov(f)?ea(f):Br(f);if(pu&&f[pu])return wd(f[pu]());var v=na(f),T=v==St?Jf:v==De?Eo:Ic;return T(f)}function fr(f){if(!f)return f===0?f:0;if(f=pl(f),f===W||f===-W){var v=f<0?-1:1;return v*me}return f===f?f:0}function jt(f){var v=fr(f),T=v%1;return v===v?T?v-T:v:0}function Yi(f){return f?_o(jt(f),0,be):0}function pl(f){if(typeof f=="number")return f;if(Ea(f))return Y;if(On(f)){var v=typeof f.valueOf=="function"?f.valueOf():f;f=On(v)?v+"":v}if(typeof f!="string")return f===0?f:+f;f=ns(f);var T=Fr.test(f);return T||Yl.test(f)?gb(f.slice(2),T?2:8):au.test(f)?Y:+f}function Fp(f){return ul(f,Wr(f))}function wa(f){return f?_o(jt(f),-ee,ee):f===0?f:0}function Yt(f){return f==null?"":Kr(f)}var Nu=ps(function(f,v){if(Tt(v)||$r(v)){ul(v,Ur(v),f);return}for(var T in v)yn.call(v,T)&&us(f,T,v[T])}),Kp=ps(function(f,v){ul(v,Wr(v),f)}),ii=ps(function(f,v,T,k){ul(v,Wr(v),f,k)}),Ha=ps(function(f,v,T,k){ul(v,Ur(v),f,k)}),Il=Qn(fp);function _s(f,v){var T=Dl(f);return v==null?T:Xo(T,v)}var ly=Ht(function(f,v){f=fn(f);var T=-1,k=v.length,K=k>2?v[2]:r;for(K&&Ba(v[0],v[1],K)&&(k=1);++T<k;)for(var ne=v[T],de=Wr(ne),ye=-1,Ae=de.length;++ye<Ae;){var et=de[ye],Qe=f[et];(Qe===r||Ia(Qe,pc[et])&&!yn.call(f,et))&&(f[et]=ne[et])}return f}),Hb=Ht(function(f){return f.push(r,_m),tl(yf,r,f)});function hf(f,v){return Wh(f,Rt(v,3),va)}function mf(f,v){return Wh(f,Rt(v,3),eo)}function vf(f,v){return f==null?f:Ec(f,Rt(v,3),Wr)}function Vb(f,v){return f==null?f:Ol(f,Rt(v,3),Wr)}function ko(f,v){return f&&va(f,Rt(v,3))}function Uc(f,v){return f&&eo(f,Rt(v,3))}function Fb(f){return f==null?[]:La(f,Ur(f))}function iv(f){return f==null?[]:La(f,Wr(f))}function gf(f,v,T){var k=f==null?r:il(f,v);return k===r?T:k}function uv(f,v){return f!=null&&Dp(f,v,fm)}function Xi(f,v){return f!=null&&Dp(f,v,cs)}var oy=Vd(function(f,v,T){v!=null&&typeof v.toString!="function"&&(v=Pa.call(v)),f[v]=T},Oe(Ne)),iy=Vd(function(f,v,T){v!=null&&typeof v.toString!="function"&&(v=Pa.call(v)),yn.call(f,v)?f[v].push(T):f[v]=[T]},Rt),Kb=Ht(Mi);function Ur(f){return $r(f)?sm(f):Bd(f)}function Wr(f){return $r(f)?sm(f,!0):Rg(f)}function Gb(f,v){var T={};return v=Rt(v,3),va(f,function(k,K,ne){Wo(T,v(k,K,ne),k)}),T}function Yb(f,v){var T={};return v=Rt(v,3),va(f,function(k,K,ne){Wo(T,K,v(k,K,ne))}),T}var uy=ps(function(f,v,T){Sc(f,v,T)}),yf=ps(function(f,v,T,k){Sc(f,v,T,k)}),bf=Qn(function(f,v){var T={};if(f==null)return T;var k=!1;v=dn(v,function(ne){return ne=Ni(ne,f),k||(k=ne.length>1),ne}),ul(f,ti(f),T),k&&(T=Lr(T,w|R|D,kl));for(var K=v.length;K--;)wc(T,v[K]);return T});function Gp(f,v){return hl(f,of(Rt(v)))}var oo=Qn(function(f,v){return f==null?{}:ym(f,v)});function hl(f,v){if(f==null)return{};var T=dn(ti(f),function(k){return[k]});return v=Rt(v),bp(f,T,function(k,K){return v(k,K[0])})}function hx(f,v,T){v=Ni(v,f);var k=-1,K=v.length;for(K||(K=1,f=r);++k<K;){var ne=f==null?r:f[Dn(v[k])];ne===r&&(k=K,ne=T),f=lo(ne)?ne.call(f):ne}return f}function sy(f,v,T){return f==null?f:yu(f,v,T)}function cy(f,v,T,k){return k=typeof k=="function"?k:r,f==null?f:yu(f,v,T,k)}var sv=Kd(Ur),cv=Kd(Wr);function dv(f,v,T){var k=Ot(f),K=k||Gi(f)||pf(f);if(v=Rt(v,4),T==null){var ne=f&&f.constructor;K?T=k?new ne:[]:On(f)?T=lo(ne)?Dl(fu(f)):{}:T={}}return(K?Xl:va)(f,function(de,ye,Ae){return v(T,de,ye,Ae)}),T}function dy(f,v){return f==null?!0:wc(f,v)}function Yp(f,v,T){return f==null?f:Em(f,v,Pl(T))}function Xb(f,v,T,k){return k=typeof k=="function"?k:r,f==null?f:Em(f,v,Pl(T),k)}function Ic(f){return f==null?[]:Sd(f,Ur(f))}function fy(f){return f==null?[]:Sd(f,Wr(f))}function fv(f,v,T){return T===r&&(T=v,v=r),T!==r&&(T=pl(T),T=T===T?T:0),v!==r&&(v=pl(v),v=v===v?v:0),_o(pl(f),v,T)}function pv(f,v,T){return v=fr(v),T===r?(T=v,v=0):T=fr(T),f=pl(f),Cg(f,v,T)}function py(f,v,T){if(T&&typeof T!="boolean"&&Ba(f,v,T)&&(v=T=r),T===r&&(typeof v=="boolean"?(T=v,v=r):typeof f=="boolean"&&(T=f,f=r)),f===r&&v===r?(f=0,v=1):(f=fr(f),v===r?(v=f,f=0):v=fr(v)),f>v){var k=f;f=v,v=k}if(T||f%1||v%1){var K=lp();return Wn(f+K*(v-f+Gf("1e-"+((K+"").length-1))),v)}return Do(f,v)}var hy=Nr(function(f,v,T){return v=v.toLowerCase(),f+(T?Hc(v):v)});function Hc(f){return g(Yt(f).toLowerCase())}function ui(f){return f=Yt(f),f&&f.replace(Xu,Si).replace(yi,"")}function $u(f,v,T){f=Yt(f),v=Kr(v);var k=f.length;T=T===r?k:_o(jt(T),0,k);var K=T;return T-=v.length,T>=0&&f.slice(T,K)==v}function Pu(f){return f=Yt(f),f&&Zs.test(f)?f.replace(gi,fg):f}function Xp(f){return f=Yt(f),f&&Za.test(f)?f.replace(kr,"\\$&"):f}var Wp=Nr(function(f,v,T){return f+(T?"-":"")+v.toLowerCase()}),Ds=Nr(function(f,v,T){return f+(T?" ":"")+v.toLowerCase()}),Wb=ql("toLowerCase");function Vc(f,v,T){f=Yt(f),v=jt(v);var k=v?Ql(f):0;if(!v||k>=v)return f;var K=(v-k)/2;return Su(Go(K),T)+f+Su(Xn(K),T)}function Fc(f,v,T){f=Yt(f),v=jt(v);var k=v?Ql(f):0;return v&&k<v?f+Su(v-k,T):f}function Qb(f,v,T){f=Yt(f),v=jt(v);var k=v?Ql(f):0;return v&&k<v?Su(v-k,T)+f:f}function my(f,v,T){return T||v==null?v=0:v&&(v=+v),hn(Yt(f).replace(Gu,""),v||0)}function Qp(f,v,T){return(T?Ba(f,v,T):v===r)?v=1:v=jt(v),Ag(Yt(f),v)}function Zp(){var f=arguments,v=Yt(f[0]);return f.length<3?v:v.replace(f[1],f[2])}var xf=Nr(function(f,v,T){return f+(T?"_":"")+v.toLowerCase()});function hv(f,v,T){return T&&typeof T!="number"&&Ba(f,v,T)&&(v=T=r),T=T===r?be:T>>>0,T?(f=Yt(f),f&&(typeof v=="string"||v!=null&&!ff(v))&&(v=Kr(v),!v&&xo(f))?xu(ea(f),0,T):f.split(v,T)):[]}var Kc=Nr(function(f,v,T){return f+(T?" ":"")+g(v)});function vy(f,v,T){return f=Yt(f),T=T==null?0:_o(jt(T),0,f.length),v=Kr(v),f.slice(T,T+v.length)==v}function Wi(f,v,T){var k=Z.templateSettings;T&&Ba(f,v,T)&&(v=r),f=Yt(f),v=ii({},v,k,Am);var K=ii({},v.imports,k.imports,Am),ne=Ur(K),de=Sd(K,ne),ye,Ae,et=0,Qe=v.interpolate||Bf,tt="__p += '",st=Zh((v.escape||Bf).source+"|"+Qe.source+"|"+(Qe===at?ec:Bf).source+"|"+(v.evaluate||Bf).source+"|$","g"),bt="//# sourceURL="+(yn.call(v,"sourceURL")?(v.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ag+"]")+`
|
|
332
|
+
`;f.replace(st,function(_t,sn,xn,Lo,Hl,jo){return xn||(xn=Lo),tt+=f.slice(et,jo).replace(jh,pg),sn&&(ye=!0,tt+=`' +
|
|
333
|
+
__e(`+sn+`) +
|
|
334
|
+
'`),Hl&&(Ae=!0,tt+=`';
|
|
335
|
+
`+Hl+`;
|
|
336
|
+
__p += '`),xn&&(tt+=`' +
|
|
337
|
+
((__t = (`+xn+`)) == null ? '' : __t) +
|
|
338
|
+
'`),et=jo+_t.length,_t}),tt+=`';
|
|
339
|
+
`;var Dt=yn.call(v,"variable")&&v.variable;if(!Dt)tt=`with (obj) {
|
|
340
|
+
`+tt+`
|
|
341
|
+
}
|
|
342
|
+
`;else if(Lf.test(Dt))throw new Nt(m);tt=(Ae?tt.replace(gr,""):tt).replace(vi,"$1").replace(ru,"$1;"),tt="function("+(Dt||"obj")+`) {
|
|
343
|
+
`+(Dt?"":`obj || (obj = {});
|
|
344
|
+
`)+"var __t, __p = ''"+(ye?", __e = _.escape":"")+(Ae?`, __j = Array.prototype.join;
|
|
345
|
+
function print() { __p += __j.call(arguments, '') }
|
|
346
|
+
`:`;
|
|
347
|
+
`)+tt+`return __p
|
|
348
|
+
}`;var Xt=A(function(){return zt(ne,bt+"return "+tt).apply(r,de)});if(Xt.source=tt,Pt(Xt))throw Xt;return Xt}function gy(f){return Yt(f).toLowerCase()}function mv(f){return Yt(f).toUpperCase()}function yy(f,v,T){if(f=Yt(f),f&&(T||v===r))return ns(f);if(!f||!(v=Kr(v)))return f;var k=ea(f),K=ea(v),ne=yo(k,K),de=bo(k,K)+1;return xu(k,ne,de).join("")}function ml(f,v,T){if(f=Yt(f),f&&(T||v===r))return f.slice(0,Yn(f)+1);if(!f||!(v=Kr(v)))return f;var k=ea(f),K=bo(k,ea(v))+1;return xu(k,0,K).join("")}function Jp(f,v,T){if(f=Yt(f),f&&(T||v===r))return f.replace(Gu,"");if(!f||!(v=Kr(v)))return f;var k=ea(f),K=yo(k,ea(v));return xu(k,K).join("")}function o(f,v){var T=xe,k=Q;if(On(v)){var K="separator"in v?v.separator:K;T="length"in v?jt(v.length):T,k="omission"in v?Kr(v.omission):k}f=Yt(f);var ne=f.length;if(xo(f)){var de=ea(f);ne=de.length}if(T>=ne)return f;var ye=T-Ql(k);if(ye<1)return k;var Ae=de?xu(de,0,ye).join(""):f.slice(0,ye);if(K===r)return Ae+k;if(de&&(ye+=Ae.length-ye),ff(K)){if(f.slice(ye).search(K)){var et,Qe=Ae;for(K.global||(K=Zh(K.source,Yt(sd.exec(K))+"g")),K.lastIndex=0;et=K.exec(Qe);)var tt=et.index;Ae=Ae.slice(0,tt===r?ye:tt)}}else if(f.indexOf(Kr(K),ye)!=ye){var st=Ae.lastIndexOf(K);st>-1&&(Ae=Ae.slice(0,st))}return Ae+k}function s(f){return f=Yt(f),f&&Ph.test(f)?f.replace(Vo,tp):f}var d=Nr(function(f,v,T){return f+(T?" ":"")+v.toUpperCase()}),g=ql("toUpperCase");function C(f,v,T){return f=Yt(f),v=T?r:v,v===r?hg(f)?fc(f):sc(f):f.match(v)||[]}var A=Ht(function(f,v){try{return tl(f,r,v)}catch(T){return Pt(T)?T:new Nt(T)}}),z=Qn(function(f,v){return Xl(v,function(T){T=Dn(T),Wo(f,T,Ki(f[T],f))}),f});function J(f){var v=f==null?0:f.length,T=Rt();return f=v?dn(f,function(k){if(typeof k[1]!="function")throw new Zl(h);return[T(k[0]),k[1]]}):[],Ht(function(k){for(var K=-1;++K<v;){var ne=f[K];if(tl(ne[0],this,k))return tl(ne[1],this,k)}})}function ce(f){return cm(Lr(f,w))}function Oe(f){return function(){return f}}function We(f,v){return f==null||f!==f?v:f}var Je=Mo(),ke=Mo(!0);function Ne(f){return f}function Ct(f){return jd(typeof f=="function"?f:Lr(f,w))}function At(f){return gp(Lr(f,w))}function Tn(f,v){return zd(f,Lr(v,w))}var Te=Ht(function(f,v){return function(T){return Mi(T,f,v)}}),Ee=Ht(function(f,v){return function(T){return Mi(f,T,v)}});function Me(f,v,T){var k=Ur(v),K=La(v,k);T==null&&!(On(v)&&(K.length||!k.length))&&(T=v,v=f,f=this,K=La(v,Ur(v)));var ne=!(On(T)&&"chain"in T)||!!T.chain,de=lo(f);return Xl(K,function(ye){var Ae=v[ye];f[ye]=Ae,de&&(f.prototype[ye]=function(){var et=this.__chain__;if(ne||et){var Qe=f(this.__wrapped__),tt=Qe.__actions__=Br(this.__actions__);return tt.push({func:Ae,args:arguments,thisArg:f}),Qe.__chain__=et,Qe}return Ae.apply(f,vo([this.value()],arguments))})}),f}function Ze(){return Or._===this&&(Or._=as),this}function pt(){}function Jt(f){return f=jt(f),Ht(function(v){return yp(v,f)})}var wt=Fd(dn),$t=Fd(ug),la=Fd(Na);function mn(f){return qm(f)?go(Dn(f)):Tg(f)}function Ms(f){return function(v){return f==null?r:il(f,v)}}var mx=wu(),NT=wu(!0);function vx(){return[]}function gx(){return!1}function Hw(){return{}}function $T(){return""}function PT(){return!0}function qT(f,v){if(f=jt(f),f<1||f>ee)return[];var T=be,k=Wn(f,be);v=Rt(v),f-=be;for(var K=Ei(k,v);++T<f;)v(T);return K}function kT(f){return Ot(f)?dn(f,Dn):Ea(f)?[f]:Br(ri(Yt(f)))}function LT(f){var v=++So;return Yt(f)+v}var jT=Jo(function(f,v){return f+v},0),BT=Tp("ceil"),Vw=Jo(function(f,v){return f/v},1),zT=Tp("floor");function UT(f){return f&&f.length?ol(f,Ne,kd):r}function IT(f,v){return f&&f.length?ol(f,Rt(v,2),kd):r}function HT(f){return Qh(f,Ne)}function VT(f,v){return Qh(f,Rt(v,2))}function FT(f){return f&&f.length?ol(f,Ne,vp):r}function KT(f,v){return f&&f.length?ol(f,Rt(v,2),vp):r}var GT=Jo(function(f,v){return f*v},1),YT=Tp("round"),Fw=Jo(function(f,v){return f-v},0);function yx(f){return f&&f.length?xi(f,Ne):0}function by(f,v){return f&&f.length?xi(f,Rt(v,2)):0}return Z.after=sx,Z.ary=Lb,Z.assign=Nu,Z.assignIn=Kp,Z.assignInWith=ii,Z.assignWith=Ha,Z.at=Il,Z.before=Lp,Z.bind=Ki,Z.bindAll=z,Z.bindKey=lf,Z.castArray=Gt,Z.chain=Pc,Z.chunk=Pg,Z.compact=qg,Z.concat=kg,Z.cond=J,Z.conforms=ce,Z.constant=Oe,Z.countBy=Fi,Z.create=_s,Z.curry=jc,Z.curryRight=jp,Z.debounce=Mu,Z.defaults=ly,Z.defaultsDeep=Hb,Z.defer=zl,Z.delay=Bp,Z.difference=cr,Z.differenceBy=ga,Z.differenceWith=zi,Z.drop=rn,Z.dropRight=Um,Z.dropRightWhile=Lg,Z.dropWhile=Im,Z.fill=cl,Z.filter=$b,Z.flatMap=Gm,Z.flatMapDeep=Ym,Z.flatMapDepth=Qg,Z.flatten=Xr,Z.flattenDeep=jg,Z.flattenDepth=Ui,Z.flip=jb,Z.flow=Je,Z.flowRight=ke,Z.fromPairs=dr,Z.functions=Fb,Z.functionsIn=iv,Z.groupBy=Zg,Z.initial=Hm,Z.intersection=ya,Z.intersectionBy=Bg,Z.intersectionWith=Tu,Z.invert=oy,Z.invertBy=iy,Z.invokeMap=Pp,Z.iteratee=Ct,Z.keyBy=Pb,Z.keys=Ur,Z.keysIn=Wr,Z.map=qp,Z.mapKeys=Gb,Z.mapValues=Yb,Z.matches=At,Z.matchesProperty=Tn,Z.memoize=Cs,Z.merge=uy,Z.mergeWith=yf,Z.method=Te,Z.methodOf=Ee,Z.mixin=Me,Z.negate=of,Z.nthArg=Jt,Z.omit=bf,Z.omitBy=Gp,Z.once=Bb,Z.orderBy=qb,Z.over=wt,Z.overArgs=zp,Z.overEvery=$t,Z.overSome=la,Z.partial=tv,Z.partialRight=Rs,Z.partition=kp,Z.pick=oo,Z.pickBy=hl,Z.property=mn,Z.propertyOf=Ms,Z.pull=zg,Z.pullAll=Es,Z.pullAllBy=Ug,Z.pullAllWith=dl,Z.pullAt=Ig,Z.range=mx,Z.rangeRight=NT,Z.rearg=nv,Z.reject=Zm,Z.remove=Hg,Z.rest=Up,Z.reverse=Vm,Z.sampleSize=ey,Z.set=sy,Z.setWith=cy,Z.shuffle=Ln,Z.slice=Mn,Z.sortBy=ny,Z.sortedUniq=Zd,Z.sortedUniqBy=Vg,Z.split=hv,Z.spread=zb,Z.tail=Au,Z.take=Ar,Z.takeRight=_u,Z.takeRightWhile=Nc,Z.takeWhile=Hi,Z.tap=Yg,Z.throttle=_r,Z.thru=Ua,Z.toArray=yr,Z.toPairs=sv,Z.toPairsIn=cv,Z.toPath=kT,Z.toPlainObject=Fp,Z.transform=dv,Z.unary=Ip,Z.union=Po,Z.unionBy=Jd,Z.unionWith=ef,Z.uniq=Bl,Z.uniqBy=Fg,Z.uniqWith=Kg,Z.unset=dy,Z.unzip=tf,Z.unzipWith=$c,Z.update=Yp,Z.updateWith=Xb,Z.values=Ic,Z.valuesIn=fy,Z.without=Ss,Z.words=C,Z.wrap=cx,Z.xor=ba,Z.xorBy=Vi,Z.xorWith=nf,Z.zip=xa,Z.zipObject=Fm,Z.zipObjectDeep=Km,Z.zipWith=Gg,Z.entries=sv,Z.entriesIn=cv,Z.extend=Kp,Z.extendWith=ii,Me(Z,Z),Z.add=jT,Z.attempt=A,Z.camelCase=hy,Z.capitalize=Hc,Z.ceil=BT,Z.clamp=fv,Z.clone=Hp,Z.cloneDeep=Bc,Z.cloneDeepWith=Vt,Z.cloneWith=Ts,Z.conformsTo=uf,Z.deburr=ui,Z.defaultTo=We,Z.divide=Vw,Z.endsWith=$u,Z.eq=Ia,Z.escape=Pu,Z.escapeRegExp=Xp,Z.every=Wg,Z.find=kc,Z.findIndex=za,Z.findKey=hf,Z.findLast=Lc,Z.findLastIndex=Qd,Z.findLastKey=mf,Z.floor=zT,Z.forEach=Xm,Z.forEachRight=Wm,Z.forIn=vf,Z.forInRight=Vb,Z.forOwn=ko,Z.forOwnRight=Uc,Z.get=gf,Z.gt=ry,Z.gte=rv,Z.has=uv,Z.hasIn=Xi,Z.head=Ru,Z.identity=Ne,Z.includes=af,Z.indexOf=$o,Z.inRange=pv,Z.invoke=Kb,Z.isArguments=aa,Z.isArray=Ot,Z.isArrayBuffer=sf,Z.isArrayLike=$r,Z.isArrayLikeObject=ar,Z.isBoolean=ao,Z.isBuffer=Gi,Z.isDate=Ub,Z.isElement=ay,Z.isEmpty=av,Z.isEqual=Lt,Z.isEqualWith=Ue,Z.isError=Pt,Z.isFinite=dx,Z.isFunction=lo,Z.isInteger=cf,Z.isLength=fl,Z.isMap=ai,Z.isMatch=df,Z.isMatchWith=Ou,Z.isNaN=lv,Z.isNative=fx,Z.isNil=px,Z.isNull=Ib,Z.isNumber=li,Z.isObject=On,Z.isObjectLike=Vn,Z.isPlainObject=qo,Z.isRegExp=ff,Z.isSafeInteger=Vp,Z.isSet=zc,Z.isString=ov,Z.isSymbol=Ea,Z.isTypedArray=pf,Z.isUndefined=oi,Z.isWeakMap=As,Z.isWeakSet=Sa,Z.join=Rn,Z.kebabCase=Wp,Z.last=ra,Z.lastIndexOf=Tr,Z.lowerCase=Ds,Z.lowerFirst=Wb,Z.lt=dt,Z.lte=Ul,Z.max=UT,Z.maxBy=IT,Z.mean=HT,Z.meanBy=VT,Z.min=FT,Z.minBy=KT,Z.stubArray=vx,Z.stubFalse=gx,Z.stubObject=Hw,Z.stubString=$T,Z.stubTrue=PT,Z.multiply=GT,Z.nth=Ob,Z.noConflict=Ze,Z.noop=pt,Z.now=ev,Z.pad=Vc,Z.padEnd=Fc,Z.padStart=Qb,Z.parseInt=my,Z.random=py,Z.reduce=Qm,Z.reduceRight=kb,Z.repeat=Qp,Z.replace=Zp,Z.result=hx,Z.round=YT,Z.runInContext=Ce,Z.sample=Jg,Z.size=Jm,Z.snakeCase=xf,Z.some=ty,Z.sortedIndex=Hn,Z.sortedIndexBy=on,Z.sortedIndexOf=un,Z.sortedLastIndex=Nn,Z.sortedLastIndexBy=jl,Z.sortedLastIndexOf=Ii,Z.startCase=Kc,Z.startsWith=vy,Z.subtract=Fw,Z.sum=yx,Z.sumBy=by,Z.template=Wi,Z.times=qT,Z.toFinite=fr,Z.toInteger=jt,Z.toLength=Yi,Z.toLower=gy,Z.toNumber=pl,Z.toSafeInteger=wa,Z.toString=Yt,Z.toUpper=mv,Z.trim=yy,Z.trimEnd=ml,Z.trimStart=Jp,Z.truncate=o,Z.unescape=s,Z.uniqueId=LT,Z.upperCase=d,Z.upperFirst=g,Z.each=Xm,Z.eachRight=Wm,Z.first=Ru,Me(Z,(function(){var f={};return va(Z,function(v,T){yn.call(Z.prototype,T)||(f[T]=v)}),f})(),{chain:!1}),Z.VERSION=l,Xl(["bind","bindKey","curry","curryRight","partial","partialRight"],function(f){Z[f].placeholder=Z}),Xl(["drop","take"],function(f,v){nn.prototype[f]=function(T){T=T===r?1:zn(jt(T),0);var k=this.__filtered__&&!v?new nn(this):this.clone();return k.__filtered__?k.__takeCount__=Wn(T,k.__takeCount__):k.__views__.push({size:Wn(T,be),type:f+(k.__dir__<0?"Right":"")}),k},nn.prototype[f+"Right"]=function(T){return this.reverse()[f](T).reverse()}}),Xl(["filter","map","takeWhile"],function(f,v){var T=v+1,k=T==ae||T==L;nn.prototype[f]=function(K){var ne=this.clone();return ne.__iteratees__.push({iteratee:Rt(K,3),type:T}),ne.__filtered__=ne.__filtered__||k,ne}}),Xl(["head","last"],function(f,v){var T="take"+(v?"Right":"");nn.prototype[f]=function(){return this[T](1).value()[0]}}),Xl(["initial","tail"],function(f,v){var T="drop"+(v?"":"Right");nn.prototype[f]=function(){return this.__filtered__?new nn(this):this[T](1)}}),nn.prototype.compact=function(){return this.filter(Ne)},nn.prototype.find=function(f){return this.filter(f).head()},nn.prototype.findLast=function(f){return this.reverse().find(f)},nn.prototype.invokeMap=Ht(function(f,v){return typeof f=="function"?new nn(this):this.map(function(T){return Mi(T,f,v)})}),nn.prototype.reject=function(f){return this.filter(of(Rt(f)))},nn.prototype.slice=function(f,v){f=jt(f);var T=this;return T.__filtered__&&(f>0||v<0)?new nn(T):(f<0?T=T.takeRight(-f):f&&(T=T.drop(f)),v!==r&&(v=jt(v),T=v<0?T.dropRight(-v):T.take(v-f)),T)},nn.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},nn.prototype.toArray=function(){return this.take(be)},va(nn.prototype,function(f,v){var T=/^(?:filter|find|map|reject)|While$/.test(v),k=/^(?:head|last)$/.test(v),K=Z[k?"take"+(v=="last"?"Right":""):v],ne=k||/^find/.test(v);K&&(Z.prototype[v]=function(){var de=this.__wrapped__,ye=k?[1]:arguments,Ae=de instanceof nn,et=ye[0],Qe=Ae||Ot(de),tt=function(sn){var xn=K.apply(Z,vo([sn],ye));return k&&st?xn[0]:xn};Qe&&T&&typeof et=="function"&&et.length!=1&&(Ae=Qe=!1);var st=this.__chain__,bt=!!this.__actions__.length,Dt=ne&&!st,Xt=Ae&&!bt;if(!ne&&Qe){de=Xt?de:new nn(this);var _t=f.apply(de,ye);return _t.__actions__.push({func:Ua,args:[tt],thisArg:r}),new ll(_t,st)}return Dt&&Xt?f.apply(this,ye):(_t=this.thru(tt),Dt?k?_t.value()[0]:_t.value():_t)})}),Xl(["pop","push","shift","sort","splice","unshift"],function(f){var v=Cd[f],T=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",k=/^(?:pop|shift)$/.test(f);Z.prototype[f]=function(){var K=arguments;if(k&&!this.__chain__){var ne=this.value();return v.apply(Ot(ne)?ne:[],K)}return this[T](function(de){return v.apply(Ot(de)?de:[],K)})}}),va(nn.prototype,function(f,v){var T=Z[v];if(T){var k=T.name+"";yn.call(_l,k)||(_l[k]=[]),_l[k].push({name:v,func:T})}}),_l[_n(r,N).name]=[{name:"wrapper",func:r}],nn.prototype.clone=Od,nn.prototype.reverse=ip,nn.prototype.value=ls,Z.prototype.at=Xg,Z.prototype.chain=ro,Z.prototype.commit=rf,Z.prototype.next=$p,Z.prototype.plant=Du,Z.prototype.reverse=qc,Z.prototype.toJSON=Z.prototype.valueOf=Z.prototype.value=ws,Z.prototype.first=Z.prototype.head,pu&&(Z.prototype[pu]=Nb),Z}),$a=wi();cu?((cu.exports=$a)._=$a,su._=$a):Or._=$a}).call(Ate)})(VS,VS.exports)),VS.exports}var ir=_te();const Dte=({view:e,setView:t,value:r,previousMonth:l,nextMonth:i,previousYear:c,nextYear:h,previousDecade:m,nextDecade:y,goBackProps:x,goNextProps:S,changeViewProps:w})=>{const R=e==="month",D=e==="year",$=e==="decade",O=()=>{if($)return m();if(D)return c();l()},q=()=>{if($)return y();if(D)return h();i()},N=()=>{if(R)return t("year");if(D)return t("decade")},U=()=>$?I():D?Kl(r,"yyyy"):Kl(r,"MMMM yyyy",{locale:Tte}),I=()=>{if(!r)return"";const F=Sk({start:qk(r),end:wk(r)}),H=ir.first(F),V=ir.last(F);return`${Kl(H,"yyyy")} - ${Kl(V,"yyyy")}`},G=j.useMemo(U,[r,e]);return M.jsx(M.Fragment,{children:M.jsxs("div",{className:"flex items-center justify-between","data-slot":"calendar-navigation",children:[M.jsxs(Uo,{onClick:O,size:"icon",variant:"ghost",className:"border w-6 opacity-50 hover:opacity-100","data-slot":"calendar-navigation-back",...x,children:[M.jsx(XD,{className:"h-4 w-4","data-slot":"calendar-navigation-back-icon"}),M.jsx("span",{className:"sr-only",children:"Ir a anterior"})]}),M.jsx("button",{onClick:N,disabled:$,...w,type:"button",className:Ve("font-semibold pb-px text-gray-900 text-lg text-blue-bell select-none min-w-[60%] capitalize",w?.className),"data-slot":"calendar-navigation-label",children:G}),M.jsxs(Uo,{onClick:q,size:"icon",variant:"ghost",className:"border w-6 opacity-50 hover:opacity-100","data-slot":"calendar-navigation-next",...S,children:[M.jsx(vw,{className:"h-4 w-4","data-slot":"calendar-navigation-next-icon"}),M.jsx("span",{className:"sr-only",children:"Ir a siguiente"})]})]})})};function Hv(e){return!!(e&&typeof e=="object"&&"start"in e&&"end"in e)}function Mte(e,t){return{selectMultipleDate:i=>{if(!e)return t([i]);const c=ir.findIndex(e,m=>Wy(m,i));if(c===-1)return t([...e,i]);const h=[...e.slice(0,c),...e.slice(c+1)];t(h)},isMultipleSelected:i=>ir.isArray(e)&&e.some(c=>Wy(c,i))}}function Ote(e,t,r){const l=y=>{if(e?.start){const{start:S,end:w}=e;if(YJ(y,S)||S&&w){t({start:y,end:void 0});return}if(i(S,y))return;t({start:S,end:y})}else t({start:y,end:void 0})},i=(y,x)=>!r||!y||!x?!1:Ek({start:Iv(y),end:x}).some(R=>r(R));return{selectRangeDate:l,isInRange:y=>{if(!Hv(e)||!e)return!1;const{start:x,end:S}=e;return x&&!S?Wy(y,x):!x||!S?!1:Gee(y,{start:Iv(x),end:Iv(S)})},isFirstDayFromRange:y=>!e||!Hv(e)||!e.start?!1:Wy(y,e.start),isLastDayFromRange:y=>!e||!Hv(e)||!e.end?!1:Wy(y,e.end)}}function Nte(e,t){return{selectSingleDate:i=>{t(i)},isSingleSelected:i=>Bv(e)&&Wy(i,e)}}const kk=j.createContext({defaultStartDate:new Date,mode:"single",isSingleMode:!1,isRangeMode:!1,selected:null,selectDate:()=>{},isSelected:()=>!1,isFirstDayFromRange:()=>!1,isLastDayFromRange:()=>!1,isInRange:()=>!1});function $te(e){const{mode:t,value:r,defaultValue:l,onChange:i,disabled:c}=e,h=t==="single",m=t==="range",y=t==="multiple",[x=null,S]=vr({prop:r,onChange:i,defaultProp:l}),{selectSingleDate:w,isSingleSelected:R}=Nte(Bv(x)?x:void 0,S),{selectRangeDate:D,isInRange:$,...O}=Ote(Hv(x)?x:void 0,S,c),{selectMultipleDate:q,isMultipleSelected:N}=Mte(ir.isArray(x)?x:void 0,S),U=F=>{if(h)return w(F);if(m)return D(F);if(y)return q(F)},I=F=>h?R(F):m?$(F):y?N(F):!1;return{defaultStartDate:Bv(x)?x:ir.isArray(x)?x[0]:Hv(x)&&x.start?x.start:new Date,isSingleMode:h,isRangeMode:m,selected:x,isSelected:I,selectDate:U,isInRange:$,mode:t,...O}}const Pte=({day:e,navigationDate:t,className:r,...l})=>{const{isSelected:i,mode:c,selected:h,isRangeMode:m,selectDate:y,isFirstDayFromRange:x,isLastDayFromRange:S}=j.useContext(kk),w=j.useMemo(()=>i(e),[e,h]),R=!w&&!Fee(e,t),D=!w&&KZ(e);return M.jsx("button",{...l,onClick:()=>y(e),type:"button","data-slot":"calendar-day","data-state-mode":c,"data-state-today":Kee(e)||void 0,"data-state-selected":w||void 0,"data-state-different-month":R||void 0,"data-state-weekend":D||void 0,"data-state-range-mode":m||void 0,"data-state-first-day":x(e)||void 0,"data-state-last-day":S(e)||void 0,"data-state-in-range":m&&w||void 0,className:Ve("mx-auto flex pt-px rounded-md items-center justify-center w-full aspect-square hover:bg-accent","data-[state-today]:text-error","data-[state-selected]:bg-primary data-[state-selected]:!text-primary-foreground data-[state-selected]:hover:bg-primary/80","data-[state-different-month]:opacity-50 data-[state-weekend=true]:opacity-50","data-[state-in-range]:not-data-[state-first-day]:not-data-[state-last-day]:rounded-none","data-[state-first-day]:rounded-l-full","data-[state-last-day]:rounded-r-full",r),children:M.jsx("time",{dateTime:Kl(e,"yyyy-MM-dd"),children:Kl(e,"d")})})},qte=({value:e,onChange:t})=>{const r=()=>Sk({start:qk(e),end:wk(e)}),l=c=>{const h=Xee(e,parseInt(Kl(c,"yyyy")));t(h)},i=j.useMemo(r,[e]);return M.jsx("div",{className:"grid grid-cols-3 grow","data-slot":"calendar-decade-view",children:i.map((c,h)=>M.jsx(Uo,{onClick:()=>l(c),className:"h-full rounded-none",type:"button",variant:"ghost","data-slot":"calendar-decade-view-year",children:Kl(c,"yyyy")},h))})},iD=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],Lk=["Lunes","Martes","Miercoles","Jueves","Viernes","Sabado","Domingo"],kte=e=>M.jsx("div",{...e,className:Ve("grid grid-cols-7 font-semibold mt-2 text-xs leading-6 text-center py-1 bg-blue-bell/40 select-none",e.className),"data-slot":"calendar-week-days",children:Lk.map(t=>M.jsx("abbr",{"aria-label":t,"data-slot":"calendar-week-day",children:ir.at(t,0)},t))}),Lte=({navigationDate:e,disabled:t,weekDaysClassName:r,weekDaysProps:l,dayClassName:i,dayProps:c})=>{const h=()=>Ek({start:Th(e,{weekStartsOn:1}),end:eJ(ZZ(e),{weekStartsOn:1})}),m=j.useMemo(h,[e]);return M.jsxs(M.Fragment,{children:[M.jsx(kte,{className:r,...l}),M.jsx("div",{className:"grid grid-cols-7 mt-2 text-sm","data-slot":"calendar-month-view",children:m.map((y,x)=>M.jsx(Pte,{day:y,className:i,...c,navigationDate:e,disabled:t?.(y)},x))})]})},jte=({value:e,onChange:t})=>{const r=l=>{const i=Yee(e,l);t(i)};return M.jsx("div",{className:"grid grid-cols-3 grow","data-slot":"calendar-year-view",children:iD.map(l=>M.jsx(Uo,{type:"button",className:"h-full rounded",onClick:()=>r(iD.indexOf(l)),variant:"ghost","data-slot":"calendar-year-view-month",children:M.jsx("abbr",{"aria-label":`${l} ${Kl(e,"yyyy")}`,children:l})},l))})};function Bte(e=x_()){const[t,r]=j.useState({month:Kl(e||x_(),"MM"),year:Kl(e||x_(),"yyyy")}),l=j.useMemo(()=>Hee(`${t.month}-${t.year}`,"MM-yyyy",new Date),[t]),i=R=>{r({...t,month:Kl(R,"MM")})},c=R=>{r({...t,year:Kl(R,"yyyy")})};return{navigationDate:l,setMonth:i,setYear:c,previousMonth:()=>{const R=aD(l,-1);r({month:Kl(R,"MM"),year:Kl(R,"yyyy")})},nextMonth:()=>{const R=aD(l,1);r({month:Kl(R,"MM"),year:Kl(R,"yyyy")})},previousYear:()=>{const R=XC(l,-1);c(R)},nextYear:()=>{const R=XC(l,1);c(R)},previousDecade:()=>{const R=XC(l,-10);c(R)},nextDecade:()=>{const R=XC(l,10);c(R)}}}const jk=e=>{const{disabled:t,initialView:r="month",view:l,onChangeView:i,initialDate:c,goBackProps:h,goNextProps:m,changeViewProps:y}=e,x=$te(e),{defaultStartDate:S}=x,{navigationDate:w,setMonth:R,setYear:D,...$}=Bte(c||S),[O=r,q]=vr({prop:l,onChange:N=>i?.(N,w),defaultProp:r});return M.jsx(kk.Provider,{value:x,children:M.jsxs("div",{"data-slot":"calendar",className:Ve("w-60 min-h-64 flex flex-col border rounded-md p-2",e.className),children:[M.jsx(Dte,{view:O,setView:q,value:w,goBackProps:h,goNextProps:m,changeViewProps:y,...$}),O==="month"&&M.jsx(Lte,{...e.monthViewProps,navigationDate:w,disabled:t}),O==="year"&&M.jsx(jte,{value:w,onChange:N=>{R(N),q("month")}}),O==="decade"&&M.jsx(qte,{value:w,onChange:N=>{D(N),q("year")}})]})})},zte=({className:e,...t})=>M.jsx("div",{className:Ve("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t,"data-slot":"card"}),Ute=({className:e,...t})=>M.jsx("div",{className:Ve("flex flex-col space-y-1 p-6",e),...t,"data-slot":"card-header"}),Ite=({className:e,...t})=>M.jsx("h3",{className:Ve("text-2xl font-semibold leading-none tracking-tight",e),...t,"data-slot":"card-title"}),Hte=({className:e,...t})=>M.jsx("p",{className:Ve("text-sm text-muted-foreground",e),...t,"data-slot":"card-description"}),Vte=({className:e,...t})=>M.jsx("div",{className:Ve("p-6 pt-0",e),...t,"data-slot":"card-content"}),Fte=({className:e,...t})=>M.jsx("div",{className:Ve("flex items-center p-6 pt-0",e),...t,"data-slot":"card-footer"}),Kte=({className:e,...t})=>M.jsx("div",{className:Ve("flex items-center justify-center",e),...t,"data-slot":"center"}),Cw=({className:e,...t})=>M.jsx("label",{className:Ve("text-sm font-medium select-none leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),"data-slot":"label",...t}),uD=({when:e,...t})=>M.jsx(Fu,{present:e,children:M.jsx(yw,{...t,"data-state":e?"open":"closed","data-slot":"show"})}),Gte=({checked:e,onChange:t,defaultChecked:r=!1,indeterminate:l,defaultIndeterminate:i=!1,onIndeterminateChange:c,className:h,size:m=16,children:y,containerClassName:x,containerProps:S,...w})=>{const R=j.useId(),D=j.useRef(null),[$,O]=vr({defaultProp:r,prop:e,onChange:t}),[q,N]=vr({defaultProp:i,prop:l,onChange:c});j.useEffect(()=>{D.current&&(D.current.indeterminate=q)},[q]);const U=F=>{F.stopPropagation(),!w.disabled&&(q?(N(!1),O(!0)):O(H=>!H))},I=q?"indeterminate":$?"checked":"unchecked",G=w.id??R;return M.jsxs("div",{...S,className:Ve("flex gap-x-2 items-center",x),"data-slot":"checkbox",children:[M.jsxs("button",{disabled:w.disabled,onClick:U,"data-state":I,type:"button",style:{width:m,height:m},className:Ve("peer aspect-square flex gap-2 shrink-0 rounded-(--radius-checkbox) border border-(--color-checkbox) ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-colors","data-[state=checked]:bg-(--color-checkbox) data-[state=checked]:text-primary-foreground data-[state=checked]:border-transparent","data-[state=indeterminate]:bg-(--color-checkbox) data-[state=indeterminate]:text-primary-foreground data-[state=indeterminate]:border-transparent","data-[state=unchecked]:bg-background data-[state=unchecked]:text-muted-foreground data-[state=unchecked]:border-input",h),"data-slot":"checkbox-trigger",children:[M.jsx(uD,{when:q,children:M.jsx(tV,{className:Ve("pt-[2px] w-full h-full opacity-0","open:fade-in-0 open:zoom-in-50 open:opacity-100 open:duration-200","closed:fade-out-0 closed:zoom-out-50 closed:opacity-0")})}),M.jsx(uD,{when:!q&&!!$,children:M.jsx(hR,{className:Ve("pt-[2px] w-full h-full opacity-0","open:fade-in-0 open:zoom-in-50 open:opacity-100 open:duration-200","closed:fade-out-0 closed:zoom-out-50 closed:opacity-0")})}),M.jsx("input",{...w,ref:D,id:G,tabIndex:-1,checked:$,onChange:F=>O(F.currentTarget.checked),type:"checkbox",className:"sr-only","aria-hidden":!0})]}),y&&M.jsx(Cw,{htmlFor:G,"data-slot":"checkbox-label",children:y})]})};function Yte({items:e=[],valueKey:t="value",labelKey:r="label",placeholder:l="Seleccionar",searchPlaceholder:i="Buscar...",emptyMessage:c="No se encontraron resultado",searchProps:h,className:m,triggerProps:y,itemProps:x,itemClassName:S,contentProps:w,contentClassName:R,value:D,onChange:$,defaultValue:O,renderOption:q=I=>I?.[r],commandProps:N,...U}){const[I,G]=vr({prop:U.open,onChange:U.onOpenChange,defaultProp:U.defaultOpen||!1}),[F,H]=vr({prop:D,onChange:xe=>{if(!$)return;const Q=e.find(ue=>ue[t]===xe);$?.(Q?.[t],Q)},defaultProp:O}),[V,X]=vr({prop:U?.search,defaultProp:U?.searchDefaultValue||"",onChange:U?.onSearchChange}),le=_.useMemo(()=>e.find(xe=>xe[t]===F),[F]);return M.jsxs(Lw,{open:I,onOpenChange:G,"data-slot":"combobox",children:[M.jsx(jw,{asChild:!0,"data-slot":"combobox-trigger",children:M.jsxs(Uo,{...U,...y,variant:"outline",role:"combobox","aria-expanded":I,className:Ve("font-normal w-full items-center justify-between border-input px-3 hover:bg-background",m),children:[M.jsx("span",{className:"truncate",children:le?q(le):l}),M.jsx(mR,{className:"ml-2 h-4 w-4 shrink-0 opacity-50","data-slot":"combobox-trigger-icon"})]})}),M.jsx(Bw,{...w,className:Ve("p-1",R),asChild:!0,matchTriggerWidth:!0,"data-slot":"combobox-content",children:M.jsxs(xw,{...N,children:[M.jsx(tT,{value:V,onValueChange:X,placeholder:i,autoFocus:!0,"data-slot":"combobox-input",...h}),M.jsx(rT,{"data-slot":"combobox-empty",children:c}),M.jsx(nT,{"data-slot":"combobox-list",children:e.map(xe=>j.createElement(ew,{className:S,"data-slot":"combobox-item",...x,key:xe[t],value:xe[t],onSelect:()=>{const Q=xe[t];H(Q===F?"":Q),G(!1)}},q(xe)))})]})})]})}const Xte=e=>{const{placeholder:t,mode:r="single",value:l,onChange:i,defaultValue:c,className:h,disabledDate:m,renderFooter:y,disabled:x,hideFooter:S,...w}=e,R=r==="range",D=r==="single",$=r==="multiple",[O=null,q]=vr({prop:l,onChange:le=>i?.(le),defaultProp:c}),N=le=>{if(!Hv(le))return!1;const{start:xe,end:Q}=le;return Bv(xe)&&Bv(Q)},U=le=>{le||!O||!Hv(O)||N(O)||q({start:null,end:null})},I=le=>Bv(le)?Kl(le,"dd/MM/yyyy"):"",G=()=>{D&&q(null),$&&q([]),R&&q({start:null,end:null})},F=()=>{q(new Date)},H=j.useMemo(()=>{if(!O)return"";if(D&&Bv(O))return I(O);if($&&ir.isArray(O))return O.map(I).join(" - ");if(R&&Hv(O)){const xe=I(O.start),Q=I(O.end);return!xe&&!Q?"":xe&&!Q?xe:`${xe} - ${Q}`}return""},[O]),V=()=>M.jsxs("span",{className:"flex w-full p-1 justify-between",children:[M.jsx(Uo,{variant:"ghost",onClick:G,children:"Borrar"}),D&&M.jsx(Uo,{variant:"ghost",onClick:F,disabled:m?.(new Date),children:"Hoy"})]}),X=()=>S?null:y?y({mode:r,value:O,clear:G,selectToday:F,setValue:q}):V();return M.jsxs(Lw,{onOpenChange:U,"data-slot":"date-picker",children:[M.jsx(jw,{asChild:!0,"data-slot":"date-picker-trigger",children:M.jsxs("button",{disabled:x,type:"button",className:Ve("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 items-center text-sm ring-offset-background placeholder:text-muted-foreground","hover:bg-accent hover:text-accent-foreground transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",!O&&"text-muted-foreground",h,"field-error"),children:[M.jsx("input",{value:H,className:"sr-only",...w}),M.jsx("span",{className:"flex-1 text-start truncate pt-px","data-slot":"date-picker-value",children:H||t}),M.jsx(TH,{className:"ml-2 h-4 w-4","data-slot":"date-picker-icon"})]})}),M.jsxs(Bw,{className:"w-auto p-0",align:"start","data-slot":"date-picker-content",children:[M.jsx(jk,{className:"border-none",mode:r,value:O,onChange:q,disabled:e.disabledDate}),M.jsx("div",{className:"p-2","data-slot":"date-picker-footer",children:X()})]})]})},Bk=e=>{const{className:t,orientation:r="horizontal"}=e;return M.jsx("hr",{...e,"aria-orientation":r,className:Ve("shrink-0 bg-input",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),"data-slot":"divider"})},Wte=({onDrop:e,onError:t,allowedExtensions:r=[],maxFileSize:l=5*1024*1024,maxFiles:i=1/0})=>{const[c,h]=j.useState(!1),m=j.useCallback(R=>{R.preventDefault(),R.stopPropagation()},[]),y=j.useCallback(R=>{R.preventDefault(),R.stopPropagation(),h(!0)},[]),x=j.useCallback(R=>{R.preventDefault(),R.stopPropagation(),h(!1)},[]),S=R=>{const[D=[],$=[],O=[]]=R.reduce(([q,N,U],I)=>r.length>0&&!r.includes(I.type)?(q.push(I),U.push({file:I,errorMessage:"Extensión no permitida",errorCode:"INVALID_EXTENSION"}),[q,N,U]):I.size>l?(q.push(I),U.push({file:I,errorMessage:"Archivo demasiado grande",errorCode:"FILE_TOO_LARGE"}),[q,N,U]):i&&i<N.length+1?(q.push(I),U.push({file:I,errorMessage:"Límite de archivos excedido",errorCode:"MAX_FILES_EXCEEDED"}),[q,N,U]):(N.push(I),[q,N,U]),[[],[],[]]);return O.length>0&&t&&t(O),[D,$,O]},w=j.useCallback(R=>{R.preventDefault(),R.stopPropagation(),h(!1);const D=Array.from(R.dataTransfer.files),[$=[],O=[]]=S(D);e(O,$)},[r,l,i,e,t]);return{isDragActive:c,validateFiles:S,dropzoneProps:{onDragOver:m,onDragEnter:y,onDragLeave:x,onDrop:w}}},zk=j.createContext(null),wM=()=>{const e=j.useContext(zk);if(!e)throw new Error("useUploadContext must be used within a UploadContextProvider");return e},Uk=({onFileAdd:e,onFileRemove:t,onChangeFiles:r,files:l,maxFiles:i=1,allowedExtensions:c=[],maxFileSize:h=5*1024*1024,multiple:m,children:y,onError:x,...S})=>{const[w=[],R]=vr({defaultProp:[],prop:l,onChange:r}),[D,$]=j.useState([]),{isDragActive:O,validateFiles:q,dropzoneProps:N}=Wte({onDrop:(G,F)=>{R([...w,...G]),$(H=>[...H,...F]),e?.(G)},allowedExtensions:c,maxFileSize:h,maxFiles:i,onError:x}),U=G=>{const[F=[],H=[]]=q(G);if(i===1||!m){R(H.slice(0,1)),$([...F,...H.slice(1)]),e?.(H.slice(0,1));return}const V=i-w.length;if(V<=0){$(xe=>[...xe,...H]),e?.([]);return}const X=H.slice(0,V),le=H.slice(V);R([...w,...X]),$(xe=>[...xe,...F,...le]),e?.(X)},I=(G,F)=>{F==="accepted"?R(w.filter((H,V)=>V!==G)):$(H=>H.filter((V,X)=>X!==G)),t?.(G,F)};return M.jsx(zk.Provider,{value:{files:w,rejectedFiles:D,handleFileAdd:U,handleFileRemove:I,inputProps:{accept:c.join(","),multiple:m},isDragActive:O,dropzoneProps:N},children:M.jsx("div",{...S,"data-slot":"upload",children:y})})},Ik=({asChild:e,...t})=>{const{handleFileAdd:r,inputProps:l,dropzoneProps:i,isDragActive:c}=wM(),h=j.useRef(null),m=e?yw:"button";return M.jsxs(M.Fragment,{children:[M.jsx(m,{"data-slot":"upload-trigger",...t,...i,"data-drag-active":c||!1,onClick:y=>{t.onClick?.(y),h.current?.click()}}),M.jsx("input",{type:"file",className:"hidden","data-slot":"upload-input",...l,ref:h,onChange:y=>r(Array.from(y.target.files||[]))})]})},Hk=({className:e,...t})=>M.jsx("div",{...t,className:Ve("mt-2 space-y-2",e),"data-slot":"upload-content"}),Vk=({files:e,handleFileRemove:t,fileType:r,children:l,renderFile:i,...c})=>e.length===0?null:M.jsxs("div",{className:"mt-2 space-y-2",...c,"data-slot":"upload-files-list",children:[l,e.map((h,m)=>i?i(h,()=>t(m,r)):M.jsx(Gk,{file:h,onRemove:()=>t(m,r)},h.name))]}),Fk=e=>{const{files:t,handleFileRemove:r}=wM();return M.jsx(Vk,{"data-slot":"upload-accepted-files",files:t,handleFileRemove:r,fileType:"accepted",...e})},Kk=e=>{const{rejectedFiles:t,handleFileRemove:r}=wM();return M.jsx(Vk,{"data-slot":"upload-rejected-files",files:t,handleFileRemove:r,fileType:"rejected",...e})},Gk=({file:e,onRemove:t,className:r,renderIcon:l,...i})=>M.jsxs("div",{className:Ve("flex items-center gap-2 mb-2",r),...i,"data-slot":"upload-item",children:[l?.(e),e.name,M.jsx(Uo,{variant:"ghost",size:"icon",type:"button",className:"h-6 w-6",onClick:t,"data-slot":"upload-item-remove",children:M.jsx(XR,{"data-slot":"upload-item-remove-icon"})})]}),Qte=({onFileAdd:e,onFileRemove:t,onChangeFiles:r=()=>{},files:l,maxFiles:i=1,allowedExtensions:c=[],maxFileSize:h=5*1024*1024,multiple:m,renderAcceptedFile:y,renderRejectedFile:x,showRejected:S=!1,className:w,icon:R=KH,iconSize:D=40,onError:$,...O})=>{const q=j.useMemo(()=>c.map(N=>N.split("/")?.[1]).join(", "),[c]);return M.jsxs(Uk,{onFileAdd:e,onFileRemove:t,files:l,onChangeFiles:r,maxFiles:i,allowedExtensions:c,maxFileSize:h,multiple:m?!0:void 0,className:Ve("w-full",w),onError:$,...O,children:[M.jsx(Ik,{asChild:!0,children:M.jsxs("div",{className:Ve("w-full min-h-[150px] border-2 border-dashed rounded-lg border-muted p-4","hover:bg-muted/50 data-[drag-active=true]:border-primary data-[drag-active=true]:bg-primary/10","transition-colors flex flex-col items-center justify-center gap-4","pointer-events-auto"),children:[M.jsx(R,{className:"text-muted-foreground pointer-events-none",style:{width:D,height:D}}),M.jsxs("div",{className:"text-center text-muted-foreground pointer-events-none",children:[M.jsx("p",{children:"Arrastra y suelta archivos aquí o haz clic para seleccionar"}),c.length>0&&M.jsxs("p",{className:"text-sm",children:["Tipos permitidos: ",q]}),M.jsxs("p",{className:"text-sm",children:["Tamaño máximo: ",Math.floor(h/1024/1024),"MB"]})]})]})}),M.jsxs(Hk,{children:[M.jsx(Fk,{renderFile:y}),S&&M.jsx(Kk,{renderFile:x})]})]})},Ka={JPEG:"image/jpeg",JPG:"image/jpg",PNG:"image/png",GIF:"image/gif",WEBP:"image/webp",SVG:"image/svg+xml",PDF:"application/pdf",DOC:"application/msword",DOCX:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",XLS:"application/vnd.ms-excel",XLSX:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PPT:"application/vnd.ms-powerpoint",PPTX:"application/vnd.openxmlformats-officedocument.presentationml.presentation",TXT:"text/plain",CSV:"text/csv",ZIP:"application/zip",RAR:"application/x-rar-compressed",MP3:"audio/mpeg",WAV:"audio/wav",MP4:"video/mp4",WEBM:"video/webm",JSON:"application/json",XML:"application/xml"},Zte={IMAGES:[Ka.JPEG,Ka.JPG,Ka.PNG,Ka.GIF,Ka.WEBP,Ka.SVG],DOCUMENTS:[Ka.PDF,Ka.DOC,Ka.DOCX,Ka.XLS,Ka.XLSX,Ka.PPT,Ka.PPTX],COMPRESSED:[Ka.ZIP,Ka.RAR],AUDIO:[Ka.MP3,Ka.WAV],VIDEO:[Ka.MP4,Ka.WEBM]},Jte=Oh([],{variants:{size:{sm:"text-[14px]",md:"text-[16px]",lg:"text-[18px]",xl:"text-[20px]","2xl":"text-[24px]","3xl":"text-[28px]","4xl":"text-[32px]","5xl":"text-[36px]","6xl":"text-[40px]"},weight:{normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{size:"xl",weight:"semibold"}}),Yk=({className:e,size:t,weight:r,as:l,...i})=>{const c=l||"h2";return M.jsx(c,{className:Ve(Jte({size:t,weight:r}),e),...i,"data-slot":"heading","data-size":t,"data-weight":r})},ene=({icon:e=M.jsx(ZH,{className:"w-12 h-12"}),title:t="No hay resultados",description:r,className:l,children:i,...c})=>M.jsxs("div",{className:Ve("flex flex-col gap-2 justify-center items-center",l),"data-slot":"empty-state",...c,children:[M.jsx("div",{className:"text-muted-foreground","data-slot":"empty-state-icon",children:e}),M.jsx(Yk,{className:"empty:hidden","data-slot":"empty-state-title",children:t}),M.jsx("p",{className:"py-1 text-sm text-center text-muted-foreground empty:hidden","data-slot":"empty-state-description",children:r}),i]}),tne=({label:e,labelClassName:t,labelProps:r,error:l,errorClassName:i,errorProps:c,children:h,className:m,...y})=>M.jsxs("div",{...y,className:Ve("flex flex-col gap-1",m),"data-slot":"field",children:[M.jsx(Cw,{className:Ve("empty:hidden",t),...r,"data-slot":"field-label",children:e}),h,M.jsx("p",{"data-slot":"field-error",className:Ve("text-sm font-medium text-error empty:hidden",i),...c,children:l})]});var Rw=e=>e.type==="checkbox",Ky=e=>e instanceof Date,tu=e=>e==null;const Xk=e=>typeof e=="object";var Xa=e=>!tu(e)&&!Array.isArray(e)&&Xk(e)&&!Ky(e),Wk=e=>Xa(e)&&e.target?Rw(e.target)?e.target.checked:e.target.value:e,nne=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Qk=(e,t)=>e.has(nne(t)),rne=e=>{const t=e.constructor&&e.constructor.prototype;return Xa(t)&&t.hasOwnProperty("isPrototypeOf")},CM=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function xl(e){let t;const r=Array.isArray(e),l=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(CM&&(e instanceof Blob||l))&&(r||Xa(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!rne(e))t=e;else for(const i in e)e.hasOwnProperty(i)&&(t[i]=xl(e[i]));else return e;return t}var uT=e=>/^\w*$/.test(e),ua=e=>e===void 0,RM=e=>Array.isArray(e)?e.filter(Boolean):[],TM=e=>RM(e.replace(/["|']|\]/g,"").split(/\.|\[/)),ft=(e,t,r)=>{if(!t||!Xa(e))return r;const l=(uT(t)?[t]:TM(t)).reduce((i,c)=>tu(i)?i:i[c],e);return ua(l)||l===e?ua(e[t])?r:e[t]:l},zu=e=>typeof e=="boolean",lr=(e,t,r)=>{let l=-1;const i=uT(t)?[t]:TM(t),c=i.length,h=c-1;for(;++l<c;){const m=i[l];let y=r;if(l!==h){const x=e[m];y=Xa(x)||Array.isArray(x)?x:isNaN(+i[l+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=y,e=e[m]}};const AR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},nd={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},xh={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},AM=j.createContext(null);AM.displayName="HookFormContext";const Tw=()=>j.useContext(AM),ane=e=>{const{children:t,...r}=e;return j.createElement(AM.Provider,{value:r},t)};var Zk=(e,t,r,l=!0)=>{const i={defaultValues:t._defaultValues};for(const c in e)Object.defineProperty(i,c,{get:()=>{const h=c;return t._proxyFormState[h]!==nd.all&&(t._proxyFormState[h]=!l||nd.all),r&&(r[h]=!0),e[h]}});return i};const _M=typeof window<"u"?j.useLayoutEffect:j.useEffect;function lne(e){const t=Tw(),{control:r=t.control,disabled:l,name:i,exact:c}=e||{},[h,m]=j.useState(r._formState),y=j.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return _M(()=>r._subscribe({name:i,formState:y.current,exact:c,callback:x=>{!l&&m({...r._formState,...x})}}),[i,l,c]),j.useEffect(()=>{y.current.isValid&&r._setValid(!0)},[r]),j.useMemo(()=>Zk(h,r,y.current,!1),[h,r])}var Iu=e=>typeof e=="string",sD=(e,t,r,l,i)=>Iu(e)?(l&&t.watch.add(e),ft(r,e,i)):Array.isArray(e)?e.map(c=>(l&&t.watch.add(c),ft(r,c))):(l&&(t.watchAll=!0),r),cD=e=>tu(e)||!Xk(e);function rd(e,t,r=new WeakSet){if(cD(e)||cD(t))return Object.is(e,t);if(Ky(e)&&Ky(t))return e.getTime()===t.getTime();const l=Object.keys(e),i=Object.keys(t);if(l.length!==i.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const c of l){const h=e[c];if(!i.includes(c))return!1;if(c!=="ref"){const m=t[c];if(Ky(h)&&Ky(m)||Xa(h)&&Xa(m)||Array.isArray(h)&&Array.isArray(m)?!rd(h,m,r):!Object.is(h,m))return!1}}return!0}function one(e){const t=Tw(),{control:r=t.control,name:l,defaultValue:i,disabled:c,exact:h,compute:m}=e||{},y=j.useRef(i),x=j.useRef(m),S=j.useRef(void 0),w=j.useRef(r),R=j.useRef(l);x.current=m;const[D,$]=j.useState(()=>{const G=r._getWatch(l,y.current);return x.current?x.current(G):G}),O=j.useCallback(G=>{const F=sD(l,r._names,G||r._formValues,!1,y.current);return x.current?x.current(F):F},[r._formValues,r._names,l]),q=j.useCallback(G=>{if(!c){const F=sD(l,r._names,G||r._formValues,!1,y.current);if(x.current){const H=x.current(F);rd(H,S.current)||($(H),S.current=H)}else $(F)}},[r._formValues,r._names,c,l]);_M(()=>((w.current!==r||!rd(R.current,l))&&(w.current=r,R.current=l,q()),r._subscribe({name:l,formState:{values:!0},exact:h,callback:G=>{q(G.values)}})),[r,h,l,q]),j.useEffect(()=>r._removeUnmounted());const N=w.current!==r,U=R.current,I=j.useMemo(()=>{if(c)return null;const G=!N&&!rd(U,l);return N||G?O():null},[c,N,l,U,O]);return I!==null?I:D}function ine(e){const t=Tw(),{name:r,disabled:l,control:i=t.control,shouldUnregister:c,defaultValue:h,exact:m=!0}=e,y=Qk(i._names.array,r),x=j.useMemo(()=>ft(i._formValues,r,ft(i._defaultValues,r,h)),[i,r,h]),S=one({control:i,name:r,defaultValue:x,exact:m}),w=lne({control:i,name:r,exact:m}),R=j.useRef(e),D=j.useRef(void 0),$=j.useRef(i.register(r,{...e.rules,value:S,...zu(e.disabled)?{disabled:e.disabled}:{}}));R.current=e;const O=j.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ft(w.errors,r)},isDirty:{enumerable:!0,get:()=>!!ft(w.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!ft(w.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!ft(w.validatingFields,r)},error:{enumerable:!0,get:()=>ft(w.errors,r)}}),[w,r]),q=j.useCallback(G=>$.current.onChange({target:{value:Wk(G),name:r},type:AR.CHANGE}),[r]),N=j.useCallback(()=>$.current.onBlur({target:{value:ft(i._formValues,r),name:r},type:AR.BLUR}),[r,i._formValues]),U=j.useCallback(G=>{const F=ft(i._fields,r);F&&G&&(F._f.ref={focus:()=>G.focus&&G.focus(),select:()=>G.select&&G.select(),setCustomValidity:H=>G.setCustomValidity(H),reportValidity:()=>G.reportValidity()})},[i._fields,r]),I=j.useMemo(()=>({name:r,value:S,...zu(l)||w.disabled?{disabled:w.disabled||l}:{},onChange:q,onBlur:N,ref:U}),[r,l,w.disabled,q,N,U,S]);return j.useEffect(()=>{const G=i._options.shouldUnregister||c,F=D.current;F&&F!==r&&!y&&i.unregister(F),i.register(r,{...R.current.rules,...zu(R.current.disabled)?{disabled:R.current.disabled}:{}});const H=(V,X)=>{const le=ft(i._fields,V);le&&le._f&&(le._f.mount=X)};if(H(r,!0),G){const V=xl(ft(i._options.defaultValues,r,R.current.defaultValue));lr(i._defaultValues,r,V),ua(ft(i._formValues,r))&&lr(i._formValues,r,V)}return!y&&i.register(r),D.current=r,()=>{(y?G&&!i._state.action:G)?i.unregister(r):H(r,!1)}},[r,i,y,c]),j.useEffect(()=>{i._setDisabledField({disabled:l,name:r})},[l,r,i]),j.useMemo(()=>({field:I,formState:w,fieldState:O}),[I,w,O])}const une=e=>e.render(ine(e));var DM=(e,t,r,l,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[l]:i||!0}}:{},WS=e=>Array.isArray(e)?e:[e],PP=()=>{let e=[];return{get observers(){return e},next:i=>{for(const c of e)c.next&&c.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(c=>c!==i)}}),unsubscribe:()=>{e=[]}}};function Jk(e,t){const r={};for(const l in e)if(e.hasOwnProperty(l)){const i=e[l],c=t[l];if(i&&Xa(i)&&c){const h=Jk(i,c);Xa(h)&&(r[l]=h)}else e[l]&&(r[l]=c)}return r}var hi=e=>Xa(e)&&!Object.keys(e).length,MM=e=>e.type==="file",ad=e=>typeof e=="function",_R=e=>{if(!CM)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},e7=e=>e.type==="select-multiple",OM=e=>e.type==="radio",sne=e=>OM(e)||Rw(e),E_=e=>_R(e)&&e.isConnected;function cne(e,t){const r=t.slice(0,-1).length;let l=0;for(;l<r;)e=ua(e)?l++:e[t[l++]];return e}function dne(e){for(const t in e)if(e.hasOwnProperty(t)&&!ua(e[t]))return!1;return!0}function Ga(e,t){const r=Array.isArray(t)?t:uT(t)?[t]:TM(t),l=r.length===1?e:cne(e,r),i=r.length-1,c=r[i];return l&&delete l[c],i!==0&&(Xa(l)&&hi(l)||Array.isArray(l)&&dne(l))&&Ga(e,r.slice(0,-1)),e}var fne=e=>{for(const t in e)if(ad(e[t]))return!0;return!1};function t7(e){return Array.isArray(e)||Xa(e)&&!fne(e)}function dD(e,t={}){for(const r in e){const l=e[r];t7(l)?(t[r]=Array.isArray(l)?[]:{},dD(l,t[r])):ua(l)||(t[r]=!0)}return t}function k0(e,t,r){r||(r=dD(t));for(const l in e){const i=e[l];if(t7(i))ua(t)||cD(r[l])?r[l]=dD(i,Array.isArray(i)?[]:{}):k0(i,tu(t)?{}:t[l],r[l]);else{const c=t[l];r[l]=!rd(i,c)}}return r}const qP={value:!1,isValid:!1},kP={value:!0,isValid:!0};var n7=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ua(e[0].attributes.value)?ua(e[0].value)||e[0].value===""?kP:{value:e[0].value,isValid:!0}:kP:qP}return qP},r7=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:l})=>ua(e)?e:t?e===""?NaN:e&&+e:r&&Iu(e)?new Date(e):l?l(e):e;const LP={isValid:!1,value:null};var a7=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,LP):LP;function jP(e){const t=e.ref;return MM(t)?t.files:OM(t)?a7(e.refs).value:e7(t)?[...t.selectedOptions].map(({value:r})=>r):Rw(t)?n7(e.refs).value:r7(ua(t.value)?e.ref.value:t.value,e)}var pne=(e,t,r,l)=>{const i={};for(const c of e){const h=ft(t,c);h&&lr(i,c,h._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:l}},DR=e=>e instanceof RegExp,US=e=>ua(e)?e:DR(e)?e.source:Xa(e)?DR(e.value)?e.value.source:e.value:e,BP=e=>({isOnSubmit:!e||e===nd.onSubmit,isOnBlur:e===nd.onBlur,isOnChange:e===nd.onChange,isOnAll:e===nd.all,isOnTouch:e===nd.onTouched});const zP="AsyncFunction";var hne=e=>!!e&&!!e.validate&&!!(ad(e.validate)&&e.validate.constructor.name===zP||Xa(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===zP)),mne=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),UP=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(l=>e.startsWith(l)&&/^\.\w+/.test(e.slice(l.length))));const QS=(e,t,r,l)=>{for(const i of r||Object.keys(e)){const c=ft(e,i);if(c){const{_f:h,...m}=c;if(h){if(h.refs&&h.refs[0]&&t(h.refs[0],i)&&!l)return!0;if(h.ref&&t(h.ref,h.name)&&!l)return!0;if(QS(m,t))break}else if(Xa(m)&&QS(m,t))break}}};function IP(e,t,r){const l=ft(e,r);if(l||uT(r))return{error:l,name:r};const i=r.split(".");for(;i.length;){const c=i.join("."),h=ft(t,c),m=ft(e,c);if(h&&!Array.isArray(h)&&r!==c)return{name:r};if(m&&m.type)return{name:c,error:m};if(m&&m.root&&m.root.type)return{name:`${c}.root`,error:m.root};i.pop()}return{name:r}}var vne=(e,t,r,l)=>{r(e);const{name:i,...c}=e;return hi(c)||Object.keys(c).length>=Object.keys(t).length||Object.keys(c).find(h=>t[h]===(!l||nd.all))},gne=(e,t,r)=>!e||!t||e===t||WS(e).some(l=>l&&(r?l===t:l.startsWith(t)||t.startsWith(l))),yne=(e,t,r,l,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?l.isOnBlur:i.isOnBlur)?!e:(r?l.isOnChange:i.isOnChange)?e:!0,bne=(e,t)=>!RM(ft(e,t)).length&&Ga(e,t),xne=(e,t,r)=>{const l=WS(ft(e,r));return lr(l,"root",t[r]),lr(e,r,l),e};function HP(e,t,r="validate"){if(Iu(e)||Array.isArray(e)&&e.every(Iu)||zu(e)&&!e)return{type:r,message:Iu(e)?e:"",ref:t}}var M0=e=>Xa(e)&&!DR(e)?e:{value:e,message:""},VP=async(e,t,r,l,i,c)=>{const{ref:h,refs:m,required:y,maxLength:x,minLength:S,min:w,max:R,pattern:D,validate:$,name:O,valueAsNumber:q,mount:N}=e._f,U=ft(r,O);if(!N||t.has(O))return{};const I=m?m[0]:h,G=ue=>{i&&I.reportValidity&&(I.setCustomValidity(zu(ue)?"":ue||""),I.reportValidity())},F={},H=OM(h),V=Rw(h),X=H||V,le=(q||MM(h))&&ua(h.value)&&ua(U)||_R(h)&&h.value===""||U===""||Array.isArray(U)&&!U.length,xe=DM.bind(null,O,l,F),Q=(ue,se,ae,ge=xh.maxLength,L=xh.minLength)=>{const W=ue?se:ae;F[O]={type:ue?ge:L,message:W,ref:h,...xe(ue?ge:L,W)}};if(c?!Array.isArray(U)||!U.length:y&&(!X&&(le||tu(U))||zu(U)&&!U||V&&!n7(m).isValid||H&&!a7(m).isValid)){const{value:ue,message:se}=Iu(y)?{value:!!y,message:y}:M0(y);if(ue&&(F[O]={type:xh.required,message:se,ref:I,...xe(xh.required,se)},!l))return G(se),F}if(!le&&(!tu(w)||!tu(R))){let ue,se;const ae=M0(R),ge=M0(w);if(!tu(U)&&!isNaN(U)){const L=h.valueAsNumber||U&&+U;tu(ae.value)||(ue=L>ae.value),tu(ge.value)||(se=L<ge.value)}else{const L=h.valueAsDate||new Date(U),W=Y=>new Date(new Date().toDateString()+" "+Y),ee=h.type=="time",me=h.type=="week";Iu(ae.value)&&U&&(ue=ee?W(U)>W(ae.value):me?U>ae.value:L>new Date(ae.value)),Iu(ge.value)&&U&&(se=ee?W(U)<W(ge.value):me?U<ge.value:L<new Date(ge.value))}if((ue||se)&&(Q(!!ue,ae.message,ge.message,xh.max,xh.min),!l))return G(F[O].message),F}if((x||S)&&!le&&(Iu(U)||c&&Array.isArray(U))){const ue=M0(x),se=M0(S),ae=!tu(ue.value)&&U.length>+ue.value,ge=!tu(se.value)&&U.length<+se.value;if((ae||ge)&&(Q(ae,ue.message,se.message),!l))return G(F[O].message),F}if(D&&!le&&Iu(U)){const{value:ue,message:se}=M0(D);if(DR(ue)&&!U.match(ue)&&(F[O]={type:xh.pattern,message:se,ref:h,...xe(xh.pattern,se)},!l))return G(se),F}if($){if(ad($)){const ue=await $(U,r),se=HP(ue,I);if(se&&(F[O]={...se,...xe(xh.validate,se.message)},!l))return G(se.message),F}else if(Xa($)){let ue={};for(const se in $){if(!hi(ue)&&!l)break;const ae=HP(await $[se](U,r),I,se);ae&&(ue={...ae,...xe(se,ae.message)},G(ae.message),l&&(F[O]=ue))}if(!hi(ue)&&(F[O]={ref:I,...ue},!l))return F}}return G(!0),F};const Ene={mode:nd.onSubmit,reValidateMode:nd.onChange,shouldFocusError:!0};function Sne(e={}){let t={...Ene,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:ad(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},l={},i=Xa(t.defaultValues)||Xa(t.values)?xl(t.defaultValues||t.values)||{}:{},c=t.shouldUnregister?{}:xl(i),h={action:!1,mount:!1,watch:!1},m={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},y,x=0;const S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let w={...S};const R={array:PP(),state:PP()},D=t.criteriaMode===nd.all,$=ve=>De=>{clearTimeout(x),x=setTimeout(ve,De)},O=async ve=>{if(!t.disabled&&(S.isValid||w.isValid||ve)){const De=t.resolver?hi((await V()).errors):await le(l,!0);De!==r.isValid&&R.state.next({isValid:De})}},q=(ve,De)=>{!t.disabled&&(S.isValidating||S.validatingFields||w.isValidating||w.validatingFields)&&((ve||Array.from(m.mount)).forEach(Fe=>{Fe&&(De?lr(r.validatingFields,Fe,De):Ga(r.validatingFields,Fe))}),R.state.next({validatingFields:r.validatingFields,isValidating:!hi(r.validatingFields)}))},N=(ve,De=[],Fe,it,ot=!0,rt=!0)=>{if(it&&Fe&&!t.disabled){if(h.action=!0,rt&&Array.isArray(ft(l,ve))){const mt=Fe(ft(l,ve),it.argA,it.argB);ot&&lr(l,ve,mt)}if(rt&&Array.isArray(ft(r.errors,ve))){const mt=Fe(ft(r.errors,ve),it.argA,it.argB);ot&&lr(r.errors,ve,mt),bne(r.errors,ve)}if((S.touchedFields||w.touchedFields)&&rt&&Array.isArray(ft(r.touchedFields,ve))){const mt=Fe(ft(r.touchedFields,ve),it.argA,it.argB);ot&&lr(r.touchedFields,ve,mt)}(S.dirtyFields||w.dirtyFields)&&(r.dirtyFields=k0(i,c)),R.state.next({name:ve,isDirty:Q(ve,De),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else lr(c,ve,De)},U=(ve,De)=>{lr(r.errors,ve,De),R.state.next({errors:r.errors})},I=ve=>{r.errors=ve,R.state.next({errors:r.errors,isValid:!1})},G=(ve,De,Fe,it)=>{const ot=ft(l,ve);if(ot){const rt=ft(c,ve,ua(Fe)?ft(i,ve):Fe);ua(rt)||it&&it.defaultChecked||De?lr(c,ve,De?rt:jP(ot._f)):ae(ve,rt),h.mount&&!h.action&&O()}},F=(ve,De,Fe,it,ot)=>{let rt=!1,mt=!1;const Mt={name:ve};if(!t.disabled){if(!Fe||it){(S.isDirty||w.isDirty)&&(mt=r.isDirty,r.isDirty=Mt.isDirty=Q(),rt=mt!==Mt.isDirty);const Bt=rd(ft(i,ve),De);mt=!!ft(r.dirtyFields,ve),Bt?Ga(r.dirtyFields,ve):lr(r.dirtyFields,ve,!0),Mt.dirtyFields=r.dirtyFields,rt=rt||(S.dirtyFields||w.dirtyFields)&&mt!==!Bt}if(Fe){const Bt=ft(r.touchedFields,ve);Bt||(lr(r.touchedFields,ve,Fe),Mt.touchedFields=r.touchedFields,rt=rt||(S.touchedFields||w.touchedFields)&&Bt!==Fe)}rt&&ot&&R.state.next(Mt)}return rt?Mt:{}},H=(ve,De,Fe,it)=>{const ot=ft(r.errors,ve),rt=(S.isValid||w.isValid)&&zu(De)&&r.isValid!==De;if(t.delayError&&Fe?(y=$(()=>U(ve,Fe)),y(t.delayError)):(clearTimeout(x),y=null,Fe?lr(r.errors,ve,Fe):Ga(r.errors,ve)),(Fe?!rd(ot,Fe):ot)||!hi(it)||rt){const mt={...it,...rt&&zu(De)?{isValid:De}:{},errors:r.errors,name:ve};r={...r,...mt},R.state.next(mt)}},V=async ve=>{q(ve,!0);const De=await t.resolver(c,t.context,pne(ve||m.mount,l,t.criteriaMode,t.shouldUseNativeValidation));return q(ve),De},X=async ve=>{const{errors:De}=await V(ve);if(ve)for(const Fe of ve){const it=ft(De,Fe);it?lr(r.errors,Fe,it):Ga(r.errors,Fe)}else r.errors=De;return De},le=async(ve,De,Fe={valid:!0})=>{for(const it in ve){const ot=ve[it];if(ot){const{_f:rt,...mt}=ot;if(rt){const Mt=m.array.has(rt.name),Bt=ot._f&&hne(ot._f);Bt&&S.validatingFields&&q([rt.name],!0);const An=await VP(ot,m.disabled,c,D,t.shouldUseNativeValidation&&!De,Mt);if(Bt&&S.validatingFields&&q([rt.name]),An[rt.name]&&(Fe.valid=!1,De))break;!De&&(ft(An,rt.name)?Mt?xne(r.errors,An,rt.name):lr(r.errors,rt.name,An[rt.name]):Ga(r.errors,rt.name))}!hi(mt)&&await le(mt,De,Fe)}}return Fe.valid},xe=()=>{for(const ve of m.unMount){const De=ft(l,ve);De&&(De._f.refs?De._f.refs.every(Fe=>!E_(Fe)):!E_(De._f.ref))&&Re(ve)}m.unMount=new Set},Q=(ve,De)=>!t.disabled&&(ve&&De&&lr(c,ve,De),!rd(Y(),i)),ue=(ve,De,Fe)=>sD(ve,m,{...h.mount?c:ua(De)?i:Iu(ve)?{[ve]:De}:De},Fe,De),se=ve=>RM(ft(h.mount?c:i,ve,t.shouldUnregister?ft(i,ve,[]):[])),ae=(ve,De,Fe={})=>{const it=ft(l,ve);let ot=De;if(it){const rt=it._f;rt&&(!rt.disabled&&lr(c,ve,r7(De,rt)),ot=_R(rt.ref)&&tu(De)?"":De,e7(rt.ref)?[...rt.ref.options].forEach(mt=>mt.selected=ot.includes(mt.value)):rt.refs?Rw(rt.ref)?rt.refs.forEach(mt=>{(!mt.defaultChecked||!mt.disabled)&&(Array.isArray(ot)?mt.checked=!!ot.find(Mt=>Mt===mt.value):mt.checked=ot===mt.value||!!ot)}):rt.refs.forEach(mt=>mt.checked=mt.value===ot):MM(rt.ref)?rt.ref.value="":(rt.ref.value=ot,rt.ref.type||R.state.next({name:ve,values:xl(c)})))}(Fe.shouldDirty||Fe.shouldTouch)&&F(ve,ot,Fe.shouldTouch,Fe.shouldDirty,!0),Fe.shouldValidate&&me(ve)},ge=(ve,De,Fe)=>{for(const it in De){if(!De.hasOwnProperty(it))return;const ot=De[it],rt=ve+"."+it,mt=ft(l,rt);(m.array.has(ve)||Xa(ot)||mt&&!mt._f)&&!Ky(ot)?ge(rt,ot,Fe):ae(rt,ot,Fe)}},L=(ve,De,Fe={})=>{const it=ft(l,ve),ot=m.array.has(ve),rt=xl(De);lr(c,ve,rt),ot?(R.array.next({name:ve,values:xl(c)}),(S.isDirty||S.dirtyFields||w.isDirty||w.dirtyFields)&&Fe.shouldDirty&&R.state.next({name:ve,dirtyFields:k0(i,c),isDirty:Q(ve,rt)})):it&&!it._f&&!tu(rt)?ge(ve,rt,Fe):ae(ve,rt,Fe),UP(ve,m)&&R.state.next({...r,name:ve}),R.state.next({name:h.mount?ve:void 0,values:xl(c)})},W=async ve=>{h.mount=!0;const De=ve.target;let Fe=De.name,it=!0;const ot=ft(l,Fe),rt=Bt=>{it=Number.isNaN(Bt)||Ky(Bt)&&isNaN(Bt.getTime())||rd(Bt,ft(c,Fe,Bt))},mt=BP(t.mode),Mt=BP(t.reValidateMode);if(ot){let Bt,An;const po=De.type?jP(ot._f):Wk(ve),Wa=ve.type===AR.BLUR||ve.type===AR.FOCUS_OUT,Qs=!mne(ot._f)&&!t.resolver&&!ft(r.errors,Fe)&&!ot._f.deps||yne(Wa,ft(r.touchedFields,Fe),r.isSubmitted,Mt,mt),wl=UP(Fe,m,Wa);lr(c,Fe,po),Wa?(!De||!De.readOnly)&&(ot._f.onBlur&&ot._f.onBlur(ve),y&&y(0)):ot._f.onChange&&ot._f.onChange(ve);const da=F(Fe,po,Wa),Vr=!hi(da)||wl;if(!Wa&&R.state.next({name:Fe,type:ve.type,values:xl(c)}),Qs)return(S.isValid||w.isValid)&&(t.mode==="onBlur"?Wa&&O():Wa||O()),Vr&&R.state.next({name:Fe,...wl?{}:da});if(!Wa&&wl&&R.state.next({...r}),t.resolver){const{errors:Qa}=await V([Fe]);if(rt(po),it){const Ma=IP(r.errors,l,Fe),gr=IP(Qa,l,Ma.name||Fe);Bt=gr.error,Fe=gr.name,An=hi(Qa)}}else q([Fe],!0),Bt=(await VP(ot,m.disabled,c,D,t.shouldUseNativeValidation))[Fe],q([Fe]),rt(po),it&&(Bt?An=!1:(S.isValid||w.isValid)&&(An=await le(l,!0)));it&&(ot._f.deps&&(!Array.isArray(ot._f.deps)||ot._f.deps.length>0)&&me(ot._f.deps),H(Fe,An,Bt,da))}},ee=(ve,De)=>{if(ft(r.errors,De)&&ve.focus)return ve.focus(),1},me=async(ve,De={})=>{let Fe,it;const ot=WS(ve);if(t.resolver){const rt=await X(ua(ve)?ve:ot);Fe=hi(rt),it=ve?!ot.some(mt=>ft(rt,mt)):Fe}else ve?(it=(await Promise.all(ot.map(async rt=>{const mt=ft(l,rt);return await le(mt&&mt._f?{[rt]:mt}:mt)}))).every(Boolean),!(!it&&!r.isValid)&&O()):it=Fe=await le(l);return R.state.next({...!Iu(ve)||(S.isValid||w.isValid)&&Fe!==r.isValid?{}:{name:ve},...t.resolver||!ve?{isValid:Fe}:{},errors:r.errors}),De.shouldFocus&&!it&&QS(l,ee,ve?ot:m.mount),it},Y=(ve,De)=>{let Fe={...h.mount?c:i};return De&&(Fe=Jk(De.dirtyFields?r.dirtyFields:r.touchedFields,Fe)),ua(ve)?Fe:Iu(ve)?ft(Fe,ve):ve.map(it=>ft(Fe,it))},be=(ve,De)=>({invalid:!!ft((De||r).errors,ve),isDirty:!!ft((De||r).dirtyFields,ve),error:ft((De||r).errors,ve),isValidating:!!ft(r.validatingFields,ve),isTouched:!!ft((De||r).touchedFields,ve)}),ie=ve=>{ve&&WS(ve).forEach(De=>Ga(r.errors,De)),R.state.next({errors:ve?r.errors:{}})},fe=(ve,De,Fe)=>{const it=(ft(l,ve,{_f:{}})._f||{}).ref,ot=ft(r.errors,ve)||{},{ref:rt,message:mt,type:Mt,...Bt}=ot;lr(r.errors,ve,{...Bt,...De,ref:it}),R.state.next({name:ve,errors:r.errors,isValid:!1}),Fe&&Fe.shouldFocus&&it&&it.focus&&it.focus()},_e=(ve,De)=>ad(ve)?R.state.subscribe({next:Fe=>"values"in Fe&&ve(ue(void 0,De),Fe)}):ue(ve,De,!0),$e=ve=>R.state.subscribe({next:De=>{gne(ve.name,De.name,ve.exact)&&vne(De,ve.formState||S,an,ve.reRenderRoot)&&ve.callback({values:{...c},...r,...De,defaultValues:i})}}).unsubscribe,Pe=ve=>(h.mount=!0,w={...w,...ve.formState},$e({...ve,formState:w})),Re=(ve,De={})=>{for(const Fe of ve?WS(ve):m.mount)m.mount.delete(Fe),m.array.delete(Fe),De.keepValue||(Ga(l,Fe),Ga(c,Fe)),!De.keepError&&Ga(r.errors,Fe),!De.keepDirty&&Ga(r.dirtyFields,Fe),!De.keepTouched&&Ga(r.touchedFields,Fe),!De.keepIsValidating&&Ga(r.validatingFields,Fe),!t.shouldUnregister&&!De.keepDefaultValue&&Ga(i,Fe);R.state.next({values:xl(c)}),R.state.next({...r,...De.keepDirty?{isDirty:Q()}:{}}),!De.keepIsValid&&O()},Ye=({disabled:ve,name:De})=>{(zu(ve)&&h.mount||ve||m.disabled.has(De))&&(ve?m.disabled.add(De):m.disabled.delete(De))},oe=(ve,De={})=>{let Fe=ft(l,ve);const it=zu(De.disabled)||zu(t.disabled);return lr(l,ve,{...Fe||{},_f:{...Fe&&Fe._f?Fe._f:{ref:{name:ve}},name:ve,mount:!0,...De}}),m.mount.add(ve),Fe?Ye({disabled:zu(De.disabled)?De.disabled:t.disabled,name:ve}):G(ve,!0,De.value),{...it?{disabled:De.disabled||t.disabled}:{},...t.progressive?{required:!!De.required,min:US(De.min),max:US(De.max),minLength:US(De.minLength),maxLength:US(De.maxLength),pattern:US(De.pattern)}:{},name:ve,onChange:W,onBlur:W,ref:ot=>{if(ot){oe(ve,De),Fe=ft(l,ve);const rt=ua(ot.value)&&ot.querySelectorAll&&ot.querySelectorAll("input,select,textarea")[0]||ot,mt=sne(rt),Mt=Fe._f.refs||[];if(mt?Mt.find(Bt=>Bt===rt):rt===Fe._f.ref)return;lr(l,ve,{_f:{...Fe._f,...mt?{refs:[...Mt.filter(E_),rt,...Array.isArray(ft(i,ve))?[{}]:[]],ref:{type:rt.type,name:ve}}:{ref:rt}}}),G(ve,!1,void 0,rt)}else Fe=ft(l,ve,{}),Fe._f&&(Fe._f.mount=!1),(t.shouldUnregister||De.shouldUnregister)&&!(Qk(m.array,ve)&&h.action)&&m.unMount.add(ve)}}},je=()=>t.shouldFocusError&&QS(l,ee,m.mount),Le=ve=>{zu(ve)&&(R.state.next({disabled:ve}),QS(l,(De,Fe)=>{const it=ft(l,Fe);it&&(De.disabled=it._f.disabled||ve,Array.isArray(it._f.refs)&&it._f.refs.forEach(ot=>{ot.disabled=it._f.disabled||ve}))},0,!1))},we=(ve,De)=>async Fe=>{let it;Fe&&(Fe.preventDefault&&Fe.preventDefault(),Fe.persist&&Fe.persist());let ot=xl(c);if(R.state.next({isSubmitting:!0}),t.resolver){const{errors:rt,values:mt}=await V();r.errors=rt,ot=xl(mt)}else await le(l);if(m.disabled.size)for(const rt of m.disabled)Ga(ot,rt);if(Ga(r.errors,"root"),hi(r.errors)){R.state.next({errors:{}});try{await ve(ot,Fe)}catch(rt){it=rt}}else De&&await De({...r.errors},Fe),je(),setTimeout(je);if(R.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:hi(r.errors)&&!it,submitCount:r.submitCount+1,errors:r.errors}),it)throw it},lt=(ve,De={})=>{ft(l,ve)&&(ua(De.defaultValue)?L(ve,xl(ft(i,ve))):(L(ve,De.defaultValue),lr(i,ve,xl(De.defaultValue))),De.keepTouched||Ga(r.touchedFields,ve),De.keepDirty||(Ga(r.dirtyFields,ve),r.isDirty=De.defaultValue?Q(ve,xl(ft(i,ve))):Q()),De.keepError||(Ga(r.errors,ve),S.isValid&&O()),R.state.next({...r}))},St=(ve,De={})=>{const Fe=ve?xl(ve):i,it=xl(Fe),ot=hi(ve),rt=ot?i:it;if(De.keepDefaultValues||(i=Fe),!De.keepValues){if(De.keepDirtyValues){const mt=new Set([...m.mount,...Object.keys(k0(i,c))]);for(const Mt of Array.from(mt))ft(r.dirtyFields,Mt)?lr(rt,Mt,ft(c,Mt)):L(Mt,ft(rt,Mt))}else{if(CM&&ua(ve))for(const mt of m.mount){const Mt=ft(l,mt);if(Mt&&Mt._f){const Bt=Array.isArray(Mt._f.refs)?Mt._f.refs[0]:Mt._f.ref;if(_R(Bt)){const An=Bt.closest("form");if(An){An.reset();break}}}}if(De.keepFieldsRef)for(const mt of m.mount)L(mt,ft(rt,mt));else l={}}c=t.shouldUnregister?De.keepDefaultValues?xl(i):{}:xl(rt),R.array.next({values:{...rt}}),R.state.next({values:{...rt}})}m={mount:De.keepDirtyValues?m.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},h.mount=!S.isValid||!!De.keepIsValid||!!De.keepDirtyValues||!t.shouldUnregister&&!hi(rt),h.watch=!!t.shouldUnregister,h.action=!1,De.keepErrors||(r.errors={}),R.state.next({submitCount:De.keepSubmitCount?r.submitCount:0,isDirty:ot?!1:De.keepDirty?r.isDirty:!!(De.keepDefaultValues&&!rd(ve,i)),isSubmitted:De.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ot?{}:De.keepDirtyValues?De.keepDefaultValues&&c?k0(i,c):r.dirtyFields:De.keepDefaultValues&&ve?k0(i,ve):De.keepDirty?r.dirtyFields:{},touchedFields:De.keepTouched?r.touchedFields:{},errors:De.keepErrors?r.errors:{},isSubmitSuccessful:De.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},pn=(ve,De)=>St(ad(ve)?ve(c):ve,De),Pn=(ve,De={})=>{const Fe=ft(l,ve),it=Fe&&Fe._f;if(it){const ot=it.refs?it.refs[0]:it.ref;ot.focus&&(ot.focus(),De.shouldSelect&&ad(ot.select)&&ot.select())}},an=ve=>{r={...r,...ve}},Ws={control:{register:oe,unregister:Re,getFieldState:be,handleSubmit:we,setError:fe,_subscribe:$e,_runSchema:V,_focusError:je,_getWatch:ue,_getDirty:Q,_setValid:O,_setFieldArray:N,_setDisabledField:Ye,_setErrors:I,_getFieldArray:se,_reset:St,_resetDefaultValues:()=>ad(t.defaultValues)&&t.defaultValues().then(ve=>{pn(ve,t.resetOptions),R.state.next({isLoading:!1})}),_removeUnmounted:xe,_disableForm:Le,_subjects:R,_proxyFormState:S,get _fields(){return l},get _formValues(){return c},get _state(){return h},set _state(ve){h=ve},get _defaultValues(){return i},get _names(){return m},set _names(ve){m=ve},get _formState(){return r},get _options(){return t},set _options(ve){t={...t,...ve}}},subscribe:Pe,trigger:me,register:oe,handleSubmit:we,watch:_e,setValue:L,getValues:Y,reset:pn,resetField:lt,clearErrors:ie,unregister:Re,setError:fe,setFocus:Pn,getFieldState:be};return{...Ws,formControl:Ws}}function wne(e={}){const t=j.useRef(void 0),r=j.useRef(void 0),[l,i]=j.useState({isDirty:!1,isValidating:!1,isLoading:ad(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:ad(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:l},e.defaultValues&&!ad(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:h,...m}=Sne(e);t.current={...m,formState:l}}const c=t.current.control;return c._options=e,_M(()=>{const h=c._subscribe({formState:c._proxyFormState,callback:()=>i({...c._formState}),reRenderRoot:!0});return i(m=>({...m,isReady:!0})),c._formState.isReady=!0,h},[c]),j.useEffect(()=>c._disableForm(e.disabled),[c,e.disabled]),j.useEffect(()=>{e.mode&&(c._options.mode=e.mode),e.reValidateMode&&(c._options.reValidateMode=e.reValidateMode)},[c,e.mode,e.reValidateMode]),j.useEffect(()=>{e.errors&&(c._setErrors(e.errors),c._focusError())},[c,e.errors]),j.useEffect(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,e.shouldUnregister]),j.useEffect(()=>{if(c._proxyFormState.isDirty){const h=c._getDirty();h!==l.isDirty&&c._subjects.state.next({isDirty:h})}},[c,l.isDirty]),j.useEffect(()=>{var h;e.values&&!rd(e.values,r.current)?(c._reset(e.values,{keepFieldsRef:!0,...c._options.resetOptions}),!((h=c._options.resetOptions)===null||h===void 0)&&h.keepIsValid||c._setValid(),r.current=e.values,i(m=>({...m}))):c._resetDefaultValues()},[c,e.values]),j.useEffect(()=>{c._state.mount||(c._setValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),t.current.formState=Zk(l,c),t.current}const[Cne,Rne]=Ew(),[Tne,Ane]=Ew(),Aw=()=>{const e=Tne(),t=Cne(),{getFieldState:r,formState:l}=Tw();if(!e)throw new Error("useFormField should be used within <FormField>");const i=r(e.name,l),{id:c}=t;return{id:c,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...i}},_ne=({onSubmit:e,id:t,form:r,children:l,className:i})=>M.jsx(ane,{...r,children:M.jsx("form",{id:t,onSubmit:r.handleSubmit(e),className:i,"data-slot":"form",children:l})}),Dne=({name:e,label:t,description:r,className:l,render:i,itemProps:c,labelProps:h,controlProps:m,descriptionProps:y,messageProps:x})=>{const{control:S}=Tw();return M.jsx(Ane,{value:{name:e},children:M.jsx(une,{name:e,control:S,render:({field:w,fieldState:R})=>M.jsxs(l7,{className:l,...c,children:[t&&M.jsx(o7,{...h,children:t}),M.jsx(i7,{...m,children:ir.isFunction(i)?i(w):_.createElement(i,w)}),r&&M.jsx(u7,{...y,children:r}),M.jsx(s7,{...x,children:R.error?.message})]})})})},l7=({className:e,...t})=>{const r=_.useId();return M.jsx(Rne,{value:{id:r},children:M.jsx("div",{className:Ve("flex flex-col gap-2",e),"data-slot":"form-item",...t})})},o7=({className:e,...t})=>{const{error:r,formItemId:l}=Aw();return M.jsx(Cw,{className:Ve(r&&"text-error",e),htmlFor:l,...t})},i7=({className:e,...t})=>{const{error:r,formItemId:l,formDescriptionId:i,formMessageId:c}=Aw();return M.jsx(yw,{id:l,"aria-describedby":r?`${i} ${c}`:`${i}`,"aria-invalid":!!r,className:Ve("group",e),...t})},u7=({className:e,...t})=>{const{formDescriptionId:r}=Aw();return M.jsx("p",{id:r,className:Ve("text-sm text-muted-foreground",e),"data-slot":"form-description",...t})},s7=({className:e,children:t,...r})=>{const{error:l,formMessageId:i}=Aw(),c=l?String(l?.message):t;return c?M.jsx("p",{id:i,className:Ve("text-sm font-medium text-error",e),"data-slot":"form-message",...r,children:c}):null},FP=(e,t,r)=>{if(e&&"reportValidity"in e){const l=ft(r,t);e.setCustomValidity(l&&l.message||""),e.reportValidity()}},fD=(e,t)=>{for(const r in t.fields){const l=t.fields[r];l&&l.ref&&"reportValidity"in l.ref?FP(l.ref,r,e):l&&l.refs&&l.refs.forEach(i=>FP(i,r,e))}},KP=(e,t)=>{t.shouldUseNativeValidation&&fD(e,t);const r={};for(const l in e){const i=ft(t.fields,l),c=Object.assign(e[l]||{},{ref:i&&i.ref});if(Mne(t.names||Object.keys(e),l)){const h=Object.assign({},ft(r,l));lr(h,"root",c),lr(r,l,h)}else lr(r,l,c)}return r},Mne=(e,t)=>{const r=GP(t);return e.some(l=>GP(l).match(`^${r}\\.\\d+`))};function GP(e){return e.replace(/\]|\[/g,"")}function c7(e,t,r){function l(m,y){if(m._zod||Object.defineProperty(m,"_zod",{value:{def:y,constr:h,traits:new Set},enumerable:!1}),m._zod.traits.has(e))return;m._zod.traits.add(e),t(m,y);const x=h.prototype,S=Object.keys(x);for(let w=0;w<S.length;w++){const R=S[w];R in m||(m[R]=x[R].bind(m))}}const i=r?.Parent??Object;class c extends i{}Object.defineProperty(c,"name",{value:e});function h(m){var y;const x=r?.Parent?new c:this;l(x,m),(y=x._zod).deferred??(y.deferred=[]);for(const S of x._zod.deferred)S();return x}return Object.defineProperty(h,"init",{value:l}),Object.defineProperty(h,Symbol.hasInstance,{value:m=>r?.Parent&&m instanceof r.Parent?!0:m?._zod?.traits?.has(e)}),Object.defineProperty(h,"name",{value:e}),h}class One extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const Nne={};function d7(e){return Nne}function $ne(e,t){return typeof t=="bigint"?t.toString():t}const f7="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function WC(e){return typeof e=="string"?e:e?.message}function p7(e,t,r){const l={...e,path:e.path??[]};if(!e.message){const i=WC(e.inst?._zod.def?.error?.(e))??WC(t?.error?.(e))??WC(r.customError?.(e))??WC(r.localeError?.(e))??"Invalid input";l.message=i}return delete l.inst,delete l.continue,t?.reportInput||delete l.input,l}const h7=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,$ne,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Pne=c7("$ZodError",h7),m7=c7("$ZodError",h7,{Parent:Error}),qne=e=>(t,r,l,i)=>{const c=l?Object.assign(l,{async:!1}):{async:!1},h=t._zod.run({value:r,issues:[]},c);if(h instanceof Promise)throw new One;if(h.issues.length){const m=new(i?.Err??e)(h.issues.map(y=>p7(y,c,d7())));throw f7(m,i?.callee),m}return h.value},kne=qne(m7),Lne=e=>async(t,r,l,i)=>{const c=l?Object.assign(l,{async:!0}):{async:!0};let h=t._zod.run({value:r,issues:[]},c);if(h instanceof Promise&&(h=await h),h.issues.length){const m=new(i?.Err??e)(h.issues.map(y=>p7(y,c,d7())));throw f7(m,i?.callee),m}return h.value},jne=Lne(m7);function YP(e,t){try{var r=e()}catch(l){return t(l)}return r&&r.then?r.then(void 0,t):r}function Bne(e,t){for(var r={};e.length;){var l=e[0],i=l.code,c=l.message,h=l.path.join(".");if(!r[h])if("unionErrors"in l){var m=l.unionErrors[0].errors[0];r[h]={message:m.message,type:m.code}}else r[h]={message:c,type:i};if("unionErrors"in l&&l.unionErrors.forEach(function(S){return S.errors.forEach(function(w){return e.push(w)})}),t){var y=r[h].types,x=y&&y[l.code];r[h]=DM(h,t,r,i,x?[].concat(x,l.message):l.message)}e.shift()}return r}function zne(e,t){for(var r={};e.length;){var l=e[0],i=l.code,c=l.message,h=l.path.join(".");if(!r[h])if(l.code==="invalid_union"&&l.errors.length>0){var m=l.errors[0][0];r[h]={message:m.message,type:m.code}}else r[h]={message:c,type:i};if(l.code==="invalid_union"&&l.errors.forEach(function(S){return S.forEach(function(w){return e.push(w)})}),t){var y=r[h].types,x=y&&y[l.code];r[h]=DM(h,t,r,i,x?[].concat(x,l.message):l.message)}e.shift()}return r}function Une(e,t,r){if(r===void 0&&(r={}),(function(l){return"_def"in l&&typeof l._def=="object"&&"typeName"in l._def})(e))return function(l,i,c){try{return Promise.resolve(YP(function(){return Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](l,t)).then(function(h){return c.shouldUseNativeValidation&&fD({},c),{errors:{},values:r.raw?Object.assign({},l):h}})},function(h){if((function(m){return Array.isArray(m?.issues)})(h))return{values:{},errors:KP(Bne(h.errors,!c.shouldUseNativeValidation&&c.criteriaMode==="all"),c)};throw h}))}catch(h){return Promise.reject(h)}};if((function(l){return"_zod"in l&&typeof l._zod=="object"})(e))return function(l,i,c){try{return Promise.resolve(YP(function(){return Promise.resolve((r.mode==="sync"?kne:jne)(e,l,t)).then(function(h){return c.shouldUseNativeValidation&&fD({},c),{errors:{},values:r.raw?Object.assign({},l):h}})},function(h){if((function(m){return m instanceof Pne})(h))return{values:{},errors:KP(zne(h.issues,!c.shouldUseNativeValidation&&c.criteriaMode==="all"),c)};throw h}))}catch(h){return Promise.reject(h)}};throw new Error("Invalid input: not a Zod schema")}function Ine(e,t){return wne({...t,resolver:Une(e)})}const v7=({value:e,onChange:t,defaultValue:r="",...l})=>{const i=gw("Input",l),[c="",h]=vr({prop:e,onChange:t,defaultProp:r}),m=y=>{h(y.target.value)};return M.jsx("input",{"data-slot":"input",...i,value:c,onChange:m,className:Ve("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","file:border-0 file:bg-transparent file:text-sm file:font-medium",i.className)})},Hne=Oh(["inline-flex select-none items-center gap-1 rounded border bg-muted px-1.5 font-medium text-muted-foreground"],{variants:{variant:{default:"border-transparent bg-secondary text-secondary-foreground",secondary:"border-transparent bg-primary text-primary-foreground",error:"border-transparent bg-error text-error-foreground",outline:"text-foreground"},size:{default:"px-1.5 py-0.5 text-xs",sm:"px-2 py-0.5 text-sm",lg:"px-4 py-1 text-lg"}},defaultVariants:{variant:"default",size:"default"}}),Vne=({variant:e,size:t,className:r,...l})=>M.jsx("kbd",{className:Ve(Hne({variant:e,size:t}),r),...l,"data-slot":"kbd"}),Fne=({className:e,...t})=>M.jsx("kbd",{"data-slot":"kbd-group",className:Ve("inline-flex items-center gap-1",e),...t}),Kne=Oh("animate-spin",{variants:{variant:{primary:"text-primary",secondary:"text-secondary",ghost:"text-muted-foreground",error:"text-error",success:"text-success"},size:{sm:"w-4 h-4",default:"w-7 h-7",lg:"w-10 h-10"}},defaultVariants:{variant:"primary",size:"default"}}),Gne=({center:e,containerClassName:t,variant:r,size:l,...i})=>M.jsx("div",{className:Ve(t,e&&"fixed inset-0 grid place-items-center"),"data-slot":"loader",children:M.jsx(vR,{"data-slot":"loader-icon",...i,className:Ve(Kne({variant:r,size:l}),i.className)})});function Yne(e){const[t=[],r]=j.useState(e);return[t,{insertAt:(R,D)=>{r(($=[])=>{const O=[...$];return O.splice(R,0,D),O})},removeAt:R=>{r((D=[])=>{const $=[...D];return $.splice(R,1),$})},updateAt:(R,D)=>{r(($=[])=>{const O=[...$];return O[R]=D,O})},clear:()=>r([]),reset:()=>r(e),push:R=>r((D=[])=>[...D,R]),set:R=>r(R),pop:()=>{r((R=[])=>{const D=[...R];return D.pop(),D})},update:(R,D)=>{r(($=[])=>{const O=[...$],q=ir.findIndex(O,R);return q===-1||(O[q]=ir.isFunction(D)?D(O[q]):D),O})}}]}function Xne({fn:e,dependencies:t=[],onError:r,onSuccess:l,onFinish:i}){const[c,h]=j.useState(!0),[m,y]=j.useState(null),[x,S]=j.useState(null),w=j.useCallback(()=>{h(!0),y(null),S(null),e().then(R=>{l?.(R),S(R)}).catch(R=>{r?.(R),y(R)}).finally(()=>{i?.(),h(!1)})},t);return j.useEffect(()=>{w()},[w]),{loading:c,error:m,data:x,refetch:w}}const Wne=(e,t=!0)=>{const r=j.useRef(null),l=i=>{r.current&&!r.current.contains(i.target)&&e()};return j.useEffect(()=>{if(t)return document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}},[t]),r};function Qne(){const[e,t]=j.useState(null),r=j.useCallback(async l=>{if(!navigator?.clipboard)return!1;try{return await navigator.clipboard.writeText(l),t(l),!0}catch(i){return console.error(i),t(null),!1}},[]);return[e,r]}function Zne(e,t){const r=j.useRef(null);return j.useCallback((...l)=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{e(...l)},t)},[e,t])}function Jne(e,t){const[r,l]=j.useState(e);return j.useEffect(()=>{const i=setTimeout(()=>{l(e)},t);return()=>clearTimeout(i)},[e,t]),r}function ere(e=!1,t){const{onOpen:r,onClose:l}=t||{},[i,c]=j.useState(e),h=j.useCallback(()=>{c(x=>x||(r?.(),!0))},[r]),m=j.useCallback(()=>{c(x=>x&&(l?.(),!1))},[l]),y=j.useCallback(()=>{i?m():h()},[m,h,i]);return[i,{open:h,close:m,toggle:y}]}function tre(e){j.useEffect(()=>{typeof e=="string"&&e.trim().length>0&&(document.title=e.trim())},[e])}function g7(e,t,r){const l=j.useRef(null);return j.useEffect(()=>{const i=l.current??document;return i.addEventListener(e,t,r),()=>{i.removeEventListener(e,t,r)}},[e,t,r]),l}const nre=e=>{const t=e.toLowerCase().split("+");return{mainKey:t.pop(),isShift:t.includes("shift"),isCtrl:t.includes("ctrl"),isAlt:t.includes("alt"),isMeta:t.includes("meta")}},rre=(e,t)=>{const{mainKey:r,isShift:l,isCtrl:i,isAlt:c,isMeta:h}=nre(t);return e.key.toLowerCase()===r&&e.shiftKey===l&&e.ctrlKey===i&&e.altKey===c&&e.metaKey===h},are=e=>e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable,lre=(e,t)=>t&&are(e.target),ore=(e,t,r,l,i)=>c=>{if(!i||lre(c,l))return;(Array.isArray(e)?e:[e]).some(y=>rre(c,y))&&(r&&c.preventDefault(),t(c))};function y7(e,t,r={}){const{eventName:l="keydown",preventDefault:i=!0,ignoreInputFields:c=!0,watch:h=!0}=r,m=j.useCallback(ore(e,t,i,c,h),[e,t,i,c,h]);return g7(l,m)}function ire(e){const[t,r]=j.useState(!1),l=j.useRef(null);return j.useEffect(()=>{const i=m=>{r(!0),e?.onHoverStart?.(m)},c=m=>{r(!1),e?.onHoverEnd?.(m)},h=l.current;if(h)return h.addEventListener("mouseover",i),h.addEventListener("mouseout",c),()=>{h.removeEventListener("mouseover",i),h.removeEventListener("mouseout",c)}},[e]),{ref:l,isHovering:t}}function ure({onVisible:e,root:t=null,rootMargin:r="0px",threshold:l=0}={}){const[i,c]=j.useState(!1),h=j.useRef(null),m=j.useCallback(([y])=>{const x=y.isIntersecting;c(x)},[e]);return j.useEffect(()=>{if(h.current==null)return;const y=new IntersectionObserver(m,{root:t,rootMargin:r,threshold:l});return y.observe(h.current),()=>{h.current!=null&&y.unobserve(h.current)}},[h,t,r,l,m]),j.useEffect(()=>{i&&e?.()},[i]),{ref:h,isVisible:i}}function sre(e,t){const r=()=>{try{const m=localStorage.getItem(e);return m?JSON.parse(m):t!==void 0?t:void 0}catch(m){return console.error(`Error parsing localStorage key "${e}":`,m),t!==void 0?t:void 0}},[l,i]=j.useState(r);return j.useEffect(()=>{try{l!==void 0?localStorage.setItem(e,JSON.stringify(l)):localStorage.removeItem(e)}catch(m){console.error(`Error setting localStorage key "${e}":`,m)}},[e,l]),[l,m=>{i(m)},()=>{try{localStorage.removeItem(e),i(t!==void 0?t:void 0)}catch(m){console.error(`Error removing localStorage key "${e}":`,m)}}]}const cre=e=>{const[t,r]=j.useState(!1);return j.useEffect(()=>{const l=window.matchMedia(e),i=()=>r(l.matches);return i(),l.addEventListener("change",i),()=>{l.removeEventListener("change",i)}},[e]),t};function dre(e){ir.isFunction(e)||console.error(`useMemoizedFn expected parameter is a function, got ${typeof e}`);const t=j.useRef(e);t.current=j.useMemo(()=>e,[e]);const r=j.useRef(null);return r.current||(r.current=function(...l){return t.current.apply(this,l)}),r.current}const fre=e=>{const[t,r]=j.useState(!1),[l,i]=j.useState(null),[c,h]=j.useState(null);return{mutate:j.useCallback(async(...y)=>{r(!0),i(null),h(null);try{const x=await e.fn(...y);return e.onSuccess?.(x),h(x),x}catch(x){const S=x;throw e.onError?.(S),i(S),S}finally{e.onFinish?.(),r(!1)}},[e]),loading:t,error:l,data:c}};function pre(e){const[t,r]=j.useState(e),l=j.useCallback(()=>r(e),[e]),i=j.useCallback(c=>{r(h=>{if(ir.isFunction(c)){const m=c(h);return ir.isObject(m)?{...h,...m}:h}else if(ir.isObject(c))return{...h,...c};return h})},[]);return[t,i,l]}function NM({totalItems:e,pageSize:t,initialCurrentPage:r=1,onChange:l}){const[i,c]=j.useState(r),h=Math.ceil(e/t),m=i===h,y=i===1,x=(i-1)*t+1,S=Math.min(i*t,e),w=()=>{if(m)return;const O=Math.min(i+1,h);$(O)},R=()=>{if(y)return;const O=Math.max(i-1,1);$(O)},D=O=>{if(O===1&&y||O===h&&m)return;const q=Math.max(1,O),N=Math.min(q,h);$(N)},$=O=>{c(O),l?.({currentPage:O,pageSize:t})};return{next:w,prev:R,goTo:D,currentPage:i,maxPage:h,isFirstPage:y,isLastPage:m,range:{start:x,end:S}}}function hre(e){const t=()=>document.getElementById(e),r=()=>{const i=document.createElement("div");return i.id=e,i},l=j.useMemo(()=>{const i=t();return i||r()},[e]);return j.useEffect(()=>(document.getElementById(e)||document.body.appendChild(l),()=>{const i=document.getElementById(e);i&&document.body.removeChild(i)}),[e,l]),{render:i=>Hu.createPortal(i,l)}}function mre({shouldPrevent:e,message:t="Es posible que no se guarden los cambios hayas hecho."}){const r=l=>{if(e)return l.preventDefault(),l.returnValue=t,t};j.useEffect(()=>(window.addEventListener("beforeunload",r),()=>window.removeEventListener("beforeunload",r)),[t,e])}const zv="...",b7=({siblingCount:e=1,...t})=>{const r=NM(t),{currentPage:l,maxPage:i}=r,{totalItems:c,pageSize:h}=t,m=()=>{const w=2+3*e,R=1;if(w>=i)return ir.range(R,i+1);const D=Math.max(l-e,1),$=Math.min(l+e,i),O=D>2,q=$<i-2;if(O&&q){const N=ir.range(D,$+1);return[R,zv,...N,zv,i]}if(q)return[...ir.range(R,w+1),zv,i];if(O){const N=ir.range(i-w+1,i+1);return[R,zv,...N]}},y=j.useMemo(m,[c,h,l,e]);return{...r,paginationRange:y??[]}};function vre(e){const[t,r]=j.useState(new Set),l=j.useCallback(S=>t.has(S),[t]),i=j.useCallback(S=>{r(w=>new Set([...w,S]))},[]),c=j.useCallback(S=>{r(w=>{const R=new Set(w);return R.delete(S),R})},[]),h=j.useCallback(S=>{r(w=>{const R=new Set(w);return R.has(S)?R.delete(S):R.add(S),R})},[]),m=j.useCallback(S=>{r(new Set(S))},[]),y=j.useCallback(()=>{r(S=>S.size===e.length?new Set:new Set(e))},[e]),x=j.useCallback(()=>r(new Set),[]);return{isAllSelected:t.size===e.length,isSomeSelected:t.size>0&&t.size<e.length,isNoneSelected:t.size===0,isSelected:l,selected:[...t],setSelected:m,select:i,unselect:c,toggle:h,toggleAll:y,clear:x}}function gre(e,t){const[r,l]=j.useState(0),i=t??e.length,c=()=>{l(x=>x>=i-1?x:x+1)},h=()=>{l(x=>x<=0?x:x-1)},m=x=>{l(x)},y=x=>{const S=ir.findIndex(e,x);S!==-1&&m(S)};return{currentStepIndex:r,step:e[r],steps:e,isFirstStep:r===0,isLastStep:r===i-1,goTo:m,next:c,back:h,findAndGo:y}}function x7(e=!1){const[t,r]=j.useState(e);return[t,i=>{r(i===void 0?!t:i)}]}const yre=/input|select|textarea|button|object/,E7="a, input, select, textarea, button, object, [tabindex]";function bre(e){return process.env.NODE_ENV==="test"?!1:e.style.display==="none"}function xre(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let r=e;for(;r&&!(r===document.body||r.nodeType===11);){if(bre(r))return!1;r=r.parentNode}return!0}function S7(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function pD(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(S7(e));return(yre.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&xre(e)}function w7(e){const t=S7(e);return(Number.isNaN(t)||t>=0)&&pD(e)}function Ere(e){return Array.from(e.querySelectorAll(E7)).filter(w7)}function Sre(e,t){const r=Ere(e);if(!r.length){t.preventDefault();return}const l=r[t.shiftKey?0:r.length-1],i=e.getRootNode();let c=l===i.activeElement||e===i.activeElement;const h=i.activeElement;if(h.tagName==="INPUT"&&h.getAttribute("type")==="radio"&&(c=r.filter(S=>S.getAttribute("type")==="radio"&&S.getAttribute("name")===h.getAttribute("name")).includes(l)),!c)return;t.preventDefault();const y=r[t.shiftKey?r.length-1:0];y&&y.focus()}function wre(e=!0){const t=j.useRef(null),r=i=>{let c=i.querySelector("[data-autofocus]");if(!c){const h=Array.from(i.querySelectorAll(E7));c=h.find(w7)||h.find(pD)||null,!c&&pD(i)&&(c=i)}c&&c.focus({preventScroll:!0})},l=j.useCallback(i=>{e&&i!==null&&t.current!==i&&(i?(setTimeout(()=>{i.getRootNode()&&r(i)}),t.current=i):t.current=null)},[e]);return j.useEffect(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const i=c=>{c.key==="Tab"&&t.current&&Sre(t.current,c)};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[e]),l}function Cre(e){const t=Rre(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(Are);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function Rre(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=Dre(i),m=_re(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Tre=Symbol("radix.slottable");function Are(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Tre}function _re(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function Dre(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Mre=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ore=Mre.reduce((e,t)=>{const r=Cre(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function XP(e){const t=Nre(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(Pre);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function Nre(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=kre(i),m=qre(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $re=Symbol("radix.slottable");function Pre(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$re}function qre(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function kre(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function $M(e){const t=e+"CollectionProvider",[r,l]=Pf(t),[i,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),h=O=>{const{scope:q,children:N}=O,U=j.useRef(null),I=j.useRef(new Map).current;return M.jsx(i,{scope:q,itemMap:I,collectionRef:U,children:N})};h.displayName=t;const m=e+"CollectionSlot",y=XP(m),x=j.forwardRef((O,q)=>{const{scope:N,children:U}=O,I=c(m,N),G=Sn(q,I.collectionRef);return M.jsx(y,{ref:G,children:U})});x.displayName=m;const S=e+"CollectionItemSlot",w="data-radix-collection-item",R=XP(S),D=j.forwardRef((O,q)=>{const{scope:N,children:U,...I}=O,G=j.useRef(null),F=Sn(q,G),H=c(S,N);return j.useEffect(()=>(H.itemMap.set(G,{ref:G,...I}),()=>{H.itemMap.delete(G)})),M.jsx(R,{[w]:"",ref:F,children:U})});D.displayName=S;function $(O){const q=c(e+"CollectionConsumer",O);return j.useCallback(()=>{const U=q.collectionRef.current;if(!U)return[];const I=Array.from(U.querySelectorAll(`[${w}]`));return Array.from(q.itemMap.values()).sort((H,V)=>I.indexOf(H.ref.current)-I.indexOf(V.ref.current))},[q.collectionRef,q.itemMap])}return[{Provider:h,Slot:x,ItemSlot:D},$,l]}var Lre=_.createContext(void 0);function PM(e){const t=_.useContext(Lre);return e||t||"ltr"}const jre=["top","right","bottom","left"],Fv=Math.min,Uu=Math.max,MR=Math.round,QC=Math.floor,Nf=e=>({x:e,y:e}),Bre={left:"right",right:"left",bottom:"top",top:"bottom"},zre={start:"end",end:"start"};function hD(e,t,r){return Uu(e,Fv(t,r))}function Ah(e,t){return typeof e=="function"?e(t):e}function _h(e){return e.split("-")[0]}function rx(e){return e.split("-")[1]}function qM(e){return e==="x"?"y":"x"}function kM(e){return e==="y"?"height":"width"}function Kv(e){return["top","bottom"].includes(_h(e))?"y":"x"}function LM(e){return qM(Kv(e))}function Ure(e,t,r){r===void 0&&(r=!1);const l=rx(e),i=LM(e),c=kM(i);let h=i==="x"?l===(r?"end":"start")?"right":"left":l==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(h=OR(h)),[h,OR(h)]}function Ire(e){const t=OR(e);return[mD(e),t,mD(t)]}function mD(e){return e.replace(/start|end/g,t=>zre[t])}function Hre(e,t,r){const l=["left","right"],i=["right","left"],c=["top","bottom"],h=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:l:t?l:i;case"left":case"right":return t?c:h;default:return[]}}function Vre(e,t,r,l){const i=rx(e);let c=Hre(_h(e),r==="start",l);return i&&(c=c.map(h=>h+"-"+i),t&&(c=c.concat(c.map(mD)))),c}function OR(e){return e.replace(/left|right|bottom|top/g,t=>Bre[t])}function Fre(e){return{top:0,right:0,bottom:0,left:0,...e}}function C7(e){return typeof e!="number"?Fre(e):{top:e,right:e,bottom:e,left:e}}function NR(e){const{x:t,y:r,width:l,height:i}=e;return{width:l,height:i,top:r,left:t,right:t+l,bottom:r+i,x:t,y:r}}function WP(e,t,r){let{reference:l,floating:i}=e;const c=Kv(t),h=LM(t),m=kM(h),y=_h(t),x=c==="y",S=l.x+l.width/2-i.width/2,w=l.y+l.height/2-i.height/2,R=l[m]/2-i[m]/2;let D;switch(y){case"top":D={x:S,y:l.y-i.height};break;case"bottom":D={x:S,y:l.y+l.height};break;case"right":D={x:l.x+l.width,y:w};break;case"left":D={x:l.x-i.width,y:w};break;default:D={x:l.x,y:l.y}}switch(rx(t)){case"start":D[h]-=R*(r&&x?-1:1);break;case"end":D[h]+=R*(r&&x?-1:1);break}return D}const Kre=async(e,t,r)=>{const{placement:l="bottom",strategy:i="absolute",middleware:c=[],platform:h}=r,m=c.filter(Boolean),y=await(h.isRTL==null?void 0:h.isRTL(t));let x=await h.getElementRects({reference:e,floating:t,strategy:i}),{x:S,y:w}=WP(x,l,y),R=l,D={},$=0;for(let O=0;O<m.length;O++){const{name:q,fn:N}=m[O],{x:U,y:I,data:G,reset:F}=await N({x:S,y:w,initialPlacement:l,placement:R,strategy:i,middlewareData:D,rects:x,platform:h,elements:{reference:e,floating:t}});S=U??S,w=I??w,D={...D,[q]:{...D[q],...G}},F&&$<=50&&($++,typeof F=="object"&&(F.placement&&(R=F.placement),F.rects&&(x=F.rects===!0?await h.getElementRects({reference:e,floating:t,strategy:i}):F.rects),{x:S,y:w}=WP(x,R,y)),O=-1)}return{x:S,y:w,placement:R,strategy:i,middlewareData:D}};async function lw(e,t){var r;t===void 0&&(t={});const{x:l,y:i,platform:c,rects:h,elements:m,strategy:y}=e,{boundary:x="clippingAncestors",rootBoundary:S="viewport",elementContext:w="floating",altBoundary:R=!1,padding:D=0}=Ah(t,e),$=C7(D),q=m[R?w==="floating"?"reference":"floating":w],N=NR(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(q)))==null||r?q:q.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(m.floating)),boundary:x,rootBoundary:S,strategy:y})),U=w==="floating"?{x:l,y:i,width:h.floating.width,height:h.floating.height}:h.reference,I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m.floating)),G=await(c.isElement==null?void 0:c.isElement(I))?await(c.getScale==null?void 0:c.getScale(I))||{x:1,y:1}:{x:1,y:1},F=NR(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:U,offsetParent:I,strategy:y}):U);return{top:(N.top-F.top+$.top)/G.y,bottom:(F.bottom-N.bottom+$.bottom)/G.y,left:(N.left-F.left+$.left)/G.x,right:(F.right-N.right+$.right)/G.x}}const Gre=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:l,placement:i,rects:c,platform:h,elements:m,middlewareData:y}=t,{element:x,padding:S=0}=Ah(e,t)||{};if(x==null)return{};const w=C7(S),R={x:r,y:l},D=LM(i),$=kM(D),O=await h.getDimensions(x),q=D==="y",N=q?"top":"left",U=q?"bottom":"right",I=q?"clientHeight":"clientWidth",G=c.reference[$]+c.reference[D]-R[D]-c.floating[$],F=R[D]-c.reference[D],H=await(h.getOffsetParent==null?void 0:h.getOffsetParent(x));let V=H?H[I]:0;(!V||!await(h.isElement==null?void 0:h.isElement(H)))&&(V=m.floating[I]||c.floating[$]);const X=G/2-F/2,le=V/2-O[$]/2-1,xe=Fv(w[N],le),Q=Fv(w[U],le),ue=xe,se=V-O[$]-Q,ae=V/2-O[$]/2+X,ge=hD(ue,ae,se),L=!y.arrow&&rx(i)!=null&&ae!==ge&&c.reference[$]/2-(ae<ue?xe:Q)-O[$]/2<0,W=L?ae<ue?ae-ue:ae-se:0;return{[D]:R[D]+W,data:{[D]:ge,centerOffset:ae-ge-W,...L&&{alignmentOffset:W}},reset:L}}}),Yre=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,l;const{placement:i,middlewareData:c,rects:h,initialPlacement:m,platform:y,elements:x}=t,{mainAxis:S=!0,crossAxis:w=!0,fallbackPlacements:R,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:$="none",flipAlignment:O=!0,...q}=Ah(e,t);if((r=c.arrow)!=null&&r.alignmentOffset)return{};const N=_h(i),U=Kv(m),I=_h(m)===m,G=await(y.isRTL==null?void 0:y.isRTL(x.floating)),F=R||(I||!O?[OR(m)]:Ire(m)),H=$!=="none";!R&&H&&F.push(...Vre(m,O,$,G));const V=[m,...F],X=await lw(t,q),le=[];let xe=((l=c.flip)==null?void 0:l.overflows)||[];if(S&&le.push(X[N]),w){const ae=Ure(i,h,G);le.push(X[ae[0]],X[ae[1]])}if(xe=[...xe,{placement:i,overflows:le}],!le.every(ae=>ae<=0)){var Q,ue;const ae=(((Q=c.flip)==null?void 0:Q.index)||0)+1,ge=V[ae];if(ge)return{data:{index:ae,overflows:xe},reset:{placement:ge}};let L=(ue=xe.filter(W=>W.overflows[0]<=0).sort((W,ee)=>W.overflows[1]-ee.overflows[1])[0])==null?void 0:ue.placement;if(!L)switch(D){case"bestFit":{var se;const W=(se=xe.filter(ee=>{if(H){const me=Kv(ee.placement);return me===U||me==="y"}return!0}).map(ee=>[ee.placement,ee.overflows.filter(me=>me>0).reduce((me,Y)=>me+Y,0)]).sort((ee,me)=>ee[1]-me[1])[0])==null?void 0:se[0];W&&(L=W);break}case"initialPlacement":L=m;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function QP(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ZP(e){return jre.some(t=>e[t]>=0)}const Xre=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:l="referenceHidden",...i}=Ah(e,t);switch(l){case"referenceHidden":{const c=await lw(t,{...i,elementContext:"reference"}),h=QP(c,r.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:ZP(h)}}}case"escaped":{const c=await lw(t,{...i,altBoundary:!0}),h=QP(c,r.floating);return{data:{escapedOffsets:h,escaped:ZP(h)}}}default:return{}}}}};async function Wre(e,t){const{placement:r,platform:l,elements:i}=e,c=await(l.isRTL==null?void 0:l.isRTL(i.floating)),h=_h(r),m=rx(r),y=Kv(r)==="y",x=["left","top"].includes(h)?-1:1,S=c&&y?-1:1,w=Ah(t,e);let{mainAxis:R,crossAxis:D,alignmentAxis:$}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:w.mainAxis||0,crossAxis:w.crossAxis||0,alignmentAxis:w.alignmentAxis};return m&&typeof $=="number"&&(D=m==="end"?$*-1:$),y?{x:D*S,y:R*x}:{x:R*x,y:D*S}}const Qre=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,l;const{x:i,y:c,placement:h,middlewareData:m}=t,y=await Wre(t,e);return h===((r=m.offset)==null?void 0:r.placement)&&(l=m.arrow)!=null&&l.alignmentOffset?{}:{x:i+y.x,y:c+y.y,data:{...y,placement:h}}}}},Zre=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:l,placement:i}=t,{mainAxis:c=!0,crossAxis:h=!1,limiter:m={fn:q=>{let{x:N,y:U}=q;return{x:N,y:U}}},...y}=Ah(e,t),x={x:r,y:l},S=await lw(t,y),w=Kv(_h(i)),R=qM(w);let D=x[R],$=x[w];if(c){const q=R==="y"?"top":"left",N=R==="y"?"bottom":"right",U=D+S[q],I=D-S[N];D=hD(U,D,I)}if(h){const q=w==="y"?"top":"left",N=w==="y"?"bottom":"right",U=$+S[q],I=$-S[N];$=hD(U,$,I)}const O=m.fn({...t,[R]:D,[w]:$});return{...O,data:{x:O.x-r,y:O.y-l,enabled:{[R]:c,[w]:h}}}}}},Jre=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:l,placement:i,rects:c,middlewareData:h}=t,{offset:m=0,mainAxis:y=!0,crossAxis:x=!0}=Ah(e,t),S={x:r,y:l},w=Kv(i),R=qM(w);let D=S[R],$=S[w];const O=Ah(m,t),q=typeof O=="number"?{mainAxis:O,crossAxis:0}:{mainAxis:0,crossAxis:0,...O};if(y){const I=R==="y"?"height":"width",G=c.reference[R]-c.floating[I]+q.mainAxis,F=c.reference[R]+c.reference[I]-q.mainAxis;D<G?D=G:D>F&&(D=F)}if(x){var N,U;const I=R==="y"?"width":"height",G=["top","left"].includes(_h(i)),F=c.reference[w]-c.floating[I]+(G&&((N=h.offset)==null?void 0:N[w])||0)+(G?0:q.crossAxis),H=c.reference[w]+c.reference[I]+(G?0:((U=h.offset)==null?void 0:U[w])||0)-(G?q.crossAxis:0);$<F?$=F:$>H&&($=H)}return{[R]:D,[w]:$}}}},eae=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,l;const{placement:i,rects:c,platform:h,elements:m}=t,{apply:y=()=>{},...x}=Ah(e,t),S=await lw(t,x),w=_h(i),R=rx(i),D=Kv(i)==="y",{width:$,height:O}=c.floating;let q,N;w==="top"||w==="bottom"?(q=w,N=R===(await(h.isRTL==null?void 0:h.isRTL(m.floating))?"start":"end")?"left":"right"):(N=w,q=R==="end"?"top":"bottom");const U=O-S.top-S.bottom,I=$-S.left-S.right,G=Fv(O-S[q],U),F=Fv($-S[N],I),H=!t.middlewareData.shift;let V=G,X=F;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(X=I),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(V=U),H&&!R){const xe=Uu(S.left,0),Q=Uu(S.right,0),ue=Uu(S.top,0),se=Uu(S.bottom,0);D?X=$-2*(xe!==0||Q!==0?xe+Q:Uu(S.left,S.right)):V=O-2*(ue!==0||se!==0?ue+se:Uu(S.top,S.bottom))}await y({...t,availableWidth:X,availableHeight:V});const le=await h.getDimensions(m.floating);return $!==le.width||O!==le.height?{reset:{rects:!0}}:{}}}};function sT(){return typeof window<"u"}function ax(e){return R7(e)?(e.nodeName||"").toLowerCase():"#document"}function Vu(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function kf(e){var t;return(t=(R7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function R7(e){return sT()?e instanceof Node||e instanceof Vu(e).Node:!1}function ld(e){return sT()?e instanceof Element||e instanceof Vu(e).Element:!1}function $f(e){return sT()?e instanceof HTMLElement||e instanceof Vu(e).HTMLElement:!1}function JP(e){return!sT()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vu(e).ShadowRoot}function _w(e){const{overflow:t,overflowX:r,overflowY:l,display:i}=od(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+r)&&!["inline","contents"].includes(i)}function tae(e){return["table","td","th"].includes(ax(e))}function cT(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function jM(e){const t=BM(),r=ld(e)?od(e):e;return["transform","translate","scale","rotate","perspective"].some(l=>r[l]?r[l]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(l=>(r.willChange||"").includes(l))||["paint","layout","strict","content"].some(l=>(r.contain||"").includes(l))}function nae(e){let t=Gv(e);for(;$f(t)&&!K0(t);){if(jM(t))return t;if(cT(t))return null;t=Gv(t)}return null}function BM(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function K0(e){return["html","body","#document"].includes(ax(e))}function od(e){return Vu(e).getComputedStyle(e)}function dT(e){return ld(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Gv(e){if(ax(e)==="html")return e;const t=e.assignedSlot||e.parentNode||JP(e)&&e.host||kf(e);return JP(t)?t.host:t}function T7(e){const t=Gv(e);return K0(t)?e.ownerDocument?e.ownerDocument.body:e.body:$f(t)&&_w(t)?t:T7(t)}function ow(e,t,r){var l;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=T7(e),c=i===((l=e.ownerDocument)==null?void 0:l.body),h=Vu(i);if(c){const m=vD(h);return t.concat(h,h.visualViewport||[],_w(i)?i:[],m&&r?ow(m):[])}return t.concat(i,ow(i,[],r))}function vD(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function A7(e){const t=od(e);let r=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const i=$f(e),c=i?e.offsetWidth:r,h=i?e.offsetHeight:l,m=MR(r)!==c||MR(l)!==h;return m&&(r=c,l=h),{width:r,height:l,$:m}}function zM(e){return ld(e)?e:e.contextElement}function I0(e){const t=zM(e);if(!$f(t))return Nf(1);const r=t.getBoundingClientRect(),{width:l,height:i,$:c}=A7(t);let h=(c?MR(r.width):r.width)/l,m=(c?MR(r.height):r.height)/i;return(!h||!Number.isFinite(h))&&(h=1),(!m||!Number.isFinite(m))&&(m=1),{x:h,y:m}}const rae=Nf(0);function _7(e){const t=Vu(e);return!BM()||!t.visualViewport?rae:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function aae(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Vu(e)?!1:t}function nb(e,t,r,l){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),c=zM(e);let h=Nf(1);t&&(l?ld(l)&&(h=I0(l)):h=I0(e));const m=aae(c,r,l)?_7(c):Nf(0);let y=(i.left+m.x)/h.x,x=(i.top+m.y)/h.y,S=i.width/h.x,w=i.height/h.y;if(c){const R=Vu(c),D=l&&ld(l)?Vu(l):l;let $=R,O=vD($);for(;O&&l&&D!==$;){const q=I0(O),N=O.getBoundingClientRect(),U=od(O),I=N.left+(O.clientLeft+parseFloat(U.paddingLeft))*q.x,G=N.top+(O.clientTop+parseFloat(U.paddingTop))*q.y;y*=q.x,x*=q.y,S*=q.x,w*=q.y,y+=I,x+=G,$=Vu(O),O=vD($)}}return NR({width:S,height:w,x:y,y:x})}function UM(e,t){const r=dT(e).scrollLeft;return t?t.left+r:nb(kf(e)).left+r}function D7(e,t,r){r===void 0&&(r=!1);const l=e.getBoundingClientRect(),i=l.left+t.scrollLeft-(r?0:UM(e,l)),c=l.top+t.scrollTop;return{x:i,y:c}}function lae(e){let{elements:t,rect:r,offsetParent:l,strategy:i}=e;const c=i==="fixed",h=kf(l),m=t?cT(t.floating):!1;if(l===h||m&&c)return r;let y={scrollLeft:0,scrollTop:0},x=Nf(1);const S=Nf(0),w=$f(l);if((w||!w&&!c)&&((ax(l)!=="body"||_w(h))&&(y=dT(l)),$f(l))){const D=nb(l);x=I0(l),S.x=D.x+l.clientLeft,S.y=D.y+l.clientTop}const R=h&&!w&&!c?D7(h,y,!0):Nf(0);return{width:r.width*x.x,height:r.height*x.y,x:r.x*x.x-y.scrollLeft*x.x+S.x+R.x,y:r.y*x.y-y.scrollTop*x.y+S.y+R.y}}function oae(e){return Array.from(e.getClientRects())}function iae(e){const t=kf(e),r=dT(e),l=e.ownerDocument.body,i=Uu(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),c=Uu(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let h=-r.scrollLeft+UM(e);const m=-r.scrollTop;return od(l).direction==="rtl"&&(h+=Uu(t.clientWidth,l.clientWidth)-i),{width:i,height:c,x:h,y:m}}function uae(e,t){const r=Vu(e),l=kf(e),i=r.visualViewport;let c=l.clientWidth,h=l.clientHeight,m=0,y=0;if(i){c=i.width,h=i.height;const x=BM();(!x||x&&t==="fixed")&&(m=i.offsetLeft,y=i.offsetTop)}return{width:c,height:h,x:m,y}}function sae(e,t){const r=nb(e,!0,t==="fixed"),l=r.top+e.clientTop,i=r.left+e.clientLeft,c=$f(e)?I0(e):Nf(1),h=e.clientWidth*c.x,m=e.clientHeight*c.y,y=i*c.x,x=l*c.y;return{width:h,height:m,x:y,y:x}}function e6(e,t,r){let l;if(t==="viewport")l=uae(e,r);else if(t==="document")l=iae(kf(e));else if(ld(t))l=sae(t,r);else{const i=_7(e);l={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return NR(l)}function M7(e,t){const r=Gv(e);return r===t||!ld(r)||K0(r)?!1:od(r).position==="fixed"||M7(r,t)}function cae(e,t){const r=t.get(e);if(r)return r;let l=ow(e,[],!1).filter(m=>ld(m)&&ax(m)!=="body"),i=null;const c=od(e).position==="fixed";let h=c?Gv(e):e;for(;ld(h)&&!K0(h);){const m=od(h),y=jM(h);!y&&m.position==="fixed"&&(i=null),(c?!y&&!i:!y&&m.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_w(h)&&!y&&M7(e,h))?l=l.filter(S=>S!==h):i=m,h=Gv(h)}return t.set(e,l),l}function dae(e){let{element:t,boundary:r,rootBoundary:l,strategy:i}=e;const h=[...r==="clippingAncestors"?cT(t)?[]:cae(t,this._c):[].concat(r),l],m=h[0],y=h.reduce((x,S)=>{const w=e6(t,S,i);return x.top=Uu(w.top,x.top),x.right=Fv(w.right,x.right),x.bottom=Fv(w.bottom,x.bottom),x.left=Uu(w.left,x.left),x},e6(t,m,i));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function fae(e){const{width:t,height:r}=A7(e);return{width:t,height:r}}function pae(e,t,r){const l=$f(t),i=kf(t),c=r==="fixed",h=nb(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const y=Nf(0);if(l||!l&&!c)if((ax(t)!=="body"||_w(i))&&(m=dT(t)),l){const R=nb(t,!0,c,t);y.x=R.x+t.clientLeft,y.y=R.y+t.clientTop}else i&&(y.x=UM(i));const x=i&&!l&&!c?D7(i,m):Nf(0),S=h.left+m.scrollLeft-y.x-x.x,w=h.top+m.scrollTop-y.y-x.y;return{x:S,y:w,width:h.width,height:h.height}}function S_(e){return od(e).position==="static"}function t6(e,t){if(!$f(e)||od(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return kf(e)===r&&(r=r.ownerDocument.body),r}function O7(e,t){const r=Vu(e);if(cT(e))return r;if(!$f(e)){let i=Gv(e);for(;i&&!K0(i);){if(ld(i)&&!S_(i))return i;i=Gv(i)}return r}let l=t6(e,t);for(;l&&tae(l)&&S_(l);)l=t6(l,t);return l&&K0(l)&&S_(l)&&!jM(l)?r:l||nae(e)||r}const hae=async function(e){const t=this.getOffsetParent||O7,r=this.getDimensions,l=await r(e.floating);return{reference:pae(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function mae(e){return od(e).direction==="rtl"}const vae={convertOffsetParentRelativeRectToViewportRelativeRect:lae,getDocumentElement:kf,getClippingRect:dae,getOffsetParent:O7,getElementRects:hae,getClientRects:oae,getDimensions:fae,getScale:I0,isElement:ld,isRTL:mae};function N7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gae(e,t){let r=null,l;const i=kf(e);function c(){var m;clearTimeout(l),(m=r)==null||m.disconnect(),r=null}function h(m,y){m===void 0&&(m=!1),y===void 0&&(y=1),c();const x=e.getBoundingClientRect(),{left:S,top:w,width:R,height:D}=x;if(m||t(),!R||!D)return;const $=QC(w),O=QC(i.clientWidth-(S+R)),q=QC(i.clientHeight-(w+D)),N=QC(S),I={rootMargin:-$+"px "+-O+"px "+-q+"px "+-N+"px",threshold:Uu(0,Fv(1,y))||1};let G=!0;function F(H){const V=H[0].intersectionRatio;if(V!==y){if(!G)return h();V?h(!1,V):l=setTimeout(()=>{h(!1,1e-7)},1e3)}V===1&&!N7(x,e.getBoundingClientRect())&&h(),G=!1}try{r=new IntersectionObserver(F,{...I,root:i.ownerDocument})}catch{r=new IntersectionObserver(F,I)}r.observe(e)}return h(!0),c}function yae(e,t,r,l){l===void 0&&(l={});const{ancestorScroll:i=!0,ancestorResize:c=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:y=!1}=l,x=zM(e),S=i||c?[...x?ow(x):[],...ow(t)]:[];S.forEach(N=>{i&&N.addEventListener("scroll",r,{passive:!0}),c&&N.addEventListener("resize",r)});const w=x&&m?gae(x,r):null;let R=-1,D=null;h&&(D=new ResizeObserver(N=>{let[U]=N;U&&U.target===x&&D&&(D.unobserve(t),cancelAnimationFrame(R),R=requestAnimationFrame(()=>{var I;(I=D)==null||I.observe(t)})),r()}),x&&!y&&D.observe(x),D.observe(t));let $,O=y?nb(e):null;y&&q();function q(){const N=nb(e);O&&!N7(O,N)&&r(),O=N,$=requestAnimationFrame(q)}return r(),()=>{var N;S.forEach(U=>{i&&U.removeEventListener("scroll",r),c&&U.removeEventListener("resize",r)}),w?.(),(N=D)==null||N.disconnect(),D=null,y&&cancelAnimationFrame($)}}const bae=Qre,xae=Zre,Eae=Yre,Sae=eae,wae=Xre,n6=Gre,Cae=Jre,Rae=(e,t,r)=>{const l=new Map,i={platform:vae,...r},c={...i.platform,_c:l};return Kre(e,t,{...i,platform:c})};var uR=typeof document<"u"?j.useLayoutEffect:j.useEffect;function $R(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,l,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(l=r;l--!==0;)if(!$R(e[l],t[l]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(l=r;l--!==0;)if(!{}.hasOwnProperty.call(t,i[l]))return!1;for(l=r;l--!==0;){const c=i[l];if(!(c==="_owner"&&e.$$typeof)&&!$R(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function $7(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function r6(e,t){const r=$7(e);return Math.round(t*r)/r}function w_(e){const t=_.useRef(e);return uR(()=>{t.current=e}),t}function Tae(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:l=[],platform:i,elements:{reference:c,floating:h}={},transform:m=!0,whileElementsMounted:y,open:x}=e,[S,w]=_.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[R,D]=_.useState(l);$R(R,l)||D(l);const[$,O]=_.useState(null),[q,N]=_.useState(null),U=_.useCallback(ee=>{ee!==H.current&&(H.current=ee,O(ee))},[]),I=_.useCallback(ee=>{ee!==V.current&&(V.current=ee,N(ee))},[]),G=c||$,F=h||q,H=_.useRef(null),V=_.useRef(null),X=_.useRef(S),le=y!=null,xe=w_(y),Q=w_(i),ue=w_(x),se=_.useCallback(()=>{if(!H.current||!V.current)return;const ee={placement:t,strategy:r,middleware:R};Q.current&&(ee.platform=Q.current),Rae(H.current,V.current,ee).then(me=>{const Y={...me,isPositioned:ue.current!==!1};ae.current&&!$R(X.current,Y)&&(X.current=Y,X0.flushSync(()=>{w(Y)}))})},[R,t,r,Q,ue]);uR(()=>{x===!1&&X.current.isPositioned&&(X.current.isPositioned=!1,w(ee=>({...ee,isPositioned:!1})))},[x]);const ae=_.useRef(!1);uR(()=>(ae.current=!0,()=>{ae.current=!1}),[]),uR(()=>{if(G&&(H.current=G),F&&(V.current=F),G&&F){if(xe.current)return xe.current(G,F,se);se()}},[G,F,se,xe,le]);const ge=_.useMemo(()=>({reference:H,floating:V,setReference:U,setFloating:I}),[U,I]),L=_.useMemo(()=>({reference:G,floating:F}),[G,F]),W=_.useMemo(()=>{const ee={position:r,left:0,top:0};if(!L.floating)return ee;const me=r6(L.floating,S.x),Y=r6(L.floating,S.y);return m?{...ee,transform:"translate("+me+"px, "+Y+"px)",...$7(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:me,top:Y}},[r,m,L.floating,S.x,S.y]);return _.useMemo(()=>({...S,update:se,refs:ge,elements:L,floatingStyles:W}),[S,se,ge,L,W])}const Aae=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:l,padding:i}=typeof e=="function"?e(r):e;return l&&t(l)?l.current!=null?n6({element:l.current,padding:i}).fn(r):{}:l?n6({element:l,padding:i}).fn(r):{}}}},_ae=(e,t)=>({...bae(e),options:[e,t]}),Dae=(e,t)=>({...xae(e),options:[e,t]}),Mae=(e,t)=>({...Cae(e),options:[e,t]}),Oae=(e,t)=>({...Eae(e),options:[e,t]}),Nae=(e,t)=>({...Sae(e),options:[e,t]}),$ae=(e,t)=>({...wae(e),options:[e,t]}),Pae=(e,t)=>({...Aae(e),options:[e,t]});function qae(e){const t=kae(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(jae);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function kae(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=zae(i),m=Bae(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Lae=Symbol("radix.slottable");function jae(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Lae}function Bae(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function zae(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Uae=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Iae=Uae.reduce((e,t)=>{const r=qae(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),Hae="Arrow",P7=_.forwardRef((e,t)=>{const{children:r,width:l=10,height:i=5,...c}=e;return M.jsx(Iae.svg,{...c,ref:t,width:l,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:M.jsx("polygon",{points:"0,0 30,0 15,10"})})});P7.displayName=Hae;var Vae=P7;function Fae(e){const t=Kae(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(Yae);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function Kae(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=Wae(i),m=Xae(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gae=Symbol("radix.slottable");function Yae(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gae}function Xae(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function Wae(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Qae=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],q7=Qae.reduce((e,t)=>{const r=Fae(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function Zae(e){const[t,r]=_.useState(void 0);return El(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const l=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const c=i[0];let h,m;if("borderBoxSize"in c){const y=c.borderBoxSize,x=Array.isArray(y)?y[0]:y;h=x.inlineSize,m=x.blockSize}else h=e.offsetWidth,m=e.offsetHeight;r({width:h,height:m})});return l.observe(e,{box:"border-box"}),()=>l.unobserve(e)}else r(void 0)},[e]),t}var IM="Popper",[k7,Xv]=Pf(IM),[Jae,L7]=k7(IM),j7=e=>{const{__scopePopper:t,children:r}=e,[l,i]=_.useState(null);return M.jsx(Jae,{scope:t,anchor:l,onAnchorChange:i,children:r})};j7.displayName=IM;var B7="PopperAnchor",z7=_.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:l,...i}=e,c=L7(B7,r),h=_.useRef(null),m=Sn(t,h),y=_.useRef(null);return _.useEffect(()=>{const x=y.current;y.current=l?.current||h.current,x!==y.current&&c.onAnchorChange(y.current)}),l?null:M.jsx(q7.div,{...i,ref:m})});z7.displayName=B7;var HM="PopperContent",[ele,tle]=k7(HM),U7=_.forwardRef((e,t)=>{const{__scopePopper:r,side:l="bottom",sideOffset:i=0,align:c="center",alignOffset:h=0,arrowPadding:m=0,avoidCollisions:y=!0,collisionBoundary:x=[],collisionPadding:S=0,sticky:w="partial",hideWhenDetached:R=!1,updatePositionStrategy:D="optimized",onPlaced:$,...O}=e,q=L7(HM,r),[N,U]=_.useState(null),I=Sn(t,Re=>U(Re)),[G,F]=_.useState(null),H=Zae(G),V=H?.width??0,X=H?.height??0,le=l+(c!=="center"?"-"+c:""),xe=typeof S=="number"?S:{top:0,right:0,bottom:0,left:0,...S},Q=Array.isArray(x)?x:[x],ue=Q.length>0,se={padding:xe,boundary:Q.filter(rle),altBoundary:ue},{refs:ae,floatingStyles:ge,placement:L,isPositioned:W,middlewareData:ee}=Tae({strategy:"fixed",placement:le,whileElementsMounted:(...Re)=>yae(...Re,{animationFrame:D==="always"}),elements:{reference:q.anchor},middleware:[_ae({mainAxis:i+X,alignmentAxis:h}),y&&Dae({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?Mae():void 0,...se}),y&&Oae({...se}),Nae({...se,apply:({elements:Re,rects:Ye,availableWidth:oe,availableHeight:je})=>{const{width:Le,height:we}=Ye.reference,lt=Re.floating.style;lt.setProperty("--radix-popper-available-width",`${oe}px`),lt.setProperty("--radix-popper-available-height",`${je}px`),lt.setProperty("--radix-popper-anchor-width",`${Le}px`),lt.setProperty("--radix-popper-anchor-height",`${we}px`)}}),G&&Pae({element:G,padding:m}),ale({arrowWidth:V,arrowHeight:X}),R&&$ae({strategy:"referenceHidden",...se})]}),[me,Y]=V7(L),be=co($);El(()=>{W&&be?.()},[W,be]);const ie=ee.arrow?.x,fe=ee.arrow?.y,_e=ee.arrow?.centerOffset!==0,[$e,Pe]=_.useState();return El(()=>{N&&Pe(window.getComputedStyle(N).zIndex)},[N]),M.jsx("div",{ref:ae.setFloating,"data-radix-popper-content-wrapper":"",style:{...ge,transform:W?ge.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[ee.transformOrigin?.x,ee.transformOrigin?.y].join(" "),...ee.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:M.jsx(ele,{scope:r,placedSide:me,onArrowChange:F,arrowX:ie,arrowY:fe,shouldHideArrow:_e,children:M.jsx(q7.div,{"data-side":me,"data-align":Y,...O,ref:I,style:{...O.style,animation:W?void 0:"none"}})})})});U7.displayName=HM;var I7="PopperArrow",nle={top:"bottom",right:"left",bottom:"top",left:"right"},H7=_.forwardRef(function(t,r){const{__scopePopper:l,...i}=t,c=tle(I7,l),h=nle[c.placedSide];return M.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[h]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:M.jsx(Vae,{...i,ref:r,style:{...i.style,display:"block"}})})});H7.displayName=I7;function rle(e){return e!==null}var ale=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:l,middlewareData:i}=t,h=i.arrow?.centerOffset!==0,m=h?0:e.arrowWidth,y=h?0:e.arrowHeight,[x,S]=V7(r),w={start:"0%",center:"50%",end:"100%"}[S],R=(i.arrow?.x??0)+m/2,D=(i.arrow?.y??0)+y/2;let $="",O="";return x==="bottom"?($=h?w:`${R}px`,O=`${-y}px`):x==="top"?($=h?w:`${R}px`,O=`${l.floating.height+y}px`):x==="right"?($=`${-y}px`,O=h?w:`${D}px`):x==="left"&&($=`${l.floating.width+y}px`,O=h?w:`${D}px`),{data:{x:$,y:O}}}});function V7(e){const[t,r="center"]=e.split("-");return[t,r]}var Dw=j7,Mw=z7,fT=U7,pT=H7;function F7(e){const t=lle(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(ile);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function lle(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=sle(i),m=ule(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ole=Symbol("radix.slottable");function ile(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ole}function ule(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function sle(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var cle=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ow=cle.reduce((e,t)=>{const r=F7(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function dle(e,t){e&&X0.flushSync(()=>e.dispatchEvent(t))}function fle(e){const t=ple(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(mle);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function ple(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=gle(i),m=vle(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hle=Symbol("radix.slottable");function mle(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hle}function vle(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function gle(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var yle=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],K7=yle.reduce((e,t)=>{const r=fle(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),C_="rovingFocusGroup.onEntryFocus",ble={bubbles:!1,cancelable:!0},Nw="RovingFocusGroup",[gD,G7,xle]=$M(Nw),[Ele,Y7]=Pf(Nw,[xle]),[Sle,wle]=Ele(Nw),X7=_.forwardRef((e,t)=>M.jsx(gD.Provider,{scope:e.__scopeRovingFocusGroup,children:M.jsx(gD.Slot,{scope:e.__scopeRovingFocusGroup,children:M.jsx(Cle,{...e,ref:t})})}));X7.displayName=Nw;var Cle=_.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:l,loop:i=!1,dir:c,currentTabStopId:h,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:y,onEntryFocus:x,preventScrollOnEntryFocus:S=!1,...w}=e,R=_.useRef(null),D=Sn(t,R),$=PM(c),[O,q]=vr({prop:h,defaultProp:m??null,onChange:y,caller:Nw}),[N,U]=_.useState(!1),I=co(x),G=G7(r),F=_.useRef(!1),[H,V]=_.useState(0);return _.useEffect(()=>{const X=R.current;if(X)return X.addEventListener(C_,I),()=>X.removeEventListener(C_,I)},[I]),M.jsx(Sle,{scope:r,orientation:l,dir:$,loop:i,currentTabStopId:O,onItemFocus:_.useCallback(X=>q(X),[q]),onItemShiftTab:_.useCallback(()=>U(!0),[]),onFocusableItemAdd:_.useCallback(()=>V(X=>X+1),[]),onFocusableItemRemove:_.useCallback(()=>V(X=>X-1),[]),children:M.jsx(K7.div,{tabIndex:N||H===0?-1:0,"data-orientation":l,...w,ref:D,style:{outline:"none",...e.style},onMouseDown:vt(e.onMouseDown,()=>{F.current=!0}),onFocus:vt(e.onFocus,X=>{const le=!F.current;if(X.target===X.currentTarget&&le&&!N){const xe=new CustomEvent(C_,ble);if(X.currentTarget.dispatchEvent(xe),!xe.defaultPrevented){const Q=G().filter(L=>L.focusable),ue=Q.find(L=>L.active),se=Q.find(L=>L.id===O),ge=[ue,se,...Q].filter(Boolean).map(L=>L.ref.current);Z7(ge,S)}}F.current=!1}),onBlur:vt(e.onBlur,()=>U(!1))})})}),W7="RovingFocusGroupItem",Q7=_.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:l=!0,active:i=!1,tabStopId:c,children:h,...m}=e,y=sa(),x=c||y,S=wle(W7,r),w=S.currentTabStopId===x,R=G7(r),{onFocusableItemAdd:D,onFocusableItemRemove:$,currentTabStopId:O}=S;return _.useEffect(()=>{if(l)return D(),()=>$()},[l,D,$]),M.jsx(gD.ItemSlot,{scope:r,id:x,focusable:l,active:i,children:M.jsx(K7.span,{tabIndex:w?0:-1,"data-orientation":S.orientation,...m,ref:t,onMouseDown:vt(e.onMouseDown,q=>{l?S.onItemFocus(x):q.preventDefault()}),onFocus:vt(e.onFocus,()=>S.onItemFocus(x)),onKeyDown:vt(e.onKeyDown,q=>{if(q.key==="Tab"&&q.shiftKey){S.onItemShiftTab();return}if(q.target!==q.currentTarget)return;const N=Ale(q,S.orientation,S.dir);if(N!==void 0){if(q.metaKey||q.ctrlKey||q.altKey||q.shiftKey)return;q.preventDefault();let I=R().filter(G=>G.focusable).map(G=>G.ref.current);if(N==="last")I.reverse();else if(N==="prev"||N==="next"){N==="prev"&&I.reverse();const G=I.indexOf(q.currentTarget);I=S.loop?_le(I,G+1):I.slice(G+1)}setTimeout(()=>Z7(I))}}),children:typeof h=="function"?h({isCurrentTabStop:w,hasTabStop:O!=null}):h})})});Q7.displayName=W7;var Rle={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Tle(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Ale(e,t,r){const l=Tle(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(l))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(l)))return Rle[l]}function Z7(e,t=!1){const r=document.activeElement;for(const l of e)if(l===r||(l.focus({preventScroll:t}),document.activeElement!==r))return}function _le(e,t){return e.map((r,l)=>e[(t+l)%e.length])}var Dle=X7,Mle=Q7,yD=["Enter"," "],Ole=["ArrowDown","PageUp","Home"],J7=["ArrowUp","PageDown","End"],Nle=[...Ole,...J7],$le={ltr:[...yD,"ArrowRight"],rtl:[...yD,"ArrowLeft"]},Ple={ltr:["ArrowLeft"],rtl:["ArrowRight"]},$w="Menu",[iw,qle,kle]=$M($w),[db,eL]=Pf($w,[kle,Xv,Y7]),Pw=Xv(),tL=Y7(),[nL,Wv]=db($w),[Lle,qw]=db($w),rL=e=>{const{__scopeMenu:t,open:r=!1,children:l,dir:i,onOpenChange:c,modal:h=!0}=e,m=Pw(t),[y,x]=_.useState(null),S=_.useRef(!1),w=co(c),R=PM(i);return _.useEffect(()=>{const D=()=>{S.current=!0,document.addEventListener("pointerdown",$,{capture:!0,once:!0}),document.addEventListener("pointermove",$,{capture:!0,once:!0})},$=()=>S.current=!1;return document.addEventListener("keydown",D,{capture:!0}),()=>{document.removeEventListener("keydown",D,{capture:!0}),document.removeEventListener("pointerdown",$,{capture:!0}),document.removeEventListener("pointermove",$,{capture:!0})}},[]),M.jsx(Dw,{...m,children:M.jsx(nL,{scope:t,open:r,onOpenChange:w,content:y,onContentChange:x,children:M.jsx(Lle,{scope:t,onClose:_.useCallback(()=>w(!1),[w]),isUsingKeyboardRef:S,dir:R,modal:h,children:l})})})};rL.displayName=$w;var jle="MenuAnchor",VM=_.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e,i=Pw(r);return M.jsx(Mw,{...i,...l,ref:t})});VM.displayName=jle;var FM="MenuPortal",[Ble,aL]=db(FM,{forceMount:void 0}),lL=e=>{const{__scopeMenu:t,forceMount:r,children:l,container:i}=e,c=Wv(FM,t);return M.jsx(Ble,{scope:t,forceMount:r,children:M.jsx(Fu,{present:r||c.open,children:M.jsx(J0,{asChild:!0,container:i,children:l})})})};lL.displayName=FM;var Gs="MenuContent",[zle,KM]=db(Gs),oL=_.forwardRef((e,t)=>{const r=aL(Gs,e.__scopeMenu),{forceMount:l=r.forceMount,...i}=e,c=Wv(Gs,e.__scopeMenu),h=qw(Gs,e.__scopeMenu);return M.jsx(iw.Provider,{scope:e.__scopeMenu,children:M.jsx(Fu,{present:l||c.open,children:M.jsx(iw.Slot,{scope:e.__scopeMenu,children:h.modal?M.jsx(Ule,{...i,ref:t}):M.jsx(Ile,{...i,ref:t})})})})}),Ule=_.forwardRef((e,t)=>{const r=Wv(Gs,e.__scopeMenu),l=_.useRef(null),i=Sn(t,l);return _.useEffect(()=>{const c=l.current;if(c)return mw(c)},[]),M.jsx(GM,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:vt(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Ile=_.forwardRef((e,t)=>{const r=Wv(Gs,e.__scopeMenu);return M.jsx(GM,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Hle=F7("MenuContent.ScrollLock"),GM=_.forwardRef((e,t)=>{const{__scopeMenu:r,loop:l=!1,trapFocus:i,onOpenAutoFocus:c,onCloseAutoFocus:h,disableOutsidePointerEvents:m,onEntryFocus:y,onEscapeKeyDown:x,onPointerDownOutside:S,onFocusOutside:w,onInteractOutside:R,onDismiss:D,disableOutsideScroll:$,...O}=e,q=Wv(Gs,r),N=qw(Gs,r),U=Pw(r),I=tL(r),G=qle(r),[F,H]=_.useState(null),V=_.useRef(null),X=Sn(t,V,q.onContentChange),le=_.useRef(0),xe=_.useRef(""),Q=_.useRef(0),ue=_.useRef(null),se=_.useRef("right"),ae=_.useRef(0),ge=$?ex:_.Fragment,L=$?{as:Hle,allowPinchZoom:!0}:void 0,W=me=>{const Y=xe.current+me,be=G().filter(Re=>!Re.disabled),ie=document.activeElement,fe=be.find(Re=>Re.ref.current===ie)?.textValue,_e=be.map(Re=>Re.textValue),$e=toe(_e,Y,fe),Pe=be.find(Re=>Re.textValue===$e)?.ref.current;(function Re(Ye){xe.current=Ye,window.clearTimeout(le.current),Ye!==""&&(le.current=window.setTimeout(()=>Re(""),1e3))})(Y),Pe&&setTimeout(()=>Pe.focus())};_.useEffect(()=>()=>window.clearTimeout(le.current),[]),KR();const ee=_.useCallback(me=>se.current===ue.current?.side&&roe(me,ue.current?.area),[]);return M.jsx(zle,{scope:r,searchRef:xe,onItemEnter:_.useCallback(me=>{ee(me)&&me.preventDefault()},[ee]),onItemLeave:_.useCallback(me=>{ee(me)||(V.current?.focus(),H(null))},[ee]),onTriggerLeave:_.useCallback(me=>{ee(me)&&me.preventDefault()},[ee]),pointerGraceTimerRef:Q,onPointerGraceIntentChange:_.useCallback(me=>{ue.current=me},[]),children:M.jsx(ge,{...L,children:M.jsx(pw,{asChild:!0,trapped:i,onMountAutoFocus:vt(c,me=>{me.preventDefault(),V.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:h,children:M.jsx(Z0,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:x,onPointerDownOutside:S,onFocusOutside:w,onInteractOutside:R,onDismiss:D,children:M.jsx(Dle,{asChild:!0,...I,dir:N.dir,orientation:"vertical",loop:l,currentTabStopId:F,onCurrentTabStopIdChange:H,onEntryFocus:vt(y,me=>{N.isUsingKeyboardRef.current||me.preventDefault()}),preventScrollOnEntryFocus:!0,children:M.jsx(fT,{role:"menu","aria-orientation":"vertical","data-state":wL(q.open),"data-radix-menu-content":"",dir:N.dir,...U,...O,ref:X,style:{outline:"none",...O.style},onKeyDown:vt(O.onKeyDown,me=>{const be=me.target.closest("[data-radix-menu-content]")===me.currentTarget,ie=me.ctrlKey||me.altKey||me.metaKey,fe=me.key.length===1;be&&(me.key==="Tab"&&me.preventDefault(),!ie&&fe&&W(me.key));const _e=V.current;if(me.target!==_e||!Nle.includes(me.key))return;me.preventDefault();const Pe=G().filter(Re=>!Re.disabled).map(Re=>Re.ref.current);J7.includes(me.key)&&Pe.reverse(),Jle(Pe)}),onBlur:vt(e.onBlur,me=>{me.currentTarget.contains(me.target)||(window.clearTimeout(le.current),xe.current="")}),onPointerMove:vt(e.onPointerMove,uw(me=>{const Y=me.target,be=ae.current!==me.clientX;if(me.currentTarget.contains(Y)&&be){const ie=me.clientX>ae.current?"right":"left";se.current=ie,ae.current=me.clientX}}))})})})})})})});oL.displayName=Gs;var Vle="MenuGroup",YM=_.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e;return M.jsx(Ow.div,{role:"group",...l,ref:t})});YM.displayName=Vle;var Fle="MenuLabel",iL=_.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e;return M.jsx(Ow.div,{...l,ref:t})});iL.displayName=Fle;var PR="MenuItem",a6="menu.itemSelect",hT=_.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:l,...i}=e,c=_.useRef(null),h=qw(PR,e.__scopeMenu),m=KM(PR,e.__scopeMenu),y=Sn(t,c),x=_.useRef(!1),S=()=>{const w=c.current;if(!r&&w){const R=new CustomEvent(a6,{bubbles:!0,cancelable:!0});w.addEventListener(a6,D=>l?.(D),{once:!0}),dle(w,R),R.defaultPrevented?x.current=!1:h.onClose()}};return M.jsx(uL,{...i,ref:y,disabled:r,onClick:vt(e.onClick,S),onPointerDown:w=>{e.onPointerDown?.(w),x.current=!0},onPointerUp:vt(e.onPointerUp,w=>{x.current||w.currentTarget?.click()}),onKeyDown:vt(e.onKeyDown,w=>{const R=m.searchRef.current!=="";r||R&&w.key===" "||yD.includes(w.key)&&(w.currentTarget.click(),w.preventDefault())})})});hT.displayName=PR;var uL=_.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:l=!1,textValue:i,...c}=e,h=KM(PR,r),m=tL(r),y=_.useRef(null),x=Sn(t,y),[S,w]=_.useState(!1),[R,D]=_.useState("");return _.useEffect(()=>{const $=y.current;$&&D(($.textContent??"").trim())},[c.children]),M.jsx(iw.ItemSlot,{scope:r,disabled:l,textValue:i??R,children:M.jsx(Mle,{asChild:!0,...m,focusable:!l,children:M.jsx(Ow.div,{role:"menuitem","data-highlighted":S?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0,...c,ref:x,onPointerMove:vt(e.onPointerMove,uw($=>{l?h.onItemLeave($):(h.onItemEnter($),$.defaultPrevented||$.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:vt(e.onPointerLeave,uw($=>h.onItemLeave($))),onFocus:vt(e.onFocus,()=>w(!0)),onBlur:vt(e.onBlur,()=>w(!1))})})})}),Kle="MenuCheckboxItem",sL=_.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:l,...i}=e;return M.jsx(hL,{scope:e.__scopeMenu,checked:r,children:M.jsx(hT,{role:"menuitemcheckbox","aria-checked":qR(r)?"mixed":r,...i,ref:t,"data-state":QM(r),onSelect:vt(i.onSelect,()=>l?.(qR(r)?!0:!r),{checkForDefaultPrevented:!1})})})});sL.displayName=Kle;var cL="MenuRadioGroup",[Gle,Yle]=db(cL,{value:void 0,onValueChange:()=>{}}),dL=_.forwardRef((e,t)=>{const{value:r,onValueChange:l,...i}=e,c=co(l);return M.jsx(Gle,{scope:e.__scopeMenu,value:r,onValueChange:c,children:M.jsx(YM,{...i,ref:t})})});dL.displayName=cL;var fL="MenuRadioItem",pL=_.forwardRef((e,t)=>{const{value:r,...l}=e,i=Yle(fL,e.__scopeMenu),c=r===i.value;return M.jsx(hL,{scope:e.__scopeMenu,checked:c,children:M.jsx(hT,{role:"menuitemradio","aria-checked":c,...l,ref:t,"data-state":QM(c),onSelect:vt(l.onSelect,()=>i.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});pL.displayName=fL;var XM="MenuItemIndicator",[hL,Xle]=db(XM,{checked:!1}),mL=_.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:l,...i}=e,c=Xle(XM,r);return M.jsx(Fu,{present:l||qR(c.checked)||c.checked===!0,children:M.jsx(Ow.span,{...i,ref:t,"data-state":QM(c.checked)})})});mL.displayName=XM;var Wle="MenuSeparator",vL=_.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e;return M.jsx(Ow.div,{role:"separator","aria-orientation":"horizontal",...l,ref:t})});vL.displayName=Wle;var Qle="MenuArrow",gL=_.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e,i=Pw(r);return M.jsx(pT,{...i,...l,ref:t})});gL.displayName=Qle;var WM="MenuSub",[Zle,yL]=db(WM),bL=e=>{const{__scopeMenu:t,children:r,open:l=!1,onOpenChange:i}=e,c=Wv(WM,t),h=Pw(t),[m,y]=_.useState(null),[x,S]=_.useState(null),w=co(i);return _.useEffect(()=>(c.open===!1&&w(!1),()=>w(!1)),[c.open,w]),M.jsx(Dw,{...h,children:M.jsx(nL,{scope:t,open:l,onOpenChange:w,content:x,onContentChange:S,children:M.jsx(Zle,{scope:t,contentId:sa(),triggerId:sa(),trigger:m,onTriggerChange:y,children:r})})})};bL.displayName=WM;var FS="MenuSubTrigger",xL=_.forwardRef((e,t)=>{const r=Wv(FS,e.__scopeMenu),l=qw(FS,e.__scopeMenu),i=yL(FS,e.__scopeMenu),c=KM(FS,e.__scopeMenu),h=_.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:y}=c,x={__scopeMenu:e.__scopeMenu},S=_.useCallback(()=>{h.current&&window.clearTimeout(h.current),h.current=null},[]);return _.useEffect(()=>S,[S]),_.useEffect(()=>{const w=m.current;return()=>{window.clearTimeout(w),y(null)}},[m,y]),M.jsx(VM,{asChild:!0,...x,children:M.jsx(uL,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":wL(r.open),...e,ref:qr(t,i.onTriggerChange),onClick:w=>{e.onClick?.(w),!(e.disabled||w.defaultPrevented)&&(w.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:vt(e.onPointerMove,uw(w=>{c.onItemEnter(w),!w.defaultPrevented&&!e.disabled&&!r.open&&!h.current&&(c.onPointerGraceIntentChange(null),h.current=window.setTimeout(()=>{r.onOpenChange(!0),S()},100))})),onPointerLeave:vt(e.onPointerLeave,uw(w=>{S();const R=r.content?.getBoundingClientRect();if(R){const D=r.content?.dataset.side,$=D==="right",O=$?-5:5,q=R[$?"left":"right"],N=R[$?"right":"left"];c.onPointerGraceIntentChange({area:[{x:w.clientX+O,y:w.clientY},{x:q,y:R.top},{x:N,y:R.top},{x:N,y:R.bottom},{x:q,y:R.bottom}],side:D}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(w),w.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:vt(e.onKeyDown,w=>{const R=c.searchRef.current!=="";e.disabled||R&&w.key===" "||$le[l.dir].includes(w.key)&&(r.onOpenChange(!0),r.content?.focus(),w.preventDefault())})})})});xL.displayName=FS;var EL="MenuSubContent",SL=_.forwardRef((e,t)=>{const r=aL(Gs,e.__scopeMenu),{forceMount:l=r.forceMount,...i}=e,c=Wv(Gs,e.__scopeMenu),h=qw(Gs,e.__scopeMenu),m=yL(EL,e.__scopeMenu),y=_.useRef(null),x=Sn(t,y);return M.jsx(iw.Provider,{scope:e.__scopeMenu,children:M.jsx(Fu,{present:l||c.open,children:M.jsx(iw.Slot,{scope:e.__scopeMenu,children:M.jsx(GM,{id:m.contentId,"aria-labelledby":m.triggerId,...i,ref:x,align:"start",side:h.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:S=>{h.isUsingKeyboardRef.current&&y.current?.focus(),S.preventDefault()},onCloseAutoFocus:S=>S.preventDefault(),onFocusOutside:vt(e.onFocusOutside,S=>{S.target!==m.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:vt(e.onEscapeKeyDown,S=>{h.onClose(),S.preventDefault()}),onKeyDown:vt(e.onKeyDown,S=>{const w=S.currentTarget.contains(S.target),R=Ple[h.dir].includes(S.key);w&&R&&(c.onOpenChange(!1),m.trigger?.focus(),S.preventDefault())})})})})})});SL.displayName=EL;function wL(e){return e?"open":"closed"}function qR(e){return e==="indeterminate"}function QM(e){return qR(e)?"indeterminate":e?"checked":"unchecked"}function Jle(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function eoe(e,t){return e.map((r,l)=>e[(t+l)%e.length])}function toe(e,t,r){const i=t.length>1&&Array.from(t).every(x=>x===t[0])?t[0]:t,c=r?e.indexOf(r):-1;let h=eoe(e,Math.max(c,0));i.length===1&&(h=h.filter(x=>x!==r));const y=h.find(x=>x.toLowerCase().startsWith(i.toLowerCase()));return y!==r?y:void 0}function noe(e,t){const{x:r,y:l}=e;let i=!1;for(let c=0,h=t.length-1;c<t.length;h=c++){const m=t[c],y=t[h],x=m.x,S=m.y,w=y.x,R=y.y;S>l!=R>l&&r<(w-x)*(l-S)/(R-S)+x&&(i=!i)}return i}function roe(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return noe(r,t)}function uw(e){return t=>t.pointerType==="mouse"?e(t):void 0}var aoe=rL,loe=VM,ooe=lL,ioe=oL,uoe=YM,soe=iL,coe=hT,doe=sL,foe=dL,poe=pL,hoe=mL,moe=vL,voe=gL,goe=bL,yoe=xL,boe=SL,mT="DropdownMenu",[xoe]=Pf(mT,[eL]),Ho=eL(),[Eoe,CL]=xoe(mT),RL=e=>{const{__scopeDropdownMenu:t,children:r,dir:l,open:i,defaultOpen:c,onOpenChange:h,modal:m=!0}=e,y=Ho(t),x=_.useRef(null),[S,w]=vr({prop:i,defaultProp:c??!1,onChange:h,caller:mT});return M.jsx(Eoe,{scope:t,triggerId:sa(),triggerRef:x,contentId:sa(),open:S,onOpenChange:w,onOpenToggle:_.useCallback(()=>w(R=>!R),[w]),modal:m,children:M.jsx(aoe,{...y,open:S,onOpenChange:w,dir:l,modal:m,children:r})})};RL.displayName=mT;var TL="DropdownMenuTrigger",AL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:l=!1,...i}=e,c=CL(TL,r),h=Ho(r);return M.jsx(loe,{asChild:!0,...h,children:M.jsx(Ore.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":l?"":void 0,disabled:l,...i,ref:qr(t,c.triggerRef),onPointerDown:vt(e.onPointerDown,m=>{!l&&m.button===0&&m.ctrlKey===!1&&(c.onOpenToggle(),c.open||m.preventDefault())}),onKeyDown:vt(e.onKeyDown,m=>{l||(["Enter"," "].includes(m.key)&&c.onOpenToggle(),m.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(m.key)&&m.preventDefault())})})})});AL.displayName=TL;var Soe="DropdownMenuPortal",_L=e=>{const{__scopeDropdownMenu:t,...r}=e,l=Ho(t);return M.jsx(ooe,{...l,...r})};_L.displayName=Soe;var DL="DropdownMenuContent",ML=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=CL(DL,r),c=Ho(r),h=_.useRef(!1);return M.jsx(ioe,{id:i.contentId,"aria-labelledby":i.triggerId,...c,...l,ref:t,onCloseAutoFocus:vt(e.onCloseAutoFocus,m=>{h.current||i.triggerRef.current?.focus(),h.current=!1,m.preventDefault()}),onInteractOutside:vt(e.onInteractOutside,m=>{const y=m.detail.originalEvent,x=y.button===0&&y.ctrlKey===!0,S=y.button===2||x;(!i.modal||S)&&(h.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});ML.displayName=DL;var woe="DropdownMenuGroup",OL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(uoe,{...i,...l,ref:t})});OL.displayName=woe;var Coe="DropdownMenuLabel",NL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(soe,{...i,...l,ref:t})});NL.displayName=Coe;var Roe="DropdownMenuItem",$L=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(coe,{...i,...l,ref:t})});$L.displayName=Roe;var Toe="DropdownMenuCheckboxItem",PL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(doe,{...i,...l,ref:t})});PL.displayName=Toe;var Aoe="DropdownMenuRadioGroup",qL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(foe,{...i,...l,ref:t})});qL.displayName=Aoe;var _oe="DropdownMenuRadioItem",kL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(poe,{...i,...l,ref:t})});kL.displayName=_oe;var Doe="DropdownMenuItemIndicator",LL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(hoe,{...i,...l,ref:t})});LL.displayName=Doe;var Moe="DropdownMenuSeparator",jL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(moe,{...i,...l,ref:t})});jL.displayName=Moe;var Ooe="DropdownMenuArrow",Noe=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(voe,{...i,...l,ref:t})});Noe.displayName=Ooe;var $oe=e=>{const{__scopeDropdownMenu:t,children:r,open:l,onOpenChange:i,defaultOpen:c}=e,h=Ho(t),[m,y]=vr({prop:l,defaultProp:c??!1,onChange:i,caller:"DropdownMenuSub"});return M.jsx(goe,{...h,open:m,onOpenChange:y,children:r})},Poe="DropdownMenuSubTrigger",BL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(yoe,{...i,...l,ref:t})});BL.displayName=Poe;var qoe="DropdownMenuSubContent",zL=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,i=Ho(r);return M.jsx(boe,{...i,...l,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});zL.displayName=qoe;var koe=RL,Loe=AL,UL=_L,joe=ML,Boe=OL,zoe=NL,Uoe=$L,Ioe=PL,Hoe=qL,Voe=kL,IL=LL,Foe=jL,Koe=$oe,Goe=BL,Yoe=zL;const HL=e=>M.jsx(koe,{"data-slot":"menu",...e}),VL=e=>M.jsx(Loe,{"data-slot":"menu-trigger",...e}),Xoe=e=>M.jsx(Boe,{"data-slot":"menu-group",...e}),Woe=e=>M.jsx(UL,{"data-slot":"menu-portal",...e}),FL=e=>M.jsx(Koe,{"data-slot":"menu-sub",...e}),Qoe=e=>M.jsx(Hoe,{"data-slot":"menu-radio-group",...e}),KL=({className:e,inset:t,children:r,...l})=>M.jsxs(Goe,{"data-slot":"menu-sub-trigger",className:Ve("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state='open']:bg-accent",t&&"pl-8",e),...l,children:[r,M.jsx(vw,{className:"ml-auto h-4 w-4"})]}),GL=({className:e,...t})=>M.jsx(Yoe,{"data-slot":"menu-sub-content",className:Ve("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state='open']:animate-in data-[state='closed']:animate-out data-[state='closed']:fade-out-0 data-[state='open']:fade-in-0 data-[state='closed']:zoom-out-95 data-[state='open']:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}),YL=({className:e,sideOffset:t=4,...r})=>M.jsx(UL,{"data-slot":"menu-portal",children:M.jsx(joe,{"data-slot":"menu-content",sideOffset:t,className:Ve("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state='open']:animate-in data-[state='closed']:animate-out data-[state='closed']:fade-out-0 data-[state='open']:fade-in-0 data-[state='closed']:zoom-out-95 data-[state='open']:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}),XL=({className:e,inset:t,...r})=>M.jsx(Uoe,{"data-slot":"menu-item",className:Ve("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...r}),WL=({className:e,children:t,checked:r,...l})=>M.jsxs(Ioe,{"data-slot":"menu-checkbox-item",className:Ve("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:r,...l,children:[M.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:M.jsx(IL,{children:M.jsx(hR,{className:"h-4 w-4"})})}),t]}),QL=({className:e,children:t,...r})=>M.jsxs(Voe,{"data-slot":"menu-radio-item",className:Ve("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[M.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:M.jsx(IL,{children:M.jsx(VH,{className:"h-2 w-2 fill-current"})})}),t]}),ZL=({className:e,inset:t,...r})=>M.jsx(zoe,{"data-slot":"menu-label",className:Ve("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...r}),JL=({className:e,...t})=>M.jsx(Foe,{"data-slot":"menu-separator",className:Ve("-mx-1 my-1 h-px bg-muted",e),...t}),e8=({className:e,keys:t,handler:r,options:l={},...i})=>(y7(t,r,l),M.jsx("span",{"data-slot":"menu-shortcut",className:Ve("ml-auto text-xs tracking-widest opacity-60",e),...i})),t8=(e,t)=>{switch(e.type){case"item":return M.jsxs(XL,{...e,children:[e.label," ",t]});case"checkbox":return M.jsxs(WL,{...e,children:[e.label," ",t]});case"radio":return M.jsxs(QL,{...e,children:[e.label," ",t]});case"label":return M.jsxs(ZL,{...e,children:[e.label," "]});case"separator":return M.jsx(JL,{...e});case"submenu":return M.jsxs(FL,{children:[M.jsx(KL,{...e,children:e.label}),M.jsx(GL,{children:e.items?.map((r,l)=>M.jsx(j.Fragment,{children:t8(r)},l))})]});default:return null}},Zoe=({trigger:e,items:t,contentProps:r,side:l="bottom",offset:i})=>M.jsxs(HL,{children:[M.jsx(VL,{asChild:!0,children:e}),M.jsx(YL,{side:l,sideOffset:i,...r,children:t.map(({shortcut:c,onShortcut:h,shortcutOptions:m,...y},x)=>M.jsx(j.Fragment,{children:t8(y,c&&M.jsx(e8,{keys:c,handler:S=>h?.(S),options:m,children:c}))},x))})]}),n8=Oh("inline-flex items-center relative overflow-hidden bg-gray-100 gap-1 px-2.5 py-0.5 text-xs font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{rounded:{default:"rounded-(--radius-tag)",full:"rounded-full",square:"rounded-sm"},variant:{primary:"bg-primary border-primary text-primary-foreground hover:bg-primary/80",secondary:"bg-secondary border-secondary !text-secondary-foreground hover:bg-secondary/80",error:"bg-error border-error text-error-foreground hover:bg-error/80",success:"bg-success border-success text-success-foreground hover:bg-success/80",outline:"border border-foreground text-foreground",borderless:"text-foreground"}},defaultVariants:{rounded:"default",variant:"primary"}}),bD=({className:e,color:t,variant:r,rounded:l,icon:i,closable:c,onClose:h,children:m,...y})=>{const x=!!t&&(r==="outline"||r==="borderless"),S=!!t&&!r;return M.jsxs("div",{"data-slot":"tag",className:Ve(n8({variant:r,rounded:l}),x&&"bg-white",S&&" text-white",!!i&&"pl-1.5",!!c&&"pr-1.5",e),style:{...x&&{color:t,borderColor:t},...S&&{borderColor:t,backgroundColor:t}},...y,children:[i,m,c&&M.jsx("button",{type:"button","data-slot":"tag-close",className:"z-10 h-4 w-4 cursor-pointer",onClick:w=>{w.stopPropagation(),h()},children:M.jsx(XR,{"data-slot":"tag-close-icon"})}),M.jsx("span",{"data-slot":"tag-overlay",className:"w-full h-full absolute top-0 left-0",style:{...x&&{opacity:.13,backgroundColor:t}}})]})};function r8(e){const t=Joe(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(tie);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function Joe(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=rie(i),m=nie(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var eie=Symbol("radix.slottable");function tie(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===eie}function nie(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function rie(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var aie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],a8=aie.reduce((e,t)=>{const r=r8(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),vT="Popover",[l8]=Pf(vT,[Xv]),kw=Xv(),[lie,Qv]=l8(vT),o8=e=>{const{__scopePopover:t,children:r,open:l,defaultOpen:i,onOpenChange:c,modal:h=!1}=e,m=kw(t),y=_.useRef(null),[x,S]=_.useState(!1),[w,R]=vr({prop:l,defaultProp:i??!1,onChange:c,caller:vT});return M.jsx(Dw,{...m,children:M.jsx(lie,{scope:t,contentId:sa(),triggerRef:y,open:w,onOpenChange:R,onOpenToggle:_.useCallback(()=>R(D=>!D),[R]),hasCustomAnchor:x,onCustomAnchorAdd:_.useCallback(()=>S(!0),[]),onCustomAnchorRemove:_.useCallback(()=>S(!1),[]),modal:h,children:r})})};o8.displayName=vT;var i8="PopoverAnchor",oie=_.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,i=Qv(i8,r),c=kw(r),{onCustomAnchorAdd:h,onCustomAnchorRemove:m}=i;return _.useEffect(()=>(h(),()=>m()),[h,m]),M.jsx(Mw,{...c,...l,ref:t})});oie.displayName=i8;var u8="PopoverTrigger",s8=_.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,i=Qv(u8,r),c=kw(r),h=Sn(t,i.triggerRef),m=M.jsx(a8.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":h8(i.open),...l,ref:h,onClick:vt(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?m:M.jsx(Mw,{asChild:!0,...c,children:m})});s8.displayName=u8;var ZM="PopoverPortal",[iie,uie]=l8(ZM,{forceMount:void 0}),c8=e=>{const{__scopePopover:t,forceMount:r,children:l,container:i}=e,c=Qv(ZM,t);return M.jsx(iie,{scope:t,forceMount:r,children:M.jsx(Fu,{present:r||c.open,children:M.jsx(J0,{asChild:!0,container:i,children:l})})})};c8.displayName=ZM;var G0="PopoverContent",d8=_.forwardRef((e,t)=>{const r=uie(G0,e.__scopePopover),{forceMount:l=r.forceMount,...i}=e,c=Qv(G0,e.__scopePopover);return M.jsx(Fu,{present:l||c.open,children:c.modal?M.jsx(cie,{...i,ref:t}):M.jsx(die,{...i,ref:t})})});d8.displayName=G0;var sie=r8("PopoverContent.RemoveScroll"),cie=_.forwardRef((e,t)=>{const r=Qv(G0,e.__scopePopover),l=_.useRef(null),i=Sn(t,l),c=_.useRef(!1);return _.useEffect(()=>{const h=l.current;if(h)return mw(h)},[]),M.jsx(ex,{as:sie,allowPinchZoom:!0,children:M.jsx(f8,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:vt(e.onCloseAutoFocus,h=>{h.preventDefault(),c.current||r.triggerRef.current?.focus()}),onPointerDownOutside:vt(e.onPointerDownOutside,h=>{const m=h.detail.originalEvent,y=m.button===0&&m.ctrlKey===!0,x=m.button===2||y;c.current=x},{checkForDefaultPrevented:!1}),onFocusOutside:vt(e.onFocusOutside,h=>h.preventDefault(),{checkForDefaultPrevented:!1})})})}),die=_.forwardRef((e,t)=>{const r=Qv(G0,e.__scopePopover),l=_.useRef(!1),i=_.useRef(!1);return M.jsx(f8,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(l.current||r.triggerRef.current?.focus(),c.preventDefault()),l.current=!1,i.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(l.current=!0,c.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const h=c.target;r.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&i.current&&c.preventDefault()}})}),f8=_.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:c,disableOutsidePointerEvents:h,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:x,onInteractOutside:S,...w}=e,R=Qv(G0,r),D=kw(r);return KR(),M.jsx(pw,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:i,onUnmountAutoFocus:c,children:M.jsx(Z0,{asChild:!0,disableOutsidePointerEvents:h,onInteractOutside:S,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:x,onDismiss:()=>R.onOpenChange(!1),children:M.jsx(fT,{"data-state":h8(R.open),role:"dialog",id:R.contentId,...D,...w,ref:t,style:{...w.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),p8="PopoverClose",fie=_.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,i=Qv(p8,r);return M.jsx(a8.button,{type:"button",...l,ref:t,onClick:vt(e.onClick,()=>i.onOpenChange(!1))})});fie.displayName=p8;var pie="PopoverArrow",hie=_.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,i=kw(r);return M.jsx(pT,{...i,...l,ref:t})});hie.displayName=pie;function h8(e){return e?"open":"closed"}var mie=o8,vie=s8,gie=c8,yie=d8;const Lw=e=>M.jsx(mie,{"data-slot":"popover",...e}),jw=e=>M.jsx(vie,{"data-slot":"popover-trigger",...e}),Bw=({className:e,align:t="center",sideOffset:r=4,matchTriggerWidth:l=!1,style:i,focus:c=!0,...h})=>M.jsx(gie,{children:M.jsx(yie,{"data-slot":"popover-content",align:t,sideOffset:r,onOpenAutoFocus:m=>{!c&&m.preventDefault(),h?.onOpenAutoFocus?.(m)},className:Ve("z-50 w-72 p-4 rounded-md border bg-popover text-popover-foreground shadow-md outline-none open:animate-in closed:animate-out closed:fade-out-0 open:fade-in-0 closed:zoom-out-95 open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),style:{...i,...l&&{width:"var(--radix-popper-anchor-width)"}},...h})}),bie=e=>{const{trigger:t,children:r,rootProps:l,triggerProps:i,contentProps:c,triggerAsChild:h=!0,matchTriggerWidth:m,triggerClassName:y,contentClassName:x,side:S="bottom",offset:w}=gw("Popover",e,{triggerAsChild:!0,side:"bottom"});return M.jsxs(Lw,{...l,children:[M.jsx(jw,{asChild:h,className:y,...i,children:t}),M.jsx(Bw,{className:x,matchTriggerWidth:m,side:S,sideOffset:w,...c,children:r})]})},l6=Oh("m-1 transition ease-in-out delay-150 duration-300",{variants:{variant:{default:"border-foreground/10 border text-foreground bg-card hover:bg-card/80",primary:"border-foreground/10 border text-foreground bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-foreground/60 border bg-secondary text-secondary-foreground hover:bg-secondary/80",error:"border-transparent bg-error text-error-foreground hover:bg-error/80"}},defaultVariants:{variant:"default"}}),xie=({valueKey:e,values:t,setValues:r,items:l,maxCount:i,setIsPopoverOpen:c})=>{const h=R=>{if(R.key==="Enter")c(!0);else if(R.key==="Backspace"&&!R.currentTarget.value){const D=[...t];D.pop(),r?.(D)}},m=R=>{const D=t.includes(R)?t.filter($=>$!==R):[...t,R];r?.(D)},y=()=>{r?.([])};return{handleInputKeyDown:h,toggleOption:m,handleClear:y,handleTogglePopover:()=>{c(R=>!R)},clearExtraOptions:()=>{const R=t.slice(0,i);r?.(R)},toggleAll:()=>{const R=l.filter(D=>!D.disabled);if(t.length===R.length)y();else{const D=R.map($=>$[e]);r?.(D)}}}},Eie=({items:e=[],value:t,valueKey:r="value",labelKey:l="label",onChange:i,variant:c,defaultValue:h=[],placeholder:m="Seleccionar",maxCount:y=3,className:x,renderOption:S=q=>q[l],withCheckbox:w=!1,showSearch:R=!0,showSelectAll:D=!0,rootProps:$,...O})=>{const[q=[],N]=vr({prop:t,onChange:i,defaultProp:h}),[U,I]=vr({prop:O.open,onChange:O.onOpenChange,defaultProp:O.defaultOpen||!1}),G=_.useMemo(()=>e.filter(Q=>!Q.disabled),[e]),{handleInputKeyDown:F,toggleOption:H,handleClear:V,handleTogglePopover:X,clearExtraOptions:le,toggleAll:xe}=xie({valueKey:r,values:q,setValues:N,items:e,maxCount:y,setIsPopoverOpen:I});return M.jsxs(Lw,{open:U,onOpenChange:I,"data-slot":"multi-select",...$,children:[M.jsx(jw,{asChild:!0,"data-slot":"multi-select-trigger",children:M.jsx(Uo,{...O,onClick:X,className:Ve("flex w-full p-1 rounded-md border border-input min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit",x),children:q.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center","data-slot":"multi-select-tags",children:[q.slice(0,y).map(Q=>{const ue=e.find(ae=>ae[r]===Q),se=ue?.icon;return M.jsxs(bD,{"data-slot":"multi-select-tag",className:Ve(l6({variant:c})),closable:!0,onClose:()=>H(Q),children:[se&&M.jsx(se,{className:"h-4 w-4 mr-2"}),ue&&S?.(ue)]},Q)}),q.length>y&&M.jsx(bD,{"data-slot":"multi-select-tag",className:Ve(l6({variant:c})),closable:!0,onClose:le,children:`+ ${q.length-y} más`})]}),M.jsxs("div",{className:"flex items-center justify-between",children:[M.jsx(XR,{"data-slot":"multi-select-clear",className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:Q=>{Q.stopPropagation(),V()}}),M.jsx(Bk,{"data-slot":"multi-select-divider",orientation:"vertical",className:"flex min-h-6 h-full"}),M.jsx(mR,{"data-slot":"multi-select-trigger-icon",className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto","data-slot":"multi-select-trigger-empty",children:[M.jsx("span",{className:"text-sm text-foreground font-normal mx-2","data-slot":"multi-select-placeholder",children:m}),M.jsx(mR,{"data-slot":"multi-select-trigger-icon",className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})})}),M.jsx(Bw,{"data-slot":"multi-select-content",className:"p-0",matchTriggerWidth:!0,align:"start",asChild:!0,onEscapeKeyDown:()=>I(!1),children:M.jsxs(xw,{children:[R&&M.jsx(tT,{"data-slot":"multi-select-input",placeholder:"Buscar...",onKeyDown:F}),M.jsxs(nT,{"data-slot":"multi-select-list",children:[M.jsx(rT,{"data-slot":"multi-select-empty",children:"No results found."}),M.jsxs(qq,{"data-slot":"multi-select-group",children:[D&&M.jsxs(ew,{"data-slot":"multi-select-item",onSelect:xe,className:Ve("cursor-pointer",!w&&q.length===G.length&&"bg-accent text-accent-foreground"),children:[w&&M.jsx("div",{className:Ve("mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",q.length===G.length?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(hR,{className:"h-4 w-4"})}),M.jsx("span",{children:"(Seleccionar todo)"})]},"all"),e.map(Q=>{const ue=q.includes(Q[r]);return M.jsxs(ew,{"data-slot":"multi-select-item",onSelect:()=>!Q.disabled&&H(Q[r]),className:Ve(Q.disabled?"!bg-neutral-50 !text-neutral-400":"cursor-pointer",!w&&ue&&"!bg-accent !text-accent-foreground"),children:[w&&M.jsx("div",{className:Ve("mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",ue?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(hR,{className:"h-4 w-4"})}),Q.icon&&M.jsx(Q.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:S?.(Q)})]},Q[r])})]})]})]})})]})},Sie=({value:e,onChange:t,defaultValue:r,className:l,min:i,max:c,...h})=>{const[m,y]=vr({prop:e,onChange:t,defaultProp:r}),x=m??i??0,S=$=>{const O=parseInt($.target.value,10);y(O)},w=()=>{if(ir.isUndefined(m)&&ir.isNumber(i))return y(i??0);const $=x+1;(ir.isUndefined(c)||$<=c)&&y($)},R=()=>{if(ir.isUndefined(m)&&ir.isNumber(c))return y(c??0);const $=x-1;(ir.isUndefined(i)||$>=i)&&y($)},D=()=>{const $=ir.isNumber(i)&&x<i,O=ir.isNumber(c)&&x>c;$?y(i):O&&y(c)};return M.jsxs("div",{className:"relative w-full","data-slot":"number-input-container",children:[M.jsx("input",{...h,type:"number",value:m,onChange:S,onBlur:D,min:i,max:c,className:Ve("numberInput","h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","file:border-0 file:bg-transparent file:text-sm file:font-medium",l),"data-slot":"number-input"}),M.jsxs("div",{className:"absolute right-0 top-0 h-full w-6 py-1 gap-px justify-center items-center flex flex-col border-l border-input overflow-hidden",children:[M.jsx(Uo,{variant:"ghost",size:"icon",onClick:w,className:"h-4 w-4 grow rounded-sm","data-testid":"increment-trigger","data-slot":"number-input-increment",children:M.jsx(Q5,{"data-slot":"number-input-increment-icon"})}),M.jsx(Uo,{variant:"ghost",size:"icon",onClick:R,className:"h-4 w-4 grow rounded-sm","data-testid":"decrement-trigger","data-slot":"number-input-decrement",children:M.jsx(W5,{"data-slot":"number-input-decrement-icon"})})]})]})},O0=({isActive:e=!1,...t})=>M.jsx("button",{...t,"data-slot":"pagination-option","data-active":e,"data-dots":t.children===zv,className:Ve("transition-colors border py-2 px-4 w-[50px] h-full data-[active=false]:hover:bg-accent","data-[active=true]:bg-primary data-[active=true]:text-primary-foreground data-[active=true]:border-transparent data-[active=true]:hover:bg-primary/90",t.className)}),wie=({optionProps:e,className:t,containerProps:r,...l})=>{const{paginationRange:i,currentPage:c,goTo:h,maxPage:m,next:y,prev:x,isLastPage:S,isFirstPage:w}=b7(l);return M.jsxs("div",{...r,className:Ve("flex items-end select-none h-10",r?.className,t),"data-slot":"pagination",children:[M.jsxs(O0,{...e,disabled:w,onClick:()=>h(1),className:Ve("rounded-l-md",e?.className),children:[M.jsx($H,{"data-slot":"pagination-option-icon"}),M.jsx("span",{className:"sr-only",children:"Ir a primera página"})]}),M.jsxs(O0,{...e,onClick:x,disabled:w,children:[M.jsx(XD,{"data-slot":"pagination-option-icon"}),M.jsx("span",{className:"sr-only",children:"Ir a página anterior"})]}),i.map(R=>M.jsx(M.Fragment,{children:R===zv?M.jsx(O0,{className:Ve("pointer-events-none",e?.className),children:zv},R):j.createElement(O0,{...e,isActive:R===c,onClick:()=>h(R),key:R},R,M.jsxs("span",{className:"sr-only",children:["Ir a la página ",R]}))})),M.jsxs(O0,{...e,onClick:y,disabled:S,children:[M.jsx(vw,{"data-slot":"pagination-option-icon"}),M.jsx("span",{className:"sr-only",children:"Ir a próxima página"})]}),M.jsxs(O0,{...e,disabled:S,onClick:()=>h(m),className:Ve("rounded-r-md",e?.className),children:[M.jsx(qH,{"data-slot":"pagination-option-icon"}),M.jsx("span",{className:"sr-only",children:"Ir a última página"})]})]})},Cie=({className:e,containerClassName:t,showIcon:r=M.jsx(WH,{className:"h-4 w-4"}),hideIcon:l=M.jsx(YH,{className:"h-4 w-4"}),onShow:i,onHide:c,toggleable:h=!0,...m})=>{const[y,x]=x7(!1),S=()=>{x(),y?c?.():i?.()};return M.jsxs("div",{className:Ve("relative",t),"data-slot":"password",children:[M.jsx(v7,{...m,type:y?"text":"password",className:Ve("pr-10","[&::-ms-reveal]:hidden [&::-ms-clear]:hidden",e)}),M.jsx("button",{"data-slot":"password-toggle",type:"button",onClick:S,disabled:!h,className:Ve("absolute right-3 top-1/2 -translate-y-1/2 text-gray-500",h?"hover:text-gray-700":"opacity-50 cursor-not-allowed"),children:y?l:r})]})},Rie=({items:e=[],valueKey:t="value",labelKey:r="label",value:l,onChange:i,defaultValue:c,renderOption:h=O=>O?.[r],triggerProps:m,contentClassName:y,contentProps:x,itemClassName:S,itemProps:w,className:R,placeholder:D="Seleccionar",...$})=>{const[O,q]=vr({prop:l,onChange:N=>{if(!i)return;const U=e.find(I=>I[t]===N);i?.(N,U)},defaultProp:c});return M.jsxs(K8,{...$,onValueChange:q,value:O,children:[M.jsx(X8,{className:R,...m,children:M.jsx(Y8,{placeholder:D})}),M.jsx(Z8,{className:y,...x,children:M.jsx(G8,{children:e.map((N,U)=>j.createElement(ej,{...w,className:S,key:U,disabled:N?.disabled,value:N[t]},h?.(N)))})})]})};function o6(e,[t,r]){return Math.min(r,Math.max(t,e))}function m8(e){const t=Tie(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(_ie);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function Tie(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=Mie(i),m=Die(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Aie=Symbol("radix.slottable");function _ie(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Aie}function Die(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function Mie(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Oie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ku=Oie.reduce((e,t)=>{const r=m8(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function Nie(e){const t=_.useRef({value:e,previous:e});return _.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function $ie(e){const t=Pie(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(kie);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function Pie(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=jie(i),m=Lie(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qie=Symbol("radix.slottable");function kie(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qie}function Lie(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function jie(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Bie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],zie=Bie.reduce((e,t)=>{const r=$ie(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),v8=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Uie="VisuallyHidden",g8=_.forwardRef((e,t)=>M.jsx(zie.span,{...e,ref:t,style:{...v8,...e.style}}));g8.displayName=Uie;var Iie=g8,Hie=[" ","Enter","ArrowUp","ArrowDown"],Vie=[" ","Enter"],rb="Select",[gT,yT,Fie]=$M(rb),[lx]=Pf(rb,[Fie,Xv]),bT=Xv(),[Kie,Zv]=lx(rb),[Gie,Yie]=lx(rb),y8=e=>{const{__scopeSelect:t,children:r,open:l,defaultOpen:i,onOpenChange:c,value:h,defaultValue:m,onValueChange:y,dir:x,name:S,autoComplete:w,disabled:R,required:D,form:$}=e,O=bT(t),[q,N]=_.useState(null),[U,I]=_.useState(null),[G,F]=_.useState(!1),H=PM(x),[V,X]=vr({prop:l,defaultProp:i??!1,onChange:c,caller:rb}),[le,xe]=vr({prop:h,defaultProp:m,onChange:y,caller:rb}),Q=_.useRef(null),ue=q?$||!!q.closest("form"):!0,[se,ae]=_.useState(new Set),ge=Array.from(se).map(L=>L.props.value).join(";");return M.jsx(Dw,{...O,children:M.jsxs(Kie,{required:D,scope:t,trigger:q,onTriggerChange:N,valueNode:U,onValueNodeChange:I,valueNodeHasChildren:G,onValueNodeHasChildrenChange:F,contentId:sa(),value:le,onValueChange:xe,open:V,onOpenChange:X,dir:H,triggerPointerDownPosRef:Q,disabled:R,children:[M.jsx(gT.Provider,{scope:t,children:M.jsx(Gie,{scope:e.__scopeSelect,onNativeOptionAdd:_.useCallback(L=>{ae(W=>new Set(W).add(L))},[]),onNativeOptionRemove:_.useCallback(L=>{ae(W=>{const ee=new Set(W);return ee.delete(L),ee})},[]),children:r})}),ue?M.jsxs(I8,{"aria-hidden":!0,required:D,tabIndex:-1,name:S,autoComplete:w,value:le,onChange:L=>xe(L.target.value),disabled:R,form:$,children:[le===void 0?M.jsx("option",{value:""}):null,Array.from(se)]},ge):null]})})};y8.displayName=rb;var b8="SelectTrigger",x8=_.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:l=!1,...i}=e,c=bT(r),h=Zv(b8,r),m=h.disabled||l,y=Sn(t,h.onTriggerChange),x=yT(r),S=_.useRef("touch"),[w,R,D]=V8(O=>{const q=x().filter(I=>!I.disabled),N=q.find(I=>I.value===h.value),U=F8(q,O,N);U!==void 0&&h.onValueChange(U.value)}),$=O=>{m||(h.onOpenChange(!0),D()),O&&(h.triggerPointerDownPosRef.current={x:Math.round(O.pageX),y:Math.round(O.pageY)})};return M.jsx(Mw,{asChild:!0,...c,children:M.jsx(Ku.button,{type:"button",role:"combobox","aria-controls":h.contentId,"aria-expanded":h.open,"aria-required":h.required,"aria-autocomplete":"none",dir:h.dir,"data-state":h.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":H8(h.value)?"":void 0,...i,ref:y,onClick:vt(i.onClick,O=>{O.currentTarget.focus(),S.current!=="mouse"&&$(O)}),onPointerDown:vt(i.onPointerDown,O=>{S.current=O.pointerType;const q=O.target;q.hasPointerCapture(O.pointerId)&&q.releasePointerCapture(O.pointerId),O.button===0&&O.ctrlKey===!1&&O.pointerType==="mouse"&&($(O),O.preventDefault())}),onKeyDown:vt(i.onKeyDown,O=>{const q=w.current!=="";!(O.ctrlKey||O.altKey||O.metaKey)&&O.key.length===1&&R(O.key),!(q&&O.key===" ")&&Hie.includes(O.key)&&($(),O.preventDefault())})})})});x8.displayName=b8;var E8="SelectValue",S8=_.forwardRef((e,t)=>{const{__scopeSelect:r,className:l,style:i,children:c,placeholder:h="",...m}=e,y=Zv(E8,r),{onValueNodeHasChildrenChange:x}=y,S=c!==void 0,w=Sn(t,y.onValueNodeChange);return El(()=>{x(S)},[x,S]),M.jsx(Ku.span,{...m,ref:w,style:{pointerEvents:"none"},children:H8(y.value)?M.jsx(M.Fragment,{children:h}):c})});S8.displayName=E8;var Xie="SelectIcon",w8=_.forwardRef((e,t)=>{const{__scopeSelect:r,children:l,...i}=e;return M.jsx(Ku.span,{"aria-hidden":!0,...i,ref:t,children:l||"▼"})});w8.displayName=Xie;var Wie="SelectPortal",C8=e=>M.jsx(J0,{asChild:!0,...e});C8.displayName=Wie;var ab="SelectContent",R8=_.forwardRef((e,t)=>{const r=Zv(ab,e.__scopeSelect),[l,i]=_.useState();if(El(()=>{i(new DocumentFragment)},[]),!r.open){const c=l;return c?X0.createPortal(M.jsx(T8,{scope:e.__scopeSelect,children:M.jsx(gT.Slot,{scope:e.__scopeSelect,children:M.jsx("div",{children:e.children})})}),c):null}return M.jsx(A8,{...e,ref:t})});R8.displayName=ab;var Jc=10,[T8,Jv]=lx(ab),Qie="SelectContentImpl",Zie=m8("SelectContent.RemoveScroll"),A8=_.forwardRef((e,t)=>{const{__scopeSelect:r,position:l="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:c,onPointerDownOutside:h,side:m,sideOffset:y,align:x,alignOffset:S,arrowPadding:w,collisionBoundary:R,collisionPadding:D,sticky:$,hideWhenDetached:O,avoidCollisions:q,...N}=e,U=Zv(ab,r),[I,G]=_.useState(null),[F,H]=_.useState(null),V=Sn(t,Re=>G(Re)),[X,le]=_.useState(null),[xe,Q]=_.useState(null),ue=yT(r),[se,ae]=_.useState(!1),ge=_.useRef(!1);_.useEffect(()=>{if(I)return mw(I)},[I]),KR();const L=_.useCallback(Re=>{const[Ye,...oe]=ue().map(we=>we.ref.current),[je]=oe.slice(-1),Le=document.activeElement;for(const we of Re)if(we===Le||(we?.scrollIntoView({block:"nearest"}),we===Ye&&F&&(F.scrollTop=0),we===je&&F&&(F.scrollTop=F.scrollHeight),we?.focus(),document.activeElement!==Le))return},[ue,F]),W=_.useCallback(()=>L([X,I]),[L,X,I]);_.useEffect(()=>{se&&W()},[se,W]);const{onOpenChange:ee,triggerPointerDownPosRef:me}=U;_.useEffect(()=>{if(I){let Re={x:0,y:0};const Ye=je=>{Re={x:Math.abs(Math.round(je.pageX)-(me.current?.x??0)),y:Math.abs(Math.round(je.pageY)-(me.current?.y??0))}},oe=je=>{Re.x<=10&&Re.y<=10?je.preventDefault():I.contains(je.target)||ee(!1),document.removeEventListener("pointermove",Ye),me.current=null};return me.current!==null&&(document.addEventListener("pointermove",Ye),document.addEventListener("pointerup",oe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Ye),document.removeEventListener("pointerup",oe,{capture:!0})}}},[I,ee,me]),_.useEffect(()=>{const Re=()=>ee(!1);return window.addEventListener("blur",Re),window.addEventListener("resize",Re),()=>{window.removeEventListener("blur",Re),window.removeEventListener("resize",Re)}},[ee]);const[Y,be]=V8(Re=>{const Ye=ue().filter(Le=>!Le.disabled),oe=Ye.find(Le=>Le.ref.current===document.activeElement),je=F8(Ye,Re,oe);je&&setTimeout(()=>je.ref.current.focus())}),ie=_.useCallback((Re,Ye,oe)=>{const je=!ge.current&&!oe;(U.value!==void 0&&U.value===Ye||je)&&(le(Re),je&&(ge.current=!0))},[U.value]),fe=_.useCallback(()=>I?.focus(),[I]),_e=_.useCallback((Re,Ye,oe)=>{const je=!ge.current&&!oe;(U.value!==void 0&&U.value===Ye||je)&&Q(Re)},[U.value]),$e=l==="popper"?xD:_8,Pe=$e===xD?{side:m,sideOffset:y,align:x,alignOffset:S,arrowPadding:w,collisionBoundary:R,collisionPadding:D,sticky:$,hideWhenDetached:O,avoidCollisions:q}:{};return M.jsx(T8,{scope:r,content:I,viewport:F,onViewportChange:H,itemRefCallback:ie,selectedItem:X,onItemLeave:fe,itemTextRefCallback:_e,focusSelectedItem:W,selectedItemText:xe,position:l,isPositioned:se,searchRef:Y,children:M.jsx(ex,{as:Zie,allowPinchZoom:!0,children:M.jsx(pw,{asChild:!0,trapped:U.open,onMountAutoFocus:Re=>{Re.preventDefault()},onUnmountAutoFocus:vt(i,Re=>{U.trigger?.focus({preventScroll:!0}),Re.preventDefault()}),children:M.jsx(Z0,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:Re=>Re.preventDefault(),onDismiss:()=>U.onOpenChange(!1),children:M.jsx($e,{role:"listbox",id:U.contentId,"data-state":U.open?"open":"closed",dir:U.dir,onContextMenu:Re=>Re.preventDefault(),...N,...Pe,onPlaced:()=>ae(!0),ref:V,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:vt(N.onKeyDown,Re=>{const Ye=Re.ctrlKey||Re.altKey||Re.metaKey;if(Re.key==="Tab"&&Re.preventDefault(),!Ye&&Re.key.length===1&&be(Re.key),["ArrowUp","ArrowDown","Home","End"].includes(Re.key)){let je=ue().filter(Le=>!Le.disabled).map(Le=>Le.ref.current);if(["ArrowUp","End"].includes(Re.key)&&(je=je.slice().reverse()),["ArrowUp","ArrowDown"].includes(Re.key)){const Le=Re.target,we=je.indexOf(Le);je=je.slice(we+1)}setTimeout(()=>L(je)),Re.preventDefault()}})})})})})})});A8.displayName=Qie;var Jie="SelectItemAlignedPosition",_8=_.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:l,...i}=e,c=Zv(ab,r),h=Jv(ab,r),[m,y]=_.useState(null),[x,S]=_.useState(null),w=Sn(t,V=>S(V)),R=yT(r),D=_.useRef(!1),$=_.useRef(!0),{viewport:O,selectedItem:q,selectedItemText:N,focusSelectedItem:U}=h,I=_.useCallback(()=>{if(c.trigger&&c.valueNode&&m&&x&&O&&q&&N){const V=c.trigger.getBoundingClientRect(),X=x.getBoundingClientRect(),le=c.valueNode.getBoundingClientRect(),xe=N.getBoundingClientRect();if(c.dir!=="rtl"){const Le=xe.left-X.left,we=le.left-Le,lt=V.left-we,St=V.width+lt,pn=Math.max(St,X.width),Pn=window.innerWidth-Jc,an=o6(we,[Jc,Math.max(Jc,Pn-pn)]);m.style.minWidth=St+"px",m.style.left=an+"px"}else{const Le=X.right-xe.right,we=window.innerWidth-le.right-Le,lt=window.innerWidth-V.right-we,St=V.width+lt,pn=Math.max(St,X.width),Pn=window.innerWidth-Jc,an=o6(we,[Jc,Math.max(Jc,Pn-pn)]);m.style.minWidth=St+"px",m.style.right=an+"px"}const Q=R(),ue=window.innerHeight-Jc*2,se=O.scrollHeight,ae=window.getComputedStyle(x),ge=parseInt(ae.borderTopWidth,10),L=parseInt(ae.paddingTop,10),W=parseInt(ae.borderBottomWidth,10),ee=parseInt(ae.paddingBottom,10),me=ge+L+se+ee+W,Y=Math.min(q.offsetHeight*5,me),be=window.getComputedStyle(O),ie=parseInt(be.paddingTop,10),fe=parseInt(be.paddingBottom,10),_e=V.top+V.height/2-Jc,$e=ue-_e,Pe=q.offsetHeight/2,Re=q.offsetTop+Pe,Ye=ge+L+Re,oe=me-Ye;if(Ye<=_e){const Le=Q.length>0&&q===Q[Q.length-1].ref.current;m.style.bottom="0px";const we=x.clientHeight-O.offsetTop-O.offsetHeight,lt=Math.max($e,Pe+(Le?fe:0)+we+W),St=Ye+lt;m.style.height=St+"px"}else{const Le=Q.length>0&&q===Q[0].ref.current;m.style.top="0px";const lt=Math.max(_e,ge+O.offsetTop+(Le?ie:0)+Pe)+oe;m.style.height=lt+"px",O.scrollTop=Ye-_e+O.offsetTop}m.style.margin=`${Jc}px 0`,m.style.minHeight=Y+"px",m.style.maxHeight=ue+"px",l?.(),requestAnimationFrame(()=>D.current=!0)}},[R,c.trigger,c.valueNode,m,x,O,q,N,c.dir,l]);El(()=>I(),[I]);const[G,F]=_.useState();El(()=>{x&&F(window.getComputedStyle(x).zIndex)},[x]);const H=_.useCallback(V=>{V&&$.current===!0&&(I(),U?.(),$.current=!1)},[I,U]);return M.jsx(tue,{scope:r,contentWrapper:m,shouldExpandOnScrollRef:D,onScrollButtonChange:H,children:M.jsx("div",{ref:y,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:G},children:M.jsx(Ku.div,{...i,ref:w,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});_8.displayName=Jie;var eue="SelectPopperPosition",xD=_.forwardRef((e,t)=>{const{__scopeSelect:r,align:l="start",collisionPadding:i=Jc,...c}=e,h=bT(r);return M.jsx(fT,{...h,...c,ref:t,align:l,collisionPadding:i,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});xD.displayName=eue;var[tue,JM]=lx(ab,{}),ED="SelectViewport",D8=_.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:l,...i}=e,c=Jv(ED,r),h=JM(ED,r),m=Sn(t,c.onViewportChange),y=_.useRef(0);return M.jsxs(M.Fragment,{children:[M.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),M.jsx(gT.Slot,{scope:r,children:M.jsx(Ku.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:vt(i.onScroll,x=>{const S=x.currentTarget,{contentWrapper:w,shouldExpandOnScrollRef:R}=h;if(R?.current&&w){const D=Math.abs(y.current-S.scrollTop);if(D>0){const $=window.innerHeight-Jc*2,O=parseFloat(w.style.minHeight),q=parseFloat(w.style.height),N=Math.max(O,q);if(N<$){const U=N+D,I=Math.min($,U),G=U-I;w.style.height=I+"px",w.style.bottom==="0px"&&(S.scrollTop=G>0?G:0,w.style.justifyContent="flex-end")}}}y.current=S.scrollTop})})})]})});D8.displayName=ED;var M8="SelectGroup",[nue,rue]=lx(M8),O8=_.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e,i=sa();return M.jsx(nue,{scope:r,id:i,children:M.jsx(Ku.div,{role:"group","aria-labelledby":i,...l,ref:t})})});O8.displayName=M8;var N8="SelectLabel",$8=_.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e,i=rue(N8,r);return M.jsx(Ku.div,{id:i.id,...l,ref:t})});$8.displayName=N8;var kR="SelectItem",[aue,P8]=lx(kR),q8=_.forwardRef((e,t)=>{const{__scopeSelect:r,value:l,disabled:i=!1,textValue:c,...h}=e,m=Zv(kR,r),y=Jv(kR,r),x=m.value===l,[S,w]=_.useState(c??""),[R,D]=_.useState(!1),$=Sn(t,U=>y.itemRefCallback?.(U,l,i)),O=sa(),q=_.useRef("touch"),N=()=>{i||(m.onValueChange(l),m.onOpenChange(!1))};if(l==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return M.jsx(aue,{scope:r,value:l,disabled:i,textId:O,isSelected:x,onItemTextChange:_.useCallback(U=>{w(I=>I||(U?.textContent??"").trim())},[]),children:M.jsx(gT.ItemSlot,{scope:r,value:l,disabled:i,textValue:S,children:M.jsx(Ku.div,{role:"option","aria-labelledby":O,"data-highlighted":R?"":void 0,"aria-selected":x&&R,"data-state":x?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...h,ref:$,onFocus:vt(h.onFocus,()=>D(!0)),onBlur:vt(h.onBlur,()=>D(!1)),onClick:vt(h.onClick,()=>{q.current!=="mouse"&&N()}),onPointerUp:vt(h.onPointerUp,()=>{q.current==="mouse"&&N()}),onPointerDown:vt(h.onPointerDown,U=>{q.current=U.pointerType}),onPointerMove:vt(h.onPointerMove,U=>{q.current=U.pointerType,i?y.onItemLeave?.():q.current==="mouse"&&U.currentTarget.focus({preventScroll:!0})}),onPointerLeave:vt(h.onPointerLeave,U=>{U.currentTarget===document.activeElement&&y.onItemLeave?.()}),onKeyDown:vt(h.onKeyDown,U=>{y.searchRef?.current!==""&&U.key===" "||(Vie.includes(U.key)&&N(),U.key===" "&&U.preventDefault())})})})})});q8.displayName=kR;var KS="SelectItemText",k8=_.forwardRef((e,t)=>{const{__scopeSelect:r,className:l,style:i,...c}=e,h=Zv(KS,r),m=Jv(KS,r),y=P8(KS,r),x=Yie(KS,r),[S,w]=_.useState(null),R=Sn(t,N=>w(N),y.onItemTextChange,N=>m.itemTextRefCallback?.(N,y.value,y.disabled)),D=S?.textContent,$=_.useMemo(()=>M.jsx("option",{value:y.value,disabled:y.disabled,children:D},y.value),[y.disabled,y.value,D]),{onNativeOptionAdd:O,onNativeOptionRemove:q}=x;return El(()=>(O($),()=>q($)),[O,q,$]),M.jsxs(M.Fragment,{children:[M.jsx(Ku.span,{id:y.textId,...c,ref:R}),y.isSelected&&h.valueNode&&!h.valueNodeHasChildren?X0.createPortal(c.children,h.valueNode):null]})});k8.displayName=KS;var L8="SelectItemIndicator",lue=_.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e;return P8(L8,r).isSelected?M.jsx(Ku.span,{"aria-hidden":!0,...l,ref:t}):null});lue.displayName=L8;var SD="SelectScrollUpButton",j8=_.forwardRef((e,t)=>{const r=Jv(SD,e.__scopeSelect),l=JM(SD,e.__scopeSelect),[i,c]=_.useState(!1),h=Sn(t,l.onScrollButtonChange);return El(()=>{if(r.viewport&&r.isPositioned){let m=function(){const x=y.scrollTop>0;c(x)};const y=r.viewport;return m(),y.addEventListener("scroll",m),()=>y.removeEventListener("scroll",m)}},[r.viewport,r.isPositioned]),i?M.jsx(z8,{...e,ref:h,onAutoScroll:()=>{const{viewport:m,selectedItem:y}=r;m&&y&&(m.scrollTop=m.scrollTop-y.offsetHeight)}}):null});j8.displayName=SD;var wD="SelectScrollDownButton",B8=_.forwardRef((e,t)=>{const r=Jv(wD,e.__scopeSelect),l=JM(wD,e.__scopeSelect),[i,c]=_.useState(!1),h=Sn(t,l.onScrollButtonChange);return El(()=>{if(r.viewport&&r.isPositioned){let m=function(){const x=y.scrollHeight-y.clientHeight,S=Math.ceil(y.scrollTop)<x;c(S)};const y=r.viewport;return m(),y.addEventListener("scroll",m),()=>y.removeEventListener("scroll",m)}},[r.viewport,r.isPositioned]),i?M.jsx(z8,{...e,ref:h,onAutoScroll:()=>{const{viewport:m,selectedItem:y}=r;m&&y&&(m.scrollTop=m.scrollTop+y.offsetHeight)}}):null});B8.displayName=wD;var z8=_.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:l,...i}=e,c=Jv("SelectScrollButton",r),h=_.useRef(null),m=yT(r),y=_.useCallback(()=>{h.current!==null&&(window.clearInterval(h.current),h.current=null)},[]);return _.useEffect(()=>()=>y(),[y]),El(()=>{m().find(S=>S.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),M.jsx(Ku.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:vt(i.onPointerDown,()=>{h.current===null&&(h.current=window.setInterval(l,50))}),onPointerMove:vt(i.onPointerMove,()=>{c.onItemLeave?.(),h.current===null&&(h.current=window.setInterval(l,50))}),onPointerLeave:vt(i.onPointerLeave,()=>{y()})})}),oue="SelectSeparator",U8=_.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e;return M.jsx(Ku.div,{"aria-hidden":!0,...l,ref:t})});U8.displayName=oue;var CD="SelectArrow",iue=_.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e,i=bT(r),c=Zv(CD,r),h=Jv(CD,r);return c.open&&h.position==="popper"?M.jsx(pT,{...i,...l,ref:t}):null});iue.displayName=CD;var uue="SelectBubbleInput",I8=_.forwardRef(({__scopeSelect:e,value:t,...r},l)=>{const i=_.useRef(null),c=Sn(l,i),h=Nie(t);return _.useEffect(()=>{const m=i.current;if(!m)return;const y=window.HTMLSelectElement.prototype,S=Object.getOwnPropertyDescriptor(y,"value").set;if(h!==t&&S){const w=new Event("change",{bubbles:!0});S.call(m,t),m.dispatchEvent(w)}},[h,t]),M.jsx(Ku.select,{...r,style:{...v8,...r.style},ref:c,defaultValue:t})});I8.displayName=uue;function H8(e){return e===""||e===void 0}function V8(e){const t=co(e),r=_.useRef(""),l=_.useRef(0),i=_.useCallback(h=>{const m=r.current+h;t(m),(function y(x){r.current=x,window.clearTimeout(l.current),x!==""&&(l.current=window.setTimeout(()=>y(""),1e3))})(m)},[t]),c=_.useCallback(()=>{r.current="",window.clearTimeout(l.current)},[]);return _.useEffect(()=>()=>window.clearTimeout(l.current),[]),[r,i,c]}function F8(e,t,r){const i=t.length>1&&Array.from(t).every(x=>x===t[0])?t[0]:t,c=r?e.indexOf(r):-1;let h=sue(e,Math.max(c,0));i.length===1&&(h=h.filter(x=>x!==r));const y=h.find(x=>x.textValue.toLowerCase().startsWith(i.toLowerCase()));return y!==r?y:void 0}function sue(e,t){return e.map((r,l)=>e[(t+l)%e.length])}var cue=y8,due=x8,fue=S8,pue=w8,hue=C8,mue=R8,vue=D8,gue=O8,yue=$8,bue=q8,xue=k8,Eue=j8,Sue=B8,wue=U8;const K8=e=>M.jsx(cue,{"data-slot":"select",...e}),G8=({heading:e,children:t,...r})=>M.jsxs(gue,{"data-slot":"select-group",...r,children:[e&&M.jsx(J8,{children:e}),t]}),Y8=e=>M.jsx(fue,{"data-slot":"select-value",...e}),X8=({className:e,children:t,...r})=>M.jsxs(due,{"data-slot":"select-trigger",className:Ve("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,M.jsx(pue,{asChild:!0,"data-slot":"select-trigger-icon",children:M.jsx(mR,{className:"h-4 w-4 shrink-0 opacity-50"})})]}),W8=({className:e,...t})=>M.jsx(Eue,{"data-slot":"select-scroll-up",className:Ve("flex cursor-default items-center justify-center py-1",e),...t,children:M.jsx(Q5,{className:"h-4 w-4"})}),Q8=({className:e,...t})=>M.jsx(Sue,{"data-slot":"select-scroll-down",className:Ve("flex cursor-default items-center justify-center py-1",e),...t,children:M.jsx(W5,{className:"h-4 w-4"})}),Z8=({className:e,children:t,position:r="popper",...l})=>M.jsx(hue,{children:M.jsxs(mue,{"data-slot":"select-content",className:Ve("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md open:animate-in closed:animate-out closed:fade-out-0 open:fade-in-0 closed:zoom-out-95 open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...l,children:[M.jsx(W8,{}),M.jsx(vue,{"data-slot":"select-viewport",className:Ve("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),M.jsx(Q8,{})]})}),J8=({className:e,...t})=>M.jsx(yue,{"data-slot":"select-label",className:Ve("py-1.5 px-2 text-sm font-semibold",e),...t}),ej=({className:e,children:t,...r})=>M.jsx(bue,{"data-slot":"select-item",className:Ve("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 px-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:M.jsx(xue,{"data-slot":"select-item-text",children:t})}),Cue=({className:e,...t})=>M.jsx(wue,{"data-slot":"select-separator",className:Ve("-mx-1 my-1 h-px bg-muted",e),...t}),Rue=({isCircle:e,width:t,height:r,isLoading:l=!1,...i})=>{const c={width:t,height:r,...i.style};return!l&&i.children?i.children:M.jsx("div",{"data-slot":"skeleton",...i,className:Ve("[&>*]:opacity-0 w-fit","rounded w-full animate-pulse bg-muted min-h-[1.5em]",e&&"rounded-[50%] aspect-square",i.className),style:c})},Tue=({inline:e=!1,justify:t,align:r,direction:l="horizontal",gap:i=8,style:c,...h})=>{const m={display:e?"inline-flex":"flex",flexDirection:l==="vertical"?"column":"row",justifyContent:t,alignItems:r,gap:i};return M.jsx("div",{style:{...m,...c},...h,"data-slot":"stack"})},[tj,Aue]=Ew();function _ue({items:e=[],current:t,onChange:r,className:l,classNameList:i,classNameItem:c,classNameButton:h,classNameIndicator:m,classNameContent:y}){return M.jsxs(nj,{className:l,current:t,onChange:r,children:[M.jsx(rj,{className:i,children:e?.map((x,S)=>M.jsx(aj,{value:S,title:x?.title,indicator:x?.indicator,classNameItem:c,classNameButton:h,classNameIndicator:m},S))}),e?.map((x,S)=>M.jsx(lj,{className:y,value:S,children:x?.content},S))]})}function nj({current:e,onChange:t,className:r,...l}){const[i=0,c]=vr({prop:e,onChange:t,defaultProp:0});return M.jsx(Aue,{value:{activeStep:i,setActiveStep:c},children:M.jsx("div",{"data-slot":"stepper",className:Ve("flex flex-col items-center w-full transition-all ease-in delay-150",r),...l})})}function rj({children:e,className:t,...r}){return M.jsx("ul",{"data-slot":"stepper-list",className:Ve("flex flex-col sm:flex-row sm:gap-0 gap-4 items-center w-full text-xs font-medium text-gray-900 sm:text-base mb-8",t),...r,children:e})}function aj({disabled:e,value:t,title:r,indicator:l,classNameItem:i,classNameButton:c,classNameIndicator:h}){const{activeStep:m,setActiveStep:y}=tj();return M.jsx("li",{"data-slot":"stepper-trigger",className:Ve("flex relative text-primary transition-all ease-in delay-150","last:w-full last:sm:w-auto last:after:hidden",`w-full after:content-[''] sm:after:w-full after:h-full after:w-0.5 sm:after:h-0.5 ${m>t?"after:bg-primary":"after:bg-gray-300"} after:inline-block after:absolute after:top-5 sm:after:top-5 after:left-4 sm:after:left-10`,i),children:M.jsxs("button",{onClick:()=>!e&&y(t),className:Ve("z-10 flex items-center justify-center sm:flex-col gap-3 flex-row whitespace-nowrap cursor-pointer group transition-color ease-in delay-150",m>=t?"text-primary":"text-gray-500",e&&"cursor-not-allowed",c),children:[M.jsx("span",{"data-slot":"stepper-trigger-indicator",className:Ve("flex items-center transition-all overflow-hidden ease-in justify-center group-hover:scale-105 sm:w-10 sm:h-10 mx-auto text-sm border-2 rounded-full w-8 h-8",m>t&&"bg-primary border-primary text-primary-foreground",m===t&&"bg-gray-100 text-primary border-primary",m<t&&"bg-white text-gray-500 border-input",e&&"text-gray-300",h),children:m>t?"✓":l||t+1}),r]})})}function lj({value:e,className:t="w-full",...r}){const{activeStep:l}=tj();return l===e?M.jsx("div",{"data-slot":"stepper-content",className:t,...r}):null}const Due=({className:e,children:t,containerProps:r,containerClassName:l,...i})=>{const c=j.useId(),[h=!1,m]=vr({prop:i.checked,onChange:i.onChange,defaultProp:i.defaultChecked}),y=()=>!i.disabled&&m(w=>!w),x=h?"checked":"unchecked",S=i.id??c;return M.jsxs("div",{"data-slot":"switch",...r,className:Ve("flex gap-x-2 items-center",l),children:[M.jsxs("button",{"data-slot":"switch-trigger",disabled:i.disabled,onClick:y,"data-state":x,type:"button",className:Ve("peer w-11 h-6 bg-input rounded-full border-2 border-transparent transition-colors","data-[state=checked]:bg-primary",e),children:[M.jsx("div",{"data-state":x,className:Ve("w-5 h-5 pointers-event-none bg-primary-foreground rounded-full transition-all","transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")}),M.jsx("input",{...i,id:S,checked:h,onChange:w=>m(w.currentTarget.checked),type:"checkbox",className:"sr-only","aria-hidden":!0})]}),t&&M.jsx(Cw,{htmlFor:S,children:t})]})},oj=({className:e,containerClassName:t,containerProps:r,...l})=>M.jsx("div",{"data-slot":"table-container",className:Ve("relative w-full overflow-auto rounded-md border",t),...r,children:M.jsx("table",{"data-slot":"table",className:Ve("w-full caption-bottom text-sm",e),...l})}),ij=({className:e,...t})=>M.jsx("thead",{"data-slot":"table-header",className:Ve("[&_tr]:border-b",e),...t}),uj=({className:e,...t})=>M.jsx("tbody",{"data-slot":"table-body",className:Ve("[&_tr:last-child]:border-0",e),...t}),Mue=({className:e,...t})=>M.jsx("tfoot",{"data-slot":"table-footer",className:Ve("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}),RD=({className:e,...t})=>M.jsx("tr",{"data-slot":"table-row",className:Ve("border-b transition-colors hover:bg-muted data-[selected=true]:bg-muted",e),...t}),sj=({className:e,...t})=>M.jsx("th",{"data-slot":"table-head",className:Ve("h-12 px-4 text-left align-middle font-medium text-muted-foreground sticky top-0 bg-background [&:has([role=checkbox])]:pr-0",e),...t}),cj=({className:e,...t})=>M.jsx("td",{"data-slot":"table-cell",className:Ve("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}),Oue=({className:e,...t})=>M.jsx("caption",{"data-slot":"table-caption",className:Ve("mt-4 text-sm text-muted-foreground",e),...t}),Nue=({data:e=[],columns:t=[],onRowClick:r,onDoubleClick:l,selected:i,theadClassName:c,theadProps:h,tbodyClassName:m,tbodyProps:y,trClassName:x,trProps:S,thClassName:w,thProps:R,tdClassName:D,tdProps:$,...O})=>M.jsxs(oj,{...O,className:Ve(O?.className),children:[M.jsx(ij,{...h,className:Ve(h?.className,c),children:M.jsx(RD,{...S,className:Ve(S?.className,x),children:t.map((q,N)=>M.jsx(sj,{...R,className:Ve(R?.className,w),style:{width:q.width},children:ir.isFunction(q.header)?q.header?.():q.header},N))})}),M.jsx(uj,{...y,className:Ve(y?.className,m),children:e.map((q,N)=>M.jsx(RD,{...S,"data-selected":i?.(q),className:Ve(S?.className,x),children:t.map((U,I)=>M.jsx(cj,{...$,onClick:G=>{$?.onClick?.(G),r?.(q)},onDoubleClick:()=>l?.(q),className:Ve($?.className,D),children:U.cell?.(q,I)||q[U.key]},I))},N))})]}),sR=[10,25,50],$ue=({containerClassName:e,containerProps:t,selectClassName:r,selectProps:l,sizes:i=sR,...c})=>{const[h=sR[0],m]=vr({onChange:c?.setPageSize,prop:c?.pageSize,defaultProp:sR[0]}),{range:y,next:x,prev:S,isFirstPage:w,isLastPage:R,goTo:D}=NM({...c,pageSize:h}),$=O=>{const{value:q}=O.target,N=Number(q);m(N),D(1)};return M.jsxs("div",{"data-slot":"table-pagination",...t,className:Ve("flex justify-center items-center gap-x-4 bg-background border border-[#D9D9D9] rounded-2xl py-2",e),children:[i&&M.jsx("select",{"data-slot":"table-pagination-size-trigger",...l,value:h,onChange:$,className:Ve("border border-input rounded-md w-fit min-w-[3rem] bg-background p-2 ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),children:i.map((O,q)=>M.jsx("option",{value:O,"data-slot":"table-pagination-size-option",children:O},q))}),M.jsxs("span",{"data-slot":"table-pagination-range",children:[y.start," - ",y.end," de ",c.totalItems]}),M.jsxs("div",{className:"flex gap-2",children:[M.jsx(Uo,{"data-slot":"table-pagination-prev",size:"icon",variant:"ghost",disabled:w,onClick:S,children:M.jsx(XD,{"data-slot":"table-pagination-prev-icon"})}),M.jsx(Uo,{"data-slot":"table-pagination-next",size:"icon",variant:"ghost",disabled:R,onClick:x,children:M.jsx(vw,{"data-slot":"table-pagination-next-icon"})})]})]})},[xT,Pue]=Ew(),que=({children:e,value:t,onChange:r,defaultValue:l,variant:i="default",...c})=>{const[h="",m]=vr({prop:t,onChange:r,defaultProp:l}),[y,x]=j.useState(null);return M.jsx(Pue,{value:{activeTab:h,setActiveTab:m,setTargetRef:x,targetRef:y,variant:i},children:M.jsx("div",{"data-slot":"tabs",...c,children:e})})},kue=({children:e,className:t,indicatorClassName:r})=>{const{targetRef:l}=xT();return M.jsxs("div",{"data-slot":"tabs-list",className:Ve("relative mb-4",t),children:[M.jsx("div",{"data-slot":"tabs-content",className:"flex",children:e}),M.jsx(Bue,{targetRef:l,indicatorClassName:r})]})},Lue=({value:e,className:t,...r})=>{const{activeTab:l,setActiveTab:i,setTargetRef:c,variant:h}=xT(),m=l===e;return M.jsx("button",{"data-slot":"tabs-trigger",...r,type:"button",ref:y=>{m&&c(y)},onClick:()=>i(e),"data-tab":e,"data-selected":m,"aria-selected":m,className:Ve("px-2 py-2 cursor-pointer w-full min-w-[100px] text-center rounded-t font-semibold select-none",h==="background"?"hover:bg-transparent aria-selected:text-primary-foreground rounded":"hover:bg-accent hover:text-accent-foreground",t)})},jue=({value:e,...t})=>{const{activeTab:r}=xT();return r===e?M.jsx("div",{"data-slot":"tabs-content",...t}):null},Bue=({targetRef:e,indicatorClassName:t})=>{const r=j.useRef(null),l=r?.current,i=j.useRef(null),{variant:c}=xT(),h=()=>{if(!e||!l)return;const m=e.offsetLeft,y=e.offsetWidth;l.style.width=y+"px",l.style.left=m+"px"};return j.useEffect(()=>{if(e)return h(),i.current=new ResizeObserver(h),i.current.observe(e),()=>{i.current?.disconnect()}},[e]),M.jsx("div",{"data-slot":"tabs-indicator",ref:r,className:Ve("transition-all duration-300 absolute rounded bg-primary",c==="background"?"inset-0 -z-10 h-full top-0":"top-full h-[3px]",t)})},zue=({className:e,...t})=>M.jsx("textarea",{...t,"data-slot":"textarea",className:Ve("min-h-[60px] w-full rounded-md px-3 py-2 text-sm placeholder:text-muted-foreground","border border-input bg-background","ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e)}),Uue={done:"var(--color-primary)",pending:"#cdcdcd",error:"var(--color-error)"},Iue=({items:e,classNameContainer:t,containerProps:r,...l})=>M.jsx(dj,{className:t,...r,children:e.map((i,c)=>M.jsx(fj,{icon:i.icon,color:i.color,status:i.status,...l,children:i.content},c))}),dj=e=>M.jsx("ul",{"data-slot":"timeline",...e,className:Ve("relative flex justify-center flex-col border-input",e.className)}),fj=({icon:e,status:t,color:r,classNameItemDot:l,classNameItemContainerDot:i,classNameItemContent:c,itemsProps:h,children:m,...y})=>M.jsxs("li",{"data-slot":"timeline-item",className:Ve("rounded-lg w-full px-2 gap-1 grid hover:bg-muted transition-colors ease-in grid-cols-[minmax(auto,20px)_1fr]",y.className),...y,children:[M.jsx(pj,{icon:e,status:t,color:r,classNameDot:l,classNameContainerDot:i}),M.jsx(hj,{className:c,...h,children:m})]}),pj=({icon:e,status:t="pending",color:r,classNameDot:l,classNameContainerDot:i})=>M.jsx("div",{"data-slot":"timeline-item-dot",className:Ve("relative pb-6 last:after:hidden after:absolute after:top-0 after:bottom-0 after:left-1/2 after:w-px after:-translate-x-1/2 after:bg-gray-200",i),children:M.jsx("div",{"data-slot":"timeline-item-dot-icon",className:Ve("relative z-10 flex text-white items-center justify-center rounded-full left-1/2 -translate-x-1/2",e?"aspect-square p-1.5 min-h-7 min-w-7 top-2":"size-2 top-4",l),style:{backgroundColor:r||Uue?.[t]},children:e})}),hj=e=>M.jsx("div",{"data-slot":"timeline-item-content",...e,className:Ve("grow px-2 pb-4 pt-2",e.className)}),Hue=Oh(["flex justify-between items-center transition-all","text-primary-foreground","pointer-events-auto relative w-full rounded-xl p-3 shadow-lg"],{variants:{variant:{info:"bg-primary text-primary-foreground",error:"bg-error text-error-foreground",success:"bg-success text-success-foreground",loading:"bg-background text-foreground"}},defaultVariants:{variant:"info"}}),Vue=Oh("",{variants:{variant:{info:"text-primary-foreground",error:"text-error-foreground",success:"text-success-foreground",loading:"text-foreground animate-spin"}},defaultVariants:{variant:"info"}}),mj=({title:e,description:t,type:r,iconClassName:l,...i})=>{const c=gj[r];return M.jsxs("div",{...i,"data-slot":"toast",className:Ve(Hue({variant:r}),i.className),children:[M.jsx("div",{className:Ve("p-1 text-primary-foreground pr-2",l),children:M.jsx(c,{size:22,className:Ve(Vue({variant:r})),"data-slot":"toast-icon"})}),M.jsxs("div",{className:"grid gap-1 grow","data-slot":"toast-content",children:[e&&M.jsx("h4",{...i.titleProps,className:Ve("text-sm font-semibold",i.titleClassName),"data-slot":"toast-title",children:e}),M.jsx("div",{...i.descriptionProps,className:Ve("text-sm font-normal opacity-90 p-0 overflow-hidden",i.descriptionClassName),"data-slot":"toast-description",children:t})]})]})},Fue=({iconClassName:e="",...t})=>{const r=eO(l=>l.toasts);return M.jsxs(M.Fragment,{children:[t.children,M.jsx(lM,{className:"empty:hidden fixed z-100 pr-2 pb-2 bottom-0 right-0 space-y-2 max-w-[300px] w-full",children:r.map(l=>{const i=j.createRef();return M.jsx(ZR,{classNames:"toast",timeout:500,nodeRef:i,children:M.jsx(mj,{...l,iconClassName:e,ref:i})},l.id)})})]})},i6=e=>{let t;const r=new Set,l=(x,S)=>{const w=typeof x=="function"?x(t):x;if(!Object.is(w,t)){const R=t;t=S??(typeof w!="object"||w===null)?w:Object.assign({},t,w),r.forEach(D=>D(t,R))}},i=()=>t,m={setState:l,getState:i,getInitialState:()=>y,subscribe:x=>(r.add(x),()=>r.delete(x))},y=t=e(l,i,m);return m},Kue=(e=>e?i6(e):i6),Gue=e=>e;function Yue(e,t=Gue){const r=j.useSyncExternalStore(e.subscribe,j.useCallback(()=>t(e.getState()),[e,t]),j.useCallback(()=>t(e.getInitialState()),[e,t]));return j.useDebugValue(r),r}const u6=e=>{const t=Kue(e),r=l=>Yue(t,l);return Object.assign(r,t),r},Xue=(e=>e?u6(e):u6);let Wue=0;const vj=3e3,s6=(e,t,r=vj)=>{setTimeout(()=>e(t),r)},eO=Xue((e,t)=>({toasts:[],addToast:r=>{const l=++Wue,i={...r,id:l};return e(c=>({toasts:[...c.toasts,i]})),r.type!=="loading"&&s6(t().removeToast,l,r?.duration||vj),l},removeToast:r=>{e(l=>({toasts:l.toasts.filter(i=>i.id!==r)}))},updateToast:(r,l)=>{e(i=>({toasts:i.toasts.map(c=>c.id===r?{...c,...l}:c)})),l.type!=="loading"&&s6(t().removeToast,r)},promise:async(r,l)=>{const i=t().addToast({type:"loading",description:l.loading});try{const c=await r;return t().updateToast(i,{type:"success",description:typeof l.success=="function"?l.success(c):l.success}),c}catch(c){const h=typeof l.error=="function"?l.error(c):l.error;return t().updateToast(i,{type:"error",description:h}),Promise.reject(c)}}})),tO=eO.getState(),Que=e=>tO.addToast(e),R_=(e,t)=>{const l=typeof e=="string"?{description:e,type:t}:{...e,type:t};return tO.addToast(l)},Zue=Object.assign(Que,{info:e=>R_(e,"info"),success:e=>R_(e,"success"),error:e=>R_(e,"error"),promise:(e,t)=>tO.promise(e,t)}),gj={info:jH,success:zH,error:IH,loading:vR};function Jue(e){const t=ese(e),r=_.forwardRef((l,i)=>{const{children:c,...h}=l,m=_.Children.toArray(c),y=m.find(nse);if(y){const x=y.props.children,S=m.map(w=>w===y?_.Children.count(x)>1?_.Children.only(null):_.isValidElement(x)?x.props.children:null:w);return M.jsx(t,{...h,ref:i,children:_.isValidElement(x)?_.cloneElement(x,void 0,S):null})}return M.jsx(t,{...h,ref:i,children:c})});return r.displayName=`${e}.Slot`,r}function ese(e){const t=_.forwardRef((r,l)=>{const{children:i,...c}=r;if(_.isValidElement(i)){const h=ase(i),m=rse(c,i.props);return i.type!==_.Fragment&&(m.ref=l?qr(l,h):h),_.cloneElement(i,m)}return _.Children.count(i)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var yj=Symbol("radix.slottable");function tse(e){const t=({children:r})=>M.jsx(M.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=yj,t}function nse(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===yj}function rse(e,t){const r={...t};for(const l in t){const i=e[l],c=t[l];/^on[A-Z]/.test(l)?i&&c?r[l]=(...m)=>{const y=c(...m);return i(...m),y}:i&&(r[l]=i):l==="style"?r[l]={...i,...c}:l==="className"&&(r[l]=[i,c].filter(Boolean).join(" "))}return{...e,...r}}function ase(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var lse=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ose=lse.reduce((e,t)=>{const r=Jue(`Primitive.${t}`),l=_.forwardRef((i,c)=>{const{asChild:h,...m}=i,y=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(y,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),[ET]=Pf("Tooltip",[Xv]),ST=Xv(),bj="TooltipProvider",ise=700,TD="tooltip.open",[use,nO]=ET(bj),xj=e=>{const{__scopeTooltip:t,delayDuration:r=ise,skipDelayDuration:l=300,disableHoverableContent:i=!1,children:c}=e,h=_.useRef(!0),m=_.useRef(!1),y=_.useRef(0);return _.useEffect(()=>{const x=y.current;return()=>window.clearTimeout(x)},[]),M.jsx(use,{scope:t,isOpenDelayedRef:h,delayDuration:r,onOpen:_.useCallback(()=>{window.clearTimeout(y.current),h.current=!1},[]),onClose:_.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>h.current=!0,l)},[l]),isPointerInTransitRef:m,onPointerInTransitChange:_.useCallback(x=>{m.current=x},[]),disableHoverableContent:i,children:c})};xj.displayName=bj;var sw="Tooltip",[sse,zw]=ET(sw),Ej=e=>{const{__scopeTooltip:t,children:r,open:l,defaultOpen:i,onOpenChange:c,disableHoverableContent:h,delayDuration:m}=e,y=nO(sw,e.__scopeTooltip),x=ST(t),[S,w]=_.useState(null),R=sa(),D=_.useRef(0),$=h??y.disableHoverableContent,O=m??y.delayDuration,q=_.useRef(!1),[N,U]=vr({prop:l,defaultProp:i??!1,onChange:V=>{V?(y.onOpen(),document.dispatchEvent(new CustomEvent(TD))):y.onClose(),c?.(V)},caller:sw}),I=_.useMemo(()=>N?q.current?"delayed-open":"instant-open":"closed",[N]),G=_.useCallback(()=>{window.clearTimeout(D.current),D.current=0,q.current=!1,U(!0)},[U]),F=_.useCallback(()=>{window.clearTimeout(D.current),D.current=0,U(!1)},[U]),H=_.useCallback(()=>{window.clearTimeout(D.current),D.current=window.setTimeout(()=>{q.current=!0,U(!0),D.current=0},O)},[O,U]);return _.useEffect(()=>()=>{D.current&&(window.clearTimeout(D.current),D.current=0)},[]),M.jsx(Dw,{...x,children:M.jsx(sse,{scope:t,contentId:R,open:N,stateAttribute:I,trigger:S,onTriggerChange:w,onTriggerEnter:_.useCallback(()=>{y.isOpenDelayedRef.current?H():G()},[y.isOpenDelayedRef,H,G]),onTriggerLeave:_.useCallback(()=>{$?F():(window.clearTimeout(D.current),D.current=0)},[F,$]),onOpen:G,onClose:F,disableHoverableContent:$,children:r})})};Ej.displayName=sw;var AD="TooltipTrigger",Sj=_.forwardRef((e,t)=>{const{__scopeTooltip:r,...l}=e,i=zw(AD,r),c=nO(AD,r),h=ST(r),m=_.useRef(null),y=Sn(t,m,i.onTriggerChange),x=_.useRef(!1),S=_.useRef(!1),w=_.useCallback(()=>x.current=!1,[]);return _.useEffect(()=>()=>document.removeEventListener("pointerup",w),[w]),M.jsx(Mw,{asChild:!0,...h,children:M.jsx(ose.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...l,ref:y,onPointerMove:vt(e.onPointerMove,R=>{R.pointerType!=="touch"&&!S.current&&!c.isPointerInTransitRef.current&&(i.onTriggerEnter(),S.current=!0)}),onPointerLeave:vt(e.onPointerLeave,()=>{i.onTriggerLeave(),S.current=!1}),onPointerDown:vt(e.onPointerDown,()=>{i.open&&i.onClose(),x.current=!0,document.addEventListener("pointerup",w,{once:!0})}),onFocus:vt(e.onFocus,()=>{x.current||i.onOpen()}),onBlur:vt(e.onBlur,i.onClose),onClick:vt(e.onClick,i.onClose)})})});Sj.displayName=AD;var rO="TooltipPortal",[cse,dse]=ET(rO,{forceMount:void 0}),wj=e=>{const{__scopeTooltip:t,forceMount:r,children:l,container:i}=e,c=zw(rO,t);return M.jsx(cse,{scope:t,forceMount:r,children:M.jsx(Fu,{present:r||c.open,children:M.jsx(J0,{asChild:!0,container:i,children:l})})})};wj.displayName=rO;var Y0="TooltipContent",Cj=_.forwardRef((e,t)=>{const r=dse(Y0,e.__scopeTooltip),{forceMount:l=r.forceMount,side:i="top",...c}=e,h=zw(Y0,e.__scopeTooltip);return M.jsx(Fu,{present:l||h.open,children:h.disableHoverableContent?M.jsx(Rj,{side:i,...c,ref:t}):M.jsx(fse,{side:i,...c,ref:t})})}),fse=_.forwardRef((e,t)=>{const r=zw(Y0,e.__scopeTooltip),l=nO(Y0,e.__scopeTooltip),i=_.useRef(null),c=Sn(t,i),[h,m]=_.useState(null),{trigger:y,onClose:x}=r,S=i.current,{onPointerInTransitChange:w}=l,R=_.useCallback(()=>{m(null),w(!1)},[w]),D=_.useCallback(($,O)=>{const q=$.currentTarget,N={x:$.clientX,y:$.clientY},U=vse(N,q.getBoundingClientRect()),I=gse(N,U),G=yse(O.getBoundingClientRect()),F=xse([...I,...G]);m(F),w(!0)},[w]);return _.useEffect(()=>()=>R(),[R]),_.useEffect(()=>{if(y&&S){const $=q=>D(q,S),O=q=>D(q,y);return y.addEventListener("pointerleave",$),S.addEventListener("pointerleave",O),()=>{y.removeEventListener("pointerleave",$),S.removeEventListener("pointerleave",O)}}},[y,S,D,R]),_.useEffect(()=>{if(h){const $=O=>{const q=O.target,N={x:O.clientX,y:O.clientY},U=y?.contains(q)||S?.contains(q),I=!bse(N,h);U?R():I&&(R(),x())};return document.addEventListener("pointermove",$),()=>document.removeEventListener("pointermove",$)}},[y,S,h,x,R]),M.jsx(Rj,{...e,ref:c})}),[pse,hse]=ET(sw,{isInside:!1}),mse=tse("TooltipContent"),Rj=_.forwardRef((e,t)=>{const{__scopeTooltip:r,children:l,"aria-label":i,onEscapeKeyDown:c,onPointerDownOutside:h,...m}=e,y=zw(Y0,r),x=ST(r),{onClose:S}=y;return _.useEffect(()=>(document.addEventListener(TD,S),()=>document.removeEventListener(TD,S)),[S]),_.useEffect(()=>{if(y.trigger){const w=R=>{R.target?.contains(y.trigger)&&S()};return window.addEventListener("scroll",w,{capture:!0}),()=>window.removeEventListener("scroll",w,{capture:!0})}},[y.trigger,S]),M.jsx(Z0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:w=>w.preventDefault(),onDismiss:S,children:M.jsxs(fT,{"data-state":y.stateAttribute,...x,...m,ref:t,style:{...m.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[M.jsx(mse,{children:l}),M.jsx(pse,{scope:r,isInside:!0,children:M.jsx(Iie,{id:y.contentId,role:"tooltip",children:i||l})})]})})});Cj.displayName=Y0;var Tj="TooltipArrow",Aj=_.forwardRef((e,t)=>{const{__scopeTooltip:r,...l}=e,i=ST(r);return hse(Tj,r).isInside?null:M.jsx(pT,{...i,...l,ref:t})});Aj.displayName=Tj;function vse(e,t){const r=Math.abs(t.top-e.y),l=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),c=Math.abs(t.left-e.x);switch(Math.min(r,l,i,c)){case c:return"left";case i:return"right";case r:return"top";case l:return"bottom";default:throw new Error("unreachable")}}function gse(e,t,r=5){const l=[];switch(t){case"top":l.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":l.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":l.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":l.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return l}function yse(e){const{top:t,right:r,bottom:l,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:l},{x:i,y:l}]}function bse(e,t){const{x:r,y:l}=e;let i=!1;for(let c=0,h=t.length-1;c<t.length;h=c++){const m=t[c],y=t[h],x=m.x,S=m.y,w=y.x,R=y.y;S>l!=R>l&&r<(w-x)*(l-S)/(R-S)+x&&(i=!i)}return i}function xse(e){const t=e.slice();return t.sort((r,l)=>r.x<l.x?-1:r.x>l.x?1:r.y<l.y?-1:r.y>l.y?1:0),Ese(t)}function Ese(e){if(e.length<=1)return e.slice();const t=[];for(let l=0;l<e.length;l++){const i=e[l];for(;t.length>=2;){const c=t[t.length-1],h=t[t.length-2];if((c.x-h.x)*(i.y-h.y)>=(c.y-h.y)*(i.x-h.x))t.pop();else break}t.push(i)}t.pop();const r=[];for(let l=e.length-1;l>=0;l--){const i=e[l];for(;r.length>=2;){const c=r[r.length-1],h=r[r.length-2];if((c.x-h.x)*(i.y-h.y)>=(c.y-h.y)*(i.x-h.x))r.pop();else break}r.push(i)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Sse=xj,wse=Ej,Cse=Sj,Rse=wj,Tse=Cj,Ase=Aj;const _j=({delayDuration:e=0,...t})=>M.jsx(Sse,{"data-slot":"tooltip-provider",delayDuration:e,...t}),Dj=({...e})=>M.jsx(_j,{children:M.jsx(wse,{"data-slot":"tooltip",...e})}),Mj=({...e})=>M.jsx(Cse,{"data-slot":"tooltip-trigger",...e}),Oj=({className:e,sideOffset:t=0,children:r,arrowClassName:l,...i})=>M.jsx(Rse,{children:M.jsxs(Tse,{"data-slot":"tooltip-content",sideOffset:t,className:Ve("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...i,children:[r,M.jsx(Ase,{className:Ve("bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",l)})]})}),_se=({label:e,open:t,defaultOpen:r,onOpenChange:l,...i})=>{const{className:c,...h}=gw("Tooltip",i,{side:"top"});return M.jsxs(Dj,{open:t,defaultOpen:r,onOpenChange:l,children:[M.jsx(Mj,{asChild:!0,"data-slot":"tooltip-trigger",children:M.jsx(yw,{...h})}),M.jsx(Oj,{"data-slot":"tooltip-content",side:h.side,sideOffset:h.offset,className:c,arrowClassName:h.arrowClassName,children:e})]})},Dse=j.createContext(null);j.createContext(null);j.createContext(null);j.createContext(null);j.createContext(null);j.createContext({});j.createContext(null);j.createContext(null);const _a=typeof document<"u"?j.useLayoutEffect:()=>{};var T_;const Mse=(T_=j.useInsertionEffect)!==null&&T_!==void 0?T_:_a;function mi(e){const t=j.useRef(null);return Mse(()=>{t.current=e},[e]),j.useCallback((...r)=>{const l=t.current;return l?.(...r)},[])}function Ose(e){let[t,r]=j.useState(e),l=j.useRef(null),i=mi(()=>{if(!l.current)return;let h=l.current.next();if(h.done){l.current=null;return}t===h.value?i():r(h.value)});_a(()=>{l.current&&i()});let c=mi(h=>{l.current=h(t),i()});return[t,c]}const LR={prefix:String(Math.round(Math.random()*1e10)),current:0},Nj=j.createContext(LR),Nse=j.createContext(!1);let $se=!!(typeof window<"u"&&window.document&&window.document.createElement),A_=new WeakMap;function Pse(e=!1){let t=j.useContext(Nj),r=j.useRef(null);if(r.current===null&&!e){var l,i;let c=(i=j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(l=i.ReactCurrentOwner)===null||l===void 0?void 0:l.current;if(c){let h=A_.get(c);h==null?A_.set(c,{id:t.current,state:c.memoizedState}):c.memoizedState!==h.state&&(t.current=h.id,A_.delete(c))}r.current=++t.current}return r.current}function qse(e){let t=j.useContext(Nj);t===LR&&!$se&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=Pse(!!e),l=t===LR&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${l}-${r}`}function kse(e){let t=j.useId(),[r]=j.useState(Uw()),l=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${LR.prefix}`;return e||`${l}-${t}`}const Lse=typeof j.useId=="function"?kse:qse;function jse(){return!1}function Bse(){return!0}function zse(e){return()=>{}}function Uw(){return typeof j.useSyncExternalStore=="function"?j.useSyncExternalStore(zse,jse,Bse):j.useContext(Nse)}let Use=!!(typeof window<"u"&&window.document&&window.document.createElement),H0=new Map,GS;typeof FinalizationRegistry<"u"&&(GS=new FinalizationRegistry(e=>{H0.delete(e)}));function Dh(e){let[t,r]=j.useState(e),l=j.useRef(null),i=Lse(t),c=j.useRef(null);if(GS&&GS.register(c,i),Use){const h=H0.get(i);h&&!h.includes(l)?h.push(l):H0.set(i,[l])}return _a(()=>{let h=i;return()=>{GS&&GS.unregister(c),H0.delete(h)}},[i]),j.useEffect(()=>{let h=l.current;return h&&r(h),()=>{h&&(l.current=null)}}),i}function Ise(e,t){if(e===t)return e;let r=H0.get(e);if(r)return r.forEach(i=>i.current=t),t;let l=H0.get(t);return l?(l.forEach(i=>i.current=e),e):t}function Hse(e=[]){let t=Dh(),[r,l]=Ose(t),i=j.useCallback(()=>{l(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,l]);return _a(i,[t,i,...e]),r}function wT(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const tr=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},Fs=e=>e&&"window"in e&&e.window===e?e:tr(e).defaultView||window;function Vse(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Fse(e){return Vse(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Kse=!1;function CT(){return Kse}function Ir(e,t){if(!CT())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:Fse(r)?r=r.host:r=r.parentNode}return!1}const zo=(e=document)=>{var t;if(!CT())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function Kn(e){return CT()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class Gse{get currentNode(){return this._currentNode}set currentNode(t){if(!Ir(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const r=[];let l=t,i=t;for(this._currentNode=t;l&&l!==this.root;)if(l.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const h=l,m=this._doc.createTreeWalker(h,this.whatToShow,{acceptNode:this._acceptNode});r.push(m),m.currentNode=i,this._currentSetFor.add(m),l=i=h.host}else l=l.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(c),c.currentNode=i,this._currentSetFor.add(c),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return Ir(t,r)?(r&&(this.currentNode=r),r):(this.currentNode=t,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var r;let i;if(typeof this.filter=="function"?i=this.filter(t):!((r=this.filter)===null||r===void 0)&&r.acceptNode&&(i=this.filter.acceptNode(t)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let c=this.nextNode();return c&&(this.currentNode=c),c}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let l=this.nextNode();return l&&(this.currentNode=l),l}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const r=t.previousNode();if(r){if(r.shadowRoot){var l;let c;if(typeof this.filter=="function"?c=this.filter(r):!((l=this.filter)===null||l===void 0)&&l.acceptNode&&(c=this.filter.acceptNode(r)),c===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let h=this.lastChild();return h&&(this.currentNode=h),h}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,r,l,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=h=>{if(h.nodeType===Node.ELEMENT_NODE){const y=h.shadowRoot;if(y){const x=this._doc.createTreeWalker(y,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(x),NodeFilter.FILTER_ACCEPT}else{var m;if(typeof this.filter=="function")return this.filter(h);if(!((m=this.filter)===null||m===void 0)&&m.acceptNode)return this.filter.acceptNode(h);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=r,this.filter=i??null,this.whatToShow=l??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(t.createTreeWalker(r,l,this._acceptNode));const c=r.shadowRoot;if(c){const h=this._doc.createTreeWalker(c,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(h)}}}function Yse(e,t,r,l){return CT()?new Gse(e,t,r,l):e.createTreeWalker(t,r,l)}function Sl(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let l=e[r];for(let i in l){let c=t[i],h=l[i];typeof c=="function"&&typeof h=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=wT(c,h):(i==="className"||i==="UNSAFE_className")&&typeof c=="string"&&typeof h=="string"?t[i]=VD(c,h):i==="id"&&c&&h?t.id=Ise(c,h):t[i]=h!==void 0?h:c}}return t}function Xse(...e){return e.length===1&&e[0]?e[0]:t=>{let r=!1;const l=e.map(i=>{const c=c6(i,t);return r||(r=typeof c=="function"),c});if(r)return()=>{l.forEach((i,c)=>{typeof i=="function"?i():c6(e[c],null)})}}}function c6(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}const Wse=new Set(["id"]),Qse=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Zse=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Jse=new Set(["dir","lang","hidden","inert","translate"]),d6=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),ece=/^(data-.*)$/;function ox(e,t={}){let{labelable:r,isLink:l,global:i,events:c=i,propNames:h}=t,m={};for(const y in e)Object.prototype.hasOwnProperty.call(e,y)&&(Wse.has(y)||r&&Qse.has(y)||l&&Zse.has(y)||i&&Jse.has(y)||c&&d6.has(y)||y.endsWith("Capture")&&d6.has(y.slice(0,-7))||h?.has(y)||ece.test(y))&&(m[y]=e[y]);return m}function Mh(e){if(tce())e.focus({preventScroll:!0});else{let t=nce(e);e.focus(),rce(t)}}let ZC=null;function tce(){if(ZC==null){ZC=!1;try{document.createElement("div").focus({get preventScroll(){return ZC=!0,!0}})}catch{}}return ZC}function nce(e){let t=e.parentNode,r=[],l=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==l;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return l instanceof HTMLElement&&r.push({element:l,scrollTop:l.scrollTop,scrollLeft:l.scrollLeft}),r}function rce(e){for(let{element:t,scrollTop:r,scrollLeft:l}of e)t.scrollTop=r,t.scrollLeft=l}function RT(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let r=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(r)&&r.some(l=>e.test(l.brand))||e.test(window.navigator.userAgent)}function aO(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function $h(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const lb=$h(function(){return aO(/^Mac/i)}),ace=$h(function(){return aO(/^iPhone/i)}),$j=$h(function(){return aO(/^iPad/i)||lb()&&navigator.maxTouchPoints>1}),lO=$h(function(){return ace()||$j()}),lce=$h(function(){return lb()||lO()}),oce=$h(function(){return RT(/AppleWebKit/i)&&!oO()}),oO=$h(function(){return RT(/Chrome/i)}),iO=$h(function(){return RT(/Android/i)}),ice=$h(function(){return RT(/Firefox/i)}),uce=j.createContext({isNative:!0,open:cce,useHref:e=>e});function uO(){return j.useContext(uce)}function ob(e,t,r=!0){var l,i;let{metaKey:c,ctrlKey:h,altKey:m,shiftKey:y}=t;ice()&&(!((i=window.event)===null||i===void 0||(l=i.type)===null||l===void 0)&&l.startsWith("key"))&&e.target==="_blank"&&(lb()?c=!0:h=!0);let x=oce()&&lb()&&!$j()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:c,ctrlKey:h,altKey:m,shiftKey:y}):new MouseEvent("click",{metaKey:c,ctrlKey:h,altKey:m,shiftKey:y,bubbles:!0,cancelable:!0});ob.isOpening=r,Mh(e),e.dispatchEvent(x),ob.isOpening=!1}ob.isOpening=!1;function sce(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function cce(e,t){sce(e,r=>ob(r,t))}function dce(e){let t=uO();var r;const l=t.useHref((r=e.href)!==null&&r!==void 0?r:"");return{"data-href":e.href?l:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}let jv=new Map,_D=new Set;function f6(){if(typeof window>"u")return;function e(l){return"propertyName"in l}let t=l=>{if(!e(l)||!l.target)return;let i=jv.get(l.target);i||(i=new Set,jv.set(l.target,i),l.target.addEventListener("transitioncancel",r,{once:!0})),i.add(l.propertyName)},r=l=>{if(!e(l)||!l.target)return;let i=jv.get(l.target);if(i&&(i.delete(l.propertyName),i.size===0&&(l.target.removeEventListener("transitioncancel",r),jv.delete(l.target)),jv.size===0)){for(let c of _D)c();_D.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?f6():document.addEventListener("DOMContentLoaded",f6));function fce(){for(const[e]of jv)"isConnected"in e&&!e.isConnected&&jv.delete(e)}function Pj(e){requestAnimationFrame(()=>{fce(),jv.size===0?e():_D.add(e)})}function TT(){let e=j.useRef(new Map),t=j.useCallback((i,c,h,m)=>{let y=m?.once?(...x)=>{e.current.delete(h),h(...x)}:h;e.current.set(h,{type:c,eventTarget:i,fn:y,options:m}),i.addEventListener(c,y,m)},[]),r=j.useCallback((i,c,h,m)=>{var y;let x=((y=e.current.get(h))===null||y===void 0?void 0:y.fn)||h;i.removeEventListener(c,x,m),e.current.delete(h)},[]),l=j.useCallback(()=>{e.current.forEach((i,c)=>{r(i.eventTarget,i.type,c,i.options)})},[r]);return j.useEffect(()=>l,[l]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:l}}function pce(e,t){let{id:r,"aria-label":l,"aria-labelledby":i}=e;return r=Dh(r),i&&l?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!l&&!i&&t&&(l=t),{id:r,"aria-label":l,"aria-labelledby":i}}function AT(e){const t=j.useRef(null),r=j.useRef(void 0),l=j.useCallback(i=>{if(typeof e=="function"){const c=e,h=c(i);return()=>{typeof h=="function"?h():c(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return j.useMemo(()=>({get current(){return t.current},set current(i){t.current=i,r.current&&(r.current(),r.current=void 0),i!=null&&(r.current=l(i))}}),[l])}function hce(e,t){const r=j.useRef(!0),l=j.useRef(null);j.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),j.useEffect(()=>{let i=l.current;r.current?r.current=!1:(!i||t.some((c,h)=>!Object.is(c,i[h])))&&e(),l.current=t},t)}function p6(e,t){const r=j.useRef(!0),l=j.useRef(null);_a(()=>(r.current=!0,()=>{r.current=!1}),[]),_a(()=>{r.current?r.current=!1:(!l.current||t.some((i,c)=>!Object.is(i,l[c])))&&e(),l.current=t},t)}function qj(e,t){_a(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function cw(e,t){if(!e)return!1;let r=window.getComputedStyle(e),l=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return l&&t&&(l=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),l}function Vy(e,t){let r=e;for(cw(r,t)&&(r=r.parentElement);r&&!cw(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function mce(e,t){const r=[];for(;e&&e!==document.documentElement;)cw(e,t)&&r.push(e),e=e.parentElement;return r}function L0(e){return lb()?e.metaKey:e.ctrlKey}let vce=0;const __=new Map;function kj(e){let[t,r]=j.useState();return _a(()=>{if(!e)return;let l=__.get(e);if(l)r(l.element.id);else{let i=`react-aria-description-${vce++}`;r(i);let c=document.createElement("div");c.id=i,c.style.display="none",c.textContent=e,document.body.appendChild(c),l={refCount:0,element:c},__.set(e,l)}return l.refCount++,()=>{l&&--l.refCount===0&&(l.element.remove(),__.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function JC(e,t,r,l){let i=mi(r),c=r==null;j.useEffect(()=>{if(c||!e.current)return;let h=e.current;return h.addEventListener(t,i,l),()=>{h.removeEventListener(t,i,l)}},[e,t,l,c,i])}function Lj(e,t){let r=h6(e,t,"left"),l=h6(e,t,"top"),i=t.offsetWidth,c=t.offsetHeight,h=e.scrollLeft,m=e.scrollTop,{borderTopWidth:y,borderLeftWidth:x,scrollPaddingTop:S,scrollPaddingRight:w,scrollPaddingBottom:R,scrollPaddingLeft:D}=getComputedStyle(e),{scrollMarginTop:$,scrollMarginRight:O,scrollMarginBottom:q,scrollMarginLeft:N}=getComputedStyle(t),U=h+parseInt(x,10),I=m+parseInt(y,10),G=U+e.clientWidth,F=I+e.clientHeight,H=parseInt(S,10)||0,V=parseInt(R,10)||0,X=parseInt(w,10)||0,le=parseInt(D,10)||0,xe=parseInt($,10)||0,Q=parseInt(q,10)||0,ue=parseInt(O,10)||0,se=parseInt(N,10)||0,ae=r-se,ge=r+i+ue,L=l-xe,W=l+c+Q,ee=h+parseInt(x,10)+le,me=G-X,Y=m+parseInt(y,10)+H,be=F-V;if((ae>ee||ge<me)&&(ae<=h+le?h=ae-parseInt(x,10)-le:ge>G-X&&(h+=ge-G+X)),(L>Y||W<be)&&(L<=I+H?m=L-parseInt(y,10)-H:W>F-V&&(m+=W-F+V)),process.env.NODE_ENV==="test"){e.scrollLeft=h,e.scrollTop=m;return}e.scrollTo({left:h,top:m})}function h6(e,t,r){const l=r==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[l],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[l];break}t=t.offsetParent}return i}function Lv(e,t){if(e&&document.contains(e)){let h=document.scrollingElement||document.documentElement;if(!(window.getComputedStyle(h).overflow==="hidden")&&!oO()){var r;let{left:y,top:x}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:S,top:w}=e.getBoundingClientRect();if(Math.abs(y-S)>1||Math.abs(x-w)>1){var l,i,c;t==null||(i=t.containingElement)===null||i===void 0||(l=i.scrollIntoView)===null||l===void 0||l.call(i,{block:"center",inline:"center"}),(c=e.scrollIntoView)===null||c===void 0||c.call(e,{block:"nearest"})}}else{let y=mce(e);for(let x of y)Lj(x,e)}}}function DD(e){return e.pointerType===""&&e.isTrusted?!0:iO()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function gce(e){return!iO()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function yce(e,t){let{collection:r,onLoadMore:l,scrollOffset:i=1}=e,c=j.useRef(null),h=mi(m=>{for(let y of m)y.isIntersecting&&l&&l()});_a(()=>(t.current&&(c.current=new IntersectionObserver(h,{root:Vy(t?.current),rootMargin:`0px ${100*i}% ${100*i}% ${100*i}%`}),c.current.observe(t.current)),()=>{c.current&&c.current.disconnect()}),[r,h,t,i])}function bce(e){const t=j.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const xce="react-aria-clear-focus",Ece="react-aria-focus",Sce=typeof Element<"u"&&"checkVisibility"in Element.prototype;function wce(e){const t=Fs(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:l}=e.style,i=r!=="none"&&l!=="hidden"&&l!=="collapse";if(i){const{getComputedStyle:c}=e.ownerDocument.defaultView;let{display:h,visibility:m}=c(e);i=h!=="none"&&m!=="hidden"&&m!=="collapse"}return i}function Cce(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function sO(e,t){return Sce?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&wce(e)&&Cce(e,t)&&(!e.parentElement||sO(e.parentElement,e))}const cO=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],Rce=cO.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";cO.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Tce=cO.join(':not([hidden]):not([tabindex="-1"]),');function jj(e){return e.matches(Rce)&&sO(e)&&!Bj(e)}function Ace(e){return e.matches(Tce)&&sO(e)&&!Bj(e)}function Bj(e){let t=e;for(;t!=null;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function dO(e,t,r){let[l,i]=j.useState(e||t),c=j.useRef(e!==void 0),h=e!==void 0;j.useEffect(()=>{let x=c.current;x!==h&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${x?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}.`),c.current=h},[h]);let m=h?e:l,y=j.useCallback((x,...S)=>{let w=(R,...D)=>{r&&(Object.is(m,R)||r(R,...D)),h||(m=R)};typeof x=="function"?(process.env.NODE_ENV!=="production"&&console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((D,...$)=>{let O=x(h?m:D,...$);return w(O,...S),h?D:O})):(h||i(x),w(x,...S))},[h,m,r]);return[m,y]}const zj=Symbol("default");function Uj({values:e,children:t}){for(let[r,l]of e)t=j.createElement(r.Provider,{value:l},t);return t}function ix(e){let{className:t,style:r,children:l,defaultClassName:i,defaultChildren:c,defaultStyle:h,values:m}=e;return j.useMemo(()=>{let y,x,S;return typeof t=="function"?y=t({...m,defaultClassName:i}):y=t,typeof r=="function"?x=r({...m,defaultStyle:h||{}}):x=r,typeof l=="function"?S=l({...m,defaultChildren:c}):l==null?S=c:S=l,{className:y??i,style:x||h?{...h,...x}:void 0,children:S??c,"data-rac":""}},[t,r,l,i,c,h,m])}function Ij(e,t){return r=>t(typeof e=="function"?e(r):e,r)}function _ce(e,t){let r=j.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let l=t||zj;if(!r.slots[l]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(h=>`"${h}"`)),c=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${c} Valid slot names are ${i}.`)}return r.slots[l]}return r}function Hj(e,t,r){let l=_ce(r,e.slot)||{},{ref:i,...c}=l,h=AT(j.useMemo(()=>Xse(t,i),[t,i])),m=Sl(c,e);return"style"in c&&c.style&&"style"in e&&e.style&&(typeof c.style=="function"||typeof e.style=="function"?m.style=y=>{let x=typeof c.style=="function"?c.style(y):c.style,S={...y.defaultStyle,...x},w=typeof e.style=="function"?e.style({...y,defaultStyle:S}):e.style;return{...S,...w}}:m.style={...c.style,...e.style}),[m,h]}const Vj=7e3;let Tf=null;function MD(e,t="assertive",r=Vj){Tf?Tf.announce(e,t,r):(Tf=new Dce,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Tf.announce(e,t,r):setTimeout(()=>{Tf?.isAttached()&&Tf?.announce(e,t,r)},100))}class Dce{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",l=Vj){var i,c;if(!this.node)return;let h=document.createElement("div");typeof t=="object"?(h.setAttribute("role","img"),h.setAttribute("aria-labelledby",t["aria-labelledby"])):h.textContent=t,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(h):(c=this.politeLog)===null||c===void 0||c.appendChild(h),t!==""&&setTimeout(()=>{h.remove()},l)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}const Mce=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Oce=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Nce(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),l=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(l)return l.direction==="rtl";if(r.script)return Mce.has(r.script)}let t=e.split("-")[0];return Oce.has(t)}const $ce=Symbol.for("react-aria.i18n.locale");function Fj(){let e=typeof window<"u"&&window[$ce]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Nce(e)?"rtl":"ltr"}}let OD=Fj(),YS=new Set;function m6(){OD=Fj();for(let e of YS)e(OD)}function Pce(){let e=Uw(),[t,r]=j.useState(OD);return j.useEffect(()=>(YS.size===0&&window.addEventListener("languagechange",m6),YS.add(r),()=>{YS.delete(r),YS.size===0&&window.removeEventListener("languagechange",m6)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const qce=j.createContext(null);function Iw(){let e=Pce();return j.useContext(qce)||e}const kce=Symbol.for("react-aria.i18n.locale"),Lce=Symbol.for("react-aria.i18n.strings");let N0;class _T{getStringForLocale(t,r){let i=this.getStringsForLocale(r)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${r} locale`);return i}getStringsForLocale(t){let r=this.strings[t];return r||(r=jce(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[kce];if(N0===void 0){let i=window[Lce];if(!i)return null;N0={};for(let c in i)N0[c]=new _T({[r]:i[c]},r)}let l=N0?.[t];if(!l)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return l}constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,l])=>l)),this.defaultLocale=r}}function jce(e,t,r="en-US"){if(t[e])return t[e];let l=Bce(e);if(t[l])return t[l];for(let i in t)if(i.startsWith(l+"-"))return t[i];return t[r]}function Bce(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const v6=new Map,g6=new Map;class zce{format(t,r){let l=this.strings.getStringForLocale(t,this.locale);return typeof l=="function"?l(r,this):l}plural(t,r,l="cardinal"){let i=r["="+t];if(i)return typeof i=="function"?i():i;let c=this.locale+":"+l,h=v6.get(c);h||(h=new Intl.PluralRules(this.locale,{type:l}),v6.set(c,h));let m=h.select(t);return i=r[m]||r.other,typeof i=="function"?i():i}number(t){let r=g6.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),g6.set(this.locale,r)),r.format(t)}select(t,r){let l=t[r]||t.other;return typeof l=="function"?l():l}constructor(t,r){this.locale=t,this.strings=r}}const y6=new WeakMap;function Uce(e){let t=y6.get(e);return t||(t=new _T(e),y6.set(e,t)),t}function Ice(e,t){return t&&_T.getGlobalDictionaryForPackage(t)||Uce(e)}function DT(e,t){let{locale:r}=Iw(),l=Ice(e,t);return j.useMemo(()=>new zce(r,l),[r,l])}function Hce(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vce(e,t,r){Hce(e,t),t.set(e,r)}let D_=new Map;function Kj(e){let{locale:t}=Iw(),r=t+(e?Object.entries(e).sort((i,c)=>i[0]<c[0]?-1:1).join():"");if(D_.has(r))return D_.get(r);let l=new Intl.Collator(t,e);return D_.set(r,l),l}function fO(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Gj(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Yj(e){let t=j.useRef({isFocused:!1,observer:null});_a(()=>{const l=t.current;return()=>{l.observer&&(l.observer.disconnect(),l.observer=null)}},[]);let r=mi(l=>{e?.(l)});return j.useCallback(l=>{if(l.target instanceof HTMLButtonElement||l.target instanceof HTMLInputElement||l.target instanceof HTMLTextAreaElement||l.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=l.target,c=h=>{if(t.current.isFocused=!1,i.disabled){let m=fO(h);r(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",c,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var h;(h=t.current.observer)===null||h===void 0||h.disconnect();let m=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let jR=!1;function b6(e){for(;e&&!jj(e);)e=e.parentElement;let t=Fs(e),r=t.document.activeElement;if(!r||r===e)return;jR=!0;let l=!1,i=S=>{(S.target===r||l)&&S.stopImmediatePropagation()},c=S=>{(S.target===r||l)&&(S.stopImmediatePropagation(),!e&&!l&&(l=!0,Mh(r),y()))},h=S=>{(S.target===e||l)&&S.stopImmediatePropagation()},m=S=>{(S.target===e||l)&&(S.stopImmediatePropagation(),l||(l=!0,Mh(r),y()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",c,!0),t.addEventListener("focusin",m,!0),t.addEventListener("focus",h,!0);let y=()=>{cancelAnimationFrame(x),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",c,!0),t.removeEventListener("focusin",m,!0),t.removeEventListener("focus",h,!0),jR=!1,l=!1},x=requestAnimationFrame(y);return y}let j0="default",ND="",cR=new WeakMap;function x6(e){if(lO()){if(j0==="default"){const t=tr(e);ND=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}j0="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";cR.set(e,e.style[t]),e.style[t]="none"}}function M_(e){if(lO()){if(j0!=="disabled")return;j0="restoring",setTimeout(()=>{Pj(()=>{if(j0==="restoring"){const t=tr(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ND||""),ND="",j0="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&cR.has(e)){let t=cR.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),cR.delete(e)}}const Xj=j.createContext({register:()=>{}});Xj.displayName="PressResponderContext";function Fce(e,t){return t.get?t.get.call(e):t.value}function Wj(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function Kce(e,t){var r=Wj(e,t,"get");return Fce(e,r)}function Gce(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function E6(e,t,r){var l=Wj(e,t,"set");return Gce(e,l,r),r}function Yce(e){let t=j.useContext(Xj);if(t){let{register:r,...l}=t;e=Sl(l,e),r()}return qj(t,e.ref),e}var eR=new WeakMap;class tR{continuePropagation(){E6(this,eR,!1)}get shouldStopPropagation(){return Kce(this,eR)}constructor(t,r,l,i){Vce(this,eR,{writable:!0,value:void 0}),E6(this,eR,!0);var c;let h=(c=i?.target)!==null&&c!==void 0?c:l.currentTarget;const m=h?.getBoundingClientRect();let y,x=0,S,w=null;l.clientX!=null&&l.clientY!=null&&(S=l.clientX,w=l.clientY),m&&(S!=null&&w!=null?(y=S-m.left,x=w-m.top):(y=m.width/2,x=m.height/2)),this.type=t,this.pointerType=r,this.target=l.currentTarget,this.shiftKey=l.shiftKey,this.metaKey=l.metaKey,this.ctrlKey=l.ctrlKey,this.altKey=l.altKey,this.x=y,this.y=x}}const S6=Symbol("linkClicked"),w6="react-aria-pressable-style",C6="data-react-aria-pressable";function pO(e){let{onPress:t,onPressChange:r,onPressStart:l,onPressEnd:i,onPressUp:c,onClick:h,isDisabled:m,isPressed:y,preventFocusOnPress:x,shouldCancelOnPointerExit:S,allowTextSelectionOnPress:w,ref:R,...D}=Yce(e),[$,O]=j.useState(!1),q=j.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:N,removeAllGlobalListeners:U}=TT(),I=mi((Q,ue)=>{let se=q.current;if(m||se.didFirePressStart)return!1;let ae=!0;if(se.isTriggeringEvent=!0,l){let ge=new tR("pressstart",ue,Q);l(ge),ae=ge.shouldStopPropagation}return r&&r(!0),se.isTriggeringEvent=!1,se.didFirePressStart=!0,O(!0),ae}),G=mi((Q,ue,se=!0)=>{let ae=q.current;if(!ae.didFirePressStart)return!1;ae.didFirePressStart=!1,ae.isTriggeringEvent=!0;let ge=!0;if(i){let L=new tR("pressend",ue,Q);i(L),ge=L.shouldStopPropagation}if(r&&r(!1),O(!1),t&&se&&!m){let L=new tR("press",ue,Q);t(L),ge&&(ge=L.shouldStopPropagation)}return ae.isTriggeringEvent=!1,ge}),F=mi((Q,ue)=>{let se=q.current;if(m)return!1;if(c){se.isTriggeringEvent=!0;let ae=new tR("pressup",ue,Q);return c(ae),se.isTriggeringEvent=!1,ae.shouldStopPropagation}return!0}),H=mi(Q=>{let ue=q.current;if(ue.isPressed&&ue.target){ue.didFirePressStart&&ue.pointerType!=null&&G(zy(ue.target,Q),ue.pointerType,!1),ue.isPressed=!1,ue.isOverTarget=!1,ue.activePointerId=null,ue.pointerType=null,U(),w||M_(ue.target);for(let se of ue.disposables)se();ue.disposables=[]}}),V=mi(Q=>{S&&H(Q)}),X=mi(Q=>{m||h?.(Q)}),le=mi((Q,ue)=>{if(!m&&h){let se=new MouseEvent("click",Q);Gj(se,ue),h(fO(se))}}),xe=j.useMemo(()=>{let Q=q.current,ue={onKeyDown(ae){if(O_(ae.nativeEvent,ae.currentTarget)&&Ir(ae.currentTarget,Kn(ae.nativeEvent))){var ge;A6(Kn(ae.nativeEvent),ae.key)&&ae.preventDefault();let L=!0;if(!Q.isPressed&&!ae.repeat){Q.target=ae.currentTarget,Q.isPressed=!0,Q.pointerType="keyboard",L=I(ae,"keyboard");let W=ae.currentTarget,ee=me=>{O_(me,W)&&!me.repeat&&Ir(W,Kn(me))&&Q.target&&F(zy(Q.target,me),"keyboard")};N(tr(ae.currentTarget),"keyup",wT(ee,se),!0)}L&&ae.stopPropagation(),ae.metaKey&&lb()&&((ge=Q.metaKeyEvents)===null||ge===void 0||ge.set(ae.key,ae.nativeEvent))}else ae.key==="Meta"&&(Q.metaKeyEvents=new Map)},onClick(ae){if(!(ae&&!Ir(ae.currentTarget,Kn(ae.nativeEvent)))&&ae&&ae.button===0&&!Q.isTriggeringEvent&&!ob.isOpening){let ge=!0;if(m&&ae.preventDefault(),!Q.ignoreEmulatedMouseEvents&&!Q.isPressed&&(Q.pointerType==="virtual"||DD(ae.nativeEvent))){let L=I(ae,"virtual"),W=F(ae,"virtual"),ee=G(ae,"virtual");X(ae),ge=L&&W&&ee}else if(Q.isPressed&&Q.pointerType!=="keyboard"){let L=Q.pointerType||ae.nativeEvent.pointerType||"virtual",W=F(zy(ae.currentTarget,ae),L),ee=G(zy(ae.currentTarget,ae),L,!0);ge=W&&ee,Q.isOverTarget=!1,X(ae),H(ae)}Q.ignoreEmulatedMouseEvents=!1,ge&&ae.stopPropagation()}}},se=ae=>{var ge;if(Q.isPressed&&Q.target&&O_(ae,Q.target)){var L;A6(Kn(ae),ae.key)&&ae.preventDefault();let ee=Kn(ae),me=Ir(Q.target,Kn(ae));G(zy(Q.target,ae),"keyboard",me),me&&le(ae,Q.target),U(),ae.key!=="Enter"&&hO(Q.target)&&Ir(Q.target,ee)&&!ae[S6]&&(ae[S6]=!0,ob(Q.target,ae,!1)),Q.isPressed=!1,(L=Q.metaKeyEvents)===null||L===void 0||L.delete(ae.key)}else if(ae.key==="Meta"&&(!((ge=Q.metaKeyEvents)===null||ge===void 0)&&ge.size)){var W;let ee=Q.metaKeyEvents;Q.metaKeyEvents=void 0;for(let me of ee.values())(W=Q.target)===null||W===void 0||W.dispatchEvent(new KeyboardEvent("keyup",me))}};if(typeof PointerEvent<"u"){ue.onPointerDown=L=>{if(L.button!==0||!Ir(L.currentTarget,Kn(L.nativeEvent)))return;if(gce(L.nativeEvent)){Q.pointerType="virtual";return}Q.pointerType=L.pointerType;let W=!0;if(!Q.isPressed){Q.isPressed=!0,Q.isOverTarget=!0,Q.activePointerId=L.pointerId,Q.target=L.currentTarget,w||x6(Q.target),W=I(L,Q.pointerType);let ee=Kn(L.nativeEvent);"releasePointerCapture"in ee&&ee.releasePointerCapture(L.pointerId),N(tr(L.currentTarget),"pointerup",ae,!1),N(tr(L.currentTarget),"pointercancel",ge,!1)}W&&L.stopPropagation()},ue.onMouseDown=L=>{if(Ir(L.currentTarget,Kn(L.nativeEvent))&&L.button===0){if(x){let W=b6(L.target);W&&Q.disposables.push(W)}L.stopPropagation()}},ue.onPointerUp=L=>{!Ir(L.currentTarget,Kn(L.nativeEvent))||Q.pointerType==="virtual"||L.button===0&&!Q.isPressed&&F(L,Q.pointerType||L.pointerType)},ue.onPointerEnter=L=>{L.pointerId===Q.activePointerId&&Q.target&&!Q.isOverTarget&&Q.pointerType!=null&&(Q.isOverTarget=!0,I(zy(Q.target,L),Q.pointerType))},ue.onPointerLeave=L=>{L.pointerId===Q.activePointerId&&Q.target&&Q.isOverTarget&&Q.pointerType!=null&&(Q.isOverTarget=!1,G(zy(Q.target,L),Q.pointerType,!1),V(L))};let ae=L=>{if(L.pointerId===Q.activePointerId&&Q.isPressed&&L.button===0&&Q.target){if(Ir(Q.target,Kn(L))&&Q.pointerType!=null){let W=!1,ee=setTimeout(()=>{Q.isPressed&&Q.target instanceof HTMLElement&&(W?H(L):(Mh(Q.target),Q.target.click()))},80);N(L.currentTarget,"click",()=>W=!0,!0),Q.disposables.push(()=>clearTimeout(ee))}else H(L);Q.isOverTarget=!1}},ge=L=>{H(L)};ue.onDragStart=L=>{Ir(L.currentTarget,Kn(L.nativeEvent))&&H(L)}}else if(process.env.NODE_ENV==="test"){ue.onMouseDown=L=>{if(L.button!==0||!Ir(L.currentTarget,Kn(L.nativeEvent)))return;if(Q.ignoreEmulatedMouseEvents){L.stopPropagation();return}if(Q.isPressed=!0,Q.isOverTarget=!0,Q.target=L.currentTarget,Q.pointerType=DD(L.nativeEvent)?"virtual":"mouse",Hu.flushSync(()=>I(L,Q.pointerType))&&L.stopPropagation(),x){let ee=b6(L.target);ee&&Q.disposables.push(ee)}N(tr(L.currentTarget),"mouseup",ae,!1)},ue.onMouseEnter=L=>{if(!Ir(L.currentTarget,Kn(L.nativeEvent)))return;let W=!0;Q.isPressed&&!Q.ignoreEmulatedMouseEvents&&Q.pointerType!=null&&(Q.isOverTarget=!0,W=I(L,Q.pointerType)),W&&L.stopPropagation()},ue.onMouseLeave=L=>{if(!Ir(L.currentTarget,Kn(L.nativeEvent)))return;let W=!0;Q.isPressed&&!Q.ignoreEmulatedMouseEvents&&Q.pointerType!=null&&(Q.isOverTarget=!1,W=G(L,Q.pointerType,!1),V(L)),W&&L.stopPropagation()},ue.onMouseUp=L=>{Ir(L.currentTarget,Kn(L.nativeEvent))&&!Q.ignoreEmulatedMouseEvents&&L.button===0&&!Q.isPressed&&F(L,Q.pointerType||"mouse")};let ae=L=>{if(L.button===0){if(Q.ignoreEmulatedMouseEvents){Q.ignoreEmulatedMouseEvents=!1;return}Q.target&&Q.target.contains(L.target)&&Q.pointerType!=null||H(L),Q.isOverTarget=!1}};ue.onTouchStart=L=>{if(!Ir(L.currentTarget,Kn(L.nativeEvent)))return;let W=Xce(L.nativeEvent);if(!W)return;Q.activePointerId=W.identifier,Q.ignoreEmulatedMouseEvents=!0,Q.isOverTarget=!0,Q.isPressed=!0,Q.target=L.currentTarget,Q.pointerType="touch",w||x6(Q.target),I(Pv(Q.target,L),Q.pointerType)&&L.stopPropagation(),N(Fs(L.currentTarget),"scroll",ge,!0)},ue.onTouchMove=L=>{if(!Ir(L.currentTarget,Kn(L.nativeEvent)))return;if(!Q.isPressed){L.stopPropagation();return}let W=R6(L.nativeEvent,Q.activePointerId),ee=!0;W&&T6(W,L.currentTarget)?!Q.isOverTarget&&Q.pointerType!=null&&(Q.isOverTarget=!0,ee=I(Pv(Q.target,L),Q.pointerType)):Q.isOverTarget&&Q.pointerType!=null&&(Q.isOverTarget=!1,ee=G(Pv(Q.target,L),Q.pointerType,!1),V(Pv(Q.target,L))),ee&&L.stopPropagation()},ue.onTouchEnd=L=>{if(!Ir(L.currentTarget,Kn(L.nativeEvent)))return;if(!Q.isPressed){L.stopPropagation();return}let W=R6(L.nativeEvent,Q.activePointerId),ee=!0;W&&T6(W,L.currentTarget)&&Q.pointerType!=null?(F(Pv(Q.target,L),Q.pointerType),ee=G(Pv(Q.target,L),Q.pointerType),le(L.nativeEvent,Q.target)):Q.isOverTarget&&Q.pointerType!=null&&(ee=G(Pv(Q.target,L),Q.pointerType,!1)),ee&&L.stopPropagation(),Q.isPressed=!1,Q.activePointerId=null,Q.isOverTarget=!1,Q.ignoreEmulatedMouseEvents=!0,Q.target&&!w&&M_(Q.target),U()},ue.onTouchCancel=L=>{Ir(L.currentTarget,Kn(L.nativeEvent))&&(L.stopPropagation(),Q.isPressed&&H(Pv(Q.target,L)))};let ge=L=>{Q.isPressed&&Ir(Kn(L),Q.target)&&H({currentTarget:Q.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};ue.onDragStart=L=>{Ir(L.currentTarget,Kn(L.nativeEvent))&&H(L)}}return ue},[N,m,x,U,w,H,V,G,I,F,X,le]);return j.useEffect(()=>{if(!R||process.env.NODE_ENV==="test")return;const Q=tr(R.current);if(!Q||!Q.head||Q.getElementById(w6))return;const ue=Q.createElement("style");ue.id=w6,ue.textContent=`
|
|
349
|
+
@layer {
|
|
350
|
+
[${C6}] {
|
|
351
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
`.trim(),Q.head.prepend(ue)},[R]),j.useEffect(()=>{let Q=q.current;return()=>{var ue;w||M_((ue=Q.target)!==null&&ue!==void 0?ue:void 0);for(let se of Q.disposables)se();Q.disposables=[]}},[w]),{isPressed:y||$,pressProps:Sl(D,xe,{[C6]:!0})}}function hO(e){return e.tagName==="A"&&e.hasAttribute("href")}function O_(e,t){const{key:r,code:l}=e,i=t,c=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||l==="Space")&&!(i instanceof Fs(i).HTMLInputElement&&!Qj(i,r)||i instanceof Fs(i).HTMLTextAreaElement||i.isContentEditable)&&!((c==="link"||!c&&hO(i))&&r!=="Enter")}function Xce(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function R6(e,t){const r=e.changedTouches;for(let l=0;l<r.length;l++){const i=r[l];if(i.identifier===t)return i}return null}function Pv(e,t){let r=0,l=0;return t.targetTouches&&t.targetTouches.length===1&&(r=t.targetTouches[0].clientX,l=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:l}}function zy(e,t){let r=t.clientX,l=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:l}}function Wce(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function Qce(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function T6(e,t){let r=t.getBoundingClientRect(),l=Wce(e);return Qce(r,l)}function Zce(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!hO(e)}function A6(e,t){return e instanceof HTMLInputElement?!Qj(e,t):Zce(e)}const Jce=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Qj(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Jce.has(e.type)}let Yv=null,dw=new Set,ZS=new Map,ib=!1,$D=!1;const ede={Tab:!0,Escape:!0};function mO(e,t){for(let r of dw)r(e,t)}function tde(e){return!(e.metaKey||!lb()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function BR(e){ib=!0,tde(e)&&(Yv="keyboard",mO("keyboard",e))}function Vs(e){Yv="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(ib=!0,mO("pointer",e))}function Zj(e){DD(e)&&(ib=!0,Yv="virtual")}function Jj(e){e.target===window||e.target===document||jR||!e.isTrusted||(!ib&&!$D&&(Yv="virtual",mO("virtual",e)),ib=!1,$D=!1)}function eB(){jR||(ib=!1,$D=!0)}function zR(e){if(typeof window>"u"||typeof document>"u"||ZS.get(Fs(e)))return;const t=Fs(e),r=tr(e);let l=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ib=!0,l.apply(this,arguments)},r.addEventListener("keydown",BR,!0),r.addEventListener("keyup",BR,!0),r.addEventListener("click",Zj,!0),t.addEventListener("focus",Jj,!0),t.addEventListener("blur",eB,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",Vs,!0),r.addEventListener("pointermove",Vs,!0),r.addEventListener("pointerup",Vs,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",Vs,!0),r.addEventListener("mousemove",Vs,!0),r.addEventListener("mouseup",Vs,!0)),t.addEventListener("beforeunload",()=>{tB(e)},{once:!0}),ZS.set(t,{focus:l})}const tB=(e,t)=>{const r=Fs(e),l=tr(e);t&&l.removeEventListener("DOMContentLoaded",t),ZS.has(r)&&(r.HTMLElement.prototype.focus=ZS.get(r).focus,l.removeEventListener("keydown",BR,!0),l.removeEventListener("keyup",BR,!0),l.removeEventListener("click",Zj,!0),r.removeEventListener("focus",Jj,!0),r.removeEventListener("blur",eB,!1),typeof PointerEvent<"u"?(l.removeEventListener("pointerdown",Vs,!0),l.removeEventListener("pointermove",Vs,!0),l.removeEventListener("pointerup",Vs,!0)):process.env.NODE_ENV==="test"&&(l.removeEventListener("mousedown",Vs,!0),l.removeEventListener("mousemove",Vs,!0),l.removeEventListener("mouseup",Vs,!0)),ZS.delete(r))};function nde(e){const t=tr(e);let r;return t.readyState!=="loading"?zR(e):(r=()=>{zR(e)},t.addEventListener("DOMContentLoaded",r)),()=>tB(e,r)}typeof document<"u"&&nde();function vO(){return Yv!=="pointer"}function UR(){return Yv}function rde(){zR();let[e,t]=j.useState(Yv);return j.useEffect(()=>{let r=()=>{t(Yv)};return dw.add(r),()=>{dw.delete(r)}},[]),Uw()?null:e}const ade=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function lde(e,t,r){let l=tr(r?.target);const i=typeof window<"u"?Fs(r?.target).HTMLInputElement:HTMLInputElement,c=typeof window<"u"?Fs(r?.target).HTMLTextAreaElement:HTMLTextAreaElement,h=typeof window<"u"?Fs(r?.target).HTMLElement:HTMLElement,m=typeof window<"u"?Fs(r?.target).KeyboardEvent:KeyboardEvent;return e=e||l.activeElement instanceof i&&!ade.has(l.activeElement.type)||l.activeElement instanceof c||l.activeElement instanceof h&&l.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof m&&!ede[r.key])}function ode(e,t,r){zR(),j.useEffect(()=>{let l=(i,c)=>{lde(!!r?.isTextInput,i,c)&&e(vO())};return dw.add(l),()=>{dw.delete(l)}},t)}function Hs(e){const t=tr(e),r=zo(t);if(UR()==="virtual"){let l=r;Pj(()=>{zo(t)===l&&e.isConnected&&Mh(e)})}else Mh(e)}function nB(e){let{isDisabled:t,onFocus:r,onBlur:l,onFocusChange:i}=e;const c=j.useCallback(y=>{if(y.target===y.currentTarget)return l&&l(y),i&&i(!1),!0},[l,i]),h=Yj(c),m=j.useCallback(y=>{const x=tr(y.target),S=x?zo(x):zo();y.target===y.currentTarget&&S===Kn(y.nativeEvent)&&(r&&r(y),i&&i(!0),h(y))},[i,r,h]);return{focusProps:{onFocus:!t&&(r||i||l)?m:void 0,onBlur:!t&&(l||i)?c:void 0}}}function _6(e){if(!e)return;let t=!0;return r=>{let l={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){t&&process.env.NODE_ENV!=="production"?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(l),t&&r.stopPropagation()}}function ide(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:_6(e.onKeyDown),onKeyUp:_6(e.onKeyUp)}}}let PD=j.createContext(null);function ude(e){let t=j.useContext(PD)||{};qj(t,e);let{ref:r,...l}=t;return l}function sde(e,t){let{focusProps:r}=nB(e),{keyboardProps:l}=ide(e),i=Sl(r,l),c=ude(t),h=e.isDisabled?{}:c,m=j.useRef(e.autoFocus);j.useEffect(()=>{m.current&&t.current&&Hs(t.current),m.current=!1},[t]);let y=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(y=void 0),{focusableProps:Sl({...i,tabIndex:y},h)}}function rB(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:l,onFocusWithinChange:i}=e,c=j.useRef({isFocusWithin:!1}),{addGlobalListener:h,removeAllGlobalListeners:m}=TT(),y=j.useCallback(w=>{w.currentTarget.contains(w.target)&&c.current.isFocusWithin&&!w.currentTarget.contains(w.relatedTarget)&&(c.current.isFocusWithin=!1,m(),r&&r(w),i&&i(!1))},[r,i,c,m]),x=Yj(y),S=j.useCallback(w=>{if(!w.currentTarget.contains(w.target))return;const R=tr(w.target),D=zo(R);if(!c.current.isFocusWithin&&D===Kn(w.nativeEvent)){l&&l(w),i&&i(!0),c.current.isFocusWithin=!0,x(w);let $=w.currentTarget;h(R,"focus",O=>{if(c.current.isFocusWithin&&!Ir($,O.target)){let q=new R.defaultView.FocusEvent("blur",{relatedTarget:O.target});Gj(q,$);let N=fO(q);y(N)}},{capture:!0})}},[l,i,x,h,y]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:S,onBlur:y}}}let IR=!1,nR=0;function qD(){IR=!0,setTimeout(()=>{IR=!1},50)}function D6(e){e.pointerType==="touch"&&qD()}function cde(){if(!(typeof document>"u"))return nR===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",D6):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",qD)),nR++,()=>{nR--,!(nR>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",D6):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",qD))}}function aB(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:l,isDisabled:i}=e,[c,h]=j.useState(!1),m=j.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;j.useEffect(cde,[]);let{addGlobalListener:y,removeAllGlobalListeners:x}=TT(),{hoverProps:S,triggerHoverEnd:w}=j.useMemo(()=>{let R=(O,q)=>{if(m.pointerType=q,i||q==="touch"||m.isHovered||!O.currentTarget.contains(O.target))return;m.isHovered=!0;let N=O.currentTarget;m.target=N,y(tr(O.target),"pointerover",U=>{m.isHovered&&m.target&&!Ir(m.target,U.target)&&D(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:N,pointerType:q}),r&&r(!0),h(!0)},D=(O,q)=>{let N=m.target;m.pointerType="",m.target=null,!(q==="touch"||!m.isHovered||!N)&&(m.isHovered=!1,x(),l&&l({type:"hoverend",target:N,pointerType:q}),r&&r(!1),h(!1))},$={};return typeof PointerEvent<"u"?($.onPointerEnter=O=>{IR&&O.pointerType==="mouse"||R(O,O.pointerType)},$.onPointerLeave=O=>{!i&&O.currentTarget.contains(O.target)&&D(O,O.pointerType)}):process.env.NODE_ENV==="test"&&($.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},$.onMouseEnter=O=>{!m.ignoreEmulatedMouseEvents&&!IR&&R(O,"mouse"),m.ignoreEmulatedMouseEvents=!1},$.onMouseLeave=O=>{!i&&O.currentTarget.contains(O.target)&&D(O,"mouse")}),{hoverProps:$,triggerHoverEnd:D}},[t,r,l,i,m,y,x]);return j.useEffect(()=>{i&&w({currentTarget:m.target},m.pointerType)},[i]),{hoverProps:S,isHovered:c}}const dde=500;function fde(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:l,onLongPress:i,threshold:c=dde,accessibilityDescription:h}=e;const m=j.useRef(void 0);let{addGlobalListener:y,removeGlobalListener:x}=TT(),{pressProps:S}=pO({isDisabled:t,onPressStart(R){if(R.continuePropagation(),(R.pointerType==="mouse"||R.pointerType==="touch")&&(r&&r({...R,type:"longpressstart"}),m.current=setTimeout(()=>{R.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),tr(R.target).activeElement!==R.target&&Mh(R.target),i&&i({...R,type:"longpress"}),m.current=void 0},c),R.pointerType==="touch")){let D=$=>{$.preventDefault()};y(R.target,"contextmenu",D,{once:!0}),y(window,"pointerup",()=>{setTimeout(()=>{x(R.target,"contextmenu",D)},30)},{once:!0})}},onPressEnd(R){m.current&&clearTimeout(m.current),l&&(R.pointerType==="mouse"||R.pointerType==="touch")&&l({...R,type:"longpressend"})}}),w=kj(i&&!t?h:void 0);return{longPressProps:Sl(S,w)}}const M6=j.createContext(null),kD="react-aria-focus-scope-restore";let Pr=null;function pde(e){let{children:t,contain:r,restoreFocus:l,autoFocus:i}=e,c=j.useRef(null),h=j.useRef(null),m=j.useRef([]),{parentNode:y}=j.useContext(M6)||{},x=j.useMemo(()=>new jD({scopeRef:m}),[m]);_a(()=>{let R=y||Ya.root;if(Ya.getTreeNode(R.scopeRef)&&Pr&&!HR(Pr,R.scopeRef)){let D=Ya.getTreeNode(Pr);D&&(R=D)}R.addChild(x),Ya.addNode(x)},[x,y]),_a(()=>{let R=Ya.getTreeNode(m);R&&(R.contain=!!r)},[r]),_a(()=>{var R;let D=(R=c.current)===null||R===void 0?void 0:R.nextSibling,$=[],O=q=>q.stopPropagation();for(;D&&D!==h.current;)$.push(D),D.addEventListener(kD,O),D=D.nextSibling;return m.current=$,()=>{for(let q of $)q.removeEventListener(kD,O)}},[t]),yde(m,l,r),vde(m,r),bde(m,l,r),gde(m,i),j.useEffect(()=>{const R=zo(tr(m.current?m.current[0]:void 0));let D=null;if(Xs(R,m.current)){for(let $ of Ya.traverse())$.scopeRef&&Xs(R,$.scopeRef.current)&&(D=$);D===Ya.getTreeNode(m)&&(Pr=D.scopeRef)}},[m]),_a(()=>()=>{var R,D,$;let O=($=(D=Ya.getTreeNode(m))===null||D===void 0||(R=D.parent)===null||R===void 0?void 0:R.scopeRef)!==null&&$!==void 0?$:null;(m===Pr||HR(m,Pr))&&(!O||Ya.getTreeNode(O))&&(Pr=O),Ya.removeTreeNode(m)},[m]);let S=j.useMemo(()=>hde(m),[]),w=j.useMemo(()=>({focusManager:S,parentNode:x}),[x,S]);return j.createElement(M6.Provider,{value:w},j.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),t,j.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:h}))}function hde(e){return{focusNext(t={}){let r=e.current,{from:l,tabbable:i,wrap:c,accept:h}=t;var m;let y=l||zo(tr((m=r[0])!==null&&m!==void 0?m:void 0)),x=r[0].previousElementSibling,S=Gy(r),w=Ks(S,{tabbable:i,accept:h},r);w.currentNode=Xs(y,r)?y:x;let R=w.nextNode();return!R&&c&&(w.currentNode=x,R=w.nextNode()),R&&Ch(R,!0),R},focusPrevious(t={}){let r=e.current,{from:l,tabbable:i,wrap:c,accept:h}=t;var m;let y=l||zo(tr((m=r[0])!==null&&m!==void 0?m:void 0)),x=r[r.length-1].nextElementSibling,S=Gy(r),w=Ks(S,{tabbable:i,accept:h},r);w.currentNode=Xs(y,r)?y:x;let R=w.previousNode();return!R&&c&&(w.currentNode=x,R=w.previousNode()),R&&Ch(R,!0),R},focusFirst(t={}){let r=e.current,{tabbable:l,accept:i}=t,c=Gy(r),h=Ks(c,{tabbable:l,accept:i},r);h.currentNode=r[0].previousElementSibling;let m=h.nextNode();return m&&Ch(m,!0),m},focusLast(t={}){let r=e.current,{tabbable:l,accept:i}=t,c=Gy(r),h=Ks(c,{tabbable:l,accept:i},r);h.currentNode=r[r.length-1].nextElementSibling;let m=h.previousNode();return m&&Ch(m,!0),m}}}function Gy(e){return e[0].parentElement}function XS(e){let t=Ya.getTreeNode(Pr);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function mde(e){if(e.checked)return!0;let t=[];if(!e.form)t=[...tr(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(c=>!c.form);else{var r,l;let c=(l=e.form)===null||l===void 0||(r=l.elements)===null||r===void 0?void 0:r.namedItem(e.name);t=[...c??[]]}return t?!t.some(c=>c.checked):!1}function vde(e,t){let r=j.useRef(void 0),l=j.useRef(void 0);_a(()=>{let i=e.current;if(!t){l.current&&(cancelAnimationFrame(l.current),l.current=void 0);return}const c=tr(i?i[0]:void 0);let h=x=>{if(x.key!=="Tab"||x.altKey||x.ctrlKey||x.metaKey||!XS(e)||x.isComposing)return;let S=zo(c),w=e.current;if(!w||!Xs(S,w))return;let R=Gy(w),D=Ks(R,{tabbable:!0},w);if(!S)return;D.currentNode=S;let $=x.shiftKey?D.previousNode():D.nextNode();$||(D.currentNode=x.shiftKey?w[w.length-1].nextElementSibling:w[0].previousElementSibling,$=x.shiftKey?D.previousNode():D.nextNode()),x.preventDefault(),$&&Ch($,!0)},m=x=>{(!Pr||HR(Pr,e))&&Xs(Kn(x),e.current)?(Pr=e,r.current=Kn(x)):XS(e)&&!Yy(Kn(x),e)?r.current?r.current.focus():Pr&&Pr.current&&LD(Pr.current):XS(e)&&(r.current=Kn(x))},y=x=>{l.current&&cancelAnimationFrame(l.current),l.current=requestAnimationFrame(()=>{let S=UR(),w=(S==="virtual"||S===null)&&iO()&&oO(),R=zo(c);if(!w&&R&&XS(e)&&!Yy(R,e)){Pr=e;let $=Kn(x);if($&&$.isConnected){var D;r.current=$,(D=r.current)===null||D===void 0||D.focus()}else Pr.current&&LD(Pr.current)}})};return c.addEventListener("keydown",h,!1),c.addEventListener("focusin",m,!1),i?.forEach(x=>x.addEventListener("focusin",m,!1)),i?.forEach(x=>x.addEventListener("focusout",y,!1)),()=>{c.removeEventListener("keydown",h,!1),c.removeEventListener("focusin",m,!1),i?.forEach(x=>x.removeEventListener("focusin",m,!1)),i?.forEach(x=>x.removeEventListener("focusout",y,!1))}},[e,t]),_a(()=>()=>{l.current&&cancelAnimationFrame(l.current)},[l])}function lB(e){return Yy(e)}function Xs(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Yy(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Ya.traverse(Ya.getTreeNode(t)))if(r&&Xs(e,r.current))return!0;return!1}function HR(e,t){var r;let l=(r=Ya.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;l;){if(l.scopeRef===e)return!0;l=l.parent}return!1}function Ch(e,t=!1){if(e!=null&&!t)try{Hs(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function oB(e,t=!0){let r=e[0].previousElementSibling,l=Gy(e),i=Ks(l,{tabbable:t},e);i.currentNode=r;let c=i.nextNode();return t&&!c&&(l=Gy(e),i=Ks(l,{tabbable:!1},e),i.currentNode=r,c=i.nextNode()),c}function LD(e,t=!0){Ch(oB(e,t))}function gde(e,t){const r=j.useRef(t);j.useEffect(()=>{if(r.current){Pr=e;const l=tr(e.current?e.current[0]:void 0);!Xs(zo(l),Pr.current)&&e.current&&LD(e.current)}r.current=!1},[e])}function yde(e,t,r){_a(()=>{if(t||r)return;let l=e.current;const i=tr(l?l[0]:void 0);let c=h=>{let m=Kn(h);Xs(m,e.current)?Pr=e:lB(m)||(Pr=null)};return i.addEventListener("focusin",c,!1),l?.forEach(h=>h.addEventListener("focusin",c,!1)),()=>{i.removeEventListener("focusin",c,!1),l?.forEach(h=>h.removeEventListener("focusin",c,!1))}},[e,t,r])}function O6(e){let t=Ya.getTreeNode(Pr);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function bde(e,t,r){const l=j.useRef(typeof document<"u"?zo(tr(e.current?e.current[0]:void 0)):null);_a(()=>{let i=e.current;const c=tr(i?i[0]:void 0);if(!t||r)return;let h=()=>{(!Pr||HR(Pr,e))&&Xs(zo(c),e.current)&&(Pr=e)};return c.addEventListener("focusin",h,!1),i?.forEach(m=>m.addEventListener("focusin",h,!1)),()=>{c.removeEventListener("focusin",h,!1),i?.forEach(m=>m.removeEventListener("focusin",h,!1))}},[e,r]),_a(()=>{const i=tr(e.current?e.current[0]:void 0);if(!t)return;let c=h=>{if(h.key!=="Tab"||h.altKey||h.ctrlKey||h.metaKey||!XS(e)||h.isComposing)return;let m=i.activeElement;if(!Yy(m,e)||!O6(e))return;let y=Ya.getTreeNode(e);if(!y)return;let x=y.nodeToRestore,S=Ks(i.body,{tabbable:!0});S.currentNode=m;let w=h.shiftKey?S.previousNode():S.nextNode();if((!x||!x.isConnected||x===i.body)&&(x=void 0,y.nodeToRestore=void 0),(!w||!Yy(w,e))&&x){S.currentNode=x;do w=h.shiftKey?S.previousNode():S.nextNode();while(Yy(w,e));h.preventDefault(),h.stopPropagation(),w?Ch(w,!0):lB(x)?Ch(x,!0):m.blur()}};return r||i.addEventListener("keydown",c,!0),()=>{r||i.removeEventListener("keydown",c,!0)}},[e,t,r]),_a(()=>{const i=tr(e.current?e.current[0]:void 0);if(!t)return;let c=Ya.getTreeNode(e);if(c){var h;return c.nodeToRestore=(h=l.current)!==null&&h!==void 0?h:void 0,()=>{let m=Ya.getTreeNode(e);if(!m)return;let y=m.nodeToRestore,x=zo(i);if(t&&y&&(x&&Yy(x,e)||x===i.body&&O6(e))){let S=Ya.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let w=S.getTreeNode(e);for(;w;){if(w.nodeToRestore&&w.nodeToRestore.isConnected){N6(w.nodeToRestore);return}w=w.parent}for(w=S.getTreeNode(e);w;){if(w.scopeRef&&w.scopeRef.current&&Ya.getTreeNode(w.scopeRef)){let R=oB(w.scopeRef.current,!0);N6(R);return}w=w.parent}}})}}}},[e,t])}function N6(e){e.dispatchEvent(new CustomEvent(kD,{bubbles:!0,cancelable:!0}))&&Ch(e)}function Ks(e,t,r){let l=t?.tabbable?Ace:jj,i=e?.nodeType===Node.ELEMENT_NODE?e:null,c=tr(i),h=Yse(c,e||c,NodeFilter.SHOW_ELEMENT,{acceptNode(m){var y;return!(t==null||(y=t.from)===null||y===void 0)&&y.contains(m)||t?.tabbable&&m.tagName==="INPUT"&&m.getAttribute("type")==="radio"&&(!mde(m)||h.currentNode.tagName==="INPUT"&&h.currentNode.type==="radio"&&h.currentNode.name===m.name)?NodeFilter.FILTER_REJECT:l(m)&&(!r||Xs(m,r))&&(!t?.accept||t.accept(m))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(h.currentNode=t.from),h}class gO{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,l){let i=this.fastMap.get(r??null);if(!i)return;let c=new jD({scopeRef:t});i.addChild(c),c.parent=i,this.fastMap.set(t,c),l&&(c.nodeToRestore=l)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let l=r.parent;for(let c of this.traverse())c!==r&&r.nodeToRestore&&c.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Xs(c.nodeToRestore,r.scopeRef.current)&&(c.nodeToRestore=r.nodeToRestore);let i=r.children;l&&(l.removeChild(r),i.size>0&&i.forEach(c=>l&&l.addChild(c))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new gO;var l;for(let i of this.traverse())r.addTreeNode(i.scopeRef,(l=(t=i.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&l!==void 0?l:null,i.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new jD({scopeRef:null}),this.fastMap.set(null,this.root)}}class jD{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Ya=new gO;function VR(e={}){let{autoFocus:t=!1,isTextInput:r,within:l}=e,i=j.useRef({isFocused:!1,isFocusVisible:t||vO()}),[c,h]=j.useState(!1),[m,y]=j.useState(()=>i.current.isFocused&&i.current.isFocusVisible),x=j.useCallback(()=>y(i.current.isFocused&&i.current.isFocusVisible),[]),S=j.useCallback(D=>{i.current.isFocused=D,h(D),x()},[x]);ode(D=>{i.current.isFocusVisible=D,x()},[],{isTextInput:r});let{focusProps:w}=nB({isDisabled:l,onFocusChange:S}),{focusWithinProps:R}=rB({isDisabled:!l,onFocusWithinChange:S});return{isFocused:c,isFocusVisible:m,focusProps:l?R:w}}function xde(e,t){let r=t?.isDisabled,[l,i]=j.useState(!1);return _a(()=>{if(e?.current&&!r){let c=()=>{if(e.current){let m=Ks(e.current,{tabbable:!0});i(!!m.nextNode())}};c();let h=new MutationObserver(c);return h.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{h.disconnect()}}}),r?!1:l}function iB(e){let t=Sde(tr(e));t!==e&&(t&&Ede(t,e),e&&uB(e,t))}function Ede(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function uB(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Sde(e){let t=zo(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}const $6={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function yO(e={}){let{style:t,isFocusable:r}=e,[l,i]=j.useState(!1),{focusWithinProps:c}=rB({isDisabled:!r,onFocusWithinChange:m=>i(m)}),h=j.useMemo(()=>l?t:t?{...$6,...t}:$6,[l]);return{visuallyHiddenProps:{...c,style:h}}}function BD(e){return lce()?e.altKey:e.ctrlKey}function dR(e,t){var r,l;let i=`[data-key="${CSS.escape(String(t))}"]`,c=(r=e.current)===null||r===void 0?void 0:r.dataset.collection;return c&&(i=`[data-collection="${CSS.escape(c)}"]${i}`),(l=e.current)===null||l===void 0?void 0:l.querySelector(i)}const sB=new WeakMap;function wde(e){let t=Dh();return sB.set(e,t),t}function Cde(e){return sB.get(e)}const Rde=1e3;function Tde(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:l}=e,i=j.useRef({search:"",timeout:void 0}).current,c=h=>{let m=Ade(h.key);if(!(!m||h.ctrlKey||h.metaKey||!h.currentTarget.contains(h.target)||i.search.length===0&&m===" ")){if(m===" "&&i.search.trim().length>0&&(h.preventDefault(),"continuePropagation"in h||h.stopPropagation()),i.search+=m,t.getKeyForSearch!=null){let y=t.getKeyForSearch(i.search,r.focusedKey);y==null&&(y=t.getKeyForSearch(i.search)),y!=null&&(r.setFocusedKey(y),l&&l(y))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},Rde)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?c:void 0}}}function Ade(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function _de(e){let{selectionManager:t,keyboardDelegate:r,ref:l,autoFocus:i=!1,shouldFocusWrap:c=!1,disallowEmptySelection:h=!1,disallowSelectAll:m=!1,escapeKeyBehavior:y="clearSelection",selectOnFocus:x=t.selectionBehavior==="replace",disallowTypeAhead:S=!1,shouldUseVirtualFocus:w,allowsTabNavigation:R=!1,isVirtualized:D,scrollRef:$=l,linkBehavior:O="action"}=e,{direction:q}=Iw(),N=uO(),U=W=>{var ee;if(W.altKey&&W.key==="Tab"&&W.preventDefault(),!(!((ee=l.current)===null||ee===void 0)&&ee.contains(W.target)))return;const me=(we,lt)=>{if(we!=null){if(t.isLink(we)&&O==="selection"&&x&&!BD(W)){Hu.flushSync(()=>{t.setFocusedKey(we,lt)});let St=dR(l,we),pn=t.getItemProps(we);St&&N.open(St,W,pn.href,pn.routerOptions);return}if(t.setFocusedKey(we,lt),t.isLink(we)&&O==="override")return;W.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(we):x&&!BD(W)&&t.replaceSelection(we)}};switch(W.key){case"ArrowDown":if(r.getKeyBelow){var Y,be,ie;let we=t.focusedKey!=null?(Y=r.getKeyBelow)===null||Y===void 0?void 0:Y.call(r,t.focusedKey):(be=r.getFirstKey)===null||be===void 0?void 0:be.call(r);we==null&&c&&(we=(ie=r.getFirstKey)===null||ie===void 0?void 0:ie.call(r,t.focusedKey)),we!=null&&(W.preventDefault(),me(we))}break;case"ArrowUp":if(r.getKeyAbove){var fe,_e,$e;let we=t.focusedKey!=null?(fe=r.getKeyAbove)===null||fe===void 0?void 0:fe.call(r,t.focusedKey):(_e=r.getLastKey)===null||_e===void 0?void 0:_e.call(r);we==null&&c&&(we=($e=r.getLastKey)===null||$e===void 0?void 0:$e.call(r,t.focusedKey)),we!=null&&(W.preventDefault(),me(we))}break;case"ArrowLeft":if(r.getKeyLeftOf){var Pe,Re,Ye;let we=t.focusedKey!=null?(Pe=r.getKeyLeftOf)===null||Pe===void 0?void 0:Pe.call(r,t.focusedKey):null;we==null&&c&&(we=q==="rtl"?(Re=r.getFirstKey)===null||Re===void 0?void 0:Re.call(r,t.focusedKey):(Ye=r.getLastKey)===null||Ye===void 0?void 0:Ye.call(r,t.focusedKey)),we!=null&&(W.preventDefault(),me(we,q==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var oe,je,Le;let we=t.focusedKey!=null?(oe=r.getKeyRightOf)===null||oe===void 0?void 0:oe.call(r,t.focusedKey):null;we==null&&c&&(we=q==="rtl"?(je=r.getLastKey)===null||je===void 0?void 0:je.call(r,t.focusedKey):(Le=r.getFirstKey)===null||Le===void 0?void 0:Le.call(r,t.focusedKey)),we!=null&&(W.preventDefault(),me(we,q==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){if(t.focusedKey===null&&W.shiftKey)return;W.preventDefault();let we=r.getFirstKey(t.focusedKey,L0(W));t.setFocusedKey(we),we!=null&&(L0(W)&&W.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(we):x&&t.replaceSelection(we))}break;case"End":if(r.getLastKey){if(t.focusedKey===null&&W.shiftKey)return;W.preventDefault();let we=r.getLastKey(t.focusedKey,L0(W));t.setFocusedKey(we),we!=null&&(L0(W)&&W.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(we):x&&t.replaceSelection(we))}break;case"PageDown":if(r.getKeyPageBelow&&t.focusedKey!=null){let we=r.getKeyPageBelow(t.focusedKey);we!=null&&(W.preventDefault(),me(we))}break;case"PageUp":if(r.getKeyPageAbove&&t.focusedKey!=null){let we=r.getKeyPageAbove(t.focusedKey);we!=null&&(W.preventDefault(),me(we))}break;case"a":L0(W)&&t.selectionMode==="multiple"&&m!==!0&&(W.preventDefault(),t.selectAll());break;case"Escape":y==="clearSelection"&&!h&&t.selectedKeys.size!==0&&(W.stopPropagation(),W.preventDefault(),t.clearSelection());break;case"Tab":if(!R){if(W.shiftKey)l.current.focus();else{let we=Ks(l.current,{tabbable:!0}),lt,St;do St=we.lastChild(),St&&(lt=St);while(St);lt&&!lt.contains(document.activeElement)&&Mh(lt)}break}}},I=j.useRef({top:0,left:0});JC($,"scroll",D?void 0:()=>{var W,ee,me,Y;I.current={top:(me=(W=$.current)===null||W===void 0?void 0:W.scrollTop)!==null&&me!==void 0?me:0,left:(Y=(ee=$.current)===null||ee===void 0?void 0:ee.scrollLeft)!==null&&Y!==void 0?Y:0}});let G=W=>{if(t.isFocused){W.currentTarget.contains(W.target)||t.setFocused(!1);return}if(W.currentTarget.contains(W.target)){if(t.setFocused(!0),t.focusedKey==null){var ee,me;let ie=_e=>{_e!=null&&(t.setFocusedKey(_e),x&&!t.isSelected(_e)&&t.replaceSelection(_e))},fe=W.relatedTarget;var Y,be;fe&&W.currentTarget.compareDocumentPosition(fe)&Node.DOCUMENT_POSITION_FOLLOWING?ie((Y=t.lastSelectedKey)!==null&&Y!==void 0?Y:(ee=r.getLastKey)===null||ee===void 0?void 0:ee.call(r)):ie((be=t.firstSelectedKey)!==null&&be!==void 0?be:(me=r.getFirstKey)===null||me===void 0?void 0:me.call(r))}else!D&&$.current&&($.current.scrollTop=I.current.top,$.current.scrollLeft=I.current.left);if(t.focusedKey!=null&&$.current){let ie=dR(l,t.focusedKey);ie instanceof HTMLElement&&(!ie.contains(document.activeElement)&&!w&&Mh(ie),UR()==="keyboard"&&Lv(ie,{containingElement:l.current}))}}},F=W=>{W.currentTarget.contains(W.relatedTarget)||t.setFocused(!1)},H=j.useRef(!1);JC(l,Ece,w?W=>{let{detail:ee}=W;W.stopPropagation(),t.setFocused(!0),ee?.focusStrategy==="first"&&(H.current=!0)}:void 0);let V=mi(()=>{var W,ee;let me=(ee=(W=r.getFirstKey)===null||W===void 0?void 0:W.call(r))!==null&&ee!==void 0?ee:null;if(me==null){let Y=zo();iB(l.current),uB(Y,null),t.collection.size>0&&(H.current=!1)}else t.setFocusedKey(me),H.current=!1});p6(()=>{H.current&&V()},[t.collection,V]);let X=mi(()=>{t.collection.size>0&&(H.current=!1)});p6(()=>{X()},[t.focusedKey,X]),JC(l,xce,w?W=>{var ee;W.stopPropagation(),t.setFocused(!1),!((ee=W.detail)===null||ee===void 0)&&ee.clearFocusKey&&t.setFocusedKey(null)}:void 0);const le=j.useRef(i),xe=j.useRef(!1);j.useEffect(()=>{if(le.current){var W,ee;let be=null;var me;i==="first"&&(be=(me=(W=r.getFirstKey)===null||W===void 0?void 0:W.call(r))!==null&&me!==void 0?me:null);var Y;i==="last"&&(be=(Y=(ee=r.getLastKey)===null||ee===void 0?void 0:ee.call(r))!==null&&Y!==void 0?Y:null);let ie=t.selectedKeys;if(ie.size){for(let fe of ie)if(t.canSelectItem(fe)){be=fe;break}}t.setFocused(!0),t.setFocusedKey(be),be==null&&!w&&l.current&&Hs(l.current),t.collection.size>0&&(le.current=!1,xe.current=!0)}});let Q=j.useRef(t.focusedKey),ue=j.useRef(null);j.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==Q.current||xe.current)&&$.current&&l.current){let W=UR(),ee=dR(l,t.focusedKey);if(!(ee instanceof HTMLElement))return;(W==="keyboard"||xe.current)&&(ue.current&&cancelAnimationFrame(ue.current),ue.current=requestAnimationFrame(()=>{$.current&&(Lj($.current,ee),W!=="virtual"&&Lv(ee,{containingElement:l.current}))}))}!w&&t.isFocused&&t.focusedKey==null&&Q.current!=null&&l.current&&Hs(l.current),Q.current=t.focusedKey,xe.current=!1}),j.useEffect(()=>()=>{ue.current&&cancelAnimationFrame(ue.current)},[]),JC(l,"react-aria-focus-scope-restore",W=>{W.preventDefault(),t.setFocused(!0)});let se={onKeyDown:U,onFocus:G,onBlur:F,onMouseDown(W){$.current===W.target&&W.preventDefault()}},{typeSelectProps:ae}=Tde({keyboardDelegate:r,selectionManager:t});S||(se=Sl(ae,se));let ge;w||(ge=t.focusedKey==null?0:-1);let L=wde(t.collection);return{collectionProps:Sl(se,{tabIndex:ge,"data-collection":L})}}function Dde(e){let{id:t,selectionManager:r,key:l,ref:i,shouldSelectOnPressUp:c,shouldUseVirtualFocus:h,focus:m,isDisabled:y,onAction:x,allowsDifferentPressOrigin:S,linkBehavior:w="action"}=e,R=uO();t=Dh(t);let D=Y=>{if(Y.pointerType==="keyboard"&&BD(Y))r.toggleSelection(l);else{if(r.selectionMode==="none")return;if(r.isLink(l)){if(w==="selection"&&i.current){let be=r.getItemProps(l);R.open(i.current,Y,be.href,be.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(w==="override"||w==="none")return}r.selectionMode==="single"?r.isSelected(l)&&!r.disallowEmptySelection?r.toggleSelection(l):r.replaceSelection(l):Y&&Y.shiftKey?r.extendSelection(l):r.selectionBehavior==="toggle"||Y&&(L0(Y)||Y.pointerType==="touch"||Y.pointerType==="virtual")?r.toggleSelection(l):r.replaceSelection(l)}};j.useEffect(()=>{l===r.focusedKey&&r.isFocused&&(h?iB(i.current):m?m():document.activeElement!==i.current&&i.current&&Hs(i.current))},[i,l,r.focusedKey,r.childFocusStrategy,r.isFocused,h]),y=y||r.isDisabled(l);let $={};!h&&!y?$={tabIndex:l===r.focusedKey?0:-1,onFocus(Y){Y.target===i.current&&r.setFocusedKey(l)}}:y&&($.onMouseDown=Y=>{Y.preventDefault()});let O=r.isLink(l)&&w==="override",q=x&&e.UNSTABLE_itemBehavior==="action",N=r.isLink(l)&&w!=="selection"&&w!=="none",U=!y&&r.canSelectItem(l)&&!O&&!q,I=(x||N)&&!y,G=I&&(r.selectionBehavior==="replace"?!U:!U||r.isEmpty),F=I&&U&&r.selectionBehavior==="replace",H=G||F,V=j.useRef(null),X=H&&U,le=j.useRef(!1),xe=j.useRef(!1),Q=r.getItemProps(l),ue=Y=>{if(x){var be;x(),(be=i.current)===null||be===void 0||be.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}N&&i.current&&R.open(i.current,Y,Q.href,Q.routerOptions)},se={ref:i};if(c?(se.onPressStart=Y=>{V.current=Y.pointerType,le.current=X,Y.pointerType==="keyboard"&&(!H||q6())&&D(Y)},S?(se.onPressUp=G?void 0:Y=>{Y.pointerType==="mouse"&&U&&D(Y)},se.onPress=G?ue:Y=>{Y.pointerType!=="keyboard"&&Y.pointerType!=="mouse"&&U&&D(Y)}):se.onPress=Y=>{if(G||F&&Y.pointerType!=="mouse"){if(Y.pointerType==="keyboard"&&!P6())return;ue(Y)}else Y.pointerType!=="keyboard"&&U&&D(Y)}):(se.onPressStart=Y=>{V.current=Y.pointerType,le.current=X,xe.current=G,U&&(Y.pointerType==="mouse"&&!G||Y.pointerType==="keyboard"&&(!I||q6()))&&D(Y)},se.onPress=Y=>{(Y.pointerType==="touch"||Y.pointerType==="pen"||Y.pointerType==="virtual"||Y.pointerType==="keyboard"&&H&&P6()||Y.pointerType==="mouse"&&xe.current)&&(H?ue(Y):U&&D(Y))}),$["data-collection"]=Cde(r.collection),$["data-key"]=l,se.preventFocusOnPress=h,h&&(se=Sl(se,{onPressStart(Y){Y.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(l))},onPress(Y){Y.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(l))}})),Q)for(let Y of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])Q[Y]&&(se[Y]=wT(se[Y],Q[Y]));let{pressProps:ae,isPressed:ge}=pO(se),L=F?Y=>{V.current==="mouse"&&(Y.stopPropagation(),Y.preventDefault(),ue(Y))}:void 0,{longPressProps:W}=fde({isDisabled:!X,onLongPress(Y){Y.pointerType==="touch"&&(D(Y),r.setSelectionBehavior("toggle"))}}),ee=Y=>{V.current==="touch"&&le.current&&Y.preventDefault()},me=w!=="none"&&r.isLink(l)?Y=>{ob.isOpening||Y.preventDefault()}:void 0;return{itemProps:Sl($,U||G||h&&!y?ae:{},X?W:{},{onDoubleClick:L,onDragStartCapture:ee,onClick:me,id:t},h?{onMouseDown:Y=>Y.preventDefault()}:void 0),isPressed:ge,isSelected:r.isSelected(l),isFocused:r.isFocused&&r.focusedKey===l,isDisabled:y,allowsSelection:U,hasAction:H}}function P6(){let e=window.event;return e?.key==="Enter"}function q6(){let e=window.event;return e?.key===" "||e?.code==="Space"}class k6{getItemRect(t){let r=this.ref.current;if(!r)return null;let l=t!=null?dR(this.ref,t):null;if(!l)return null;let i=r.getBoundingClientRect(),c=l.getBoundingClientRect();return{x:c.left-i.left-r.clientLeft+r.scrollLeft,y:c.top-i.top-r.clientTop+r.scrollTop,width:c.width,height:c.height}}getContentSize(){let t=this.ref.current;var r,l;return{width:(r=t?.scrollWidth)!==null&&r!==void 0?r:0,height:(l=t?.scrollHeight)!==null&&l!==void 0?l:0}}getVisibleRect(){let t=this.ref.current;var r,l,i,c;return{x:(r=t?.scrollLeft)!==null&&r!==void 0?r:0,y:(l=t?.scrollTop)!==null&&l!==void 0?l:0,width:(i=t?.clientWidth)!==null&&i!==void 0?i:0,height:(c=t?.clientHeight)!==null&&c!==void 0?c:0}}constructor(t){this.ref=t}}class cB{isDisabled(t){var r;return this.disabledBehavior==="all"&&(((r=t.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,r){let l=t;for(;l!=null;){let i=this.collection.getItem(l);if(i?.type==="item"&&!this.isDisabled(i))return l;l=r(l)}return null}getNextKey(t){let r=t;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,l=>this.collection.getKeyAfter(l))}getPreviousKey(t){let r=t;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,l=>this.collection.getKeyBefore(l))}findKey(t,r,l){let i=t,c=this.layoutDelegate.getItemRect(i);if(!c||i==null)return null;let h=c;do{if(i=r(i),i==null)break;c=this.layoutDelegate.getItemRect(i)}while(c&&l(h,c)&&i!=null);return i}isSameRow(t,r){return t.y===r.y||t.x!==r.x}isSameColumn(t,r){return t.x===r.x||t.y!==r.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,r){return r?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,l=>this.layoutDelegate[r](l))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,l=>this.getNextColumn(l,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,l=>this.layoutDelegate[r](l))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,l=>this.getNextColumn(l,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyAfter(r))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(t){let r=this.ref.current,l=this.layoutDelegate.getItemRect(t);if(!l)return null;if(r&&!cw(r))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let c=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>c&&i!=null;)i=this.getKeyAbove(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}else{let c=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>c&&i!=null;)i=this.getKeyAbove(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,l=this.layoutDelegate.getItemRect(t);if(!l)return null;if(r&&!cw(r))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let c=Math.min(this.layoutDelegate.getContentSize().width,l.y-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<c&&i!=null;)i=this.getKeyBelow(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}else{let c=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<c&&i!=null;)i=this.getKeyBelow(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let l=this.collection,i=r||this.getFirstKey();for(;i!=null;){let c=l.getItem(i);if(!c)return null;let h=c.textValue.slice(0,t.length);if(c.textValue&&this.collator.compare(h,t)===0)return i;i=this.getNextKey(i)}return null}constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new k6(r.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new k6(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Mde(e){let{selectionManager:t,collection:r,disabledKeys:l,ref:i,keyboardDelegate:c,layoutDelegate:h}=e,m=Kj({usage:"search",sensitivity:"base"}),y=t.disabledBehavior,x=j.useMemo(()=>c||new cB({collection:r,disabledKeys:l,disabledBehavior:y,ref:i,collator:m,layoutDelegate:h}),[c,h,r,l,i,m,y]),{collectionProps:S}=_de({...e,ref:i,selectionManager:t,keyboardDelegate:x});return{listProps:S}}class Ode{build(t,r){return this.context=r,L6(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:l}=t;if(j.isValidElement(r)&&r.type===j.Fragment)yield*this.iterateCollection({children:r.props.children,items:l});else if(typeof r=="function"){if(!l)throw new Error("props.children was a function but props.items is missing");let i=0;for(let c of l)yield*this.getFullNode({value:c,index:i},{renderer:r}),i++}else{let i=[];j.Children.forEach(r,h=>{h&&i.push(h)});let c=0;for(let h of i){let m=this.getFullNode({element:h,index:c},{});for(let y of m)c++,yield y}}}getKey(t,r,l,i){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${i}${r.key}`;let c=r.value;if(c!=null){var h;let m=(h=c.key)!==null&&h!==void 0?h:c.id;if(m==null)throw new Error("No key found for item");return m}return i?`${i}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,l,i){if(j.isValidElement(t.element)&&t.element.type===j.Fragment){let q=[];j.Children.forEach(t.element.props.children,U=>{q.push(U)});var c;let N=(c=t.index)!==null&&c!==void 0?c:0;for(const U of q)yield*this.getFullNode({element:U,index:N++},r,l,i);return}let h=t.element;if(!h&&t.value&&r&&r.renderer){let q=this.cache.get(t.value);if(q&&(!q.shouldInvalidate||!q.shouldInvalidate(this.context))){q.index=t.index,q.parentKey=i?i.key:null,yield q;return}h=r.renderer(t.value)}if(j.isValidElement(h)){let q=h.type;if(typeof q!="function"&&typeof q.getCollectionNode!="function"){let G=h.type;throw new Error(`Unknown element <${G}> in collection.`)}let N=q.getCollectionNode(h.props,this.context);var m;let U=(m=t.index)!==null&&m!==void 0?m:0,I=N.next();for(;!I.done&&I.value;){let G=I.value;t.index=U;var y;let F=(y=G.key)!==null&&y!==void 0?y:null;F==null&&(F=G.element?null:this.getKey(h,t,r,l));let V=[...this.getFullNode({...G,key:F,index:U,wrapper:Nde(t.wrapper,G.wrapper)},this.getChildState(r,G),l?`${l}${h.key}`:h.key,i)];for(let X of V){var x,S;X.value=(S=(x=G.value)!==null&&x!==void 0?x:t.value)!==null&&S!==void 0?S:null,X.value&&this.cache.set(X.value,X);var w;if(t.type&&X.type!==t.type)throw new Error(`Unsupported type <${N_(X.type)}> in <${N_((w=i?.type)!==null&&w!==void 0?w:"unknown parent type")}>. Only <${N_(t.type)}> is supported.`);U++,yield X}I=N.next(V)}return}if(t.key==null||t.type==null)return;let R=this;var D,$;let O={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:(D=t.value)!==null&&D!==void 0?D:null,level:i?i.level+1:0,index:t.index,rendered:t.rendered,textValue:($=t.textValue)!==null&&$!==void 0?$:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:L6(function*(){if(!t.hasChildNodes||!t.childNodes)return;let q=0;for(let N of t.childNodes()){N.key!=null&&(N.key=`${O.key}${N.key}`);let U=R.getFullNode({...N,index:q},R.getChildState(r,N),O.key,O);for(let I of U)q++,yield I}})};yield O}constructor(){this.cache=new WeakMap}}function L6(e){let t=[],r=null;return{*[Symbol.iterator](){for(let l of t)yield l;r||(r=e());for(let l of r)t.push(l),yield l}}}function Nde(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function N_(e){return e[0].toUpperCase()+e.slice(1)}function $de(e,t,r){let l=j.useMemo(()=>new Ode,[]),{children:i,items:c,collection:h}=e;return j.useMemo(()=>{if(h)return h;let y=l.build({children:i,items:c},r);return t(y)},[l,i,c,h,r,t])}function Pde(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function qde(e){return kde(e)}function kde(e,t){for(let r of e)return r}function $_(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let l=[...j6(e,t),t],i=[...j6(e,r),r],c=l.slice(0,i.length).findIndex((h,m)=>h!==i[m]);return c!==-1?(t=l[c],r=i[c],t.index-r.index):l.findIndex(h=>h===r)>=0?1:(i.findIndex(h=>h===t)>=0,-1)}function j6(e,t){let r=[],l=t;for(;l?.parentKey!=null;)l=e.getItem(l.parentKey),l&&r.unshift(l);return r}class ux{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,l){let i=this.clone();return r.addDescendants(i,t),i}constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}}class dB extends ux{filter(t,r,l){let[i,c]=pB(t,r,this.firstChildKey,l),h=this.clone();return h.firstChildKey=i,h.lastChildKey=c,h}}class Lde extends ux{}Lde.type="header";class fB extends ux{}fB.type="loader";class jde extends dB{filter(t,r,l){if(l(this.textValue,this)){let i=this.clone();return r.addDescendants(i,t),i}return null}}jde.type="item";class Bde extends dB{filter(t,r,l){let i=super.filter(t,r,l);if(i&&i.lastChildKey!==null){let c=t.getItem(i.lastChildKey);if(c&&c.type!=="header")return i}return null}}Bde.type="section";class zde{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let l=r.get(t),i=l?.firstChildKey!=null?r.get(l.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?r.get(i.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var l;return(l=r?.key)!==null&&l!==void 0?l:null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);var r;return(r=t?.key)!==null&&r!==void 0?r:null}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,r){this.addNode(t);let l=r.getChildren(t.key);for(let i of l)this.addDescendants(i,r)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,r,l=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!l}filter(t){let r=new this.constructor,[l,i]=pB(this,r,this.firstKey,t);return r?.commit(l,i),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function pB(e,t,r,l){if(r==null)return[null,null];let i=null,c=null,h=e.getItem(r);for(;h!=null;){let x=h.filter(e,t,l);x!=null&&(x.nextKey=null,c&&(x.prevKey=c.key,c.nextKey=x.key),i==null&&(i=x),t.addNode(x),c=x),h=h.nextKey?e.getItem(h.nextKey):null}if(c&&c.type==="separator"){let x=c.prevKey;t.removeNode(c.key),x?(c=t.getItem(x),c.nextKey=null):c=null}var m,y;return[(m=i?.key)!==null&&m!==void 0?m:null,(y=c?.key)!==null&&y!==void 0?y:null]}class hB{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}}class V0 extends hB{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){var t;return this.parentNode instanceof V0?this.parentNode.level+(((t=this.node)===null||t===void 0?void 0:t.type)==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){var t,r,l,i,c,h,m,y;let x=this.nextVisibleSibling,S=this.getMutableNode();if(S!=null){S.index=this.index,S.level=this.level;var w;S.parentKey=this.parentNode instanceof V0&&(w=(t=this.parentNode.node)===null||t===void 0?void 0:t.key)!==null&&w!==void 0?w:null;var R;S.prevKey=(R=(l=this.previousVisibleSibling)===null||l===void 0||(r=l.node)===null||r===void 0?void 0:r.key)!==null&&R!==void 0?R:null;var D;S.nextKey=(D=x==null||(i=x.node)===null||i===void 0?void 0:i.key)!==null&&D!==void 0?D:null,S.hasChildNodes=!!this.firstChild;var $;S.firstChildKey=($=(h=this.firstVisibleChild)===null||h===void 0||(c=h.node)===null||c===void 0?void 0:c.key)!==null&&$!==void 0?$:null;var O;if(S.lastChildKey=(O=(y=this.lastVisibleChild)===null||y===void 0||(m=y.node)===null||m===void 0?void 0:m.key)!==null&&O!==void 0?O:null,(S.colSpan!=null||S.colIndex!=null)&&x){var q,N;let U=((q=S.colIndex)!==null&&q!==void 0?q:S.index)+((N=S.colSpan)!==null&&N!==void 0?N:1);if(x.node!=null&&U!==x.node.colIndex){let I=x.getMutableNode();I.colIndex=U}}}}setProps(t,r,l,i,c){let h,{value:m,textValue:y,id:x,...S}=t;if(this.node==null?(h=new l(x??`react-aria-${++this.ownerDocument.nodeId}`),this.node=h):h=this.getMutableNode(),S.ref=r,h.props=S,h.rendered=i,h.render=c,h.value=m,h.textValue=y||(typeof S.children=="string"?S.children:"")||t["aria-label"]||"",x!=null&&x!==h.key)throw new Error("Cannot change the id of an item");S.colSpan!=null&&(h.colSpan=S.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(r){let l=r==="none";if(t.isHidden!==l){var i,c;(((i=t.parentNode)===null||i===void 0?void 0:i.firstVisibleChild)===t||((c=t.parentNode)===null||c===void 0?void 0:c.lastVisibleChild)===t)&&t.ownerDocument.markDirty(t.parentNode);let h=t.previousVisibleSibling,m=t.nextVisibleSibling;h&&t.ownerDocument.markDirty(h),m&&t.ownerDocument.markDirty(m),t.isHidden=l,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}}class Ude extends hB{get isConnected(){return!0}createElement(t){return new V0(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let l of t)this.addNode(l);r.addNode(t.node)}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let m of this.dirtyNodes)m instanceof V0&&(!m.isConnected||m.isHidden)?this.removeNode(m):m.updateChildIndices();for(let m of this.dirtyNodes)m instanceof V0?(m.isConnected&&!m.isHidden&&(m.updateNode(),this.addNode(m)),m.node&&this.dirtyNodes.delete(m),m.isMutated=!1):this.dirtyNodes.delete(m);if(this.nextCollection){var t,r,l,i,c,h;this.nextCollection.commit((c=(r=this.firstVisibleChild)===null||r===void 0||(t=r.node)===null||t===void 0?void 0:t.key)!==null&&c!==void 0?c:null,(h=(i=this.lastVisibleChild)===null||i===void 0||(l=i.node)===null||l===void 0?void 0:l.key)!==null&&h!==void 0?h:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}}function bO(e){let{children:t,items:r,idScope:l,addIdAndValue:i,dependencies:c=[]}=e,h=j.useMemo(()=>new WeakMap,c);return j.useMemo(()=>{if(r&&typeof t=="function"){let x=[];for(let S of r){let w=h.get(S);if(!w){w=t(S);var m,y;let R=(y=(m=w.props.id)!==null&&m!==void 0?m:S.key)!==null&&y!==void 0?y:S.id;if(R==null)throw new Error("Could not determine key for item");l&&(R=l+":"+R),w=j.cloneElement(w,i?{key:R,id:R,value:S}:{key:R}),h.set(S,w)}x.push(w)}return x}else if(typeof t!="function")return t},[t,r,h,l,i])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const zD=j.createContext(!1);function Ide(e){if(j.useContext(zD))return j.createElement(j.Fragment,null,e.children);let r=j.createElement(zD.Provider,{value:!0},e.children);return j.createElement("template",{"data-react-aria-hidden":!0},r)}function Hde(e){let t=(r,l)=>j.useContext(zD)?null:e(r,l);return t.displayName=e.displayName||e.name,j.forwardRef(t)}var rR={exports:{}},P_={};var B6;function Vde(){if(B6)return P_;B6=1;var e=j;function t(w,R){return w===R&&(w!==0||1/w===1/R)||w!==w&&R!==R}var r=typeof Object.is=="function"?Object.is:t,l=e.useState,i=e.useEffect,c=e.useLayoutEffect,h=e.useDebugValue;function m(w,R){var D=R(),$=l({inst:{value:D,getSnapshot:R}}),O=$[0].inst,q=$[1];return c(function(){O.value=D,O.getSnapshot=R,y(O)&&q({inst:O})},[w,D,R]),i(function(){return y(O)&&q({inst:O}),w(function(){y(O)&&q({inst:O})})},[w]),h(D),D}function y(w){var R=w.getSnapshot;w=w.value;try{var D=R();return!r(w,D)}catch{return!0}}function x(w,R){return R()}var S=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?x:m;return P_.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:S,P_}var q_={};var z6;function Fde(){return z6||(z6=1,process.env.NODE_ENV!=="production"&&(function(){function e(D,$){return D===$&&(D!==0||1/D===1/$)||D!==D&&$!==$}function t(D,$){S||i.startTransition===void 0||(S=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var O=$();if(!w){var q=$();c(O,q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),w=!0)}q=h({inst:{value:O,getSnapshot:$}});var N=q[0].inst,U=q[1];return y(function(){N.value=O,N.getSnapshot=$,r(N)&&U({inst:N})},[D,O,$]),m(function(){return r(N)&&U({inst:N}),D(function(){r(N)&&U({inst:N})})},[D]),x(O),O}function r(D){var $=D.getSnapshot;D=D.value;try{var O=$();return!c(D,O)}catch{return!0}}function l(D,$){return $()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=j,c=typeof Object.is=="function"?Object.is:e,h=i.useState,m=i.useEffect,y=i.useLayoutEffect,x=i.useDebugValue,S=!1,w=!1,R=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:t;q_.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:R,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),q_}var U6;function Kde(){return U6||(U6=1,process.env.NODE_ENV==="production"?rR.exports=Vde():rR.exports=Fde()),rR.exports}var Gde=Kde();const mB=j.createContext(!1),fw=j.createContext(null);function Yde(e){if(j.useContext(fw))return e.content;let{collection:r,document:l}=Zde(e.createCollection);return j.createElement(j.Fragment,null,j.createElement(Ide,null,j.createElement(fw.Provider,{value:l},e.content)),j.createElement(Xde,{render:e.children,collection:r}))}function Xde({collection:e,render:t}){return t(e)}function Wde(e,t,r){let l=Uw(),i=j.useRef(l);i.current=l;let c=j.useCallback(()=>i.current?r():t(),[t,r]);return Gde.useSyncExternalStore(e,c)}const Qde=typeof j.useSyncExternalStore=="function"?j.useSyncExternalStore:Wde;function Zde(e){let[t]=j.useState(()=>new Ude(e?.()||new zde)),r=j.useCallback(h=>t.subscribe(h),[t]),l=j.useCallback(()=>{let h=t.getCollection();return t.isSSR&&t.resetAfterSSR(),h},[t]),i=j.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Qde(r,l,i),document:t}}const UD=j.createContext(null);function Jde(e){var t;return t=class extends ux{},t.type=e,t}function vB(e,t,r,l,i,c){typeof e=="string"&&(e=Jde(e));let h=j.useCallback(y=>{y?.setProps(t,r,e,l,c)},[t,r,l,c,e]),m=j.useContext(UD);if(m){let y=m.ownerDocument.nodesByProps.get(t);return y||(y=m.ownerDocument.createElement(e.type),y.setProps(t,r,e,l,c),m.appendChild(y),m.ownerDocument.updateCollection(),m.ownerDocument.nodesByProps.set(t,y)),i?j.createElement(UD.Provider,{value:y},i):null}return j.createElement(e.type,{ref:h},i)}function gB(e,t){let r=({node:i})=>t(i.props,i.props.ref,i),l=j.forwardRef((i,c)=>{let h=j.useContext(PD);if(!j.useContext(mB)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,c)}return vB(e,i,c,"children"in i?i.children:null,null,y=>j.createElement(PD.Provider,{value:h},j.createElement(r,{node:y})))});return l.displayName=t.name,l}function efe(e,t,r=yB){let l=({node:c})=>t(c.props,c.props.ref,c),i=j.forwardRef((c,h)=>{let m=r(c);var y;return(y=vB(e,c,h,null,m,x=>j.createElement(l,{node:x})))!==null&&y!==void 0?y:j.createElement(j.Fragment,null)});return i.displayName=t.name,i}function yB(e){return bO({...e,addIdAndValue:!0})}const I6=j.createContext(null);function xO(e){let t=j.useContext(I6),r=(t?.dependencies||[]).concat(e.dependencies),l=e.idScope||t?.idScope,i=yB({...e,idScope:l,dependencies:r});return j.useContext(fw)&&(i=j.createElement(tfe,null,i)),t=j.useMemo(()=>({dependencies:r,idScope:l}),[l,...r]),j.createElement(I6.Provider,{value:t},i)}function tfe({children:e}){let t=j.useContext(fw),r=j.useMemo(()=>j.createElement(fw.Provider,{value:null},j.createElement(mB.Provider,{value:!0},e)),[e]);return Uw()?j.createElement(UD.Provider,{value:t},r):Hu.createPortal(r,t)}const bB={CollectionRoot({collection:e,renderDropIndicator:t}){return H6(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return H6(e,t,r)}};function H6(e,t,r){return bO({items:t?e.getChildren(t.key):e,dependencies:[r],children(l){let i=l.render(l);return!r||l.type!=="item"?i:j.createElement(j.Fragment,null,r({type:"item",key:l.key,dropPosition:"before"}),i,nfe(e,l,r))}})}function nfe(e,t,r){let l=t.key,i=e.getKeyAfter(l),c=i!=null?e.getItem(i):null;for(;c!=null&&c.type!=="item";)i=e.getKeyAfter(c.key),c=i!=null?e.getItem(i):null;let h=t.nextKey!=null?e.getItem(t.nextKey):null;for(;h!=null&&h.type!=="item";)h=h.nextKey!=null?e.getItem(h.nextKey):null;let m=[];if(h==null){let y=t;for(;y&&(!c||y.parentKey!==c.parentKey&&c.level<y.level);){let x=r({type:"item",key:y.key,dropPosition:"after"});j.isValidElement(x)&&m.push(j.cloneElement(x,{key:`${y.key}-after`})),y=y.parentKey!=null?e.getItem(y.parentKey):null}}return m}const EO=j.createContext(bB);function rfe(e,t){let{elementType:r="button",isDisabled:l,onPress:i,onPressStart:c,onPressEnd:h,onPressUp:m,onPressChange:y,preventFocusOnPress:x,allowFocusWhenDisabled:S,onClick:w,href:R,target:D,rel:$,type:O="button"}=e,q;r==="button"?q={type:O,disabled:l,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:q={role:"button",href:r==="a"&&!l?R:void 0,target:r==="a"?D:void 0,type:r==="input"?O:void 0,disabled:r==="input"?l:void 0,"aria-disabled":!l||r==="input"?void 0:l,rel:r==="a"?$:void 0};let{pressProps:N,isPressed:U}=pO({onPressStart:c,onPressEnd:h,onPressChange:y,onPress:i,onPressUp:m,onClick:w,isDisabled:l,preventFocusOnPress:x,ref:t}),{focusableProps:I}=sde(e,t);S&&(I.tabIndex=l?-1:I.tabIndex);let G=Sl(I,N,ox(e,{labelable:!0}));return{isPressed:U,buttonProps:Sl(q,G,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}const SO=new WeakMap;function ID(e,t){var r;let{id:l}=(r=SO.get(e))!==null&&r!==void 0?r:{};if(!l)throw new Error("Unknown list");return`${l}-${afe(t)}`}function afe(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var xB={};xB={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var EB={};EB={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var SB={};SB={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var wB={};wB={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var CB={};CB={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var RB={};RB={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var TB={};TB={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var AB={};AB={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var _B={};_B={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var DB={};DB={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var MB={};MB={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var OB={};OB={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var NB={};NB={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var $B={};$B={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var PB={};PB={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var qB={};qB={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var kB={};kB={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var LB={};LB={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var jB={};jB={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var BB={};BB={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var zB={};zB={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var UB={};UB={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var IB={};IB={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var HB={};HB={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var VB={};VB={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var FB={};FB={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var KB={};KB={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var GB={};GB={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var YB={};YB={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var XB={};XB={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var WB={};WB={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var QB={};QB={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var ZB={};ZB={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var JB={};JB={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var MT={};MT={"ar-AE":xB,"bg-BG":EB,"cs-CZ":SB,"da-DK":wB,"de-DE":CB,"el-GR":RB,"en-US":TB,"es-ES":AB,"et-EE":_B,"fi-FI":DB,"fr-FR":MB,"he-IL":OB,"hr-HR":NB,"hu-HU":$B,"it-IT":PB,"ja-JP":qB,"ko-KR":kB,"lt-LT":LB,"lv-LV":jB,"nb-NO":BB,"nl-NL":zB,"pl-PL":UB,"pt-BR":IB,"pt-PT":HB,"ro-RO":VB,"ru-RU":FB,"sk-SK":KB,"sl-SI":GB,"sr-SP":YB,"sv-SE":XB,"tr-TR":WB,"uk-UA":QB,"zh-CN":ZB,"zh-TW":JB};function lfe(e){return e&&e.__esModule?e.default:e}function ofe(e,t){let{getRowText:r=m=>{var y,x,S,w;return(w=(y=(x=t.collection).getTextValue)===null||y===void 0?void 0:y.call(x,m))!==null&&w!==void 0?w:(S=t.collection.getItem(m))===null||S===void 0?void 0:S.textValue}}=e,l=DT(lfe(MT),"@react-aria/grid"),i=t.selectionManager.rawSelection,c=j.useRef(i),h=mi(()=>{var m;if(!t.selectionManager.isFocused||i===c.current){c.current=i;return}let y=V6(i,c.current),x=V6(c.current,i),S=t.selectionManager.selectionBehavior==="replace",w=[];if(t.selectionManager.selectedKeys.size===1&&S){let R=t.selectionManager.selectedKeys.keys().next().value;if(R!=null&&t.collection.getItem(R)){let D=r(R);D&&w.push(l.format("selectedItem",{item:D}))}}else if(y.size===1&&x.size===0){let R=y.keys().next().value;if(R!=null){let D=r(R);D&&w.push(l.format("selectedItem",{item:D}))}}else if(x.size===1&&y.size===0){let R=x.keys().next().value;if(R!=null&&t.collection.getItem(R)){let D=r(R);D&&w.push(l.format("deselectedItem",{item:D}))}}t.selectionManager.selectionMode==="multiple"&&(w.length===0||i==="all"||i.size>1||c.current==="all"||((m=c.current)===null||m===void 0?void 0:m.size)>1)&&w.push(i==="all"?l.format("selectedAll"):l.format("selectedCount",{count:i.size})),w.length>0&&MD(w.join(" ")),c.current=i});hce(()=>{if(t.selectionManager.isFocused)h();else{let m=requestAnimationFrame(h);return()=>cancelAnimationFrame(m)}},[i,t.selectionManager.isFocused])}function V6(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let l of e.keys())t.has(l)||r.add(l);return r}function ife(e){return e&&e.__esModule?e.default:e}function ufe(e){let t=DT(ife(MT),"@react-aria/grid"),r=rde(),l=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,i=j.useMemo(()=>{let h=e.selectionManager.selectionMode,m=e.selectionManager.selectionBehavior,y;return l&&(y=t.format("longPressToSelect")),m==="replace"&&h!=="none"&&e.hasItemActions?y:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,l]);return kj(i)}function sfe(e){return e&&e.__esModule?e.default:e}function cfe(e,t){let{key:r}=e,l=t.selectionManager,i=Dh(),c=!t.selectionManager.canSelectItem(r),h=t.selectionManager.isSelected(r),m=()=>l.toggleSelection(r);const y=DT(sfe(MT),"@react-aria/grid");return{checkboxProps:{id:i,"aria-label":y.format("select"),isSelected:h,isDisabled:c,onChange:m}}}function dfe(e,t,r){let{isVirtualized:l,keyboardDelegate:i,layoutDelegate:c,onAction:h,disallowTypeAhead:m,linkBehavior:y="action",keyboardNavigationBehavior:x="arrow",escapeKeyBehavior:S="clearSelection",shouldSelectOnPressUp:w}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:R}=Mde({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:i,layoutDelegate:c,isVirtualized:l,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:y,disallowTypeAhead:m,autoFocus:e.autoFocus,escapeKeyBehavior:S}),D=Dh(e.id);SO.set(t,{id:D,onAction:h,linkBehavior:y,keyboardNavigationBehavior:x,shouldSelectOnPressUp:w});let $=ufe({selectionManager:t.selectionManager,hasItemActions:!!h}),O=xde(r,{isDisabled:t.collection.size!==0}),q=ox(e,{labelable:!0}),N=Sl(q,{role:"grid",id:D,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:O?-1:0}:R,$);return l&&(N["aria-rowcount"]=t.collection.size,N["aria-colcount"]=1),ofe({},t),{gridProps:N}}const F6={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function ffe(e,t,r){var l,i;let{node:c,isVirtualized:h}=e,{direction:m}=Iw(),{onAction:y,linkBehavior:x,keyboardNavigationBehavior:S,shouldSelectOnPressUp:w}=SO.get(t),R=Hse(),D=j.useRef(null),$=()=>{var ge;r.current!==null&&(D.current!=null&&c.key!==D.current||!(!((ge=r.current)===null||ge===void 0)&&ge.contains(document.activeElement)))&&Hs(r.current)},O={},q=e.hasChildItems,N=t.selectionManager.isLink(c.key);if(c!=null&&"expandedKeys"in t){var U,I;let ge=(U=(I=t.collection).getChildren)===null||U===void 0?void 0:U.call(I,c.key);q=q||[...ge??[]].length>1,y==null&&!N&&t.selectionManager.selectionMode==="none"&&q&&(y=()=>t.toggleKey(c.key));let L=q?t.expandedKeys.has(c.key):void 0,W=1;if(c.level>0&&c?.parentKey!=null){let ee=t.collection.getItem(c.parentKey);if(ee){var G,F;W=[...(G=(F=t.collection).getChildren)===null||G===void 0?void 0:G.call(F,ee.key)].filter(Y=>Y.type==="item").length}}else W=[...t.collection].filter(ee=>ee.level===0&&ee.type==="item").length;O={"aria-expanded":L,"aria-level":c.level+1,"aria-posinset":c?.index+1,"aria-setsize":W}}let{itemProps:H,...V}=Dde({selectionManager:t.selectionManager,key:c.key,ref:r,isVirtualized:h,shouldSelectOnPressUp:e.shouldSelectOnPressUp||w,onAction:y||!((l=c.props)===null||l===void 0)&&l.onAction?wT((i=c.props)===null||i===void 0?void 0:i.onAction,y?()=>y(c.key):void 0):void 0,focus:$,linkBehavior:x}),X=ge=>{if(!ge.currentTarget.contains(ge.target)||!r.current||!document.activeElement)return;let L=Ks(r.current);if(L.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===r.current){if(ge.key===F6.expand[m]&&t.selectionManager.focusedKey===c.key&&q&&!t.expandedKeys.has(c.key)){t.toggleKey(c.key),ge.stopPropagation();return}else if(ge.key===F6.collapse[m]&&t.selectionManager.focusedKey===c.key&&q&&t.expandedKeys.has(c.key)){t.toggleKey(c.key),ge.stopPropagation();return}}switch(ge.key){case"ArrowLeft":if(S==="arrow"){let ee=m==="rtl"?L.nextNode():L.previousNode();if(ee)ge.preventDefault(),ge.stopPropagation(),Hs(ee),Lv(ee,{containingElement:Vy(r.current)});else if(ge.preventDefault(),ge.stopPropagation(),m==="rtl")Hs(r.current),Lv(r.current,{containingElement:Vy(r.current)});else{L.currentNode=r.current;let me=K6(L);me&&(Hs(me),Lv(me,{containingElement:Vy(r.current)}))}}break;case"ArrowRight":if(S==="arrow"){let ee=m==="rtl"?L.previousNode():L.nextNode();if(ee)ge.preventDefault(),ge.stopPropagation(),Hs(ee),Lv(ee,{containingElement:Vy(r.current)});else if(ge.preventDefault(),ge.stopPropagation(),m==="ltr")Hs(r.current),Lv(r.current,{containingElement:Vy(r.current)});else{L.currentNode=r.current;let me=K6(L);me&&(Hs(me),Lv(me,{containingElement:Vy(r.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!ge.altKey&&r.current.contains(ge.target)){var W;ge.stopPropagation(),ge.preventDefault(),(W=r.current.parentElement)===null||W===void 0||W.dispatchEvent(new KeyboardEvent(ge.nativeEvent.type,ge.nativeEvent))}break}},le=ge=>{if(D.current=c.key,ge.target!==r.current){vO()||t.selectionManager.setFocusedKey(c.key);return}},xe=ge=>{if(!(!ge.currentTarget.contains(ge.target)||!r.current||!document.activeElement))switch(ge.key){case"Tab":if(S==="tab"){let L=Ks(r.current,{tabbable:!0});L.currentNode=document.activeElement,(ge.shiftKey?L.previousNode():L.nextNode())&&ge.stopPropagation()}}},Q=dce(c.props),ue=V.hasAction?Q:{},se=Sl(H,ue,{role:"row",onKeyDownCapture:X,onKeyDown:xe,onFocus:le,"aria-label":c.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(c.key)?t.selectionManager.isSelected(c.key):void 0,"aria-disabled":t.selectionManager.isDisabled(c.key)||void 0,"aria-labelledby":R&&c.textValue?`${ID(t,c.key)} ${R}`:void 0,id:ID(t,c.key)});if(h){let{collection:ge}=t,L=[...ge];se["aria-rowindex"]=L.find(W=>W.type==="section")?[...ge.getKeys()].filter(W=>{var ee;return((ee=ge.getItem(W))===null||ee===void 0?void 0:ee.type)!=="section"}).findIndex(W=>W===c.key)+1:c.index+1}let ae={role:"gridcell","aria-colindex":1};return{rowProps:{...Sl(se,O)},gridCellProps:ae,descriptionProps:{id:R},...V}}function K6(e){let t=null,r=null;do r=e.lastChild(),r&&(t=r);while(r);return t}function pfe(e,t){let{key:r}=e;const{checkboxProps:l}=cfe(e,t);return{checkboxProps:{...l,"aria-labelledby":`${l.id} ${ID(t,r)}`}}}function hfe(e,t,r){let{gridProps:l}=dfe(e,t,r);return l.role="treegrid",{gridProps:l}}var e9={};e9={collapse:"طي",expand:"تمديد"};var t9={};t9={collapse:"Свиване",expand:"Разширяване"};var n9={};n9={collapse:"Sbalit",expand:"Roztáhnout"};var r9={};r9={collapse:"Skjul",expand:"Udvid"};var a9={};a9={collapse:"Reduzieren",expand:"Erweitern"};var l9={};l9={collapse:"Σύμπτυξη",expand:"Ανάπτυξη"};var o9={};o9={expand:"Expand",collapse:"Collapse"};var i9={};i9={collapse:"Contraer",expand:"Ampliar"};var u9={};u9={collapse:"Ahenda",expand:"Laienda"};var s9={};s9={collapse:"Pienennä",expand:"Laajenna"};var c9={};c9={collapse:"Réduire",expand:"Développer"};var d9={};d9={collapse:"כווץ",expand:"הרחב"};var f9={};f9={collapse:"Sažmi",expand:"Proširi"};var p9={};p9={collapse:"Összecsukás",expand:"Kibontás"};var h9={};h9={collapse:"Comprimi",expand:"Espandi"};var m9={};m9={collapse:"折りたたむ",expand:"展開"};var v9={};v9={collapse:"접기",expand:"펼치기"};var g9={};g9={collapse:"Sutraukti",expand:"Išskleisti"};var y9={};y9={collapse:"Sakļaut",expand:"Izvērst"};var b9={};b9={collapse:"Skjul",expand:"Utvid"};var x9={};x9={collapse:"Samenvouwen",expand:"Uitvouwen"};var E9={};E9={collapse:"Zwiń",expand:"Rozwiń"};var S9={};S9={collapse:"Recolher",expand:"Expandir"};var w9={};w9={collapse:"Colapsar",expand:"Expandir"};var C9={};C9={collapse:"Restrângeți",expand:"Extindeți"};var R9={};R9={collapse:"Свернуть",expand:"Развернуть"};var T9={};T9={collapse:"Zbaliť",expand:"Rozbaliť"};var A9={};A9={collapse:"Strni",expand:"Razširi"};var _9={};_9={collapse:" Skupi",expand:"Proširi"};var D9={};D9={collapse:"Dölj",expand:"Expandera"};var M9={};M9={collapse:"Daralt",expand:"Genişlet"};var O9={};O9={collapse:"Згорнути",expand:"Розгорнути"};var N9={};N9={collapse:"折叠",expand:"扩展"};var $9={};$9={collapse:"收合",expand:"展開"};var P9={};P9={"ar-AE":e9,"bg-BG":t9,"cs-CZ":n9,"da-DK":r9,"de-DE":a9,"el-GR":l9,"en-US":o9,"es-ES":i9,"et-EE":u9,"fi-FI":s9,"fr-FR":c9,"he-IL":d9,"hr-HR":f9,"hu-HU":p9,"it-IT":h9,"ja-JP":m9,"ko-KR":v9,"lt-LT":g9,"lv-LV":y9,"nb-NO":b9,"nl-NL":x9,"pl-PL":E9,"pt-BR":S9,"pt-PT":w9,"ro-RO":C9,"ru-RU":R9,"sk-SK":T9,"sl-SI":A9,"sr-SP":_9,"sv-SE":D9,"tr-TR":M9,"uk-UA":O9,"zh-CN":N9,"zh-TW":$9};function mfe(e){return e&&e.__esModule?e.default:e}function q9(e,t,r){let{node:l}=e,i=ffe(e,t,r),c=i.rowProps["aria-expanded"]===!0,h=DT(mfe(P9),"@react-aria/tree"),m=pce({"aria-label":c?h.format("collapse"):h.format("expand"),"aria-labelledby":i.rowProps.id}),y={onPress:()=>{i.isDisabled||(t.toggleKey(l.key),t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(l.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...m};return{...i,expandButtonProps:y}}const vfe=j.createContext(null),k9=j.createContext({}),gfe=Hde(function(t,r){[t,r]=Hj(t,r,k9);let l=t,{isPending:i}=l,{buttonProps:c,isPressed:h}=rfe(t,r);c=yfe(c,i);let{focusProps:m,isFocused:y,isFocusVisible:x}=VR(t),{hoverProps:S,isHovered:w}=aB({...t,isDisabled:t.isDisabled||i}),R={isHovered:w,isPressed:(l.isPressed||h)&&!i,isFocused:y,isFocusVisible:x,isDisabled:t.isDisabled||!1,isPending:i??!1},D=ix({...t,values:R,defaultClassName:"react-aria-Button"}),$=Dh(c.id),O=Dh(),q=c["aria-labelledby"];i&&(q?q=`${q} ${O}`:c["aria-label"]&&(q=`${$} ${O}`));let N=j.useRef(i);j.useEffect(()=>{let I={"aria-labelledby":q||$};(!N.current&&y&&i||N.current&&y&&!i)&&MD(I,"assertive"),N.current=i},[i,y,q,$]);let U=ox(t,{global:!0});return delete U.onClick,j.createElement("button",{...Sl(U,D,c,m,S),type:c.type==="submit"&&i?"button":c.type,id:$,ref:r,"aria-labelledby":q,slot:t.slot||void 0,"aria-disabled":i?"true":c["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":R.isPressed||void 0,"data-hovered":w||void 0,"data-focused":y||void 0,"data-pending":i||void 0,"data-focus-visible":x||void 0},j.createElement(vfe.Provider,{value:{id:O}},D.children))});function yfe(e,t){if(t){for(const r in e)r.startsWith("on")&&!(r.includes("Focus")||r.includes("Blur"))&&(e[r]=void 0);e.href=void 0,e.target=void 0}return e}class ed extends Set{constructor(t,r,l){super(t),t instanceof ed?(this.anchorKey=r??t.anchorKey,this.currentKey=l??t.currentKey):(this.anchorKey=r??null,this.currentKey=l??null)}}function bfe(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function xfe(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:l,selectionBehavior:i="toggle",disabledBehavior:c="all"}=e,h=j.useRef(!1),[,m]=j.useState(!1),y=j.useRef(null),x=j.useRef(null),[,S]=j.useState(null),w=j.useMemo(()=>G6(e.selectedKeys),[e.selectedKeys]),R=j.useMemo(()=>G6(e.defaultSelectedKeys,new ed),[e.defaultSelectedKeys]),[D,$]=dO(w,R,e.onSelectionChange),O=j.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[q,N]=j.useState(i);i==="replace"&&q==="toggle"&&typeof D=="object"&&D.size===0&&N("replace");let U=j.useRef(i);return j.useEffect(()=>{i!==U.current&&(N(i),U.current=i)},[i]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:q,setSelectionBehavior:N,get isFocused(){return h.current},setFocused(I){h.current=I,m(I)},get focusedKey(){return y.current},get childFocusStrategy(){return x.current},setFocusedKey(I,G="first"){y.current=I,x.current=G,S(I)},selectedKeys:D,setSelectedKeys(I){(l||!bfe(I,D))&&$(I)},disabledKeys:O,disabledBehavior:c}}function G6(e,t){return e?e==="all"?"all":new ed(e):t}class wO{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let r=this.getKey(t);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(l=>r.has(l)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let l of this.state.selectedKeys){let i=this.collection.getItem(l);(!t||i&&$_(this.collection,i,t)<0)&&(t=i)}var r;return(r=t?.key)!==null&&r!==void 0?r:null}get lastSelectedKey(){let t=null;for(let l of this.state.selectedKeys){let i=this.collection.getItem(l);(!t||i&&$_(this.collection,i,t)>0)&&(t=i)}var r;return(r=t?.key)!==null&&r!==void 0?r:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let l;if(this.state.selectedKeys==="all")l=new ed([r],r,r);else{let h=this.state.selectedKeys;var i;let m=(i=h.anchorKey)!==null&&i!==void 0?i:r;l=new ed(h,m,r);var c;for(let y of this.getKeyRange(m,(c=h.currentKey)!==null&&c!==void 0?c:r))l.delete(y);for(let y of this.getKeyRange(r,m))this.canSelectItem(y)&&l.add(y)}this.state.setSelectedKeys(l)}getKeyRange(t,r){let l=this.collection.getItem(t),i=this.collection.getItem(r);return l&&i?$_(this.collection,l,i)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){var l;if(!((l=this.layoutDelegate)===null||l===void 0)&&l.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let i=[],c=t;for(;c!=null;){let h=this.collection.getItem(c);if(h&&(h.type==="item"||h.type==="cell"&&this.allowsCellSelection)&&i.push(c),c===r)return i;c=this.collection.getKeyAfter(c)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let l=new ed(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);l.has(r)?l.delete(r):this.canSelectItem(r)&&(l.add(r),l.anchorKey=r,l.currentKey=r),!(this.disallowEmptySelection&&l.size===0)&&this.state.setSelectedKeys(l)}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let l=this.canSelectItem(r)?new ed([r],r,r):new ed;this.state.setSelectedKeys(l)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new ed;for(let l of t){let i=this.getKey(l);if(i!=null&&(r.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=l=>{for(;l!=null;){if(this.canSelectItem(l)){var i;let h=this.collection.getItem(l);h?.type==="item"&&t.push(l);var c;h?.hasChildNodes&&(this.allowsCellSelection||h.type!=="item")&&r((c=(i=qde(Pde(h,this.collection)))===null||i===void 0?void 0:i.key)!==null&&c!==void 0?c:null)}l=this.collection.getKeyAfter(l)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new ed)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let l of t)if(!r.has(l))return!1;for(let l of r)if(!t.has(l))return!1;return!0}canSelectItem(t){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let l=this.collection.getItem(t);return!(!l||!(l==null||(r=l.props)===null||r===void 0)&&r.isDisabled||l.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,l;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((l=this.collection.getItem(t))===null||l===void 0||(r=l.props)===null||r===void 0)&&r.isDisabled))}isLink(t){var r,l;return!!(!((l=this.collection.getItem(t))===null||l===void 0||(r=l.props)===null||r===void 0)&&r.href)}getItemProps(t){var r;return(r=this.collection.getItem(t))===null||r===void 0?void 0:r.props}withCollection(t){return new wO(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,r,l){this.collection=t,this.state=r;var i;this.allowsCellSelection=(i=l?.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=l?.layoutDelegate||null}}class Efe{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);var l;return r&&(l=r.prevKey)!==null&&l!==void 0?l:null}getKeyAfter(t){let r=this.keyMap.get(t);var l;return r&&(l=r.nextKey)!==null&&l!==void 0?l:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,r=r||new Set;let l=m=>{if(this.keyMap.set(m.key,m),m.childNodes&&(m.type==="section"||r.has(m.key)))for(let y of m.childNodes)l(y)};for(let m of t)l(m);let i=null,c=0;for(let[m,y]of this.keyMap)i?(i.nextKey=m,y.prevKey=i.key):(this.firstKey=m,y.prevKey=void 0),y.type==="item"&&(y.index=c++),i=y,i.nextKey=void 0;var h;this.lastKey=(h=i?.key)!==null&&h!==void 0?h:null}}function Sfe(e){let{onExpandedChange:t}=e,[r,l]=dO(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=xfe(e),c=j.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),h=$de(e,j.useCallback(y=>new Efe(y,{expandedKeys:r}),[r]),null);return j.useEffect(()=>{i.focusedKey!=null&&!h.getItem(i.focusedKey)&&i.setFocusedKey(null)},[h,i.focusedKey]),{collection:h,expandedKeys:r,disabledKeys:c,toggleKey:y=>{l(wfe(r,y))},setExpandedKeys:l,selectionManager:new wO(h,i)}}function wfe(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}const OT=j.createContext({}),L9=j.createContext(null),Cfe=j.forwardRef(function(t,r){let{render:l}=j.useContext(L9);return j.createElement(j.Fragment,null,l(t,r))});function Rfe(e,t){var r;let l=e?.renderDropIndicator,i=e==null||(r=e.isVirtualDragging)===null||r===void 0?void 0:r.call(e),c=j.useCallback(h=>{if(i||t?.isDropTarget(h))return l?l(h):j.createElement(Cfe,{target:h})},[t?.target,i,l]);return e?.useDropIndicator?c:void 0}function Tfe(e,t,r){var l,i;let c=e.focusedKey,h=null;if(!(t==null||(l=t.isVirtualDragging)===null||l===void 0)&&l.call(t)&&(r==null||(i=r.target)===null||i===void 0?void 0:i.type)==="item"&&(h=r.target.key,r.target.dropPosition==="after")){let w=r.collection.getKeyAfter(h),R=null;if(w!=null){var m,y;let D=(y=(m=r.collection.getItem(h))===null||m===void 0?void 0:m.level)!==null&&y!==void 0?y:0;for(;w;){let $=r.collection.getItem(w);if(!$)break;if($.type!=="item"){w=r.collection.getKeyAfter(w);continue}var x;if(((x=$.level)!==null&&x!==void 0?x:0)<=D)break;R=w,w=r.collection.getKeyAfter(w)}}var S;h=(S=w??R)!==null&&S!==void 0?S:h}return j.useMemo(()=>new Set([c,h].filter(w=>w!=null)),[c,h])}const Afe=j.createContext(null);function _fe(e){let t=j.useRef({});return j.createElement(Afe.Provider,{value:t},e.children)}const Dfe=j.createContext({isSelected:!1}),Y6=10,X6=5;class Mfe{setup(t,r,l){this.delegate=t,this.state=r,this.direction=l}getDropTargetFromPoint(t,r,l){let i=this.delegate.getDropTargetFromPoint(t,r,l);return!i||i.type==="root"?i:this.resolveDropTarget(i,t,r,l)}resolveDropTarget(t,r,l,i){let c=this.pointerTracking,h=l-c.lastY,m=r-c.lastX,y=c.yDirection,x=c.xDirection;if(Math.abs(h)>X6&&(y=h>0?"down":"up",c.yDirection=y,c.lastY=l),Math.abs(m)>Y6&&(x=m>0?"right":"left",c.xDirection=x,c.lastX=r),t.dropPosition==="before"){let R=this.state.collection.getKeyBefore(t.key);if(R!=null){let D={type:"item",key:R,dropPosition:"after"};i(D)&&(t=D)}}let S=this.getPotentialTargets(t,i);if(S.length===0)return{type:"root"};let w;return S.length>1?w=this.selectTarget(S,t,r,l,y,x):(w=S[0],c.boundaryContext=null),w}getPotentialTargets(t,r){if(t.dropPosition==="on")return[t];let l=t,i=this.state.collection,c=i.getItem(l.key);for(;c&&c?.type!=="item"&&c.nextKey!=null;)l.key=c.nextKey,c=i.getItem(c.nextKey);let h=[l];if(c&&c.hasChildNodes&&this.state.expandedKeys.has(c.key)&&i.getChildren&&l.dropPosition==="after"){let x=null;for(let S of i.getChildren(c.key))if(S.type==="item"){x=S;break}if(x){const S={type:"item",key:x.key,dropPosition:"before"};return r(S)?[S]:[]}}if(c?.nextKey!=null)return[t];let m=c?.parentKey,y=[];for(;m;){let x=i.getItem(m),S=x?.nextKey?i.getItem(x.nextKey):null;if(!S||S.parentKey!==m){let R={type:"item",key:m,dropPosition:"after"};if(r(R)&&y.push(R),S)break}m=x?.parentKey}if(y.length>0&&h.push(...y),h.length===1){let x=i.getKeyAfter(l.key),S=x?i.getItem(x):null;if(x!=null&&S&&c&&S.level!=null&&c.level!=null&&S.level>c.level){let w={type:"item",key:x,dropPosition:"before"};if(r(w))return[w]}}return h.filter(r)}selectTarget(t,r,l,i,c,h){if(t.length<2)return t[0];let m=this.pointerTracking,y=this.state.collection.getItem(r.key),x=y?.parentKey;if(!x)return t[0];if(!m.boundaryContext||m.boundaryContext.parentKey!==x){let $=m.yDirection==="up"?t.length-1:0;m.boundaryContext={parentKey:x,preferredTargetIndex:$,lastSwitchY:i,lastSwitchX:l}}let S=m.boundaryContext,w=Math.abs(l-S.lastSwitchX);if(Math.abs(i-S.lastSwitchY)>X6&&c){let $=S.preferredTargetIndex||0;c==="down"&&$===0?S.preferredTargetIndex=t.length-1:c==="up"&&$===t.length-1&&(S.preferredTargetIndex=0),m.xDirection=null}if(w>Y6&&h){let $=S.preferredTargetIndex||0;h==="left"?this.direction==="ltr"?$<t.length-1&&(S.preferredTargetIndex=$+1,S.lastSwitchX=l):$>0&&(S.preferredTargetIndex=$-1,S.lastSwitchX=l):h==="right"&&(this.direction==="ltr"?$>0&&(S.preferredTargetIndex=$-1,S.lastSwitchX=l):$<t.length-1&&(S.preferredTargetIndex=$+1,S.lastSwitchX=l)),m.yDirection=null}let D=Math.max(0,Math.min(S.preferredTargetIndex||0,t.length-1));return t[D]}constructor(){this.delegate=null,this.state=null,this.direction="ltr",this.pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null}}}class Ofe{*[Symbol.iterator](){yield*this.flattenedRows}get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}getItem(t){return this.keyMap.get(t)||null}at(t){return this.flattenedRows[t]}getFirstKey(){var t;return(t=this.flattenedRows[0])===null||t===void 0?void 0:t.key}getLastKey(){var t;return(t=this.flattenedRows[this.flattenedRows.length-1])===null||t===void 0?void 0:t.key}getKeyAfter(t){var r;let l=this.flattenedRows.findIndex(i=>i.key===t);return(r=this.flattenedRows[l+1])===null||r===void 0?void 0:r.key}getKeyBefore(t){var r;let l=this.flattenedRows.findIndex(i=>i.key===t);return(r=this.flattenedRows[l-1])===null||r===void 0?void 0:r.key}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let l=r.get(t),i=l?.firstChildKey!=null?r.get(l.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?r.get(i.nextKey):void 0}}}getTextValue(t){let r=this.getItem(t);return r?r.textValue:""}constructor(t){this.keyMap=new Map,this.itemCount=0;let{collection:r,expandedKeys:l}=t,{flattenedRows:i,keyMap:c,itemCount:h}=Lfe(r,{expandedKeys:l});this.flattenedRows=i,this.keyMap=c,this.itemCount=h}}const Nfe=j.createContext(null),CO=j.createContext(null),$fe=j.forwardRef(function(t,r){return[t,r]=Hj(t,r,Nfe),j.createElement(Yde,{content:j.createElement(xO,t)},l=>j.createElement(Pfe,{props:t,collection:l,treeRef:r}))}),W6={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Pfe({props:e,collection:t,treeRef:r}){const{dragAndDropHooks:l}=e;let{direction:i}=Iw(),c=Kj({usage:"search",sensitivity:"base"}),h=!!l?.useDraggableCollectionState,m=!!l?.useDroppableCollectionState,y=j.useRef(h),x=j.useRef(m);j.useEffect(()=>{y.current!==h&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),x.current!==m&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[h,m]);let{selectionMode:S="none",expandedKeys:w,defaultExpandedKeys:R,onExpandedChange:D,disabledBehavior:$="all"}=e,{CollectionRoot:O,isVirtualized:q,layoutDelegate:N,dropTargetDelegate:U}=j.useContext(EO),[I,G]=dO(w?Q6(w):void 0,R?Q6(R):new Set,D),F=j.useMemo(()=>new Ofe({collection:t,expandedKeys:I}),[t,I]),H=Sfe({...e,selectionMode:S,expandedKeys:I,onExpandedChange:G,collection:F,children:void 0,disabledBehavior:$}),{gridProps:V}=hfe({...e,isVirtualized:q,layoutDelegate:N},H,r),X,le,xe,Q=!1,ue=null,se=j.useRef(null);if(h&&l){X=l.useDraggableCollectionState({collection:H.collection,selectionManager:H.selectionManager,preview:l.renderDragPreview?se:void 0}),l.useDraggableCollection({},X,r);let fe=l.DragPreview;ue=l.renderDragPreview?j.createElement(fe,{ref:se},l.renderDragPreview):null}let[ae]=j.useState(()=>new Mfe);if(m&&l){le=l.useDroppableCollectionState({collection:H.collection,selectionManager:H.selectionManager});let fe=l.dropTargetDelegate||U||new l.ListDropTargetDelegate(H.collection,r,{direction:i});ae.setup(fe,H,i);let _e=new cB({collection:H.collection,collator:c,ref:r,disabledKeys:H.selectionManager.disabledKeys,disabledBehavior:H.selectionManager.disabledBehavior,direction:i,layoutDelegate:N});xe=l.useDroppableCollection({keyboardDelegate:_e,dropTargetDelegate:ae,onDropActivate:Pe=>{if(Pe.target.type==="item"){var Re;let Ye=Pe.target.key,oe=H.collection.getItem(Ye),je=I!=="all"&&I.has(Ye);oe&&oe.hasChildNodes&&(!je||!(l==null||(Re=l.isVirtualDragging)===null||Re===void 0)&&Re.call(l))&&H.toggleKey(Ye)}},onKeyDown:Pe=>{let Re=le?.target;if(Re&&Re.type==="item"&&Re.dropPosition==="on"){let Ye=H.collection.getItem(Re.key);(Pe.key===W6.expand[i]&&Ye?.hasChildNodes&&!H.expandedKeys.has(Re.key)||Pe.key===W6.collapse[i]&&Ye?.hasChildNodes&&H.expandedKeys.has(Re.key))&&H.toggleKey(Re.key)}}},le,r);let $e=le.getDropOperation;le.getDropOperation=Pe=>{let{target:Re,isInternal:Ye}=Pe;var oe;let je=(oe=X?.draggingKeys)!==null&&oe!==void 0?oe:new Set;if(Ye&&Re.type==="item"&&je.size>0){if(je.has(Re.key)&&Re.dropPosition==="on")return"cancel";let Le=Re.key;for(;Le!=null;){let we=H.collection.getItem(Le),lt=we?.parentKey;if(lt!=null&&je.has(lt))return"cancel";Le=lt??null}}return $e(Pe)},Q=le.isDropTarget({type:"root"})}let ge=!!(h&&!X?.isDisabled),{focusProps:L,isFocused:W,isFocusVisible:ee}=VR(),me={isEmpty:H.collection.size===0,isFocused:W,isFocusVisible:ee,isDropTarget:Q,selectionMode:H.selectionManager.selectionMode,allowsDragging:!!ge,state:H},Y=ix({className:e.className,style:e.style,defaultClassName:"react-aria-Tree",values:me}),be=null;if(H.collection.size===0&&e.renderEmptyState){let{isEmpty:fe,..._e}=me,$e=e.renderEmptyState({..._e}),Pe={"aria-level":1};be=j.createElement("div",{role:"row",style:{display:"contents"},...Pe},j.createElement("div",{role:"gridcell",style:{display:"contents"}},$e))}let ie=ox(e,{global:!0});return j.createElement(j.Fragment,null,j.createElement(pde,null,j.createElement("div",{...Sl(ie,Y,V,L,xe?.collectionProps),ref:r,slot:e.slot||void 0,"data-empty":H.collection.size===0||void 0,"data-focused":W||void 0,"data-drop-target":Q||void 0,"data-focus-visible":ee||void 0,"data-selection-mode":H.selectionManager.selectionMode==="none"?void 0:H.selectionManager.selectionMode,"data-allows-dragging":!!ge||void 0},j.createElement(Uj,{values:[[CO,H],[OT,{dragAndDropHooks:l,dragState:X,dropState:le}],[L9,{render:jfe}]]},m&&j.createElement(Ufe,null),j.createElement(_fe,null,j.createElement(O,{collection:H.collection,persistedKeys:Tfe(H.selectionManager,l,le),scrollRef:r,renderDropIndicator:Rfe(l,le)}))),be)),ue)}class j9 extends ux{}j9.type="content";const qfe=gB(j9,function(t){let r=j.useContext(B9),l=ix({children:t.children,values:r});return j.createElement(EO.Provider,{value:bB},l.children)}),B9=j.createContext(null);class z9 extends ux{}z9.type="item";const kfe=efe(z9,(e,t,r)=>{var l;let i=j.useContext(CO);t=AT(t);let{dragAndDropHooks:c,dragState:h,dropState:m}=j.useContext(OT),{rowProps:y,gridCellProps:x,expandButtonProps:S,descriptionProps:w,...R}=q9({node:r,shouldSelectOnPressUp:!!h},i,t),D=y["aria-expanded"]===!0,$=e.hasChildItems||((l=[...i.collection.getChildren(r.key)])===null||l===void 0?void 0:l.length)>1,O=y["aria-level"]||1,{hoverProps:q,isHovered:N}=aB({isDisabled:!R.allowsSelection&&!R.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{isFocusVisible:U,focusProps:I}=VR(),{isFocusVisible:G,focusProps:F}=VR({within:!0}),{checkboxProps:H}=pfe({key:r.key},i),V=null;h&&c&&(V=c.useDraggableItem({key:r.key,hasDragButton:!0},h));let X=null,le=j.useRef(null),xe=j.useRef(null),Q=j.useRef(null),{visuallyHiddenProps:ue}=yO();m&&c&&(X=c.useDropIndicator({target:{type:"item",key:r.key,dropPosition:"on"},activateButtonRef:Q},m,xe));let se=h&&h.isDragging(r.key),ae=X?.isDropTarget,ge=i.selectionManager.selectionMode,L=i.selectionManager.selectionBehavior,W=j.useMemo(()=>({...R,isHovered:N,isFocusVisible:U,isExpanded:D,hasChildItems:$,level:O,selectionMode:ge,selectionBehavior:L,isFocusVisibleWithin:G,state:i,id:r.key,allowsDragging:!!h,isDragging:se,isDropTarget:ae}),[R,N,U,D,$,O,G,i,r.key,h,se,ae,L,ge]),ee=ix({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-TreeItem",defaultStyle:{"--tree-item-level":O},values:W});j.useEffect(()=>{!r.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <TreeItem> elements in order to support accessibility features such as type to select.")},[r.textValue]),j.useEffect(()=>{$&&!le.current&&process.env.NODE_ENV!=="production"&&console.warn("Expandable tree items must contain a expand button so screen reader users can expand/collapse the item.")},[]);let me=j.useRef(null);j.useEffect(()=>{h&&!me.current&&process.env.NODE_ENV!=="production"&&console.warn('Draggable items in a Tree must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let Y=bO({items:i.collection.getChildren(r.key),children:fe=>{switch(fe.type){case"content":return fe.render(fe);case"loader":case"item":return j.createElement(j.Fragment,null);default:throw new Error("Unsupported element type in TreeRow: "+fe.type)}}}),be=Dh(),ie=ox(e,{global:!0});return delete ie.id,delete ie.onClick,j.createElement(j.Fragment,null,X&&!X.isHidden&&j.createElement("div",{role:"row","aria-level":y["aria-level"],"aria-expanded":y["aria-expanded"],"aria-label":X.dropIndicatorProps["aria-label"]},j.createElement("div",{role:"gridcell","aria-colindex":1,style:{display:"contents"}},j.createElement("div",{role:"button",...ue,...X.dropIndicatorProps,ref:xe}),y["aria-expanded"]!=null?j.createElement("div",{role:"button",...ue,id:be,"aria-label":S["aria-label"],"aria-labelledby":`${be} ${y.id}`,tabIndex:-1,ref:Q}):null)),j.createElement("div",{...Sl(ie,y,I,q,F,V?.dragProps),...ee,ref:t,"data-expanded":$&&D||void 0,"data-has-child-items":$||void 0,"data-level":O,"data-selected":R.isSelected||void 0,"data-disabled":R.isDisabled||void 0,"data-hovered":N||void 0,"data-focused":R.isFocused||void 0,"data-focus-visible":U||void 0,"data-pressed":R.isPressed||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode,"data-allows-dragging":!!h||void 0,"data-dragging":se||void 0,"data-drop-target":ae||void 0},j.createElement("div",{...x,style:{display:"contents"}},j.createElement(Uj,{values:[[Dse,{slots:{selection:H}}],[k9,{slots:{[zj]:{},chevron:{...S,ref:le},drag:{...V?.dragButtonProps,ref:me,style:{pointerEvents:"none"}}}}],[B9,{...W}],[Dfe,{isSelected:R.isSelected}]]},Y))))});gB(fB,function(t,r,l){let{isVirtualized:i}=j.useContext(EO),c=j.useContext(CO),{isLoading:h,onLoadMore:m,scrollOffset:y,...x}=t,S=j.useRef(null),w=j.useMemo(()=>({onLoadMore:m,collection:c?.collection,sentinelRef:S,scrollOffset:y}),[m,y,c?.collection]);yce(w,S),r=AT(r);let{rowProps:R,gridCellProps:D}=q9({node:l},c,r),$=R["aria-level"]||1,O={role:"row","aria-level":R["aria-level"]},q=ix({...x,id:void 0,children:l.rendered,defaultClassName:"react-aria-TreeLoader",values:{level:$}}),N={};return i&&(N={display:"contents"}),j.createElement(j.Fragment,null,j.createElement("div",{style:{position:"relative",width:0,height:0},inert:bce(!0)},j.createElement("div",{"data-testid":"loadMoreSentinel",ref:S,style:{position:"absolute",height:1,width:1}})),h&&q.children&&j.createElement("div",{ref:r,...Sl(ox(t),O),...q,"data-level":$},j.createElement("div",{...D,style:N},q.children)))});function Q6(e){return e?e==="all"?"all":new Set(e):new Set}function Lfe(e,t){let{expandedKeys:r=new Set}=t,l=new Map,i=[],c=0,h=new Map,m=y=>{if(y.type==="item"||y.type==="loader"){let x=y?.parentKey,S={...y};x!=null?([...e.getChildren(x)][0].type!=="item"&&(S.index=y?.index!=null?y?.index-1:0),y.type==="loader"&&(S.level=y.level+1),l.set(S.key,S)):l.set(y.key,y);let w=l.get(y.key)||y;(w.level===0||w.parentKey!=null&&r.has(w.parentKey)&&h.get(w.parentKey))&&(w.type==="item"&&c++,i.push(w),h.set(w.key,!0))}else y.type!==null&&l.set(y.key,y);for(let x of e.getChildren(y.key))m(x)};for(let y of e)m(y);return{flattenedRows:i,keyMap:l,itemCount:c}}function jfe(e,t){var r;t=AT(t);let{dragAndDropHooks:l,dropState:i}=j.useContext(OT),c=j.useRef(null),{dropIndicatorProps:h,isHidden:m,isDropTarget:y}=l.useDropIndicator(e,i,c);if(m)return null;let x=i&&e.target.type==="item"?(((r=i.collection.getItem(e.target.key))===null||r===void 0?void 0:r.level)||0)+1:1;return j.createElement(zfe,{...e,dropIndicatorProps:h,isDropTarget:y,ref:t,buttonRef:c,level:x})}function Bfe(e,t){let{dropIndicatorProps:r,isDropTarget:l,buttonRef:i,level:c,...h}=e,{visuallyHiddenProps:m}=yO(),y=ix({...h,defaultClassName:"react-aria-DropIndicator",defaultStyle:{position:"relative","--tree-item-level":c},values:{isDropTarget:l}});return j.createElement("div",{...y,role:"row","aria-level":c,ref:t,"data-drop-target":l||void 0},j.createElement("div",{role:"gridcell"},j.createElement("div",{...m,role:"button",...r,ref:i}),y.children))}const zfe=j.forwardRef(Bfe);function Ufe(){let{dragAndDropHooks:e,dropState:t}=j.useContext(OT),r=j.useRef(null),{dropIndicatorProps:l}=e.useDropIndicator({target:{type:"root"}},t,r),i=t.isDropTarget({type:"root"}),{visuallyHiddenProps:c}=yO();return!i&&l["aria-hidden"]?null:j.createElement("div",{role:"row","aria-hidden":l["aria-hidden"],style:{position:"absolute"}},j.createElement("div",{role:"gridcell"},j.createElement("div",{role:"button",...c,...l,ref:r})))}var Ife=/\s+/g,Hfe=e=>typeof e!="string"||!e?e:e.replace(Ife," ").trim(),FR=(...e)=>{const t=[],r=l=>{if(!l&&l!==0&&l!==0n)return;if(Array.isArray(l)){for(let c=0,h=l.length;c<h;c++)r(l[c]);return}const i=typeof l;if(i==="string"||i==="number"||i==="bigint"){if(i==="number"&&l!==l)return;t.push(String(l))}else if(i==="object"){const c=Object.keys(l);for(let h=0,m=c.length;h<m;h++){const y=c[h];l[y]&&t.push(y)}}};for(let l=0,i=e.length;l<i;l++){const c=e[l];c!=null&&r(c)}return t.length>0?Hfe(t.join(" ")):void 0},Z6=e=>e===!1?"false":e===!0?"true":e===0?"0":e,eu=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},Vfe=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const r=Object.keys(e),l=Object.keys(t);if(r.length!==l.length)return!1;for(let i=0;i<r.length;i++){const c=r[i];if(!l.includes(c)||e[c]!==t[c])return!1}return!0},Ffe=(e,t)=>{for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const l=t[r];r in e?e[r]=FR(e[r],l):e[r]=l}return e},U9=(e,t)=>{for(let r=0;r<e.length;r++){const l=e[r];Array.isArray(l)?U9(l,t):l&&t.push(l)}},I9=(...e)=>{const t=[];U9(e,t);const r=[];for(let l=0;l<t.length;l++)t[l]&&r.push(t[l]);return r},HD=(e,t)=>{const r={};for(const l in e){const i=e[l];if(l in t){const c=t[l];Array.isArray(i)||Array.isArray(c)?r[l]=I9(c,i):typeof i=="object"&&typeof c=="object"&&i&&c?r[l]=HD(i,c):r[l]=c+" "+i}else r[l]=i}for(const l in t)l in e||(r[l]=t[l]);return r},Kfe={twMerge:!0,twMergeConfig:{}};function Gfe(){let e=null,t={},r=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(l){e=l},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(l){t=l},get didTwMergeConfigChange(){return r},set didTwMergeConfigChange(l){r=l},reset(){e=null,t={},r=!1}}}var Eh=Gfe(),Yfe=e=>{const t=(l,i)=>{const{extend:c=null,slots:h={},variants:m={},compoundVariants:y=[],compoundSlots:x=[],defaultVariants:S={}}=l,w={...Kfe,...i},R=c?.base?FR(c.base,l?.base):l?.base,D=c?.variants&&!eu(c.variants)?HD(m,c.variants):m,$=c?.defaultVariants&&!eu(c.defaultVariants)?{...c.defaultVariants,...S}:S;!eu(w.twMergeConfig)&&!Vfe(w.twMergeConfig,Eh.cachedTwMergeConfig)&&(Eh.didTwMergeConfigChange=!0,Eh.cachedTwMergeConfig=w.twMergeConfig);const O=eu(c?.slots),q=eu(h)?{}:{base:FR(l?.base,O&&c?.base),...h},N=O?q:Ffe({...c?.slots},eu(q)?{base:l?.base}:q),U=eu(c?.compoundVariants)?y:I9(c?.compoundVariants,y),I=F=>{if(eu(D)&&eu(h)&&O)return e(R,F?.class,F?.className)(w);if(U&&!Array.isArray(U))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof U}`);if(x&&!Array.isArray(x))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof x}`);const H=(ae,ge=D,L=null,W=null)=>{const ee=ge[ae];if(!ee||eu(ee))return null;const me=W?.[ae]??F?.[ae];if(me===null)return null;const Y=Z6(me);if(typeof Y=="object")return null;const be=$?.[ae],ie=Y??Z6(be);return ee[ie||"false"]},V=()=>{if(!D)return null;const ae=Object.keys(D),ge=[];for(let L=0;L<ae.length;L++){const W=H(ae[L],D);W&&ge.push(W)}return ge},X=(ae,ge)=>{if(!D||typeof D!="object")return null;const L=[];for(const W in D){const ee=H(W,D,ae,ge),me=ae==="base"&&typeof ee=="string"?ee:ee&&ee[ae];me&&L.push(me)}return L},le={};for(const ae in F){const ge=F[ae];ge!==void 0&&(le[ae]=ge)}const xe=(ae,ge)=>{const L=typeof F?.[ae]=="object"?{[ae]:F[ae]?.initial}:{};return{...$,...le,...L,...ge}},Q=(ae=[],ge)=>{const L=[],W=ae.length;for(let ee=0;ee<W;ee++){const{class:me,className:Y,...be}=ae[ee];let ie=!0;const fe=xe(null,ge);for(const _e in be){const $e=be[_e],Pe=fe[_e];if(Array.isArray($e)){if(!$e.includes(Pe)){ie=!1;break}}else{if(($e==null||$e===!1)&&(Pe==null||Pe===!1))continue;if(Pe!==$e){ie=!1;break}}}ie&&(me&&L.push(me),Y&&L.push(Y))}return L},ue=ae=>{const ge=Q(U,ae);if(!Array.isArray(ge))return ge;const L={},W=e;for(let ee=0;ee<ge.length;ee++){const me=ge[ee];if(typeof me=="string")L.base=W(L.base,me)(w);else if(typeof me=="object")for(const Y in me)L[Y]=W(L[Y],me[Y])(w)}return L},se=ae=>{if(x.length<1)return null;const ge={},L=xe(null,ae);for(let W=0;W<x.length;W++){const{slots:ee=[],class:me,className:Y,...be}=x[W];if(!eu(be)){let ie=!0;for(const fe in be){const _e=L[fe],$e=be[fe];if(_e===void 0||(Array.isArray($e)?!$e.includes(_e):$e!==_e)){ie=!1;break}}if(!ie)continue}for(let ie=0;ie<ee.length;ie++){const fe=ee[ie];ge[fe]||(ge[fe]=[]),ge[fe].push([me,Y])}}return ge};if(!eu(h)||!O){const ae={};if(typeof N=="object"&&!eu(N)){const ge=e;for(const L in N)ae[L]=W=>{const ee=ue(W),me=se(W);return ge(N[L],X(L,W),ee?ee[L]:void 0,me?me[L]:void 0,W?.class,W?.className)(w)}}return ae}return e(R,V(),Q(U),F?.class,F?.className)(w)},G=()=>{if(!(!D||typeof D!="object"))return Object.keys(D)};return I.variantKeys=G(),I.extend=c,I.base=R,I.slots=N,I.variants=D,I.defaultVariants=$,I.compoundSlots=x,I.compoundVariants=U,I};return{tv:t,createTV:l=>(i,c)=>t(i,c?HD(l,c):l)}},Xfe=e=>eu(e)?yU:m5({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),Wfe=(e,t)=>{const r=FR(e);return!r||!(t?.twMerge??!0)?r:((!Eh.cachedTwMerge||Eh.didTwMergeConfigChange)&&(Eh.didTwMergeConfigChange=!1,Eh.cachedTwMerge=Xfe(Eh.cachedTwMergeConfig)),Eh.cachedTwMerge(r)||void 0)},Qfe=(...e)=>t=>Wfe(e,t),{tv:H9}=Yfe(Qfe);const Zfe=H9({base:"flex py-2 rounded-lg bg-bg cursor-default lg:text-sm flex-col overflow-auto outline-none",variants:{isFocusVisible:{true:"outline-offset-[-1px] outline-2 outline-primary"}}}),V9=({className:e,...t})=>M.jsx($fe,{"data-slot":"tree",className:Ij(e,(r,l)=>Zfe({...l,className:r})),...t,children:t.children}),Jfe=H9({base:["[&_[data-expanded]_[slot=chevron]_[data-slot=icon]]:rotate-90 outline-none [--padding:20px] p-[0.286rem_0.286rem_0.286rem_0.571rem] pl-[calc((var(--tree-item-level)-1)*20px+0.571rem+var(--padding))]","[&_[slot=chevron]]:outline-none [&_[slot=chevron]_[data-slot=icon]]:text-muted-fg","data-[has-child-rows]:[--padding:0px]"],variants:{isExpanded:{true:"[&_[slot=chevron]_[data-slot=icon]]:text-fg [&_[slot=chevron]_[data-slot=icon]]:rotate-90 [&_[slot=chevron]_[data-slot=icon]]:transition [&_[slot=chevron]_[data-slot=icon]]:duration-200"},isFocusVisible:{true:"[&_[slot=chevron]_[data-slot=icon]]:text-fg focus:outline-none focus-visible:ring-1 focus-visible:ring-primary"},isDisabled:{true:"opacity-50 forced-colors:text-[GrayText]"},isSelected:{true:"bg-accent text-accent-foreground"}}}),F9=({className:e,...t})=>M.jsx(kfe,{"data-slot":"tree-item","data-key":t.id,className:Ij(e,(r,l)=>Jfe({...l,className:r})),...t,children:t.children}),K9=e=>M.jsx(qfe,{"data-slot":"tree-item-content",...e,"data-key":e.key,children:M.jsx("div",{className:"flex items-center gap-x-1",children:e.children})}),G9=()=>M.jsx(gfe,{"data-slot":"tree-item-chevron",className:"shrink-0 relative",slot:"chevron",children:M.jsx(vw,{className:"size-5","data-slot":"icon"})}),Y9=e=>M.jsx("span",{"data-slot":"tree-item-label",...e});function epe({items:e,...t}){const r=l=>M.jsxs(F9,{id:l.id,textValue:l.title,children:[M.jsxs(K9,{children:[l.children?.length?M.jsx(G9,{}):null,M.jsx(Y9,{children:l.title})]}),l.children?.length?M.jsx(xO,{items:l.children,children:r}):null]},l.id);return M.jsx(V9,{items:e,...t,children:e.map(l=>r(l))})}exports.AlertDialog=BV;exports.AutoComplete=cK;exports.AutoCompleteDialog=uK;exports.AutoCompleteEmpty=rT;exports.AutoCompleteGroup=qq;exports.AutoCompleteInput=tT;exports.AutoCompleteItem=ew;exports.AutoCompleteList=nT;exports.AutoCompleteRoot=xw;exports.AutoCompleteSeparator=sK;exports.AutoCompleteShortcut=kq;exports.Avatar=zZ;exports.BackgroundImage=UZ;exports.BaseButton=uq;exports.Button=Uo;exports.Calendar=jk;exports.Card=zte;exports.CardContent=Vte;exports.CardDescription=Hte;exports.CardFooter=Fte;exports.CardHeader=Ute;exports.CardTitle=Ite;exports.Center=Kte;exports.Checkbox=Gte;exports.Collection=xO;exports.Combobox=Yte;exports.DOTS=zv;exports.DatePicker=Xte;exports.Dialog=lV;exports.DialogClose=U_;exports.DialogContent=QR;exports.DialogDescription=eM;exports.DialogFooter=ZD;exports.DialogHeader=QD;exports.DialogOverlay=J5;exports.DialogPortal=Z5;exports.DialogRoot=WR;exports.DialogTitle=JD;exports.DialogTrigger=WD;exports.Divider=Bk;exports.Dropzone=Qte;exports.EmptyState=ene;exports.Field=tne;exports.FileType=Ka;exports.FileTypeGroups=Zte;exports.Form=_ne;exports.FormControl=i7;exports.FormDescription=u7;exports.FormField=Dne;exports.FormItem=l7;exports.FormLabel=o7;exports.FormMessage=s7;exports.Heading=Yk;exports.Input=v7;exports.Kbd=Vne;exports.KbdGroup=Fne;exports.Label=Cw;exports.Loader=Gne;exports.Menu=Zoe;exports.MenuCheckboxItem=WL;exports.MenuContent=YL;exports.MenuGroup=Xoe;exports.MenuItem=XL;exports.MenuLabel=ZL;exports.MenuPortal=Woe;exports.MenuRadioGroup=Qoe;exports.MenuRadioItem=QL;exports.MenuRoot=HL;exports.MenuSeparator=JL;exports.MenuShortcut=e8;exports.MenuSub=FL;exports.MenuSubContent=GL;exports.MenuSubTrigger=KL;exports.MenuTrigger=VL;exports.MultiSelect=Eie;exports.NumberInput=Sie;exports.Pagination=wie;exports.Password=Cie;exports.Popover=bie;exports.PopoverContent=Bw;exports.PopoverRoot=Lw;exports.PopoverTrigger=jw;exports.Select=Rie;exports.SelectContent=Z8;exports.SelectGroup=G8;exports.SelectItem=ej;exports.SelectLabel=J8;exports.SelectRoot=K8;exports.SelectScrollDownButton=Q8;exports.SelectScrollUpButton=W8;exports.SelectSeparator=Cue;exports.SelectTrigger=X8;exports.SelectValue=Y8;exports.Show=uD;exports.Skeleton=Rue;exports.Stack=Tue;exports.Stepper=_ue;exports.StepperContainer=nj;exports.StepperContent=lj;exports.StepperList=rj;exports.StepperTrigger=aj;exports.Switch=Due;exports.TABLE_PAGE_SIZES=sR;exports.TabContent=jue;exports.TabList=kue;exports.TabTrigger=Lue;exports.Table=Nue;exports.TableBody=uj;exports.TableCaption=Oue;exports.TableCell=cj;exports.TableFooter=Mue;exports.TableHead=sj;exports.TableHeader=ij;exports.TablePagination=$ue;exports.TableRoot=oj;exports.TableRow=RD;exports.Tabs=que;exports.Tag=bD;exports.Textarea=zue;exports.ThemeProvider=oV;exports.Timeline=Iue;exports.TimelineItemContent=hj;exports.TimelineItemDot=pj;exports.TimelineListItem=fj;exports.TimelineRoot=dj;exports.Toast=mj;exports.ToastIcons=gj;exports.Toaster=Fue;exports.Tooltip=_se;exports.TooltipContent=Oj;exports.TooltipProvider=_j;exports.TooltipRoot=Dj;exports.TooltipTrigger=Mj;exports.Tree=epe;exports.TreeItem=F9;exports.TreeItemContent=K9;exports.TreeItemIndicator=G9;exports.TreeItemLabel=Y9;exports.TreeRoot=V9;exports.UploadAcceptedFiles=Fk;exports.UploadContent=Hk;exports.UploadItem=Gk;exports.UploadRejectedFiles=Kk;exports.UploadRoot=Uk;exports.UploadTrigger=Ik;exports.click=LZ;exports.cn=Ve;exports.createSafeContext=Ew;exports.ensureReactElement=fK;exports.extractInitials=Lq;exports.getFormData=pK;exports.mergeRefs=dK;exports.monthNames=iD;exports.tagVariants=n8;exports.toast=Zue;exports.twMerge=v5;exports.type=jZ;exports.useArray=Yne;exports.useAsync=Xne;exports.useClickOutside=Wne;exports.useClipboard=Qne;exports.useControllableState=vr;exports.useDebouncedCallback=Zne;exports.useDebouncedValue=Jne;exports.useDisclosure=ere;exports.useDocumentTitle=tre;exports.useEventListener=g7;exports.useFocusTrap=wre;exports.useForm=Ine;exports.useFormField=Aw;exports.useHotkey=y7;exports.useHover=ire;exports.useIsVisible=ure;exports.useLocalStorage=sre;exports.useMediaQuery=cre;exports.useMemoizedFn=dre;exports.useMutation=fre;exports.useObject=pre;exports.usePagination=NM;exports.usePortal=hre;exports.usePreventCloseWindow=mre;exports.useRangePagination=b7;exports.useSelection=vre;exports.useStep=gre;exports.useTheme=nq;exports.useThemeProps=gw;exports.useToastStore=eO;exports.useToggle=x7;exports.weeksDays=Lk;
|