@boxcustodia/library 1.7.15 → 1.8.3
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 +358 -0
- package/dist/index.es.js +69053 -289
- package/package.json +43 -41
- package/dist/index.d.ts +0 -1838
- 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 -17
- package/dist/index.es103.js +0 -2751
- package/dist/index.es104.js +0 -6
- package/dist/index.es105.js +0 -5
- package/dist/index.es106.js +0 -312
- package/dist/index.es107.js +0 -15
- package/dist/index.es108.js +0 -43
- package/dist/index.es109.js +0 -60
- package/dist/index.es11.js +0 -18
- package/dist/index.es110.js +0 -20
- package/dist/index.es111.js +0 -42
- package/dist/index.es112.js +0 -12
- package/dist/index.es113.js +0 -12
- package/dist/index.es114.js +0 -57
- package/dist/index.es115.js +0 -63
- package/dist/index.es116.js +0 -115
- package/dist/index.es117.js +0 -45
- package/dist/index.es118.js +0 -26
- package/dist/index.es119.js +0 -32
- package/dist/index.es12.js +0 -20
- package/dist/index.es120.js +0 -54
- package/dist/index.es121.js +0 -15
- package/dist/index.es122.js +0 -16
- package/dist/index.es123.js +0 -262
- package/dist/index.es124.js +0 -22
- package/dist/index.es125.js +0 -5
- package/dist/index.es126.js +0 -1150
- package/dist/index.es127.js +0 -6
- package/dist/index.es128.js +0 -6
- package/dist/index.es129.js +0 -29
- package/dist/index.es13.js +0 -31
- package/dist/index.es130.js +0 -15
- package/dist/index.es131.js +0 -6
- package/dist/index.es132.js +0 -17
- package/dist/index.es133.js +0 -7
- package/dist/index.es134.js +0 -59
- package/dist/index.es135.js +0 -28
- package/dist/index.es136.js +0 -24
- package/dist/index.es137.js +0 -24
- package/dist/index.es138.js +0 -12
- package/dist/index.es139.js +0 -862
- package/dist/index.es14.js +0 -29
- package/dist/index.es140.js +0 -12
- package/dist/index.es141.js +0 -12
- package/dist/index.es142.js +0 -71
- package/dist/index.es143.js +0 -6
- package/dist/index.es144.js +0 -243
- package/dist/index.es145.js +0 -23
- package/dist/index.es146.js +0 -15
- package/dist/index.es147.js +0 -12
- package/dist/index.es148.js +0 -12
- package/dist/index.es149.js +0 -15
- package/dist/index.es15.js +0 -13
- package/dist/index.es150.js +0 -6
- package/dist/index.es151.js +0 -21
- package/dist/index.es152.js +0 -29
- package/dist/index.es153.js +0 -35
- package/dist/index.es154.js +0 -8
- package/dist/index.es155.js +0 -20
- package/dist/index.es156.js +0 -46
- package/dist/index.es157.js +0 -228
- package/dist/index.es158.js +0 -12
- package/dist/index.es159.js +0 -43
- package/dist/index.es16.js +0 -16
- package/dist/index.es160.js +0 -218
- package/dist/index.es161.js +0 -340
- package/dist/index.es162.js +0 -80
- package/dist/index.es163.js +0 -94
- package/dist/index.es164.js +0 -354
- package/dist/index.es165.js +0 -126
- package/dist/index.es166.js +0 -19
- package/dist/index.es167.js +0 -16
- package/dist/index.es168.js +0 -15
- package/dist/index.es169.js +0 -16
- package/dist/index.es17.js +0 -29
- package/dist/index.es170.js +0 -10
- package/dist/index.es171.js +0 -10
- package/dist/index.es172.js +0 -4
- package/dist/index.es173.js +0 -35
- package/dist/index.es174.js +0 -247
- package/dist/index.es175.js +0 -17
- package/dist/index.es176.js +0 -257
- package/dist/index.es177.js +0 -35
- package/dist/index.es178.js +0 -13
- package/dist/index.es179.js +0 -29
- package/dist/index.es18.js +0 -27
- package/dist/index.es180.js +0 -21
- package/dist/index.es181.js +0 -38
- package/dist/index.es182.js +0 -207
- package/dist/index.es183.js +0 -47
- package/dist/index.es184.js +0 -23
- package/dist/index.es185.js +0 -39
- package/dist/index.es186.js +0 -13
- package/dist/index.es187.js +0 -9
- package/dist/index.es188.js +0 -70
- package/dist/index.es189.js +0 -127
- package/dist/index.es19.js +0 -36
- package/dist/index.es190.js +0 -137
- package/dist/index.es191.js +0 -16
- package/dist/index.es192.js +0 -32
- package/dist/index.es193.js +0 -17
- package/dist/index.es194.js +0 -11
- package/dist/index.es195.js +0 -52
- package/dist/index.es196.js +0 -50
- package/dist/index.es197.js +0 -3677
- package/dist/index.es198.js +0 -8
- package/dist/index.es199.js +0 -4
- package/dist/index.es2.js +0 -47
- package/dist/index.es20.js +0 -20
- package/dist/index.es200.js +0 -6
- package/dist/index.es201.js +0 -48
- package/dist/index.es202.js +0 -10
- package/dist/index.es203.js +0 -221
- package/dist/index.es204.js +0 -32
- package/dist/index.es205.js +0 -50
- package/dist/index.es206.js +0 -13
- package/dist/index.es207.js +0 -8
- package/dist/index.es208.js +0 -32
- package/dist/index.es209.js +0 -32
- package/dist/index.es21.js +0 -14
- package/dist/index.es210.js +0 -50
- package/dist/index.es211.js +0 -5
- package/dist/index.es212.js +0 -2
- package/dist/index.es213.js +0 -2056
- package/dist/index.es214.js +0 -32
- package/dist/index.es215.js +0 -56
- package/dist/index.es216.js +0 -28
- package/dist/index.es217.js +0 -2501
- package/dist/index.es218.js +0 -32
- package/dist/index.es219.js +0 -652
- package/dist/index.es22.js +0 -37
- package/dist/index.es220.js +0 -4
- package/dist/index.es221.js +0 -4
- package/dist/index.es222.js +0 -9
- package/dist/index.es223.js +0 -32
- package/dist/index.es224.js +0 -127
- package/dist/index.es225.js +0 -137
- package/dist/index.es226.js +0 -16
- package/dist/index.es227.js +0 -71
- package/dist/index.es228.js +0 -17
- package/dist/index.es229.js +0 -27
- package/dist/index.es23.js +0 -38
- package/dist/index.es230.js +0 -24
- package/dist/index.es231.js +0 -41
- package/dist/index.es232.js +0 -20
- package/dist/index.es233.js +0 -37
- package/dist/index.es234.js +0 -120
- package/dist/index.es235.js +0 -36
- package/dist/index.es236.js +0 -14
- package/dist/index.es237.js +0 -32
- package/dist/index.es238.js +0 -32
- package/dist/index.es239.js +0 -10
- package/dist/index.es24.js +0 -28
- package/dist/index.es240.js +0 -8
- package/dist/index.es241.js +0 -8
- package/dist/index.es242.js +0 -20
- package/dist/index.es243.js +0 -8
- package/dist/index.es244.js +0 -9
- package/dist/index.es245.js +0 -8
- package/dist/index.es246.js +0 -16
- package/dist/index.es247.js +0 -18
- package/dist/index.es248.js +0 -11
- package/dist/index.es249.js +0 -9
- package/dist/index.es25.js +0 -10
- package/dist/index.es250.js +0 -17
- package/dist/index.es251.js +0 -8
- package/dist/index.es252.js +0 -17
- package/dist/index.es253.js +0 -9
- package/dist/index.es254.js +0 -9
- package/dist/index.es255.js +0 -9
- package/dist/index.es256.js +0 -7
- package/dist/index.es257.js +0 -583
- package/dist/index.es258.js +0 -52
- package/dist/index.es259.js +0 -20
- package/dist/index.es26.js +0 -34
- package/dist/index.es260.js +0 -9
- package/dist/index.es261.js +0 -21
- package/dist/index.es262.js +0 -11
- package/dist/index.es263.js +0 -9
- package/dist/index.es264.js +0 -10
- package/dist/index.es265.js +0 -8
- package/dist/index.es266.js +0 -9
- package/dist/index.es267.js +0 -12
- package/dist/index.es268.js +0 -8
- package/dist/index.es269.js +0 -11
- package/dist/index.es27.js +0 -66
- package/dist/index.es270.js +0 -15
- package/dist/index.es271.js +0 -12
- package/dist/index.es272.js +0 -11
- package/dist/index.es273.js +0 -13
- package/dist/index.es274.js +0 -17
- package/dist/index.es275.js +0 -8
- package/dist/index.es276.js +0 -14
- package/dist/index.es277.js +0 -13
- package/dist/index.es278.js +0 -13
- package/dist/index.es279.js +0 -9
- package/dist/index.es28.js +0 -137
- package/dist/index.es280.js +0 -12
- package/dist/index.es281.js +0 -86
- package/dist/index.es282.js +0 -41
- package/dist/index.es283.js +0 -67
- package/dist/index.es284.js +0 -12
- package/dist/index.es285.js +0 -11
- package/dist/index.es286.js +0 -10
- package/dist/index.es287.js +0 -13
- package/dist/index.es288.js +0 -10
- package/dist/index.es289.js +0 -10
- package/dist/index.es29.js +0 -44
- package/dist/index.es290.js +0 -9
- package/dist/index.es291.js +0 -8
- package/dist/index.es292.js +0 -18
- package/dist/index.es293.js +0 -50
- package/dist/index.es294.js +0 -207
- package/dist/index.es295.js +0 -24
- package/dist/index.es296.js +0 -32
- package/dist/index.es297.js +0 -27
- package/dist/index.es298.js +0 -395
- package/dist/index.es299.js +0 -32
- package/dist/index.es3.js +0 -24
- package/dist/index.es30.js +0 -47
- package/dist/index.es300.js +0 -21
- package/dist/index.es301.js +0 -54
- package/dist/index.es302.js +0 -18
- package/dist/index.es303.js +0 -33
- package/dist/index.es304.js +0 -10
- package/dist/index.es305.js +0 -4
- package/dist/index.es306.js +0 -25
- package/dist/index.es307.js +0 -25
- package/dist/index.es308.js +0 -23
- package/dist/index.es309.js +0 -4
- package/dist/index.es31.js +0 -17
- package/dist/index.es310.js +0 -9408
- package/dist/index.es311.js +0 -15314
- package/dist/index.es312.js +0 -5
- package/dist/index.es313.js +0 -63
- package/dist/index.es314.js +0 -12
- package/dist/index.es315.js +0 -5
- package/dist/index.es316.js +0 -7
- package/dist/index.es317.js +0 -10
- package/dist/index.es318.js +0 -5
- package/dist/index.es319.js +0 -47
- package/dist/index.es32.js +0 -29
- package/dist/index.es320.js +0 -31
- package/dist/index.es321.js +0 -59
- package/dist/index.es322.js +0 -22
- package/dist/index.es323.js +0 -24
- package/dist/index.es324.js +0 -47
- package/dist/index.es325.js +0 -34
- package/dist/index.es326.js +0 -86
- package/dist/index.es327.js +0 -9
- package/dist/index.es328.js +0 -17
- package/dist/index.es329.js +0 -46
- package/dist/index.es33.js +0 -60
- package/dist/index.es330.js +0 -36
- package/dist/index.es331.js +0 -30
- package/dist/index.es332.js +0 -28
- package/dist/index.es333.js +0 -10
- package/dist/index.es334.js +0 -423
- package/dist/index.es335.js +0 -15
- package/dist/index.es336.js +0 -37
- package/dist/index.es337.js +0 -50
- package/dist/index.es338.js +0 -36
- package/dist/index.es339.js +0 -183
- package/dist/index.es34.js +0 -78
- package/dist/index.es340.js +0 -50
- package/dist/index.es341.js +0 -14
- package/dist/index.es342.js +0 -27
- package/dist/index.es343.js +0 -31
- package/dist/index.es344.js +0 -7
- package/dist/index.es345.js +0 -50
- package/dist/index.es346.js +0 -50
- package/dist/index.es347.js +0 -50
- package/dist/index.es348.js +0 -17
- package/dist/index.es349.js +0 -5
- package/dist/index.es35.js +0 -26
- package/dist/index.es350.js +0 -7
- package/dist/index.es351.js +0 -59
- package/dist/index.es352.js +0 -33
- package/dist/index.es353.js +0 -49
- package/dist/index.es354.js +0 -69
- package/dist/index.es355.js +0 -40
- package/dist/index.es356.js +0 -21
- package/dist/index.es357.js +0 -75
- package/dist/index.es358.js +0 -75
- package/dist/index.es359.js +0 -77
- package/dist/index.es36.js +0 -77
- package/dist/index.es360.js +0 -77
- package/dist/index.es361.js +0 -48
- package/dist/index.es362.js +0 -49
- package/dist/index.es363.js +0 -61
- package/dist/index.es364.js +0 -51
- package/dist/index.es365.js +0 -49
- package/dist/index.es366.js +0 -80
- package/dist/index.es367.js +0 -80
- package/dist/index.es368.js +0 -105
- package/dist/index.es369.js +0 -49
- package/dist/index.es37.js +0 -16
- package/dist/index.es370.js +0 -49
- package/dist/index.es371.js +0 -49
- package/dist/index.es372.js +0 -33
- package/dist/index.es373.js +0 -32
- package/dist/index.es374.js +0 -32
- package/dist/index.es375.js +0 -33
- package/dist/index.es376.js +0 -32
- package/dist/index.es377.js +0 -32
- package/dist/index.es378.js +0 -22
- package/dist/index.es379.js +0 -48
- package/dist/index.es38.js +0 -111
- package/dist/index.es380.js +0 -48
- package/dist/index.es381.js +0 -22
- package/dist/index.es382.js +0 -22
- package/dist/index.es383.js +0 -32
- package/dist/index.es384.js +0 -50
- package/dist/index.es385.js +0 -50
- package/dist/index.es386.js +0 -4
- package/dist/index.es387.js +0 -4
- package/dist/index.es388.js +0 -4
- package/dist/index.es389.js +0 -10
- package/dist/index.es39.js +0 -119
- package/dist/index.es390.js +0 -4
- package/dist/index.es391.js +0 -12
- package/dist/index.es392.js +0 -12
- package/dist/index.es393.js +0 -7
- package/dist/index.es394.js +0 -7
- package/dist/index.es395.js +0 -7
- package/dist/index.es396.js +0 -9
- package/dist/index.es397.js +0 -336
- package/dist/index.es398.js +0 -21
- package/dist/index.es399.js +0 -6
- package/dist/index.es4.js +0 -15
- package/dist/index.es40.js +0 -126
- package/dist/index.es400.js +0 -7
- package/dist/index.es401.js +0 -5
- package/dist/index.es402.js +0 -74
- package/dist/index.es403.js +0 -6
- package/dist/index.es404.js +0 -279
- package/dist/index.es405.js +0 -4
- package/dist/index.es406.js +0 -110
- package/dist/index.es407.js +0 -79
- package/dist/index.es408.js +0 -41
- package/dist/index.es409.js +0 -70
- package/dist/index.es41.js +0 -141
- package/dist/index.es410.js +0 -39
- package/dist/index.es411.js +0 -71
- package/dist/index.es412.js +0 -118
- package/dist/index.es413.js +0 -99
- package/dist/index.es414.js +0 -48
- package/dist/index.es415.js +0 -30
- package/dist/index.es416.js +0 -4
- package/dist/index.es417.js +0 -246
- package/dist/index.es418.js +0 -389
- package/dist/index.es419.js +0 -170
- package/dist/index.es42.js +0 -50
- package/dist/index.es420.js +0 -155
- package/dist/index.es421.js +0 -145
- package/dist/index.es422.js +0 -202
- package/dist/index.es423.js +0 -4
- package/dist/index.es424.js +0 -133
- package/dist/index.es425.js +0 -219
- package/dist/index.es426.js +0 -32
- package/dist/index.es427.js +0 -50
- package/dist/index.es428.js +0 -6
- package/dist/index.es429.js +0 -5
- package/dist/index.es43.js +0 -21
- package/dist/index.es430.js +0 -32
- package/dist/index.es431.js +0 -7
- package/dist/index.es432.js +0 -5
- package/dist/index.es433.js +0 -26
- package/dist/index.es434.js +0 -112
- package/dist/index.es435.js +0 -18
- package/dist/index.es436.js +0 -4
- package/dist/index.es437.js +0 -233
- package/dist/index.es438.js +0 -236
- package/dist/index.es439.js +0 -70
- package/dist/index.es44.js +0 -198
- package/dist/index.es440.js +0 -33
- package/dist/index.es441.js +0 -11
- package/dist/index.es442.js +0 -155
- package/dist/index.es443.js +0 -110
- package/dist/index.es444.js +0 -22
- package/dist/index.es445.js +0 -103
- package/dist/index.es446.js +0 -49
- package/dist/index.es447.js +0 -50
- package/dist/index.es448.js +0 -525
- package/dist/index.es449.js +0 -129
- package/dist/index.es45.js +0 -86
- package/dist/index.es450.js +0 -131
- package/dist/index.es451.js +0 -8
- package/dist/index.es452.js +0 -17
- package/dist/index.es453.js +0 -4
- package/dist/index.es454.js +0 -10
- package/dist/index.es455.js +0 -329
- package/dist/index.es456.js +0 -52
- package/dist/index.es457.js +0 -6
- package/dist/index.es458.js +0 -4
- package/dist/index.es459.js +0 -4
- package/dist/index.es46.js +0 -57
- package/dist/index.es460.js +0 -4
- package/dist/index.es461.js +0 -4
- package/dist/index.es462.js +0 -13
- package/dist/index.es463.js +0 -4
- package/dist/index.es464.js +0 -4
- package/dist/index.es465.js +0 -50
- package/dist/index.es466.js +0 -4
- package/dist/index.es467.js +0 -4
- package/dist/index.es468.js +0 -10
- package/dist/index.es469.js +0 -4
- package/dist/index.es47.js +0 -35
- package/dist/index.es470.js +0 -4
- package/dist/index.es471.js +0 -30
- package/dist/index.es472.js +0 -4
- package/dist/index.es473.js +0 -4
- package/dist/index.es474.js +0 -29
- package/dist/index.es475.js +0 -100
- package/dist/index.es476.js +0 -56
- package/dist/index.es477.js +0 -20
- package/dist/index.es478.js +0 -4
- package/dist/index.es479.js +0 -31
- package/dist/index.es48.js +0 -48
- package/dist/index.es480.js +0 -4
- package/dist/index.es481.js +0 -70
- package/dist/index.es482.js +0 -33
- package/dist/index.es483.js +0 -18
- package/dist/index.es484.js +0 -143
- package/dist/index.es485.js +0 -116
- package/dist/index.es486.js +0 -274
- package/dist/index.es487.js +0 -82
- package/dist/index.es488.js +0 -168
- package/dist/index.es489.js +0 -27
- package/dist/index.es49.js +0 -129
- package/dist/index.es490.js +0 -8
- package/dist/index.es491.js +0 -130
- package/dist/index.es492.js +0 -27
- package/dist/index.es493.js +0 -7
- package/dist/index.es494.js +0 -15
- package/dist/index.es495.js +0 -45
- package/dist/index.es496.js +0 -60
- package/dist/index.es497.js +0 -44
- package/dist/index.es498.js +0 -31
- package/dist/index.es499.js +0 -34
- package/dist/index.es5.js +0 -16
- package/dist/index.es50.js +0 -11
- package/dist/index.es500.js +0 -17
- package/dist/index.es501.js +0 -13
- package/dist/index.es502.js +0 -13
- package/dist/index.es503.js +0 -12
- package/dist/index.es504.js +0 -9
- package/dist/index.es505.js +0 -8
- package/dist/index.es506.js +0 -10
- package/dist/index.es507.js +0 -32
- package/dist/index.es508.js +0 -21
- package/dist/index.es509.js +0 -16
- package/dist/index.es51.js +0 -20
- package/dist/index.es510.js +0 -46
- package/dist/index.es511.js +0 -11
- package/dist/index.es512.js +0 -5
- package/dist/index.es513.js +0 -7
- package/dist/index.es514.js +0 -27
- package/dist/index.es515.js +0 -30
- package/dist/index.es516.js +0 -95
- package/dist/index.es517.js +0 -110
- package/dist/index.es518.js +0 -57
- package/dist/index.es519.js +0 -12
- package/dist/index.es52.js +0 -25
- package/dist/index.es520.js +0 -28
- package/dist/index.es521.js +0 -384
- package/dist/index.es522.js +0 -36
- package/dist/index.es523.js +0 -9
- package/dist/index.es524.js +0 -9
- package/dist/index.es525.js +0 -7
- package/dist/index.es526.js +0 -9
- package/dist/index.es527.js +0 -53
- package/dist/index.es528.js +0 -17
- package/dist/index.es529.js +0 -57
- package/dist/index.es53.js +0 -36
- package/dist/index.es530.js +0 -8
- package/dist/index.es531.js +0 -284
- package/dist/index.es532.js +0 -39
- package/dist/index.es533.js +0 -22
- package/dist/index.es534.js +0 -34
- package/dist/index.es535.js +0 -32
- package/dist/index.es536.js +0 -10
- package/dist/index.es537.js +0 -4
- package/dist/index.es538.js +0 -55
- package/dist/index.es539.js +0 -67
- package/dist/index.es54.js +0 -25
- package/dist/index.es540.js +0 -10
- package/dist/index.es541.js +0 -36
- package/dist/index.es542.js +0 -23
- package/dist/index.es543.js +0 -47
- package/dist/index.es544.js +0 -32
- package/dist/index.es545.js +0 -11
- package/dist/index.es546.js +0 -59
- package/dist/index.es547.js +0 -15
- package/dist/index.es548.js +0 -24
- package/dist/index.es549.js +0 -62
- package/dist/index.es55.js +0 -16
- package/dist/index.es550.js +0 -36
- package/dist/index.es551.js +0 -174
- package/dist/index.es552.js +0 -124
- package/dist/index.es553.js +0 -22
- package/dist/index.es554.js +0 -234
- package/dist/index.es555.js +0 -24
- package/dist/index.es556.js +0 -32
- package/dist/index.es557.js +0 -121
- package/dist/index.es558.js +0 -40
- package/dist/index.es559.js +0 -74
- package/dist/index.es56.js +0 -31
- package/dist/index.es560.js +0 -23
- package/dist/index.es561.js +0 -170
- package/dist/index.es562.js +0 -52
- package/dist/index.es563.js +0 -4
- package/dist/index.es564.js +0 -4
- package/dist/index.es565.js +0 -50
- package/dist/index.es566.js +0 -67
- package/dist/index.es567.js +0 -71
- package/dist/index.es568.js +0 -11
- package/dist/index.es569.js +0 -16
- package/dist/index.es57.js +0 -150
- package/dist/index.es570.js +0 -64
- package/dist/index.es571.js +0 -9
- package/dist/index.es572.js +0 -18
- package/dist/index.es573.js +0 -31
- package/dist/index.es574.js +0 -15
- package/dist/index.es575.js +0 -4
- package/dist/index.es576.js +0 -78
- package/dist/index.es577.js +0 -95
- package/dist/index.es578.js +0 -54
- package/dist/index.es579.js +0 -10
- package/dist/index.es58.js +0 -30
- package/dist/index.es580.js +0 -7
- package/dist/index.es581.js +0 -54
- package/dist/index.es582.js +0 -4
- package/dist/index.es583.js +0 -15
- package/dist/index.es584.js +0 -4
- package/dist/index.es585.js +0 -81
- package/dist/index.es586.js +0 -98
- package/dist/index.es587.js +0 -4
- package/dist/index.es588.js +0 -33
- package/dist/index.es589.js +0 -4
- package/dist/index.es59.js +0 -252
- package/dist/index.es590.js +0 -27
- package/dist/index.es591.js +0 -30
- package/dist/index.es592.js +0 -34
- package/dist/index.es593.js +0 -27
- package/dist/index.es594.js +0 -31
- package/dist/index.es595.js +0 -55
- package/dist/index.es596.js +0 -42
- package/dist/index.es597.js +0 -27
- package/dist/index.es598.js +0 -29
- package/dist/index.es599.js +0 -27
- package/dist/index.es6.js +0 -15
- package/dist/index.es60.js +0 -87
- package/dist/index.es600.js +0 -27
- package/dist/index.es601.js +0 -29
- package/dist/index.es602.js +0 -4
- package/dist/index.es603.js +0 -35
- package/dist/index.es604.js +0 -32
- package/dist/index.es605.js +0 -38
- package/dist/index.es606.js +0 -35
- package/dist/index.es607.js +0 -33
- package/dist/index.es608.js +0 -32
- package/dist/index.es609.js +0 -78
- package/dist/index.es61.js +0 -98
- package/dist/index.es610.js +0 -32
- package/dist/index.es611.js +0 -38
- package/dist/index.es612.js +0 -50
- package/dist/index.es613.js +0 -32
- package/dist/index.es614.js +0 -52
- package/dist/index.es615.js +0 -129
- package/dist/index.es616.js +0 -52
- package/dist/index.es617.js +0 -33
- package/dist/index.es618.js +0 -32
- package/dist/index.es619.js +0 -32
- package/dist/index.es62.js +0 -51
- package/dist/index.es620.js +0 -32
- package/dist/index.es621.js +0 -29
- package/dist/index.es622.js +0 -36
- package/dist/index.es623.js +0 -32
- package/dist/index.es624.js +0 -27
- package/dist/index.es625.js +0 -32
- package/dist/index.es626.js +0 -54
- package/dist/index.es627.js +0 -124
- package/dist/index.es628.js +0 -30
- package/dist/index.es629.js +0 -42
- package/dist/index.es63.js +0 -39
- package/dist/index.es630.js +0 -50
- package/dist/index.es631.js +0 -61
- package/dist/index.es632.js +0 -50
- package/dist/index.es633.js +0 -32
- package/dist/index.es634.js +0 -49
- package/dist/index.es635.js +0 -42
- package/dist/index.es636.js +0 -68
- package/dist/index.es637.js +0 -42
- package/dist/index.es638.js +0 -29
- package/dist/index.es639.js +0 -32
- package/dist/index.es64.js +0 -46
- package/dist/index.es640.js +0 -36
- package/dist/index.es641.js +0 -27
- package/dist/index.es642.js +0 -32
- package/dist/index.es643.js +0 -49
- package/dist/index.es644.js +0 -34
- package/dist/index.es645.js +0 -48
- package/dist/index.es646.js +0 -34
- package/dist/index.es647.js +0 -34
- package/dist/index.es648.js +0 -38
- package/dist/index.es649.js +0 -32
- package/dist/index.es65.js +0 -48
- package/dist/index.es650.js +0 -27
- package/dist/index.es651.js +0 -27
- package/dist/index.es652.js +0 -49
- package/dist/index.es653.js +0 -32
- package/dist/index.es654.js +0 -36
- package/dist/index.es655.js +0 -39
- package/dist/index.es656.js +0 -42
- package/dist/index.es657.js +0 -37
- package/dist/index.es658.js +0 -49
- package/dist/index.es659.js +0 -40
- package/dist/index.es66.js +0 -129
- package/dist/index.es660.js +0 -42
- package/dist/index.es661.js +0 -47
- package/dist/index.es662.js +0 -36
- package/dist/index.es663.js +0 -27
- package/dist/index.es664.js +0 -40
- package/dist/index.es665.js +0 -39
- package/dist/index.es666.js +0 -47
- package/dist/index.es667.js +0 -43
- package/dist/index.es668.js +0 -35
- package/dist/index.es669.js +0 -32
- package/dist/index.es67.js +0 -7
- package/dist/index.es670.js +0 -32
- package/dist/index.es671.js +0 -32
- package/dist/index.es672.js +0 -34
- package/dist/index.es673.js +0 -34
- package/dist/index.es674.js +0 -35
- package/dist/index.es675.js +0 -36
- package/dist/index.es676.js +0 -27
- package/dist/index.es677.js +0 -37
- package/dist/index.es678.js +0 -112
- package/dist/index.es679.js +0 -32
- package/dist/index.es68.js +0 -32
- package/dist/index.es680.js +0 -27
- package/dist/index.es681.js +0 -34
- package/dist/index.es682.js +0 -27
- package/dist/index.es683.js +0 -33
- package/dist/index.es684.js +0 -27
- package/dist/index.es685.js +0 -32
- package/dist/index.es686.js +0 -4
- package/dist/index.es687.js +0 -38
- package/dist/index.es688.js +0 -38
- package/dist/index.es689.js +0 -38
- package/dist/index.es69.js +0 -22
- package/dist/index.es690.js +0 -38
- package/dist/index.es691.js +0 -35
- package/dist/index.es692.js +0 -38
- package/dist/index.es693.js +0 -38
- package/dist/index.es694.js +0 -35
- package/dist/index.es695.js +0 -38
- package/dist/index.es696.js +0 -38
- package/dist/index.es697.js +0 -38
- package/dist/index.es698.js +0 -38
- package/dist/index.es699.js +0 -38
- package/dist/index.es7.js +0 -13
- package/dist/index.es70.js +0 -148
- package/dist/index.es700.js +0 -38
- package/dist/index.es701.js +0 -38
- package/dist/index.es702.js +0 -38
- package/dist/index.es703.js +0 -38
- package/dist/index.es704.js +0 -38
- package/dist/index.es705.js +0 -38
- package/dist/index.es706.js +0 -38
- package/dist/index.es707.js +0 -33
- package/dist/index.es708.js +0 -38
- package/dist/index.es709.js +0 -38
- package/dist/index.es71.js +0 -71
- package/dist/index.es710.js +0 -38
- package/dist/index.es711.js +0 -35
- package/dist/index.es712.js +0 -38
- package/dist/index.es713.js +0 -38
- package/dist/index.es714.js +0 -35
- package/dist/index.es715.js +0 -38
- package/dist/index.es716.js +0 -37
- package/dist/index.es717.js +0 -38
- package/dist/index.es718.js +0 -38
- package/dist/index.es719.js +0 -38
- package/dist/index.es72.js +0 -81
- package/dist/index.es720.js +0 -38
- package/dist/index.es721.js +0 -32
- package/dist/index.es722.js +0 -38
- 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 -4
- package/dist/index.es727.js +0 -48
- package/dist/index.es728.js +0 -52
- package/dist/index.es729.js +0 -33
- package/dist/index.es73.js +0 -94
- package/dist/index.es730.js +0 -4
- package/dist/index.es731.js +0 -24
- package/dist/index.es732.js +0 -85
- package/dist/index.es733.js +0 -7
- package/dist/index.es734.js +0 -6
- package/dist/index.es735.js +0 -7
- package/dist/index.es736.js +0 -11
- package/dist/index.es737.js +0 -4
- package/dist/index.es738.js +0 -4
- package/dist/index.es739.js +0 -44
- package/dist/index.es74.js +0 -98
- package/dist/index.es740.js +0 -74
- package/dist/index.es741.js +0 -8
- package/dist/index.es742.js +0 -8
- package/dist/index.es743.js +0 -8
- package/dist/index.es744.js +0 -8
- package/dist/index.es745.js +0 -8
- package/dist/index.es746.js +0 -8
- package/dist/index.es747.js +0 -8
- package/dist/index.es748.js +0 -8
- package/dist/index.es749.js +0 -8
- package/dist/index.es75.js +0 -4
- package/dist/index.es750.js +0 -8
- package/dist/index.es751.js +0 -8
- package/dist/index.es752.js +0 -8
- package/dist/index.es753.js +0 -8
- package/dist/index.es754.js +0 -8
- package/dist/index.es755.js +0 -8
- package/dist/index.es756.js +0 -8
- package/dist/index.es757.js +0 -8
- package/dist/index.es758.js +0 -8
- package/dist/index.es759.js +0 -8
- package/dist/index.es76.js +0 -96
- package/dist/index.es760.js +0 -8
- package/dist/index.es761.js +0 -8
- package/dist/index.es762.js +0 -8
- package/dist/index.es763.js +0 -8
- package/dist/index.es764.js +0 -8
- package/dist/index.es765.js +0 -8
- package/dist/index.es766.js +0 -8
- package/dist/index.es767.js +0 -8
- package/dist/index.es768.js +0 -8
- package/dist/index.es769.js +0 -8
- package/dist/index.es77.js +0 -74
- package/dist/index.es770.js +0 -8
- package/dist/index.es771.js +0 -8
- package/dist/index.es772.js +0 -8
- package/dist/index.es773.js +0 -8
- package/dist/index.es774.js +0 -8
- package/dist/index.es775.js +0 -6
- package/dist/index.es776.js +0 -25
- package/dist/index.es777.js +0 -4
- package/dist/index.es778.js +0 -4
- package/dist/index.es779.js +0 -4
- package/dist/index.es78.js +0 -28
- package/dist/index.es780.js +0 -4
- package/dist/index.es781.js +0 -4
- package/dist/index.es782.js +0 -4
- package/dist/index.es783.js +0 -4
- package/dist/index.es784.js +0 -4
- package/dist/index.es785.js +0 -4
- package/dist/index.es786.js +0 -4
- package/dist/index.es787.js +0 -4
- package/dist/index.es788.js +0 -4
- package/dist/index.es789.js +0 -4
- package/dist/index.es79.js +0 -18
- package/dist/index.es790.js +0 -4
- package/dist/index.es791.js +0 -4
- package/dist/index.es792.js +0 -4
- package/dist/index.es793.js +0 -4
- package/dist/index.es794.js +0 -4
- package/dist/index.es795.js +0 -4
- package/dist/index.es796.js +0 -4
- package/dist/index.es797.js +0 -4
- package/dist/index.es798.js +0 -4
- package/dist/index.es799.js +0 -4
- package/dist/index.es8.js +0 -14
- package/dist/index.es80.js +0 -107
- package/dist/index.es800.js +0 -4
- package/dist/index.es801.js +0 -4
- package/dist/index.es802.js +0 -4
- package/dist/index.es803.js +0 -4
- package/dist/index.es804.js +0 -4
- package/dist/index.es805.js +0 -4
- package/dist/index.es806.js +0 -4
- package/dist/index.es807.js +0 -4
- package/dist/index.es808.js +0 -4
- package/dist/index.es809.js +0 -4
- package/dist/index.es81.js +0 -57
- package/dist/index.es810.js +0 -4
- package/dist/index.es811.js +0 -4
- package/dist/index.es812.js +0 -4
- 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 -4
- package/dist/index.es91.js +0 -54
- package/dist/index.es910.js +0 -4
- package/dist/index.es911.js +0 -4
- 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 -16
- package/dist/index.es921.js +0 -16
- package/dist/index.es922.js +0 -16
- package/dist/index.es923.js +0 -16
- package/dist/index.es924.js +0 -16
- package/dist/index.es925.js +0 -16
- package/dist/index.es926.js +0 -16
- package/dist/index.es927.js +0 -16
- package/dist/index.es928.js +0 -16
- package/dist/index.es929.js +0 -16
- package/dist/index.es93.js +0 -10
- package/dist/index.es930.js +0 -16
- package/dist/index.es931.js +0 -16
- package/dist/index.es932.js +0 -16
- package/dist/index.es933.js +0 -16
- package/dist/index.es934.js +0 -16
- package/dist/index.es935.js +0 -16
- package/dist/index.es936.js +0 -16
- package/dist/index.es937.js +0 -16
- package/dist/index.es938.js +0 -16
- package/dist/index.es939.js +0 -16
- package/dist/index.es94.js +0 -12
- package/dist/index.es940.js +0 -16
- package/dist/index.es941.js +0 -16
- package/dist/index.es942.js +0 -16
- package/dist/index.es943.js +0 -16
- package/dist/index.es944.js +0 -16
- package/dist/index.es945.js +0 -16
- package/dist/index.es946.js +0 -16
- package/dist/index.es947.js +0 -16
- package/dist/index.es948.js +0 -16
- package/dist/index.es949.js +0 -16
- package/dist/index.es95.js +0 -4
- package/dist/index.es950.js +0 -16
- package/dist/index.es951.js +0 -16
- package/dist/index.es952.js +0 -16
- package/dist/index.es953.js +0 -16
- package/dist/index.es954.js +0 -25
- package/dist/index.es955.js +0 -15
- package/dist/index.es956.js +0 -30
- package/dist/index.es957.js +0 -7
- 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,358 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("react"),ws=require("react-dom");function jq(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 D=jq(k),X1=jq(ws);var GR=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zq(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var YR={exports:{}},lE={};var Y4;function KI(){if(Y4)return lE;Y4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(l,s,c){var h=null;if(c!==void 0&&(h=""+c),s.key!==void 0&&(h=""+s.key),"key"in s){c={};for(var m in s)m!=="key"&&(c[m]=s[m])}else c=s;return s=c.ref,{$$typeof:e,type:l,key:h,ref:s!==void 0?s:null,props:c}}return lE.Fragment=t,lE.jsx=r,lE.jsxs=r,lE}var oE={};var X4;function GI(){return X4||(X4=1,process.env.NODE_ENV!=="production"&&(function(){function e(oe){if(oe==null)return null;if(typeof oe=="function")return oe.$$typeof===W?null:oe.displayName||oe.name||null;if(typeof oe=="string")return oe;switch(oe){case L:return"Fragment";case U:return"Profiler";case P:return"StrictMode";case F:return"Suspense";case K:return"SuspenseList";case de:return"Activity"}if(typeof oe=="object")switch(typeof oe.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),oe.$$typeof){case N:return"Portal";case Y:return oe.displayName||"Context";case I:return(oe._context.displayName||"Context")+".Consumer";case V:var ue=oe.render;return oe=oe.displayName,oe||(oe=ue.displayName||ue.name||"",oe=oe!==""?"ForwardRef("+oe+")":"ForwardRef"),oe;case Q:return ue=oe.displayName||null,ue!==null?ue:e(oe.type)||"Memo";case he:ue=oe._payload,oe=oe._init;try{return e(oe(ue))}catch{}}return null}function t(oe){return""+oe}function r(oe){try{t(oe);var ue=!1}catch{ue=!0}if(ue){ue=console;var ce=ue.error,De=typeof Symbol=="function"&&Symbol.toStringTag&&oe[Symbol.toStringTag]||oe.constructor.name||"Object";return ce.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",De),t(oe)}}function l(oe){if(oe===L)return"<>";if(typeof oe=="object"&&oe!==null&&oe.$$typeof===he)return"<...>";try{var ue=e(oe);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function s(){var oe=se.A;return oe===null?null:oe.getOwner()}function c(){return Error("react-stack-top-frame")}function h(oe){if(le.call(oe,"key")){var ue=Object.getOwnPropertyDescriptor(oe,"key").get;if(ue&&ue.isReactWarning)return!1}return oe.key!==void 0}function m(oe,ue){function ce(){B||(B=!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)",ue))}ce.isReactWarning=!0,Object.defineProperty(oe,"key",{get:ce,configurable:!0})}function b(){var oe=e(this.type);return Z[oe]||(Z[oe]=!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.")),oe=this.props.ref,oe!==void 0?oe:null}function E(oe,ue,ce,De,je,Ke){var _e=ce.ref;return oe={$$typeof:q,type:oe,key:ue,props:ce,_owner:De},(_e!==void 0?_e:null)!==null?Object.defineProperty(oe,"ref",{enumerable:!1,get:b}):Object.defineProperty(oe,"ref",{enumerable:!1,value:null}),oe._store={},Object.defineProperty(oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(oe,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(oe,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:je}),Object.defineProperty(oe,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ke}),Object.freeze&&(Object.freeze(oe.props),Object.freeze(oe)),oe}function C(oe,ue,ce,De,je,Ke){var _e=ue.children;if(_e!==void 0)if(De)if(ae(_e)){for(De=0;De<_e.length;De++)S(_e[De]);Object.freeze&&Object.freeze(_e)}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 S(_e);if(le.call(ue,"key")){_e=e(oe);var Je=Object.keys(ue).filter(function(ke){return ke!=="key"});De=0<Je.length?"{key: someKey, "+Je.join(": ..., ")+": ...}":"{key: someKey}",re[_e+De]||(Je=0<Je.length?"{"+Je.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} />`,De,_e,Je,_e),re[_e+De]=!0)}if(_e=null,ce!==void 0&&(r(ce),_e=""+ce),h(ue)&&(r(ue.key),_e=""+ue.key),"key"in ue){ce={};for(var ie in ue)ie!=="key"&&(ce[ie]=ue[ie])}else ce=ue;return _e&&m(ce,typeof oe=="function"?oe.displayName||oe.name||"Unknown":oe),E(oe,_e,ce,s(),je,Ke)}function S(oe){R(oe)?oe._store&&(oe._store.validated=1):typeof oe=="object"&&oe!==null&&oe.$$typeof===he&&(oe._payload.status==="fulfilled"?R(oe._payload.value)&&oe._payload.value._store&&(oe._payload.value._store.validated=1):oe._store&&(oe._store.validated=1))}function R(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===q}var M=k,q=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),se=M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le=Object.prototype.hasOwnProperty,ae=Array.isArray,xe=console.createTask?console.createTask:function(){return null};M={react_stack_bottom_frame:function(oe){return oe()}};var B,Z={},te=M.react_stack_bottom_frame.bind(M,c)(),be=xe(l(c)),re={};oE.Fragment=L,oE.jsx=function(oe,ue,ce){var De=1e4>se.recentlyCreatedOwnerStacks++;return C(oe,ue,ce,!1,De?Error("react-stack-top-frame"):te,De?xe(l(oe)):be)},oE.jsxs=function(oe,ue,ce){var De=1e4>se.recentlyCreatedOwnerStacks++;return C(oe,ue,ce,!0,De?Error("react-stack-top-frame"):te,De?xe(l(oe)):be)}})()),oE}var Q4;function YI(){return Q4||(Q4=1,process.env.NODE_ENV==="production"?YR.exports=KI():YR.exports=GI()),YR.exports}var O=YI();function Bq(e){var t,r,l="";if(typeof e=="string"||typeof e=="number")l+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=Bq(e[t]))&&(l&&(l+=" "),l+=r)}else for(r in e)e[r]&&(l&&(l+=" "),l+=r);return l}function oM(){for(var e,t,r=0,l="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=Bq(e))&&(l&&(l+=" "),l+=t);return l}const XI=(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},QI=(e,t)=>({classGroupId:e,validator:t}),kq=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),OT="-",Z4=[],ZI="arbitrary..",WI=e=>{const t=eH(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:h=>{if(h.startsWith("[")&&h.endsWith("]"))return JI(h);const m=h.split(OT),b=m[0]===""&&m.length>1?1:0;return Uq(m,b,t)},getConflictingClassGroupIds:(h,m)=>{if(m){const b=l[h],E=r[h];return b?E?XI(E,b):b:E||Z4}return r[h]||Z4}}},Uq=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const s=e[t],c=r.nextPart.get(s);if(c){const E=Uq(e,t+1,c);if(E)return E}const h=r.validators;if(h===null)return;const m=t===0?e.join(OT):e.slice(t).join(OT),b=h.length;for(let E=0;E<b;E++){const C=h[E];if(C.validator(m))return C.classGroupId}},JI=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?ZI+l:void 0})(),eH=e=>{const{theme:t,classGroups:r}=e;return tH(r,t)},tH=(e,t)=>{const r=kq();for(const l in e){const s=e[l];iM(s,r,l,t)}return r},iM=(e,t,r,l)=>{const s=e.length;for(let c=0;c<s;c++){const h=e[c];nH(h,t,r,l)}},nH=(e,t,r,l)=>{if(typeof e=="string"){rH(e,t,r);return}if(typeof e=="function"){aH(e,t,r,l);return}lH(e,t,r,l)},rH=(e,t,r)=>{const l=e===""?t:Iq(t,e);l.classGroupId=r},aH=(e,t,r,l)=>{if(oH(e)){iM(e(l),t,r,l);return}t.validators===null&&(t.validators=[]),t.validators.push(QI(r,e))},lH=(e,t,r,l)=>{const s=Object.entries(e),c=s.length;for(let h=0;h<c;h++){const[m,b]=s[h];iM(b,Iq(t,m),r,l)}},Iq=(e,t)=>{let r=e;const l=t.split(OT),s=l.length;for(let c=0;c<s;c++){const h=l[c];let m=r.nextPart.get(h);m||(m=kq(),r.nextPart.set(h,m)),r=m}return r},oH=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,iH=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),l=Object.create(null);const s=(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 s(c,h),h},set(c,h){c in r?r[c]=h:s(c,h)}}},WD="!",W4=":",uH=[],J4=(e,t,r,l,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:l,isExternal:s}),sH=e=>{const{prefix:t,experimentalParseClassName:r}=e;let l=s=>{const c=[];let h=0,m=0,b=0,E;const C=s.length;for(let N=0;N<C;N++){const L=s[N];if(h===0&&m===0){if(L===W4){c.push(s.slice(b,N)),b=N+1;continue}if(L==="/"){E=N;continue}}L==="["?h++:L==="]"?h--:L==="("?m++:L===")"&&m--}const S=c.length===0?s:s.slice(b);let R=S,M=!1;S.endsWith(WD)?(R=S.slice(0,-1),M=!0):S.startsWith(WD)&&(R=S.slice(1),M=!0);const q=E&&E>b?E-b:void 0;return J4(c,M,R,q)};if(t){const s=t+W4,c=l;l=h=>h.startsWith(s)?c(h.slice(s.length)):J4(uH,!1,h,void 0,!0)}if(r){const s=l;l=c=>r({className:c,parseClassName:s})}return l},cH=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,l)=>{t.set(r,1e6+l)}),r=>{const l=[];let s=[];for(let c=0;c<r.length;c++){const h=r[c],m=h[0]==="[",b=t.has(h);m||b?(s.length>0&&(s.sort(),l.push(...s),s=[]),l.push(h)):s.push(h)}return s.length>0&&(s.sort(),l.push(...s)),l}},fH=e=>({cache:iH(e.cacheSize),parseClassName:sH(e),sortModifiers:cH(e),...WI(e)}),dH=/\s+/,pH=(e,t)=>{const{parseClassName:r,getClassGroupId:l,getConflictingClassGroupIds:s,sortModifiers:c}=t,h=[],m=e.trim().split(dH);let b="";for(let E=m.length-1;E>=0;E-=1){const C=m[E],{isExternal:S,modifiers:R,hasImportantModifier:M,baseClassName:q,maybePostfixModifierPosition:N}=r(C);if(S){b=C+(b.length>0?" "+b:b);continue}let L=!!N,P=l(L?q.substring(0,N):q);if(!P){if(!L){b=C+(b.length>0?" "+b:b);continue}if(P=l(q),!P){b=C+(b.length>0?" "+b:b);continue}L=!1}const U=R.length===0?"":R.length===1?R[0]:c(R).join(":"),I=M?U+WD:U,Y=I+P;if(h.indexOf(Y)>-1)continue;h.push(Y);const V=s(P,L);for(let F=0;F<V.length;++F){const K=V[F];h.push(I+K)}b=C+(b.length>0?" "+b:b)}return b},hH=(...e)=>{let t=0,r,l,s="";for(;t<e.length;)(r=e[t++])&&(l=Hq(r))&&(s&&(s+=" "),s+=l);return s},Hq=e=>{if(typeof e=="string")return e;let t,r="";for(let l=0;l<e.length;l++)e[l]&&(t=Hq(e[l]))&&(r&&(r+=" "),r+=t);return r},JD=(e,...t)=>{let r,l,s,c;const h=b=>{const E=t.reduce((C,S)=>S(C),e());return r=fH(E),l=r.cache.get,s=r.cache.set,c=m,m(b)},m=b=>{const E=l(b);if(E)return E;const C=pH(b,r);return s(b,C),C};return c=h,(...b)=>c(hH(...b))},mH=[],Il=e=>{const t=r=>r[e]||mH;return t.isThemeGetter=!0,t},Vq=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fq=/^\((?:(\w[\w-]*):)?(.+)\)$/i,vH=/^\d+\/\d+$/,gH=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yH=/\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$/,bH=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xH=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,EH=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,w1=e=>vH.test(e),pn=e=>!!e&&!Number.isNaN(Number(e)),bg=e=>!!e&&Number.isInteger(Number(e)),aD=e=>e.endsWith("%")&&pn(e.slice(0,-1)),hm=e=>gH.test(e),SH=()=>!0,CH=e=>yH.test(e)&&!bH.test(e),Kq=()=>!1,wH=e=>xH.test(e),RH=e=>EH.test(e),TH=e=>!Et(e)&&!St(e),_H=e=>Q1(e,Xq,Kq),Et=e=>Vq.test(e),Bb=e=>Q1(e,Qq,CH),lD=e=>Q1(e,NH,pn),eN=e=>Q1(e,Gq,Kq),AH=e=>Q1(e,Yq,RH),XR=e=>Q1(e,Zq,wH),St=e=>Fq.test(e),iE=e=>Z1(e,Qq),DH=e=>Z1(e,$H),tN=e=>Z1(e,Gq),MH=e=>Z1(e,Xq),OH=e=>Z1(e,Yq),QR=e=>Z1(e,Zq,!0),Q1=(e,t,r)=>{const l=Vq.exec(e);return l?l[1]?t(l[1]):r(l[2]):!1},Z1=(e,t,r=!1)=>{const l=Fq.exec(e);return l?l[1]?t(l[1]):r:!1},Gq=e=>e==="position"||e==="percentage",Yq=e=>e==="image"||e==="url",Xq=e=>e==="length"||e==="size"||e==="bg-size",Qq=e=>e==="length",NH=e=>e==="number",$H=e=>e==="family-name",Zq=e=>e==="shadow",e2=()=>{const e=Il("color"),t=Il("font"),r=Il("text"),l=Il("font-weight"),s=Il("tracking"),c=Il("leading"),h=Il("breakpoint"),m=Il("container"),b=Il("spacing"),E=Il("radius"),C=Il("shadow"),S=Il("inset-shadow"),R=Il("text-shadow"),M=Il("drop-shadow"),q=Il("blur"),N=Il("perspective"),L=Il("aspect"),P=Il("ease"),U=Il("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...Y(),St,Et],F=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto","contain","none"],Q=()=>[St,Et,b],he=()=>[w1,"full","auto",...Q()],de=()=>[bg,"none","subgrid",St,Et],W=()=>["auto",{span:["full",bg,St,Et]},bg,St,Et],se=()=>[bg,"auto",St,Et],le=()=>["auto","min","max","fr",St,Et],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],B=()=>["auto",...Q()],Z=()=>[w1,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Q()],te=()=>[e,St,Et],be=()=>[...Y(),tN,eN,{position:[St,Et]}],re=()=>["no-repeat",{repeat:["","x","y","space","round"]}],oe=()=>["auto","cover","contain",MH,_H,{size:[St,Et]}],ue=()=>[aD,iE,Bb],ce=()=>["","none","full",E,St,Et],De=()=>["",pn,iE,Bb],je=()=>["solid","dashed","dotted","double"],Ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>[pn,aD,tN,eN],Je=()=>["","none",q,St,Et],ie=()=>["none",pn,St,Et],ke=()=>["none",pn,St,Et],Ee=()=>[pn,St,Et],Ae=()=>[w1,"full",...Q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[hm],breakpoint:[hm],color:[SH],container:[hm],"drop-shadow":[hm],ease:["in","out","in-out"],font:[TH],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[hm],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[hm],shadow:[hm],spacing:["px",pn],text:[hm],"text-shadow":[hm],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",w1,Et,St,L]}],container:["container"],columns:[{columns:[pn,Et,St,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:V()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:he()}],"inset-x":[{"inset-x":he()}],"inset-y":[{"inset-y":he()}],start:[{start:he()}],end:[{end:he()}],top:[{top:he()}],right:[{right:he()}],bottom:[{bottom:he()}],left:[{left:he()}],visibility:["visible","invisible","collapse"],z:[{z:[bg,"auto",St,Et]}],basis:[{basis:[w1,"full","auto",m,...Q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[pn,w1,"auto","initial","none",Et]}],grow:[{grow:["",pn,St,Et]}],shrink:[{shrink:["",pn,St,Et]}],order:[{order:[bg,"first","last","none",St,Et]}],"grid-cols":[{"grid-cols":de()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":de()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:Q()}],"gap-x":[{"gap-x":Q()}],"gap-y":[{"gap-y":Q()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:Q()}],px:[{px:Q()}],py:[{py:Q()}],ps:[{ps:Q()}],pe:[{pe:Q()}],pt:[{pt:Q()}],pr:[{pr:Q()}],pb:[{pb:Q()}],pl:[{pl:Q()}],m:[{m:B()}],mx:[{mx:B()}],my:[{my:B()}],ms:[{ms:B()}],me:[{me:B()}],mt:[{mt:B()}],mr:[{mr:B()}],mb:[{mb:B()}],ml:[{ml:B()}],"space-x":[{"space-x":Q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Q()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],w:[{w:[m,"screen",...Z()]}],"min-w":[{"min-w":[m,"screen","none",...Z()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[h]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",r,iE,Bb]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,St,lD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",aD,Et]}],"font-family":[{font:[DH,Et,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:[s,St,Et]}],"line-clamp":[{"line-clamp":[pn,"none",St,lD]}],leading:[{leading:[c,...Q()]}],"list-image":[{"list-image":["none",St,Et]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",St,Et]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:te()}],"text-color":[{text:te()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:[pn,"from-font","auto",St,Bb]}],"text-decoration-color":[{decoration:te()}],"underline-offset":[{"underline-offset":[pn,"auto",St,Et]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",St,Et]}],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",St,Et]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:be()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},bg,St,Et],radial:["",St,Et],conic:[bg,St,Et]},OH,AH]}],"bg-color":[{bg:te()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:te()}],"gradient-via":[{via:te()}],"gradient-to":[{to:te()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:De()}],"border-w-x":[{"border-x":De()}],"border-w-y":[{"border-y":De()}],"border-w-s":[{"border-s":De()}],"border-w-e":[{"border-e":De()}],"border-w-t":[{"border-t":De()}],"border-w-r":[{"border-r":De()}],"border-w-b":[{"border-b":De()}],"border-w-l":[{"border-l":De()}],"divide-x":[{"divide-x":De()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":De()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...je(),"hidden","none"]}],"divide-style":[{divide:[...je(),"hidden","none"]}],"border-color":[{border:te()}],"border-color-x":[{"border-x":te()}],"border-color-y":[{"border-y":te()}],"border-color-s":[{"border-s":te()}],"border-color-e":[{"border-e":te()}],"border-color-t":[{"border-t":te()}],"border-color-r":[{"border-r":te()}],"border-color-b":[{"border-b":te()}],"border-color-l":[{"border-l":te()}],"divide-color":[{divide:te()}],"outline-style":[{outline:[...je(),"none","hidden"]}],"outline-offset":[{"outline-offset":[pn,St,Et]}],"outline-w":[{outline:["",pn,iE,Bb]}],"outline-color":[{outline:te()}],shadow:[{shadow:["","none",C,QR,XR]}],"shadow-color":[{shadow:te()}],"inset-shadow":[{"inset-shadow":["none",S,QR,XR]}],"inset-shadow-color":[{"inset-shadow":te()}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:te()}],"ring-offset-w":[{"ring-offset":[pn,Bb]}],"ring-offset-color":[{"ring-offset":te()}],"inset-ring-w":[{"inset-ring":De()}],"inset-ring-color":[{"inset-ring":te()}],"text-shadow":[{"text-shadow":["none",R,QR,XR]}],"text-shadow-color":[{"text-shadow":te()}],opacity:[{opacity:[pn,St,Et]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ke()}],"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":[pn]}],"mask-image-linear-from-pos":[{"mask-linear-from":_e()}],"mask-image-linear-to-pos":[{"mask-linear-to":_e()}],"mask-image-linear-from-color":[{"mask-linear-from":te()}],"mask-image-linear-to-color":[{"mask-linear-to":te()}],"mask-image-t-from-pos":[{"mask-t-from":_e()}],"mask-image-t-to-pos":[{"mask-t-to":_e()}],"mask-image-t-from-color":[{"mask-t-from":te()}],"mask-image-t-to-color":[{"mask-t-to":te()}],"mask-image-r-from-pos":[{"mask-r-from":_e()}],"mask-image-r-to-pos":[{"mask-r-to":_e()}],"mask-image-r-from-color":[{"mask-r-from":te()}],"mask-image-r-to-color":[{"mask-r-to":te()}],"mask-image-b-from-pos":[{"mask-b-from":_e()}],"mask-image-b-to-pos":[{"mask-b-to":_e()}],"mask-image-b-from-color":[{"mask-b-from":te()}],"mask-image-b-to-color":[{"mask-b-to":te()}],"mask-image-l-from-pos":[{"mask-l-from":_e()}],"mask-image-l-to-pos":[{"mask-l-to":_e()}],"mask-image-l-from-color":[{"mask-l-from":te()}],"mask-image-l-to-color":[{"mask-l-to":te()}],"mask-image-x-from-pos":[{"mask-x-from":_e()}],"mask-image-x-to-pos":[{"mask-x-to":_e()}],"mask-image-x-from-color":[{"mask-x-from":te()}],"mask-image-x-to-color":[{"mask-x-to":te()}],"mask-image-y-from-pos":[{"mask-y-from":_e()}],"mask-image-y-to-pos":[{"mask-y-to":_e()}],"mask-image-y-from-color":[{"mask-y-from":te()}],"mask-image-y-to-color":[{"mask-y-to":te()}],"mask-image-radial":[{"mask-radial":[St,Et]}],"mask-image-radial-from-pos":[{"mask-radial-from":_e()}],"mask-image-radial-to-pos":[{"mask-radial-to":_e()}],"mask-image-radial-from-color":[{"mask-radial-from":te()}],"mask-image-radial-to-color":[{"mask-radial-to":te()}],"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":Y()}],"mask-image-conic-pos":[{"mask-conic":[pn]}],"mask-image-conic-from-pos":[{"mask-conic-from":_e()}],"mask-image-conic-to-pos":[{"mask-conic-to":_e()}],"mask-image-conic-from-color":[{"mask-conic-from":te()}],"mask-image-conic-to-color":[{"mask-conic-to":te()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:be()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",St,Et]}],filter:[{filter:["","none",St,Et]}],blur:[{blur:Je()}],brightness:[{brightness:[pn,St,Et]}],contrast:[{contrast:[pn,St,Et]}],"drop-shadow":[{"drop-shadow":["","none",M,QR,XR]}],"drop-shadow-color":[{"drop-shadow":te()}],grayscale:[{grayscale:["",pn,St,Et]}],"hue-rotate":[{"hue-rotate":[pn,St,Et]}],invert:[{invert:["",pn,St,Et]}],saturate:[{saturate:[pn,St,Et]}],sepia:[{sepia:["",pn,St,Et]}],"backdrop-filter":[{"backdrop-filter":["","none",St,Et]}],"backdrop-blur":[{"backdrop-blur":Je()}],"backdrop-brightness":[{"backdrop-brightness":[pn,St,Et]}],"backdrop-contrast":[{"backdrop-contrast":[pn,St,Et]}],"backdrop-grayscale":[{"backdrop-grayscale":["",pn,St,Et]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[pn,St,Et]}],"backdrop-invert":[{"backdrop-invert":["",pn,St,Et]}],"backdrop-opacity":[{"backdrop-opacity":[pn,St,Et]}],"backdrop-saturate":[{"backdrop-saturate":[pn,St,Et]}],"backdrop-sepia":[{"backdrop-sepia":["",pn,St,Et]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Q()}],"border-spacing-x":[{"border-spacing-x":Q()}],"border-spacing-y":[{"border-spacing-y":Q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",St,Et]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[pn,"initial",St,Et]}],ease:[{ease:["linear","initial",P,St,Et]}],delay:[{delay:[pn,St,Et]}],animate:[{animate:["none",U,St,Et]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,St,Et]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:ie()}],"rotate-x":[{"rotate-x":ie()}],"rotate-y":[{"rotate-y":ie()}],"rotate-z":[{"rotate-z":ie()}],scale:[{scale:ke()}],"scale-x":[{"scale-x":ke()}],"scale-y":[{"scale-y":ke()}],"scale-z":[{"scale-z":ke()}],"scale-3d":["scale-3d"],skew:[{skew:Ee()}],"skew-x":[{"skew-x":Ee()}],"skew-y":[{"skew-y":Ee()}],transform:[{transform:[St,Et,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ae()}],"translate-x":[{"translate-x":Ae()}],"translate-y":[{"translate-y":Ae()}],"translate-z":[{"translate-z":Ae()}],"translate-none":["translate-none"],accent:[{accent:te()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:te()}],"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",St,Et]}],"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":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"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",St,Et]}],fill:[{fill:["none",...te()]}],"stroke-w":[{stroke:[pn,iE,Bb,lD]}],stroke:[{stroke:["none",...te()]}],"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"]}},PH=(e,{cacheSize:t,prefix:r,experimentalParseClassName:l,extend:s={},override:c={}})=>(ZC(e,"cacheSize",t),ZC(e,"prefix",r),ZC(e,"experimentalParseClassName",l),ZR(e.theme,c.theme),ZR(e.classGroups,c.classGroups),ZR(e.conflictingClassGroups,c.conflictingClassGroups),ZR(e.conflictingClassGroupModifiers,c.conflictingClassGroupModifiers),ZC(e,"orderSensitiveModifiers",c.orderSensitiveModifiers),WR(e.theme,s.theme),WR(e.classGroups,s.classGroups),WR(e.conflictingClassGroups,s.conflictingClassGroups),WR(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),Wq(e,s,"orderSensitiveModifiers"),e),ZC=(e,t,r)=>{r!==void 0&&(e[t]=r)},ZR=(e,t)=>{if(t)for(const r in t)ZC(e,r,t[r])},WR=(e,t)=>{if(t)for(const r in t)Wq(e,t,r)},Wq=(e,t,r)=>{const l=t[r];l!==void 0&&(e[r]=e[r]?e[r].concat(l):l)},Jq=(e,...t)=>typeof e=="function"?JD(e2,e,...t):JD(()=>PH(e2(),e),...t),qH=JD(e2),e7=Jq({});function Fe(...e){return e7(oM(e))}function gt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),r===!1||!s.defaultPrevented)return t?.(s)}}function nN(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Fr(...e){return t=>{let r=!1;const l=e.map(s=>{const c=nN(s,t);return!r&&typeof c=="function"&&(r=!0),c});if(r)return()=>{for(let s=0;s<l.length;s++){const c=l[s];typeof c=="function"?c():nN(e[s],null)}}}}function vn(...e){return D.useCallback(Fr(...e),e)}function t7(e,t){const r=D.createContext(t),l=c=>{const{children:h,...m}=c,b=D.useMemo(()=>m,Object.values(m));return O.jsx(r.Provider,{value:b,children:h})};l.displayName=e+"Provider";function s(c){const h=D.useContext(r);if(h)return h;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[l,s]}function xp(e,t=[]){let r=[];function l(c,h){const m=D.createContext(h),b=r.length;r=[...r,h];const E=S=>{const{scope:R,children:M,...q}=S,N=R?.[e]?.[b]||m,L=D.useMemo(()=>q,Object.values(q));return O.jsx(N.Provider,{value:L,children:M})};E.displayName=c+"Provider";function C(S,R){const M=R?.[e]?.[b]||m,q=D.useContext(M);if(q)return q;if(h!==void 0)return h;throw new Error(`\`${S}\` must be used within \`${c}\``)}return[E,C]}const s=()=>{const c=r.map(h=>D.createContext(h));return function(m){const b=m?.[e]||c;return D.useMemo(()=>({[`__scope${e}`]:{...m,[e]:b}}),[m,b])}};return s.scopeName=e,[l,LH(s,...t)]}function LH(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const l=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(c){const h=l.reduce((m,{useScope:b,scopeName:E})=>{const S=b(c)[`__scope${E}`];return{...m,...S}},{});return D.useMemo(()=>({[`__scope${t.scopeName}`]:h}),[h])}};return r.scopeName=t.scopeName,r}var Vl=globalThis?.document?D.useLayoutEffect:()=>{},jH=D[" useId ".trim().toString()]||(()=>{}),zH=0;function _a(e){const[t,r]=D.useState(jH());return Vl(()=>{r(l=>l??String(zH++))},[e]),e||(t?`radix-${t}`:"")}var BH=D[" useInsertionEffect ".trim().toString()]||Vl;function br({prop:e,defaultProp:t,onChange:r=()=>{},caller:l}){const[s,c,h]=kH({defaultProp:t,onChange:r}),m=e!==void 0,b=m?e:s;{const C=D.useRef(e!==void 0);D.useEffect(()=>{const S=C.current;S!==m&&console.warn(`${l} is changing from ${S?"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.`),C.current=m},[m,l])}const E=D.useCallback(C=>{if(m){const S=UH(C)?C(e):C;S!==e&&h.current?.(S)}else c(C)},[m,e,c,h]);return[b,E]}function kH({defaultProp:e,onChange:t}){const[r,l]=D.useState(e),s=D.useRef(r),c=D.useRef(t);return BH(()=>{c.current=t},[t]),D.useEffect(()=>{s.current!==r&&(c.current?.(r),s.current=r)},[r,s]),[r,l,c]}function UH(e){return typeof e=="function"}function IH(e){const t=HH(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(FH);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function HH(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=GH(s),m=KH(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var VH=Symbol("radix.slottable");function FH(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===VH}function KH(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function GH(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 YH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],n7=YH.reduce((e,t)=>{const r=IH(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function XH(e,t){e&&X1.flushSync(()=>e.dispatchEvent(t))}function Yo(e){const t=D.useRef(e);return D.useEffect(()=>{t.current=e}),D.useMemo(()=>(...r)=>t.current?.(...r),[])}function r7(e,t=globalThis?.document){const r=Yo(e);D.useEffect(()=>{const l=s=>{s.key==="Escape"&&r(s)};return t.addEventListener("keydown",l,{capture:!0}),()=>t.removeEventListener("keydown",l,{capture:!0})},[r,t])}var QH="DismissableLayer",t2="dismissableLayer.update",ZH="dismissableLayer.pointerDownOutside",WH="dismissableLayer.focusOutside",rN,a7=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),W1=D.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:h,onDismiss:m,...b}=e,E=D.useContext(a7),[C,S]=D.useState(null),R=C?.ownerDocument??globalThis?.document,[,M]=D.useState({}),q=vn(t,K=>S(K)),N=Array.from(E.layers),[L]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),P=N.indexOf(L),U=C?N.indexOf(C):-1,I=E.layersWithOutsidePointerEventsDisabled.size>0,Y=U>=P,V=tV(K=>{const Q=K.target,he=[...E.branches].some(de=>de.contains(Q));!Y||he||(s?.(K),h?.(K),K.defaultPrevented||m?.())},R),F=nV(K=>{const Q=K.target;[...E.branches].some(de=>de.contains(Q))||(c?.(K),h?.(K),K.defaultPrevented||m?.())},R);return r7(K=>{U===E.layers.size-1&&(l?.(K),!K.defaultPrevented&&m&&(K.preventDefault(),m()))},R),D.useEffect(()=>{if(C)return r&&(E.layersWithOutsidePointerEventsDisabled.size===0&&(rN=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(C)),E.layers.add(C),aN(),()=>{r&&E.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=rN)}},[C,R,r,E]),D.useEffect(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),aN())},[C,E]),D.useEffect(()=>{const K=()=>M({});return document.addEventListener(t2,K),()=>document.removeEventListener(t2,K)},[]),O.jsx(n7.div,{...b,ref:q,style:{pointerEvents:I?Y?"auto":"none":void 0,...e.style},onFocusCapture:gt(e.onFocusCapture,F.onFocusCapture),onBlurCapture:gt(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:gt(e.onPointerDownCapture,V.onPointerDownCapture)})});W1.displayName=QH;var JH="DismissableLayerBranch",eV=D.forwardRef((e,t)=>{const r=D.useContext(a7),l=D.useRef(null),s=vn(t,l);return D.useEffect(()=>{const c=l.current;if(c)return r.branches.add(c),()=>{r.branches.delete(c)}},[r.branches]),O.jsx(n7.div,{...e,ref:s})});eV.displayName=JH;function tV(e,t=globalThis?.document){const r=Yo(e),l=D.useRef(!1),s=D.useRef(()=>{});return D.useEffect(()=>{const c=m=>{if(m.target&&!l.current){let b=function(){l7(ZH,r,E,{discrete:!0})};const E={originalEvent:m};m.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=b,t.addEventListener("click",s.current,{once:!0})):b()}else t.removeEventListener("click",s.current);l.current=!1},h=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(h),t.removeEventListener("pointerdown",c),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>l.current=!0}}function nV(e,t=globalThis?.document){const r=Yo(e),l=D.useRef(!1);return D.useEffect(()=>{const s=c=>{c.target&&!l.current&&l7(WH,r,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function aN(){const e=new CustomEvent(t2);document.dispatchEvent(e)}function l7(e,t,r,{discrete:l}){const s=r.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),l?XH(s,c):s.dispatchEvent(c)}function rV(e){const t=aV(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(oV);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function aV(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=uV(s),m=iV(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var lV=Symbol("radix.slottable");function oV(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===lV}function iV(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function uV(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 sV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],cV=sV.reduce((e,t)=>{const r=rV(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),oD="focusScope.autoFocusOnMount",iD="focusScope.autoFocusOnUnmount",lN={bubbles:!1,cancelable:!0},fV="FocusScope",Sw=D.forwardRef((e,t)=>{const{loop:r=!1,trapped:l=!1,onMountAutoFocus:s,onUnmountAutoFocus:c,...h}=e,[m,b]=D.useState(null),E=Yo(s),C=Yo(c),S=D.useRef(null),R=vn(t,N=>b(N)),M=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(l){let N=function(I){if(M.paused||!m)return;const Y=I.target;m.contains(Y)?S.current=Y:wg(S.current,{select:!0})},L=function(I){if(M.paused||!m)return;const Y=I.relatedTarget;Y!==null&&(m.contains(Y)||wg(S.current,{select:!0}))},P=function(I){if(document.activeElement===document.body)for(const V of I)V.removedNodes.length>0&&wg(m)};document.addEventListener("focusin",N),document.addEventListener("focusout",L);const U=new MutationObserver(P);return m&&U.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",N),document.removeEventListener("focusout",L),U.disconnect()}}},[l,m,M.paused]),D.useEffect(()=>{if(m){iN.add(M);const N=document.activeElement;if(!m.contains(N)){const P=new CustomEvent(oD,lN);m.addEventListener(oD,E),m.dispatchEvent(P),P.defaultPrevented||(dV(gV(o7(m)),{select:!0}),document.activeElement===N&&wg(m))}return()=>{m.removeEventListener(oD,E),setTimeout(()=>{const P=new CustomEvent(iD,lN);m.addEventListener(iD,C),m.dispatchEvent(P),P.defaultPrevented||wg(N??document.body,{select:!0}),m.removeEventListener(iD,C),iN.remove(M)},0)}}},[m,E,C,M]);const q=D.useCallback(N=>{if(!r&&!l||M.paused)return;const L=N.key==="Tab"&&!N.altKey&&!N.ctrlKey&&!N.metaKey,P=document.activeElement;if(L&&P){const U=N.currentTarget,[I,Y]=pV(U);I&&Y?!N.shiftKey&&P===Y?(N.preventDefault(),r&&wg(I,{select:!0})):N.shiftKey&&P===I&&(N.preventDefault(),r&&wg(Y,{select:!0})):P===U&&N.preventDefault()}},[r,l,M.paused]);return O.jsx(cV.div,{tabIndex:-1,...h,ref:R,onKeyDown:q})});Sw.displayName=fV;function dV(e,{select:t=!1}={}){const r=document.activeElement;for(const l of e)if(wg(l,{select:t}),document.activeElement!==r)return}function pV(e){const t=o7(e),r=oN(t,e),l=oN(t.reverse(),e);return[r,l]}function o7(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const s=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||s?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function oN(e,t){for(const r of e)if(!hV(r,{upTo:t}))return r}function hV(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 mV(e){return e instanceof HTMLInputElement&&"select"in e}function wg(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&mV(e)&&t&&e.select()}}var iN=vV();function vV(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=uN(e,t),e.unshift(t)},remove(t){e=uN(e,t),e[0]?.resume()}}}function uN(e,t){const r=[...e],l=r.indexOf(t);return l!==-1&&r.splice(l,1),r}function gV(e){return e.filter(t=>t.tagName!=="A")}function yV(e){const t=bV(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(EV);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function bV(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=CV(s),m=SV(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var xV=Symbol("radix.slottable");function EV(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xV}function SV(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function CV(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 wV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],RV=wV.reduce((e,t)=>{const r=yV(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),TV="Portal",J1=D.forwardRef((e,t)=>{const{container:r,...l}=e,[s,c]=D.useState(!1);Vl(()=>c(!0),[]);const h=r||s&&globalThis?.document?.body;return h?ws.createPortal(O.jsx(RV.div,{...l,ref:t}),h):null});J1.displayName=TV;function _V(e,t){return D.useReducer((r,l)=>t[r][l]??r,e)}var Ts=e=>{const{present:t,children:r}=e,l=AV(t),s=typeof r=="function"?r({present:l.isPresent}):D.Children.only(r),c=vn(l.ref,DV(s));return typeof r=="function"||l.isPresent?D.cloneElement(s,{ref:c}):null};Ts.displayName="Presence";function AV(e){const[t,r]=D.useState(),l=D.useRef(null),s=D.useRef(e),c=D.useRef("none"),h=e?"mounted":"unmounted",[m,b]=_V(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const E=JR(l.current);c.current=m==="mounted"?E:"none"},[m]),Vl(()=>{const E=l.current,C=s.current;if(C!==e){const R=c.current,M=JR(E);e?b("MOUNT"):M==="none"||E?.display==="none"?b("UNMOUNT"):b(C&&R!==M?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,b]),Vl(()=>{if(t){let E;const C=t.ownerDocument.defaultView??window,S=M=>{const N=JR(l.current).includes(CSS.escape(M.animationName));if(M.target===t&&N&&(b("ANIMATION_END"),!s.current)){const L=t.style.animationFillMode;t.style.animationFillMode="forwards",E=C.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=L)})}},R=M=>{M.target===t&&(c.current=JR(l.current))};return t.addEventListener("animationstart",R),t.addEventListener("animationcancel",S),t.addEventListener("animationend",S),()=>{C.clearTimeout(E),t.removeEventListener("animationstart",R),t.removeEventListener("animationcancel",S),t.removeEventListener("animationend",S)}}else b("ANIMATION_END")},[t,b]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:D.useCallback(E=>{l.current=E?getComputedStyle(E):null,r(E)},[])}}function JR(e){return e?.animationName||"none"}function DV(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 i7(e){const t=MV(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(NV);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function MV(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=PV(s),m=$V(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var OV=Symbol("radix.slottable");function NV(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===OV}function $V(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function PV(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 qV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Cw=qV.reduce((e,t)=>{const r=i7(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),uD=0;function f_(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sN()),document.body.insertAdjacentElement("beforeend",e[1]??sN()),uD++,()=>{uD===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),uD--}},[])}function sN(){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 pp=function(){return pp=Object.assign||function(t){for(var r,l=1,s=arguments.length;l<s;l++){r=arguments[l];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(t[c]=r[c])}return t},pp.apply(this,arguments)};function u7(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 s=0,l=Object.getOwnPropertySymbols(e);s<l.length;s++)t.indexOf(l[s])<0&&Object.prototype.propertyIsEnumerable.call(e,l[s])&&(r[l[s]]=e[l[s]]);return r}function LV(e,t,r){if(r||arguments.length===2)for(var l=0,s=t.length,c;l<s;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 CT="right-scroll-bar-position",wT="width-before-scroll-bar",jV="with-scroll-bars-hidden",zV="--removed-body-scroll-bar-size";function sD(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function BV(e,t){var r=k.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(l){var s=r.value;s!==l&&(r.value=l,r.callback(l,s))}}}})[0];return r.callback=t,r.facade}var kV=typeof window<"u"?D.useLayoutEffect:D.useEffect,cN=new WeakMap;function UV(e,t){var r=BV(null,function(l){return e.forEach(function(s){return sD(s,l)})});return kV(function(){var l=cN.get(r);if(l){var s=new Set(l),c=new Set(e),h=r.current;s.forEach(function(m){c.has(m)||sD(m,null)}),c.forEach(function(m){s.has(m)||sD(m,h)})}cN.set(r,e)},[e]),r}function IV(e){return e}function HV(e,t){t===void 0&&(t=IV);var r=[],l=!1,s={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 b=function(){var C=h;h=[],C.forEach(c)},E=function(){return Promise.resolve().then(b)};E(),r={push:function(C){h.push(C),E()},filter:function(C){return h=h.filter(C),r}}}};return s}function VV(e){e===void 0&&(e={});var t=HV(null);return t.options=pp({async:!0,ssr:!1},e),t}var s7=function(e){var t=e.sideCar,r=u7(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 D.createElement(l,pp({},r))};s7.isSideCarExport=!0;function FV(e,t){return e.useMedium(t),s7}var c7=VV(),cD=function(){},d_=D.forwardRef(function(e,t){var r=D.useRef(null),l=D.useState({onScrollCapture:cD,onWheelCapture:cD,onTouchMoveCapture:cD}),s=l[0],c=l[1],h=e.forwardProps,m=e.children,b=e.className,E=e.removeScrollBar,C=e.enabled,S=e.shards,R=e.sideCar,M=e.noIsolation,q=e.inert,N=e.allowPinchZoom,L=e.as,P=L===void 0?"div":L,U=e.gapMode,I=u7(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),Y=R,V=UV([r,t]),F=pp(pp({},I),s);return D.createElement(D.Fragment,null,C&&D.createElement(Y,{sideCar:c7,removeScrollBar:E,shards:S,noIsolation:M,inert:q,setCallbacks:c,allowPinchZoom:!!N,lockRef:r,gapMode:U}),h?D.cloneElement(D.Children.only(m),pp(pp({},F),{ref:V})):D.createElement(P,pp({},F,{className:b,ref:V}),m))});d_.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};d_.classNames={fullWidth:wT,zeroRight:CT};var KV=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function GV(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=KV();return t&&e.setAttribute("nonce",t),e}function YV(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function XV(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var QV=function(){var e=0,t=null;return{add:function(r){e==0&&(t=GV())&&(YV(t,r),XV(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ZV=function(){var e=QV();return function(t,r){D.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},f7=function(){var e=ZV(),t=function(r){var l=r.styles,s=r.dynamic;return e(l,s),null};return t},WV={left:0,top:0,right:0,gap:0},fD=function(e){return parseInt(e||"",10)||0},JV=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],l=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[fD(r),fD(l),fD(s)]},eF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return WV;var t=JV(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])}},tF=f7(),B1="data-scroll-locked",nF=function(e,t,r,l){var s=e.left,c=e.top,h=e.right,m=e.gap;return r===void 0&&(r="margin"),`
|
|
7
|
+
.`.concat(jV,` {
|
|
8
|
+
overflow: hidden `).concat(l,`;
|
|
9
|
+
padding-right: `).concat(m,"px ").concat(l,`;
|
|
10
|
+
}
|
|
11
|
+
body[`).concat(B1,`] {
|
|
12
|
+
overflow: hidden `).concat(l,`;
|
|
13
|
+
overscroll-behavior: contain;
|
|
14
|
+
`).concat([t&&"position: relative ".concat(l,";"),r==="margin"&&`
|
|
15
|
+
padding-left: `.concat(s,`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(CT,` {
|
|
25
|
+
right: `).concat(m,"px ").concat(l,`;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.`).concat(wT,` {
|
|
29
|
+
margin-right: `).concat(m,"px ").concat(l,`;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.`).concat(CT," .").concat(CT,` {
|
|
33
|
+
right: 0 `).concat(l,`;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.`).concat(wT," .").concat(wT,` {
|
|
37
|
+
margin-right: 0 `).concat(l,`;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
body[`).concat(B1,`] {
|
|
41
|
+
`).concat(zV,": ").concat(m,`px;
|
|
42
|
+
}
|
|
43
|
+
`)},fN=function(){var e=parseInt(document.body.getAttribute(B1)||"0",10);return isFinite(e)?e:0},rF=function(){D.useEffect(function(){return document.body.setAttribute(B1,(fN()+1).toString()),function(){var e=fN()-1;e<=0?document.body.removeAttribute(B1):document.body.setAttribute(B1,e.toString())}},[])},aF=function(e){var t=e.noRelative,r=e.noImportant,l=e.gapMode,s=l===void 0?"margin":l;rF();var c=D.useMemo(function(){return eF(s)},[s]);return D.createElement(tF,{styles:nF(c,!t,s,r?"":"!important")})},n2=!1;if(typeof window<"u")try{var eT=Object.defineProperty({},"passive",{get:function(){return n2=!0,!0}});window.addEventListener("test",eT,eT),window.removeEventListener("test",eT,eT)}catch{n2=!1}var R1=n2?{passive:!1}:!1,lF=function(e){return e.tagName==="TEXTAREA"},d7=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!lF(e)&&r[t]==="visible")},oF=function(e){return d7(e,"overflowY")},iF=function(e){return d7(e,"overflowX")},dN=function(e,t){var r=t.ownerDocument,l=t;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var s=p7(e,l);if(s){var c=h7(e,l),h=c[1],m=c[2];if(h>m)return!0}l=l.parentNode}while(l&&l!==r.body);return!1},uF=function(e){var t=e.scrollTop,r=e.scrollHeight,l=e.clientHeight;return[t,r,l]},sF=function(e){var t=e.scrollLeft,r=e.scrollWidth,l=e.clientWidth;return[t,r,l]},p7=function(e,t){return e==="v"?oF(t):iF(t)},h7=function(e,t){return e==="v"?uF(t):sF(t)},cF=function(e,t){return e==="h"&&t==="rtl"?-1:1},fF=function(e,t,r,l,s){var c=cF(e,window.getComputedStyle(t).direction),h=c*l,m=r.target,b=t.contains(m),E=!1,C=h>0,S=0,R=0;do{var M=h7(e,m),q=M[0],N=M[1],L=M[2],P=N-L-c*q;(q||P)&&p7(e,m)&&(S+=P,R+=q),m instanceof ShadowRoot?m=m.host:m=m.parentNode}while(!b&&m!==document.body||b&&(t.contains(m)||t===m));return(C&&Math.abs(S)<1||!C&&Math.abs(R)<1)&&(E=!0),E},tT=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},pN=function(e){return[e.deltaX,e.deltaY]},hN=function(e){return e&&"current"in e?e.current:e},dF=function(e,t){return e[0]===t[0]&&e[1]===t[1]},pF=function(e){return`
|
|
44
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
45
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
46
|
+
`)},hF=0,T1=[];function mF(e){var t=D.useRef([]),r=D.useRef([0,0]),l=D.useRef(),s=D.useState(hF++)[0],c=D.useState(f7)[0],h=D.useRef(e);D.useEffect(function(){h.current=e},[e]),D.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var N=LV([e.lockRef.current],(e.shards||[]).map(hN),!0).filter(Boolean);return N.forEach(function(L){return L.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),N.forEach(function(L){return L.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var m=D.useCallback(function(N,L){if("touches"in N&&N.touches.length===2||N.type==="wheel"&&N.ctrlKey)return!h.current.allowPinchZoom;var P=tT(N),U=r.current,I="deltaX"in N?N.deltaX:U[0]-P[0],Y="deltaY"in N?N.deltaY:U[1]-P[1],V,F=N.target,K=Math.abs(I)>Math.abs(Y)?"h":"v";if("touches"in N&&K==="h"&&F.type==="range")return!1;var Q=dN(K,F);if(!Q)return!0;if(Q?V=K:(V=K==="v"?"h":"v",Q=dN(K,F)),!Q)return!1;if(!l.current&&"changedTouches"in N&&(I||Y)&&(l.current=V),!V)return!0;var he=l.current||V;return fF(he,L,N,he==="h"?I:Y)},[]),b=D.useCallback(function(N){var L=N;if(!(!T1.length||T1[T1.length-1]!==c)){var P="deltaY"in L?pN(L):tT(L),U=t.current.filter(function(V){return V.name===L.type&&(V.target===L.target||L.target===V.shadowParent)&&dF(V.delta,P)})[0];if(U&&U.should){L.cancelable&&L.preventDefault();return}if(!U){var I=(h.current.shards||[]).map(hN).filter(Boolean).filter(function(V){return V.contains(L.target)}),Y=I.length>0?m(L,I[0]):!h.current.noIsolation;Y&&L.cancelable&&L.preventDefault()}}},[]),E=D.useCallback(function(N,L,P,U){var I={name:N,delta:L,target:P,should:U,shadowParent:vF(P)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(Y){return Y!==I})},1)},[]),C=D.useCallback(function(N){r.current=tT(N),l.current=void 0},[]),S=D.useCallback(function(N){E(N.type,pN(N),N.target,m(N,e.lockRef.current))},[]),R=D.useCallback(function(N){E(N.type,tT(N),N.target,m(N,e.lockRef.current))},[]);D.useEffect(function(){return T1.push(c),e.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:R}),document.addEventListener("wheel",b,R1),document.addEventListener("touchmove",b,R1),document.addEventListener("touchstart",C,R1),function(){T1=T1.filter(function(N){return N!==c}),document.removeEventListener("wheel",b,R1),document.removeEventListener("touchmove",b,R1),document.removeEventListener("touchstart",C,R1)}},[]);var M=e.removeScrollBar,q=e.inert;return D.createElement(D.Fragment,null,q?D.createElement(c,{styles:pF(s)}):null,M?D.createElement(aF,{gapMode:e.gapMode}):null)}function vF(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const gF=FV(c7,mF);var ex=D.forwardRef(function(e,t){return D.createElement(d_,pp({},e,{ref:t,sideCar:gF}))});ex.classNames=d_.classNames;var yF=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},_1=new WeakMap,nT=new WeakMap,rT={},dD=0,m7=function(e){return e&&(e.host||m7(e.parentNode))},bF=function(e,t){return t.map(function(r){if(e.contains(r))return r;var l=m7(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})},xF=function(e,t,r,l){var s=bF(t,Array.isArray(e)?e:[e]);rT[r]||(rT[r]=new WeakMap);var c=rT[r],h=[],m=new Set,b=new Set(s),E=function(S){!S||m.has(S)||(m.add(S),E(S.parentNode))};s.forEach(E);var C=function(S){!S||b.has(S)||Array.prototype.forEach.call(S.children,function(R){if(m.has(R))C(R);else try{var M=R.getAttribute(l),q=M!==null&&M!=="false",N=(_1.get(R)||0)+1,L=(c.get(R)||0)+1;_1.set(R,N),c.set(R,L),h.push(R),N===1&&q&&nT.set(R,!0),L===1&&R.setAttribute(r,"true"),q||R.setAttribute(l,"true")}catch(P){console.error("aria-hidden: cannot operate on ",R,P)}})};return C(t),m.clear(),dD++,function(){h.forEach(function(S){var R=_1.get(S)-1,M=c.get(S)-1;_1.set(S,R),c.set(S,M),R||(nT.has(S)||S.removeAttribute(l),nT.delete(S)),M||S.removeAttribute(r)}),dD--,dD||(_1=new WeakMap,_1=new WeakMap,nT=new WeakMap,rT={})}},ww=function(e,t,r){r===void 0&&(r="data-aria-hidden");var l=Array.from(Array.isArray(e)?e:[e]),s=yF(e);return s?(l.push.apply(l,Array.from(s.querySelectorAll("[aria-live]"))),xF(l,s,r,"aria-hidden")):function(){return null}},p_="Dialog",[v7]=xp(p_),[EF,td]=v7(p_),g7=e=>{const{__scopeDialog:t,children:r,open:l,defaultOpen:s,onOpenChange:c,modal:h=!0}=e,m=D.useRef(null),b=D.useRef(null),[E,C]=br({prop:l,defaultProp:s??!1,onChange:c,caller:p_});return O.jsx(EF,{scope:t,triggerRef:m,contentRef:b,contentId:_a(),titleId:_a(),descriptionId:_a(),open:E,onOpenChange:C,onOpenToggle:D.useCallback(()=>C(S=>!S),[C]),modal:h,children:r})};g7.displayName=p_;var y7="DialogTrigger",b7=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=td(y7,r),c=vn(t,s.triggerRef);return O.jsx(Cw.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":cM(s.open),...l,ref:c,onClick:gt(e.onClick,s.onOpenToggle)})});b7.displayName=y7;var uM="DialogPortal",[SF,x7]=v7(uM,{forceMount:void 0}),E7=e=>{const{__scopeDialog:t,forceMount:r,children:l,container:s}=e,c=td(uM,t);return O.jsx(SF,{scope:t,forceMount:r,children:D.Children.map(l,h=>O.jsx(Ts,{present:r||c.open,children:O.jsx(J1,{asChild:!0,container:s,children:h})}))})};E7.displayName=uM;var NT="DialogOverlay",S7=D.forwardRef((e,t)=>{const r=x7(NT,e.__scopeDialog),{forceMount:l=r.forceMount,...s}=e,c=td(NT,e.__scopeDialog);return c.modal?O.jsx(Ts,{present:l||c.open,children:O.jsx(wF,{...s,ref:t})}):null});S7.displayName=NT;var CF=i7("DialogOverlay.RemoveScroll"),wF=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=td(NT,r);return O.jsx(ex,{as:CF,allowPinchZoom:!0,shards:[s.contentRef],children:O.jsx(Cw.div,{"data-state":cM(s.open),...l,ref:t,style:{pointerEvents:"auto",...l.style}})})}),Wb="DialogContent",C7=D.forwardRef((e,t)=>{const r=x7(Wb,e.__scopeDialog),{forceMount:l=r.forceMount,...s}=e,c=td(Wb,e.__scopeDialog);return O.jsx(Ts,{present:l||c.open,children:c.modal?O.jsx(RF,{...s,ref:t}):O.jsx(TF,{...s,ref:t})})});C7.displayName=Wb;var RF=D.forwardRef((e,t)=>{const r=td(Wb,e.__scopeDialog),l=D.useRef(null),s=vn(t,r.contentRef,l);return D.useEffect(()=>{const c=l.current;if(c)return ww(c)},[]),O.jsx(w7,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:gt(e.onCloseAutoFocus,c=>{c.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:gt(e.onPointerDownOutside,c=>{const h=c.detail.originalEvent,m=h.button===0&&h.ctrlKey===!0;(h.button===2||m)&&c.preventDefault()}),onFocusOutside:gt(e.onFocusOutside,c=>c.preventDefault())})}),TF=D.forwardRef((e,t)=>{const r=td(Wb,e.__scopeDialog),l=D.useRef(!1),s=D.useRef(!1);return O.jsx(w7,{...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,s.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(l.current=!0,c.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const h=c.target;r.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.current&&c.preventDefault()}})}),w7=D.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:c,...h}=e,m=td(Wb,r),b=D.useRef(null),E=vn(t,b);return f_(),O.jsxs(O.Fragment,{children:[O.jsx(Sw,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:s,onUnmountAutoFocus:c,children:O.jsx(W1,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":cM(m.open),...h,ref:E,onDismiss:()=>m.onOpenChange(!1)})}),O.jsxs(O.Fragment,{children:[O.jsx(_F,{titleId:m.titleId}),O.jsx(DF,{contentRef:b,descriptionId:m.descriptionId})]})]})}),sM="DialogTitle",R7=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=td(sM,r);return O.jsx(Cw.h2,{id:s.titleId,...l,ref:t})});R7.displayName=sM;var T7="DialogDescription",_7=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=td(T7,r);return O.jsx(Cw.p,{id:s.descriptionId,...l,ref:t})});_7.displayName=T7;var A7="DialogClose",D7=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=td(A7,r);return O.jsx(Cw.button,{type:"button",...l,ref:t,onClick:gt(e.onClick,()=>s.onOpenChange(!1))})});D7.displayName=A7;function cM(e){return e?"open":"closed"}var M7="DialogTitleWarning",[yme,O7]=t7(M7,{contentName:Wb,titleName:sM,docsSlug:"dialog"}),_F=({titleId:e})=>{const t=O7(M7),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 D.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},AF="DialogDescriptionWarning",DF=({contentRef:e,descriptionId:t})=>{const l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${O7(AF).contentName}}.`;return D.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(l))},[l,e,t]),null},MF=g7,OF=b7,NF=E7,$F=S7,PF=C7,qF=R7,LF=_7,N7=D7;const jF=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zF=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,l)=>l?l.toUpperCase():r.toLowerCase()),mN=e=>{const t=zF(e);return t.charAt(0).toUpperCase()+t.slice(1)},$7=(...e)=>e.filter((t,r,l)=>!!t&&t.trim()!==""&&l.indexOf(t)===r).join(" ").trim(),BF=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var kF={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 UF=k.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:l,className:s="",children:c,iconNode:h,...m},b)=>k.createElement("svg",{ref:b,...kF,width:t,height:t,stroke:e,strokeWidth:l?Number(r)*24/Number(t):r,className:$7("lucide",s),...!c&&!BF(m)&&{"aria-hidden":"true"},...m},[...h.map(([E,C])=>k.createElement(E,C)),...Array.isArray(c)?c:[c]]));const Ha=(e,t)=>{const r=k.forwardRef(({className:l,...s},c)=>k.createElement(UF,{ref:c,iconNode:t,className:$7(`lucide-${jF(mN(e))}`,`lucide-${e}`,l),...s}));return r.displayName=mN(e),r};const IF=[["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"}]],HF=Ha("calendar",IF);const VF=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],$T=Ha("check",VF);const FF=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],P7=Ha("chevron-down",FF);const KF=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],fM=Ha("chevron-left",KF);const GF=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Rw=Ha("chevron-right",GF);const YF=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],q7=Ha("chevron-up",YF);const XF=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],QF=Ha("chevrons-left",XF);const ZF=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],WF=Ha("chevrons-right",ZF);const JF=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],PT=Ha("chevrons-up-down",JF);const eK=[["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"}]],tK=Ha("circle-alert",eK);const nK=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],rK=Ha("circle-check",nK);const aK=[["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"}]],lK=Ha("circle-x",aK);const oK=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],iK=Ha("circle",oK);const uK=[["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"}]],sK=Ha("cloud-upload",uK);const cK=[["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"}]],fK=Ha("eye-off",cK);const dK=[["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"}]],pK=Ha("eye",dK);const hK=[["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"}]],mK=Ha("folder-search",hK);const vK=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],qT=Ha("loader-circle",vK);const gK=[["path",{d:"M5 12h14",key:"1ays0h"}]],yK=Ha("minus",gK);const bK=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],xK=Ha("search",bK);const EK=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],h_=Ha("x",EK),m_=({onClose:e,...t})=>O.jsx(MF,{"data-slot":"dialog",...t,onOpenChange:r=>{!r&&e?.(),t?.onOpenChange?.(r)}}),dM=({...e})=>O.jsx(OF,{"data-slot":"dialog-trigger",...e}),L7=({...e})=>O.jsx(NF,{"data-slot":"dialog-portal",...e}),r2=({...e})=>O.jsx(N7,{"data-slot":"dialog-close",...e}),j7=({className:e,...t})=>O.jsx($F,{"data-slot":"dialog-overlay",className:Fe("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}),v_=({className:e,children:t,focus:r=!0,hideClose:l=!1,...s})=>O.jsxs(L7,{children:[O.jsx(j7,{}),O.jsxs(PF,{"data-slot":"dialog-content",className:Fe("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(),s?.onOpenAutoFocus?.(c)},...s,children:[t,O.jsxs(N7,{className:Fe("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:[O.jsx(h_,{className:"w-4 h-4","data-slot":"dialog-close-icon"}),O.jsx("span",{className:"sr-only",children:"Cerrar"})]})]})]}),pM=({className:e,...t})=>O.jsx("div",{className:Fe("flex flex-col space-y-1 text-center sm:text-left",e),"data-slot":"dialog-header",...t}),hM=({className:e,...t})=>O.jsx("div",{"data-slot":"dialog-footer",className:Fe("flex flex-col-reverse sm:flex-row sm:justify-end gap-2",e),...t}),mM=({className:e,...t})=>O.jsx(qF,{"data-slot":"dialog-title",className:Fe("text-lg font-semibold leading-none tracking-tight",e),...t}),vM=({className:e,...t})=>O.jsx(LF,{"data-slot":"dialog-description",className:Fe("text-sm text-muted-foreground",e),...t}),SK=({trigger:e,title:t,description:r,children:l,footer:s,focus:c,triggerProps:h,headerProps:m,headerClassName:b,titleProps:E,titleClassName:C,descriptionProps:S,descriptionClassName:R,contentProps:M,contentClassName:q,footerProps:N,footerClassName:L,...P})=>O.jsxs(m_,{...P,children:[O.jsx(dM,{asChild:!0,...h,children:e}),O.jsxs(v_,{className:q,focus:c,...M,children:[O.jsxs(pM,{className:Fe("empty:hidden",b),...m,children:[t&&O.jsx(mM,{className:C,...E,children:t}),r&&O.jsx(vM,{className:R,...S,children:r})]}),l,s&&O.jsx(hM,{className:L,...N,children:s})]})]}),z7={},B7=k.createContext({theme:z7}),k7=()=>k.useContext(B7),CK=({children:e,theme:t=z7})=>O.jsx(B7.Provider,{value:{theme:t},children:e}),Tw=(e,t,r={})=>{const{theme:l}=k7(),s=l[e]||{};return{...r,...s,...t}};var wK=Symbol.for("react.lazy"),LT=D[" use ".trim().toString()];function RK(e){return typeof e=="object"&&e!==null&&"then"in e}function U7(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===wK&&"_payload"in e&&RK(e._payload)}function TK(e){const t=_K(e),r=D.forwardRef((l,s)=>{let{children:c,...h}=l;U7(c)&&typeof LT=="function"&&(c=LT(c._payload));const m=D.Children.toArray(c),b=m.find(MK);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}var _w=TK("Slot");function _K(e){const t=D.forwardRef((r,l)=>{let{children:s,...c}=r;if(U7(s)&&typeof LT=="function"&&(s=LT(s._payload)),D.isValidElement(s)){const h=NK(s),m=OK(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var I7=Symbol("radix.slottable");function AK(e){const t=({children:r})=>O.jsx(O.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=I7,t}var DK=AK("Slottable");function MK(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===I7}function OK(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function NK(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 uw(){return uw=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},uw.apply(null,arguments)}function gM(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 a2(e,t){return a2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,l){return r.__proto__=l,r},a2(e,t)}function yM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a2(e,t)}var aT={exports:{}},lT={exports:{}},nr={};var vN;function $K(){if(vN)return nr;vN=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,s=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,b=e?Symbol.for("react.async_mode"):60111,E=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,S=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,q=e?Symbol.for("react.lazy"):60116,N=e?Symbol.for("react.block"):60121,L=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function I(V){if(typeof V=="object"&&V!==null){var F=V.$$typeof;switch(F){case t:switch(V=V.type,V){case b:case E:case l:case c:case s:case S:return V;default:switch(V=V&&V.$$typeof,V){case m:case C:case q:case M:case h:return V;default:return F}}case r:return F}}}function Y(V){return I(V)===E}return nr.AsyncMode=b,nr.ConcurrentMode=E,nr.ContextConsumer=m,nr.ContextProvider=h,nr.Element=t,nr.ForwardRef=C,nr.Fragment=l,nr.Lazy=q,nr.Memo=M,nr.Portal=r,nr.Profiler=c,nr.StrictMode=s,nr.Suspense=S,nr.isAsyncMode=function(V){return Y(V)||I(V)===b},nr.isConcurrentMode=Y,nr.isContextConsumer=function(V){return I(V)===m},nr.isContextProvider=function(V){return I(V)===h},nr.isElement=function(V){return typeof V=="object"&&V!==null&&V.$$typeof===t},nr.isForwardRef=function(V){return I(V)===C},nr.isFragment=function(V){return I(V)===l},nr.isLazy=function(V){return I(V)===q},nr.isMemo=function(V){return I(V)===M},nr.isPortal=function(V){return I(V)===r},nr.isProfiler=function(V){return I(V)===c},nr.isStrictMode=function(V){return I(V)===s},nr.isSuspense=function(V){return I(V)===S},nr.isValidElementType=function(V){return typeof V=="string"||typeof V=="function"||V===l||V===E||V===c||V===s||V===S||V===R||typeof V=="object"&&V!==null&&(V.$$typeof===q||V.$$typeof===M||V.$$typeof===h||V.$$typeof===m||V.$$typeof===C||V.$$typeof===L||V.$$typeof===P||V.$$typeof===U||V.$$typeof===N)},nr.typeOf=I,nr}var rr={};var gN;function PK(){return gN||(gN=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,s=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,b=e?Symbol.for("react.async_mode"):60111,E=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,S=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,q=e?Symbol.for("react.lazy"):60116,N=e?Symbol.for("react.block"):60121,L=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function I(Ae){return typeof Ae=="string"||typeof Ae=="function"||Ae===l||Ae===E||Ae===c||Ae===s||Ae===S||Ae===R||typeof Ae=="object"&&Ae!==null&&(Ae.$$typeof===q||Ae.$$typeof===M||Ae.$$typeof===h||Ae.$$typeof===m||Ae.$$typeof===C||Ae.$$typeof===L||Ae.$$typeof===P||Ae.$$typeof===U||Ae.$$typeof===N)}function Y(Ae){if(typeof Ae=="object"&&Ae!==null){var ot=Ae.$$typeof;switch(ot){case t:var vt=Ae.type;switch(vt){case b:case E:case l:case c:case s:case S:return vt;default:var Xt=vt&&vt.$$typeof;switch(Xt){case m:case C:case q:case M:case h:return Xt;default:return ot}}case r:return ot}}}var V=b,F=E,K=m,Q=h,he=t,de=C,W=l,se=q,le=M,ae=r,xe=c,B=s,Z=S,te=!1;function be(Ae){return te||(te=!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.")),re(Ae)||Y(Ae)===b}function re(Ae){return Y(Ae)===E}function oe(Ae){return Y(Ae)===m}function ue(Ae){return Y(Ae)===h}function ce(Ae){return typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===t}function De(Ae){return Y(Ae)===C}function je(Ae){return Y(Ae)===l}function Ke(Ae){return Y(Ae)===q}function _e(Ae){return Y(Ae)===M}function Je(Ae){return Y(Ae)===r}function ie(Ae){return Y(Ae)===c}function ke(Ae){return Y(Ae)===s}function Ee(Ae){return Y(Ae)===S}rr.AsyncMode=V,rr.ConcurrentMode=F,rr.ContextConsumer=K,rr.ContextProvider=Q,rr.Element=he,rr.ForwardRef=de,rr.Fragment=W,rr.Lazy=se,rr.Memo=le,rr.Portal=ae,rr.Profiler=xe,rr.StrictMode=B,rr.Suspense=Z,rr.isAsyncMode=be,rr.isConcurrentMode=re,rr.isContextConsumer=oe,rr.isContextProvider=ue,rr.isElement=ce,rr.isForwardRef=De,rr.isFragment=je,rr.isLazy=Ke,rr.isMemo=_e,rr.isPortal=Je,rr.isProfiler=ie,rr.isStrictMode=ke,rr.isSuspense=Ee,rr.isValidElementType=I,rr.typeOf=Y})()),rr}var yN;function H7(){return yN||(yN=1,process.env.NODE_ENV==="production"?lT.exports=$K():lT.exports=PK()),lT.exports}var pD,bN;function qK(){if(bN)return pD;bN=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 s(){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 b=Object.getOwnPropertyNames(h).map(function(C){return h[C]});if(b.join("")!=="0123456789")return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(C){E[C]=C}),Object.keys(Object.assign({},E)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return pD=s()?Object.assign:function(c,h){for(var m,b=l(c),E,C=1;C<arguments.length;C++){m=Object(arguments[C]);for(var S in m)t.call(m,S)&&(b[S]=m[S]);if(e){E=e(m);for(var R=0;R<E.length;R++)r.call(m,E[R])&&(b[E[R]]=m[E[R]])}}return b},pD}var hD,xN;function bM(){if(xN)return hD;xN=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return hD=e,hD}var mD,EN;function V7(){return EN||(EN=1,mD=Function.call.bind(Object.prototype.hasOwnProperty)),mD}var vD,SN;function LK(){if(SN)return vD;SN=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=bM(),r={},l=V7();e=function(c){var h="Warning: "+c;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}}}function s(c,h,m,b,E){if(process.env.NODE_ENV!=="production"){for(var C in c)if(l(c,C)){var S;try{if(typeof c[C]!="function"){var R=Error((b||"React class")+": "+m+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}S=c[C](h,C,b,m,null,t)}catch(q){S=q}if(S&&!(S instanceof Error)&&e((b||"React class")+": type specification of "+m+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof S+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),S instanceof Error&&!(S.message in r)){r[S.message]=!0;var M=E?E():"";e("Failed "+m+" type: "+S.message+(M??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},vD=s,vD}var gD,CN;function jK(){if(CN)return gD;CN=1;var e=H7(),t=qK(),r=bM(),l=V7(),s=LK(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(m){var b="Warning: "+m;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}});function h(){return null}return gD=function(m,b){var E=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function S(re){var oe=re&&(E&&re[E]||re[C]);if(typeof oe=="function")return oe}var R="<<anonymous>>",M={array:P("array"),bigint:P("bigint"),bool:P("boolean"),func:P("function"),number:P("number"),object:P("object"),string:P("string"),symbol:P("symbol"),any:U(),arrayOf:I,element:Y(),elementType:V(),instanceOf:F,node:de(),objectOf:Q,oneOf:K,oneOfType:he,shape:se,exact:le};function q(re,oe){return re===oe?re!==0||1/re===1/oe:re!==re&&oe!==oe}function N(re,oe){this.message=re,this.data=oe&&typeof oe=="object"?oe:{},this.stack=""}N.prototype=Error.prototype;function L(re){if(process.env.NODE_ENV!=="production")var oe={},ue=0;function ce(je,Ke,_e,Je,ie,ke,Ee){if(Je=Je||R,ke=ke||_e,Ee!==r){if(b){var Ae=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 Ae.name="Invariant Violation",Ae}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ot=Je+":"+_e;!oe[ot]&&ue<3&&(c("You are manually calling a React.PropTypes validation function for the `"+ke+"` prop on `"+Je+"`. 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."),oe[ot]=!0,ue++)}}return Ke[_e]==null?je?Ke[_e]===null?new N("The "+ie+" `"+ke+"` is marked as required "+("in `"+Je+"`, but its value is `null`.")):new N("The "+ie+" `"+ke+"` is marked as required in "+("`"+Je+"`, but its value is `undefined`.")):null:re(Ke,_e,Je,ie,ke)}var De=ce.bind(null,!1);return De.isRequired=ce.bind(null,!0),De}function P(re){function oe(ue,ce,De,je,Ke,_e){var Je=ue[ce],ie=B(Je);if(ie!==re){var ke=Z(Je);return new N("Invalid "+je+" `"+Ke+"` of type "+("`"+ke+"` supplied to `"+De+"`, expected ")+("`"+re+"`."),{expectedType:re})}return null}return L(oe)}function U(){return L(h)}function I(re){function oe(ue,ce,De,je,Ke){if(typeof re!="function")return new N("Property `"+Ke+"` of component `"+De+"` has invalid PropType notation inside arrayOf.");var _e=ue[ce];if(!Array.isArray(_e)){var Je=B(_e);return new N("Invalid "+je+" `"+Ke+"` of type "+("`"+Je+"` supplied to `"+De+"`, expected an array."))}for(var ie=0;ie<_e.length;ie++){var ke=re(_e,ie,De,je,Ke+"["+ie+"]",r);if(ke instanceof Error)return ke}return null}return L(oe)}function Y(){function re(oe,ue,ce,De,je){var Ke=oe[ue];if(!m(Ke)){var _e=B(Ke);return new N("Invalid "+De+" `"+je+"` of type "+("`"+_e+"` supplied to `"+ce+"`, expected a single ReactElement."))}return null}return L(re)}function V(){function re(oe,ue,ce,De,je){var Ke=oe[ue];if(!e.isValidElementType(Ke)){var _e=B(Ke);return new N("Invalid "+De+" `"+je+"` of type "+("`"+_e+"` supplied to `"+ce+"`, expected a single ReactElement type."))}return null}return L(re)}function F(re){function oe(ue,ce,De,je,Ke){if(!(ue[ce]instanceof re)){var _e=re.name||R,Je=be(ue[ce]);return new N("Invalid "+je+" `"+Ke+"` of type "+("`"+Je+"` supplied to `"+De+"`, expected ")+("instance of `"+_e+"`."))}return null}return L(oe)}function K(re){if(!Array.isArray(re))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 oe(ue,ce,De,je,Ke){for(var _e=ue[ce],Je=0;Je<re.length;Je++)if(q(_e,re[Je]))return null;var ie=JSON.stringify(re,function(Ee,Ae){var ot=Z(Ae);return ot==="symbol"?String(Ae):Ae});return new N("Invalid "+je+" `"+Ke+"` of value `"+String(_e)+"` "+("supplied to `"+De+"`, expected one of "+ie+"."))}return L(oe)}function Q(re){function oe(ue,ce,De,je,Ke){if(typeof re!="function")return new N("Property `"+Ke+"` of component `"+De+"` has invalid PropType notation inside objectOf.");var _e=ue[ce],Je=B(_e);if(Je!=="object")return new N("Invalid "+je+" `"+Ke+"` of type "+("`"+Je+"` supplied to `"+De+"`, expected an object."));for(var ie in _e)if(l(_e,ie)){var ke=re(_e,ie,De,je,Ke+"."+ie,r);if(ke instanceof Error)return ke}return null}return L(oe)}function he(re){if(!Array.isArray(re))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),h;for(var oe=0;oe<re.length;oe++){var ue=re[oe];if(typeof ue!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+te(ue)+" at index "+oe+"."),h}function ce(De,je,Ke,_e,Je){for(var ie=[],ke=0;ke<re.length;ke++){var Ee=re[ke],Ae=Ee(De,je,Ke,_e,Je,r);if(Ae==null)return null;Ae.data&&l(Ae.data,"expectedType")&&ie.push(Ae.data.expectedType)}var ot=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new N("Invalid "+_e+" `"+Je+"` supplied to "+("`"+Ke+"`"+ot+"."))}return L(ce)}function de(){function re(oe,ue,ce,De,je){return ae(oe[ue])?null:new N("Invalid "+De+" `"+je+"` supplied to "+("`"+ce+"`, expected a ReactNode."))}return L(re)}function W(re,oe,ue,ce,De){return new N((re||"React class")+": "+oe+" type `"+ue+"."+ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+De+"`.")}function se(re){function oe(ue,ce,De,je,Ke){var _e=ue[ce],Je=B(_e);if(Je!=="object")return new N("Invalid "+je+" `"+Ke+"` of type `"+Je+"` "+("supplied to `"+De+"`, expected `object`."));for(var ie in re){var ke=re[ie];if(typeof ke!="function")return W(De,je,Ke,ie,Z(ke));var Ee=ke(_e,ie,De,je,Ke+"."+ie,r);if(Ee)return Ee}return null}return L(oe)}function le(re){function oe(ue,ce,De,je,Ke){var _e=ue[ce],Je=B(_e);if(Je!=="object")return new N("Invalid "+je+" `"+Ke+"` of type `"+Je+"` "+("supplied to `"+De+"`, expected `object`."));var ie=t({},ue[ce],re);for(var ke in ie){var Ee=re[ke];if(l(re,ke)&&typeof Ee!="function")return W(De,je,Ke,ke,Z(Ee));if(!Ee)return new N("Invalid "+je+" `"+Ke+"` key `"+ke+"` supplied to `"+De+"`.\nBad object: "+JSON.stringify(ue[ce],null," ")+`
|
|
51
|
+
Valid keys: `+JSON.stringify(Object.keys(re),null," "));var Ae=Ee(_e,ke,De,je,Ke+"."+ke,r);if(Ae)return Ae}return null}return L(oe)}function ae(re){switch(typeof re){case"number":case"string":case"undefined":return!0;case"boolean":return!re;case"object":if(Array.isArray(re))return re.every(ae);if(re===null||m(re))return!0;var oe=S(re);if(oe){var ue=oe.call(re),ce;if(oe!==re.entries){for(;!(ce=ue.next()).done;)if(!ae(ce.value))return!1}else for(;!(ce=ue.next()).done;){var De=ce.value;if(De&&!ae(De[1]))return!1}}else return!1;return!0;default:return!1}}function xe(re,oe){return re==="symbol"?!0:oe?oe["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&oe instanceof Symbol:!1}function B(re){var oe=typeof re;return Array.isArray(re)?"array":re instanceof RegExp?"object":xe(oe,re)?"symbol":oe}function Z(re){if(typeof re>"u"||re===null)return""+re;var oe=B(re);if(oe==="object"){if(re instanceof Date)return"date";if(re instanceof RegExp)return"regexp"}return oe}function te(re){var oe=Z(re);switch(oe){case"array":case"object":return"an "+oe;case"boolean":case"date":case"regexp":return"a "+oe;default:return oe}}function be(re){return!re.constructor||!re.constructor.name?R:re.constructor.name}return M.checkPropTypes=s,M.resetWarningCache=s.resetWarningCache,M.PropTypes=M,M},gD}var yD,wN;function zK(){if(wN)return yD;wN=1;var e=bM();function t(){}function r(){}return r.resetWarningCache=t,yD=function(){function l(h,m,b,E,C,S){if(S!==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 s(){return l}var c={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:s,element:l,elementType:l,instanceOf:s,node:l,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:r,resetWarningCache:t};return c.PropTypes=c,c},yD}var RN;function BK(){if(RN)return aT.exports;if(RN=1,process.env.NODE_ENV!=="production"){var e=H7(),t=!0;aT.exports=jK()(e.isElement,t)}else aT.exports=zK()();return aT.exports}var kK=BK();const Ut=zq(kK);function UK(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function IK(e,t){e.classList?e.classList.add(t):UK(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function TN(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function HK(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=TN(e.className,t):e.setAttribute("class",TN(e.className&&e.className.baseVal||"",t))}const _N={disabled:!1};var VK=process.env.NODE_ENV!=="production"?Ut.oneOfType([Ut.number,Ut.shape({enter:Ut.number,exit:Ut.number,appear:Ut.number}).isRequired]):null,FK=process.env.NODE_ENV!=="production"?Ut.oneOfType([Ut.string,Ut.shape({enter:Ut.string,exit:Ut.string,active:Ut.string}),Ut.shape({enter:Ut.string,enterDone:Ut.string,enterActive:Ut.string,exit:Ut.string,exitDone:Ut.string,exitActive:Ut.string})]):null;const jT=k.createContext(null);var F7=function(t){return t.scrollTop},WC="unmounted",Ib="exited",Hb="entering",$1="entered",l2="exiting",Ep=(function(e){yM(t,e);function t(l,s){var c;c=e.call(this,l,s)||this;var h=s,m=h&&!h.isMounting?l.enter:l.appear,b;return c.appearStatus=null,l.in?m?(b=Ib,c.appearStatus=Hb):b=$1:l.unmountOnExit||l.mountOnEnter?b=WC:b=Ib,c.state={status:b},c.nextCallback=null,c}t.getDerivedStateFromProps=function(s,c){var h=s.in;return h&&c.status===WC?{status:Ib}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(s){var c=null;if(s!==this.props){var h=this.state.status;this.props.in?h!==Hb&&h!==$1&&(c=Hb):(h===Hb||h===$1)&&(c=l2)}this.updateStatus(!1,c)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var s=this.props.timeout,c,h,m;return c=h=m=s,s!=null&&typeof s!="number"&&(c=s.exit,h=s.enter,m=s.appear!==void 0?s.appear:h),{exit:c,enter:h,appear:m}},r.updateStatus=function(s,c){if(s===void 0&&(s=!1),c!==null)if(this.cancelNextCallback(),c===Hb){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:ws.findDOMNode(this);h&&F7(h)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ib&&this.setState({status:WC})},r.performEnter=function(s){var c=this,h=this.props.enter,m=this.context?this.context.isMounting:s,b=this.props.nodeRef?[m]:[ws.findDOMNode(this),m],E=b[0],C=b[1],S=this.getTimeouts(),R=m?S.appear:S.enter;if(!s&&!h||_N.disabled){this.safeSetState({status:$1},function(){c.props.onEntered(E)});return}this.props.onEnter(E,C),this.safeSetState({status:Hb},function(){c.props.onEntering(E,C),c.onTransitionEnd(R,function(){c.safeSetState({status:$1},function(){c.props.onEntered(E,C)})})})},r.performExit=function(){var s=this,c=this.props.exit,h=this.getTimeouts(),m=this.props.nodeRef?void 0:ws.findDOMNode(this);if(!c||_N.disabled){this.safeSetState({status:Ib},function(){s.props.onExited(m)});return}this.props.onExit(m),this.safeSetState({status:l2},function(){s.props.onExiting(m),s.onTransitionEnd(h.exit,function(){s.safeSetState({status:Ib},function(){s.props.onExited(m)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(s,c){c=this.setNextCallback(c),this.setState(s,c)},r.setNextCallback=function(s){var c=this,h=!0;return this.nextCallback=function(m){h&&(h=!1,c.nextCallback=null,s(m))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},r.onTransitionEnd=function(s,c){this.setNextCallback(c);var h=this.props.nodeRef?this.props.nodeRef.current:ws.findDOMNode(this),m=s==null&&!this.props.addEndListener;if(!h||m){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var b=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],E=b[0],C=b[1];this.props.addEndListener(E,C)}s!=null&&setTimeout(this.nextCallback,s)},r.render=function(){var s=this.state.status;if(s===WC)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=gM(c,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return k.createElement(jT.Provider,{value:null},typeof h=="function"?h(s,m):k.cloneElement(k.Children.only(h),m))},t})(k.Component);Ep.contextType=jT;Ep.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Ut.shape({current:typeof Element>"u"?Ut.any:function(e,t,r,l,s,c){var h=e[t];return Ut.instanceOf(h&&"ownerDocument"in h?h.ownerDocument.defaultView.Element:Element)(e,t,r,l,s,c)}}),children:Ut.oneOfType([Ut.func.isRequired,Ut.element.isRequired]).isRequired,in:Ut.bool,mountOnEnter:Ut.bool,unmountOnExit:Ut.bool,appear:Ut.bool,enter:Ut.bool,exit:Ut.bool,timeout:function(t){var r=VK;t.addEndListener||(r=r.isRequired);for(var l=arguments.length,s=new Array(l>1?l-1:0),c=1;c<l;c++)s[c-1]=arguments[c];return r.apply(void 0,[t].concat(s))},addEndListener:Ut.func,onEnter:Ut.func,onEntering:Ut.func,onEntered:Ut.func,onExit:Ut.func,onExiting:Ut.func,onExited:Ut.func}:{};function A1(){}Ep.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:A1,onEntering:A1,onEntered:A1,onExit:A1,onExiting:A1,onExited:A1};Ep.UNMOUNTED=WC;Ep.EXITED=Ib;Ep.ENTERING=Hb;Ep.ENTERED=$1;Ep.EXITING=l2;var KK=function(t,r){return t&&r&&r.split(" ").forEach(function(l){return IK(t,l)})},bD=function(t,r){return t&&r&&r.split(" ").forEach(function(l){return HK(t,l)})},g_=(function(e){yM(t,e);function t(){for(var l,s=arguments.length,c=new Array(s),h=0;h<s;h++)c[h]=arguments[h];return l=e.call.apply(e,[this].concat(c))||this,l.appliedClasses={appear:{},enter:{},exit:{}},l.onEnter=function(m,b){var E=l.resolveArguments(m,b),C=E[0],S=E[1];l.removeClasses(C,"exit"),l.addClass(C,S?"appear":"enter","base"),l.props.onEnter&&l.props.onEnter(m,b)},l.onEntering=function(m,b){var E=l.resolveArguments(m,b),C=E[0],S=E[1],R=S?"appear":"enter";l.addClass(C,R,"active"),l.props.onEntering&&l.props.onEntering(m,b)},l.onEntered=function(m,b){var E=l.resolveArguments(m,b),C=E[0],S=E[1],R=S?"appear":"enter";l.removeClasses(C,R),l.addClass(C,R,"done"),l.props.onEntered&&l.props.onEntered(m,b)},l.onExit=function(m){var b=l.resolveArguments(m),E=b[0];l.removeClasses(E,"appear"),l.removeClasses(E,"enter"),l.addClass(E,"exit","base"),l.props.onExit&&l.props.onExit(m)},l.onExiting=function(m){var b=l.resolveArguments(m),E=b[0];l.addClass(E,"exit","active"),l.props.onExiting&&l.props.onExiting(m)},l.onExited=function(m){var b=l.resolveArguments(m),E=b[0];l.removeClasses(E,"exit"),l.addClass(E,"exit","done"),l.props.onExited&&l.props.onExited(m)},l.resolveArguments=function(m,b){return l.props.nodeRef?[l.props.nodeRef.current,m]:[m,b]},l.getClassNames=function(m){var b=l.props.classNames,E=typeof b=="string",C=E&&b?b+"-":"",S=E?""+C+m:b[m],R=E?S+"-active":b[m+"Active"],M=E?S+"-done":b[m+"Done"];return{baseClassName:S,activeClassName:R,doneClassName:M}},l}var r=t.prototype;return r.addClass=function(s,c,h){var m=this.getClassNames(c)[h+"ClassName"],b=this.getClassNames("enter"),E=b.doneClassName;c==="appear"&&h==="done"&&E&&(m+=" "+E),h==="active"&&s&&F7(s),m&&(this.appliedClasses[c][h]=m,KK(s,m))},r.removeClasses=function(s,c){var h=this.appliedClasses[c],m=h.base,b=h.active,E=h.done;this.appliedClasses[c]={},m&&bD(s,m),b&&bD(s,b),E&&bD(s,E)},r.render=function(){var s=this.props;s.classNames;var c=gM(s,["classNames"]);return k.createElement(Ep,uw({},c,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(k.Component);g_.defaultProps={classNames:""};g_.propTypes=process.env.NODE_ENV!=="production"?uw({},Ep.propTypes,{classNames:FK,onEnter:Ut.func,onEntering:Ut.func,onEntered:Ut.func,onExit:Ut.func,onExiting:Ut.func,onExited:Ut.func}):{};function GK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xM(e,t){var r=function(c){return t&&k.isValidElement(c)?t(c):c},l=Object.create(null);return e&&k.Children.map(e,function(s){return s}).forEach(function(s){l[s.key]=r(s)}),l}function YK(e,t){e=e||{},t=t||{};function r(C){return C in t?t[C]:e[C]}var l=Object.create(null),s=[];for(var c in e)c in t?s.length&&(l[c]=s,s=[]):s.push(c);var h,m={};for(var b in t){if(l[b])for(h=0;h<l[b].length;h++){var E=l[b][h];m[l[b][h]]=r(E)}m[b]=r(b)}for(h=0;h<s.length;h++)m[s[h]]=r(s[h]);return m}function Kb(e,t,r){return r[t]!=null?r[t]:e.props[t]}function XK(e,t){return xM(e.children,function(r){return k.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Kb(r,"appear",e),enter:Kb(r,"enter",e),exit:Kb(r,"exit",e)})})}function QK(e,t,r){var l=xM(e.children),s=YK(t,l);return Object.keys(s).forEach(function(c){var h=s[c];if(k.isValidElement(h)){var m=c in t,b=c in l,E=t[c],C=k.isValidElement(E)&&!E.props.in;b&&(!m||C)?s[c]=k.cloneElement(h,{onExited:r.bind(null,h),in:!0,exit:Kb(h,"exit",e),enter:Kb(h,"enter",e)}):!b&&m&&!C?s[c]=k.cloneElement(h,{in:!1}):b&&m&&k.isValidElement(E)&&(s[c]=k.cloneElement(h,{onExited:r.bind(null,h),in:E.props.in,exit:Kb(h,"exit",e),enter:Kb(h,"enter",e)}))}}),s}var ZK=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},WK={component:"div",childFactory:function(t){return t}},EM=(function(e){yM(t,e);function t(l,s){var c;c=e.call(this,l,s)||this;var h=c.handleExited.bind(GK(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(s,c){var h=c.children,m=c.handleExited,b=c.firstRender;return{children:b?XK(s,m):QK(s,h,m),firstRender:!1}},r.handleExited=function(s,c){var h=xM(this.props.children);s.key in h||(s.props.onExited&&s.props.onExited(c),this.mounted&&this.setState(function(m){var b=uw({},m.children);return delete b[s.key],{children:b}}))},r.render=function(){var s=this.props,c=s.component,h=s.childFactory,m=gM(s,["component","childFactory"]),b=this.state.contextValue,E=ZK(this.state.children).map(h);return delete m.appear,delete m.enter,delete m.exit,c===null?k.createElement(jT.Provider,{value:b},E):k.createElement(jT.Provider,{value:b},k.createElement(c,m,E))},t})(k.Component);EM.propTypes=process.env.NODE_ENV!=="production"?{component:Ut.any,children:Ut.node,appear:Ut.bool,enter:Ut.bool,exit:Ut.bool,childFactory:Ut.func}:{};EM.defaultProps=WK;const o2=({loading:e,animate:t=!0,...r})=>{const l=k.useRef(null);return t?O.jsx(g_,{unmountOnExit:!0,mountOnEnter:!0,timeout:200,in:e,classNames:"btn-loader",nodeRef:l,children:O.jsx(qT,{...r,ref:l,"data-testid":"btn-loader",className:Fe("animate-spin",r.className)})}):e?O.jsx(qT,{...r,"data-testid":"btn-loader",className:Fe("animate-spin",r.className)}):null},JK=({loading:e})=>O.jsx("span",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",background:"inherit",borderRadius:"inherit"},children:O.jsx(o2,{loading:e,animate:!1})}),eG={display:"inline-flex",alignItems:"center",gap:"0.5rem"},K7=({asChild:e=!1,onClick:t,loading:r,showLoader:l=!0,icon:s,iconPosition:c="start",loaderReplace:h,style:m,...b})=>{const E=e?_w:"button",[C=!1,S]=br({prop:r,defaultProp:!1}),R=async L=>{if(!t||C)return;const P=t(L);P instanceof Promise&&(l&&S(!0),await P.finally(()=>S(!1)))},M=L=>{if(L!==c)return null;const P=h?!1:C;return O.jsxs(O.Fragment,{children:[O.jsx(o2,{loading:P&&!s,animate:!0}),s&&O.jsx(o2,{loading:P,animate:!1}),s&&!P&&s]})},N=h&&(C&&l);return O.jsxs(E,{type:"button","data-slot":"button",...b,onClick:R,style:{...eG,position:N?"relative":void 0,...m},children:[M("start"),O.jsx(DK,{children:b.children}),M("end"),N&&O.jsx(JK,{loading:!0})]})},AN=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,DN=oM,$m=(e,t)=>r=>{var l;if(t?.variants==null)return DN(e,r?.class,r?.className);const{variants:s,defaultVariants:c}=t,h=Object.keys(s).map(E=>{const C=r?.[E],S=c?.[E];if(C===null)return null;const R=AN(C)||AN(S);return s[E][R]}),m=r&&Object.entries(r).reduce((E,C)=>{let[S,R]=C;return R===void 0||(E[S]=R),E},{}),b=t==null||(l=t.compoundVariants)===null||l===void 0?void 0:l.reduce((E,C)=>{let{class:S,className:R,...M}=C;return Object.entries(M).every(q=>{let[N,L]=q;return Array.isArray(L)?L.includes({...c,...m}[N]):{...c,...m}[N]===L})?[...E,S,R]:E},[]);return DN(e,h,b,r?.class,r?.className)},tG=$m(["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"}}),hi=e=>{const{variant:t,size:r,shape:l,className:s,...c}=Tw("Button",e);return O.jsx(K7,{...c,className:Fe(tG({variant:t,size:r,shape:l}),s),"data-variant":t||"default"})},nG=({title:e="¿Estás seguro?",description:t="Esta acción no se puede deshacer",trigger:r,onClose:l,onAction:s,variant:c="default",triggerProps:h,contentProps:m,headerProps:b,titleProps:E,descriptionProps:C,footerProps:S,closeProps:R,closeText:M="Cancelar",actionText:q="Aceptar",actionProps:N,...L})=>O.jsxs(m_,{...L,"data-slot":"alert-dialog",children:[r&&O.jsx(dM,{...h,"data-slot":"alert-dialog-trigger",children:r}),O.jsxs(v_,{...m,"data-slot":"alert-dialog-content",children:[O.jsxs(pM,{...b,"data-slot":"alert-dialog-header",children:[O.jsx(mM,{...E,"data-slot":"alert-dialog-title",children:e}),O.jsx(vM,{...C,"data-slot":"alert-dialog-description",children:t})]}),O.jsxs(hM,{...S,"data-slot":"alert-dialog-footer",children:[O.jsx(r2,{asChild:!0,type:"button",variant:"secondary",...R,onClick:l??R?.onClick,"data-slot":"alert-dialog-close",children:O.jsx(hi,{"data-slot":"alert-dialog-close",children:M})}),O.jsx(r2,{asChild:!0,type:"button",variant:c,...N,onClick:s??N?.onClick,"data-slot":"alert-dialog-action",children:O.jsx(hi,{"data-slot":"alert-dialog-action",children:q})})]})]})]});var MN=1,rG=.9,aG=.8,lG=.17,xD=.1,ED=.999,oG=.9999,iG=.99,uG=/[\\\/_+.#"@\[\(\{&]/,sG=/[\\\/_+.#"@\[\(\{&]/g,cG=/[\s-]/,G7=/[\s-]/g;function i2(e,t,r,l,s,c,h){if(c===t.length)return s===e.length?MN:iG;var m=`${s},${c}`;if(h[m]!==void 0)return h[m];for(var b=l.charAt(c),E=r.indexOf(b,s),C=0,S,R,M,q;E>=0;)S=i2(e,t,r,l,E+1,c+1,h),S>C&&(E===s?S*=MN:uG.test(e.charAt(E-1))?(S*=aG,M=e.slice(s,E-1).match(sG),M&&s>0&&(S*=Math.pow(ED,M.length))):cG.test(e.charAt(E-1))?(S*=rG,q=e.slice(s,E-1).match(G7),q&&s>0&&(S*=Math.pow(ED,q.length))):(S*=lG,s>0&&(S*=Math.pow(ED,E-s))),e.charAt(E)!==t.charAt(c)&&(S*=oG)),(S<xD&&r.charAt(E-1)===l.charAt(c+1)||l.charAt(c+1)===l.charAt(c)&&r.charAt(E-1)!==l.charAt(c))&&(R=i2(e,t,r,l,E+1,c+2,h),R*xD>S&&(S=R*xD)),S>C&&(C=S),E=r.indexOf(b,E+1);return h[m]=C,C}function ON(e){return e.toLowerCase().replace(G7," ")}function fG(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,i2(e,t,ON(e),ON(t),0,0,{})}function Mg(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),r===!1||!s.defaultPrevented)return t?.(s)}}function dG({prop:e,defaultProp:t,onChange:r=()=>{}}){const[l,s]=pG({defaultProp:t,onChange:r}),c=e!==void 0,h=c?e:l,m=Yo(r),b=D.useCallback(E=>{if(c){const S=typeof E=="function"?E(e):E;S!==e&&m(S)}else s(E)},[c,e,s,m]);return[h,b]}function pG({defaultProp:e,onChange:t}){const r=D.useState(e),[l]=r,s=D.useRef(l),c=Yo(t);return D.useEffect(()=>{s.current!==l&&(c(l),s.current=l)},[l,s,c]),r}function hG(e){const t=mG(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(gG);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function mG(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=bG(s),m=yG(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vG=Symbol("radix.slottable");function gG(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vG}function yG(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{c(...m),s(...m)}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function bG(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 xG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Xo=xG.reduce((e,t)=>{const r=hG(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function EG(e,t){e&&X1.flushSync(()=>e.dispatchEvent(t))}var SG="DismissableLayer",u2="dismissableLayer.update",CG="dismissableLayer.pointerDownOutside",wG="dismissableLayer.focusOutside",NN,Y7=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),X7=D.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:h,onDismiss:m,...b}=e,E=D.useContext(Y7),[C,S]=D.useState(null),R=C?.ownerDocument??globalThis?.document,[,M]=D.useState({}),q=vn(t,K=>S(K)),N=Array.from(E.layers),[L]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),P=N.indexOf(L),U=C?N.indexOf(C):-1,I=E.layersWithOutsidePointerEventsDisabled.size>0,Y=U>=P,V=_G(K=>{const Q=K.target,he=[...E.branches].some(de=>de.contains(Q));!Y||he||(s?.(K),h?.(K),K.defaultPrevented||m?.())},R),F=AG(K=>{const Q=K.target;[...E.branches].some(de=>de.contains(Q))||(c?.(K),h?.(K),K.defaultPrevented||m?.())},R);return r7(K=>{U===E.layers.size-1&&(l?.(K),!K.defaultPrevented&&m&&(K.preventDefault(),m()))},R),D.useEffect(()=>{if(C)return r&&(E.layersWithOutsidePointerEventsDisabled.size===0&&(NN=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(C)),E.layers.add(C),$N(),()=>{r&&E.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=NN)}},[C,R,r,E]),D.useEffect(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),$N())},[C,E]),D.useEffect(()=>{const K=()=>M({});return document.addEventListener(u2,K),()=>document.removeEventListener(u2,K)},[]),O.jsx(Xo.div,{...b,ref:q,style:{pointerEvents:I?Y?"auto":"none":void 0,...e.style},onFocusCapture:Mg(e.onFocusCapture,F.onFocusCapture),onBlurCapture:Mg(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:Mg(e.onPointerDownCapture,V.onPointerDownCapture)})});X7.displayName=SG;var RG="DismissableLayerBranch",TG=D.forwardRef((e,t)=>{const r=D.useContext(Y7),l=D.useRef(null),s=vn(t,l);return D.useEffect(()=>{const c=l.current;if(c)return r.branches.add(c),()=>{r.branches.delete(c)}},[r.branches]),O.jsx(Xo.div,{...e,ref:s})});TG.displayName=RG;function _G(e,t=globalThis?.document){const r=Yo(e),l=D.useRef(!1),s=D.useRef(()=>{});return D.useEffect(()=>{const c=m=>{if(m.target&&!l.current){let b=function(){Q7(CG,r,E,{discrete:!0})};const E={originalEvent:m};m.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=b,t.addEventListener("click",s.current,{once:!0})):b()}else t.removeEventListener("click",s.current);l.current=!1},h=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(h),t.removeEventListener("pointerdown",c),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>l.current=!0}}function AG(e,t=globalThis?.document){const r=Yo(e),l=D.useRef(!1);return D.useEffect(()=>{const s=c=>{c.target&&!l.current&&Q7(wG,r,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function $N(){const e=new CustomEvent(u2);document.dispatchEvent(e)}function Q7(e,t,r,{discrete:l}){const s=r.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),l?EG(s,c):s.dispatchEvent(c)}var SD="focusScope.autoFocusOnMount",CD="focusScope.autoFocusOnUnmount",PN={bubbles:!1,cancelable:!0},DG="FocusScope",Z7=D.forwardRef((e,t)=>{const{loop:r=!1,trapped:l=!1,onMountAutoFocus:s,onUnmountAutoFocus:c,...h}=e,[m,b]=D.useState(null),E=Yo(s),C=Yo(c),S=D.useRef(null),R=vn(t,N=>b(N)),M=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(l){let N=function(I){if(M.paused||!m)return;const Y=I.target;m.contains(Y)?S.current=Y:Rg(S.current,{select:!0})},L=function(I){if(M.paused||!m)return;const Y=I.relatedTarget;Y!==null&&(m.contains(Y)||Rg(S.current,{select:!0}))},P=function(I){if(document.activeElement===document.body)for(const V of I)V.removedNodes.length>0&&Rg(m)};document.addEventListener("focusin",N),document.addEventListener("focusout",L);const U=new MutationObserver(P);return m&&U.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",N),document.removeEventListener("focusout",L),U.disconnect()}}},[l,m,M.paused]),D.useEffect(()=>{if(m){LN.add(M);const N=document.activeElement;if(!m.contains(N)){const P=new CustomEvent(SD,PN);m.addEventListener(SD,E),m.dispatchEvent(P),P.defaultPrevented||(MG(qG(W7(m)),{select:!0}),document.activeElement===N&&Rg(m))}return()=>{m.removeEventListener(SD,E),setTimeout(()=>{const P=new CustomEvent(CD,PN);m.addEventListener(CD,C),m.dispatchEvent(P),P.defaultPrevented||Rg(N??document.body,{select:!0}),m.removeEventListener(CD,C),LN.remove(M)},0)}}},[m,E,C,M]);const q=D.useCallback(N=>{if(!r&&!l||M.paused)return;const L=N.key==="Tab"&&!N.altKey&&!N.ctrlKey&&!N.metaKey,P=document.activeElement;if(L&&P){const U=N.currentTarget,[I,Y]=OG(U);I&&Y?!N.shiftKey&&P===Y?(N.preventDefault(),r&&Rg(I,{select:!0})):N.shiftKey&&P===I&&(N.preventDefault(),r&&Rg(Y,{select:!0})):P===U&&N.preventDefault()}},[r,l,M.paused]);return O.jsx(Xo.div,{tabIndex:-1,...h,ref:R,onKeyDown:q})});Z7.displayName=DG;function MG(e,{select:t=!1}={}){const r=document.activeElement;for(const l of e)if(Rg(l,{select:t}),document.activeElement!==r)return}function OG(e){const t=W7(e),r=qN(t,e),l=qN(t.reverse(),e);return[r,l]}function W7(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const s=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||s?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function qN(e,t){for(const r of e)if(!NG(r,{upTo:t}))return r}function NG(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 $G(e){return e instanceof HTMLInputElement&&"select"in e}function Rg(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&$G(e)&&t&&e.select()}}var LN=PG();function PG(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=jN(e,t),e.unshift(t)},remove(t){e=jN(e,t),e[0]?.resume()}}}function jN(e,t){const r=[...e],l=r.indexOf(t);return l!==-1&&r.splice(l,1),r}function qG(e){return e.filter(t=>t.tagName!=="A")}var LG="Portal",J7=D.forwardRef((e,t)=>{const{container:r,...l}=e,[s,c]=D.useState(!1);Vl(()=>c(!0),[]);const h=r||s&&globalThis?.document?.body;return h?ws.createPortal(O.jsx(Xo.div,{...l,ref:t}),h):null});J7.displayName=LG;function jG(e,t){return D.useReducer((r,l)=>t[r][l]??r,e)}var y_=e=>{const{present:t,children:r}=e,l=zG(t),s=typeof r=="function"?r({present:l.isPresent}):D.Children.only(r),c=vn(l.ref,BG(s));return typeof r=="function"||l.isPresent?D.cloneElement(s,{ref:c}):null};y_.displayName="Presence";function zG(e){const[t,r]=D.useState(),l=D.useRef({}),s=D.useRef(e),c=D.useRef("none"),h=e?"mounted":"unmounted",[m,b]=jG(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const E=oT(l.current);c.current=m==="mounted"?E:"none"},[m]),Vl(()=>{const E=l.current,C=s.current;if(C!==e){const R=c.current,M=oT(E);e?b("MOUNT"):M==="none"||E?.display==="none"?b("UNMOUNT"):b(C&&R!==M?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,b]),Vl(()=>{if(t){let E;const C=t.ownerDocument.defaultView??window,S=M=>{const N=oT(l.current).includes(M.animationName);if(M.target===t&&N&&(b("ANIMATION_END"),!s.current)){const L=t.style.animationFillMode;t.style.animationFillMode="forwards",E=C.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=L)})}},R=M=>{M.target===t&&(c.current=oT(l.current))};return t.addEventListener("animationstart",R),t.addEventListener("animationcancel",S),t.addEventListener("animationend",S),()=>{C.clearTimeout(E),t.removeEventListener("animationstart",R),t.removeEventListener("animationcancel",S),t.removeEventListener("animationend",S)}}else b("ANIMATION_END")},[t,b]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:D.useCallback(E=>{E&&(l.current=getComputedStyle(E)),r(E)},[])}}function oT(e){return e?.animationName||"none"}function BG(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 wD=0;function kG(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??zN()),document.body.insertAdjacentElement("beforeend",e[1]??zN()),wD++,()=>{wD===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),wD--}},[])}function zN(){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 UG(e){const t=IG(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(VG);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function IG(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=KG(s),m=FG(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var HG=Symbol("radix.slottable");function VG(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===HG}function FG(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{c(...m),s(...m)}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function KG(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 SM="Dialog",[e8]=xp(SM),[GG,nd]=e8(SM),t8=e=>{const{__scopeDialog:t,children:r,open:l,defaultOpen:s,onOpenChange:c,modal:h=!0}=e,m=D.useRef(null),b=D.useRef(null),[E=!1,C]=dG({prop:l,defaultProp:s,onChange:c});return O.jsx(GG,{scope:t,triggerRef:m,contentRef:b,contentId:_a(),titleId:_a(),descriptionId:_a(),open:E,onOpenChange:C,onOpenToggle:D.useCallback(()=>C(S=>!S),[C]),modal:h,children:r})};t8.displayName=SM;var n8="DialogTrigger",YG=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=nd(n8,r),c=vn(t,s.triggerRef);return O.jsx(Xo.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":RM(s.open),...l,ref:c,onClick:Mg(e.onClick,s.onOpenToggle)})});YG.displayName=n8;var CM="DialogPortal",[XG,r8]=e8(CM,{forceMount:void 0}),a8=e=>{const{__scopeDialog:t,forceMount:r,children:l,container:s}=e,c=nd(CM,t);return O.jsx(XG,{scope:t,forceMount:r,children:D.Children.map(l,h=>O.jsx(y_,{present:r||c.open,children:O.jsx(J7,{asChild:!0,container:s,children:h})}))})};a8.displayName=CM;var zT="DialogOverlay",l8=D.forwardRef((e,t)=>{const r=r8(zT,e.__scopeDialog),{forceMount:l=r.forceMount,...s}=e,c=nd(zT,e.__scopeDialog);return c.modal?O.jsx(y_,{present:l||c.open,children:O.jsx(ZG,{...s,ref:t})}):null});l8.displayName=zT;var QG=UG("DialogOverlay.RemoveScroll"),ZG=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=nd(zT,r);return O.jsx(ex,{as:QG,allowPinchZoom:!0,shards:[s.contentRef],children:O.jsx(Xo.div,{"data-state":RM(s.open),...l,ref:t,style:{pointerEvents:"auto",...l.style}})})}),Jb="DialogContent",o8=D.forwardRef((e,t)=>{const r=r8(Jb,e.__scopeDialog),{forceMount:l=r.forceMount,...s}=e,c=nd(Jb,e.__scopeDialog);return O.jsx(y_,{present:l||c.open,children:c.modal?O.jsx(WG,{...s,ref:t}):O.jsx(JG,{...s,ref:t})})});o8.displayName=Jb;var WG=D.forwardRef((e,t)=>{const r=nd(Jb,e.__scopeDialog),l=D.useRef(null),s=vn(t,r.contentRef,l);return D.useEffect(()=>{const c=l.current;if(c)return ww(c)},[]),O.jsx(i8,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Mg(e.onCloseAutoFocus,c=>{c.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Mg(e.onPointerDownOutside,c=>{const h=c.detail.originalEvent,m=h.button===0&&h.ctrlKey===!0;(h.button===2||m)&&c.preventDefault()}),onFocusOutside:Mg(e.onFocusOutside,c=>c.preventDefault())})}),JG=D.forwardRef((e,t)=>{const r=nd(Jb,e.__scopeDialog),l=D.useRef(!1),s=D.useRef(!1);return O.jsx(i8,{...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,s.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(l.current=!0,c.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const h=c.target;r.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.current&&c.preventDefault()}})}),i8=D.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:c,...h}=e,m=nd(Jb,r),b=D.useRef(null),E=vn(t,b);return kG(),O.jsxs(O.Fragment,{children:[O.jsx(Z7,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:s,onUnmountAutoFocus:c,children:O.jsx(X7,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":RM(m.open),...h,ref:E,onDismiss:()=>m.onOpenChange(!1)})}),O.jsxs(O.Fragment,{children:[O.jsx(rY,{titleId:m.titleId}),O.jsx(lY,{contentRef:b,descriptionId:m.descriptionId})]})]})}),wM="DialogTitle",eY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=nd(wM,r);return O.jsx(Xo.h2,{id:s.titleId,...l,ref:t})});eY.displayName=wM;var u8="DialogDescription",tY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=nd(u8,r);return O.jsx(Xo.p,{id:s.descriptionId,...l,ref:t})});tY.displayName=u8;var s8="DialogClose",nY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...l}=e,s=nd(s8,r);return O.jsx(Xo.button,{type:"button",...l,ref:t,onClick:Mg(e.onClick,()=>s.onOpenChange(!1))})});nY.displayName=s8;function RM(e){return e?"open":"closed"}var c8="DialogTitleWarning",[bme,f8]=t7(c8,{contentName:Jb,titleName:wM,docsSlug:"dialog"}),rY=({titleId:e})=>{const t=f8(c8),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 D.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},aY="DialogDescriptionWarning",lY=({contentRef:e,descriptionId:t})=>{const l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${f8(aY).contentName}}.`;return D.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(l))},[l,e,t]),null},oY=t8,iY=a8,uY=l8,sY=o8,uE='[cmdk-group=""]',RD='[cmdk-group-items=""]',cY='[cmdk-group-heading=""]',d8='[cmdk-item=""]',BN=`${d8}:not([aria-disabled="true"])`,s2="cmdk-item-select",P1="data-value",fY=(e,t,r)=>fG(e,t,r),p8=D.createContext(void 0),Aw=()=>D.useContext(p8),h8=D.createContext(void 0),TM=()=>D.useContext(h8),m8=D.createContext(void 0),v8=D.forwardRef((e,t)=>{let r=q1(()=>{var ue,ce;return{search:"",value:(ce=(ue=e.value)!=null?ue:e.defaultValue)!=null?ce:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),l=q1(()=>new Set),s=q1(()=>new Map),c=q1(()=>new Map),h=q1(()=>new Set),m=g8(e),{label:b,children:E,value:C,onValueChange:S,filter:R,shouldFilter:M,loop:q,disablePointerSelection:N=!1,vimBindings:L=!0,...P}=e,U=_a(),I=_a(),Y=_a(),V=D.useRef(null),F=SY();e0(()=>{if(C!==void 0){let ue=C.trim();r.current.value=ue,K.emit()}},[C]),e0(()=>{F(6,le)},[]);let K=D.useMemo(()=>({subscribe:ue=>(h.current.add(ue),()=>h.current.delete(ue)),snapshot:()=>r.current,setState:(ue,ce,De)=>{var je,Ke,_e,Je;if(!Object.is(r.current[ue],ce)){if(r.current[ue]=ce,ue==="search")se(),de(),F(1,W);else if(ue==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let ie=document.getElementById(Y);ie?ie.focus():(je=document.getElementById(U))==null||je.focus()}if(F(7,()=>{var ie;r.current.selectedItemId=(ie=ae())==null?void 0:ie.id,K.emit()}),De||F(5,le),((Ke=m.current)==null?void 0:Ke.value)!==void 0){let ie=ce??"";(Je=(_e=m.current).onValueChange)==null||Je.call(_e,ie);return}}K.emit()}},emit:()=>{h.current.forEach(ue=>ue())}}),[]),Q=D.useMemo(()=>({value:(ue,ce,De)=>{var je;ce!==((je=c.current.get(ue))==null?void 0:je.value)&&(c.current.set(ue,{value:ce,keywords:De}),r.current.filtered.items.set(ue,he(ce,De)),F(2,()=>{de(),K.emit()}))},item:(ue,ce)=>(l.current.add(ue),ce&&(s.current.has(ce)?s.current.get(ce).add(ue):s.current.set(ce,new Set([ue]))),F(3,()=>{se(),de(),r.current.value||W(),K.emit()}),()=>{c.current.delete(ue),l.current.delete(ue),r.current.filtered.items.delete(ue);let De=ae();F(4,()=>{se(),De?.getAttribute("id")===ue&&W(),K.emit()})}),group:ue=>(s.current.has(ue)||s.current.set(ue,new Set),()=>{c.current.delete(ue),s.current.delete(ue)}),filter:()=>m.current.shouldFilter,label:b||e["aria-label"],getDisablePointerSelection:()=>m.current.disablePointerSelection,listId:U,inputId:Y,labelId:I,listInnerRef:V}),[]);function he(ue,ce){var De,je;let Ke=(je=(De=m.current)==null?void 0:De.filter)!=null?je:fY;return ue?Ke(ue,r.current.search,ce):0}function de(){if(!r.current.search||m.current.shouldFilter===!1)return;let ue=r.current.filtered.items,ce=[];r.current.filtered.groups.forEach(je=>{let Ke=s.current.get(je),_e=0;Ke.forEach(Je=>{let ie=ue.get(Je);_e=Math.max(ie,_e)}),ce.push([je,_e])});let De=V.current;xe().sort((je,Ke)=>{var _e,Je;let ie=je.getAttribute("id"),ke=Ke.getAttribute("id");return((_e=ue.get(ke))!=null?_e:0)-((Je=ue.get(ie))!=null?Je:0)}).forEach(je=>{let Ke=je.closest(RD);Ke?Ke.appendChild(je.parentElement===Ke?je:je.closest(`${RD} > *`)):De.appendChild(je.parentElement===De?je:je.closest(`${RD} > *`))}),ce.sort((je,Ke)=>Ke[1]-je[1]).forEach(je=>{var Ke;let _e=(Ke=V.current)==null?void 0:Ke.querySelector(`${uE}[${P1}="${encodeURIComponent(je[0])}"]`);_e?.parentElement.appendChild(_e)})}function W(){let ue=xe().find(De=>De.getAttribute("aria-disabled")!=="true"),ce=ue?.getAttribute(P1);K.setState("value",ce||void 0)}function se(){var ue,ce,De,je;if(!r.current.search||m.current.shouldFilter===!1){r.current.filtered.count=l.current.size;return}r.current.filtered.groups=new Set;let Ke=0;for(let _e of l.current){let Je=(ce=(ue=c.current.get(_e))==null?void 0:ue.value)!=null?ce:"",ie=(je=(De=c.current.get(_e))==null?void 0:De.keywords)!=null?je:[],ke=he(Je,ie);r.current.filtered.items.set(_e,ke),ke>0&&Ke++}for(let[_e,Je]of s.current)for(let ie of Je)if(r.current.filtered.items.get(ie)>0){r.current.filtered.groups.add(_e);break}r.current.filtered.count=Ke}function le(){var ue,ce,De;let je=ae();je&&(((ue=je.parentElement)==null?void 0:ue.firstChild)===je&&((De=(ce=je.closest(uE))==null?void 0:ce.querySelector(cY))==null||De.scrollIntoView({block:"nearest"})),je.scrollIntoView({block:"nearest"}))}function ae(){var ue;return(ue=V.current)==null?void 0:ue.querySelector(`${d8}[aria-selected="true"]`)}function xe(){var ue;return Array.from(((ue=V.current)==null?void 0:ue.querySelectorAll(BN))||[])}function B(ue){let ce=xe()[ue];ce&&K.setState("value",ce.getAttribute(P1))}function Z(ue){var ce;let De=ae(),je=xe(),Ke=je.findIndex(Je=>Je===De),_e=je[Ke+ue];(ce=m.current)!=null&&ce.loop&&(_e=Ke+ue<0?je[je.length-1]:Ke+ue===je.length?je[0]:je[Ke+ue]),_e&&K.setState("value",_e.getAttribute(P1))}function te(ue){let ce=ae(),De=ce?.closest(uE),je;for(;De&&!je;)De=ue>0?xY(De,uE):EY(De,uE),je=De?.querySelector(BN);je?K.setState("value",je.getAttribute(P1)):Z(ue)}let be=()=>B(xe().length-1),re=ue=>{ue.preventDefault(),ue.metaKey?be():ue.altKey?te(1):Z(1)},oe=ue=>{ue.preventDefault(),ue.metaKey?B(0):ue.altKey?te(-1):Z(-1)};return D.createElement(Xo.div,{ref:t,tabIndex:-1,...P,"cmdk-root":"",onKeyDown:ue=>{var ce;(ce=P.onKeyDown)==null||ce.call(P,ue);let De=ue.nativeEvent.isComposing||ue.keyCode===229;if(!(ue.defaultPrevented||De))switch(ue.key){case"n":case"j":{L&&ue.ctrlKey&&re(ue);break}case"ArrowDown":{re(ue);break}case"p":case"k":{L&&ue.ctrlKey&&oe(ue);break}case"ArrowUp":{oe(ue);break}case"Home":{ue.preventDefault(),B(0);break}case"End":{ue.preventDefault(),be();break}case"Enter":{ue.preventDefault();let je=ae();if(je){let Ke=new Event(s2);je.dispatchEvent(Ke)}}}}},D.createElement("label",{"cmdk-label":"",htmlFor:Q.inputId,id:Q.labelId,style:wY},b),b_(e,ue=>D.createElement(h8.Provider,{value:K},D.createElement(p8.Provider,{value:Q},ue))))}),dY=D.forwardRef((e,t)=>{var r,l;let s=_a(),c=D.useRef(null),h=D.useContext(m8),m=Aw(),b=g8(e),E=(l=(r=b.current)==null?void 0:r.forceMount)!=null?l:h?.forceMount;e0(()=>{if(!E)return m.item(s,h?.id)},[E]);let C=y8(s,c,[e.value,e.children,c],e.keywords),S=TM(),R=$g(F=>F.value&&F.value===C.current),M=$g(F=>E||m.filter()===!1?!0:F.search?F.filtered.items.get(s)>0:!0);D.useEffect(()=>{let F=c.current;if(!(!F||e.disabled))return F.addEventListener(s2,q),()=>F.removeEventListener(s2,q)},[M,e.onSelect,e.disabled]);function q(){var F,K;N(),(K=(F=b.current).onSelect)==null||K.call(F,C.current)}function N(){S.setState("value",C.current,!0)}if(!M)return null;let{disabled:L,value:P,onSelect:U,forceMount:I,keywords:Y,...V}=e;return D.createElement(Xo.div,{ref:Fr(c,t),...V,id:s,"cmdk-item":"",role:"option","aria-disabled":!!L,"aria-selected":!!R,"data-disabled":!!L,"data-selected":!!R,onPointerMove:L||m.getDisablePointerSelection()?void 0:N,onClick:L?void 0:q},e.children)}),pY=D.forwardRef((e,t)=>{let{heading:r,children:l,forceMount:s,...c}=e,h=_a(),m=D.useRef(null),b=D.useRef(null),E=_a(),C=Aw(),S=$g(M=>s||C.filter()===!1?!0:M.search?M.filtered.groups.has(h):!0);e0(()=>C.group(h),[]),y8(h,m,[e.value,e.heading,b]);let R=D.useMemo(()=>({id:h,forceMount:s}),[s]);return D.createElement(Xo.div,{ref:Fr(m,t),...c,"cmdk-group":"",role:"presentation",hidden:S?void 0:!0},r&&D.createElement("div",{ref:b,"cmdk-group-heading":"","aria-hidden":!0,id:E},r),b_(e,M=>D.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?E:void 0},D.createElement(m8.Provider,{value:R},M))))}),hY=D.forwardRef((e,t)=>{let{alwaysRender:r,...l}=e,s=D.useRef(null),c=$g(h=>!h.search);return!r&&!c?null:D.createElement(Xo.div,{ref:Fr(s,t),...l,"cmdk-separator":"",role:"separator"})}),mY=D.forwardRef((e,t)=>{let{onValueChange:r,...l}=e,s=e.value!=null,c=TM(),h=$g(E=>E.search),m=$g(E=>E.selectedItemId),b=Aw();return D.useEffect(()=>{e.value!=null&&c.setState("search",e.value)},[e.value]),D.createElement(Xo.input,{ref:t,...l,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":b.listId,"aria-labelledby":b.labelId,"aria-activedescendant":m,id:b.inputId,type:"text",value:s?e.value:h,onChange:E=>{s||c.setState("search",E.target.value),r?.(E.target.value)}})}),vY=D.forwardRef((e,t)=>{let{children:r,label:l="Suggestions",...s}=e,c=D.useRef(null),h=D.useRef(null),m=$g(E=>E.selectedItemId),b=Aw();return D.useEffect(()=>{if(h.current&&c.current){let E=h.current,C=c.current,S,R=new ResizeObserver(()=>{S=requestAnimationFrame(()=>{let M=E.offsetHeight;C.style.setProperty("--cmdk-list-height",M.toFixed(1)+"px")})});return R.observe(E),()=>{cancelAnimationFrame(S),R.unobserve(E)}}},[]),D.createElement(Xo.div,{ref:Fr(c,t),...s,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":m,"aria-label":l,id:b.listId},b_(e,E=>D.createElement("div",{ref:Fr(h,b.listInnerRef),"cmdk-list-sizer":""},E)))}),gY=D.forwardRef((e,t)=>{let{open:r,onOpenChange:l,overlayClassName:s,contentClassName:c,container:h,...m}=e;return D.createElement(oY,{open:r,onOpenChange:l},D.createElement(iY,{container:h},D.createElement(uY,{"cmdk-overlay":"",className:s}),D.createElement(sY,{"aria-label":e.label,"cmdk-dialog":"",className:c},D.createElement(v8,{ref:t,...m}))))}),yY=D.forwardRef((e,t)=>$g(r=>r.filtered.count===0)?D.createElement(Xo.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),bY=D.forwardRef((e,t)=>{let{progress:r,children:l,label:s="Loading...",...c}=e;return D.createElement(Xo.div,{ref:t,...c,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":s},b_(e,h=>D.createElement("div",{"aria-hidden":!0},h)))}),s0=Object.assign(v8,{List:vY,Item:dY,Input:mY,Group:pY,Separator:hY,Dialog:gY,Empty:yY,Loading:bY});function xY(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function EY(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function g8(e){let t=D.useRef(e);return e0(()=>{t.current=e}),t}var e0=typeof window>"u"?D.useEffect:D.useLayoutEffect;function q1(e){let t=D.useRef();return t.current===void 0&&(t.current=e()),t}function $g(e){let t=TM(),r=()=>e(t.snapshot());return D.useSyncExternalStore(t.subscribe,r,r)}function y8(e,t,r,l=[]){let s=D.useRef(),c=Aw();return e0(()=>{var h;let m=(()=>{var E;for(let C of r){if(typeof C=="string")return C.trim();if(typeof C=="object"&&"current"in C)return C.current?(E=C.current.textContent)==null?void 0:E.trim():s.current}})(),b=l.map(E=>E.trim());c.value(e,m,b),(h=t.current)==null||h.setAttribute(P1,m),s.current=m}),s}var SY=()=>{let[e,t]=D.useState(),r=q1(()=>new Map);return e0(()=>{r.current.forEach(l=>l()),r.current=new Map},[e]),(l,s)=>{r.current.set(l,s),t({})}};function CY(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function b_({asChild:e,children:t},r){return e&&D.isValidElement(t)?D.cloneElement(CY(t),{ref:t.ref},r(t.props.children)):r(t)}var wY={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const Dw=({className:e,...t})=>O.jsx(s0,{"data-slot":"auto-complete",className:Fe("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}),RY=({children:e,...t})=>O.jsx(m_,{...t,"data-slot":"auto-complete-dialog",children:O.jsx(v_,{className:"p-0 overflow-hidden shadow-lg","data-slot":"auto-complete-dialog-content",children:O.jsx(Dw,{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})})}),x_=({className:e,...t})=>O.jsxs("div",{className:"flex items-center px-3 border-b","data-slot":"auto-complete-input-container",children:[O.jsx(xK,{className:"w-4 h-4 mr-2 opacity-50 shrink-0","data-slot":"auto-complete-input-icon"}),O.jsx(s0.Input,{"data-slot":"auto-complete-input",className:Fe("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})]}),E_=({className:e,...t})=>O.jsx(s0.List,{"data-slot":"auto-complete-list",className:Fe("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}),S_=e=>O.jsx(s0.Empty,{className:"py-6 text-sm text-center","data-slot":"auto-complete-empty",...e}),b8=({className:e,...t})=>O.jsx(s0.Group,{"data-slot":"auto-complete-group",className:Fe("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}),TY=({className:e,...t})=>O.jsx(s0.Separator,{"data-slot":"auto-complete-separator",className:Fe("-mx-1 h-px bg-input",e),...t}),sw=({className:e,...t})=>O.jsx(s0.Item,{"data-slot":"auto-complete-item",className:Fe("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}),x8=({className:e,...t})=>O.jsx("span",{"data-slot":"auto-complete-shortcut",className:Fe("ml-auto text-xs tracking-widest text-muted-foreground",e),...t}),_Y=({items:e,placeholder:t="Buscar...",emptyMessage:r="No se encontraron resultados",onSelect:l,containerClassName:s,containerProps:c,inputClassName:h,inputProps:m,listClassName:b,listProps:E,itemClassName:C,itemProps:S,emptyClassName:R,emptyProps:M})=>O.jsxs(Dw,{className:s,...c,children:[O.jsx(x_,{placeholder:t,className:h,...m}),O.jsx(E_,{className:b,...E,children:e.map(q=>O.jsxs(sw,{className:C,onSelect:()=>l?.(q.value,q),...S,children:[q.label,q.shortcut&&O.jsx(x8,{children:q.shortcut})]},q.value))}),O.jsx(S_,{className:R,...M,children:r})]}),E8=e=>e.split(" ").map(t=>t.charAt(0)).join("");function AY(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}const DY=({children:e,as:t="div",props:r})=>{let l;return typeof e=="string"?l=O.jsx(t,{children:e}):k.isValidElement(e)?l=e:typeof e=="function"?l=e(r):l=O.jsx(t,{children:e}),k.isValidElement(l)?l:O.jsx(t,{children:l})},Mw=()=>{const e=k.createContext(null);return[()=>{const r=k.useContext(e);if(r===null)throw new Error("Context value is null");return r},e.Provider]},MY=e=>{e.preventDefault();const t=e.currentTarget.elements,r={};return Array.from(t).forEach(l=>{const s=l;s.name&&(r[s.name]=s.value)}),r};var iT={exports:{}},TD={};var kN;function OY(){if(kN)return TD;kN=1;var e=k,t=!1;return TD.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)},TD}var _D={};var UN;function NY(){return UN||(UN=1,process.env.NODE_ENV!=="production"&&(function(){var e=k,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 IN;function $Y(){return IN||(IN=1,process.env.NODE_ENV==="production"?iT.exports=OY():iT.exports=NY()),iT.exports}var PY=$Y(),uT={exports:{}},sE={},sT={exports:{}},AD={};var HN;function qY(){return HN||(HN=1,(function(e){function t(B,Z){var te=B.length;B.push(Z);e:for(;0<te;){var be=te-1>>>1,re=B[be];if(0<s(re,Z))B[be]=Z,B[te]=re,te=be;else break e}}function r(B){return B.length===0?null:B[0]}function l(B){if(B.length===0)return null;var Z=B[0],te=B.pop();if(te!==Z){B[0]=te;e:for(var be=0,re=B.length,oe=re>>>1;be<oe;){var ue=2*(be+1)-1,ce=B[ue],De=ue+1,je=B[De];if(0>s(ce,te))De<re&&0>s(je,ce)?(B[be]=je,B[De]=te,be=De):(B[be]=ce,B[ue]=te,be=ue);else if(De<re&&0>s(je,te))B[be]=je,B[De]=te,be=De;else break e}}return Z}function s(B,Z){var te=B.sortIndex-Z.sortIndex;return te!==0?te:B.id-Z.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 b=[],E=[],C=1,S=null,R=3,M=!1,q=!1,N=!1,L=!1,P=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function Y(B){for(var Z=r(E);Z!==null;){if(Z.callback===null)l(E);else if(Z.startTime<=B)l(E),Z.sortIndex=Z.expirationTime,t(b,Z);else break;Z=r(E)}}function V(B){if(N=!1,Y(B),!q)if(r(b)!==null)q=!0,F||(F=!0,se());else{var Z=r(E);Z!==null&&xe(V,Z.startTime-B)}}var F=!1,K=-1,Q=5,he=-1;function de(){return L?!0:!(e.unstable_now()-he<Q)}function W(){if(L=!1,F){var B=e.unstable_now();he=B;var Z=!0;try{e:{q=!1,N&&(N=!1,U(K),K=-1),M=!0;var te=R;try{t:{for(Y(B),S=r(b);S!==null&&!(S.expirationTime>B&&de());){var be=S.callback;if(typeof be=="function"){S.callback=null,R=S.priorityLevel;var re=be(S.expirationTime<=B);if(B=e.unstable_now(),typeof re=="function"){S.callback=re,Y(B),Z=!0;break t}S===r(b)&&l(b),Y(B)}else l(b);S=r(b)}if(S!==null)Z=!0;else{var oe=r(E);oe!==null&&xe(V,oe.startTime-B),Z=!1}}break e}finally{S=null,R=te,M=!1}Z=void 0}}finally{Z?se():F=!1}}}var se;if(typeof I=="function")se=function(){I(W)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ae=le.port2;le.port1.onmessage=W,se=function(){ae.postMessage(null)}}else se=function(){P(W,0)};function xe(B,Z){K=P(function(){B(e.unstable_now())},Z)}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(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_next=function(B){switch(R){case 1:case 2:case 3:var Z=3;break;default:Z=R}var te=R;R=Z;try{return B()}finally{R=te}},e.unstable_requestPaint=function(){L=!0},e.unstable_runWithPriority=function(B,Z){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var te=R;R=B;try{return Z()}finally{R=te}},e.unstable_scheduleCallback=function(B,Z,te){var be=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?be+te:be):te=be,B){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=te+re,B={id:C++,callback:Z,priorityLevel:B,startTime:te,expirationTime:re,sortIndex:-1},te>be?(B.sortIndex=te,t(E,B),r(b)===null&&B===r(E)&&(N?(U(K),K=-1):N=!0,xe(V,te-be))):(B.sortIndex=re,t(b,B),q||M||(q=!0,F||(F=!0,se()))),B},e.unstable_shouldYield=de,e.unstable_wrapCallback=function(B){var Z=R;return function(){var te=R;R=Z;try{return B.apply(this,arguments)}finally{R=te}}}})(AD)),AD}var DD={};var VN;function LY(){return VN||(VN=1,(function(e){process.env.NODE_ENV!=="production"&&(function(){function t(){if(V=!1,he){var B=e.unstable_now();se=B;var Z=!0;try{e:{I=!1,Y&&(Y=!1,K(de),de=-1),U=!0;var te=P;try{t:{for(h(B),L=l(M);L!==null&&!(L.expirationTime>B&&b());){var be=L.callback;if(typeof be=="function"){L.callback=null,P=L.priorityLevel;var re=be(L.expirationTime<=B);if(B=e.unstable_now(),typeof re=="function"){L.callback=re,h(B),Z=!0;break t}L===l(M)&&s(M),h(B)}else s(M);L=l(M)}if(L!==null)Z=!0;else{var oe=l(q);oe!==null&&E(m,oe.startTime-B),Z=!1}}break e}finally{L=null,P=te,U=!1}Z=void 0}}finally{Z?le():he=!1}}}function r(B,Z){var te=B.length;B.push(Z);e:for(;0<te;){var be=te-1>>>1,re=B[be];if(0<c(re,Z))B[be]=Z,B[te]=re,te=be;else break e}}function l(B){return B.length===0?null:B[0]}function s(B){if(B.length===0)return null;var Z=B[0],te=B.pop();if(te!==Z){B[0]=te;e:for(var be=0,re=B.length,oe=re>>>1;be<oe;){var ue=2*(be+1)-1,ce=B[ue],De=ue+1,je=B[De];if(0>c(ce,te))De<re&&0>c(je,ce)?(B[be]=je,B[De]=te,be=De):(B[be]=ce,B[ue]=te,be=ue);else if(De<re&&0>c(je,te))B[be]=je,B[De]=te,be=De;else break e}}return Z}function c(B,Z){var te=B.sortIndex-Z.sortIndex;return te!==0?te:B.id-Z.id}function h(B){for(var Z=l(q);Z!==null;){if(Z.callback===null)s(q);else if(Z.startTime<=B)s(q),Z.sortIndex=Z.expirationTime,r(M,Z);else break;Z=l(q)}}function m(B){if(Y=!1,h(B),!I)if(l(M)!==null)I=!0,he||(he=!0,le());else{var Z=l(q);Z!==null&&E(m,Z.startTime-B)}}function b(){return V?!0:!(e.unstable_now()-se<W)}function E(B,Z){de=F(function(){B(e.unstable_now())},Z)}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 C=performance;e.unstable_now=function(){return C.now()}}else{var S=Date,R=S.now();e.unstable_now=function(){return S.now()-R}}var M=[],q=[],N=1,L=null,P=3,U=!1,I=!1,Y=!1,V=!1,F=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null,he=!1,de=-1,W=5,se=-1;if(typeof Q=="function")var le=function(){Q(t)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,xe=ae.port2;ae.port1.onmessage=t,le=function(){xe.postMessage(null)}}else le=function(){F(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(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return P},e.unstable_next=function(B){switch(P){case 1:case 2:case 3:var Z=3;break;default:Z=P}var te=P;P=Z;try{return B()}finally{P=te}},e.unstable_requestPaint=function(){V=!0},e.unstable_runWithPriority=function(B,Z){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var te=P;P=B;try{return Z()}finally{P=te}},e.unstable_scheduleCallback=function(B,Z,te){var be=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?be+te:be):te=be,B){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=te+re,B={id:N++,callback:Z,priorityLevel:B,startTime:te,expirationTime:re,sortIndex:-1},te>be?(B.sortIndex=te,r(q,B),l(M)===null&&B===l(q)&&(Y?(K(de),de=-1):Y=!0,E(m,te-be))):(B.sortIndex=re,r(M,B),I||U||(I=!0,he||(he=!0,le()))),B},e.unstable_shouldYield=b,e.unstable_wrapCallback=function(B){var Z=P;return function(){var te=P;P=Z;try{return B.apply(this,arguments)}finally{P=te}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(DD)),DD}var FN;function S8(){return FN||(FN=1,process.env.NODE_ENV==="production"?sT.exports=qY():sT.exports=LY()),sT.exports}var KN;function jY(){if(KN)return sE;KN=1;var e=S8(),t=k,r=ws;function l(o){var u="https://react.dev/errors/"+o;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var f=2;f<arguments.length;f++)u+="&args[]="+encodeURIComponent(arguments[f])}return"Minified React error #"+o+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function c(o){var u=o,f=o;if(o.alternate)for(;u.return;)u=u.return;else{o=u;do u=o,(u.flags&4098)!==0&&(f=u.return),o=u.return;while(o)}return u.tag===3?f:null}function h(o){if(o.tag===13){var u=o.memoizedState;if(u===null&&(o=o.alternate,o!==null&&(u=o.memoizedState)),u!==null)return u.dehydrated}return null}function m(o){if(o.tag===31){var u=o.memoizedState;if(u===null&&(o=o.alternate,o!==null&&(u=o.memoizedState)),u!==null)return u.dehydrated}return null}function b(o){if(c(o)!==o)throw Error(l(188))}function E(o){var u=o.alternate;if(!u){if(u=c(o),u===null)throw Error(l(188));return u!==o?null:o}for(var f=o,v=u;;){var w=f.return;if(w===null)break;var _=w.alternate;if(_===null){if(v=w.return,v!==null){f=v;continue}break}if(w.child===_.child){for(_=w.child;_;){if(_===f)return b(w),o;if(_===v)return b(w),u;_=_.sibling}throw Error(l(188))}if(f.return!==v.return)f=w,v=_;else{for(var z=!1,J=w.child;J;){if(J===f){z=!0,f=w,v=_;break}if(J===v){z=!0,v=w,f=_;break}J=J.sibling}if(!z){for(J=_.child;J;){if(J===f){z=!0,f=_,v=w;break}if(J===v){z=!0,v=_,f=w;break}J=J.sibling}if(!z)throw Error(l(189))}}if(f.alternate!==v)throw Error(l(190))}if(f.tag!==3)throw Error(l(188));return f.stateNode.current===f?o:u}function C(o){var u=o.tag;if(u===5||u===26||u===27||u===6)return o;for(o=o.child;o!==null;){if(u=C(o),u!==null)return u;o=o.sibling}return null}var S=Object.assign,R=Symbol.for("react.element"),M=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),I=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function se(o){return o===null||typeof o!="object"?null:(o=W&&o[W]||o["@@iterator"],typeof o=="function"?o:null)}var le=Symbol.for("react.client.reference");function ae(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===le?null:o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case N:return"Fragment";case P:return"Profiler";case L:return"StrictMode";case V:return"Suspense";case F:return"SuspenseList";case he:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case q:return"Portal";case I:return o.displayName||"Context";case U:return(o._context.displayName||"Context")+".Consumer";case Y:var u=o.render;return o=o.displayName,o||(o=u.displayName||u.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case K:return u=o.displayName||null,u!==null?u:ae(o.type)||"Memo";case Q:u=o._payload,o=o._init;try{return ae(o(u))}catch{}}return null}var xe=Array.isArray,B=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},be=[],re=-1;function oe(o){return{current:o}}function ue(o){0>re||(o.current=be[re],be[re]=null,re--)}function ce(o,u){re++,be[re]=o.current,o.current=u}var De=oe(null),je=oe(null),Ke=oe(null),_e=oe(null);function Je(o,u){switch(ce(Ke,u),ce(je,o),ce(De,null),u.nodeType){case 9:case 11:o=(o=u.documentElement)&&(o=o.namespaceURI)?Hh(o):0;break;default:if(o=u.tagName,u=u.namespaceURI)u=Hh(u),o=Pl(u,o);else switch(o){case"svg":o=1;break;case"math":o=2;break;default:o=0}}ue(De),ce(De,o)}function ie(){ue(De),ue(je),ue(Ke)}function ke(o){o.memoizedState!==null&&ce(_e,o);var u=De.current,f=Pl(u,o.type);u!==f&&(ce(je,o),ce(De,f))}function Ee(o){je.current===o&&(ue(De),ue(je)),_e.current===o&&(ue(_e),ep._currentValue=te)}var Ae,ot;function vt(o){if(Ae===void 0)try{throw Error()}catch(f){var u=f.stack.trim().match(/\n( *(at )?)/);Ae=u&&u[1]||"",ot=-1<f.stack.indexOf(`
|
|
56
|
+
at`)?" (<anonymous>)":-1<f.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
57
|
+
`+Ae+o+ot}var Xt=!1;function Nt(o,u){if(!o||Xt)return"";Xt=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var v={DetermineComponentFrameRoot:function(){try{if(u){var We=function(){throw Error()};if(Object.defineProperty(We.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(We,[])}catch(He){var Le=He}Reflect.construct(o,[],We)}else{try{We.call()}catch(He){Le=He}o.call(We.prototype)}}else{try{throw Error()}catch(He){Le=He}(We=o())&&typeof We.catch=="function"&&We.catch(function(){})}}catch(He){if(He&&Le&&typeof He.stack=="string")return[He.stack,Le.stack]}return[null,null]}};v.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var w=Object.getOwnPropertyDescriptor(v.DetermineComponentFrameRoot,"name");w&&w.configurable&&Object.defineProperty(v.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _=v.DetermineComponentFrameRoot(),z=_[0],J=_[1];if(z&&J){var ge=z.split(`
|
|
58
|
+
`),qe=J.split(`
|
|
59
|
+
`);for(w=v=0;v<ge.length&&!ge[v].includes("DetermineComponentFrameRoot");)v++;for(;w<qe.length&&!qe[w].includes("DetermineComponentFrameRoot");)w++;if(v===ge.length||w===qe.length)for(v=ge.length-1,w=qe.length-1;1<=v&&0<=w&&ge[v]!==qe[w];)w--;for(;1<=v&&0<=w;v--,w--)if(ge[v]!==qe[w]){if(v!==1||w!==1)do if(v--,w--,0>w||ge[v]!==qe[w]){var Ye=`
|
|
60
|
+
`+ge[v].replace(" at new "," at ");return o.displayName&&Ye.includes("<anonymous>")&&(Ye=Ye.replace("<anonymous>",o.displayName)),Ye}while(1<=v&&0<=w);break}}}finally{Xt=!1,Error.prepareStackTrace=f}return(f=o?o.displayName||o.name:"")?vt(f):""}function Kn(o,u){switch(o.tag){case 26:case 27:case 5:return vt(o.type);case 16:return vt("Lazy");case 13:return o.child!==u&&u!==null?vt("Suspense Fallback"):vt("Suspense");case 19:return vt("SuspenseList");case 0:case 15:return Nt(o.type,!1);case 11:return Nt(o.type.render,!1);case 1:return Nt(o.type,!0);case 31:return vt("Activity");default:return""}}function As(o){try{var u="",f=null;do u+=Kn(o,f),f=o,o=o.return;while(o);return u}catch(v){return`
|
|
61
|
+
Error generating stack: `+v.message+`
|
|
62
|
+
`+v.stack}}var Ds=Object.prototype.hasOwnProperty,pe=e.unstable_scheduleCallback,$e=e.unstable_cancelCallback,Ve=e.unstable_shouldYield,st=e.unstable_requestPaint,rt=e.unstable_now,at=e.unstable_getCurrentPriorityLevel,bt=e.unstable_ImmediatePriority,Wt=e.unstable_UserBlockingPriority,Yt=e.unstable_NormalPriority,ya=e.unstable_LowPriority,Qo=e.unstable_IdlePriority,pl=e.log,Ms=e.unstable_setDisableYieldValue,hl=null,Mr=null;function ml(o){if(typeof pl=="function"&&Ms(o),Mr&&typeof Mr.setStrictMode=="function")try{Mr.setStrictMode(hl,o)}catch{}}var Or=Math.clz32?Math.clz32:Cp,Os=Math.log,kc=Math.LN2;function Cp(o){return o>>>=0,o===0?32:31-(Os(o)/kc|0)|0}var gi=256,Kl=262144,yi=4194304;function Gl(o){var u=o&42;if(u!==0)return u;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:return o&261888;case 262144:case 524288:case 1048576:case 2097152:return o&3932160;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 xr(o,u,f){var v=o.pendingLanes;if(v===0)return 0;var w=0,_=o.suspendedLanes,z=o.pingedLanes;o=o.warmLanes;var J=v&134217727;return J!==0?(v=J&~_,v!==0?w=Gl(v):(z&=J,z!==0?w=Gl(z):f||(f=J&~o,f!==0&&(w=Gl(f))))):(J=v&~_,J!==0?w=Gl(J):z!==0?w=Gl(z):f||(f=v&~o,f!==0&&(w=Gl(f)))),w===0?0:u!==0&&u!==w&&(u&_)===0&&(_=w&-w,f=u&-u,_>=f||_===32&&(f&4194048)!==0)?u:w}function xo(o,u){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&u)===0}function Ns(o,u){switch(o){case 1:case 2:case 4:case 8:case 64:return u+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 u+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 lt(){var o=yi;return yi<<=1,(yi&62914560)===0&&(yi=4194304),o}function Uc(o){for(var u=[],f=0;31>f;f++)u.push(o);return u}function $s(o,u){o.pendingLanes|=u,u!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function Iu(o,u,f,v,w,_){var z=o.pendingLanes;o.pendingLanes=f,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=f,o.entangledLanes&=f,o.errorRecoveryDisabledLanes&=f,o.shellSuspendCounter=0;var J=o.entanglements,ge=o.expirationTimes,qe=o.hiddenUpdates;for(f=z&~f;0<f;){var Ye=31-Or(f),We=1<<Ye;J[Ye]=0,ge[Ye]=-1;var Le=qe[Ye];if(Le!==null)for(qe[Ye]=null,Ye=0;Ye<Le.length;Ye++){var He=Le[Ye];He!==null&&(He.lane&=-536870913)}f&=~We}v!==0&&Ic(o,v,0),_!==0&&w===0&&o.tag!==0&&(o.suspendedLanes|=_&~(z&~u))}function Ic(o,u,f){o.pendingLanes|=u,o.suspendedLanes&=~u;var v=31-Or(u);o.entangledLanes|=u,o.entanglements[v]=o.entanglements[v]|1073741824|f&261930}function ru(o,u){var f=o.entangledLanes|=u;for(o=o.entanglements;f;){var v=31-Or(f),w=1<<v;w&u|o[v]&u&&(o[v]|=u),f&=~w}}function vl(o,u){var f=u&-u;return f=(f&42)!==0?1:Lm(f),(f&(o.suspendedLanes|u))!==0?0:f}function Lm(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 Hg(o){return o&=-o,2<o?8<o?(o&134217727)!==0?32:268435456:8:2}function jm(){var o=Z.p;return o!==0?o:(o=window.event,o===void 0?32:Xh(o.type))}function Vg(o,u){var f=Z.p;try{return Z.p=o,u()}finally{Z.p=f}}var bi=Math.random().toString(36).slice(2),kn="__reactFiber$"+bi,gl="__reactProps$"+bi,Ps="__reactContainer$"+bi,wp="__reactEvents$"+bi,Fg="__reactListeners$"+bi,p0="__reactHandles$"+bi,Kg="__reactResources$"+bi,au="__reactMarker$"+bi;function zm(o){delete o[kn],delete o[gl],delete o[wp],delete o[Fg],delete o[p0]}function Hc(o){var u=o[kn];if(u)return u;for(var f=o.parentNode;f;){if(u=f[Ps]||f[kn]){if(f=u.alternate,u.child!==null||f!==null&&f.child!==null)for(o=Ki(o);o!==null;){if(f=o[kn])return f;o=Ki(o)}return u}o=f,f=o.parentNode}return null}function lu(o){if(o=o[kn]||o[Ps]){var u=o.tag;if(u===5||u===6||u===13||u===31||u===26||u===27||u===3)return o}return null}function rd(o){var u=o.tag;if(u===5||u===26||u===27||u===6)return o.stateNode;throw Error(l(33))}function ou(o){var u=o[Kg];return u||(u=o[Kg]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function Mn(o){o[au]=!0}var Vc=new Set,qs={};function Hu(o,u){xi(o,u),xi(o+"Capture",u)}function xi(o,u){for(qs[o]=u,o=0;o<u.length;o++)Vc.add(u[o])}var Rp=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]*$"),Bm={},ad={};function ld(o){return Ds.call(ad,o)?!0:Ds.call(Bm,o)?!1:Rp.test(o)?ad[o]=!0:(Bm[o]=!0,!1)}function od(o,u,f){if(ld(u))if(f===null)o.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":o.removeAttribute(u);return;case"boolean":var v=u.toLowerCase().slice(0,5);if(v!=="data-"&&v!=="aria-"){o.removeAttribute(u);return}}o.setAttribute(u,""+f)}}function Tp(o,u,f){if(f===null)o.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(u);return}o.setAttribute(u,""+f)}}function iu(o,u,f,v){if(v===null)o.removeAttribute(f);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(f);return}o.setAttributeNS(u,f,""+v)}}function Yl(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function id(o){var u=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Gg(o,u,f){var v=Object.getOwnPropertyDescriptor(o.constructor.prototype,u);if(!o.hasOwnProperty(u)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var w=v.get,_=v.set;return Object.defineProperty(o,u,{configurable:!0,get:function(){return w.call(this)},set:function(z){f=""+z,_.call(this,z)}}),Object.defineProperty(o,u,{enumerable:v.enumerable}),{getValue:function(){return f},setValue:function(z){f=""+z},stopTracking:function(){o._valueTracker=null,delete o[u]}}}}function _p(o){if(!o._valueTracker){var u=id(o)?"checked":"value";o._valueTracker=Gg(o,u,""+o[u])}}function ud(o){if(!o)return!1;var u=o._valueTracker;if(!u)return!0;var f=u.getValue(),v="";return o&&(v=id(o)?o.checked?"true":"false":o.value),o=v,o!==f?(u.setValue(o),!0):!1}function sd(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 sx=/[\n"\\]/g;function Xl(o){return o.replace(sx,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function cd(o,u,f,v,w,_,z,J){o.name="",z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?o.type=z:o.removeAttribute("type"),u!=null?z==="number"?(u===0&&o.value===""||o.value!=u)&&(o.value=""+Yl(u)):o.value!==""+Yl(u)&&(o.value=""+Yl(u)):z!=="submit"&&z!=="reset"||o.removeAttribute("value"),u!=null?Kc(o,z,Yl(u)):f!=null?Kc(o,z,Yl(f)):v!=null&&o.removeAttribute("value"),w==null&&_!=null&&(o.defaultChecked=!!_),w!=null&&(o.checked=w&&typeof w!="function"&&typeof w!="symbol"),J!=null&&typeof J!="function"&&typeof J!="symbol"&&typeof J!="boolean"?o.name=""+Yl(J):o.removeAttribute("name")}function Fc(o,u,f,v,w,_,z,J){if(_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(o.type=_),u!=null||f!=null){if(!(_!=="submit"&&_!=="reset"||u!=null)){_p(o);return}f=f!=null?""+Yl(f):"",u=u!=null?""+Yl(u):f,J||u===o.value||(o.value=u),o.defaultValue=u}v=v??w,v=typeof v!="function"&&typeof v!="symbol"&&!!v,o.checked=J?o.checked:!!v,o.defaultChecked=!!v,z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"&&(o.name=z),_p(o)}function Kc(o,u,f){u==="number"&&sd(o.ownerDocument)===o||o.defaultValue===""+f||(o.defaultValue=""+f)}function Gc(o,u,f,v){if(o=o.options,u){u={};for(var w=0;w<f.length;w++)u["$"+f[w]]=!0;for(f=0;f<o.length;f++)w=u.hasOwnProperty("$"+o[f].value),o[f].selected!==w&&(o[f].selected=w),w&&v&&(o[f].defaultSelected=!0)}else{for(f=""+Yl(f),u=null,w=0;w<o.length;w++){if(o[w].value===f){o[w].selected=!0,v&&(o[w].defaultSelected=!0);return}u!==null||o[w].disabled||(u=o[w])}u!==null&&(u.selected=!0)}}function Ap(o,u,f){if(u!=null&&(u=""+Yl(u),u!==o.value&&(o.value=u),f==null)){o.defaultValue!==u&&(o.defaultValue=u);return}o.defaultValue=f!=null?""+Yl(f):""}function Dp(o,u,f,v){if(u==null){if(v!=null){if(f!=null)throw Error(l(92));if(xe(v)){if(1<v.length)throw Error(l(93));v=v[0]}f=v}f==null&&(f=""),u=f}f=Yl(u),o.defaultValue=f,v=o.textContent,v===f&&v!==""&&v!==null&&(o.value=v),_p(o)}function yl(o,u){if(u){var f=o.firstChild;if(f&&f===o.lastChild&&f.nodeType===3){f.nodeValue=u;return}}o.textContent=u}var Yg=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 Xg(o,u,f){var v=u.indexOf("--")===0;f==null||typeof f=="boolean"||f===""?v?o.setProperty(u,""):u==="float"?o.cssFloat="":o[u]="":v?o.setProperty(u,f):typeof f!="number"||f===0||Yg.has(u)?u==="float"?o.cssFloat=f:o[u]=(""+f).trim():o[u]=f+"px"}function h0(o,u,f){if(u!=null&&typeof u!="object")throw Error(l(62));if(o=o.style,f!=null){for(var v in f)!f.hasOwnProperty(v)||u!=null&&u.hasOwnProperty(v)||(v.indexOf("--")===0?o.setProperty(v,""):v==="float"?o.cssFloat="":o[v]="");for(var w in u)v=u[w],u.hasOwnProperty(w)&&f[w]!==v&&Xg(o,w,v)}else for(var _ in u)u.hasOwnProperty(_)&&Xg(o,_,u[_])}function km(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 m0=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"]]),fd=/^[\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 Eo(o){return fd.test(""+o)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":o}function Ei(){}var Um=null;function Im(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Si=null,Yc=null;function Mp(o){var u=lu(o);if(u&&(o=u.stateNode)){var f=o[gl]||null;e:switch(o=u.stateNode,u.type){case"input":if(cd(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name),u=f.name,f.type==="radio"&&u!=null){for(f=o;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll('input[name="'+Xl(""+u)+'"][type="radio"]'),u=0;u<f.length;u++){var v=f[u];if(v!==o&&v.form===o.form){var w=v[gl]||null;if(!w)throw Error(l(90));cd(v,w.value,w.defaultValue,w.defaultValue,w.checked,w.defaultChecked,w.type,w.name)}}for(u=0;u<f.length;u++)v=f[u],v.form===o.form&&ud(v)}break e;case"textarea":Ap(o,f.value,f.defaultValue);break e;case"select":u=f.value,u!=null&&Gc(o,!!f.multiple,u,!1)}}}var dd=!1;function Qg(o,u,f){if(dd)return o(u,f);dd=!0;try{var v=o(u);return v}finally{if(dd=!1,(Si!==null||Yc!==null)&&(Id(),Si&&(u=Si,o=Yc,Yc=Si=null,Mp(u),o)))for(u=0;u<o.length;u++)Mp(o[u])}}function Kr(o,u){var f=o.stateNode;if(f===null)return null;var v=f[gl]||null;if(v===null)return null;f=v[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(o=o.type,v=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!v;break e;default:o=!1}if(o)return null;if(f&&typeof f!="function")throw Error(l(231,u,typeof f));return f}var Vu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Op=!1;if(Vu)try{var pd={};Object.defineProperty(pd,"passive",{get:function(){Op=!0}}),window.addEventListener("test",pd,pd),window.removeEventListener("test",pd,pd)}catch{Op=!1}var Fu=null,Zg=null,Un=null;function In(){if(Un)return Un;var o,u=Zg,f=u.length,v,w="value"in Fu?Fu.value:Fu.textContent,_=w.length;for(o=0;o<f&&u[o]===w[o];o++);var z=f-o;for(v=1;v<=z&&u[f-v]===w[_-v];v++);return Un=w.slice(o,1<v?1-v:void 0)}function Hm(o){var u=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&u===13&&(o=13)):o=u,o===10&&(o=13),32<=o||o===13?o:0}function Np(){return!0}function v0(){return!1}function Da(o){function u(f,v,w,_,z){this._reactName=f,this._targetInst=w,this.type=v,this.nativeEvent=_,this.target=z,this.currentTarget=null;for(var J in o)o.hasOwnProperty(J)&&(f=o[J],this[J]=f?f(_):_[J]);return this.isDefaultPrevented=(_.defaultPrevented!=null?_.defaultPrevented:_.returnValue===!1)?Np:v0,this.isPropagationStopped=v0,this}return S(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Np)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Np)},persist:function(){},isPersistent:Np}),u}var Ls={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$p=Da(Ls),Xc=S({},Ls,{view:0,detail:0}),cx=Da(Xc),ra,Pp,Ci,qp=S({},Xc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zl,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!==Ci&&(Ci&&o.type==="mousemove"?(ra=o.screenX-Ci.screenX,Pp=o.screenY-Ci.screenY):Pp=ra=0,Ci=o),ra)},movementY:function(o){return"movementY"in o?o.movementY:Pp}}),js=Da(qp),So=S({},qp,{dataTransfer:0}),Wg=Da(So),Jg=S({},Xc,{relatedTarget:0}),Lp=Da(Jg),Vm=S({},Ls,{animationName:0,elapsedTime:0,pseudoElement:0}),ey=Da(Vm),zs=S({},Ls,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),aa=Da(zs),wi=S({},Ls,{data:0}),Co=Da(wi),ty={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ri={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"},Ku={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ql(o){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(o):(o=Ku[o])?!!u[o]:!1}function Zl(){return Ql}var Gn=S({},Xc,{key:function(o){if(o.key){var u=ty[o.key]||o.key;if(u!=="Unidentified")return u}return o.type==="keypress"?(o=Hm(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Ri[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zl,charCode:function(o){return o.type==="keypress"?Hm(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?Hm(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Ti=Da(Gn),jp=S({},qp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_i=Da(jp),ny=S({},Xc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zl}),g0=Da(ny),y0=S({},Ls,{propertyName:0,elapsedTime:0,pseudoElement:0}),fx=Da(y0),Fm=S({},qp,{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}),Km=Da(Fm),Qc=S({},Ls,{newState:0,oldState:0}),ry=Da(Qc),zp=[9,13,27,32],Zc=Vu&&"CompositionEvent"in window,Gu=null;Vu&&"documentMode"in document&&(Gu=document.documentMode);var ba=Vu&&"TextEvent"in window&&!Gu,Gm=Vu&&(!Zc||Gu&&8<Gu&&11>=Gu),Bp=" ",uu=!1;function hd(o,u){switch(o){case"keyup":return zp.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ay(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Bs=!1;function Wl(o,u){switch(o){case"compositionend":return ay(u);case"keypress":return u.which!==32?null:(uu=!0,Bp);case"textInput":return o=u.data,o===Bp&&uu?null:o;default:return null}}function ly(o,u){if(Bs)return o==="compositionend"||!Zc&&hd(o,u)?(o=In(),Un=Zg=Fu=null,Bs=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return Gm&&u.locale!=="ko"?null:u.data;default:return null}}var Wc={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 Ai(o){var u=o&&o.nodeName&&o.nodeName.toLowerCase();return u==="input"?!!Wc[o.type]:u==="textarea"}function Ym(o,u,f,v){Si?Yc?Yc.push(v):Yc=[v]:Si=v,u=Gd(u,"onChange"),0<u.length&&(f=new $p("onChange","change",null,f,v),o.push({event:f,listeners:u}))}var Jc=null,ks=null;function ef(o){z0(o,0)}function md(o){var u=rd(o);if(ud(u))return o}function oy(o,u){if(o==="change")return u}var Yu=!1;if(Vu){var bl;if(Vu){var Di="oninput"in document;if(!Di){var kp=document.createElement("div");kp.setAttribute("oninput","return;"),Di=typeof kp.oninput=="function"}bl=Di}else bl=!1;Yu=bl&&(!document.documentMode||9<document.documentMode)}function Up(){Jc&&(Jc.detachEvent("onpropertychange",Mi),ks=Jc=null)}function Mi(o){if(o.propertyName==="value"&&md(ks)){var u=[];Ym(u,ks,o,Im(o)),Qg(ef,u)}}function Ip(o,u,f){o==="focusin"?(Up(),Jc=u,ks=f,Jc.attachEvent("onpropertychange",Mi)):o==="focusout"&&Up()}function b0(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return md(ks)}function Us(o,u){if(o==="click")return md(u)}function tf(o,u){if(o==="input"||o==="change")return md(u)}function nf(o,u){return o===u&&(o!==0||1/o===1/u)||o!==o&&u!==u}var Wn=typeof Object.is=="function"?Object.is:nf;function wo(o,u){if(Wn(o,u))return!0;if(typeof o!="object"||o===null||typeof u!="object"||u===null)return!1;var f=Object.keys(o),v=Object.keys(u);if(f.length!==v.length)return!1;for(v=0;v<f.length;v++){var w=f[v];if(!Ds.call(u,w)||!Wn(o[w],u[w]))return!1}return!0}function iy(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function uy(o,u){var f=iy(o);o=0;for(var v;f;){if(f.nodeType===3){if(v=o+f.textContent.length,o<=u&&v>=u)return{node:f,offset:u-o};o=v}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=iy(f)}}function rf(o,u){return o&&u?o===u?!0:o&&o.nodeType===3?!1:u&&u.nodeType===3?rf(o,u.parentNode):"contains"in o?o.contains(u):o.compareDocumentPosition?!!(o.compareDocumentPosition(u)&16):!1:!1}function Is(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var u=sd(o.document);u instanceof o.HTMLIFrameElement;){try{var f=typeof u.contentWindow.location.href=="string"}catch{f=!1}if(f)o=u.contentWindow;else break;u=sd(o.document)}return u}function Hp(o){var u=o&&o.nodeName&&o.nodeName.toLowerCase();return u&&(u==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||u==="textarea"||o.contentEditable==="true")}var su=Vu&&"documentMode"in document&&11>=document.documentMode,Me=null,Ge=null,ze=null,ct=!1;function jt(o,u,f){var v=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;ct||Me==null||Me!==sd(v)||(v=Me,"selectionStart"in v&&Hp(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),ze&&wo(ze,v)||(ze=v,v=Gd(Ge,"onSelect"),0<v.length&&(u=new $p("onSelect","select",null,u,f),o.push({event:u,listeners:v}),u.target=Me)))}function Jt(o,u){var f={};return f[o.toLowerCase()]=u.toLowerCase(),f["Webkit"+o]="webkit"+u,f["Moz"+o]="moz"+u,f}var jn={animationend:Jt("Animation","AnimationEnd"),animationiteration:Jt("Animation","AnimationIteration"),animationstart:Jt("Animation","AnimationStart"),transitionrun:Jt("Transition","TransitionRun"),transitionstart:Jt("Transition","TransitionStart"),transitioncancel:Jt("Transition","TransitionCancel"),transitionend:Jt("Transition","TransitionEnd")},En={},cu={};Vu&&(cu=document.createElement("div").style,"AnimationEvent"in window||(delete jn.animationend.animation,delete jn.animationiteration.animation,delete jn.animationstart.animation),"TransitionEvent"in window||delete jn.transitionend.transition);function Tn(o){if(En[o])return En[o];if(!jn[o])return o;var u=jn[o],f;for(f in u)if(u.hasOwnProperty(f)&&f in cu)return En[o]=u[f];return o}var Va=Tn("animationend"),vd=Tn("animationiteration"),Xm=Tn("animationstart"),Zo=Tn("transitionrun"),Hs=Tn("transitionstart"),Ro=Tn("transitioncancel"),On=Tn("transitionend"),fu=new Map,af="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(" ");af.push("scrollEnd");function xa(o,u){fu.set(o,u),Hu(u,[o])}var lf=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=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(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)},cr=[],Ea=0,xl=0;function Gr(){for(var o=Ea,u=xl=Ea=0;u<o;){var f=cr[u];cr[u++]=null;var v=cr[u];cr[u++]=null;var w=cr[u];cr[u++]=null;var _=cr[u];if(cr[u++]=null,v!==null&&w!==null){var z=v.pending;z===null?w.next=w:(w.next=z.next,z.next=w),v.pending=w}_!==0&&Vp(f,w,_)}}function Fa(o,u,f,v){cr[Ea++]=o,cr[Ea++]=u,cr[Ea++]=f,cr[Ea++]=v,xl|=v,o.lanes|=v,o=o.alternate,o!==null&&(o.lanes|=v)}function To(o,u,f,v){return Fa(o,u,f,v),gd(o)}function Wo(o,u){return Fa(o,null,null,u),gd(o)}function Vp(o,u,f){o.lanes|=f;var v=o.alternate;v!==null&&(v.lanes|=f);for(var w=!1,_=o.return;_!==null;)_.childLanes|=f,v=_.alternate,v!==null&&(v.childLanes|=f),_.tag===22&&(o=_.stateNode,o===null||o._visibility&1||(w=!0)),o=_,_=_.return;return o.tag===3?(_=o.stateNode,w&&u!==null&&(w=31-Or(f),o=_.hiddenUpdates,v=o[w],v===null?o[w]=[u]:v.push(u),u.lane=f|536870912),_):null}function gd(o){if(50<Ud)throw Ud=0,Nh=null,Error(l(185));for(var u=o.return;u!==null;)o=u,u=o.return;return o.tag===3?o.stateNode:null}var Sa={};function sy(o,u,f,v){this.tag=o,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jn(o,u,f,v){return new sy(o,u,f,v)}function _o(o){return o=o.prototype,!(!o||!o.isReactComponent)}function Jo(o,u){var f=o.alternate;return f===null?(f=Jn(o.tag,u,o.key,o.mode),f.elementType=o.elementType,f.type=o.type,f.stateNode=o.stateNode,f.alternate=o,o.alternate=f):(f.pendingProps=u,f.type=o.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=o.flags&65011712,f.childLanes=o.childLanes,f.lanes=o.lanes,f.child=o.child,f.memoizedProps=o.memoizedProps,f.memoizedState=o.memoizedState,f.updateQueue=o.updateQueue,u=o.dependencies,f.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},f.sibling=o.sibling,f.index=o.index,f.ref=o.ref,f.refCleanup=o.refCleanup,f}function cy(o,u){o.flags&=65011714;var f=o.alternate;return f===null?(o.childLanes=0,o.lanes=u,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=f.childLanes,o.lanes=f.lanes,o.child=f.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=f.memoizedProps,o.memoizedState=f.memoizedState,o.updateQueue=f.updateQueue,o.type=f.type,u=f.dependencies,o.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),o}function Qm(o,u,f,v,w,_){var z=0;if(v=o,typeof o=="function")_o(o)&&(z=1);else if(typeof o=="string")z=cb(o,f,De.current)?26:o==="html"||o==="head"||o==="body"?27:5;else e:switch(o){case he:return o=Jn(31,f,u,w),o.elementType=he,o.lanes=_,o;case N:return Xu(f.children,w,_,u);case L:z=8,w|=24;break;case P:return o=Jn(12,f,u,w|2),o.elementType=P,o.lanes=_,o;case V:return o=Jn(13,f,u,w),o.elementType=V,o.lanes=_,o;case F:return o=Jn(19,f,u,w),o.elementType=F,o.lanes=_,o;default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case I:z=10;break e;case U:z=9;break e;case Y:z=11;break e;case K:z=14;break e;case Q:z=16,v=null;break e}z=29,f=Error(l(130,o===null?"null":typeof o,"")),v=null}return u=Jn(z,f,u,w),u.elementType=o,u.type=v,u.lanes=_,u}function Xu(o,u,f,v){return o=Jn(7,o,v,u),o.lanes=f,o}function Qu(o,u,f){return o=Jn(6,o,null,u),o.lanes=f,o}function yd(o){var u=Jn(18,null,null,0);return u.stateNode=o,u}function bd(o,u,f){return u=Jn(4,o.children!==null?o.children:[],o.key,u),u.lanes=f,u.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},u}var fy=new WeakMap;function Jl(o,u){if(typeof o=="object"&&o!==null){var f=fy.get(o);return f!==void 0?f:(u={value:o,source:u,stack:As(u)},fy.set(o,u),u)}return{value:o,source:u,stack:As(u)}}var Ao=[],of=0,Er=null,fn=0,eo=[],El=0,ei=null,to=1,Do="";function Ka(o,u){Ao[of++]=fn,Ao[of++]=Er,Er=o,fn=u}function Fp(o,u,f){eo[El++]=to,eo[El++]=Do,eo[El++]=ei,ei=o;var v=to;o=Do;var w=32-Or(v)-1;v&=~(1<<w),f+=1;var _=32-Or(u)+w;if(30<_){var z=w-w%5;_=(v&(1<<z)-1).toString(32),v>>=z,w-=z,to=1<<32-Or(u)+w|f<<w|v,Do=_+o}else to=1<<_|f<<w|v,Do=o}function Oi(o){o.return!==null&&(Ka(o,1),Fp(o,1,0))}function Vs(o){for(;o===Er;)Er=Ao[--of],Ao[of]=null,fn=Ao[--of],Ao[of]=null;for(;o===ei;)ei=eo[--El],eo[El]=null,Do=eo[--El],eo[El]=null,to=eo[--El],eo[El]=null}function Zu(o,u){eo[El++]=to,eo[El++]=Do,eo[El++]=ei,to=u.id,Do=u.overflow,ei=o}var kr=null,_n=null,un=!1,du=null,la=!1,pu=Error(l(519));function ti(o){var u=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Wu(Jl(u,o)),pu}function Fs(o){var u=o.stateNode,f=o.type,v=o.memoizedProps;switch(u[kn]=o,u[gl]=v,f){case"dialog":rn("cancel",u),rn("close",u);break;case"iframe":case"object":case"embed":rn("load",u);break;case"video":case"audio":for(f=0;f<Fd.length;f++)rn(Fd[f],u);break;case"source":rn("error",u);break;case"img":case"image":case"link":rn("error",u),rn("load",u);break;case"details":rn("toggle",u);break;case"input":rn("invalid",u),Fc(u,v.value,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name,!0);break;case"select":rn("invalid",u);break;case"textarea":rn("invalid",u),Dp(u,v.value,v.defaultValue,v.children)}f=v.children,typeof f!="string"&&typeof f!="number"&&typeof f!="bigint"||u.textContent===""+f||v.suppressHydrationWarning===!0||rb(u.textContent,f)?(v.popover!=null&&(rn("beforetoggle",u),rn("toggle",u)),v.onScroll!=null&&rn("scroll",u),v.onScrollEnd!=null&&rn("scrollend",u),v.onClick!=null&&(u.onclick=Ei),u=!0):u=!1,u||ti(o,!0)}function hu(o){for(kr=o.return;kr;)switch(kr.tag){case 5:case 31:case 13:la=!1;return;case 27:case 3:la=!0;return;default:kr=kr.return}}function Ni(o){if(o!==kr)return!1;if(!un)return hu(o),un=!0,!1;var u=o.tag,f;if((f=u!==3&&u!==27)&&((f=u===5)&&(f=o.type,f=!(f!=="form"&&f!=="button")||Hi(o.type,o.memoizedProps)),f=!f),f&&_n&&ti(o),hu(o),u===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(317));_n=kv(o)}else if(u===31){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(317));_n=kv(o)}else u===27?(u=_n,At(o.type)?(o=Fh,Fh=null,_n=o):_n=u):_n=kr?ql(o.stateNode.nextSibling):null;return!0}function ee(){_n=kr=null,un=!1}function Ks(){var o=du;return o!==null&&(wr===null?wr=o:wr.push.apply(wr,o),du=null),o}function Wu(o){du===null?du=[o]:du.push(o)}var Sl=oe(null),It=null,$i=null;function Cl(o,u,f){ce(Sl,u._currentValue),u._currentValue=f}function Pi(o){o._currentValue=Sl.current,ue(Sl)}function mu(o,u,f){for(;o!==null;){var v=o.alternate;if((o.childLanes&u)!==u?(o.childLanes|=u,v!==null&&(v.childLanes|=u)):v!==null&&(v.childLanes&u)!==u&&(v.childLanes|=u),o===f)break;o=o.return}}function vu(o,u,f,v){var w=o.child;for(w!==null&&(w.return=o);w!==null;){var _=w.dependencies;if(_!==null){var z=w.child;_=_.firstContext;e:for(;_!==null;){var J=_;_=w;for(var ge=0;ge<u.length;ge++)if(J.context===u[ge]){_.lanes|=f,J=_.alternate,J!==null&&(J.lanes|=f),mu(_.return,f,o),v||(z=null);break e}_=J.next}}else if(w.tag===18){if(z=w.return,z===null)throw Error(l(341));z.lanes|=f,_=z.alternate,_!==null&&(_.lanes|=f),mu(z,f,o),z=null}else z=w.child;if(z!==null)z.return=w;else for(z=w;z!==null;){if(z===o){z=null;break}if(w=z.sibling,w!==null){w.return=z.return,z=w;break}z=z.return}w=z}}function Ca(o,u,f,v){o=null;for(var w=u,_=!1;w!==null;){if(!_){if((w.flags&524288)!==0)_=!0;else if((w.flags&262144)!==0)break}if(w.tag===10){var z=w.alternate;if(z===null)throw Error(l(387));if(z=z.memoizedProps,z!==null){var J=w.type;Wn(w.pendingProps.value,z.value)||(o!==null?o.push(J):o=[J])}}else if(w===_e.current){if(z=w.alternate,z===null)throw Error(l(387));z.memoizedState.memoizedState!==w.memoizedState.memoizedState&&(o!==null?o.push(ep):o=[ep])}w=w.return}o!==null&&vu(u,o,f,v),u.flags|=262144}function uf(o){for(o=o.firstContext;o!==null;){if(!Wn(o.context._currentValue,o.memoizedValue))return!0;o=o.next}return!1}function zt(o){It=o,$i=null,o=o.dependencies,o!==null&&(o.firstContext=null)}function et(o){return Kp(It,o)}function Ma(o,u){return It===null&&zt(o),Kp(o,u)}function Kp(o,u){var f=u._currentValue;if(u={context:u,memoizedValue:f,next:null},$i===null){if(o===null)throw Error(l(308));$i=u,o.dependencies={lanes:0,firstContext:u},o.flags|=524288}else $i=$i.next=u;return f}var Nr=typeof AbortController<"u"?AbortController:function(){var o=[],u=this.signal={aborted:!1,addEventListener:function(f,v){o.push(v)}};this.abort=function(){u.aborted=!0,o.forEach(function(f){return f()})}},dy=e.unstable_scheduleCallback,py=e.unstable_NormalPriority,Ur={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mo(){return{controller:new Nr,data:new Map,refCount:0}}function Gp(o){o.refCount--,o.refCount===0&&dy(py,function(){o.controller.abort()})}var sf=null,Yp=0,Gs=0,Yr=null;function dn(o,u){if(sf===null){var f=sf=[];Yp=0,Gs=po(),Yr={status:"pending",value:void 0,then:function(v){f.push(v)}}}return Yp++,u.then(Xp,Xp),u}function Xp(){if(--Yp===0&&sf!==null){Yr!==null&&(Yr.status="fulfilled");var o=sf;sf=null,Gs=0,Yr=null;for(var u=0;u<o.length;u++)(0,o[u])()}}function Qp(o,u){var f=[],v={status:"pending",value:null,reason:null,then:function(w){f.push(w)}};return o.then(function(){v.status="fulfilled",v.value=u;for(var w=0;w<f.length;w++)(0,f[w])(u)},function(w){for(v.status="rejected",v.reason=w,w=0;w<f.length;w++)(0,f[w])(void 0)}),v}var oa=B.S;B.S=function(o,u){Uy=rt(),typeof u=="object"&&u!==null&&typeof u.then=="function"&&dn(o,u),oa!==null&&oa(o,u)};var Oo=oe(null);function No(){var o=Oo.current;return o!==null?o:Hn.pooledCache}function xd(o,u){u===null?ce(Oo,Oo.current):ce(Oo,u.pool)}function cf(){var o=No();return o===null?null:{parent:Ur._currentValue,pool:o}}var Ys=Error(l(460)),Xs=Error(l(474)),ff=Error(l(542)),df={then:function(){}};function hy(o){return o=o.status,o==="fulfilled"||o==="rejected"}function Zp(o,u,f){switch(f=o[f],f===void 0?o.push(u):f!==u&&(u.then(Ei,Ei),u=f),u.status){case"fulfilled":return u.value;case"rejected":throw o=u.reason,Wp(o),o;default:if(typeof u.status=="string")u.then(Ei,Ei);else{if(o=Hn,o!==null&&100<o.shellSuspendCounter)throw Error(l(482));o=u,o.status="pending",o.then(function(v){if(u.status==="pending"){var w=u;w.status="fulfilled",w.value=v}},function(v){if(u.status==="pending"){var w=u;w.status="rejected",w.reason=v}})}switch(u.status){case"fulfilled":return u.value;case"rejected":throw o=u.reason,Wp(o),o}throw qi=u,Ys}}function ni(o){try{var u=o._init;return u(o._payload)}catch(f){throw f!==null&&typeof f=="object"&&typeof f.then=="function"?(qi=f,Ys):f}}var qi=null;function my(){if(qi===null)throw Error(l(459));var o=qi;return qi=null,o}function Wp(o){if(o===Ys||o===ff)throw Error(l(483))}var Qs=null,wl=0;function pf(o){var u=wl;return wl+=1,Qs===null&&(Qs=[]),Zp(Qs,o,u)}function ri(o,u){u=u.props.ref,o.ref=u!==void 0?u:null}function Ga(o,u){throw u.$$typeof===R?Error(l(525)):(o=Object.prototype.toString.call(u),Error(l(31,o==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":o)))}function x0(o){function u(Oe,we){if(o){var Pe=Oe.deletions;Pe===null?(Oe.deletions=[we],Oe.flags|=16):Pe.push(we)}}function f(Oe,we){if(!o)return null;for(;we!==null;)u(Oe,we),we=we.sibling;return null}function v(Oe){for(var we=new Map;Oe!==null;)Oe.key!==null?we.set(Oe.key,Oe):we.set(Oe.index,Oe),Oe=Oe.sibling;return we}function w(Oe,we){return Oe=Jo(Oe,we),Oe.index=0,Oe.sibling=null,Oe}function _(Oe,we,Pe){return Oe.index=Pe,o?(Pe=Oe.alternate,Pe!==null?(Pe=Pe.index,Pe<we?(Oe.flags|=67108866,we):Pe):(Oe.flags|=67108866,we)):(Oe.flags|=1048576,we)}function z(Oe){return o&&Oe.alternate===null&&(Oe.flags|=67108866),Oe}function J(Oe,we,Pe,Ze){return we===null||we.tag!==6?(we=Qu(Pe,Oe.mode,Ze),we.return=Oe,we):(we=w(we,Pe),we.return=Oe,we)}function ge(Oe,we,Pe,Ze){var wt=Pe.type;return wt===N?Ye(Oe,we,Pe.props.children,Ze,Pe.key):we!==null&&(we.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===Q&&ni(wt)===we.type)?(we=w(we,Pe.props),ri(we,Pe),we.return=Oe,we):(we=Qm(Pe.type,Pe.key,Pe.props,null,Oe.mode,Ze),ri(we,Pe),we.return=Oe,we)}function qe(Oe,we,Pe,Ze){return we===null||we.tag!==4||we.stateNode.containerInfo!==Pe.containerInfo||we.stateNode.implementation!==Pe.implementation?(we=bd(Pe,Oe.mode,Ze),we.return=Oe,we):(we=w(we,Pe.children||[]),we.return=Oe,we)}function Ye(Oe,we,Pe,Ze,wt){return we===null||we.tag!==7?(we=Xu(Pe,Oe.mode,Ze,wt),we.return=Oe,we):(we=w(we,Pe),we.return=Oe,we)}function We(Oe,we,Pe){if(typeof we=="string"&&we!==""||typeof we=="number"||typeof we=="bigint")return we=Qu(""+we,Oe.mode,Pe),we.return=Oe,we;if(typeof we=="object"&&we!==null){switch(we.$$typeof){case M:return Pe=Qm(we.type,we.key,we.props,null,Oe.mode,Pe),ri(Pe,we),Pe.return=Oe,Pe;case q:return we=bd(we,Oe.mode,Pe),we.return=Oe,we;case Q:return we=ni(we),We(Oe,we,Pe)}if(xe(we)||se(we))return we=Xu(we,Oe.mode,Pe,null),we.return=Oe,we;if(typeof we.then=="function")return We(Oe,pf(we),Pe);if(we.$$typeof===I)return We(Oe,Ma(Oe,we),Pe);Ga(Oe,we)}return null}function Le(Oe,we,Pe,Ze){var wt=we!==null?we.key:null;if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number"||typeof Pe=="bigint")return wt!==null?null:J(Oe,we,""+Pe,Ze);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case M:return Pe.key===wt?ge(Oe,we,Pe,Ze):null;case q:return Pe.key===wt?qe(Oe,we,Pe,Ze):null;case Q:return Pe=ni(Pe),Le(Oe,we,Pe,Ze)}if(xe(Pe)||se(Pe))return wt!==null?null:Ye(Oe,we,Pe,Ze,null);if(typeof Pe.then=="function")return Le(Oe,we,pf(Pe),Ze);if(Pe.$$typeof===I)return Le(Oe,we,Ma(Oe,Pe),Ze);Ga(Oe,Pe)}return null}function He(Oe,we,Pe,Ze,wt){if(typeof Ze=="string"&&Ze!==""||typeof Ze=="number"||typeof Ze=="bigint")return Oe=Oe.get(Pe)||null,J(we,Oe,""+Ze,wt);if(typeof Ze=="object"&&Ze!==null){switch(Ze.$$typeof){case M:return Oe=Oe.get(Ze.key===null?Pe:Ze.key)||null,ge(we,Oe,Ze,wt);case q:return Oe=Oe.get(Ze.key===null?Pe:Ze.key)||null,qe(we,Oe,Ze,wt);case Q:return Ze=ni(Ze),He(Oe,we,Pe,Ze,wt)}if(xe(Ze)||se(Ze))return Oe=Oe.get(Pe)||null,Ye(we,Oe,Ze,wt,null);if(typeof Ze.then=="function")return He(Oe,we,Pe,pf(Ze),wt);if(Ze.$$typeof===I)return He(Oe,we,Pe,Ma(we,Ze),wt);Ga(we,Ze)}return null}function mt(Oe,we,Pe,Ze){for(var wt=null,gn=null,yt=we,Ht=we=0,Zt=null;yt!==null&&Ht<Pe.length;Ht++){yt.index>Ht?(Zt=yt,yt=null):Zt=yt.sibling;var wn=Le(Oe,yt,Pe[Ht],Ze);if(wn===null){yt===null&&(yt=Zt);break}o&&yt&&wn.alternate===null&&u(Oe,yt),we=_(wn,we,Ht),gn===null?wt=wn:gn.sibling=wn,gn=wn,yt=Zt}if(Ht===Pe.length)return f(Oe,yt),un&&Ka(Oe,Ht),wt;if(yt===null){for(;Ht<Pe.length;Ht++)yt=We(Oe,Pe[Ht],Ze),yt!==null&&(we=_(yt,we,Ht),gn===null?wt=yt:gn.sibling=yt,gn=yt);return un&&Ka(Oe,Ht),wt}for(yt=v(yt);Ht<Pe.length;Ht++)Zt=He(yt,Oe,Ht,Pe[Ht],Ze),Zt!==null&&(o&&Zt.alternate!==null&&yt.delete(Zt.key===null?Ht:Zt.key),we=_(Zt,we,Ht),gn===null?wt=Zt:gn.sibling=Zt,gn=Zt);return o&&yt.forEach(function(Yi){return u(Oe,Yi)}),un&&Ka(Oe,Ht),wt}function Dt(Oe,we,Pe,Ze){if(Pe==null)throw Error(l(151));for(var wt=null,gn=null,yt=we,Ht=we=0,Zt=null,wn=Pe.next();yt!==null&&!wn.done;Ht++,wn=Pe.next()){yt.index>Ht?(Zt=yt,yt=null):Zt=yt.sibling;var Yi=Le(Oe,yt,wn.value,Ze);if(Yi===null){yt===null&&(yt=Zt);break}o&&yt&&Yi.alternate===null&&u(Oe,yt),we=_(Yi,we,Ht),gn===null?wt=Yi:gn.sibling=Yi,gn=Yi,yt=Zt}if(wn.done)return f(Oe,yt),un&&Ka(Oe,Ht),wt;if(yt===null){for(;!wn.done;Ht++,wn=Pe.next())wn=We(Oe,wn.value,Ze),wn!==null&&(we=_(wn,we,Ht),gn===null?wt=wn:gn.sibling=wn,gn=wn);return un&&Ka(Oe,Ht),wt}for(yt=v(yt);!wn.done;Ht++,wn=Pe.next())wn=He(yt,Oe,Ht,wn.value,Ze),wn!==null&&(o&&wn.alternate!==null&&yt.delete(wn.key===null?Ht:wn.key),we=_(wn,we,Ht),gn===null?wt=wn:gn.sibling=wn,gn=wn);return o&&yt.forEach(function(X0){return u(Oe,X0)}),un&&Ka(Oe,Ht),wt}function Fn(Oe,we,Pe,Ze){if(typeof Pe=="object"&&Pe!==null&&Pe.type===N&&Pe.key===null&&(Pe=Pe.props.children),typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case M:e:{for(var wt=Pe.key;we!==null;){if(we.key===wt){if(wt=Pe.type,wt===N){if(we.tag===7){f(Oe,we.sibling),Ze=w(we,Pe.props.children),Ze.return=Oe,Oe=Ze;break e}}else if(we.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===Q&&ni(wt)===we.type){f(Oe,we.sibling),Ze=w(we,Pe.props),ri(Ze,Pe),Ze.return=Oe,Oe=Ze;break e}f(Oe,we);break}else u(Oe,we);we=we.sibling}Pe.type===N?(Ze=Xu(Pe.props.children,Oe.mode,Ze,Pe.key),Ze.return=Oe,Oe=Ze):(Ze=Qm(Pe.type,Pe.key,Pe.props,null,Oe.mode,Ze),ri(Ze,Pe),Ze.return=Oe,Oe=Ze)}return z(Oe);case q:e:{for(wt=Pe.key;we!==null;){if(we.key===wt)if(we.tag===4&&we.stateNode.containerInfo===Pe.containerInfo&&we.stateNode.implementation===Pe.implementation){f(Oe,we.sibling),Ze=w(we,Pe.children||[]),Ze.return=Oe,Oe=Ze;break e}else{f(Oe,we);break}else u(Oe,we);we=we.sibling}Ze=bd(Pe,Oe.mode,Ze),Ze.return=Oe,Oe=Ze}return z(Oe);case Q:return Pe=ni(Pe),Fn(Oe,we,Pe,Ze)}if(xe(Pe))return mt(Oe,we,Pe,Ze);if(se(Pe)){if(wt=se(Pe),typeof wt!="function")throw Error(l(150));return Pe=wt.call(Pe),Dt(Oe,we,Pe,Ze)}if(typeof Pe.then=="function")return Fn(Oe,we,pf(Pe),Ze);if(Pe.$$typeof===I)return Fn(Oe,we,Ma(Oe,Pe),Ze);Ga(Oe,Pe)}return typeof Pe=="string"&&Pe!==""||typeof Pe=="number"||typeof Pe=="bigint"?(Pe=""+Pe,we!==null&&we.tag===6?(f(Oe,we.sibling),Ze=w(we,Pe),Ze.return=Oe,Oe=Ze):(f(Oe,we),Ze=Qu(Pe,Oe.mode,Ze),Ze.return=Oe,Oe=Ze),z(Oe)):f(Oe,we)}return function(Oe,we,Pe,Ze){try{wl=0;var wt=Fn(Oe,we,Pe,Ze);return Qs=null,wt}catch(yt){if(yt===Ys||yt===ff)throw yt;var gn=Jn(29,yt,null,Oe.mode);return gn.lanes=Ze,gn.return=Oe,gn}}}var Ju=x0(!0),Zm=x0(!1),$o=!1;function ai(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jp(o,u){o=o.updateQueue,u.updateQueue===o&&(u.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,callbacks:null})}function es(o){return{lane:o,tag:0,payload:null,callback:null,next:null}}function Ya(o,u,f){var v=o.updateQueue;if(v===null)return null;if(v=v.shared,(Sn&2)!==0){var w=v.pending;return w===null?u.next=u:(u.next=w.next,w.next=u),v.pending=u,u=gd(o),Vp(o,null,f),u}return Fa(o,v,u,f),gd(o)}function Zs(o,u,f){if(u=u.updateQueue,u!==null&&(u=u.shared,(f&4194048)!==0)){var v=u.lanes;v&=o.pendingLanes,f|=v,u.lanes=f,ru(o,f)}}function eh(o,u){var f=o.updateQueue,v=o.alternate;if(v!==null&&(v=v.updateQueue,f===v)){var w=null,_=null;if(f=f.firstBaseUpdate,f!==null){do{var z={lane:f.lane,tag:f.tag,payload:f.payload,callback:null,next:null};_===null?w=_=z:_=_.next=z,f=f.next}while(f!==null);_===null?w=_=u:_=_.next=u}else w=_=u;f={baseState:v.baseState,firstBaseUpdate:w,lastBaseUpdate:_,shared:v.shared,callbacks:v.callbacks},o.updateQueue=f;return}o=f.lastBaseUpdate,o===null?f.firstBaseUpdate=u:o.next=u,f.lastBaseUpdate=u}var ia=!1;function gu(){if(ia){var o=Yr;if(o!==null)throw o}}function Li(o,u,f,v){ia=!1;var w=o.updateQueue;$o=!1;var _=w.firstBaseUpdate,z=w.lastBaseUpdate,J=w.shared.pending;if(J!==null){w.shared.pending=null;var ge=J,qe=ge.next;ge.next=null,z===null?_=qe:z.next=qe,z=ge;var Ye=o.alternate;Ye!==null&&(Ye=Ye.updateQueue,J=Ye.lastBaseUpdate,J!==z&&(J===null?Ye.firstBaseUpdate=qe:J.next=qe,Ye.lastBaseUpdate=ge))}if(_!==null){var We=w.baseState;z=0,Ye=qe=ge=null,J=_;do{var Le=J.lane&-536870913,He=Le!==J.lane;if(He?(en&Le)===Le:(v&Le)===Le){Le!==0&&Le===Gs&&(ia=!0),Ye!==null&&(Ye=Ye.next={lane:0,tag:J.tag,payload:J.payload,callback:null,next:null});e:{var mt=o,Dt=J;Le=u;var Fn=f;switch(Dt.tag){case 1:if(mt=Dt.payload,typeof mt=="function"){We=mt.call(Fn,We,Le);break e}We=mt;break e;case 3:mt.flags=mt.flags&-65537|128;case 0:if(mt=Dt.payload,Le=typeof mt=="function"?mt.call(Fn,We,Le):mt,Le==null)break e;We=S({},We,Le);break e;case 2:$o=!0}}Le=J.callback,Le!==null&&(o.flags|=64,He&&(o.flags|=8192),He=w.callbacks,He===null?w.callbacks=[Le]:He.push(Le))}else He={lane:Le,tag:J.tag,payload:J.payload,callback:J.callback,next:null},Ye===null?(qe=Ye=He,ge=We):Ye=Ye.next=He,z|=Le;if(J=J.next,J===null){if(J=w.shared.pending,J===null)break;He=J,J=He.next,He.next=null,w.lastBaseUpdate=He,w.shared.pending=null}}while(!0);Ye===null&&(ge=We),w.baseState=ge,w.firstBaseUpdate=qe,w.lastBaseUpdate=Ye,_===null&&(w.shared.lanes=0),Ui|=z,o.lanes=z,o.memoizedState=We}}function Po(o,u){if(typeof o!="function")throw Error(l(191,o));o.call(u)}function yu(o,u){var f=o.callbacks;if(f!==null)for(o.callbacks=null,o=0;o<f.length;o++)Po(f[o],u)}var $r=oe(null),qo=oe(0);function vy(o,u){o=ko,ce(qo,o),ce($r,u),ko=o|u.baseLanes}function ua(){ce(qo,ko),ce($r,$r.current)}function Ws(){ko=qo.current,ue($r),ue(qo)}var Rl=oe(null),Lo=null;function bu(o){var u=o.alternate;ce(fr,fr.current&1),ce(Rl,o),Lo===null&&(u===null||$r.current!==null||u.memoizedState!==null)&&(Lo=o)}function Js(o){ce(fr,fr.current),ce(Rl,o),Lo===null&&(Lo=o)}function Wm(o){o.tag===22?(ce(fr,fr.current),ce(Rl,o),Lo===null&&(Lo=o)):Tl()}function Tl(){ce(fr,fr.current),ce(Rl,Rl.current)}function Xa(o){ue(Rl),Lo===o&&(Lo=null),ue(fr)}var fr=oe(0);function Ed(o){for(var u=o;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||Io(f)||Fi(f)))return u}else if(u.tag===19&&(u.memoizedProps.revealOrder==="forwards"||u.memoizedProps.revealOrder==="backwards"||u.memoizedProps.revealOrder==="unstable_legacy-backwards"||u.memoizedProps.revealOrder==="together")){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===o)break;for(;u.sibling===null;){if(u.return===null||u.return===o)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var no=0,Gt=null,Nn=null,Sr=null,ec=!1,hf=!1,ts=!1,th=0,mf=0,xu=null,E0=0;function lr(){throw Error(l(321))}function Eu(o,u){if(u===null)return!1;for(var f=0;f<u.length&&f<o.length;f++)if(!Wn(o[f],u[f]))return!1;return!0}function Sd(o,u,f,v,w,_){return no=_,Gt=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,B.H=o===null||o.memoizedState===null?C0:mh,ts=!1,_=f(v,w),ts=!1,hf&&(_=rh(u,f,v,w)),nh(o),_}function nh(o){B.H=oc;var u=Nn!==null&&Nn.next!==null;if(no=0,Sr=Nn=Gt=null,ec=!1,mf=0,xu=null,u)throw Error(l(300));o===null||dr||(o=o.dependencies,o!==null&&uf(o)&&(dr=!0))}function rh(o,u,f,v){Gt=o;var w=0;do{if(hf&&(xu=null),mf=0,hf=!1,25<=w)throw Error(l(301));if(w+=1,Sr=Nn=null,o.updateQueue!=null){var _=o.updateQueue;_.lastEffect=null,_.events=null,_.stores=null,_.memoCache!=null&&(_.memoCache.index=0)}B.H=vh,_=u(f,v)}while(hf);return _}function dx(){var o=B.H,u=o.useState()[0];return u=typeof u.then=="function"?nc(u):u,o=o.useState()[0],(Nn!==null?Nn.memoizedState:null)!==o&&(Gt.flags|=1024),u}function ah(){var o=th!==0;return th=0,o}function tc(o,u,f){u.updateQueue=o.updateQueue,u.flags&=-2053,o.lanes&=~f}function lh(o){if(ec){for(o=o.memoizedState;o!==null;){var u=o.queue;u!==null&&(u.pending=null),o=o.next}ec=!1}no=0,Sr=Nn=Gt=null,hf=!1,mf=th=0,xu=null}function sa(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sr===null?Gt.memoizedState=Sr=o:Sr=Sr.next=o,Sr}function Pr(){if(Nn===null){var o=Gt.alternate;o=o!==null?o.memoizedState:null}else o=Nn.next;var u=Sr===null?Gt.memoizedState:Sr.next;if(u!==null)Sr=u,Nn=o;else{if(o===null)throw Gt.alternate===null?Error(l(467)):Error(l(310));Nn=o,o={memoizedState:Nn.memoizedState,baseState:Nn.baseState,baseQueue:Nn.baseQueue,queue:Nn.queue,next:null},Sr===null?Gt.memoizedState=Sr=o:Sr=Sr.next=o}return Sr}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nc(o){var u=mf;return mf+=1,xu===null&&(xu=[]),o=Zp(xu,o,u),u=Gt,(Sr===null?u.memoizedState:Sr.next)===null&&(u=u.alternate,B.H=u===null||u.memoizedState===null?C0:mh),o}function rc(o){if(o!==null&&typeof o=="object"){if(typeof o.then=="function")return nc(o);if(o.$$typeof===I)return et(o)}throw Error(l(438,String(o)))}function Jm(o){var u=null,f=Gt.updateQueue;if(f!==null&&(u=f.memoCache),u==null){var v=Gt.alternate;v!==null&&(v=v.updateQueue,v!==null&&(v=v.memoCache,v!=null&&(u={data:v.data.map(function(w){return w.slice()}),index:0})))}if(u==null&&(u={data:[],index:0}),f===null&&(f=vf(),Gt.updateQueue=f),f.memoCache=u,f=u.data[u.index],f===void 0)for(f=u.data[u.index]=Array(o),v=0;v<o;v++)f[v]=de;return u.index++,f}function li(o,u){return typeof u=="function"?u(o):u}function qt(o){var u=Pr();return ev(u,Nn,o)}function ev(o,u,f){var v=o.queue;if(v===null)throw Error(l(311));v.lastRenderedReducer=f;var w=o.baseQueue,_=v.pending;if(_!==null){if(w!==null){var z=w.next;w.next=_.next,_.next=z}u.baseQueue=w=_,v.pending=null}if(_=o.baseState,w===null)o.memoizedState=_;else{u=w.next;var J=z=null,ge=null,qe=u,Ye=!1;do{var We=qe.lane&-536870913;if(We!==qe.lane?(en&We)===We:(no&We)===We){var Le=qe.revertLane;if(Le===0)ge!==null&&(ge=ge.next={lane:0,revertLane:0,gesture:null,action:qe.action,hasEagerState:qe.hasEagerState,eagerState:qe.eagerState,next:null}),We===Gs&&(Ye=!0);else if((no&Le)===Le){qe=qe.next,Le===Gs&&(Ye=!0);continue}else We={lane:0,revertLane:qe.revertLane,gesture:null,action:qe.action,hasEagerState:qe.hasEagerState,eagerState:qe.eagerState,next:null},ge===null?(J=ge=We,z=_):ge=ge.next=We,Gt.lanes|=Le,Ui|=Le;We=qe.action,ts&&f(_,We),_=qe.hasEagerState?qe.eagerState:f(_,We)}else Le={lane:We,revertLane:qe.revertLane,gesture:qe.gesture,action:qe.action,hasEagerState:qe.hasEagerState,eagerState:qe.eagerState,next:null},ge===null?(J=ge=Le,z=_):ge=ge.next=Le,Gt.lanes|=We,Ui|=We;qe=qe.next}while(qe!==null&&qe!==u);if(ge===null?z=_:ge.next=J,!Wn(_,o.memoizedState)&&(dr=!0,Ye&&(f=Yr,f!==null)))throw f;o.memoizedState=_,o.baseState=z,o.baseQueue=ge,v.lastRenderedState=_}return w===null&&(v.lanes=0),[o.memoizedState,v.dispatch]}function tv(o){var u=Pr(),f=u.queue;if(f===null)throw Error(l(311));f.lastRenderedReducer=o;var v=f.dispatch,w=f.pending,_=u.memoizedState;if(w!==null){f.pending=null;var z=w=w.next;do _=o(_,z.action),z=z.next;while(z!==w);Wn(_,u.memoizedState)||(dr=!0),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),f.lastRenderedState=_}return[_,v]}function gf(o,u,f){var v=Gt,w=Pr(),_=un;if(_){if(f===void 0)throw Error(l(407));f=f()}else f=u();var z=!Wn((Nn||w).memoizedState,f);if(z&&(w.memoizedState=f,dr=!0),w=w.queue,Td(nv.bind(null,v,w,o),[o]),w.getSnapshot!==u||z||Sr!==null&&Sr.memoizedState.tag&1){if(v.flags|=2048,ro(9,{destroy:void 0},gy.bind(null,v,w,f,u),null),Hn===null)throw Error(l(349));_||(no&127)!==0||Cd(v,u,f)}return f}function Cd(o,u,f){o.flags|=16384,o={getSnapshot:u,value:f},u=Gt.updateQueue,u===null?(u=vf(),Gt.updateQueue=u,u.stores=[o]):(f=u.stores,f===null?u.stores=[o]:f.push(o))}function gy(o,u,f,v){u.value=f,u.getSnapshot=v,_l(u)&&rv(o)}function nv(o,u,f){return f(function(){_l(u)&&rv(o)})}function _l(o){var u=o.getSnapshot;o=o.value;try{var f=u();return!Wn(o,f)}catch{return!0}}function rv(o){var u=Wo(o,2);u!==null&&$l(u,o,2)}function wd(o){var u=sa();if(typeof o=="function"){var f=o;if(o=f(),ts){ml(!0);try{f()}finally{ml(!1)}}}return u.memoizedState=u.baseState=o,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:li,lastRenderedState:o},u}function Xr(o,u,f,v){return o.baseState=f,ev(o,Nn,typeof v=="function"?v:li)}function yy(o,u,f,v,w){if(_d(o))throw Error(l(485));if(o=u.action,o!==null){var _={payload:w,action:o,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(z){_.listeners.push(z)}};B.T!==null?f(!0):_.isTransition=!1,v(_),f=u.pending,f===null?(_.next=u.pending=_,av(u,_)):(_.next=f.next,u.pending=f.next=_)}}function av(o,u){var f=u.action,v=u.payload,w=o.state;if(u.isTransition){var _=B.T,z={};B.T=z;try{var J=f(w,v),ge=B.S;ge!==null&&ge(z,J),Al(o,u,J)}catch(qe){ns(o,u,qe)}finally{_!==null&&z.types!==null&&(_.types=z.types),B.T=_}}else try{_=f(w,v),Al(o,u,_)}catch(qe){ns(o,u,qe)}}function Al(o,u,f){f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(function(v){Su(o,u,v)},function(v){return ns(o,u,v)}):Su(o,u,f)}function Su(o,u,f){u.status="fulfilled",u.value=f,lv(u),o.state=f,u=o.pending,u!==null&&(f=u.next,f===u?o.pending=null:(f=f.next,u.next=f,av(o,f)))}function ns(o,u,f){var v=o.pending;if(o.pending=null,v!==null){v=v.next;do u.status="rejected",u.reason=f,lv(u),u=u.next;while(u!==v)}o.action=null}function lv(o){o=o.listeners;for(var u=0;u<o.length;u++)(0,o[u])()}function ac(o,u){return u}function ov(o,u){if(un){var f=Hn.formState;if(f!==null){e:{var v=Gt;if(un){if(_n){t:{for(var w=_n,_=la;w.nodeType!==8;){if(!_){w=null;break t}if(w=ql(w.nextSibling),w===null){w=null;break t}}_=w.data,w=_==="F!"||_==="F"?w:null}if(w){_n=ql(w.nextSibling),v=w.data==="F!";break e}}ti(v)}v=!1}v&&(u=f[0])}}return f=sa(),f.memoizedState=f.baseState=u,v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ac,lastRenderedState:u},f.queue=v,f=ph.bind(null,Gt,v),v.dispatch=f,v=wd(!1),_=zi.bind(null,Gt,!1,v.queue),v=sa(),w={state:u,dispatch:null,action:o,pending:null},v.queue=w,f=yy.bind(null,Gt,w,_,f),w.dispatch=f,v.memoizedState=o,[u,f,!1]}function iv(o){var u=Pr();return Rd(u,Nn,o)}function Rd(o,u,f){if(u=ev(o,u,ac)[0],o=qt(li)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var v=nc(u)}catch(z){throw z===Ys?ff:z}else v=u;u=Pr();var w=u.queue,_=w.dispatch;return f!==u.memoizedState&&(Gt.flags|=2048,ro(9,{destroy:void 0},oh.bind(null,w,f),null)),[v,_,o]}function oh(o,u){o.action=u}function ih(o){var u=Pr(),f=Nn;if(f!==null)return Rd(u,f,o);Pr(),u=u.memoizedState,f=Pr();var v=f.queue.dispatch;return f.memoizedState=o,[u,v,!1]}function ro(o,u,f,v){return o={tag:o,create:f,deps:v,inst:u,next:null},u=Gt.updateQueue,u===null&&(u=vf(),Gt.updateQueue=u),f=u.lastEffect,f===null?u.lastEffect=o.next=o:(v=f.next,f.next=o,o.next=v,u.lastEffect=o),o}function by(){return Pr().memoizedState}function jo(o,u,f,v){var w=sa();Gt.flags|=o,w.memoizedState=ro(1|u,{destroy:void 0},f,v===void 0?null:v)}function yf(o,u,f,v){var w=Pr();v=v===void 0?null:v;var _=w.memoizedState.inst;Nn!==null&&v!==null&&Eu(v,Nn.memoizedState.deps)?w.memoizedState=ro(u,_,f,v):(Gt.flags|=o,w.memoizedState=ro(1|u,_,f,v))}function uh(o,u){jo(8390656,8,o,u)}function Td(o,u){yf(2048,8,o,u)}function xy(o){Gt.flags|=4;var u=Gt.updateQueue;if(u===null)u=vf(),Gt.updateQueue=u,u.events=[o];else{var f=u.events;f===null?u.events=[o]:f.push(o)}}function sh(o){var u=Pr().memoizedState;return xy({ref:u,nextImpl:o}),function(){if((Sn&2)!==0)throw Error(l(440));return u.impl.apply(void 0,arguments)}}function uv(o,u){return yf(4,2,o,u)}function sv(o,u){return yf(4,4,o,u)}function ch(o,u){if(typeof u=="function"){o=o();var f=u(o);return function(){typeof f=="function"?f():u(null)}}if(u!=null)return o=o(),u.current=o,function(){u.current=null}}function Ey(o,u,f){f=f!=null?f.concat([o]):null,yf(4,4,ch.bind(null,u,o),f)}function oi(){}function fh(o,u){var f=Pr();u=u===void 0?null:u;var v=f.memoizedState;return u!==null&&Eu(u,v[1])?v[0]:(f.memoizedState=[o,u],o)}function Dl(o,u){var f=Pr();u=u===void 0?null:u;var v=f.memoizedState;if(u!==null&&Eu(u,v[1]))return v[0];if(v=o(),ts){ml(!0);try{o()}finally{ml(!1)}}return f.memoizedState=[v,u],v}function ao(o,u,f){return f===void 0||(no&1073741824)!==0&&(en&261930)===0?o.memoizedState=u:(o.memoizedState=f,o=_0(),Gt.lanes|=o,Ui|=o,f)}function Cu(o,u,f,v){return Wn(f,u)?f:$r.current!==null?(o=ao(o,f,v),Wn(o,u)||(dr=!0),o):(no&42)===0||(no&1073741824)!==0&&(en&261930)===0?(dr=!0,o.memoizedState=f):(o=_0(),Gt.lanes|=o,Ui|=o,u)}function cv(o,u,f,v,w){var _=Z.p;Z.p=_!==0&&8>_?_:8;var z=B.T,J={};B.T=J,zi(o,!1,u,f);try{var ge=w(),qe=B.S;if(qe!==null&&qe(J,ge),ge!==null&&typeof ge=="object"&&typeof ge.then=="function"){var Ye=Qp(ge,v);wu(o,u,Ye,fo(o))}else wu(o,u,v,fo(o))}catch(We){wu(o,u,{then:function(){},status:"rejected",reason:We},fo())}finally{Z.p=_,z!==null&&J.types!==null&&(z.types=J.types),B.T=z}}function dh(){}function ji(o,u,f,v){if(o.tag!==5)throw Error(l(476));var w=bf(o).queue;cv(o,w,u,te,f===null?dh:function(){return zn(o),f(v)})}function bf(o){var u=o.memoizedState;if(u!==null)return u;u={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:li,lastRenderedState:te},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:li,lastRenderedState:f},next:null},o.memoizedState=u,o=o.alternate,o!==null&&(o.memoizedState=u),u}function zn(o){var u=bf(o);u.next===null&&(u=o.alternate.memoizedState),wu(o,u.next.queue,{},fo())}function Sy(){return et(ep)}function Cy(){return Pr().memoizedState}function lc(){return Pr().memoizedState}function lo(o){for(var u=o.return;u!==null;){switch(u.tag){case 24:case 3:var f=fo();o=es(f);var v=Ya(u,o,f);v!==null&&($l(v,u,f),Zs(v,u,f)),u={cache:Mo()},o.payload=u;return}u=u.return}}function S0(o,u,f){var v=fo();f={lane:v,revertLane:0,gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},_d(o)?xf(u,f):(f=To(o,u,f,v),f!==null&&($l(f,o,v),hh(f,u,v)))}function ph(o,u,f){var v=fo();wu(o,u,f,v)}function wu(o,u,f,v){var w={lane:v,revertLane:0,gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null};if(_d(o))xf(u,w);else{var _=o.alternate;if(o.lanes===0&&(_===null||_.lanes===0)&&(_=u.lastRenderedReducer,_!==null))try{var z=u.lastRenderedState,J=_(z,f);if(w.hasEagerState=!0,w.eagerState=J,Wn(J,z))return Fa(o,u,w,0),Hn===null&&Gr(),!1}catch{}if(f=To(o,u,w,v),f!==null)return $l(f,o,v),hh(f,u,v),!0}return!1}function zi(o,u,f,v){if(v={lane:2,revertLane:po(),gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},_d(o)){if(u)throw Error(l(479))}else u=To(o,f,v,2),u!==null&&$l(u,o,2)}function _d(o){var u=o.alternate;return o===Gt||u!==null&&u===Gt}function xf(o,u){hf=ec=!0;var f=o.pending;f===null?u.next=u:(u.next=f.next,f.next=u),o.pending=u}function hh(o,u,f){if((f&4194048)!==0){var v=u.lanes;v&=o.pendingLanes,f|=v,u.lanes=f,ru(o,f)}}var oc={readContext:et,use:rc,useCallback:lr,useContext:lr,useEffect:lr,useImperativeHandle:lr,useLayoutEffect:lr,useInsertionEffect:lr,useMemo:lr,useReducer:lr,useRef:lr,useState:lr,useDebugValue:lr,useDeferredValue:lr,useTransition:lr,useSyncExternalStore:lr,useId:lr,useHostTransitionStatus:lr,useFormState:lr,useActionState:lr,useOptimistic:lr,useMemoCache:lr,useCacheRefresh:lr};oc.useEffectEvent=lr;var C0={readContext:et,use:rc,useCallback:function(o,u){return sa().memoizedState=[o,u===void 0?null:u],o},useContext:et,useEffect:uh,useImperativeHandle:function(o,u,f){f=f!=null?f.concat([o]):null,jo(4194308,4,ch.bind(null,u,o),f)},useLayoutEffect:function(o,u){return jo(4194308,4,o,u)},useInsertionEffect:function(o,u){jo(4,2,o,u)},useMemo:function(o,u){var f=sa();u=u===void 0?null:u;var v=o();if(ts){ml(!0);try{o()}finally{ml(!1)}}return f.memoizedState=[v,u],v},useReducer:function(o,u,f){var v=sa();if(f!==void 0){var w=f(u);if(ts){ml(!0);try{f(u)}finally{ml(!1)}}}else w=u;return v.memoizedState=v.baseState=w,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:w},v.queue=o,o=o.dispatch=S0.bind(null,Gt,o),[v.memoizedState,o]},useRef:function(o){var u=sa();return o={current:o},u.memoizedState=o},useState:function(o){o=wd(o);var u=o.queue,f=ph.bind(null,Gt,u);return u.dispatch=f,[o.memoizedState,f]},useDebugValue:oi,useDeferredValue:function(o,u){var f=sa();return ao(f,o,u)},useTransition:function(){var o=wd(!1);return o=cv.bind(null,Gt,o.queue,!0,!1),sa().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,u,f){var v=Gt,w=sa();if(un){if(f===void 0)throw Error(l(407));f=f()}else{if(f=u(),Hn===null)throw Error(l(349));(en&127)!==0||Cd(v,u,f)}w.memoizedState=f;var _={value:f,getSnapshot:u};return w.queue=_,uh(nv.bind(null,v,_,o),[o]),v.flags|=2048,ro(9,{destroy:void 0},gy.bind(null,v,_,f,u),null),f},useId:function(){var o=sa(),u=Hn.identifierPrefix;if(un){var f=Do,v=to;f=(v&~(1<<32-Or(v)-1)).toString(32)+f,u="_"+u+"R_"+f,f=th++,0<f&&(u+="H"+f.toString(32)),u+="_"}else f=E0++,u="_"+u+"r_"+f.toString(32)+"_";return o.memoizedState=u},useHostTransitionStatus:Sy,useFormState:ov,useActionState:ov,useOptimistic:function(o){var u=sa();u.memoizedState=u.baseState=o;var f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=f,u=zi.bind(null,Gt,!0,f),f.dispatch=u,[o,u]},useMemoCache:Jm,useCacheRefresh:function(){return sa().memoizedState=lo.bind(null,Gt)},useEffectEvent:function(o){var u=sa(),f={impl:o};return u.memoizedState=f,function(){if((Sn&2)!==0)throw Error(l(440));return f.impl.apply(void 0,arguments)}}},mh={readContext:et,use:rc,useCallback:fh,useContext:et,useEffect:Td,useImperativeHandle:Ey,useInsertionEffect:uv,useLayoutEffect:sv,useMemo:Dl,useReducer:qt,useRef:by,useState:function(){return qt(li)},useDebugValue:oi,useDeferredValue:function(o,u){var f=Pr();return Cu(f,Nn.memoizedState,o,u)},useTransition:function(){var o=qt(li)[0],u=Pr().memoizedState;return[typeof o=="boolean"?o:nc(o),u]},useSyncExternalStore:gf,useId:Cy,useHostTransitionStatus:Sy,useFormState:iv,useActionState:iv,useOptimistic:function(o,u){var f=Pr();return Xr(f,Nn,o,u)},useMemoCache:Jm,useCacheRefresh:lc};mh.useEffectEvent=sh;var vh={readContext:et,use:rc,useCallback:fh,useContext:et,useEffect:Td,useImperativeHandle:Ey,useInsertionEffect:uv,useLayoutEffect:sv,useMemo:Dl,useReducer:tv,useRef:by,useState:function(){return tv(li)},useDebugValue:oi,useDeferredValue:function(o,u){var f=Pr();return Nn===null?ao(f,o,u):Cu(f,Nn.memoizedState,o,u)},useTransition:function(){var o=tv(li)[0],u=Pr().memoizedState;return[typeof o=="boolean"?o:nc(o),u]},useSyncExternalStore:gf,useId:Cy,useHostTransitionStatus:Sy,useFormState:ih,useActionState:ih,useOptimistic:function(o,u){var f=Pr();return Nn!==null?Xr(f,Nn,o,u):(f.baseState=o,[o,f.queue.dispatch])},useMemoCache:Jm,useCacheRefresh:lc};vh.useEffectEvent=sh;function ic(o,u,f,v){u=o.memoizedState,f=f(v,u),f=f==null?u:S({},u,f),o.memoizedState=f,o.lanes===0&&(o.updateQueue.baseState=f)}var oo={enqueueSetState:function(o,u,f){o=o._reactInternals;var v=fo(),w=es(v);w.payload=u,f!=null&&(w.callback=f),u=Ya(o,w,v),u!==null&&($l(u,o,v),Zs(u,o,v))},enqueueReplaceState:function(o,u,f){o=o._reactInternals;var v=fo(),w=es(v);w.tag=1,w.payload=u,f!=null&&(w.callback=f),u=Ya(o,w,v),u!==null&&($l(u,o,v),Zs(u,o,v))},enqueueForceUpdate:function(o,u){o=o._reactInternals;var f=fo(),v=es(f);v.tag=2,u!=null&&(v.callback=u),u=Ya(o,v,f),u!==null&&($l(u,o,f),Zs(u,o,f))}};function wy(o,u,f,v,w,_,z){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(v,_,z):u.prototype&&u.prototype.isPureReactComponent?!wo(f,v)||!wo(w,_):!0}function Ry(o,u,f,v){o=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(f,v),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(f,v),u.state!==o&&oo.enqueueReplaceState(u,u.state,null)}function Qa(o,u){var f=u;if("ref"in u){f={};for(var v in u)v!=="ref"&&(f[v]=u[v])}if(o=o.defaultProps){f===u&&(f=S({},f));for(var w in o)f[w]===void 0&&(f[w]=o[w])}return f}function gh(o){lf(o)}function fv(o){console.error(o)}function dv(o){lf(o)}function Ef(o,u){try{var f=o.onUncaughtError;f(u.value,{componentStack:u.stack})}catch(v){setTimeout(function(){throw v})}}function yh(o,u,f){try{var v=o.onCaughtError;v(f.value,{componentStack:f.stack,errorBoundary:u.tag===1?u.stateNode:null})}catch(w){setTimeout(function(){throw w})}}function Ty(o,u,f){return f=es(f),f.tag=3,f.payload={element:null},f.callback=function(){Ef(o,u)},f}function Bi(o){return o=es(o),o.tag=3,o}function bh(o,u,f,v){var w=f.type.getDerivedStateFromError;if(typeof w=="function"){var _=v.value;o.payload=function(){return w(_)},o.callback=function(){yh(u,f,v)}}var z=f.stateNode;z!==null&&typeof z.componentDidCatch=="function"&&(o.callback=function(){yh(u,f,v),typeof w!="function"&&(pr===null?pr=new Set([this]):pr.add(this));var J=v.stack;this.componentDidCatch(v.value,{componentStack:J!==null?J:""})})}function _y(o,u,f,v,w){if(f.flags|=32768,v!==null&&typeof v=="object"&&typeof v.then=="function"){if(u=f.alternate,u!==null&&Ca(u,f,w,!0),f=Rl.current,f!==null){switch(f.tag){case 31:case 13:return Lo===null?Mv():f.alternate===null&&Xn===0&&(Xn=3),f.flags&=-257,f.flags|=65536,f.lanes=w,v===df?f.flags|=16384:(u=f.updateQueue,u===null?f.updateQueue=new Set([v]):u.add(v),jh(o,v,w)),!1;case 22:return f.flags|=65536,v===df?f.flags|=16384:(u=f.updateQueue,u===null?(u={transitions:null,markerInstances:null,retryQueue:new Set([v])},f.updateQueue=u):(f=u.retryQueue,f===null?u.retryQueue=new Set([v]):f.add(v)),jh(o,v,w)),!1}throw Error(l(435,f.tag))}return jh(o,v,w),Mv(),!1}if(un)return u=Rl.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=w,v!==pu&&(o=Error(l(422),{cause:v}),Wu(Jl(o,f)))):(v!==pu&&(u=Error(l(423),{cause:v}),Wu(Jl(u,f))),o=o.current.alternate,o.flags|=65536,w&=-w,o.lanes|=w,v=Jl(v,f),w=Ty(o.stateNode,v,w),eh(o,w),Xn!==4&&(Xn=2)),!1;var _=Error(l(520),{cause:v});if(_=Jl(_,f),Oh===null?Oh=[_]:Oh.push(_),Xn!==4&&(Xn=2),u===null)return!0;v=Jl(v,f),f=u;do{switch(f.tag){case 3:return f.flags|=65536,o=w&-w,f.lanes|=o,o=Ty(f.stateNode,v,o),eh(f,o),!1;case 1:if(u=f.type,_=f.stateNode,(f.flags&128)===0&&(typeof u.getDerivedStateFromError=="function"||_!==null&&typeof _.componentDidCatch=="function"&&(pr===null||!pr.has(_))))return f.flags|=65536,w&=-w,f.lanes|=w,w=Bi(w),bh(w,o,f,v),eh(f,w),!1}f=f.return}while(f!==null);return!1}var Ad=Error(l(461)),dr=!1;function $n(o,u,f,v){u.child=o===null?Zm(u,null,f,v):Ju(u,o.child,f,v)}function Rt(o,u,f,v,w){f=f.render;var _=u.ref;if("ref"in v){var z={};for(var J in v)J!=="ref"&&(z[J]=v[J])}else z=v;return zt(u),v=Sd(o,u,f,z,_,w),J=ah(),o!==null&&!dr?(tc(o,u,w),io(o,u,w)):(un&&J&&Oi(u),u.flags|=1,$n(o,u,v,w),u.child)}function Dd(o,u,f,v,w){if(o===null){var _=f.type;return typeof _=="function"&&!_o(_)&&_.defaultProps===void 0&&f.compare===null?(u.tag=15,u.type=_,xh(o,u,_,v,w)):(o=Qm(f.type,null,v,u,u.mode,w),o.ref=u.ref,o.return=u,u.child=o)}if(_=o.child,!Rh(o,w)){var z=_.memoizedProps;if(f=f.compare,f=f!==null?f:wo,f(z,v)&&o.ref===u.ref)return io(o,u,w)}return u.flags|=1,o=Jo(_,v),o.ref=u.ref,o.return=u,u.child=o}function xh(o,u,f,v,w){if(o!==null){var _=o.memoizedProps;if(wo(_,v)&&o.ref===u.ref)if(dr=!1,u.pendingProps=v=_,Rh(o,w))(o.flags&131072)!==0&&(dr=!0);else return u.lanes=o.lanes,io(o,u,w)}return Eh(o,u,f,v,w)}function uc(o,u,f,v){var w=v.children,_=o!==null?o.memoizedState:null;if(o===null&&u.stateNode===null&&(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),v.mode==="hidden"){if((u.flags&128)!==0){if(_=_!==null?_.baseLanes|f:f,o!==null){for(v=u.child=o.child,w=0;v!==null;)w=w|v.lanes|v.childLanes,v=v.sibling;v=w&~_}else v=0,u.child=null;return Oa(o,u,_,f,v)}if((f&536870912)!==0)u.memoizedState={baseLanes:0,cachePool:null},o!==null&&xd(u,_!==null?_.cachePool:null),_!==null?vy(u,_):ua(),Wm(u);else return v=u.lanes=536870912,Oa(o,u,_!==null?_.baseLanes|f:f,f,v)}else _!==null?(xd(u,_.cachePool),vy(u,_),Tl(),u.memoizedState=null):(o!==null&&xd(u,null),ua(),Tl());return $n(o,u,w,f),u.child}function sc(o,u){return o!==null&&o.tag===22||u.stateNode!==null||(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.sibling}function Oa(o,u,f,v,w){var _=No();return _=_===null?null:{parent:Ur._currentValue,pool:_},u.memoizedState={baseLanes:f,cachePool:_},o!==null&&xd(u,null),ua(),Wm(u),o!==null&&Ca(o,u,v,!0),u.childLanes=w,null}function Md(o,u){return u=wh({mode:u.mode,children:u.children},o.mode),u.ref=o.ref,o.child=u,u.return=o,u}function Pn(o,u,f){return Ju(u,o.child,null,f),o=Md(u,u.pendingProps),o.flags|=2,Xa(u),u.memoizedState=null,o}function w0(o,u,f){var v=u.pendingProps,w=(u.flags&128)!==0;if(u.flags&=-129,o===null){if(un){if(v.mode==="hidden")return o=Md(u,v),u.lanes=536870912,sc(null,o);if(Js(u),(o=_n)?(o=k0(o,la),o=o!==null&&o.data==="&"?o:null,o!==null&&(u.memoizedState={dehydrated:o,treeContext:ei!==null?{id:to,overflow:Do}:null,retryLane:536870912,hydrationErrors:null},f=yd(o),f.return=u,u.child=f,kr=u,_n=null)):o=null,o===null)throw ti(u);return u.lanes=536870912,null}return Md(u,v)}var _=o.memoizedState;if(_!==null){var z=_.dehydrated;if(Js(u),w)if(u.flags&256)u.flags&=-257,u=Pn(o,u,f);else if(u.memoizedState!==null)u.child=o.child,u.flags|=128,u=null;else throw Error(l(558));else if(dr||Ca(o,u,f,!1),w=(f&o.childLanes)!==0,dr||w){if(v=Hn,v!==null&&(z=vl(v,f),z!==0&&z!==_.retryLane))throw _.retryLane=z,Wo(o,z),$l(v,o,z),Ad;Mv(),u=Pn(o,u,f)}else o=_.treeContext,_n=ql(z.nextSibling),kr=u,un=!0,du=null,la=!1,o!==null&&Zu(u,o),u=Md(u,v),u.flags|=4096;return u}return o=Jo(o.child,{mode:v.mode,children:v.children}),o.ref=u.ref,u.child=o,o.return=u,o}function zo(o,u){var f=u.ref;if(f===null)o!==null&&o.ref!==null&&(u.flags|=4194816);else{if(typeof f!="function"&&typeof f!="object")throw Error(l(284));(o===null||o.ref!==f)&&(u.flags|=4194816)}}function Eh(o,u,f,v,w){return zt(u),f=Sd(o,u,f,v,void 0,w),v=ah(),o!==null&&!dr?(tc(o,u,w),io(o,u,w)):(un&&v&&Oi(u),u.flags|=1,$n(o,u,f,w),u.child)}function cc(o,u,f,v,w,_){return zt(u),u.updateQueue=null,f=rh(u,v,f,w),nh(o),v=ah(),o!==null&&!dr?(tc(o,u,_),io(o,u,_)):(un&&v&&Oi(u),u.flags|=1,$n(o,u,f,_),u.child)}function pv(o,u,f,v,w){if(zt(u),u.stateNode===null){var _=Sa,z=f.contextType;typeof z=="object"&&z!==null&&(_=et(z)),_=new f(v,_),u.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,_.updater=oo,u.stateNode=_,_._reactInternals=u,_=u.stateNode,_.props=v,_.state=u.memoizedState,_.refs={},ai(u),z=f.contextType,_.context=typeof z=="object"&&z!==null?et(z):Sa,_.state=u.memoizedState,z=f.getDerivedStateFromProps,typeof z=="function"&&(ic(u,f,z,v),_.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof _.getSnapshotBeforeUpdate=="function"||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(z=_.state,typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount(),z!==_.state&&oo.enqueueReplaceState(_,_.state,null),Li(u,v,_,w),gu(),_.state=u.memoizedState),typeof _.componentDidMount=="function"&&(u.flags|=4194308),v=!0}else if(o===null){_=u.stateNode;var J=u.memoizedProps,ge=Qa(f,J);_.props=ge;var qe=_.context,Ye=f.contextType;z=Sa,typeof Ye=="object"&&Ye!==null&&(z=et(Ye));var We=f.getDerivedStateFromProps;Ye=typeof We=="function"||typeof _.getSnapshotBeforeUpdate=="function",J=u.pendingProps!==J,Ye||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(J||qe!==z)&&Ry(u,_,v,z),$o=!1;var Le=u.memoizedState;_.state=Le,Li(u,v,_,w),gu(),qe=u.memoizedState,J||Le!==qe||$o?(typeof We=="function"&&(ic(u,f,We,v),qe=u.memoizedState),(ge=$o||wy(u,f,ge,v,Le,qe,z))?(Ye||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(u.flags|=4194308)):(typeof _.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=v,u.memoizedState=qe),_.props=v,_.state=qe,_.context=z,v=ge):(typeof _.componentDidMount=="function"&&(u.flags|=4194308),v=!1)}else{_=u.stateNode,Jp(o,u),z=u.memoizedProps,Ye=Qa(f,z),_.props=Ye,We=u.pendingProps,Le=_.context,qe=f.contextType,ge=Sa,typeof qe=="object"&&qe!==null&&(ge=et(qe)),J=f.getDerivedStateFromProps,(qe=typeof J=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(z!==We||Le!==ge)&&Ry(u,_,v,ge),$o=!1,Le=u.memoizedState,_.state=Le,Li(u,v,_,w),gu();var He=u.memoizedState;z!==We||Le!==He||$o||o!==null&&o.dependencies!==null&&uf(o.dependencies)?(typeof J=="function"&&(ic(u,f,J,v),He=u.memoizedState),(Ye=$o||wy(u,f,Ye,v,Le,He,ge)||o!==null&&o.dependencies!==null&&uf(o.dependencies))?(qe||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(v,He,ge),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(v,He,ge)),typeof _.componentDidUpdate=="function"&&(u.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof _.componentDidUpdate!="function"||z===o.memoizedProps&&Le===o.memoizedState||(u.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||z===o.memoizedProps&&Le===o.memoizedState||(u.flags|=1024),u.memoizedProps=v,u.memoizedState=He),_.props=v,_.state=He,_.context=ge,v=Ye):(typeof _.componentDidUpdate!="function"||z===o.memoizedProps&&Le===o.memoizedState||(u.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||z===o.memoizedProps&&Le===o.memoizedState||(u.flags|=1024),v=!1)}return _=v,zo(o,u),v=(u.flags&128)!==0,_||v?(_=u.stateNode,f=v&&typeof f.getDerivedStateFromError!="function"?null:_.render(),u.flags|=1,o!==null&&v?(u.child=Ju(u,o.child,null,w),u.child=Ju(u,null,f,w)):$n(o,u,f,w),u.memoizedState=_.state,o=u.child):o=io(o,u,w),o}function ki(o,u,f,v){return ee(),u.flags|=256,$n(o,u,f,v),u.child}var Sh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ch(o){return{baseLanes:o,cachePool:cf()}}function Ir(o,u,f){return o=o!==null?o.childLanes&~f:0,u&&(o|=Nl),o}function Na(o,u,f){var v=u.pendingProps,w=!1,_=(u.flags&128)!==0,z;if((z=_)||(z=o!==null&&o.memoizedState===null?!1:(fr.current&2)!==0),z&&(w=!0,u.flags&=-129),z=(u.flags&32)!==0,u.flags&=-33,o===null){if(un){if(w?bu(u):Tl(),(o=_n)?(o=k0(o,la),o=o!==null&&o.data!=="&"?o:null,o!==null&&(u.memoizedState={dehydrated:o,treeContext:ei!==null?{id:to,overflow:Do}:null,retryLane:536870912,hydrationErrors:null},f=yd(o),f.return=u,u.child=f,kr=u,_n=null)):o=null,o===null)throw ti(u);return Fi(o)?u.lanes=32:u.lanes=536870912,null}var J=v.children;return v=v.fallback,w?(Tl(),w=u.mode,J=wh({mode:"hidden",children:J},w),v=Xu(v,w,f,null),J.return=u,v.return=u,J.sibling=v,u.child=J,v=u.child,v.memoizedState=Ch(f),v.childLanes=Ir(o,z,f),u.memoizedState=Sh,sc(null,v)):(bu(u),Ru(u,J))}var ge=o.memoizedState;if(ge!==null&&(J=ge.dehydrated,J!==null)){if(_)u.flags&256?(bu(u),u.flags&=-257,u=rs(o,u,f)):u.memoizedState!==null?(Tl(),u.child=o.child,u.flags|=128,u=null):(Tl(),J=v.fallback,w=u.mode,v=wh({mode:"visible",children:v.children},w),J=Xu(J,w,f,null),J.flags|=2,v.return=u,J.return=u,v.sibling=J,u.child=v,Ju(u,o.child,null,f),v=u.child,v.memoizedState=Ch(f),v.childLanes=Ir(o,z,f),u.memoizedState=Sh,u=sc(null,v));else if(bu(u),Fi(J)){if(z=J.nextSibling&&J.nextSibling.dataset,z)var qe=z.dgst;z=qe,v=Error(l(419)),v.stack="",v.digest=z,Wu({value:v,source:null,stack:null}),u=rs(o,u,f)}else if(dr||Ca(o,u,f,!1),z=(f&o.childLanes)!==0,dr||z){if(z=Hn,z!==null&&(v=vl(z,f),v!==0&&v!==ge.retryLane))throw ge.retryLane=v,Wo(o,v),$l(z,o,v),Ad;Io(J)||Mv(),u=rs(o,u,f)}else Io(J)?(u.flags|=192,u.child=o.child,u=null):(o=ge.treeContext,_n=ql(J.nextSibling),kr=u,un=!0,du=null,la=!1,o!==null&&Zu(u,o),u=Ru(u,v.children),u.flags|=4096);return u}return w?(Tl(),J=v.fallback,w=u.mode,ge=o.child,qe=ge.sibling,v=Jo(ge,{mode:"hidden",children:v.children}),v.subtreeFlags=ge.subtreeFlags&65011712,qe!==null?J=Jo(qe,J):(J=Xu(J,w,f,null),J.flags|=2),J.return=u,v.return=u,v.sibling=J,u.child=v,sc(null,v),v=u.child,J=o.child.memoizedState,J===null?J=Ch(f):(w=J.cachePool,w!==null?(ge=Ur._currentValue,w=w.parent!==ge?{parent:ge,pool:ge}:w):w=cf(),J={baseLanes:J.baseLanes|f,cachePool:w}),v.memoizedState=J,v.childLanes=Ir(o,z,f),u.memoizedState=Sh,sc(o.child,v)):(bu(u),f=o.child,o=f.sibling,f=Jo(f,{mode:"visible",children:v.children}),f.return=u,f.sibling=null,o!==null&&(z=u.deletions,z===null?(u.deletions=[o],u.flags|=16):z.push(o)),u.child=f,u.memoizedState=null,f)}function Ru(o,u){return u=wh({mode:"visible",children:u},o.mode),u.return=o,o.child=u}function wh(o,u){return o=Jn(22,o,null,u),o.lanes=0,o}function rs(o,u,f){return Ju(u,o.child,null,f),o=Ru(u,u.pendingProps.children),o.flags|=2,u.memoizedState=null,o}function Sf(o,u,f){o.lanes|=u;var v=o.alternate;v!==null&&(v.lanes|=u),mu(o.return,u,f)}function hv(o,u,f,v,w,_){var z=o.memoizedState;z===null?o.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:v,tail:f,tailMode:w,treeForkCount:_}:(z.isBackwards=u,z.rendering=null,z.renderingStartTime=0,z.last=v,z.tail=f,z.tailMode=w,z.treeForkCount=_)}function Cf(o,u,f){var v=u.pendingProps,w=v.revealOrder,_=v.tail;v=v.children;var z=fr.current,J=(z&2)!==0;if(J?(z=z&1|2,u.flags|=128):z&=1,ce(fr,z),$n(o,u,v,f),v=un?fn:0,!J&&o!==null&&(o.flags&128)!==0)e:for(o=u.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&Sf(o,f,u);else if(o.tag===19)Sf(o,f,u);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===u)break e;for(;o.sibling===null;){if(o.return===null||o.return===u)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(w){case"forwards":for(f=u.child,w=null;f!==null;)o=f.alternate,o!==null&&Ed(o)===null&&(w=f),f=f.sibling;f=w,f===null?(w=u.child,u.child=null):(w=f.sibling,f.sibling=null),hv(u,!1,w,f,_,v);break;case"backwards":case"unstable_legacy-backwards":for(f=null,w=u.child,u.child=null;w!==null;){if(o=w.alternate,o!==null&&Ed(o)===null){u.child=w;break}o=w.sibling,w.sibling=f,f=w,w=o}hv(u,!0,f,null,_,v);break;case"together":hv(u,!1,null,null,void 0,v);break;default:u.memoizedState=null}return u.child}function io(o,u,f){if(o!==null&&(u.dependencies=o.dependencies),Ui|=u.lanes,(f&u.childLanes)===0)if(o!==null){if(Ca(o,u,f,!1),(f&u.childLanes)===0)return null}else return null;if(o!==null&&u.child!==o.child)throw Error(l(153));if(u.child!==null){for(o=u.child,f=Jo(o,o.pendingProps),u.child=f,f.return=u;o.sibling!==null;)o=o.sibling,f=f.sibling=Jo(o,o.pendingProps),f.return=u;f.sibling=null}return u.child}function Rh(o,u){return(o.lanes&u)!==0?!0:(o=o.dependencies,!!(o!==null&&uf(o)))}function mv(o,u,f){switch(u.tag){case 3:Je(u,u.stateNode.containerInfo),Cl(u,Ur,o.memoizedState.cache),ee();break;case 27:case 5:ke(u);break;case 4:Je(u,u.stateNode.containerInfo);break;case 10:Cl(u,u.type,u.memoizedProps.value);break;case 31:if(u.memoizedState!==null)return u.flags|=128,Js(u),null;break;case 13:var v=u.memoizedState;if(v!==null)return v.dehydrated!==null?(bu(u),u.flags|=128,null):(f&u.child.childLanes)!==0?Na(o,u,f):(bu(u),o=io(o,u,f),o!==null?o.sibling:null);bu(u);break;case 19:var w=(o.flags&128)!==0;if(v=(f&u.childLanes)!==0,v||(Ca(o,u,f,!1),v=(f&u.childLanes)!==0),w){if(v)return Cf(o,u,f);u.flags|=128}if(w=u.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),ce(fr,fr.current),v)break;return null;case 22:return u.lanes=0,uc(o,u,f,u.pendingProps);case 24:Cl(u,Ur,o.memoizedState.cache)}return io(o,u,f)}function Ay(o,u,f){if(o!==null)if(o.memoizedProps!==u.pendingProps)dr=!0;else{if(!Rh(o,f)&&(u.flags&128)===0)return dr=!1,mv(o,u,f);dr=(o.flags&131072)!==0}else dr=!1,un&&(u.flags&1048576)!==0&&Fp(u,fn,u.index);switch(u.lanes=0,u.tag){case 16:e:{var v=u.pendingProps;if(o=ni(u.elementType),u.type=o,typeof o=="function")_o(o)?(v=Qa(o,v),u.tag=1,u=pv(null,u,o,v,f)):(u.tag=0,u=Eh(null,u,o,v,f));else{if(o!=null){var w=o.$$typeof;if(w===Y){u.tag=11,u=Rt(null,u,o,v,f);break e}else if(w===K){u.tag=14,u=Dd(null,u,o,v,f);break e}}throw u=ae(o)||o,Error(l(306,u,""))}}return u;case 0:return Eh(o,u,u.type,u.pendingProps,f);case 1:return v=u.type,w=Qa(v,u.pendingProps),pv(o,u,v,w,f);case 3:e:{if(Je(u,u.stateNode.containerInfo),o===null)throw Error(l(387));v=u.pendingProps;var _=u.memoizedState;w=_.element,Jp(o,u),Li(u,v,null,f);var z=u.memoizedState;if(v=z.cache,Cl(u,Ur,v),v!==_.cache&&vu(u,[Ur],f,!0),gu(),v=z.element,_.isDehydrated)if(_={element:v,isDehydrated:!1,cache:z.cache},u.updateQueue.baseState=_,u.memoizedState=_,u.flags&256){u=ki(o,u,v,f);break e}else if(v!==w){w=Jl(Error(l(424)),u),Wu(w),u=ki(o,u,v,f);break e}else{switch(o=u.stateNode.containerInfo,o.nodeType){case 9:o=o.body;break;default:o=o.nodeName==="HTML"?o.ownerDocument.body:o}for(_n=ql(o.firstChild),kr=u,un=!0,du=null,la=!0,f=Zm(u,null,v,f),u.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling}else{if(ee(),v===w){u=io(o,u,f);break e}$n(o,u,v,f)}u=u.child}return u;case 26:return zo(o,u),o===null?(f=Wd(u.type,null,u.pendingProps,null))?u.memoizedState=f:un||(f=u.type,o=u.pendingProps,v=fs(Ke.current).createElement(f),v[kn]=u,v[gl]=o,qa(v,f,o),Mn(v),u.stateNode=v):u.memoizedState=Wd(u.type,o.memoizedProps,u.pendingProps,o.memoizedState),null;case 27:return ke(u),o===null&&un&&(v=u.stateNode=Zd(u.type,u.pendingProps,Ke.current),kr=u,la=!0,w=_n,At(u.type)?(Fh=w,_n=ql(v.firstChild)):_n=w),$n(o,u,u.pendingProps.children,f),zo(o,u),o===null&&(u.flags|=4194304),u.child;case 5:return o===null&&un&&((w=v=_n)&&(v=mx(v,u.type,u.pendingProps,la),v!==null?(u.stateNode=v,kr=u,_n=ql(v.firstChild),la=!1,w=!0):w=!1),w||ti(u)),ke(u),w=u.type,_=u.pendingProps,z=o!==null?o.memoizedProps:null,v=_.children,Hi(w,_)?v=null:z!==null&&Hi(w,z)&&(u.flags|=32),u.memoizedState!==null&&(w=Sd(o,u,dx,null,null,f),ep._currentValue=w),zo(o,u),$n(o,u,v,f),u.child;case 6:return o===null&&un&&((o=f=_n)&&(f=ht(f,u.pendingProps,la),f!==null?(u.stateNode=f,kr=u,_n=null,o=!0):o=!1),o||ti(u)),null;case 13:return Na(o,u,f);case 4:return Je(u,u.stateNode.containerInfo),v=u.pendingProps,o===null?u.child=Ju(u,null,v,f):$n(o,u,v,f),u.child;case 11:return Rt(o,u,u.type,u.pendingProps,f);case 7:return $n(o,u,u.pendingProps,f),u.child;case 8:return $n(o,u,u.pendingProps.children,f),u.child;case 12:return $n(o,u,u.pendingProps.children,f),u.child;case 10:return v=u.pendingProps,Cl(u,u.type,v.value),$n(o,u,v.children,f),u.child;case 9:return w=u.type._context,v=u.pendingProps.children,zt(u),w=et(w),v=v(w),u.flags|=1,$n(o,u,v,f),u.child;case 14:return Dd(o,u,u.type,u.pendingProps,f);case 15:return xh(o,u,u.type,u.pendingProps,f);case 19:return Cf(o,u,f);case 31:return w0(o,u,f);case 22:return uc(o,u,f,u.pendingProps);case 24:return zt(u),v=et(Ur),o===null?(w=No(),w===null&&(w=Hn,_=Mo(),w.pooledCache=_,_.refCount++,_!==null&&(w.pooledCacheLanes|=f),w=_),u.memoizedState={parent:v,cache:w},ai(u),Cl(u,Ur,w)):((o.lanes&f)!==0&&(Jp(o,u),Li(u,null,null,f),gu()),w=o.memoizedState,_=u.memoizedState,w.parent!==v?(w={parent:v,cache:v},u.memoizedState=w,u.lanes===0&&(u.memoizedState=u.updateQueue.baseState=w),Cl(u,Ur,v)):(v=_.cache,Cl(u,Ur,v),v!==w.cache&&vu(u,[Ur],f,!0))),$n(o,u,u.pendingProps.children,f),u.child;case 29:throw u.pendingProps}throw Error(l(156,u.tag))}function Tu(o){o.flags|=4}function Dy(o,u,f,v,w){if((u=(o.mode&32)!==0)&&(u=!1),u){if(o.flags|=16777216,(w&335544128)===w)if(o.stateNode.complete)o.flags|=8192;else if(Ph())o.flags|=8192;else throw qi=df,Xs}else o.flags&=-16777217}function vv(o,u){if(u.type!=="stylesheet"||(u.state.loading&4)!==0)o.flags&=-16777217;else if(o.flags|=16777216,!mo(u))if(Ph())o.flags|=8192;else throw qi=df,Xs}function $a(o,u){u!==null&&(o.flags|=4),o.flags&16384&&(u=o.tag!==22?lt():536870912,o.lanes|=u,Cr|=u)}function Od(o,u){if(!un)switch(o.tailMode){case"hidden":u=o.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?o.tail=null:f.sibling=null;break;case"collapsed":f=o.tail;for(var v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?u||o.tail===null?o.tail=null:o.tail.sibling=null:v.sibling=null}}function $t(o){var u=o.alternate!==null&&o.alternate.child===o.child,f=0,v=0;if(u)for(var w=o.child;w!==null;)f|=w.lanes|w.childLanes,v|=w.subtreeFlags&65011712,v|=w.flags&65011712,w.return=o,w=w.sibling;else for(w=o.child;w!==null;)f|=w.lanes|w.childLanes,v|=w.subtreeFlags,v|=w.flags,w.return=o,w=w.sibling;return o.subtreeFlags|=v,o.childLanes=f,u}function My(o,u,f){var v=u.pendingProps;switch(Vs(u),u.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $t(u),null;case 1:return $t(u),null;case 3:return f=u.stateNode,v=null,o!==null&&(v=o.memoizedState.cache),u.memoizedState.cache!==v&&(u.flags|=2048),Pi(Ur),ie(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(o===null||o.child===null)&&(Ni(u)?Tu(u):o===null||o.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,Ks())),$t(u),null;case 26:var w=u.type,_=u.memoizedState;return o===null?(Tu(u),_!==null?($t(u),vv(u,_)):($t(u),Dy(u,w,null,v,f))):_?_!==o.memoizedState?(Tu(u),$t(u),vv(u,_)):($t(u),u.flags&=-16777217):(o=o.memoizedProps,o!==v&&Tu(u),$t(u),Dy(u,w,o,v,f)),null;case 27:if(Ee(u),f=Ke.current,w=u.type,o!==null&&u.stateNode!=null)o.memoizedProps!==v&&Tu(u);else{if(!v){if(u.stateNode===null)throw Error(l(166));return $t(u),null}o=De.current,Ni(u)?Fs(u):(o=Zd(w,v,f),u.stateNode=o,Tu(u))}return $t(u),null;case 5:if(Ee(u),w=u.type,o!==null&&u.stateNode!=null)o.memoizedProps!==v&&Tu(u);else{if(!v){if(u.stateNode===null)throw Error(l(166));return $t(u),null}if(_=De.current,Ni(u))Fs(u);else{var z=fs(Ke.current);switch(_){case 1:_=z.createElementNS("http://www.w3.org/2000/svg",w);break;case 2:_=z.createElementNS("http://www.w3.org/1998/Math/MathML",w);break;default:switch(w){case"svg":_=z.createElementNS("http://www.w3.org/2000/svg",w);break;case"math":_=z.createElementNS("http://www.w3.org/1998/Math/MathML",w);break;case"script":_=z.createElement("div"),_.innerHTML="<script><\/script>",_=_.removeChild(_.firstChild);break;case"select":_=typeof v.is=="string"?z.createElement("select",{is:v.is}):z.createElement("select"),v.multiple?_.multiple=!0:v.size&&(_.size=v.size);break;default:_=typeof v.is=="string"?z.createElement(w,{is:v.is}):z.createElement(w)}}_[kn]=u,_[gl]=v;e:for(z=u.child;z!==null;){if(z.tag===5||z.tag===6)_.appendChild(z.stateNode);else if(z.tag!==4&&z.tag!==27&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===u)break e;for(;z.sibling===null;){if(z.return===null||z.return===u)break e;z=z.return}z.sibling.return=z.return,z=z.sibling}u.stateNode=_;e:switch(qa(_,w,v),w){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}v&&Tu(u)}}return $t(u),Dy(u,u.type,o===null?null:o.memoizedProps,u.pendingProps,f),null;case 6:if(o&&u.stateNode!=null)o.memoizedProps!==v&&Tu(u);else{if(typeof v!="string"&&u.stateNode===null)throw Error(l(166));if(o=Ke.current,Ni(u)){if(o=u.stateNode,f=u.memoizedProps,v=null,w=kr,w!==null)switch(w.tag){case 27:case 5:v=w.memoizedProps}o[kn]=u,o=!!(o.nodeValue===f||v!==null&&v.suppressHydrationWarning===!0||rb(o.nodeValue,f)),o||ti(u,!0)}else o=fs(o).createTextNode(v),o[kn]=u,u.stateNode=o}return $t(u),null;case 31:if(f=u.memoizedState,o===null||o.memoizedState!==null){if(v=Ni(u),f!==null){if(o===null){if(!v)throw Error(l(318));if(o=u.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(557));o[kn]=u}else ee(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;$t(u),o=!1}else f=Ks(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=f),o=!0;if(!o)return u.flags&256?(Xa(u),u):(Xa(u),null);if((u.flags&128)!==0)throw Error(l(558))}return $t(u),null;case 13:if(v=u.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(w=Ni(u),v!==null&&v.dehydrated!==null){if(o===null){if(!w)throw Error(l(318));if(w=u.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(l(317));w[kn]=u}else ee(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;$t(u),w=!1}else w=Ks(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=w),w=!0;if(!w)return u.flags&256?(Xa(u),u):(Xa(u),null)}return Xa(u),(u.flags&128)!==0?(u.lanes=f,u):(f=v!==null,o=o!==null&&o.memoizedState!==null,f&&(v=u.child,w=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(w=v.alternate.memoizedState.cachePool.pool),_=null,v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(_=v.memoizedState.cachePool.pool),_!==w&&(v.flags|=2048)),f!==o&&f&&(u.child.flags|=8192),$a(u,u.updateQueue),$t(u),null);case 4:return ie(),o===null&&Kd(u.stateNode.containerInfo),$t(u),null;case 10:return Pi(u.type),$t(u),null;case 19:if(ue(fr),v=u.memoizedState,v===null)return $t(u),null;if(w=(u.flags&128)!==0,_=v.rendering,_===null)if(w)Od(v,!1);else{if(Xn!==0||o!==null&&(o.flags&128)!==0)for(o=u.child;o!==null;){if(_=Ed(o),_!==null){for(u.flags|=128,Od(v,!1),o=_.updateQueue,u.updateQueue=o,$a(u,o),u.subtreeFlags=0,o=f,f=u.child;f!==null;)cy(f,o),f=f.sibling;return ce(fr,fr.current&1|2),un&&Ka(u,v.treeForkCount),u.child}o=o.sibling}v.tail!==null&&rt()>hn&&(u.flags|=128,w=!0,Od(v,!1),u.lanes=4194304)}else{if(!w)if(o=Ed(_),o!==null){if(u.flags|=128,w=!0,o=o.updateQueue,u.updateQueue=o,$a(u,o),Od(v,!0),v.tail===null&&v.tailMode==="hidden"&&!_.alternate&&!un)return $t(u),null}else 2*rt()-v.renderingStartTime>hn&&f!==536870912&&(u.flags|=128,w=!0,Od(v,!1),u.lanes=4194304);v.isBackwards?(_.sibling=u.child,u.child=_):(o=v.last,o!==null?o.sibling=_:u.child=_,v.last=_)}return v.tail!==null?(o=v.tail,v.rendering=o,v.tail=o.sibling,v.renderingStartTime=rt(),o.sibling=null,f=fr.current,ce(fr,w?f&1|2:f&1),un&&Ka(u,v.treeForkCount),o):($t(u),null);case 22:case 23:return Xa(u),Ws(),v=u.memoizedState!==null,o!==null?o.memoizedState!==null!==v&&(u.flags|=8192):v&&(u.flags|=8192),v?(f&536870912)!==0&&(u.flags&128)===0&&($t(u),u.subtreeFlags&6&&(u.flags|=8192)):$t(u),f=u.updateQueue,f!==null&&$a(u,f.retryQueue),f=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),v=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(v=u.memoizedState.cachePool.pool),v!==f&&(u.flags|=2048),o!==null&&ue(Oo),null;case 24:return f=null,o!==null&&(f=o.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),Pi(Ur),$t(u),null;case 25:return null;case 30:return null}throw Error(l(156,u.tag))}function Nd(o,u){switch(Vs(u),u.tag){case 1:return o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 3:return Pi(Ur),ie(),o=u.flags,(o&65536)!==0&&(o&128)===0?(u.flags=o&-65537|128,u):null;case 26:case 27:case 5:return Ee(u),null;case 31:if(u.memoizedState!==null){if(Xa(u),u.alternate===null)throw Error(l(340));ee()}return o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 13:if(Xa(u),o=u.memoizedState,o!==null&&o.dehydrated!==null){if(u.alternate===null)throw Error(l(340));ee()}return o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 19:return ue(fr),null;case 4:return ie(),null;case 10:return Pi(u.type),null;case 22:case 23:return Xa(u),Ws(),o!==null&&ue(Oo),o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 24:return Pi(Ur),null;case 25:return null;default:return null}}function gv(o,u){switch(Vs(u),u.tag){case 3:Pi(Ur),ie();break;case 26:case 27:case 5:Ee(u);break;case 4:ie();break;case 31:u.memoizedState!==null&&Xa(u);break;case 13:Xa(u);break;case 19:ue(fr);break;case 10:Pi(u.type);break;case 22:case 23:Xa(u),Ws(),o!==null&&ue(Oo);break;case 24:Pi(Ur)}}function Bo(o,u){try{var f=u.updateQueue,v=f!==null?f.lastEffect:null;if(v!==null){var w=v.next;f=w;do{if((f.tag&o)===o){v=void 0;var _=f.create,z=f.inst;v=_(),z.destroy=v}f=f.next}while(f!==w)}}catch(J){Ln(u,u.return,J)}}function uo(o,u,f){try{var v=u.updateQueue,w=v!==null?v.lastEffect:null;if(w!==null){var _=w.next;v=_;do{if((v.tag&o)===o){var z=v.inst,J=z.destroy;if(J!==void 0){z.destroy=void 0,w=u;var ge=f,qe=J;try{qe()}catch(Ye){Ln(w,ge,Ye)}}}v=v.next}while(v!==_)}}catch(Ye){Ln(u,u.return,Ye)}}function wf(o){var u=o.updateQueue;if(u!==null){var f=o.stateNode;try{yu(u,f)}catch(v){Ln(o,o.return,v)}}}function as(o,u,f){f.props=Qa(o.type,o.memoizedProps),f.state=o.memoizedState;try{f.componentWillUnmount()}catch(v){Ln(o,u,v)}}function ca(o,u){try{var f=o.ref;if(f!==null){switch(o.tag){case 26:case 27:case 5:var v=o.stateNode;break;case 30:v=o.stateNode;break;default:v=o.stateNode}typeof f=="function"?o.refCleanup=f(v):f.current=v}}catch(w){Ln(o,u,w)}}function Pa(o,u){var f=o.ref,v=o.refCleanup;if(f!==null)if(typeof v=="function")try{v()}catch(w){Ln(o,u,w)}finally{o.refCleanup=null,o=o.alternate,o!=null&&(o.refCleanup=null)}else if(typeof f=="function")try{f(null)}catch(w){Ln(o,u,w)}else f.current=null}function Oy(o){var u=o.type,f=o.memoizedProps,v=o.stateNode;try{e:switch(u){case"button":case"input":case"select":case"textarea":f.autoFocus&&v.focus();break e;case"img":f.src?v.src=f.src:f.srcSet&&(v.srcset=f.srcSet)}}catch(w){Ln(o,o.return,w)}}function Th(o,u,f){try{var v=o.stateNode;lb(v,o.type,f,u),v[gl]=u}catch(w){Ln(o,o.return,w)}}function Ny(o){return o.tag===5||o.tag===3||o.tag===26||o.tag===27&&At(o.type)||o.tag===4}function $d(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Ny(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&&At(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 Pd(o,u,f){var v=o.tag;if(v===5||v===6)o=o.stateNode,u?(f.nodeType===9?f.body:f.nodeName==="HTML"?f.ownerDocument.body:f).insertBefore(o,u):(u=f.nodeType===9?f.body:f.nodeName==="HTML"?f.ownerDocument.body:f,u.appendChild(o),f=f._reactRootContainer,f!=null||u.onclick!==null||(u.onclick=Ei));else if(v!==4&&(v===27&&At(o.type)&&(f=o.stateNode,u=null),o=o.child,o!==null))for(Pd(o,u,f),o=o.sibling;o!==null;)Pd(o,u,f),o=o.sibling}function qd(o,u,f){var v=o.tag;if(v===5||v===6)o=o.stateNode,u?f.insertBefore(o,u):f.appendChild(o);else if(v!==4&&(v===27&&At(o.type)&&(f=o.stateNode),o=o.child,o!==null))for(qd(o,u,f),o=o.sibling;o!==null;)qd(o,u,f),o=o.sibling}function $y(o){var u=o.stateNode,f=o.memoizedProps;try{for(var v=o.type,w=u.attributes;w.length;)u.removeAttributeNode(w[0]);qa(u,v,f),u[kn]=o,u[gl]=f}catch(_){Ln(o,o.return,_)}}var ls=!1,Qr=!1,yv=!1,Py=typeof WeakSet=="function"?WeakSet:Set,wa=null;function Ld(o,u){if(o=o.containerInfo,Yd=pa,o=Is(o),Hp(o)){if("selectionStart"in o)var f={start:o.selectionStart,end:o.selectionEnd};else e:{f=(f=o.ownerDocument)&&f.defaultView||window;var v=f.getSelection&&f.getSelection();if(v&&v.rangeCount!==0){f=v.anchorNode;var w=v.anchorOffset,_=v.focusNode;v=v.focusOffset;try{f.nodeType,_.nodeType}catch{f=null;break e}var z=0,J=-1,ge=-1,qe=0,Ye=0,We=o,Le=null;t:for(;;){for(var He;We!==f||w!==0&&We.nodeType!==3||(J=z+w),We!==_||v!==0&&We.nodeType!==3||(ge=z+v),We.nodeType===3&&(z+=We.nodeValue.length),(He=We.firstChild)!==null;)Le=We,We=He;for(;;){if(We===o)break t;if(Le===f&&++qe===w&&(J=z),Le===_&&++Ye===v&&(ge=z),(He=We.nextSibling)!==null)break;We=Le,Le=We.parentNode}We=He}f=J===-1||ge===-1?null:{start:J,end:ge}}else f=null}f=f||{start:0,end:0}}else f=null;for(jv={focusedElem:o,selectionRange:f},pa=!1,wa=u;wa!==null;)if(u=wa,o=u.child,(u.subtreeFlags&1028)!==0&&o!==null)o.return=u,wa=o;else for(;wa!==null;){switch(u=wa,_=u.alternate,o=u.flags,u.tag){case 0:if((o&4)!==0&&(o=u.updateQueue,o=o!==null?o.events:null,o!==null))for(f=0;f<o.length;f++)w=o[f],w.ref.impl=w.nextImpl;break;case 11:case 15:break;case 1:if((o&1024)!==0&&_!==null){o=void 0,f=u,w=_.memoizedProps,_=_.memoizedState,v=f.stateNode;try{var mt=Qa(f.type,w);o=v.getSnapshotBeforeUpdate(mt,_),v.__reactInternalSnapshotBeforeUpdate=o}catch(Dt){Ln(f,f.return,Dt)}}break;case 3:if((o&1024)!==0){if(o=u.stateNode.containerInfo,f=o.nodeType,f===9)Xd(o);else if(f===1)switch(o.nodeName){case"HEAD":case"HTML":case"BODY":Xd(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=u.sibling,o!==null){o.return=u.return,wa=o;break}wa=u.return}}function jd(o,u,f){var v=f.flags;switch(f.tag){case 0:case 11:case 15:os(o,f),v&4&&Bo(5,f);break;case 1:if(os(o,f),v&4)if(o=f.stateNode,u===null)try{o.componentDidMount()}catch(z){Ln(f,f.return,z)}else{var w=Qa(f.type,u.memoizedProps);u=u.memoizedState;try{o.componentDidUpdate(w,u,o.__reactInternalSnapshotBeforeUpdate)}catch(z){Ln(f,f.return,z)}}v&64&&wf(f),v&512&&ca(f,f.return);break;case 3:if(os(o,f),v&64&&(o=f.updateQueue,o!==null)){if(u=null,f.child!==null)switch(f.child.tag){case 27:case 5:u=f.child.stateNode;break;case 1:u=f.child.stateNode}try{yu(o,u)}catch(z){Ln(f,f.return,z)}}break;case 27:u===null&&v&4&&$y(f);case 26:case 5:os(o,f),u===null&&v&4&&Oy(f),v&512&&ca(f,f.return);break;case 12:os(o,f);break;case 31:os(o,f),v&4&&Ly(o,f);break;case 13:os(o,f),v&4&&jy(o,f),v&64&&(o=f.memoizedState,o!==null&&(o=o.dehydrated,o!==null&&(f=Za.bind(null,f),Qd(o,f))));break;case 22:if(v=f.memoizedState!==null||ls,!v){u=u!==null&&u.memoizedState!==null||Qr,w=ls;var _=Qr;ls=v,(Qr=u)&&!_?ii(o,f,(f.subtreeFlags&8772)!==0):os(o,f),ls=w,Qr=_}break;case 30:break;default:os(o,f)}}function bv(o){var u=o.alternate;u!==null&&(o.alternate=null,bv(u)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(u=o.stateNode,u!==null&&zm(u)),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 Yn=null,Ml=!1;function _u(o,u,f){for(f=f.child;f!==null;)qy(o,u,f),f=f.sibling}function qy(o,u,f){if(Mr&&typeof Mr.onCommitFiberUnmount=="function")try{Mr.onCommitFiberUnmount(hl,f)}catch{}switch(f.tag){case 26:Qr||Pa(f,u),_u(o,u,f),f.memoizedState?f.memoizedState.count--:f.stateNode&&(f=f.stateNode,f.parentNode.removeChild(f));break;case 27:Qr||Pa(f,u);var v=Yn,w=Ml;At(f.type)&&(Yn=f.stateNode,Ml=!1),_u(o,u,f),Pf(f.stateNode),Yn=v,Ml=w;break;case 5:Qr||Pa(f,u);case 6:if(v=Yn,w=Ml,Yn=null,_u(o,u,f),Yn=v,Ml=w,Yn!==null)if(Ml)try{(Yn.nodeType===9?Yn.body:Yn.nodeName==="HTML"?Yn.ownerDocument.body:Yn).removeChild(f.stateNode)}catch(_){Ln(f,u,_)}else try{Yn.removeChild(f.stateNode)}catch(_){Ln(f,u,_)}break;case 18:Yn!==null&&(Ml?(o=Yn,Bv(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,f.stateNode),lp(o)):Bv(Yn,f.stateNode));break;case 4:v=Yn,w=Ml,Yn=f.stateNode.containerInfo,Ml=!0,_u(o,u,f),Yn=v,Ml=w;break;case 0:case 11:case 14:case 15:uo(2,f,u),Qr||uo(4,f,u),_u(o,u,f);break;case 1:Qr||(Pa(f,u),v=f.stateNode,typeof v.componentWillUnmount=="function"&&as(f,u,v)),_u(o,u,f);break;case 21:_u(o,u,f);break;case 22:Qr=(v=Qr)||f.memoizedState!==null,_u(o,u,f),Qr=v;break;default:_u(o,u,f)}}function Ly(o,u){if(u.memoizedState===null&&(o=u.alternate,o!==null&&(o=o.memoizedState,o!==null))){o=o.dehydrated;try{lp(o)}catch(f){Ln(u,u.return,f)}}}function jy(o,u){if(u.memoizedState===null&&(o=u.alternate,o!==null&&(o=o.memoizedState,o!==null&&(o=o.dehydrated,o!==null))))try{lp(o)}catch(f){Ln(u,u.return,f)}}function _h(o){switch(o.tag){case 31:case 13:case 19:var u=o.stateNode;return u===null&&(u=o.stateNode=new Py),u;case 22:return o=o.stateNode,u=o._retryCache,u===null&&(u=o._retryCache=new Py),u;default:throw Error(l(435,o.tag))}}function Ah(o,u){var f=_h(o);u.forEach(function(v){if(!f.has(v)){f.add(v);var w=q0.bind(null,o,v);v.then(w,w)}})}function Ol(o,u){var f=u.deletions;if(f!==null)for(var v=0;v<f.length;v++){var w=f[v],_=o,z=u,J=z;e:for(;J!==null;){switch(J.tag){case 27:if(At(J.type)){Yn=J.stateNode,Ml=!1;break e}break;case 5:Yn=J.stateNode,Ml=!1;break e;case 3:case 4:Yn=J.stateNode.containerInfo,Ml=!0;break e}J=J.return}if(Yn===null)throw Error(l(160));qy(_,z,w),Yn=null,Ml=!1,_=w.alternate,_!==null&&(_.return=null),w.return=null}if(u.subtreeFlags&13886)for(u=u.child;u!==null;)xv(u,o),u=u.sibling}var Qt=null;function xv(o,u){var f=o.alternate,v=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:Ol(u,o),or(o),v&4&&(uo(3,o,o.return),Bo(3,o),uo(5,o,o.return));break;case 1:Ol(u,o),or(o),v&512&&(Qr||f===null||Pa(f,f.return)),v&64&&ls&&(o=o.updateQueue,o!==null&&(v=o.callbacks,v!==null&&(f=o.shared.hiddenCallbacks,o.shared.hiddenCallbacks=f===null?v:f.concat(v))));break;case 26:var w=Qt;if(Ol(u,o),or(o),v&512&&(Qr||f===null||Pa(f,f.return)),v&4){var _=f!==null?f.memoizedState:null;if(v=o.memoizedState,f===null)if(v===null)if(o.stateNode===null){e:{v=o.type,f=o.memoizedProps,w=w.ownerDocument||w;t:switch(v){case"title":_=w.getElementsByTagName("title")[0],(!_||_[au]||_[kn]||_.namespaceURI==="http://www.w3.org/2000/svg"||_.hasAttribute("itemprop"))&&(_=w.createElement(v),w.head.insertBefore(_,w.querySelector("head > title"))),qa(_,v,f),_[kn]=o,Mn(_),v=_;break e;case"link":var z=sb("link","href",w).get(v+(f.href||""));if(z){for(var J=0;J<z.length;J++)if(_=z[J],_.getAttribute("href")===(f.href==null||f.href===""?null:f.href)&&_.getAttribute("rel")===(f.rel==null?null:f.rel)&&_.getAttribute("title")===(f.title==null?null:f.title)&&_.getAttribute("crossorigin")===(f.crossOrigin==null?null:f.crossOrigin)){z.splice(J,1);break t}}_=w.createElement(v),qa(_,v,f),w.head.appendChild(_);break;case"meta":if(z=sb("meta","content",w).get(v+(f.content||""))){for(J=0;J<z.length;J++)if(_=z[J],_.getAttribute("content")===(f.content==null?null:""+f.content)&&_.getAttribute("name")===(f.name==null?null:f.name)&&_.getAttribute("property")===(f.property==null?null:f.property)&&_.getAttribute("http-equiv")===(f.httpEquiv==null?null:f.httpEquiv)&&_.getAttribute("charset")===(f.charSet==null?null:f.charSet)){z.splice(J,1);break t}}_=w.createElement(v),qa(_,v,f),w.head.appendChild(_);break;default:throw Error(l(468,v))}_[kn]=o,Mn(_),v=_}o.stateNode=v}else Iv(w,o.type,o.stateNode);else o.stateNode=ub(w,v,o.memoizedProps);else _!==v?(_===null?f.stateNode!==null&&(f=f.stateNode,f.parentNode.removeChild(f)):_.count--,v===null?Iv(w,o.type,o.stateNode):ub(w,v,o.memoizedProps)):v===null&&o.stateNode!==null&&Th(o,o.memoizedProps,f.memoizedProps)}break;case 27:Ol(u,o),or(o),v&512&&(Qr||f===null||Pa(f,f.return)),f!==null&&v&4&&Th(o,o.memoizedProps,f.memoizedProps);break;case 5:if(Ol(u,o),or(o),v&512&&(Qr||f===null||Pa(f,f.return)),o.flags&32){w=o.stateNode;try{yl(w,"")}catch(mt){Ln(o,o.return,mt)}}v&4&&o.stateNode!=null&&(w=o.memoizedProps,Th(o,w,f!==null?f.memoizedProps:w)),v&1024&&(yv=!0);break;case 6:if(Ol(u,o),or(o),v&4){if(o.stateNode===null)throw Error(l(162));v=o.memoizedProps,f=o.stateNode;try{f.nodeValue=v}catch(mt){Ln(o,o.return,mt)}}break;case 3:if(jf=null,w=Qt,Qt=Ja(u.containerInfo),Ol(u,o),Qt=w,or(o),v&4&&f!==null&&f.memoizedState.isDehydrated)try{lp(u.containerInfo)}catch(mt){Ln(o,o.return,mt)}yv&&(yv=!1,zy(o));break;case 4:v=Qt,Qt=Ja(o.stateNode.containerInfo),Ol(u,o),or(o),Qt=v;break;case 12:Ol(u,o),or(o);break;case 31:Ol(u,o),or(o),v&4&&(v=o.updateQueue,v!==null&&(o.updateQueue=null,Ah(o,v)));break;case 13:Ol(u,o),or(o),o.child.flags&8192&&o.memoizedState!==null!=(f!==null&&f.memoizedState!==null)&&(si=rt()),v&4&&(v=o.updateQueue,v!==null&&(o.updateQueue=null,Ah(o,v)));break;case 22:w=o.memoizedState!==null;var ge=f!==null&&f.memoizedState!==null,qe=ls,Ye=Qr;if(ls=qe||w,Qr=Ye||ge,Ol(u,o),Qr=Ye,ls=qe,or(o),v&8192)e:for(u=o.stateNode,u._visibility=w?u._visibility&-2:u._visibility|1,w&&(f===null||ge||ls||Qr||Rf(o)),f=null,u=o;;){if(u.tag===5||u.tag===26){if(f===null){ge=f=u;try{if(_=ge.stateNode,w)z=_.style,typeof z.setProperty=="function"?z.setProperty("display","none","important"):z.display="none";else{J=ge.stateNode;var We=ge.memoizedProps.style,Le=We!=null&&We.hasOwnProperty("display")?We.display:null;J.style.display=Le==null||typeof Le=="boolean"?"":(""+Le).trim()}}catch(mt){Ln(ge,ge.return,mt)}}}else if(u.tag===6){if(f===null){ge=u;try{ge.stateNode.nodeValue=w?"":ge.memoizedProps}catch(mt){Ln(ge,ge.return,mt)}}}else if(u.tag===18){if(f===null){ge=u;try{var He=ge.stateNode;w?Cn(He,!0):Cn(ge.stateNode,!1)}catch(mt){Ln(ge,ge.return,mt)}}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===o)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===o)break e;for(;u.sibling===null;){if(u.return===null||u.return===o)break e;f===u&&(f=null),u=u.return}f===u&&(f=null),u.sibling.return=u.return,u=u.sibling}v&4&&(v=o.updateQueue,v!==null&&(f=v.retryQueue,f!==null&&(v.retryQueue=null,Ah(o,f))));break;case 19:Ol(u,o),or(o),v&4&&(v=o.updateQueue,v!==null&&(o.updateQueue=null,Ah(o,v)));break;case 30:break;case 21:break;default:Ol(u,o),or(o)}}function or(o){var u=o.flags;if(u&2){try{for(var f,v=o.return;v!==null;){if(Ny(v)){f=v;break}v=v.return}if(f==null)throw Error(l(160));switch(f.tag){case 27:var w=f.stateNode,_=$d(o);qd(o,_,w);break;case 5:var z=f.stateNode;f.flags&32&&(yl(z,""),f.flags&=-33);var J=$d(o);qd(o,J,z);break;case 3:case 4:var ge=f.stateNode.containerInfo,qe=$d(o);Pd(o,qe,ge);break;default:throw Error(l(161))}}catch(Ye){Ln(o,o.return,Ye)}o.flags&=-3}u&4096&&(o.flags&=-4097)}function zy(o){if(o.subtreeFlags&1024)for(o=o.child;o!==null;){var u=o;zy(u),u.tag===5&&u.flags&1024&&u.stateNode.reset(),o=o.sibling}}function os(o,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)jd(o,u.alternate,u),u=u.sibling}function Rf(o){for(o=o.child;o!==null;){var u=o;switch(u.tag){case 0:case 11:case 14:case 15:uo(4,u,u.return),Rf(u);break;case 1:Pa(u,u.return);var f=u.stateNode;typeof f.componentWillUnmount=="function"&&as(u,u.return,f),Rf(u);break;case 27:Pf(u.stateNode);case 26:case 5:Pa(u,u.return),Rf(u);break;case 22:u.memoizedState===null&&Rf(u);break;case 30:Rf(u);break;default:Rf(u)}o=o.sibling}}function ii(o,u,f){for(f=f&&(u.subtreeFlags&8772)!==0,u=u.child;u!==null;){var v=u.alternate,w=o,_=u,z=_.flags;switch(_.tag){case 0:case 11:case 15:ii(w,_,f),Bo(4,_);break;case 1:if(ii(w,_,f),v=_,w=v.stateNode,typeof w.componentDidMount=="function")try{w.componentDidMount()}catch(qe){Ln(v,v.return,qe)}if(v=_,w=v.updateQueue,w!==null){var J=v.stateNode;try{var ge=w.shared.hiddenCallbacks;if(ge!==null)for(w.shared.hiddenCallbacks=null,w=0;w<ge.length;w++)Po(ge[w],J)}catch(qe){Ln(v,v.return,qe)}}f&&z&64&&wf(_),ca(_,_.return);break;case 27:$y(_);case 26:case 5:ii(w,_,f),f&&v===null&&z&4&&Oy(_),ca(_,_.return);break;case 12:ii(w,_,f);break;case 31:ii(w,_,f),f&&z&4&&Ly(w,_);break;case 13:ii(w,_,f),f&&z&4&&jy(w,_);break;case 22:_.memoizedState===null&&ii(w,_,f),ca(_,_.return);break;case 30:break;default:ii(w,_,f)}u=u.sibling}}function Ev(o,u){var f=null;o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),o=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(o=u.memoizedState.cachePool.pool),o!==f&&(o!=null&&o.refCount++,f!=null&&Gp(f))}function Sv(o,u){o=null,u.alternate!==null&&(o=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==o&&(u.refCount++,o!=null&&Gp(o))}function ui(o,u,f,v){if(u.subtreeFlags&10256)for(u=u.child;u!==null;)zd(o,u,f,v),u=u.sibling}function zd(o,u,f,v){var w=u.flags;switch(u.tag){case 0:case 11:case 15:ui(o,u,f,v),w&2048&&Bo(9,u);break;case 1:ui(o,u,f,v);break;case 3:ui(o,u,f,v),w&2048&&(o=null,u.alternate!==null&&(o=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==o&&(u.refCount++,o!=null&&Gp(o)));break;case 12:if(w&2048){ui(o,u,f,v),o=u.stateNode;try{var _=u.memoizedProps,z=_.id,J=_.onPostCommit;typeof J=="function"&&J(z,u.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(ge){Ln(u,u.return,ge)}}else ui(o,u,f,v);break;case 31:ui(o,u,f,v);break;case 13:ui(o,u,f,v);break;case 23:break;case 22:_=u.stateNode,z=u.alternate,u.memoizedState!==null?_._visibility&2?ui(o,u,f,v):Dh(o,u):_._visibility&2?ui(o,u,f,v):(_._visibility|=2,fc(o,u,f,v,(u.subtreeFlags&10256)!==0||!1)),w&2048&&Ev(z,u);break;case 24:ui(o,u,f,v),w&2048&&Sv(u.alternate,u);break;default:ui(o,u,f,v)}}function fc(o,u,f,v,w){for(w=w&&((u.subtreeFlags&10256)!==0||!1),u=u.child;u!==null;){var _=o,z=u,J=f,ge=v,qe=z.flags;switch(z.tag){case 0:case 11:case 15:fc(_,z,J,ge,w),Bo(8,z);break;case 23:break;case 22:var Ye=z.stateNode;z.memoizedState!==null?Ye._visibility&2?fc(_,z,J,ge,w):Dh(_,z):(Ye._visibility|=2,fc(_,z,J,ge,w)),w&&qe&2048&&Ev(z.alternate,z);break;case 24:fc(_,z,J,ge,w),w&&qe&2048&&Sv(z.alternate,z);break;default:fc(_,z,J,ge,w)}u=u.sibling}}function Dh(o,u){if(u.subtreeFlags&10256)for(u=u.child;u!==null;){var f=o,v=u,w=v.flags;switch(v.tag){case 22:Dh(f,v),w&2048&&Ev(v.alternate,v);break;case 24:Dh(f,v),w&2048&&Sv(v.alternate,v);break;default:Dh(f,v)}u=u.sibling}}var so=8192;function Au(o,u,f){if(o.subtreeFlags&so)for(o=o.child;o!==null;)R0(o,u,f),o=o.sibling}function R0(o,u,f){switch(o.tag){case 26:Au(o,u,f),o.flags&so&&o.memoizedState!==null&&Ll(f,Qt,o.memoizedState,o.memoizedProps);break;case 5:Au(o,u,f);break;case 3:case 4:var v=Qt;Qt=Ja(o.stateNode.containerInfo),Au(o,u,f),Qt=v;break;case 22:o.memoizedState===null&&(v=o.alternate,v!==null&&v.memoizedState!==null?(v=so,so=16777216,Au(o,u,f),so=v):Au(o,u,f));break;default:Au(o,u,f)}}function Cv(o){var u=o.alternate;if(u!==null&&(o=u.child,o!==null)){u.child=null;do u=o.sibling,o.sibling=null,o=u;while(o!==null)}}function Bd(o){var u=o.deletions;if((o.flags&16)!==0){if(u!==null)for(var f=0;f<u.length;f++){var v=u[f];wa=v,wv(v,o)}Cv(o)}if(o.subtreeFlags&10256)for(o=o.child;o!==null;)By(o),o=o.sibling}function By(o){switch(o.tag){case 0:case 11:case 15:Bd(o),o.flags&2048&&uo(9,o,o.return);break;case 3:Bd(o);break;case 12:Bd(o);break;case 22:var u=o.stateNode;o.memoizedState!==null&&u._visibility&2&&(o.return===null||o.return.tag!==13)?(u._visibility&=-3,Mh(o)):Bd(o);break;default:Bd(o)}}function Mh(o){var u=o.deletions;if((o.flags&16)!==0){if(u!==null)for(var f=0;f<u.length;f++){var v=u[f];wa=v,wv(v,o)}Cv(o)}for(o=o.child;o!==null;){switch(u=o,u.tag){case 0:case 11:case 15:uo(8,u,u.return),Mh(u);break;case 22:f=u.stateNode,f._visibility&2&&(f._visibility&=-3,Mh(u));break;default:Mh(u)}o=o.sibling}}function wv(o,u){for(;wa!==null;){var f=wa;switch(f.tag){case 0:case 11:case 15:uo(8,f,u);break;case 23:case 22:if(f.memoizedState!==null&&f.memoizedState.cachePool!==null){var v=f.memoizedState.cachePool.pool;v!=null&&v.refCount++}break;case 24:Gp(f.memoizedState.cache)}if(v=f.child,v!==null)v.return=f,wa=v;else e:for(f=o;wa!==null;){v=wa;var w=v.sibling,_=v.return;if(bv(v),v===f){wa=null;break e}if(w!==null){w.return=_,wa=w;break e}wa=_}}}var T0={getCacheForType:function(o){var u=et(Ur),f=u.data.get(o);return f===void 0&&(f=o(),u.data.set(o,f)),f},cacheSignal:function(){return et(Ur).controller.signal}},ky=typeof WeakMap=="function"?WeakMap:Map,Sn=0,Hn=null,sn=null,en=0,qn=0,Pt=null,Du=!1,dc=!1,Rv=!1,ko=0,Xn=0,Ui=0,Tf=0,Tv=0,Nl=0,Cr=0,Oh=null,wr=null,_v=!1,si=0,Uy=0,hn=1/0,kd=null,pr=null,fa=0,is=null,pc=null,Mu=0,co=0,Av=null,Dv=null,Ud=0,Nh=null;function fo(){return(Sn&2)!==0&&en!==0?en&-en:B.T!==null?po():jm()}function _0(){if(Nl===0)if((en&536870912)===0||un){var o=Kl;Kl<<=1,(Kl&3932160)===0&&(Kl=262144),Nl=o}else Nl=536870912;return o=Rl.current,o!==null&&(o.flags|=32),Nl}function $l(o,u,f){(o===Hn&&(qn===2||qn===9)||o.cancelPendingCommit!==null)&&(Nu(o,0),Ou(o,en,Nl,!1)),$s(o,f),((Sn&2)===0||o!==Hn)&&(o===Hn&&((Sn&2)===0&&(Tf|=f),Xn===4&&Ou(o,en,Nl,!1)),$u(o))}function A0(o,u,f){if((Sn&6)!==0)throw Error(l(327));var v=!f&&(u&127)===0&&(u&o.expiredLanes)===0||xo(o,u),w=v?O0(o,u):Ov(o,u,!0),_=v;do{if(w===0){dc&&!v&&Ou(o,u,0,!1);break}else{if(f=o.current.alternate,_&&!Iy(f)){w=Ov(o,u,!1),_=!1;continue}if(w===2){if(_=u,o.errorRecoveryDisabledLanes&_)var z=0;else z=o.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){u=z;e:{var J=o;w=Oh;var ge=J.current.memoizedState.isDehydrated;if(ge&&(Nu(J,z).flags|=256),z=Ov(J,z,!1),z!==2){if(Rv&&!ge){J.errorRecoveryDisabledLanes|=_,Tf|=_,w=4;break e}_=wr,wr=w,_!==null&&(wr===null?wr=_:wr.push.apply(wr,_))}w=z}if(_=!1,w!==2)continue}}if(w===1){Nu(o,0),Ou(o,u,0,!0);break}e:{switch(v=o,_=w,_){case 0:case 1:throw Error(l(345));case 4:if((u&4194048)!==u)break;case 6:Ou(v,u,Nl,!Du);break e;case 2:wr=null;break;case 3:case 5:break;default:throw Error(l(329))}if((u&62914560)===u&&(w=si+300-rt(),10<w)){if(Ou(v,u,Nl,!Du),xr(v,0,!0)!==0)break e;Mu=u,v.timeoutHandle=Vh($h.bind(null,v,f,wr,kd,_v,u,Nl,Tf,Cr,Du,_,"Throttled",-0,0),w);break e}$h(v,f,wr,kd,_v,u,Nl,Tf,Cr,Du,_,null,-0,0)}}break}while(!0);$u(o)}function $h(o,u,f,v,w,_,z,J,ge,qe,Ye,We,Le,He){if(o.timeoutHandle=-1,We=u.subtreeFlags,We&8192||(We&16785408)===16785408){We={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ei},R0(u,_,We);var mt=(_&62914560)===_?si-rt():(_&4194048)===_?Uy-rt():0;if(mt=fb(We,mt),mt!==null){Mu=_,o.cancelPendingCommit=mt(P0.bind(null,o,u,_,f,v,w,z,J,ge,Ye,We,null,Le,He)),Ou(o,_,z,!qe);return}}P0(o,u,_,f,v,w,z,J,ge)}function Iy(o){for(var u=o;;){var f=u.tag;if((f===0||f===11||f===15)&&u.flags&16384&&(f=u.updateQueue,f!==null&&(f=f.stores,f!==null)))for(var v=0;v<f.length;v++){var w=f[v],_=w.getSnapshot;w=w.value;try{if(!Wn(_(),w))return!1}catch{return!1}}if(f=u.child,u.subtreeFlags&16384&&f!==null)f.return=u,u=f;else{if(u===o)break;for(;u.sibling===null;){if(u.return===null||u.return===o)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function Ou(o,u,f,v){u&=~Tv,u&=~Tf,o.suspendedLanes|=u,o.pingedLanes&=~u,v&&(o.warmLanes|=u),v=o.expirationTimes;for(var w=u;0<w;){var _=31-Or(w),z=1<<_;v[_]=-1,w&=~z}f!==0&&Ic(o,f,u)}function Id(){return(Sn&6)===0?(ss(0),!1):!0}function Hy(){if(sn!==null){if(qn===0)var o=sn.return;else o=sn,$i=It=null,lh(o),Qs=null,wl=0,o=sn;for(;o!==null;)gv(o.alternate,o),o=o.return;sn=null}}function Nu(o,u){var f=o.timeoutHandle;f!==-1&&(o.timeoutHandle=-1,B0(f)),f=o.cancelPendingCommit,f!==null&&(o.cancelPendingCommit=null,f()),Mu=0,Hy(),Hn=o,sn=f=Jo(o.current,null),en=u,qn=0,Pt=null,Du=!1,dc=xo(o,u),Rv=!1,Cr=Nl=Tv=Tf=Ui=Xn=0,wr=Oh=null,_v=!1,(u&8)!==0&&(u|=u&32);var v=o.entangledLanes;if(v!==0)for(o=o.entanglements,v&=u;0<v;){var w=31-Or(v),_=1<<w;u|=o[w],v&=~_}return ko=u,Gr(),f}function Hd(o,u){Gt=null,B.H=oc,u===Ys||u===ff?(u=my(),qn=3):u===Xs?(u=my(),qn=4):qn=u===Ad?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,Pt=u,sn===null&&(Xn=1,Ef(o,Jl(u,o.current)))}function Ph(){var o=Rl.current;return o===null?!0:(en&4194048)===en?Lo===null:(en&62914560)===en||(en&536870912)!==0?o===Lo:!1}function D0(){var o=B.H;return B.H=oc,o===null?oc:o}function M0(){var o=B.A;return B.A=T0,o}function Mv(){Xn=4,Du||(en&4194048)!==en&&Rl.current!==null||(dc=!0),(Ui&134217727)===0&&(Tf&134217727)===0||Hn===null||Ou(Hn,en,Nl,!1)}function Ov(o,u,f){var v=Sn;Sn|=2;var w=D0(),_=M0();(Hn!==o||en!==u)&&(kd=null,Nu(o,u)),u=!1;var z=Xn;e:do try{if(qn!==0&&sn!==null){var J=sn,ge=Pt;switch(qn){case 8:Hy(),z=6;break e;case 3:case 2:case 9:case 6:Rl.current===null&&(u=!0);var qe=qn;if(qn=0,Pt=null,_f(o,J,ge,qe),f&&dc){z=0;break e}break;default:qe=qn,qn=0,Pt=null,_f(o,J,ge,qe)}}px(),z=Xn;break}catch(Ye){Hd(o,Ye)}while(!0);return u&&o.shellSuspendCounter++,$i=It=null,Sn=v,B.H=w,B.A=_,sn===null&&(Hn=null,en=0,Gr()),z}function px(){for(;sn!==null;)N0(sn)}function O0(o,u){var f=Sn;Sn|=2;var v=D0(),w=M0();Hn!==o||en!==u?(kd=null,hn=rt()+500,Nu(o,u)):dc=xo(o,u);e:do try{if(qn!==0&&sn!==null){u=sn;var _=Pt;t:switch(qn){case 1:qn=0,Pt=null,_f(o,u,_,1);break;case 2:case 9:if(hy(_)){qn=0,Pt=null,$0(u);break}u=function(){qn!==2&&qn!==9||Hn!==o||(qn=7),$u(o)},_.then(u,u);break e;case 3:qn=7;break e;case 4:qn=5;break e;case 7:hy(_)?(qn=0,Pt=null,$0(u)):(qn=0,Pt=null,_f(o,u,_,7));break;case 5:var z=null;switch(sn.tag){case 26:z=sn.memoizedState;case 5:case 27:var J=sn;if(z?mo(z):J.stateNode.complete){qn=0,Pt=null;var ge=J.sibling;if(ge!==null)sn=ge;else{var qe=J.return;qe!==null?(sn=qe,qh(qe)):sn=null}break t}}qn=0,Pt=null,_f(o,u,_,5);break;case 6:qn=0,Pt=null,_f(o,u,_,6);break;case 8:Hy(),Xn=6;break e;default:throw Error(l(462))}}hc();break}catch(Ye){Hd(o,Ye)}while(!0);return $i=It=null,B.H=v,B.A=w,Sn=f,sn!==null?0:(Hn=null,en=0,Gr(),Xn)}function hc(){for(;sn!==null&&!Ve();)N0(sn)}function N0(o){var u=Ay(o.alternate,o,ko);o.memoizedProps=o.pendingProps,u===null?qh(o):sn=u}function $0(o){var u=o,f=u.alternate;switch(u.tag){case 15:case 0:u=cc(f,u,u.pendingProps,u.type,void 0,en);break;case 11:u=cc(f,u,u.pendingProps,u.type.render,u.ref,en);break;case 5:lh(u);default:gv(f,u),u=sn=cy(u,ko),u=Ay(f,u,ko)}o.memoizedProps=o.pendingProps,u===null?qh(o):sn=u}function _f(o,u,f,v){$i=It=null,lh(u),Qs=null,wl=0;var w=u.return;try{if(_y(o,w,u,f,en)){Xn=1,Ef(o,Jl(f,o.current)),sn=null;return}}catch(_){if(w!==null)throw sn=w,_;Xn=1,Ef(o,Jl(f,o.current)),sn=null;return}u.flags&32768?(un||v===1?o=!0:dc||(en&536870912)!==0?o=!1:(Du=o=!0,(v===2||v===9||v===3||v===6)&&(v=Rl.current,v!==null&&v.tag===13&&(v.flags|=16384))),Lh(u,o)):qh(u)}function qh(o){var u=o;do{if((u.flags&32768)!==0){Lh(u,Du);return}o=u.return;var f=My(u.alternate,u,ko);if(f!==null){sn=f;return}if(u=u.sibling,u!==null){sn=u;return}sn=u=o}while(u!==null);Xn===0&&(Xn=5)}function Lh(o,u){do{var f=Nd(o.alternate,o);if(f!==null){f.flags&=32767,sn=f;return}if(f=o.return,f!==null&&(f.flags|=32768,f.subtreeFlags=0,f.deletions=null),!u&&(o=o.sibling,o!==null)){sn=o;return}sn=o=f}while(o!==null);Xn=6,sn=null}function P0(o,u,f,v,w,_,z,J,ge){o.cancelPendingCommit=null;do Af();while(fa!==0);if((Sn&6)!==0)throw Error(l(327));if(u!==null){if(u===o.current)throw Error(l(177));if(_=u.lanes|u.childLanes,_|=xl,Iu(o,f,_,z,J,ge),o===Hn&&(sn=Hn=null,en=0),pc=u,is=o,Mu=f,co=_,Av=w,Dv=v,(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0?(o.callbackNode=null,o.callbackPriority=0,L0(Yt,function(){return Gy(),null})):(o.callbackNode=null,o.callbackPriority=0),v=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||v){v=B.T,B.T=null,w=Z.p,Z.p=2,z=Sn,Sn|=4;try{Ld(o,u,f)}finally{Sn=z,Z.p=w,B.T=v}}fa=1,Vy(),Fy(),Nv()}}function Vy(){if(fa===1){fa=0;var o=is,u=pc,f=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||f){f=B.T,B.T=null;var v=Z.p;Z.p=2;var w=Sn;Sn|=4;try{xv(u,o);var _=jv,z=Is(o.containerInfo),J=_.focusedElem,ge=_.selectionRange;if(z!==J&&J&&J.ownerDocument&&rf(J.ownerDocument.documentElement,J)){if(ge!==null&&Hp(J)){var qe=ge.start,Ye=ge.end;if(Ye===void 0&&(Ye=qe),"selectionStart"in J)J.selectionStart=qe,J.selectionEnd=Math.min(Ye,J.value.length);else{var We=J.ownerDocument||document,Le=We&&We.defaultView||window;if(Le.getSelection){var He=Le.getSelection(),mt=J.textContent.length,Dt=Math.min(ge.start,mt),Fn=ge.end===void 0?Dt:Math.min(ge.end,mt);!He.extend&&Dt>Fn&&(z=Fn,Fn=Dt,Dt=z);var Oe=uy(J,Dt),we=uy(J,Fn);if(Oe&&we&&(He.rangeCount!==1||He.anchorNode!==Oe.node||He.anchorOffset!==Oe.offset||He.focusNode!==we.node||He.focusOffset!==we.offset)){var Pe=We.createRange();Pe.setStart(Oe.node,Oe.offset),He.removeAllRanges(),Dt>Fn?(He.addRange(Pe),He.extend(we.node,we.offset)):(Pe.setEnd(we.node,we.offset),He.addRange(Pe))}}}}for(We=[],He=J;He=He.parentNode;)He.nodeType===1&&We.push({element:He,left:He.scrollLeft,top:He.scrollTop});for(typeof J.focus=="function"&&J.focus(),J=0;J<We.length;J++){var Ze=We[J];Ze.element.scrollLeft=Ze.left,Ze.element.scrollTop=Ze.top}}pa=!!Yd,jv=Yd=null}finally{Sn=w,Z.p=v,B.T=f}}o.current=u,fa=2}}function Fy(){if(fa===2){fa=0;var o=is,u=pc,f=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||f){f=B.T,B.T=null;var v=Z.p;Z.p=2;var w=Sn;Sn|=4;try{jd(o,u.alternate,u)}finally{Sn=w,Z.p=v,B.T=f}}fa=3}}function Nv(){if(fa===4||fa===3){fa=0,st();var o=is,u=pc,f=Mu,v=Dv;(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0?fa=5:(fa=0,pc=is=null,Ky(o,o.pendingLanes));var w=o.pendingLanes;if(w===0&&(pr=null),Hg(f),u=u.stateNode,Mr&&typeof Mr.onCommitFiberRoot=="function")try{Mr.onCommitFiberRoot(hl,u,void 0,(u.current.flags&128)===128)}catch{}if(v!==null){u=B.T,w=Z.p,Z.p=2,B.T=null;try{for(var _=o.onRecoverableError,z=0;z<v.length;z++){var J=v[z];_(J.value,{componentStack:J.stack})}}finally{B.T=u,Z.p=w}}(Mu&3)!==0&&Af(),$u(o),w=o.pendingLanes,(f&261930)!==0&&(w&42)!==0?o===Nh?Ud++:(Ud=0,Nh=o):Ud=0,ss(0)}}function Ky(o,u){(o.pooledCacheLanes&=u)===0&&(u=o.pooledCache,u!=null&&(o.pooledCache=null,Gp(u)))}function Af(){return Vy(),Fy(),Nv(),Gy()}function Gy(){if(fa!==5)return!1;var o=is,u=co;co=0;var f=Hg(Mu),v=B.T,w=Z.p;try{Z.p=32>f?32:f,B.T=null,f=Av,Av=null;var _=is,z=Mu;if(fa=0,pc=is=null,Mu=0,(Sn&6)!==0)throw Error(l(331));var J=Sn;if(Sn|=4,By(_.current),zd(_,_.current,z,f),Sn=J,ss(0,!1),Mr&&typeof Mr.onPostCommitFiberRoot=="function")try{Mr.onPostCommitFiberRoot(hl,_)}catch{}return!0}finally{Z.p=w,B.T=v,Ky(o,u)}}function Yy(o,u,f){u=Jl(f,u),u=Ty(o.stateNode,u,2),o=Ya(o,u,2),o!==null&&($s(o,2),$u(o))}function Ln(o,u,f){if(o.tag===3)Yy(o,o,f);else for(;u!==null;){if(u.tag===3){Yy(u,o,f);break}else if(u.tag===1){var v=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(pr===null||!pr.has(v))){o=Jl(f,o),f=Bi(2),v=Ya(u,f,2),v!==null&&(bh(f,v,u,o),$s(v,2),$u(v));break}}u=u.return}}function jh(o,u,f){var v=o.pingCache;if(v===null){v=o.pingCache=new ky;var w=new Set;v.set(u,w)}else w=v.get(u),w===void 0&&(w=new Set,v.set(u,w));w.has(f)||(Rv=!0,w.add(f),o=Xy.bind(null,o,u,f),u.then(o,o))}function Xy(o,u,f){var v=o.pingCache;v!==null&&v.delete(u),o.pingedLanes|=o.suspendedLanes&f,o.warmLanes&=~f,Hn===o&&(en&f)===f&&(Xn===4||Xn===3&&(en&62914560)===en&&300>rt()-si?(Sn&2)===0&&Nu(o,0):Tv|=f,Cr===en&&(Cr=0)),$u(o)}function zh(o,u){u===0&&(u=lt()),o=Wo(o,u),o!==null&&($s(o,u),$u(o))}function Za(o){var u=o.memoizedState,f=0;u!==null&&(f=u.retryLane),zh(o,f)}function q0(o,u){var f=0;switch(o.tag){case 31:case 13:var v=o.stateNode,w=o.memoizedState;w!==null&&(f=w.retryLane);break;case 19:v=o.stateNode;break;case 22:v=o.stateNode._retryCache;break;default:throw Error(l(314))}v!==null&&v.delete(u),zh(o,f)}function L0(o,u){return pe(o,u)}var mc=null,vc=null,Qy=!1,$v=!1,Zy=!1,us=0;function $u(o){o!==vc&&o.next===null&&(vc===null?mc=vc=o:vc=vc.next=o),$v=!0,Qy||(Qy=!0,kh())}function ss(o,u){if(!Zy&&$v){Zy=!0;do for(var f=!1,v=mc;v!==null;){if(o!==0){var w=v.pendingLanes;if(w===0)var _=0;else{var z=v.suspendedLanes,J=v.pingedLanes;_=(1<<31-Or(42|o)+1)-1,_&=w&~(z&~J),_=_&201326741?_&201326741|1:_?_|2:0}_!==0&&(f=!0,Df(v,_))}else _=en,_=xr(v,v===Hn?_:0,v.cancelPendingCommit!==null||v.timeoutHandle!==-1),(_&3)===0||xo(v,_)||(f=!0,Df(v,_));v=v.next}while(f);Zy=!1}}function Pv(){Wy()}function Wy(){$v=Qy=!1;var o=0;us!==0&&hx()&&(o=us);for(var u=rt(),f=null,v=mc;v!==null;){var w=v.next,_=Jy(v,u);_===0?(v.next=null,f===null?mc=w:f.next=w,w===null&&(vc=f)):(f=v,(o!==0||(_&3)!==0)&&($v=!0)),v=w}fa!==0&&fa!==5||ss(o),us!==0&&(us=0)}function Jy(o,u){for(var f=o.suspendedLanes,v=o.pingedLanes,w=o.expirationTimes,_=o.pendingLanes&-62914561;0<_;){var z=31-Or(_),J=1<<z,ge=w[z];ge===-1?((J&f)===0||(J&v)!==0)&&(w[z]=Ns(J,u)):ge<=u&&(o.expiredLanes|=J),_&=~J}if(u=Hn,f=en,f=xr(o,o===u?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),v=o.callbackNode,f===0||o===u&&(qn===2||qn===9)||o.cancelPendingCommit!==null)return v!==null&&v!==null&&$e(v),o.callbackNode=null,o.callbackPriority=0;if((f&3)===0||xo(o,f)){if(u=f&-f,u===o.callbackPriority)return u;switch(v!==null&&$e(v),Hg(f)){case 2:case 8:f=Wt;break;case 32:f=Yt;break;case 268435456:f=Qo;break;default:f=Yt}return v=Bh.bind(null,o),f=pe(f,v),o.callbackPriority=u,o.callbackNode=f,u}return v!==null&&v!==null&&$e(v),o.callbackPriority=2,o.callbackNode=null,2}function Bh(o,u){if(fa!==0&&fa!==5)return o.callbackNode=null,o.callbackPriority=0,null;var f=o.callbackNode;if(Af()&&o.callbackNode!==f)return null;var v=en;return v=xr(o,o===Hn?v:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),v===0?null:(A0(o,v,u),Jy(o,rt()),o.callbackNode!=null&&o.callbackNode===f?Bh.bind(null,o):null)}function Df(o,u){if(Af())return null;A0(o,u,!0)}function kh(){ob(function(){(Sn&6)!==0?pe(bt,Pv):Wy()})}function po(){if(us===0){var o=Gs;o===0&&(o=gi,gi<<=1,(gi&261888)===0&&(gi=256)),us=o}return us}function j0(o){return o==null||typeof o=="symbol"||typeof o=="boolean"?null:typeof o=="function"?o:Eo(""+o)}function Mf(o,u){var f=u.ownerDocument.createElement("input");return f.name=u.name,f.value=u.value,o.id&&f.setAttribute("form",o.id),u.parentNode.insertBefore(f,u),o=new FormData(o),f.parentNode.removeChild(f),o}function Ii(o,u,f,v,w){if(u==="submit"&&f&&f.stateNode===w){var _=j0((w[gl]||null).action),z=v.submitter;z&&(u=(u=z[gl]||null)?j0(u.formAction):z.getAttribute("formAction"),u!==null&&(_=u,z=null));var J=new $p("action","action",null,v,w);o.push({event:J,listeners:[{instance:null,listener:function(){if(v.defaultPrevented){if(us!==0){var ge=z?Mf(w,z):new FormData(w);ji(f,{pending:!0,data:ge,method:w.method,action:_},null,ge)}}else typeof _=="function"&&(J.preventDefault(),ge=z?Mf(w,z):new FormData(w),ji(f,{pending:!0,data:ge,method:w.method,action:_},_,ge))},currentTarget:w}]})}}for(var Bt=0;Bt<af.length;Bt++){var Vd=af[Bt],Wa=Vd.toLowerCase(),Rr=Vd[0].toUpperCase()+Vd.slice(1);xa(Wa,"on"+Rr)}xa(Va,"onAnimationEnd"),xa(vd,"onAnimationIteration"),xa(Xm,"onAnimationStart"),xa("dblclick","onDoubleClick"),xa("focusin","onFocus"),xa("focusout","onBlur"),xa(Zo,"onTransitionRun"),xa(Hs,"onTransitionStart"),xa(Ro,"onTransitionCancel"),xa(On,"onTransitionEnd"),xi("onMouseEnter",["mouseout","mouseover"]),xi("onMouseLeave",["mouseout","mouseover"]),xi("onPointerEnter",["pointerout","pointerover"]),xi("onPointerLeave",["pointerout","pointerover"]),Hu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Hu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Hu("onBeforeInput",["compositionend","keypress","textInput","paste"]),Hu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Hu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Hu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fd="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(" "),cs=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fd));function z0(o,u){u=(u&4)!==0;for(var f=0;f<o.length;f++){var v=o[f],w=v.event;v=v.listeners;e:{var _=void 0;if(u)for(var z=v.length-1;0<=z;z--){var J=v[z],ge=J.instance,qe=J.currentTarget;if(J=J.listener,ge!==_&&w.isPropagationStopped())break e;_=J,w.currentTarget=qe;try{_(w)}catch(Ye){lf(Ye)}w.currentTarget=null,_=ge}else for(z=0;z<v.length;z++){if(J=v[z],ge=J.instance,qe=J.currentTarget,J=J.listener,ge!==_&&w.isPropagationStopped())break e;_=J,w.currentTarget=qe;try{_(w)}catch(Ye){lf(Ye)}w.currentTarget=null,_=ge}}}}function rn(o,u){var f=u[wp];f===void 0&&(f=u[wp]=new Set);var v=o+"__bubble";f.has(v)||(Of(u,o,2,!1),f.add(v))}function eb(o,u,f){var v=0;u&&(v|=4),Of(f,o,v,u)}var qv="_reactListening"+Math.random().toString(36).slice(2);function Kd(o){if(!o[qv]){o[qv]=!0,Vc.forEach(function(f){f!=="selectionchange"&&(cs.has(f)||eb(f,!1,o),eb(f,!0,o))});var u=o.nodeType===9?o:o.ownerDocument;u===null||u[qv]||(u[qv]=!0,eb("selectionchange",!1,u))}}function Of(o,u,f,v){switch(Xh(u)){case 2:var w=Pu;break;case 8:w=qu;break;default:w=La}f=w.bind(null,u,f,o),w=void 0,!Op||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(w=!0),v?w!==void 0?o.addEventListener(u,f,{capture:!0,passive:w}):o.addEventListener(u,f,!0):w!==void 0?o.addEventListener(u,f,{passive:w}):o.addEventListener(u,f,!1)}function tb(o,u,f,v,w){var _=v;if((u&1)===0&&(u&2)===0&&v!==null)e:for(;;){if(v===null)return;var z=v.tag;if(z===3||z===4){var J=v.stateNode.containerInfo;if(J===w)break;if(z===4)for(z=v.return;z!==null;){var ge=z.tag;if((ge===3||ge===4)&&z.stateNode.containerInfo===w)return;z=z.return}for(;J!==null;){if(z=Hc(J),z===null)return;if(ge=z.tag,ge===5||ge===6||ge===26||ge===27){v=_=z;continue e}J=J.parentNode}}v=v.return}Qg(function(){var qe=_,Ye=Im(f),We=[];e:{var Le=fu.get(o);if(Le!==void 0){var He=$p,mt=o;switch(o){case"keypress":if(Hm(f)===0)break e;case"keydown":case"keyup":He=Ti;break;case"focusin":mt="focus",He=Lp;break;case"focusout":mt="blur",He=Lp;break;case"beforeblur":case"afterblur":He=Lp;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":He=js;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":He=Wg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":He=g0;break;case Va:case vd:case Xm:He=ey;break;case On:He=fx;break;case"scroll":case"scrollend":He=cx;break;case"wheel":He=Km;break;case"copy":case"cut":case"paste":He=aa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":He=_i;break;case"toggle":case"beforetoggle":He=ry}var Dt=(u&4)!==0,Fn=!Dt&&(o==="scroll"||o==="scrollend"),Oe=Dt?Le!==null?Le+"Capture":null:Le;Dt=[];for(var we=qe,Pe;we!==null;){var Ze=we;if(Pe=Ze.stateNode,Ze=Ze.tag,Ze!==5&&Ze!==26&&Ze!==27||Pe===null||Oe===null||(Ze=Kr(we,Oe),Ze!=null&&Dt.push(Uo(we,Ze,Pe))),Fn)break;we=we.return}0<Dt.length&&(Le=new He(Le,mt,null,f,Ye),We.push({event:Le,listeners:Dt}))}}if((u&7)===0){e:{if(Le=o==="mouseover"||o==="pointerover",He=o==="mouseout"||o==="pointerout",Le&&f!==Um&&(mt=f.relatedTarget||f.fromElement)&&(Hc(mt)||mt[Ps]))break e;if((He||Le)&&(Le=Ye.window===Ye?Ye:(Le=Ye.ownerDocument)?Le.defaultView||Le.parentWindow:window,He?(mt=f.relatedTarget||f.toElement,He=qe,mt=mt?Hc(mt):null,mt!==null&&(Fn=c(mt),Dt=mt.tag,mt!==Fn||Dt!==5&&Dt!==27&&Dt!==6)&&(mt=null)):(He=null,mt=qe),He!==mt)){if(Dt=js,Ze="onMouseLeave",Oe="onMouseEnter",we="mouse",(o==="pointerout"||o==="pointerover")&&(Dt=_i,Ze="onPointerLeave",Oe="onPointerEnter",we="pointer"),Fn=He==null?Le:rd(He),Pe=mt==null?Le:rd(mt),Le=new Dt(Ze,we+"leave",He,f,Ye),Le.target=Fn,Le.relatedTarget=Pe,Ze=null,Hc(Ye)===qe&&(Dt=new Dt(Oe,we+"enter",mt,f,Ye),Dt.target=Pe,Dt.relatedTarget=Fn,Ze=Dt),Fn=Ze,He&&mt)t:{for(Dt=Uh,Oe=He,we=mt,Pe=0,Ze=Oe;Ze;Ze=Dt(Ze))Pe++;Ze=0;for(var wt=we;wt;wt=Dt(wt))Ze++;for(;0<Pe-Ze;)Oe=Dt(Oe),Pe--;for(;0<Ze-Pe;)we=Dt(we),Ze--;for(;Pe--;){if(Oe===we||we!==null&&Oe===we.alternate){Dt=Oe;break t}Oe=Dt(Oe),we=Dt(we)}Dt=null}else Dt=null;He!==null&&er(We,Le,He,Dt,!1),mt!==null&&Fn!==null&&er(We,Fn,mt,Dt,!0)}}e:{if(Le=qe?rd(qe):window,He=Le.nodeName&&Le.nodeName.toLowerCase(),He==="select"||He==="input"&&Le.type==="file")var gn=oy;else if(Ai(Le))if(Yu)gn=tf;else{gn=b0;var yt=Ip}else He=Le.nodeName,!He||He.toLowerCase()!=="input"||Le.type!=="checkbox"&&Le.type!=="radio"?qe&&km(qe.elementType)&&(gn=oy):gn=Us;if(gn&&(gn=gn(o,qe))){Ym(We,gn,f,Ye);break e}yt&&yt(o,Le,qe),o==="focusout"&&qe&&Le.type==="number"&&qe.memoizedProps.value!=null&&Kc(Le,"number",Le.value)}switch(yt=qe?rd(qe):window,o){case"focusin":(Ai(yt)||yt.contentEditable==="true")&&(Me=yt,Ge=qe,ze=null);break;case"focusout":ze=Ge=Me=null;break;case"mousedown":ct=!0;break;case"contextmenu":case"mouseup":case"dragend":ct=!1,jt(We,f,Ye);break;case"selectionchange":if(su)break;case"keydown":case"keyup":jt(We,f,Ye)}var Ht;if(Zc)e:{switch(o){case"compositionstart":var Zt="onCompositionStart";break e;case"compositionend":Zt="onCompositionEnd";break e;case"compositionupdate":Zt="onCompositionUpdate";break e}Zt=void 0}else Bs?hd(o,f)&&(Zt="onCompositionEnd"):o==="keydown"&&f.keyCode===229&&(Zt="onCompositionStart");Zt&&(Gm&&f.locale!=="ko"&&(Bs||Zt!=="onCompositionStart"?Zt==="onCompositionEnd"&&Bs&&(Ht=In()):(Fu=Ye,Zg="value"in Fu?Fu.value:Fu.textContent,Bs=!0)),yt=Gd(qe,Zt),0<yt.length&&(Zt=new Co(Zt,o,null,f,Ye),We.push({event:Zt,listeners:yt}),Ht?Zt.data=Ht:(Ht=ay(f),Ht!==null&&(Zt.data=Ht)))),(Ht=ba?Wl(o,f):ly(o,f))&&(Zt=Gd(qe,"onBeforeInput"),0<Zt.length&&(yt=new Co("onBeforeInput","beforeinput",null,f,Ye),We.push({event:yt,listeners:Zt}),yt.data=Ht)),Ii(We,o,qe,f,Ye)}z0(We,u)})}function Uo(o,u,f){return{instance:o,listener:u,currentTarget:f}}function Gd(o,u){for(var f=u+"Capture",v=[];o!==null;){var w=o,_=w.stateNode;if(w=w.tag,w!==5&&w!==26&&w!==27||_===null||(w=Kr(o,f),w!=null&&v.unshift(Uo(o,w,_)),w=Kr(o,u),w!=null&&v.push(Uo(o,w,_))),o.tag===3)return v;o=o.return}return[]}function Uh(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5&&o.tag!==27);return o||null}function er(o,u,f,v,w){for(var _=u._reactName,z=[];f!==null&&f!==v;){var J=f,ge=J.alternate,qe=J.stateNode;if(J=J.tag,ge!==null&&ge===v)break;J!==5&&J!==26&&J!==27||qe===null||(ge=qe,w?(qe=Kr(f,_),qe!=null&&z.unshift(Uo(f,qe,ge))):w||(qe=Kr(f,_),qe!=null&&z.push(Uo(f,qe,ge)))),f=f.return}z.length!==0&&o.push({event:u,listeners:z})}var Tr=/\r\n?/g,Lv=/\u0000|\uFFFD/g;function nb(o){return(typeof o=="string"?o:""+o).replace(Tr,`
|
|
63
|
+
`).replace(Lv,"")}function rb(o,u){return u=nb(u),nb(o)===u}function Vn(o,u,f,v,w,_){switch(f){case"children":typeof v=="string"?u==="body"||u==="textarea"&&v===""||yl(o,v):(typeof v=="number"||typeof v=="bigint")&&u!=="body"&&yl(o,""+v);break;case"className":Tp(o,"class",v);break;case"tabIndex":Tp(o,"tabindex",v);break;case"dir":case"role":case"viewBox":case"width":case"height":Tp(o,f,v);break;case"style":h0(o,v,_);break;case"data":if(u!=="object"){Tp(o,"data",v);break}case"src":case"href":if(v===""&&(u!=="a"||f!=="href")){o.removeAttribute(f);break}if(v==null||typeof v=="function"||typeof v=="symbol"||typeof v=="boolean"){o.removeAttribute(f);break}v=Eo(""+v),o.setAttribute(f,v);break;case"action":case"formAction":if(typeof v=="function"){o.setAttribute(f,"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 _=="function"&&(f==="formAction"?(u!=="input"&&Vn(o,u,"name",w.name,w,null),Vn(o,u,"formEncType",w.formEncType,w,null),Vn(o,u,"formMethod",w.formMethod,w,null),Vn(o,u,"formTarget",w.formTarget,w,null)):(Vn(o,u,"encType",w.encType,w,null),Vn(o,u,"method",w.method,w,null),Vn(o,u,"target",w.target,w,null)));if(v==null||typeof v=="symbol"||typeof v=="boolean"){o.removeAttribute(f);break}v=Eo(""+v),o.setAttribute(f,v);break;case"onClick":v!=null&&(o.onclick=Ei);break;case"onScroll":v!=null&&rn("scroll",o);break;case"onScrollEnd":v!=null&&rn("scrollend",o);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(l(61));if(f=v.__html,f!=null){if(w.children!=null)throw Error(l(60));o.innerHTML=f}}break;case"multiple":o.multiple=v&&typeof v!="function"&&typeof v!="symbol";break;case"muted":o.muted=v&&typeof v!="function"&&typeof v!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(v==null||typeof v=="function"||typeof v=="boolean"||typeof v=="symbol"){o.removeAttribute("xlink:href");break}f=Eo(""+v),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",f);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":v!=null&&typeof v!="function"&&typeof v!="symbol"?o.setAttribute(f,""+v):o.removeAttribute(f);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":v&&typeof v!="function"&&typeof v!="symbol"?o.setAttribute(f,""):o.removeAttribute(f);break;case"capture":case"download":v===!0?o.setAttribute(f,""):v!==!1&&v!=null&&typeof v!="function"&&typeof v!="symbol"?o.setAttribute(f,v):o.removeAttribute(f);break;case"cols":case"rows":case"size":case"span":v!=null&&typeof v!="function"&&typeof v!="symbol"&&!isNaN(v)&&1<=v?o.setAttribute(f,v):o.removeAttribute(f);break;case"rowSpan":case"start":v==null||typeof v=="function"||typeof v=="symbol"||isNaN(v)?o.removeAttribute(f):o.setAttribute(f,v);break;case"popover":rn("beforetoggle",o),rn("toggle",o),od(o,"popover",v);break;case"xlinkActuate":iu(o,"http://www.w3.org/1999/xlink","xlink:actuate",v);break;case"xlinkArcrole":iu(o,"http://www.w3.org/1999/xlink","xlink:arcrole",v);break;case"xlinkRole":iu(o,"http://www.w3.org/1999/xlink","xlink:role",v);break;case"xlinkShow":iu(o,"http://www.w3.org/1999/xlink","xlink:show",v);break;case"xlinkTitle":iu(o,"http://www.w3.org/1999/xlink","xlink:title",v);break;case"xlinkType":iu(o,"http://www.w3.org/1999/xlink","xlink:type",v);break;case"xmlBase":iu(o,"http://www.w3.org/XML/1998/namespace","xml:base",v);break;case"xmlLang":iu(o,"http://www.w3.org/XML/1998/namespace","xml:lang",v);break;case"xmlSpace":iu(o,"http://www.w3.org/XML/1998/namespace","xml:space",v);break;case"is":od(o,"is",v);break;case"innerText":case"textContent":break;default:(!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(f=m0.get(f)||f,od(o,f,v))}}function ab(o,u,f,v,w,_){switch(f){case"style":h0(o,v,_);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(l(61));if(f=v.__html,f!=null){if(w.children!=null)throw Error(l(60));o.innerHTML=f}}break;case"children":typeof v=="string"?yl(o,v):(typeof v=="number"||typeof v=="bigint")&&yl(o,""+v);break;case"onScroll":v!=null&&rn("scroll",o);break;case"onScrollEnd":v!=null&&rn("scrollend",o);break;case"onClick":v!=null&&(o.onclick=Ei);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qs.hasOwnProperty(f))e:{if(f[0]==="o"&&f[1]==="n"&&(w=f.endsWith("Capture"),u=f.slice(2,w?f.length-7:void 0),_=o[gl]||null,_=_!=null?_[f]:null,typeof _=="function"&&o.removeEventListener(u,_,w),typeof v=="function")){typeof _!="function"&&_!==null&&(f in o?o[f]=null:o.hasAttribute(f)&&o.removeAttribute(f)),o.addEventListener(u,v,w);break e}f in o?o[f]=v:v===!0?o.setAttribute(f,""):od(o,f,v)}}}function qa(o,u,f){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":rn("error",o),rn("load",o);var v=!1,w=!1,_;for(_ in f)if(f.hasOwnProperty(_)){var z=f[_];if(z!=null)switch(_){case"src":v=!0;break;case"srcSet":w=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,u));default:Vn(o,u,_,z,f,null)}}w&&Vn(o,u,"srcSet",f.srcSet,f,null),v&&Vn(o,u,"src",f.src,f,null);return;case"input":rn("invalid",o);var J=_=z=w=null,ge=null,qe=null;for(v in f)if(f.hasOwnProperty(v)){var Ye=f[v];if(Ye!=null)switch(v){case"name":w=Ye;break;case"type":z=Ye;break;case"checked":ge=Ye;break;case"defaultChecked":qe=Ye;break;case"value":_=Ye;break;case"defaultValue":J=Ye;break;case"children":case"dangerouslySetInnerHTML":if(Ye!=null)throw Error(l(137,u));break;default:Vn(o,u,v,Ye,f,null)}}Fc(o,_,J,ge,qe,z,w,!1);return;case"select":rn("invalid",o),v=z=_=null;for(w in f)if(f.hasOwnProperty(w)&&(J=f[w],J!=null))switch(w){case"value":_=J;break;case"defaultValue":z=J;break;case"multiple":v=J;default:Vn(o,u,w,J,f,null)}u=_,f=z,o.multiple=!!v,u!=null?Gc(o,!!v,u,!1):f!=null&&Gc(o,!!v,f,!0);return;case"textarea":rn("invalid",o),_=w=v=null;for(z in f)if(f.hasOwnProperty(z)&&(J=f[z],J!=null))switch(z){case"value":v=J;break;case"defaultValue":w=J;break;case"children":_=J;break;case"dangerouslySetInnerHTML":if(J!=null)throw Error(l(91));break;default:Vn(o,u,z,J,f,null)}Dp(o,v,w,_);return;case"option":for(ge in f)if(f.hasOwnProperty(ge)&&(v=f[ge],v!=null))switch(ge){case"selected":o.selected=v&&typeof v!="function"&&typeof v!="symbol";break;default:Vn(o,u,ge,v,f,null)}return;case"dialog":rn("beforetoggle",o),rn("toggle",o),rn("cancel",o),rn("close",o);break;case"iframe":case"object":rn("load",o);break;case"video":case"audio":for(v=0;v<Fd.length;v++)rn(Fd[v],o);break;case"image":rn("error",o),rn("load",o);break;case"details":rn("toggle",o);break;case"embed":case"source":case"link":rn("error",o),rn("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(qe in f)if(f.hasOwnProperty(qe)&&(v=f[qe],v!=null))switch(qe){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,u));default:Vn(o,u,qe,v,f,null)}return;default:if(km(u)){for(Ye in f)f.hasOwnProperty(Ye)&&(v=f[Ye],v!==void 0&&ab(o,u,Ye,v,f,void 0));return}}for(J in f)f.hasOwnProperty(J)&&(v=f[J],v!=null&&Vn(o,u,J,v,f,null))}function lb(o,u,f,v){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var w=null,_=null,z=null,J=null,ge=null,qe=null,Ye=null;for(He in f){var We=f[He];if(f.hasOwnProperty(He)&&We!=null)switch(He){case"checked":break;case"value":break;case"defaultValue":ge=We;default:v.hasOwnProperty(He)||Vn(o,u,He,null,v,We)}}for(var Le in v){var He=v[Le];if(We=f[Le],v.hasOwnProperty(Le)&&(He!=null||We!=null))switch(Le){case"type":_=He;break;case"name":w=He;break;case"checked":qe=He;break;case"defaultChecked":Ye=He;break;case"value":z=He;break;case"defaultValue":J=He;break;case"children":case"dangerouslySetInnerHTML":if(He!=null)throw Error(l(137,u));break;default:He!==We&&Vn(o,u,Le,He,v,We)}}cd(o,z,J,ge,qe,Ye,_,w);return;case"select":He=z=J=Le=null;for(_ in f)if(ge=f[_],f.hasOwnProperty(_)&&ge!=null)switch(_){case"value":break;case"multiple":He=ge;default:v.hasOwnProperty(_)||Vn(o,u,_,null,v,ge)}for(w in v)if(_=v[w],ge=f[w],v.hasOwnProperty(w)&&(_!=null||ge!=null))switch(w){case"value":Le=_;break;case"defaultValue":J=_;break;case"multiple":z=_;default:_!==ge&&Vn(o,u,w,_,v,ge)}u=J,f=z,v=He,Le!=null?Gc(o,!!f,Le,!1):!!v!=!!f&&(u!=null?Gc(o,!!f,u,!0):Gc(o,!!f,f?[]:"",!1));return;case"textarea":He=Le=null;for(J in f)if(w=f[J],f.hasOwnProperty(J)&&w!=null&&!v.hasOwnProperty(J))switch(J){case"value":break;case"children":break;default:Vn(o,u,J,null,v,w)}for(z in v)if(w=v[z],_=f[z],v.hasOwnProperty(z)&&(w!=null||_!=null))switch(z){case"value":Le=w;break;case"defaultValue":He=w;break;case"children":break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(l(91));break;default:w!==_&&Vn(o,u,z,w,v,_)}Ap(o,Le,He);return;case"option":for(var mt in f)if(Le=f[mt],f.hasOwnProperty(mt)&&Le!=null&&!v.hasOwnProperty(mt))switch(mt){case"selected":o.selected=!1;break;default:Vn(o,u,mt,null,v,Le)}for(ge in v)if(Le=v[ge],He=f[ge],v.hasOwnProperty(ge)&&Le!==He&&(Le!=null||He!=null))switch(ge){case"selected":o.selected=Le&&typeof Le!="function"&&typeof Le!="symbol";break;default:Vn(o,u,ge,Le,v,He)}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 Dt in f)Le=f[Dt],f.hasOwnProperty(Dt)&&Le!=null&&!v.hasOwnProperty(Dt)&&Vn(o,u,Dt,null,v,Le);for(qe in v)if(Le=v[qe],He=f[qe],v.hasOwnProperty(qe)&&Le!==He&&(Le!=null||He!=null))switch(qe){case"children":case"dangerouslySetInnerHTML":if(Le!=null)throw Error(l(137,u));break;default:Vn(o,u,qe,Le,v,He)}return;default:if(km(u)){for(var Fn in f)Le=f[Fn],f.hasOwnProperty(Fn)&&Le!==void 0&&!v.hasOwnProperty(Fn)&&ab(o,u,Fn,void 0,v,Le);for(Ye in v)Le=v[Ye],He=f[Ye],!v.hasOwnProperty(Ye)||Le===He||Le===void 0&&He===void 0||ab(o,u,Ye,Le,v,He);return}}for(var Oe in f)Le=f[Oe],f.hasOwnProperty(Oe)&&Le!=null&&!v.hasOwnProperty(Oe)&&Vn(o,u,Oe,null,v,Le);for(We in v)Le=v[We],He=f[We],!v.hasOwnProperty(We)||Le===He||Le==null&&He==null||Vn(o,u,We,Le,v,He)}function Ih(o){switch(o){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Nf(){if(typeof performance.getEntriesByType=="function"){for(var o=0,u=0,f=performance.getEntriesByType("resource"),v=0;v<f.length;v++){var w=f[v],_=w.transferSize,z=w.initiatorType,J=w.duration;if(_&&J&&Ih(z)){for(z=0,J=w.responseEnd,v+=1;v<f.length;v++){var ge=f[v],qe=ge.startTime;if(qe>J)break;var Ye=ge.transferSize,We=ge.initiatorType;Ye&&Ih(We)&&(ge=ge.responseEnd,z+=Ye*(ge<J?1:(J-qe)/(ge-qe)))}if(--v,u+=8*(_+z)/(w.duration/1e3),o++,10<o)break}}if(0<o)return u/o/1e6}return navigator.connection&&(o=navigator.connection.downlink,typeof o=="number")?o:5}var Yd=null,jv=null;function fs(o){return o.nodeType===9?o:o.ownerDocument}function Hh(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 Pl(o,u){if(o===0)switch(u){case"svg":return 1;case"math":return 2;default:return 0}return o===1&&u==="foreignObject"?0:o}function Hi(o,u){return o==="textarea"||o==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.children=="bigint"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var zv=null;function hx(){var o=window.event;return o&&o.type==="popstate"?o===zv?!1:(zv=o,!0):(zv=null,!1)}var Vh=typeof setTimeout=="function"?setTimeout:void 0,B0=typeof clearTimeout=="function"?clearTimeout:void 0,$f=typeof Promise=="function"?Promise:void 0,ob=typeof queueMicrotask=="function"?queueMicrotask:typeof $f<"u"?function(o){return $f.resolve(null).then(o).catch(Vi)}:Vh;function Vi(o){setTimeout(function(){throw o})}function At(o){return o==="head"}function Bv(o,u){var f=u,v=0;do{var w=f.nextSibling;if(o.removeChild(f),w&&w.nodeType===8)if(f=w.data,f==="/$"||f==="/&"){if(v===0){o.removeChild(w),lp(u);return}v--}else if(f==="$"||f==="$?"||f==="$~"||f==="$!"||f==="&")v++;else if(f==="html")Pf(o.ownerDocument.documentElement);else if(f==="head"){f=o.ownerDocument.head,Pf(f);for(var _=f.firstChild;_;){var z=_.nextSibling,J=_.nodeName;_[au]||J==="SCRIPT"||J==="STYLE"||J==="LINK"&&_.rel.toLowerCase()==="stylesheet"||f.removeChild(_),_=z}}else f==="body"&&Pf(o.ownerDocument.body);f=w}while(f);lp(u)}function Cn(o,u){var f=o;o=0;do{var v=f.nextSibling;if(f.nodeType===1?u?(f._stashedDisplay=f.style.display,f.style.display="none"):(f.style.display=f._stashedDisplay||"",f.getAttribute("style")===""&&f.removeAttribute("style")):f.nodeType===3&&(u?(f._stashedText=f.nodeValue,f.nodeValue=""):f.nodeValue=f._stashedText||""),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(o===0)break;o--}else f!=="$"&&f!=="$?"&&f!=="$~"&&f!=="$!"||o++;f=v}while(f)}function Xd(o){var u=o.firstChild;for(u&&u.nodeType===10&&(u=u.nextSibling);u;){var f=u;switch(u=u.nextSibling,f.nodeName){case"HTML":case"HEAD":case"BODY":Xd(f),zm(f);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(f.rel.toLowerCase()==="stylesheet")continue}o.removeChild(f)}}function mx(o,u,f,v){for(;o.nodeType===1;){var w=f;if(o.nodeName.toLowerCase()!==u.toLowerCase()){if(!v&&(o.nodeName!=="INPUT"||o.type!=="hidden"))break}else if(v){if(!o[au])switch(u){case"meta":if(!o.hasAttribute("itemprop"))break;return o;case"link":if(_=o.getAttribute("rel"),_==="stylesheet"&&o.hasAttribute("data-precedence"))break;if(_!==w.rel||o.getAttribute("href")!==(w.href==null||w.href===""?null:w.href)||o.getAttribute("crossorigin")!==(w.crossOrigin==null?null:w.crossOrigin)||o.getAttribute("title")!==(w.title==null?null:w.title))break;return o;case"style":if(o.hasAttribute("data-precedence"))break;return o;case"script":if(_=o.getAttribute("src"),(_!==(w.src==null?null:w.src)||o.getAttribute("type")!==(w.type==null?null:w.type)||o.getAttribute("crossorigin")!==(w.crossOrigin==null?null:w.crossOrigin))&&_&&o.hasAttribute("async")&&!o.hasAttribute("itemprop"))break;return o;default:return o}}else if(u==="input"&&o.type==="hidden"){var _=w.name==null?null:""+w.name;if(w.type==="hidden"&&o.getAttribute("name")===_)return o}else return o;if(o=ql(o.nextSibling),o===null)break}return null}function ht(o,u,f){if(u==="")return null;for(;o.nodeType!==3;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!f||(o=ql(o.nextSibling),o===null))return null;return o}function k0(o,u){for(;o.nodeType!==8;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!u||(o=ql(o.nextSibling),o===null))return null;return o}function Io(o){return o.data==="$?"||o.data==="$~"}function Fi(o){return o.data==="$!"||o.data==="$?"&&o.ownerDocument.readyState!=="loading"}function Qd(o,u){var f=o.ownerDocument;if(o.data==="$~")o._reactRetry=u;else if(o.data!=="$?"||f.readyState!=="loading")u();else{var v=function(){u(),f.removeEventListener("DOMContentLoaded",v)};f.addEventListener("DOMContentLoaded",v),o._reactRetry=v}}function ql(o){for(;o!=null;o=o.nextSibling){var u=o.nodeType;if(u===1||u===3)break;if(u===8){if(u=o.data,u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"||u==="F!"||u==="F")break;if(u==="/$"||u==="/&")return null}}return o}var Fh=null;function kv(o){o=o.nextSibling;for(var u=0;o;){if(o.nodeType===8){var f=o.data;if(f==="/$"||f==="/&"){if(u===0)return ql(o.nextSibling);u--}else f!=="$"&&f!=="$!"&&f!=="$?"&&f!=="$~"&&f!=="&"||u++}o=o.nextSibling}return null}function Ki(o){o=o.previousSibling;for(var u=0;o;){if(o.nodeType===8){var f=o.data;if(f==="$"||f==="$!"||f==="$?"||f==="$~"||f==="&"){if(u===0)return o;u--}else f!=="/$"&&f!=="/&"||u++}o=o.previousSibling}return null}function Zd(o,u,f){switch(u=fs(f),o){case"html":if(o=u.documentElement,!o)throw Error(l(452));return o;case"head":if(o=u.head,!o)throw Error(l(453));return o;case"body":if(o=u.body,!o)throw Error(l(454));return o;default:throw Error(l(451))}}function Pf(o){for(var u=o.attributes;u.length;)o.removeAttributeNode(u[0]);zm(o)}var ho=new Map,Kh=new Set;function Ja(o){return typeof o.getRootNode=="function"?o.getRootNode():o.nodeType===9?o:o.ownerDocument}var Gi=Z.d;Z.d={f:vx,r:U0,D:Ue,C:An,L:gx,m:ib,X:qr,S:Wr,M:yc};function vx(){var o=Gi.f(),u=Id();return o||u}function U0(o){var u=lu(o);u!==null&&u.tag===5&&u.type==="form"?zn(u):Gi.r(o)}var gc=typeof document>"u"?null:document;function Zr(o,u,f){var v=gc;if(v&&typeof u=="string"&&u){var w=Xl(u);w='link[rel="'+o+'"][href="'+w+'"]',typeof f=="string"&&(w+='[crossorigin="'+f+'"]'),Kh.has(w)||(Kh.add(w),o={rel:o,crossOrigin:f,href:u},v.querySelector(w)===null&&(u=v.createElement("link"),qa(u,"link",o),Mn(u),v.head.appendChild(u)))}}function Ue(o){Gi.D(o),Zr("dns-prefetch",o,null)}function An(o,u){Gi.C(o,u),Zr("preconnect",o,u)}function gx(o,u,f){Gi.L(o,u,f);var v=gc;if(v&&o&&u){var w='link[rel="preload"][as="'+Xl(u)+'"]';u==="image"&&f&&f.imageSrcSet?(w+='[imagesrcset="'+Xl(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(w+='[imagesizes="'+Xl(f.imageSizes)+'"]')):w+='[href="'+Xl(o)+'"]';var _=w;switch(u){case"style":_=Ho(o);break;case"script":_=qf(o)}ho.has(_)||(o=S({rel:"preload",href:u==="image"&&f&&f.imageSrcSet?void 0:o,as:u},f),ho.set(_,o),v.querySelector(w)!==null||u==="style"&&v.querySelector(ds(_))||u==="script"&&v.querySelector(Lf(_))||(u=v.createElement("link"),qa(u,"link",o),Mn(u),v.head.appendChild(u)))}}function ib(o,u){Gi.m(o,u);var f=gc;if(f&&o){var v=u&&typeof u.as=="string"?u.as:"script",w='link[rel="modulepreload"][as="'+Xl(v)+'"][href="'+Xl(o)+'"]',_=w;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":_=qf(o)}if(!ho.has(_)&&(o=S({rel:"modulepreload",href:o},u),ho.set(_,o),f.querySelector(w)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector(Lf(_)))return}v=f.createElement("link"),qa(v,"link",o),Mn(v),f.head.appendChild(v)}}}function Wr(o,u,f){Gi.S(o,u,f);var v=gc;if(v&&o){var w=ou(v).hoistableStyles,_=Ho(o);u=u||"default";var z=w.get(_);if(!z){var J={loading:0,preload:null};if(z=v.querySelector(ds(_)))J.loading=5;else{o=S({rel:"stylesheet",href:o,"data-precedence":u},f),(f=ho.get(_))&&Uv(o,f);var ge=z=v.createElement("link");Mn(ge),qa(ge,"link",o),ge._p=new Promise(function(qe,Ye){ge.onload=qe,ge.onerror=Ye}),ge.addEventListener("load",function(){J.loading|=1}),ge.addEventListener("error",function(){J.loading|=2}),J.loading|=4,Gh(z,u,v)}z={type:"stylesheet",instance:z,count:1,state:J},w.set(_,z)}}}function qr(o,u){Gi.X(o,u);var f=gc;if(f&&o){var v=ou(f).hoistableScripts,w=qf(o),_=v.get(w);_||(_=f.querySelector(Lf(w)),_||(o=S({src:o,async:!0},u),(u=ho.get(w))&&Yh(o,u),_=f.createElement("script"),Mn(_),qa(_,"link",o),f.head.appendChild(_)),_={type:"script",instance:_,count:1,state:null},v.set(w,_))}}function yc(o,u){Gi.M(o,u);var f=gc;if(f&&o){var v=ou(f).hoistableScripts,w=qf(o),_=v.get(w);_||(_=f.querySelector(Lf(w)),_||(o=S({src:o,async:!0,type:"module"},u),(u=ho.get(w))&&Yh(o,u),_=f.createElement("script"),Mn(_),qa(_,"link",o),f.head.appendChild(_)),_={type:"script",instance:_,count:1,state:null},v.set(w,_))}}function Wd(o,u,f,v){var w=(w=Ke.current)?Ja(w):null;if(!w)throw Error(l(446));switch(o){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(u=Ho(f.href),f=ou(w).hoistableStyles,v=f.get(u),v||(v={type:"style",instance:null,count:0,state:null},f.set(u,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){o=Ho(f.href);var _=ou(w).hoistableStyles,z=_.get(o);if(z||(w=w.ownerDocument||w,z={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},_.set(o,z),(_=w.querySelector(ds(o)))&&!_._p&&(z.instance=_,z.state.loading=5),ho.has(o)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},ho.set(o,f),_||I0(w,o,f,z.state))),u&&v===null)throw Error(l(528,""));return z}if(u&&v!==null)throw Error(l(529,""));return null;case"script":return u=f.async,f=f.src,typeof f=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=qf(f),f=ou(w).hoistableScripts,v=f.get(u),v||(v={type:"script",instance:null,count:0,state:null},f.set(u,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,o))}}function Ho(o){return'href="'+Xl(o)+'"'}function ds(o){return'link[rel="stylesheet"]['+o+"]"}function Jd(o){return S({},o,{"data-precedence":o.precedence,precedence:null})}function I0(o,u,f,v){o.querySelector('link[rel="preload"][as="style"]['+u+"]")?v.loading=1:(u=o.createElement("link"),v.preload=u,u.addEventListener("load",function(){return v.loading|=1}),u.addEventListener("error",function(){return v.loading|=2}),qa(u,"link",f),Mn(u),o.head.appendChild(u))}function qf(o){return'[src="'+Xl(o)+'"]'}function Lf(o){return"script[async]"+o}function ub(o,u,f){if(u.count++,u.instance===null)switch(u.type){case"style":var v=o.querySelector('style[data-href~="'+Xl(f.href)+'"]');if(v)return u.instance=v,Mn(v),v;var w=S({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return v=(o.ownerDocument||o).createElement("style"),Mn(v),qa(v,"style",w),Gh(v,f.precedence,o),u.instance=v;case"stylesheet":w=Ho(f.href);var _=o.querySelector(ds(w));if(_)return u.state.loading|=4,u.instance=_,Mn(_),_;v=Jd(f),(w=ho.get(w))&&Uv(v,w),_=(o.ownerDocument||o).createElement("link"),Mn(_);var z=_;return z._p=new Promise(function(J,ge){z.onload=J,z.onerror=ge}),qa(_,"link",v),u.state.loading|=4,Gh(_,f.precedence,o),u.instance=_;case"script":return _=qf(f.src),(w=o.querySelector(Lf(_)))?(u.instance=w,Mn(w),w):(v=f,(w=ho.get(_))&&(v=S({},f),Yh(v,w)),o=o.ownerDocument||o,w=o.createElement("script"),Mn(w),qa(w,"link",v),o.head.appendChild(w),u.instance=w);case"void":return null;default:throw Error(l(443,u.type))}else u.type==="stylesheet"&&(u.state.loading&4)===0&&(v=u.instance,u.state.loading|=4,Gh(v,f.precedence,o));return u.instance}function Gh(o,u,f){for(var v=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),w=v.length?v[v.length-1]:null,_=w,z=0;z<v.length;z++){var J=v[z];if(J.dataset.precedence===u)_=J;else if(_!==w)break}_?_.parentNode.insertBefore(o,_.nextSibling):(u=f.nodeType===9?f.head:f,u.insertBefore(o,u.firstChild))}function Uv(o,u){o.crossOrigin==null&&(o.crossOrigin=u.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=u.referrerPolicy),o.title==null&&(o.title=u.title)}function Yh(o,u){o.crossOrigin==null&&(o.crossOrigin=u.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=u.referrerPolicy),o.integrity==null&&(o.integrity=u.integrity)}var jf=null;function sb(o,u,f){if(jf===null){var v=new Map,w=jf=new Map;w.set(f,v)}else w=jf,v=w.get(f),v||(v=new Map,w.set(f,v));if(v.has(o))return v;for(v.set(o,null),f=f.getElementsByTagName(o),w=0;w<f.length;w++){var _=f[w];if(!(_[au]||_[kn]||o==="link"&&_.getAttribute("rel")==="stylesheet")&&_.namespaceURI!=="http://www.w3.org/2000/svg"){var z=_.getAttribute(u)||"";z=o+z;var J=v.get(z);J?J.push(_):v.set(z,[_])}}return v}function Iv(o,u,f){o=o.ownerDocument||o,o.head.insertBefore(f,u==="title"?o.querySelector("head > title"):null)}function cb(o,u,f){if(f===1||u.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return o=u.disabled,typeof u.precedence=="string"&&o==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function mo(o){return!(o.type==="stylesheet"&&(o.state.loading&3)===0)}function Ll(o,u,f,v){if(f.type==="stylesheet"&&(typeof v.media!="string"||matchMedia(v.media).matches!==!1)&&(f.state.loading&4)===0){if(f.instance===null){var w=Ho(v.href),_=u.querySelector(ds(w));if(_){u=_._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(o.count++,o=Hv.bind(o),u.then(o,o)),f.state.loading|=4,f.instance=_,Mn(_);return}_=u.ownerDocument||u,v=Jd(v),(w=ho.get(w))&&Uv(v,w),_=_.createElement("link"),Mn(_);var z=_;z._p=new Promise(function(J,ge){z.onload=J,z.onerror=ge}),qa(_,"link",v),f.instance=_}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(f,u),(u=f.state.preload)&&(f.state.loading&3)===0&&(o.count++,f=Hv.bind(o),u.addEventListener("load",f),u.addEventListener("error",f))}}var Vo=0;function fb(o,u){return o.stylesheets&&o.count===0&&Fv(o,o.stylesheets),0<o.count||0<o.imgCount?function(f){var v=setTimeout(function(){if(o.stylesheets&&Fv(o,o.stylesheets),o.unsuspend){var _=o.unsuspend;o.unsuspend=null,_()}},6e4+u);0<o.imgBytes&&Vo===0&&(Vo=62500*Nf());var w=setTimeout(function(){if(o.waitingForImages=!1,o.count===0&&(o.stylesheets&&Fv(o,o.stylesheets),o.unsuspend)){var _=o.unsuspend;o.unsuspend=null,_()}},(o.imgBytes>Vo?50:800)+u);return o.unsuspend=f,function(){o.unsuspend=null,clearTimeout(v),clearTimeout(w)}}:null}function Hv(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fv(this,this.stylesheets);else if(this.unsuspend){var o=this.unsuspend;this.unsuspend=null,o()}}}var Vv=null;function Fv(o,u){o.stylesheets=null,o.unsuspend!==null&&(o.count++,Vv=new Map,u.forEach(da,o),Vv=null,Hv.call(o))}function da(o,u){if(!(u.state.loading&4)){var f=Vv.get(o);if(f)var v=f.get(null);else{f=new Map,Vv.set(o,f);for(var w=o.querySelectorAll("link[data-precedence],style[data-precedence]"),_=0;_<w.length;_++){var z=w[_];(z.nodeName==="LINK"||z.getAttribute("media")!=="not all")&&(f.set(z.dataset.precedence,z),v=z)}v&&f.set(null,v)}w=u.instance,z=w.getAttribute("data-precedence"),_=f.get(z)||v,_===v&&f.set(null,w),f.set(z,w),this.count++,v=Hv.bind(this),w.addEventListener("load",v),w.addEventListener("error",v),_?_.parentNode.insertBefore(w,_.nextSibling):(o=o.nodeType===9?o.head:o,o.insertBefore(w,o.firstChild)),u.state.loading|=4}}var ep={$$typeof:I,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function db(o,u,f,v,w,_,z,J,ge){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=Uc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uc(0),this.hiddenUpdates=Uc(null),this.identifierPrefix=v,this.onUncaughtError=w,this.onCaughtError=_,this.onRecoverableError=z,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=ge,this.incompleteTransitions=new Map}function Kv(o,u,f,v,w,_,z,J,ge,qe,Ye,We){return o=new db(o,u,f,z,ge,qe,Ye,We,J),u=1,_===!0&&(u|=24),_=Jn(3,null,null,u),o.current=_,_.stateNode=o,u=Mo(),u.refCount++,o.pooledCache=u,u.refCount++,_.memoizedState={element:v,isDehydrated:f,cache:u},ai(_),o}function zf(o){return o?(o=Sa,o):Sa}function H0(o,u,f,v,w,_){w=zf(w),v.context===null?v.context=w:v.pendingContext=w,v=es(u),v.payload={element:f},_=_===void 0?null:_,_!==null&&(v.callback=_),f=Ya(o,v,u),f!==null&&($l(f,o,u),Zs(f,o,u))}function Gv(o,u){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var f=o.retryLane;o.retryLane=f!==0&&f<u?f:u}}function pb(o,u){Gv(o,u),(o=o.alternate)&&Gv(o,u)}function V0(o){if(o.tag===13||o.tag===31){var u=Wo(o,67108864);u!==null&&$l(u,o,67108864),pb(o,67108864)}}function Bf(o){if(o.tag===13||o.tag===31){var u=fo();u=Lm(u);var f=Wo(o,u);f!==null&&$l(f,o,u),pb(o,u)}}var pa=!0;function Pu(o,u,f,v){var w=B.T;B.T=null;var _=Z.p;try{Z.p=2,La(o,u,f,v)}finally{Z.p=_,B.T=w}}function qu(o,u,f,v){var w=B.T;B.T=null;var _=Z.p;try{Z.p=8,La(o,u,f,v)}finally{Z.p=_,B.T=w}}function La(o,u,f,v){if(pa){var w=hb(v);if(w===null)tb(o,u,v,Yv,f),ps(o,v);else if(F0(w,o,u,f,v))v.stopPropagation();else if(ps(o,v),u&4&&-1<jl.indexOf(o)){for(;w!==null;){var _=lu(w);if(_!==null)switch(_.tag){case 3:if(_=_.stateNode,_.current.memoizedState.isDehydrated){var z=Gl(_.pendingLanes);if(z!==0){var J=_;for(J.pendingLanes|=2,J.entangledLanes|=2;z;){var ge=1<<31-Or(z);J.entanglements[1]|=ge,z&=~ge}$u(_),(Sn&6)===0&&(hn=rt()+500,ss(0))}}break;case 31:case 13:J=Wo(_,2),J!==null&&$l(J,_,2),Id(),pb(_,2)}if(_=hb(v),_===null&&tb(o,u,v,Yv,f),_===w)break;w=_}w!==null&&v.stopPropagation()}else tb(o,u,v,null,f)}}function hb(o){return o=Im(o),tp(o)}var Yv=null;function tp(o){if(Yv=null,o=Hc(o),o!==null){var u=c(o);if(u===null)o=null;else{var f=u.tag;if(f===13){if(o=h(u),o!==null)return o;o=null}else if(f===31){if(o=m(u),o!==null)return o;o=null}else if(f===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;o=null}else u!==o&&(o=null)}}return Yv=o,null}function Xh(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(at()){case bt:return 2;case Wt:return 8;case Yt:case ya:return 32;case Qo:return 268435456;default:return 32}default:return 32}}var np=!1,ha=null,ja=null,el=null,bc=new Map,ci=new Map,hr=[],jl="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 ps(o,u){switch(o){case"focusin":case"focusout":ha=null;break;case"dragenter":case"dragleave":ja=null;break;case"mouseover":case"mouseout":el=null;break;case"pointerover":case"pointerout":bc.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":ci.delete(u.pointerId)}}function hs(o,u,f,v,w,_){return o===null||o.nativeEvent!==_?(o={blockedOn:u,domEventName:f,eventSystemFlags:v,nativeEvent:_,targetContainers:[w]},u!==null&&(u=lu(u),u!==null&&V0(u)),o):(o.eventSystemFlags|=v,u=o.targetContainers,w!==null&&u.indexOf(w)===-1&&u.push(w),o)}function F0(o,u,f,v,w){switch(u){case"focusin":return ha=hs(ha,o,u,f,v,w),!0;case"dragenter":return ja=hs(ja,o,u,f,v,w),!0;case"mouseover":return el=hs(el,o,u,f,v,w),!0;case"pointerover":var _=w.pointerId;return bc.set(_,hs(bc.get(_)||null,o,u,f,v,w)),!0;case"gotpointercapture":return _=w.pointerId,ci.set(_,hs(ci.get(_)||null,o,u,f,v,w)),!0}return!1}function mb(o){var u=Hc(o.target);if(u!==null){var f=c(u);if(f!==null){if(u=f.tag,u===13){if(u=h(f),u!==null){o.blockedOn=u,Vg(o.priority,function(){Bf(f)});return}}else if(u===31){if(u=m(f),u!==null){o.blockedOn=u,Vg(o.priority,function(){Bf(f)});return}}else if(u===3&&f.stateNode.current.memoizedState.isDehydrated){o.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}o.blockedOn=null}function Qh(o){if(o.blockedOn!==null)return!1;for(var u=o.targetContainers;0<u.length;){var f=hb(o.nativeEvent);if(f===null){f=o.nativeEvent;var v=new f.constructor(f.type,f);Um=v,f.target.dispatchEvent(v),Um=null}else return u=lu(f),u!==null&&V0(u),o.blockedOn=f,!1;u.shift()}return!0}function rp(o,u,f){Qh(o)&&f.delete(u)}function K0(){np=!1,ha!==null&&Qh(ha)&&(ha=null),ja!==null&&Qh(ja)&&(ja=null),el!==null&&Qh(el)&&(el=null),bc.forEach(rp),ci.forEach(rp)}function fi(o,u){o.blockedOn===u&&(o.blockedOn=null,np||(np=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,K0)))}var ap=null;function G0(o){ap!==o&&(ap=o,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ap===o&&(ap=null);for(var u=0;u<o.length;u+=3){var f=o[u],v=o[u+1],w=o[u+2];if(typeof v!="function"){if(tp(v||f)===null)continue;break}var _=lu(f);_!==null&&(o.splice(u,3),u-=3,ji(_,{pending:!0,data:w,method:f.method,action:v},v,w))}}))}function lp(o){function u(ge){return fi(ge,o)}ha!==null&&fi(ha,o),ja!==null&&fi(ja,o),el!==null&&fi(el,o),bc.forEach(u),ci.forEach(u);for(var f=0;f<hr.length;f++){var v=hr[f];v.blockedOn===o&&(v.blockedOn=null)}for(;0<hr.length&&(f=hr[0],f.blockedOn===null);)mb(f),f.blockedOn===null&&hr.shift();if(f=(o.ownerDocument||o).$$reactFormReplay,f!=null)for(v=0;v<f.length;v+=3){var w=f[v],_=f[v+1],z=w[gl]||null;if(typeof _=="function")z||G0(f);else if(z){var J=null;if(_&&_.hasAttribute("formAction")){if(w=_,z=_[gl]||null)J=z.formAction;else if(tp(w)!==null)continue}else J=z.action;typeof J=="function"?f[v+1]=J:(f.splice(v,3),v-=3),G0(f)}}}function tl(){function o(_){_.canIntercept&&_.info==="react-transition"&&_.intercept({handler:function(){return new Promise(function(z){return w=z})},focusReset:"manual",scroll:"manual"})}function u(){w!==null&&(w(),w=null),v||setTimeout(f,20)}function f(){if(!v&&!navigation.transition){var _=navigation.currentEntry;_&&_.url!=null&&navigation.navigate(_.url,{state:_.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var v=!1,w=null;return navigation.addEventListener("navigate",o),navigation.addEventListener("navigatesuccess",u),navigation.addEventListener("navigateerror",u),setTimeout(f,100),function(){v=!0,navigation.removeEventListener("navigate",o),navigation.removeEventListener("navigatesuccess",u),navigation.removeEventListener("navigateerror",u),w!==null&&(w(),w=null)}}}function op(o){this._internalRoot=o}Xv.prototype.render=op.prototype.render=function(o){var u=this._internalRoot;if(u===null)throw Error(l(409));var f=u.current,v=fo();H0(f,v,o,u,null,null)},Xv.prototype.unmount=op.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var u=o.containerInfo;H0(o.current,2,null,o,null,null),Id(),u[Ps]=null}};function Xv(o){this._internalRoot=o}Xv.prototype.unstable_scheduleHydration=function(o){if(o){var u=jm();o={blockedOn:null,target:o,priority:u};for(var f=0;f<hr.length&&u!==0&&u<hr[f].priority;f++);hr.splice(f,0,o),f===0&&mb(o)}};var vb=t.version;if(vb!=="19.2.3")throw Error(l(527,vb,"19.2.3"));Z.findDOMNode=function(o){var u=o._reactInternals;if(u===void 0)throw typeof o.render=="function"?Error(l(188)):(o=Object.keys(o).join(","),Error(l(268,o)));return o=E(u),o=o!==null?C(o):null,o=o===null?null:o.stateNode,o};var Y0={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zh.isDisabled&&Zh.supportsFiber)try{hl=Zh.inject(Y0),Mr=Zh}catch{}}return sE.createRoot=function(o,u){if(!s(o))throw Error(l(299));var f=!1,v="",w=gh,_=fv,z=dv;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(v=u.identifierPrefix),u.onUncaughtError!==void 0&&(w=u.onUncaughtError),u.onCaughtError!==void 0&&(_=u.onCaughtError),u.onRecoverableError!==void 0&&(z=u.onRecoverableError)),u=Kv(o,1,!1,null,null,f,v,null,w,_,z,tl),o[Ps]=u.current,Kd(o),new op(u)},sE.hydrateRoot=function(o,u,f){if(!s(o))throw Error(l(299));var v=!1,w="",_=gh,z=fv,J=dv,ge=null;return f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(w=f.identifierPrefix),f.onUncaughtError!==void 0&&(_=f.onUncaughtError),f.onCaughtError!==void 0&&(z=f.onCaughtError),f.onRecoverableError!==void 0&&(J=f.onRecoverableError),f.formState!==void 0&&(ge=f.formState)),u=Kv(o,1,!0,u,f??null,v,w,ge,_,z,J,tl),u.context=zf(null),f=u.current,v=fo(),v=Lm(v),w=es(v),w.callback=null,Ya(f,w,v),f=v,u.current.lanes=f,$s(u,f),$u(u),o[Ps]=u.current,Kd(o),new Xv(u)},sE.version="19.2.3",sE}var cE={};var GN;function zY(){return GN||(GN=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,i,d){if(i>=a.length)return d;var y=a[i],x=Zr(n)?n.slice():ht({},n);return x[y]=t(n[y],a,i+1,d),x}function r(n,a,i){if(a.length!==i.length)console.warn("copyWithRename() expects paths of the same length");else{for(var d=0;d<i.length-1;d++)if(a[d]!==i[d]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return l(n,a,i,0)}}function l(n,a,i,d){var y=a[d],x=Zr(n)?n.slice():ht({},n);return d+1===a.length?(x[i[d]]=x[y],Zr(x)?x.splice(y,1):delete x[y]):x[y]=l(n[y],a,i,d+1),x}function s(n,a,i){var d=a[i],y=Zr(n)?n.slice():ht({},n);return i+1===a.length?(Zr(y)?y.splice(d,1):delete y[d],y):(y[d]=s(n[d],a,i+1),y)}function c(){return!1}function h(){return null}function m(){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 b(){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 E(){}function C(){}function S(n){var a=[];return n.forEach(function(i){a.push(i)}),a.sort().join(", ")}function R(n,a,i,d){return new ly(n,a,i,d)}function M(n,a){n.context===Jv&&(er(n.current,2,a,n,null,null),uo())}function q(n,a){if(Sc!==null){var i=a.staleFamilies;a=a.updatedFamilies,_h(),Wl(n.current,a,i),uo()}}function N(n){Sc=n}function L(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function P(n){var a=n,i=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(i=a.return),n=a.return;while(n)}return a.tag===3?i: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.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function Y(n){if(P(n)!==n)throw Error("Unable to find node on an unmounted component.")}function V(n){var a=n.alternate;if(!a){if(a=P(n),a===null)throw Error("Unable to find node on an unmounted component.");return a!==n?null:n}for(var i=n,d=a;;){var y=i.return;if(y===null)break;var x=y.alternate;if(x===null){if(d=y.return,d!==null){i=d;continue}break}if(y.child===x.child){for(x=y.child;x;){if(x===i)return Y(y),n;if(x===d)return Y(y),a;x=x.sibling}throw Error("Unable to find node on an unmounted component.")}if(i.return!==d.return)i=y,d=x;else{for(var A=!1,$=y.child;$;){if($===i){A=!0,i=y,d=x;break}if($===d){A=!0,d=y,i=x;break}$=$.sibling}if(!A){for($=x.child;$;){if($===i){A=!0,i=x,d=y;break}if($===d){A=!0,d=x,i=y;break}$=$.sibling}if(!A)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(i.alternate!==d)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(i.tag!==3)throw Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?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 K(n){return n===null||typeof n!="object"?null:(n=U0&&n[U0]||n["@@iterator"],typeof n=="function"?n:null)}function Q(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===gc?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Qd:return"Fragment";case Fh:return"Profiler";case ql:return"StrictMode";case Pf:return"Suspense";case ho: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 Fi:return"Portal";case Ki:return n.displayName||"Context";case kv:return(n._context.displayName||"Context")+".Consumer";case Zd:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Kh:return a=n.displayName||null,a!==null?a:Q(n.type)||"Memo";case Ja:a=n._payload,n=n._init;try{return Q(n(a))}catch{}}return null}function he(n){return typeof n.tag=="number"?de(n):typeof n.name=="string"?n.name:null}function de(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";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 Q(a);case 8:return a===ql?"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 i=a.length-1;0<=i;i--)if(typeof a[i].name=="string")return a[i].name}if(n.return!==null)return de(n.return)}return null}function W(n){return{current:n}}function se(n,a){0>qr?console.error("Unexpected pop."):(a!==Wr[qr]&&console.error("Unexpected Fiber popped."),n.current=ib[qr],ib[qr]=null,Wr[qr]=null,qr--)}function le(n,a,i){qr++,ib[qr]=n.current,Wr[qr]=i,n.current=a}function ae(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 xe(n,a){le(Ho,a,n),le(Wd,n,n),le(yc,null,n);var i=a.nodeType;switch(i){case 9:case 11:i=i===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?Iy(a):fm;break;default:if(i=a.tagName,a=a.namespaceURI)a=Iy(a),a=Ou(a,i);else switch(i){case"svg":a=S1;break;case"math":a=kR;break;default:a=fm}}i=i.toLowerCase(),i=ud(null,i),i={context:a,ancestorInfo:i},se(yc,n),le(yc,i,n)}function B(n){se(yc,n),se(Wd,n),se(Ho,n)}function Z(){return ae(yc.current)}function te(n){n.memoizedState!==null&&le(ds,n,n);var a=ae(yc.current),i=n.type,d=Ou(a.context,i);i=ud(a.ancestorInfo,i),d={context:d,ancestorInfo:i},a!==d&&(le(Wd,n,n),le(yc,d,n))}function be(n){Wd.current===n&&(se(yc,n),se(Wd,n)),ds.current===n&&(se(ds,n),nE._currentValue=zb)}function re(){}function oe(){if(Jd===0){I0=console.log,qf=console.info,Lf=console.warn,ub=console.error,Gh=console.group,Uv=console.groupCollapsed,Yh=console.groupEnd;var n={configurable:!0,enumerable:!0,value:re,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Jd++}function ue(){if(Jd--,Jd===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ht({},n,{value:I0}),info:ht({},n,{value:qf}),warn:ht({},n,{value:Lf}),error:ht({},n,{value:ub}),group:ht({},n,{value:Gh}),groupCollapsed:ht({},n,{value:Uv}),groupEnd:ht({},n,{value:Yh})})}0>Jd&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ce(n){var a=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,n=n.stack,Error.prepareStackTrace=a,n.startsWith(`Error: react-stack-top-frame
|
|
64
|
+
`)&&(n=n.slice(29)),a=n.indexOf(`
|
|
65
|
+
`),a!==-1&&(n=n.slice(a+1)),a=n.indexOf("react_stack_bottom_frame"),a!==-1&&(a=n.lastIndexOf(`
|
|
66
|
+
`,a)),a!==-1)n=n.slice(0,a);else return"";return n}function De(n){if(jf===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);jf=a&&a[1]||"",sb=-1<i.stack.indexOf(`
|
|
67
|
+
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
68
|
+
`+jf+n+sb}function je(n,a){if(!n||Iv)return"";var i=cb.get(n);if(i!==void 0)return i;Iv=!0,i=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var d=null;d=Ue.H,Ue.H=null,oe();try{var y={DetermineComponentFrameRoot:function(){try{if(a){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(ut){var Be=ut}Reflect.construct(n,[],ve)}else{try{ve.call()}catch(ut){Be=ut}n.call(ve.prototype)}}else{try{throw Error()}catch(ut){Be=ut}(ve=n())&&typeof ve.catch=="function"&&ve.catch(function(){})}}catch(ut){if(ut&&Be&&typeof ut.stack=="string")return[ut.stack,Be.stack]}return[null,null]}};y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var x=Object.getOwnPropertyDescriptor(y.DetermineComponentFrameRoot,"name");x&&x.configurable&&Object.defineProperty(y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var A=y.DetermineComponentFrameRoot(),$=A[0],H=A[1];if($&&H){var X=$.split(`
|
|
69
|
+
`),Re=H.split(`
|
|
70
|
+
`);for(A=x=0;x<X.length&&!X[x].includes("DetermineComponentFrameRoot");)x++;for(;A<Re.length&&!Re[A].includes("DetermineComponentFrameRoot");)A++;if(x===X.length||A===Re.length)for(x=X.length-1,A=Re.length-1;1<=x&&0<=A&&X[x]!==Re[A];)A--;for(;1<=x&&0<=A;x--,A--)if(X[x]!==Re[A]){if(x!==1||A!==1)do if(x--,A--,0>A||X[x]!==Re[A]){var Te=`
|
|
71
|
+
`+X[x].replace(" at new "," at ");return n.displayName&&Te.includes("<anonymous>")&&(Te=Te.replace("<anonymous>",n.displayName)),typeof n=="function"&&cb.set(n,Te),Te}while(1<=x&&0<=A);break}}}finally{Iv=!1,Ue.H=d,ue(),Error.prepareStackTrace=i}return X=(X=n?n.displayName||n.name:"")?De(X):"",typeof n=="function"&&cb.set(n,X),X}function Ke(n,a){switch(n.tag){case 26:case 27:case 5:return De(n.type);case 16:return De("Lazy");case 13:return n.child!==a&&a!==null?De("Suspense Fallback"):De("Suspense");case 19:return De("SuspenseList");case 0:case 15:return je(n.type,!1);case 11:return je(n.type.render,!1);case 1:return je(n.type,!0);case 31:return De("Activity");default:return""}}function _e(n){try{var a="",i=null;do{a+=Ke(n,i);var d=n._debugInfo;if(d)for(var y=d.length-1;0<=y;y--){var x=d[y];if(typeof x.name=="string"){var A=a;e:{var $=x.name,H=x.env,X=x.debugLocation;if(X!=null){var Re=ce(X),Te=Re.lastIndexOf(`
|
|
72
|
+
`),ve=Te===-1?Re:Re.slice(Te+1);if(ve.indexOf($)!==-1){var Be=`
|
|
73
|
+
`+ve;break e}}Be=De($+(H?" ["+H+"]":""))}a=A+Be}}i=n,n=n.return}while(n);return a}catch(ut){return`
|
|
74
|
+
Error generating stack: `+ut.message+`
|
|
75
|
+
`+ut.stack}}function Je(n){return(n=n?n.displayName||n.name:"")?De(n):""}function ie(){if(mo===null)return null;var n=mo._debugOwner;return n!=null?he(n):null}function ke(){if(mo===null)return"";var n=mo;try{var a="";switch(n.tag===6&&(n=n.return),n.tag){case 26:case 27:case 5:a+=De(n.type);break;case 13:a+=De("Suspense");break;case 19:a+=De("SuspenseList");break;case 31:a+=De("Activity");break;case 30:case 0:case 15:case 1:n._debugOwner||a!==""||(a+=Je(n.type));break;case 11:n._debugOwner||a!==""||(a+=Je(n.type.render))}for(;n;)if(typeof n.tag=="number"){var i=n;n=i._debugOwner;var d=i._debugStack;if(n&&d){var y=ce(d);y!==""&&(a+=`
|
|
76
|
+
`+y)}}else if(n.debugStack!=null){var x=n.debugStack;(n=n.owner)&&x&&(a+=`
|
|
77
|
+
`+ce(x))}else break;var A=a}catch($){A=`
|
|
78
|
+
Error generating stack: `+$.message+`
|
|
79
|
+
`+$.stack}return A}function Ee(n,a,i,d,y,x,A){var $=mo;Ae(n);try{return n!==null&&n._debugTask?n._debugTask.run(a.bind(null,i,d,y,x,A)):a(i,d,y,x,A)}finally{Ae($)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ae(n){Ue.getCurrentStack=n===null?null:ke,Ll=!1,mo=n}function ot(n){return typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object"}function vt(n){try{return Xt(n),!1}catch{return!0}}function Xt(n){return""+n}function Nt(n,a){if(vt(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,ot(n)),Xt(n)}function Kn(n,a){if(vt(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,ot(n)),Xt(n)}function As(n){if(vt(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.",ot(n)),Xt(n)}function Ds(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{Bf=a.inject(n),pa=a}catch(i){console.error("React instrumentation encountered an error: %o.",i)}return!!a.checkDCE}function pe(n){if(typeof pb=="function"&&V0(n),pa&&typeof pa.setStrictMode=="function")try{pa.setStrictMode(Bf,n)}catch(a){Pu||(Pu=!0,console.error("React instrumentation encountered an error: %o",a))}}function $e(n){return n>>>=0,n===0?32:31-(hb(n)/Yv|0)|0}function Ve(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:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;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 st(n,a,i){var d=n.pendingLanes;if(d===0)return 0;var y=0,x=n.suspendedLanes,A=n.pingedLanes;n=n.warmLanes;var $=d&134217727;return $!==0?(d=$&~x,d!==0?y=Ve(d):(A&=$,A!==0?y=Ve(A):i||(i=$&~n,i!==0&&(y=Ve(i))))):($=d&~x,$!==0?y=Ve($):A!==0?y=Ve(A):i||(i=d&~n,i!==0&&(y=Ve(i)))),y===0?0:a!==0&&a!==y&&(a&x)===0&&(x=y&-y,i=a&-a,x>=i||x===32&&(i&4194048)!==0)?a:y}function rt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function at(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 bt(){var n=np;return np<<=1,(np&62914560)===0&&(np=4194304),n}function Wt(n){for(var a=[],i=0;31>i;i++)a.push(n);return a}function Yt(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function ya(n,a,i,d,y,x){var A=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var $=n.entanglements,H=n.expirationTimes,X=n.hiddenUpdates;for(i=A&~i;0<i;){var Re=31-La(i),Te=1<<Re;$[Re]=0,H[Re]=-1;var ve=X[Re];if(ve!==null)for(X[Re]=null,Re=0;Re<ve.length;Re++){var Be=ve[Re];Be!==null&&(Be.lane&=-536870913)}i&=~Te}d!==0&&Qo(n,d,0),x!==0&&y===0&&n.tag!==0&&(n.suspendedLanes|=x&~(A&~a))}function Qo(n,a,i){n.pendingLanes|=a,n.suspendedLanes&=~a;var d=31-La(a);n.entangledLanes|=a,n.entanglements[d]=n.entanglements[d]|1073741824|i&261930}function pl(n,a){var i=n.entangledLanes|=a;for(n=n.entanglements;i;){var d=31-La(i),y=1<<d;y&a|n[d]&a&&(n[d]|=a),i&=~y}}function Ms(n,a){var i=a&-a;return i=(i&42)!==0?1:hl(i),(i&(n.suspendedLanes|a))!==0?0:i}function hl(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 Mr(n,a,i){if(qu)for(n=n.pendingUpdatersLaneMap;0<i;){var d=31-La(i),y=1<<d;n[d].add(a),i&=~y}}function ml(n,a){if(qu)for(var i=n.pendingUpdatersLaneMap,d=n.memoizedUpdaters;0<a;){var y=31-La(a);n=1<<y,y=i[y],0<y.size&&(y.forEach(function(x){var A=x.alternate;A!==null&&d.has(A)||d.add(x)}),y.clear()),a&=~n}}function Or(n){return n&=-n,ha<n?ja<n?(n&134217727)!==0?el:bc:ja:ha}function Os(){var n=An.p;return n!==0?n:(n=window.event,n===void 0?el:Yd(n.type))}function kc(n,a){var i=An.p;try{return An.p=n,a()}finally{An.p=i}}function Cp(n){delete n[hr],delete n[jl],delete n[hs],delete n[F0],delete n[mb]}function gi(n){var a=n[hr];if(a)return a;for(var i=n.parentNode;i;){if(a=i[ps]||i[hr]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(n=vc(n);n!==null;){if(i=n[hr])return i;n=vc(n)}return a}n=i,i=n.parentNode}return null}function Kl(n){if(n=n[hr]||n[ps]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function yi(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Gl(n){var a=n[Qh];return a||(a=n[Qh]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function xr(n){n[rp]=!0}function xo(n,a){Ns(n,a),Ns(n+"Capture",a)}function Ns(n,a){fi[n]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",n),fi[n]=a;var i=n.toLowerCase();for(ap[i]=n,n==="onDoubleClick"&&(ap.ondblclick=n),n=0;n<a.length;n++)K0.add(a[n])}function lt(n,a){G0[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 Uc(n){return Vo.call(op,n)?!0:Vo.call(tl,n)?!1:lp.test(n)?op[n]=!0:(tl[n]=!0,console.error("Invalid attribute name: `%s`",n),!1)}function $s(n,a,i){if(Uc(a)){if(!n.hasAttribute(a)){switch(typeof i){case"symbol":case"object":return i;case"function":return i;case"boolean":if(i===!1)return i}return i===void 0?void 0:null}return n=n.getAttribute(a),n===""&&i===!0?!0:(Nt(i,a),n===""+i?i:n)}}function Iu(n,a,i){if(Uc(a))if(i===null)n.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var d=a.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){n.removeAttribute(a);return}}Nt(i,a),n.setAttribute(a,""+i)}}function Ic(n,a,i){if(i===null)n.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}Nt(i,a),n.setAttribute(a,""+i)}}function ru(n,a,i,d){if(d===null)n.removeAttribute(i);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}Nt(d,i),n.setAttributeNS(a,i,""+d)}}function vl(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return As(n),n;default:return""}}function Lm(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Hg(n,a,i){var d=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var y=d.get,x=d.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return y.call(this)},set:function(A){As(A),i=""+A,x.call(this,A)}}),Object.defineProperty(n,a,{enumerable:d.enumerable}),{getValue:function(){return i},setValue:function(A){As(A),i=""+A},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function jm(n){if(!n._valueTracker){var a=Lm(n)?"checked":"value";n._valueTracker=Hg(n,a,""+n[a])}}function Vg(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var i=a.getValue(),d="";return n&&(d=Lm(n)?n.checked?"true":"false":n.value),n=d,n!==i?(a.setValue(n),!0):!1}function bi(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 kn(n){return n.replace(Xv,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function gl(n,a){a.checked===void 0||a.defaultChecked===void 0||Y0||(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",ie()||"A component",a.type),Y0=!0),a.value===void 0||a.defaultValue===void 0||vb||(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",ie()||"A component",a.type),vb=!0)}function Ps(n,a,i,d,y,x,A,$){n.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?(Nt(A,"type"),n.type=A):n.removeAttribute("type"),a!=null?A==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+vl(a)):n.value!==""+vl(a)&&(n.value=""+vl(a)):A!=="submit"&&A!=="reset"||n.removeAttribute("value"),a!=null?Fg(n,A,vl(a)):i!=null?Fg(n,A,vl(i)):d!=null&&n.removeAttribute("value"),y==null&&x!=null&&(n.defaultChecked=!!x),y!=null&&(n.checked=y&&typeof y!="function"&&typeof y!="symbol"),$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"?(Nt($,"name"),n.name=""+vl($)):n.removeAttribute("name")}function wp(n,a,i,d,y,x,A,$){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(Nt(x,"type"),n.type=x),a!=null||i!=null){if(!(x!=="submit"&&x!=="reset"||a!=null)){jm(n);return}i=i!=null?""+vl(i):"",a=a!=null?""+vl(a):i,$||a===n.value||(n.value=a),n.defaultValue=a}d=d??y,d=typeof d!="function"&&typeof d!="symbol"&&!!d,n.checked=$?n.checked:!!d,n.defaultChecked=!!d,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(Nt(A,"name"),n.name=A),jm(n)}function Fg(n,a,i){a==="number"&&bi(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function p0(n,a){a.value==null&&(typeof a.children=="object"&&a.children!==null?Xd.Children.forEach(a.children,function(i){i==null||typeof i=="string"||typeof i=="number"||typeof i=="bigint"||o||(o=!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||u||(u=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),a.selected==null||Zh||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zh=!0)}function Kg(){var n=ie();return n?`
|
|
80
|
+
|
|
81
|
+
Check the render method of \``+n+"`.":""}function au(n,a,i,d){if(n=n.options,a){a={};for(var y=0;y<i.length;y++)a["$"+i[y]]=!0;for(i=0;i<n.length;i++)y=a.hasOwnProperty("$"+n[i].value),n[i].selected!==y&&(n[i].selected=y),y&&d&&(n[i].defaultSelected=!0)}else{for(i=""+vl(i),a=null,y=0;y<n.length;y++){if(n[y].value===i){n[y].selected=!0,d&&(n[y].defaultSelected=!0);return}a!==null||n[y].disabled||(a=n[y])}a!==null&&(a.selected=!0)}}function zm(n,a){for(n=0;n<v.length;n++){var i=v[n];if(a[i]!=null){var d=Zr(a[i]);a.multiple&&!d?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Kg()):!a.multiple&&d&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Kg())}}a.value===void 0||a.defaultValue===void 0||f||(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"),f=!0)}function Hc(n,a){a.value===void 0||a.defaultValue===void 0||w||(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",ie()||"A component"),w=!0),a.children!=null&&a.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function lu(n,a,i){if(a!=null&&(a=""+vl(a),a!==n.value&&(n.value=a),i==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=i!=null?""+vl(i):""}function rd(n,a,i,d){if(a==null){if(d!=null){if(i!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zr(d)){if(1<d.length)throw Error("<textarea> can only have at most one child.");d=d[0]}i=d}i==null&&(i=""),a=i}i=vl(a),n.defaultValue=i,d=n.textContent,d===i&&d!==""&&d!==null&&(n.value=d),jm(n)}function ou(n,a){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-a?ou(n.children[0],a):n}function Mn(n){return" "+" ".repeat(n)}function Vc(n){return"+ "+" ".repeat(n)}function qs(n){return"- "+" ".repeat(n)}function Hu(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 31:return"Activity";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 xi(n,a){return _.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 Rp(n,a,i){var d=120-2*i;if(a===null)return Vc(i)+xi(n,d)+`
|
|
82
|
+
`;if(typeof a=="string"){for(var y=0;y<a.length&&y<n.length&&a.charCodeAt(y)===n.charCodeAt(y);y++);return y>d-8&&10<y&&(n="..."+n.slice(y-8),a="..."+a.slice(y-8)),Vc(i)+xi(n,d)+`
|
|
83
|
+
`+qs(i)+xi(a,d)+`
|
|
84
|
+
`}return Mn(i)+xi(n,d)+`
|
|
85
|
+
`}function Bm(n){return Object.prototype.toString.call(n).replace(/^\[object (.*)\]$/,function(a,i){return i})}function ad(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(Zr(n))return"[...]";if(n.$$typeof===Io)return(a=Q(n.type))?"<"+a+">":"<...>";var i=Bm(n);if(i==="Object"){i="",a-=2;for(var d in n)if(n.hasOwnProperty(d)){var y=JSON.stringify(d);if(y!=='"'+d+'"'&&(d=y),a-=d.length-2,y=ad(n[d],15>a?a:15),a-=y.length,0>a){i+=i===""?"...":", ...";break}i+=(i===""?"":",")+d+":"+y}return"{"+i+"}"}return i;case"function":return(a=n.displayName||n.name)?"function "+a:"function";default:return String(n)}}function ld(n,a){return typeof n!="string"||_.test(n)?"{"+ad(n,a-2)+"}":n.length>a-2?5>a?'"..."':'"'+n.slice(0,a-5)+'..."':'"'+n+'"'}function od(n,a,i){var d=120-i.length-n.length,y=[],x;for(x in a)if(a.hasOwnProperty(x)&&x!=="children"){var A=ld(a[x],120-i.length-x.length-1);d-=x.length+A.length+2,y.push(x+"="+A)}return y.length===0?i+"<"+n+`>
|
|
86
|
+
`:0<d?i+"<"+n+" "+y.join(" ")+`>
|
|
87
|
+
`:i+"<"+n+`
|
|
88
|
+
`+i+" "+y.join(`
|
|
89
|
+
`+i+" ")+`
|
|
90
|
+
`+i+`>
|
|
91
|
+
`}function Tp(n,a,i){var d="",y=ht({},a),x;for(x in n)if(n.hasOwnProperty(x)){delete y[x];var A=120-2*i-x.length-2,$=ad(n[x],A);a.hasOwnProperty(x)?(A=ad(a[x],A),d+=Vc(i)+x+": "+$+`
|
|
92
|
+
`,d+=qs(i)+x+": "+A+`
|
|
93
|
+
`):d+=Vc(i)+x+": "+$+`
|
|
94
|
+
`}for(var H in y)y.hasOwnProperty(H)&&(n=ad(y[H],120-2*i-H.length-2),d+=qs(i)+H+": "+n+`
|
|
95
|
+
`);return d}function iu(n,a,i,d){var y="",x=new Map;for(X in i)i.hasOwnProperty(X)&&x.set(X.toLowerCase(),X);if(x.size===1&&x.has("children"))y+=od(n,a,Mn(d));else{for(var A in a)if(a.hasOwnProperty(A)&&A!=="children"){var $=120-2*(d+1)-A.length-1,H=x.get(A.toLowerCase());if(H!==void 0){x.delete(A.toLowerCase());var X=a[A];H=i[H];var Re=ld(X,$);$=ld(H,$),typeof X=="object"&&X!==null&&typeof H=="object"&&H!==null&&Bm(X)==="Object"&&Bm(H)==="Object"&&(2<Object.keys(X).length||2<Object.keys(H).length||-1<Re.indexOf("...")||-1<$.indexOf("..."))?y+=Mn(d+1)+A+`={{
|
|
96
|
+
`+Tp(X,H,d+2)+Mn(d+1)+`}}
|
|
97
|
+
`:(y+=Vc(d+1)+A+"="+Re+`
|
|
98
|
+
`,y+=qs(d+1)+A+"="+$+`
|
|
99
|
+
`)}else y+=Mn(d+1)+A+"="+ld(a[A],$)+`
|
|
100
|
+
`}x.forEach(function(Te){if(Te!=="children"){var ve=120-2*(d+1)-Te.length-1;y+=qs(d+1)+Te+"="+ld(i[Te],ve)+`
|
|
101
|
+
`}}),y=y===""?Mn(d)+"<"+n+`>
|
|
102
|
+
`:Mn(d)+"<"+n+`
|
|
103
|
+
`+y+Mn(d)+`>
|
|
104
|
+
`}return n=i.children,a=a.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(x="",(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(x=""+a),y+=Rp(x,""+n,d+1)):(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(y=n==null?y+Rp(""+a,null,d+1):y+Rp(""+a,void 0,d+1)),y}function Yl(n,a){var i=Hu(n);if(i===null){for(i="",n=n.child;n;)i+=Yl(n,a),n=n.sibling;return i}return Mn(a)+"<"+i+`>
|
|
105
|
+
`}function id(n,a){var i=ou(n,a);if(i!==n&&(n.children.length!==1||n.children[0]!==i))return Mn(a)+`...
|
|
106
|
+
`+id(i,a+1);i="";var d=n.fiber._debugInfo;if(d)for(var y=0;y<d.length;y++){var x=d[y].name;typeof x=="string"&&(i+=Mn(a)+"<"+x+`>
|
|
107
|
+
`,a++)}if(d="",y=n.fiber.pendingProps,n.fiber.tag===6)d=Rp(y,n.serverProps,a),a++;else if(x=Hu(n.fiber),x!==null)if(n.serverProps===void 0){d=a;var A=120-2*d-x.length-2,$="";for(X in y)if(y.hasOwnProperty(X)&&X!=="children"){var H=ld(y[X],15);if(A-=X.length+H.length+2,0>A){$+=" ...";break}$+=" "+X+"="+H}d=Mn(d)+"<"+x+$+`>
|
|
108
|
+
`,a++}else n.serverProps===null?(d=od(x,y,Vc(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."):(d=iu(x,y,n.serverProps,a),a++);var X="";for(y=n.fiber.child,x=0;y&&x<n.children.length;)A=n.children[x],A.fiber===y?(X+=id(A,a),x++):X+=Yl(y,a),y=y.sibling;for(y&&0<n.children.length&&(X+=Mn(a)+`...
|
|
109
|
+
`),y=n.serverTail,n.serverProps===null&&a--,n=0;n<y.length;n++)x=y[n],X=typeof x=="string"?X+(qs(a)+xi(x,120-2*a)+`
|
|
110
|
+
`):X+od(x.type,x.props,qs(a));return i+d+X}function Gg(n){try{return`
|
|
111
|
+
|
|
112
|
+
`+id(n,0)}catch{return""}}function _p(n,a,i){for(var d=a,y=null,x=0;d;)d===n&&(x=0),y={fiber:d,children:y!==null?[y]:[],serverProps:d===a?i:d===n?null:void 0,serverTail:[],distanceFromLeaf:x},x++,d=d.return;return y!==null?Gg(y).replaceAll(/^[+-]/gm,">"):""}function ud(n,a){var i=ht({},n||Ye),d={tag:a};return J.indexOf(a)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),ge.indexOf(a)!==-1&&(i.pTagInButtonScope=null),z.indexOf(a)!==-1&&a!=="address"&&a!=="div"&&a!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=d,a==="form"&&(i.formTag=d),a==="a"&&(i.aTagInScope=d),a==="button"&&(i.buttonTagInScope=d),a==="nobr"&&(i.nobrTagInScope=d),a==="p"&&(i.pTagInButtonScope=d),a==="li"&&(i.listItemTagAutoclosing=d),(a==="dd"||a==="dt")&&(i.dlItemTagAutoclosing=d),a==="#document"||a==="html"?i.containerTagInScope=null:i.containerTagInScope||(i.containerTagInScope=d),n!==null||a!=="#document"&&a!=="html"&&a!=="body"?i.implicitRootScope===!0&&(i.implicitRootScope=!1):i.implicitRootScope=!0,i}function sd(n,a,i){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(i)break;return n==="head"||n==="body"||n==="frameset";case"frameset":return n==="frame";case"#document":if(!i)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 qe.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 i||a===null;case"html":return i&&a==="#document"||a===null;case"body":return i&&(a==="#document"||a==="html")||a===null}return!0}function sx(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 Xl(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 cd(n,a){a=a||Ye;var i=a.current;if(a=(i=sd(n,i&&i.tag,a.implicitRootScope)?null:i)?null:sx(n,a),a=i||a,!a)return!0;var d=a.tag;if(a=String(!!i)+"|"+n+"|"+d,We[a])return!1;We[a]=!0;var y=(a=mo)?Xl(a.return,d):null,x=a!==null&&y!==null?_p(y,a,null):"",A="<"+n+">";return i?(i="",d==="table"&&n==="tr"&&(i+=" 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
|
|
113
|
+
This will cause a hydration error.%s`,A,d,i,x)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
114
|
+
This will cause a hydration error.%s`,A,d,x),a&&(n=a.return,y===null||n===null||y===n&&n._debugOwner===a._debugOwner||Ee(y,function(){console.error(`<%s> cannot contain a nested %s.
|
|
115
|
+
See this log for the ancestor stack trace.`,d,A)})),!1}function Fc(n,a,i){if(i||sd("#text",a,!1))return!0;if(i="#text|"+a,We[i])return!1;We[i]=!0;var d=(i=mo)?Xl(i,a):null;return i=i!==null&&d!==null?_p(d,i,i.tag!==6?{children:null}:null):"",/\S/.test(n)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
116
|
+
This will cause a hydration error.%s`,a,i):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.
|
|
117
|
+
This will cause a hydration error.%s`,a,i),!1}function Kc(n,a){if(a){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=a;return}}n.textContent=a}function Gc(n){return n.replace(Oe,function(a,i){return i.toUpperCase()})}function Ap(n,a,i){var d=a.indexOf("--")===0;d||(-1<a.indexOf("-")?Pe.hasOwnProperty(a)&&Pe[a]||(Pe[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,Gc(a.replace(Fn,"ms-")))):Dt.test(a)?Pe.hasOwnProperty(a)&&Pe[a]||(Pe[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!we.test(i)||Ze.hasOwnProperty(i)&&Ze[i]||(Ze[i]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,i.replace(we,""))),typeof i=="number"&&(isNaN(i)?wt||(wt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(i)||gn||(gn=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),i==null||typeof i=="boolean"||i===""?d?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":d?n.setProperty(a,i):typeof i!="number"||i===0||yt.has(a)?a==="float"?n.cssFloat=i:(Kn(i,a),n[a]=(""+i).trim()):n[a]=i+"px"}function Dp(n,a,i){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,i!=null){if(a){var d={};if(i){for(var y in i)if(i.hasOwnProperty(y)&&!a.hasOwnProperty(y))for(var x=Le[y]||[y],A=0;A<x.length;A++)d[x[A]]=y}for(var $ in a)if(a.hasOwnProperty($)&&(!i||i[$]!==a[$]))for(y=Le[$]||[$],x=0;x<y.length;x++)d[y[x]]=$;$={};for(var H in a)for(y=Le[H]||[H],x=0;x<y.length;x++)$[y[x]]=H;H={};for(var X in d)if(y=d[X],(x=$[X])&&y!==x&&(A=y+","+x,!H[A])){H[A]=!0,A=console;var Re=a[y];A.error.call(A,"%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.",Re==null||typeof Re=="boolean"||Re===""?"Removing":"Updating",y,x)}}for(var Te in i)!i.hasOwnProperty(Te)||a!=null&&a.hasOwnProperty(Te)||(Te.indexOf("--")===0?n.setProperty(Te,""):Te==="float"?n.cssFloat="":n[Te]="");for(var ve in a)X=a[ve],a.hasOwnProperty(ve)&&i[ve]!==X&&Ap(n,ve,X)}else for(d in a)a.hasOwnProperty(d)&&Ap(n,d,a[d])}function yl(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 Yg(n){return wn.get(n)||n}function Xg(n,a){if(Vo.call(Qv,a)&&Qv[a])return!0;if(W_.test(a)){if(n="aria-"+a.slice(4).toLowerCase(),n=X0.hasOwnProperty(n)?n:null,n==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),Qv[a]=!0;if(a!==n)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,n),Qv[a]=!0}if(Z_.test(a)){if(n=a.toLowerCase(),n=X0.hasOwnProperty(n)?n:null,n==null)return Qv[a]=!0,!1;a!==n&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,n),Qv[a]=!0)}return!0}function h0(n,a){var i=[],d;for(d in a)Xg(n,d)||i.push(d);a=i.map(function(y){return"`"+y+"`"}).join(", "),i.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,n):1<i.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,n)}function km(n,a,i,d){if(Vo.call(Fo,a)&&Fo[a])return!0;var y=a.toLowerCase();if(y==="onfocusin"||y==="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."),Fo[a]=!0;if(typeof i=="function"&&(n==="form"&&a==="action"||n==="input"&&a==="formAction"||n==="button"&&a==="formAction"))return!0;if(d!=null){if(n=d.possibleRegistrationNames,d.registrationNameDependencies.hasOwnProperty(a))return!0;if(d=n.hasOwnProperty(y)?n[y]:null,d!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,d),Fo[a]=!0;if(p.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),Fo[a]=!0}else if(p.test(a))return g.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Fo[a]=!0;if(T.test(a)||j.test(a))return!0;if(y==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Fo[a]=!0;if(y==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Fo[a]=!0;if(y==="is"&&i!==null&&i!==void 0&&typeof i!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),Fo[a]=!0;if(typeof i=="number"&&isNaN(i))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Fo[a]=!0;if(Yi.hasOwnProperty(y)){if(y=Yi[y],y!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,y),Fo[a]=!0}else if(a!==y)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,y),Fo[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 i){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 y=a.toLowerCase().slice(0,5),y==="data-"||y==="aria-"?!0:(i?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()}.',i,a,a,i,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.',i,a,a,i,a,a,a),Fo[a]=!0)}case"function":case"symbol":return Fo[a]=!0,!1;case"string":if(i==="false"||i==="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}?",i,a,i==="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,i),Fo[a]=!0}}return!0}function m0(n,a,i){var d=[],y;for(y in a)km(n,y,a[y],i)||d.push(y);a=d.map(function(x){return"`"+x+"`"}).join(", "),d.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<d.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 fd(n){return G.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Eo(){}function Ei(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}function Um(n){var a=Kl(n);if(a&&(n=a.stateNode)){var i=n[jl]||null;e:switch(n=a.stateNode,a.type){case"input":if(Ps(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=n;i.parentNode;)i=i.parentNode;for(Nt(a,"name"),i=i.querySelectorAll('input[name="'+kn(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var d=i[a];if(d!==n&&d.form===n.form){var y=d[jl]||null;if(!y)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ps(d,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(a=0;a<i.length;a++)d=i[a],d.form===n.form&&Vg(d)}break e;case"textarea":lu(n,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&au(n,!!i.multiple,a,!1)}}}function Im(n,a,i){if(Ne)return n(a,i);Ne=!0;try{var d=n(a);return d}finally{if(Ne=!1,(fe!==null||Se!==null)&&(uo(),fe&&(a=fe,n=Se,Se=fe=null,Um(a),n)))for(a=0;a<n.length;a++)Um(n[a])}}function Si(n,a){var i=n.stateNode;if(i===null)return null;var d=i[jl]||null;if(d===null)return null;i=d[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":(d=!d.disabled)||(n=n.type,d=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!d;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof i+"` type.");return i}function Yc(){if(Mt)return Mt;var n,a=xt,i=a.length,d,y="value"in it?it.value:it.textContent,x=y.length;for(n=0;n<i&&a[n]===y[n];n++);var A=i-n;for(d=1;d<=A&&a[i-d]===y[x-d];d++);return Mt=y.slice(n,1<d?1-d:void 0)}function Mp(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 dd(){return!0}function Qg(){return!1}function Kr(n){function a(i,d,y,x,A){this._reactName=i,this._targetInst=y,this.type=d,this.nativeEvent=x,this.target=A,this.currentTarget=null;for(var $ in n)n.hasOwnProperty($)&&(i=n[$],this[$]=i?i(x):x[$]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?dd:Qg,this.isPropagationStopped=Qg,this}return ht(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=dd)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=dd)},persist:function(){},isPersistent:dd}),a}function Vu(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=IU[n])?!!a[n]:!1}function Op(){return Vu}function pd(n,a){switch(n){case"keyup":return eI.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==HO;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fu(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}function Zg(n,a){switch(n){case"compositionend":return Fu(a);case"keypress":return a.which!==FO?null:(GO=!0,KO);case"textInput":return n=a.data,n===KO&&GO?null:n;default:return null}}function Un(n,a){if(Q0)return n==="compositionend"||!eA&&pd(n,a)?(n=Yc(),Mt=xt=it=null,Q0=!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 VO&&a.locale!=="ko"?null:a.data;default:return null}}function In(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!nI[n.type]:a==="textarea"}function Hm(n){if(!Qe)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 Np(n,a,i,d){fe?Se?Se.push(d):Se=[d]:fe=d,a=Ui(a,"onChange"),0<a.length&&(i=new Ot("onChange","change",null,i,d),n.push({event:i,listeners:a}))}function v0(n){qn(n,0)}function Da(n){var a=yi(n);if(Vg(a))return n}function Ls(n,a){if(n==="change")return a}function $p(){bx&&(bx.detachEvent("onpropertychange",Xc),xx=bx=null)}function Xc(n){if(n.propertyName==="value"&&Da(xx)){var a=[];Np(a,xx,n,Ei(n)),Im(v0,a)}}function cx(n,a,i){n==="focusin"?($p(),bx=a,xx=i,bx.attachEvent("onpropertychange",Xc)):n==="focusout"&&$p()}function ra(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Da(xx)}function Pp(n,a){if(n==="click")return Da(a)}function Ci(n,a){if(n==="input"||n==="change")return Da(a)}function qp(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}function js(n,a){if(Xi(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var i=Object.keys(n),d=Object.keys(a);if(i.length!==d.length)return!1;for(d=0;d<i.length;d++){var y=i[d];if(!Vo.call(a,y)||!Xi(n[y],a[y]))return!1}return!0}function So(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Wg(n,a){var i=So(n);n=0;for(var d;i;){if(i.nodeType===3){if(d=n+i.textContent.length,n<=a&&d>=a)return{node:i,offset:a-n};n=d}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=So(i)}}function Jg(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Jg(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Lp(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=bi(n.document);a instanceof n.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)n=a.contentWindow;else break;a=bi(n.document)}return a}function Vm(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 ey(n,a,i){var d=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;nA||Z0==null||Z0!==bi(d)||(d=Z0,"selectionStart"in d&&Vm(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ex&&js(Ex,d)||(Ex=d,d=Ui(tA,"onSelect"),0<d.length&&(a=new Ot("onSelect","select",null,a,i),n.push({event:a,listeners:d}),a.target=Z0)))}function zs(n,a){var i={};return i[n.toLowerCase()]=a.toLowerCase(),i["Webkit"+n]="webkit"+a,i["Moz"+n]="moz"+a,i}function aa(n){if(rA[n])return rA[n];if(!W0[n])return n;var a=W0[n],i;for(i in a)if(a.hasOwnProperty(i)&&i in XO)return rA[n]=a[i];return n}function wi(n,a){e3.set(n,a),xo(a,[n])}function Co(n){for(var a=eR,i=0;i<n.length;i++){var d=n[i];if(typeof d=="object"&&d!==null)if(Zr(d)&&d.length===2&&typeof d[0]=="string"){if(a!==eR&&a!==uA)return oA;a=uA}else return oA;else{if(typeof d=="function"||typeof d=="string"&&50<d.length||a!==eR&&a!==iA)return oA;a=iA}}return a}function ty(n,a,i,d){for(var y in n)Vo.call(n,y)&&y[0]!=="_"&&Ri(y,n[y],a,i,d)}function Ri(n,a,i,d,y){switch(typeof a){case"object":if(a===null){a="null";break}else{if(a.$$typeof===Io){var x=Q(a.type)||"…",A=a.key;a=a.props;var $=Object.keys(a),H=$.length;if(A==null&&H===0){a="<"+x+" />";break}if(3>d||H===1&&$[0]==="children"&&A==null){a="<"+x+" … />";break}i.push([y+" ".repeat(d)+n,"<"+x]),A!==null&&Ri("key",A,i,d+1,y),n=!1;for(var X in a)X==="children"?a.children!=null&&(!Zr(a.children)||0<a.children.length)&&(n=!0):Vo.call(a,X)&&X[0]!=="_"&&Ri(X,a[X],i,d+1,y);i.push(["",n?">…</"+x+">":"/>"]);return}if(x=Object.prototype.toString.call(a),x=x.slice(8,x.length-1),x==="Array"){if(X=Co(a),X===iA||X===eR){a=JSON.stringify(a);break}else if(X===uA){for(i.push([y+" ".repeat(d)+n,""]),n=0;n<a.length;n++)x=a[n],Ri(x[0],x[1],i,d+1,y);return}}if(x==="Promise"){if(a.status==="fulfilled"){if(x=i.length,Ri(n,a.value,i,d,y),i.length>x){i=i[x],i[1]="Promise<"+(i[1]||"Object")+">";return}}else if(a.status==="rejected"&&(x=i.length,Ri(n,a.reason,i,d,y),i.length>x)){i=i[x],i[1]="Rejected Promise<"+i[1]+">";return}i.push([" ".repeat(d)+n,"Promise"]);return}x==="Object"&&(X=Object.getPrototypeOf(a))&&typeof X.constructor=="function"&&(x=X.constructor.name),i.push([y+" ".repeat(d)+n,x==="Object"?3>d?"":"…":x]),3>d&&ty(a,i,d+1,y);return}case"function":a=a.name===""?"() => {}":a.name+"() {}";break;case"string":a=a===sI?"…":JSON.stringify(a);break;case"undefined":a="undefined";break;case"boolean":a=a?"true":"false";break;default:a=String(a)}i.push([y+" ".repeat(d)+n,a])}function Ku(n,a,i,d){var y=!0;for(A in n)A in a||(i.push([tR+" ".repeat(d)+A,"…"]),y=!1);for(var x in a)if(x in n){var A=n[x],$=a[x];if(A!==$){if(d===0&&x==="children")y=" ".repeat(d)+x,i.push([tR+y,"…"],[nR+y,"…"]);else{if(!(3<=d)){if(typeof A=="object"&&typeof $=="object"&&A!==null&&$!==null&&A.$$typeof===$.$$typeof)if($.$$typeof===Io){if(A.type===$.type&&A.key===$.key){A=Q($.type)||"…",y=" ".repeat(d)+x,A="<"+A+" … />",i.push([tR+y,A],[nR+y,A]),y=!1;continue}}else{var H=Object.prototype.toString.call(A),X=Object.prototype.toString.call($);if(H===X&&(X==="[object Object]"||X==="[object Array]")){H=[r3+" ".repeat(d)+x,X==="[object Array]"?"Array":""],i.push(H),X=i.length,Ku(A,$,i,d+1)?X===i.length&&(H[1]="Referentially unequal but deeply equal objects. Consider memoization."):y=!1;continue}}else if(typeof A=="function"&&typeof $=="function"&&A.name===$.name&&A.length===$.length&&(H=Function.prototype.toString.call(A),X=Function.prototype.toString.call($),H===X)){A=$.name===""?"() => {}":$.name+"() {}",i.push([r3+" ".repeat(d)+x,A+" Referentially unequal function closure. Consider memoization."]);continue}}Ri(x,A,i,d,tR),Ri(x,$,i,d,nR)}y=!1}}else i.push([nR+" ".repeat(d)+x,"…"]),y=!1;return y}function Ql(n){Rn=n&63?"Blocking":n&64?"Gesture":n&4194176?"Transition":n&62914560?"Suspense":n&2080374784?"Idle":"Other"}function Zl(n,a,i,d){jr&&(Wv.start=a,Wv.end=i,Wh.color="warning",Wh.tooltipText=d,Wh.properties=null,(n=n._debugTask)?n.run(performance.measure.bind(performance,d,Wv)):performance.measure(d,Wv))}function Gn(n,a,i){Zl(n,a,i,"Reconnect")}function Ti(n,a,i,d,y){var x=de(n);if(x!==null&&jr){var A=n.alternate,$=n.actualDuration;if(A===null||A.child!==n.child)for(var H=n.child;H!==null;H=H.sibling)$-=H.actualDuration;d=.5>$?d?"tertiary-light":"primary-light":10>$?d?"tertiary":"primary":100>$?d?"tertiary-dark":"primary-dark":"error";var X=n.memoizedProps;$=n._debugTask,X!==null&&A!==null&&A.memoizedProps!==X?(H=[cI],X=Ku(A.memoizedProps,X,H,0),1<H.length&&(X&&!Zv&&(A.lanes&y)===0&&100<n.actualDuration?(Zv=!0,H[0]=fI,Wh.color="warning",Wh.tooltipText=a3):(Wh.color=d,Wh.tooltipText=x),Wh.properties=H,Wv.start=a,Wv.end=i,$!=null?$.run(performance.measure.bind(performance,""+x,Wv)):performance.measure(""+x,Wv))):$!=null?$.run(console.timeStamp.bind(console,x,a,i,xc,void 0,d)):console.timeStamp(x,a,i,xc,void 0,d)}}function jp(n,a,i,d){if(jr){var y=de(n);if(y!==null){for(var x=null,A=[],$=0;$<d.length;$++){var H=d[$];x==null&&H.source!==null&&(x=H.source._debugTask),H=H.value,A.push(["Error",typeof H=="object"&&H!==null&&typeof H.message=="string"?String(H.message):String(H)])}n.key!==null&&Ri("key",n.key,A,0,""),n.memoizedProps!==null&&ty(n.memoizedProps,A,0,""),x==null&&(x=n._debugTask),n={start:a,end:i,detail:{devtools:{color:"error",track:xc,tooltipText:n.tag===13?"Hydration failed":"Error boundary caught an error",properties:A}}},x?x.run(performance.measure.bind(performance,""+y,n)):performance.measure(""+y,n)}}}function _i(n,a,i,d,y){if(y!==null){if(jr){var x=de(n);if(x!==null){d=[];for(var A=0;A<y.length;A++){var $=y[A].value;d.push(["Error",typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($)])}n.key!==null&&Ri("key",n.key,d,0,""),n.memoizedProps!==null&&ty(n.memoizedProps,d,0,""),a={start:a,end:i,detail:{devtools:{color:"error",track:xc,tooltipText:"A lifecycle or effect errored",properties:d}}},(n=n._debugTask)?n.run(performance.measure.bind(performance,""+x,a)):performance.measure(""+x,a)}}}else x=de(n),x!==null&&jr&&(y=1>d?"secondary-light":100>d?"secondary":500>d?"secondary-dark":"error",(n=n._debugTask)?n.run(console.timeStamp.bind(console,x,a,i,xc,void 0,y)):console.timeStamp(x,a,i,xc,void 0,y))}function ny(n,a,i,d){if(jr&&!(a<=n)){var y=(i&738197653)===i?"tertiary-dark":"primary-dark";i=(i&536870912)===i?"Prepared":(i&201326741)===i?"Hydrated":"Render",d?d.run(console.timeStamp.bind(console,i,n,a,Rn,bn,y)):console.timeStamp(i,n,a,Rn,bn,y)}}function g0(n,a,i,d){!jr||a<=n||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",d?d.run(console.timeStamp.bind(console,"Prewarm",n,a,Rn,bn,i)):console.timeStamp("Prewarm",n,a,Rn,bn,i))}function y0(n,a,i,d){!jr||a<=n||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",d?d.run(console.timeStamp.bind(console,"Suspended",n,a,Rn,bn,i)):console.timeStamp("Suspended",n,a,Rn,bn,i))}function fx(n,a,i,d,y,x){if(jr&&!(a<=n)){i=[];for(var A=0;A<d.length;A++){var $=d[A].value;i.push(["Recoverable Error",typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($)])}n={start:n,end:a,detail:{devtools:{color:"primary-dark",track:Rn,trackGroup:bn,tooltipText:y?"Hydration Failed":"Recovered after Error",properties:i}}},x?x.run(performance.measure.bind(performance,"Recovered",n)):performance.measure("Recovered",n)}}function Fm(n,a,i,d){!jr||a<=n||(d?d.run(console.timeStamp.bind(console,"Errored",n,a,Rn,bn,"error")):console.timeStamp("Errored",n,a,Rn,bn,"error"))}function Km(n,a,i,d){!jr||a<=n||(d?d.run(console.timeStamp.bind(console,i,n,a,Rn,bn,"secondary-light")):console.timeStamp(i,n,a,Rn,bn,"secondary-light"))}function Qc(n,a,i,d,y){if(jr&&!(a<=n)){for(var x=[],A=0;A<i.length;A++){var $=i[A].value;x.push(["Error",typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($)])}n={start:n,end:a,detail:{devtools:{color:"error",track:Rn,trackGroup:bn,tooltipText:d?"Remaining Effects Errored":"Commit Errored",properties:x}}},y?y.run(performance.measure.bind(performance,"Errored",n)):performance.measure("Errored",n)}}function ry(n,a,i){!jr||a<=n||console.timeStamp("Animating",n,a,Rn,bn,"secondary-dark")}function zp(){for(var n=J0,a=sA=J0=0;a<n;){var i=Ec[a];Ec[a++]=null;var d=Ec[a];Ec[a++]=null;var y=Ec[a];Ec[a++]=null;var x=Ec[a];if(Ec[a++]=null,d!==null&&y!==null){var A=d.pending;A===null?y.next=y:(y.next=A.next,A.next=y),d.pending=y}x!==0&&Gm(i,y,x)}}function Zc(n,a,i,d){Ec[J0++]=n,Ec[J0++]=a,Ec[J0++]=i,Ec[J0++]=d,sA|=d,n.lanes|=d,n=n.alternate,n!==null&&(n.lanes|=d)}function Gu(n,a,i,d){return Zc(n,a,i,d),Bp(n)}function ba(n,a){return Zc(n,null,null,a),Bp(n)}function Gm(n,a,i){n.lanes|=i;var d=n.alternate;d!==null&&(d.lanes|=i);for(var y=!1,x=n.return;x!==null;)x.childLanes|=i,d=x.alternate,d!==null&&(d.childLanes|=i),x.tag===22&&(n=x.stateNode,n===null||n._visibility&Sx||(y=!0)),n=x,x=x.return;return n.tag===3?(x=n.stateNode,y&&a!==null&&(y=31-La(i),n=x.hiddenUpdates,d=n[y],d===null?n[y]=[a]:d.push(a),a.lane=i|536870912),x):null}function Bp(n){if(Xx>_I)throw Nb=Xx=0,Qx=IA=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.");Nb>AI&&(Nb=0,Qx=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&&ui(n);for(var a=n,i=a.return;i!==null;)a.alternate===null&&(a.flags&4098)!==0&&ui(n),a=i,i=a.return;return a.tag===3?a.stateNode:null}function uu(n){if(Sc===null)return n;var a=Sc(n);return a===void 0?n:a.current}function hd(n){if(Sc===null)return n;var a=Sc(n);return a===void 0?n!=null&&typeof n.render=="function"&&(a=uu(n.render),n.render!==a)?(a={$$typeof:Zd,render:a},n.displayName!==void 0&&(a.displayName=n.displayName),a):n:a.current}function ay(n,a){if(Sc===null)return!1;var i=n.elementType;a=a.type;var d=!1,y=typeof a=="object"&&a!==null?a.$$typeof:null;switch(n.tag){case 1:typeof a=="function"&&(d=!0);break;case 0:(typeof a=="function"||y===Ja)&&(d=!0);break;case 11:(y===Zd||y===Ja)&&(d=!0);break;case 14:case 15:(y===Kh||y===Ja)&&(d=!0);break;default:return!1}return!!(d&&(n=Sc(i),n!==void 0&&n===Sc(a)))}function Bs(n){Sc!==null&&typeof WeakSet=="function"&&(e1===null&&(e1=new WeakSet),e1.add(n))}function Wl(n,a,i){do{var d=n,y=d.alternate,x=d.child,A=d.sibling,$=d.tag;d=d.type;var H=null;switch($){case 0:case 15:case 1:H=d;break;case 11:H=d.render}if(Sc===null)throw Error("Expected resolveFamily to be set during hot reload.");var X=!1;if(d=!1,H!==null&&(H=Sc(H),H!==void 0&&(i.has(H)?d=!0:a.has(H)&&($===1?d=!0:X=!0))),e1!==null&&(e1.has(n)||y!==null&&e1.has(y))&&(d=!0),d&&(n._debugNeedsRemount=!0),(d||X)&&(y=ba(n,2),y!==null&&$t(y,n,2)),x===null||d||Wl(x,a,i),A===null)break;n=A}while(!0)}function ly(n,a,i,d){this.tag=n,this.key=i,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=d,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,l3||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Wc(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Ai(n,a){var i=n.alternate;switch(i===null?(i=R(n.tag,a,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i._debugOwner=n._debugOwner,i._debugStack=n._debugStack,i._debugTask=n._debugTask,i._debugHookTypes=n._debugHookTypes,i.alternate=n,n.alternate=i):(i.pendingProps=a,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null,i.actualDuration=-0,i.actualStartTime=-1.1),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,a=n.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i.selfBaseDuration=n.selfBaseDuration,i.treeBaseDuration=n.treeBaseDuration,i._debugInfo=n._debugInfo,i._debugNeedsRemount=n._debugNeedsRemount,i.tag){case 0:case 15:i.type=uu(n.type);break;case 1:i.type=uu(n.type);break;case 11:i.type=hd(n.type)}return i}function Ym(n,a){n.flags&=65011714;var i=n.alternate;return i===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=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,a=i.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},n.selfBaseDuration=i.selfBaseDuration,n.treeBaseDuration=i.treeBaseDuration),n}function Jc(n,a,i,d,y,x){var A=0,$=n;if(typeof n=="function")Wc(n)&&(A=1),$=uu($);else if(typeof n=="string")A=Z(),A=z0(n,i,A)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Gi:return a=R(31,i,a,y),a.elementType=Gi,a.lanes=x,a;case Qd:return ef(i.children,y,x,a);case ql:A=8,y|=di,y|=Uf;break;case Fh:return n=i,d=y,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,d|an),a.elementType=Fh,a.lanes=x,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case Pf:return a=R(13,i,a,y),a.elementType=Pf,a.lanes=x,a;case ho:return a=R(19,i,a,y),a.elementType=ho,a.lanes=x,a;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Ki:A=10;break e;case kv:A=9;break e;case Zd:A=11,$=hd($);break e;case Kh:A=14;break e;case Ja:A=16,$=null;break e}$="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&($+=" 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?i="null":Zr(n)?i="array":n!==void 0&&n.$$typeof===Io?(i="<"+(Q(n.type)||"Unknown")+" />",$=" Did you accidentally export a JSX literal instead of a component?"):i=typeof n,(A=d?he(d):null)&&($+=`
|
|
118
|
+
|
|
119
|
+
Check the render method of \``+A+"`."),A=29,i=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(i+"."+$)),$=null}return a=R(A,i,a,y),a.elementType=n,a.type=$,a.lanes=x,a._debugOwner=d,a}function ks(n,a,i){return a=Jc(n.type,n.key,n.props,n._owner,a,i),a._debugOwner=n._owner,a._debugStack=n._debugStack,a._debugTask=n._debugTask,a}function ef(n,a,i,d){return n=R(7,n,d,a),n.lanes=i,n}function md(n,a,i){return n=R(6,n,null,a),n.lanes=i,n}function oy(n){var a=R(18,null,null,kt);return a.stateNode=n,a}function Yu(n,a,i){return a=R(4,n.children!==null?n.children:[],n.key,a),a.lanes=i,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function bl(n,a){if(typeof n=="object"&&n!==null){var i=cA.get(n);return i!==void 0?i:(a={value:n,source:a,stack:_e(a)},cA.set(n,a),a)}return{value:n,source:a,stack:_e(a)}}function Di(n,a){Us(),t1[n1++]=Cx,t1[n1++]=rR,rR=n,Cx=a}function kp(n,a,i){Us(),Cc[wc++]=em,Cc[wc++]=tm,Cc[wc++]=gb,gb=n;var d=em;n=tm;var y=32-La(d)-1;d&=~(1<<y),i+=1;var x=32-La(a)+y;if(30<x){var A=y-y%5;x=(d&(1<<A)-1).toString(32),d>>=A,y-=A,em=1<<32-La(a)+y|i<<y|d,tm=x+n}else em=1<<x|i<<y|d,tm=n}function Up(n){Us(),n.return!==null&&(Di(n,1),kp(n,1,0))}function Mi(n){for(;n===rR;)rR=t1[--n1],t1[n1]=null,Cx=t1[--n1],t1[n1]=null;for(;n===gb;)gb=Cc[--wc],Cc[wc]=null,tm=Cc[--wc],Cc[wc]=null,em=Cc[--wc],Cc[wc]=null}function Ip(){return Us(),gb!==null?{id:em,overflow:tm}:null}function b0(n,a){Us(),Cc[wc++]=em,Cc[wc++]=tm,Cc[wc++]=gb,em=a.id,tm=a.overflow,gb=n}function Us(){mn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function tf(n,a){if(n.return===null){if(ms===null)ms={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(ms.fiber!==n)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ms.distanceFromLeaf>a&&(ms.distanceFromLeaf=a)}return ms}var i=tf(n.return,a+1).children;return 0<i.length&&i[i.length-1].fiber===n?(i=i[i.length-1],i.distanceFromLeaf>a&&(i.distanceFromLeaf=a),i):(a={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},i.push(a),a)}function nf(){mn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Wn(n,a){ip||(n=tf(n,0),n.serverProps=null,a!==null&&(a=q0(a),n.serverTail.push(a)))}function wo(n){var a=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,i="",d=ms;throw d!==null&&(ms=null,i=Gg(d)),su(bl(Error("Hydration failed because the server rendered "+(a?"text":"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:
|
|
120
|
+
|
|
121
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
122
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
123
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
124
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
125
|
+
- Invalid HTML tag nesting.
|
|
126
|
+
|
|
127
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
128
|
+
|
|
129
|
+
https://react.dev/link/hydration-mismatch`+i),n)),fA}function iy(n){var a=n.stateNode,i=n.type,d=n.memoizedProps;switch(a[hr]=n,a[jl]=d,Nl(i,d),i){case"dialog":Pt("cancel",a),Pt("close",a);break;case"iframe":case"object":case"embed":Pt("load",a);break;case"video":case"audio":for(i=0;i<Zx.length;i++)Pt(Zx[i],a);break;case"source":Pt("error",a);break;case"img":case"image":case"link":Pt("error",a),Pt("load",a);break;case"details":Pt("toggle",a);break;case"input":lt("input",d),Pt("invalid",a),gl(a,d),wp(a,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0);break;case"option":p0(a,d);break;case"select":lt("select",d),Pt("invalid",a),zm(a,d);break;case"textarea":lt("textarea",d),Pt("invalid",a),Hc(a,d),rd(a,d.value,d.defaultValue,d.children)}i=d.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||d.suppressHydrationWarning===!0||Uy(a.textContent,i)?(d.popover!=null&&(Pt("beforetoggle",a),Pt("toggle",a)),d.onScroll!=null&&Pt("scroll",a),d.onScrollEnd!=null&&Pt("scrollend",a),d.onClick!=null&&(a.onclick=Eo),a=!0):a=!1,a||wo(n,!0)}function uy(n){for(Go=n.return;Go;)switch(Go.tag){case 5:case 31:case 13:Rc=!1;return;case 27:case 3:Rc=!0;return;default:Go=Go.return}}function rf(n){if(n!==Go)return!1;if(!mn)return uy(n),mn=!0,!1;var a=n.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||Id(n.type,n.memoizedProps)),i=!i),i&&zr){for(i=zr;i;){var d=tf(n,0),y=q0(i);d.serverTail.push(y),i=y.type==="Suspense"?mc(i):Za(i.nextSibling)}wo(n)}if(uy(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.");zr=mc(n)}else if(a===31){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.");zr=mc(n)}else a===27?(a=zr,hc(n.type)?(n=eD,eD=null,zr=n):zr=a):zr=Go?Za(n.stateNode.nextSibling):null;return!0}function Is(){zr=Go=null,ip=mn=!1}function Hp(){var n=eg;return n!==null&&(Ji===null?Ji=n:Ji.push.apply(Ji,n),eg=null),n}function su(n){eg===null?eg=[n]:eg.push(n)}function Me(){var n=ms;if(n!==null){ms=null;for(var a=Gg(n);0<n.children.length;)n=n.children[0];Ee(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:
|
|
130
|
+
|
|
131
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
132
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
133
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
134
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
135
|
+
- Invalid HTML tag nesting.
|
|
136
|
+
|
|
137
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
138
|
+
|
|
139
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function Ge(){r1=aR=null,a1=!1}function ze(n,a,i){le(dA,a._currentValue,n),a._currentValue=i,le(pA,a._currentRenderer,n),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==i3&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=i3}function ct(n,a){n._currentValue=dA.current;var i=pA.current;se(pA,a),n._currentRenderer=i,se(dA,a)}function jt(n,a,i){for(;n!==null;){var d=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,d!==null&&(d.childLanes|=a)):d!==null&&(d.childLanes&a)!==a&&(d.childLanes|=a),n===i)break;n=n.return}n!==i&&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 Jt(n,a,i,d){var y=n.child;for(y!==null&&(y.return=n);y!==null;){var x=y.dependencies;if(x!==null){var A=y.child;x=x.firstContext;e:for(;x!==null;){var $=x;x=y;for(var H=0;H<a.length;H++)if($.context===a[H]){x.lanes|=i,$=x.alternate,$!==null&&($.lanes|=i),jt(x.return,i,n),d||(A=null);break e}x=$.next}}else if(y.tag===18){if(A=y.return,A===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");A.lanes|=i,x=A.alternate,x!==null&&(x.lanes|=i),jt(A,i,n),A=null}else A=y.child;if(A!==null)A.return=y;else for(A=y;A!==null;){if(A===n){A=null;break}if(y=A.sibling,y!==null){y.return=A.return,A=y;break}A=A.return}y=A}}function jn(n,a,i,d){n=null;for(var y=a,x=!1;y!==null;){if(!x){if((y.flags&524288)!==0)x=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var A=y.alternate;if(A===null)throw Error("Should have a current fiber. This is a bug in React.");if(A=A.memoizedProps,A!==null){var $=y.type;Xi(y.pendingProps.value,A.value)||(n!==null?n.push($):n=[$])}}else if(y===ds.current){if(A=y.alternate,A===null)throw Error("Should have a current fiber. This is a bug in React.");A.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(n!==null?n.push(nE):n=[nE])}y=y.return}n!==null&&Jt(a,n,i,d),a.flags|=262144}function En(n){for(n=n.firstContext;n!==null;){if(!Xi(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function cu(n){aR=n,r1=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Tn(n){return a1&&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()."),vd(aR,n)}function Va(n,a){return aR===null&&cu(n),vd(n,a)}function vd(n,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},r1===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().");r1=a,n.dependencies={lanes:0,firstContext:a,_debugThenableState:null},n.flags|=524288}else r1=r1.next=a;return i}function Xm(){return{controller:new hI,data:new Map,refCount:0}}function Zo(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 Hs(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&&mI(vI,function(){n.controller.abort()})}function Ro(n,a,i){(n&127)!==0?0>up&&(up=rl(),Rx=lR(a),hA=a,i!=null&&(mA=de(i)),(Dn&(Ul|ys))!==yo&&(ma=!0,ng=wx),n=Hd(),a=Nu(),n!==l1||a!==Tx?l1=-1.1:a!==null&&(ng=wx),xb=n,Tx=a):(n&4194048)!==0&&0>Tc&&(Tc=rl(),_x=lR(a),u3=a,i!=null&&(s3=de(i)),0>lm)&&(n=Hd(),a=Nu(),(n!==ag||a!==Eb)&&(ag=-1.1),rg=n,Eb=a)}function On(n){if(0>up){up=rl(),Rx=n._debugTask!=null?n._debugTask:null,(Dn&(Ul|ys))!==yo&&(ng=wx);var a=Hd(),i=Nu();a!==l1||i!==Tx?l1=-1.1:i!==null&&(ng=wx),xb=a,Tx=i}0>Tc&&(Tc=rl(),_x=n._debugTask!=null?n._debugTask:null,0>lm)&&(n=Hd(),a=Nu(),(n!==ag||a!==Eb)&&(ag=-1.1),rg=n,Eb=a)}function fu(){var n=yb;return yb=0,n}function af(n){var a=yb;return yb=n,a}function xa(n){var a=yb;return yb+=n,a}function lf(){Lt=_t=-1.1}function cr(){var n=_t;return _t=-1.1,n}function Ea(n){0<=n&&(_t=n)}function xl(){var n=Jr;return Jr=-0,n}function Gr(n){0<=n&&(Jr=n)}function Fa(){var n=Hr;return Hr=null,n}function To(){var n=ma;return ma=!1,n}function Wo(n){Qi=rl(),0>n.actualStartTime&&(n.actualStartTime=Qi)}function Vp(n){if(0<=Qi){var a=rl()-Qi;n.actualDuration+=a,n.selfBaseDuration=a,Qi=-1}}function gd(n){if(0<=Qi){var a=rl()-Qi;n.actualDuration+=a,Qi=-1}}function Sa(){if(0<=Qi){var n=rl(),a=n-Qi;Qi=-1,yb+=a,Jr+=a,Lt=n}}function sy(n){Hr===null&&(Hr=[]),Hr.push(n),rm===null&&(rm=[]),rm.push(n)}function Jn(){Qi=rl(),0>_t&&(_t=Qi)}function _o(n){for(var a=n.child;a;)n.actualDuration+=a.actualDuration,a=a.sibling}function Jo(n,a){if(Dx===null){var i=Dx=[];gA=0,Sb=ky(),o1={status:"pending",value:void 0,then:function(d){i.push(d)}}}return gA++,a.then(cy,cy),a}function cy(){if(--gA===0&&(-1<Tc||(lm=-1.1),Dx!==null)){o1!==null&&(o1.status="fulfilled");var n=Dx;Dx=null,Sb=0,o1=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function Qm(n,a){var i=[],d={status:"pending",value:null,reason:null,then:function(y){i.push(y)}};return n.then(function(){d.status="fulfilled",d.value=a;for(var y=0;y<i.length;y++)(0,i[y])(a)},function(y){for(d.status="rejected",d.reason=y,y=0;y<i.length;y++)(0,i[y])(void 0)}),d}function Xu(){var n=Cb.current;return n!==null?n:vr.pooledCache}function Qu(n,a){a===null?le(Cb,Cb.current,n):le(Cb,a.pool,n)}function yd(){var n=Xu();return n===null?null:{parent:nl._currentValue,pool:n}}function bd(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function fy(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Jl(n,a,i){Ue.actQueue!==null&&(Ue.didUsePromise=!0);var d=n.thenables;if(i=d[i],i===void 0?d.push(a):i!==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(Eo,Eo),a=i),a._debugInfo===void 0){n=performance.now(),d=a.displayName;var y={name:typeof d=="string"?d:"Promise",start:n,end:n,value:a};a._debugInfo=[{awaited:y}],a.status!=="fulfilled"&&a.status!=="rejected"&&(n=function(){y.end=performance.now()},a.then(n,n))}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Er(n),n;default:if(typeof a.status=="string")a.then(Eo,Eo);else{if(n=vr,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(x){if(a.status==="pending"){var A=a;A.status="fulfilled",A.value=x}},function(x){if(a.status==="pending"){var A=a;A.status="rejected",A.reason=x}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Er(n),n}throw Rb=a,Lx=!0,i1}}function Ao(n){try{return EI(n)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Rb=a,Lx=!0,i1):a}}function of(){if(Rb===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var n=Rb;return Rb=null,Lx=!1,n}function Er(n){if(n===i1||n===pR)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 fn(n){var a=ln;return n!=null&&(ln=a===null?n:a.concat(n)),a}function eo(){var n=ln;if(n!=null){for(var a=n.length-1;0<=a;a--)if(n[a].name!=null){var i=n[a].debugTask;if(i!=null)return i}}return null}function El(n,a,i){for(var d=Object.keys(n.props),y=0;y<d.length;y++){var x=d[y];if(x!=="children"&&x!=="key"){a===null&&(a=ks(n,i.mode,0),a._debugInfo=ln,a.return=i),Ee(a,function(A){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",A)},x);break}}}function ei(n){var a=jx;return jx+=1,u1===null&&(u1=bd()),Jl(u1,n,a)}function to(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Do(n,a){throw a.$$typeof===k0?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
140
|
+
- Multiple copies of the "react" package is used.
|
|
141
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
142
|
+
- 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 Ka(n,a){var i=eo();i!==null?i.run(Do.bind(null,n,a)):Do(n,a)}function Fp(n,a){var i=de(n)||"Component";D3[i]||(D3[i]=!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.
|
|
143
|
+
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.
|
|
144
|
+
<%s>{%s}</%s>`,a,a,i,a,i))}function Oi(n,a){var i=eo();i!==null?i.run(Fp.bind(null,n,a)):Fp(n,a)}function Vs(n,a){var i=de(n)||"Component";M3[i]||(M3[i]=!0,a=String(a),n.tag===3?console.error(`Symbols are not valid as a React child.
|
|
145
|
+
root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
|
|
146
|
+
<%s>%s</%s>`,i,a,i))}function Zu(n,a){var i=eo();i!==null?i.run(Vs.bind(null,n,a)):Vs(n,a)}function kr(n){function a(me,ye){if(n){var Ce=me.deletions;Ce===null?(me.deletions=[ye],me.flags|=16):Ce.push(ye)}}function i(me,ye){if(!n)return null;for(;ye!==null;)a(me,ye),ye=ye.sibling;return null}function d(me){for(var ye=new Map;me!==null;)me.key!==null?ye.set(me.key,me):ye.set(me.index,me),me=me.sibling;return ye}function y(me,ye){return me=Ai(me,ye),me.index=0,me.sibling=null,me}function x(me,ye,Ce){return me.index=Ce,n?(Ce=me.alternate,Ce!==null?(Ce=Ce.index,Ce<ye?(me.flags|=67108866,ye):Ce):(me.flags|=67108866,ye)):(me.flags|=1048576,ye)}function A(me){return n&&me.alternate===null&&(me.flags|=67108866),me}function $(me,ye,Ce,Xe){return ye===null||ye.tag!==6?(ye=md(Ce,me.mode,Xe),ye.return=me,ye._debugOwner=me,ye._debugTask=me._debugTask,ye._debugInfo=ln,ye):(ye=y(ye,Ce),ye.return=me,ye._debugInfo=ln,ye)}function H(me,ye,Ce,Xe){var ft=Ce.type;return ft===Qd?(ye=Re(me,ye,Ce.props.children,Xe,Ce.key),El(Ce,ye,me),ye):ye!==null&&(ye.elementType===ft||ay(ye,Ce)||typeof ft=="object"&&ft!==null&&ft.$$typeof===Ja&&Ao(ft)===ye.type)?(ye=y(ye,Ce.props),to(ye,Ce),ye.return=me,ye._debugOwner=Ce._owner,ye._debugInfo=ln,ye):(ye=ks(Ce,me.mode,Xe),to(ye,Ce),ye.return=me,ye._debugInfo=ln,ye)}function X(me,ye,Ce,Xe){return ye===null||ye.tag!==4||ye.stateNode.containerInfo!==Ce.containerInfo||ye.stateNode.implementation!==Ce.implementation?(ye=Yu(Ce,me.mode,Xe),ye.return=me,ye._debugInfo=ln,ye):(ye=y(ye,Ce.children||[]),ye.return=me,ye._debugInfo=ln,ye)}function Re(me,ye,Ce,Xe,ft){return ye===null||ye.tag!==7?(ye=ef(Ce,me.mode,Xe,ft),ye.return=me,ye._debugOwner=me,ye._debugTask=me._debugTask,ye._debugInfo=ln,ye):(ye=y(ye,Ce),ye.return=me,ye._debugInfo=ln,ye)}function Te(me,ye,Ce){if(typeof ye=="string"&&ye!==""||typeof ye=="number"||typeof ye=="bigint")return ye=md(""+ye,me.mode,Ce),ye.return=me,ye._debugOwner=me,ye._debugTask=me._debugTask,ye._debugInfo=ln,ye;if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case Io:return Ce=ks(ye,me.mode,Ce),to(Ce,ye),Ce.return=me,me=fn(ye._debugInfo),Ce._debugInfo=ln,ln=me,Ce;case Fi:return ye=Yu(ye,me.mode,Ce),ye.return=me,ye._debugInfo=ln,ye;case Ja:var Xe=fn(ye._debugInfo);return ye=Ao(ye),me=Te(me,ye,Ce),ln=Xe,me}if(Zr(ye)||K(ye))return Ce=ef(ye,me.mode,Ce,null),Ce.return=me,Ce._debugOwner=me,Ce._debugTask=me._debugTask,me=fn(ye._debugInfo),Ce._debugInfo=ln,ln=me,Ce;if(typeof ye.then=="function")return Xe=fn(ye._debugInfo),me=Te(me,ei(ye),Ce),ln=Xe,me;if(ye.$$typeof===Ki)return Te(me,Va(me,ye),Ce);Ka(me,ye)}return typeof ye=="function"&&Oi(me,ye),typeof ye=="symbol"&&Zu(me,ye),null}function ve(me,ye,Ce,Xe){var ft=ye!==null?ye.key:null;if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"||typeof Ce=="bigint")return ft!==null?null:$(me,ye,""+Ce,Xe);if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case Io:return Ce.key===ft?(ft=fn(Ce._debugInfo),me=H(me,ye,Ce,Xe),ln=ft,me):null;case Fi:return Ce.key===ft?X(me,ye,Ce,Xe):null;case Ja:return ft=fn(Ce._debugInfo),Ce=Ao(Ce),me=ve(me,ye,Ce,Xe),ln=ft,me}if(Zr(Ce)||K(Ce))return ft!==null?null:(ft=fn(Ce._debugInfo),me=Re(me,ye,Ce,Xe,null),ln=ft,me);if(typeof Ce.then=="function")return ft=fn(Ce._debugInfo),me=ve(me,ye,ei(Ce),Xe),ln=ft,me;if(Ce.$$typeof===Ki)return ve(me,ye,Va(me,Ce),Xe);Ka(me,Ce)}return typeof Ce=="function"&&Oi(me,Ce),typeof Ce=="symbol"&&Zu(me,Ce),null}function Be(me,ye,Ce,Xe,ft){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number"||typeof Xe=="bigint")return me=me.get(Ce)||null,$(ye,me,""+Xe,ft);if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case Io:return Ce=me.get(Xe.key===null?Ce:Xe.key)||null,me=fn(Xe._debugInfo),ye=H(ye,Ce,Xe,ft),ln=me,ye;case Fi:return me=me.get(Xe.key===null?Ce:Xe.key)||null,X(ye,me,Xe,ft);case Ja:var Kt=fn(Xe._debugInfo);return Xe=Ao(Xe),ye=Be(me,ye,Ce,Xe,ft),ln=Kt,ye}if(Zr(Xe)||K(Xe))return Ce=me.get(Ce)||null,me=fn(Xe._debugInfo),ye=Re(ye,Ce,Xe,ft,null),ln=me,ye;if(typeof Xe.then=="function")return Kt=fn(Xe._debugInfo),ye=Be(me,ye,Ce,ei(Xe),ft),ln=Kt,ye;if(Xe.$$typeof===Ki)return Be(me,ye,Ce,Va(ye,Xe),ft);Ka(ye,Xe)}return typeof Xe=="function"&&Oi(ye,Xe),typeof Xe=="symbol"&&Zu(ye,Xe),null}function ut(me,ye,Ce,Xe){if(typeof Ce!="object"||Ce===null)return Xe;switch(Ce.$$typeof){case Io:case Fi:C(me,ye,Ce);var ft=Ce.key;if(typeof ft!="string")break;if(Xe===null){Xe=new Set,Xe.add(ft);break}if(!Xe.has(ft)){Xe.add(ft);break}Ee(ye,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.",ft)});break;case Ja:Ce=Ao(Ce),ut(me,ye,Ce,Xe)}return Xe}function pt(me,ye,Ce,Xe){for(var ft=null,Kt=null,Tt=null,Ct=ye,nn=ye=0,Br=null;Ct!==null&&nn<Ce.length;nn++){Ct.index>nn?(Br=Ct,Ct=null):Br=Ct.sibling;var Ba=ve(me,Ct,Ce[nn],Xe);if(Ba===null){Ct===null&&(Ct=Br);break}ft=ut(me,Ba,Ce[nn],ft),n&&Ct&&Ba.alternate===null&&a(me,Ct),ye=x(Ba,ye,nn),Tt===null?Kt=Ba:Tt.sibling=Ba,Tt=Ba,Ct=Br}if(nn===Ce.length)return i(me,Ct),mn&&Di(me,nn),Kt;if(Ct===null){for(;nn<Ce.length;nn++)Ct=Te(me,Ce[nn],Xe),Ct!==null&&(ft=ut(me,Ct,Ce[nn],ft),ye=x(Ct,ye,nn),Tt===null?Kt=Ct:Tt.sibling=Ct,Tt=Ct);return mn&&Di(me,nn),Kt}for(Ct=d(Ct);nn<Ce.length;nn++)Br=Be(Ct,me,nn,Ce[nn],Xe),Br!==null&&(ft=ut(me,Br,Ce[nn],ft),n&&Br.alternate!==null&&Ct.delete(Br.key===null?nn:Br.key),ye=x(Br,ye,nn),Tt===null?Kt=Br:Tt.sibling=Br,Tt=Br);return n&&Ct.forEach(function(pm){return a(me,pm)}),mn&&Di(me,nn),Kt}function _r(me,ye,Ce,Xe){if(Ce==null)throw Error("An iterable object provided no iterator.");for(var ft=null,Kt=null,Tt=ye,Ct=ye=0,nn=null,Br=null,Ba=Ce.next();Tt!==null&&!Ba.done;Ct++,Ba=Ce.next()){Tt.index>Ct?(nn=Tt,Tt=null):nn=Tt.sibling;var pm=ve(me,Tt,Ba.value,Xe);if(pm===null){Tt===null&&(Tt=nn);break}Br=ut(me,pm,Ba.value,Br),n&&Tt&&pm.alternate===null&&a(me,Tt),ye=x(pm,ye,Ct),Kt===null?ft=pm:Kt.sibling=pm,Kt=pm,Tt=nn}if(Ba.done)return i(me,Tt),mn&&Di(me,Ct),ft;if(Tt===null){for(;!Ba.done;Ct++,Ba=Ce.next())Tt=Te(me,Ba.value,Xe),Tt!==null&&(Br=ut(me,Tt,Ba.value,Br),ye=x(Tt,ye,Ct),Kt===null?ft=Tt:Kt.sibling=Tt,Kt=Tt);return mn&&Di(me,Ct),ft}for(Tt=d(Tt);!Ba.done;Ct++,Ba=Ce.next())nn=Be(Tt,me,Ct,Ba.value,Xe),nn!==null&&(Br=ut(me,nn,Ba.value,Br),n&&nn.alternate!==null&&Tt.delete(nn.key===null?Ct:nn.key),ye=x(nn,ye,Ct),Kt===null?ft=nn:Kt.sibling=nn,Kt=nn);return n&&Tt.forEach(function(FI){return a(me,FI)}),mn&&Di(me,Ct),ft}function xn(me,ye,Ce,Xe){if(typeof Ce=="object"&&Ce!==null&&Ce.type===Qd&&Ce.key===null&&(El(Ce,null,me),Ce=Ce.props.children),typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case Io:var ft=fn(Ce._debugInfo);e:{for(var Kt=Ce.key;ye!==null;){if(ye.key===Kt){if(Kt=Ce.type,Kt===Qd){if(ye.tag===7){i(me,ye.sibling),Xe=y(ye,Ce.props.children),Xe.return=me,Xe._debugOwner=Ce._owner,Xe._debugInfo=ln,El(Ce,Xe,me),me=Xe;break e}}else if(ye.elementType===Kt||ay(ye,Ce)||typeof Kt=="object"&&Kt!==null&&Kt.$$typeof===Ja&&Ao(Kt)===ye.type){i(me,ye.sibling),Xe=y(ye,Ce.props),to(Xe,Ce),Xe.return=me,Xe._debugOwner=Ce._owner,Xe._debugInfo=ln,me=Xe;break e}i(me,ye);break}else a(me,ye);ye=ye.sibling}Ce.type===Qd?(Xe=ef(Ce.props.children,me.mode,Xe,Ce.key),Xe.return=me,Xe._debugOwner=me,Xe._debugTask=me._debugTask,Xe._debugInfo=ln,El(Ce,Xe,me),me=Xe):(Xe=ks(Ce,me.mode,Xe),to(Xe,Ce),Xe.return=me,Xe._debugInfo=ln,me=Xe)}return me=A(me),ln=ft,me;case Fi:e:{for(ft=Ce,Ce=ft.key;ye!==null;){if(ye.key===Ce)if(ye.tag===4&&ye.stateNode.containerInfo===ft.containerInfo&&ye.stateNode.implementation===ft.implementation){i(me,ye.sibling),Xe=y(ye,ft.children||[]),Xe.return=me,me=Xe;break e}else{i(me,ye);break}else a(me,ye);ye=ye.sibling}Xe=Yu(ft,me.mode,Xe),Xe.return=me,me=Xe}return A(me);case Ja:return ft=fn(Ce._debugInfo),Ce=Ao(Ce),me=xn(me,ye,Ce,Xe),ln=ft,me}if(Zr(Ce))return ft=fn(Ce._debugInfo),me=pt(me,ye,Ce,Xe),ln=ft,me;if(K(Ce)){if(ft=fn(Ce._debugInfo),Kt=K(Ce),typeof Kt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Tt=Kt.call(Ce);return Tt===Ce?(me.tag!==0||Object.prototype.toString.call(me.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Tt)!=="[object Generator]")&&(_3||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."),_3=!0):Ce.entries!==Kt||EA||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),EA=!0),me=_r(me,ye,Tt,Xe),ln=ft,me}if(typeof Ce.then=="function")return ft=fn(Ce._debugInfo),me=xn(me,ye,ei(Ce),Xe),ln=ft,me;if(Ce.$$typeof===Ki)return xn(me,ye,Va(me,Ce),Xe);Ka(me,Ce)}return typeof Ce=="string"&&Ce!==""||typeof Ce=="number"||typeof Ce=="bigint"?(ft=""+Ce,ye!==null&&ye.tag===6?(i(me,ye.sibling),Xe=y(ye,ft),Xe.return=me,me=Xe):(i(me,ye),Xe=md(ft,me.mode,Xe),Xe.return=me,Xe._debugOwner=me,Xe._debugTask=me._debugTask,Xe._debugInfo=ln,me=Xe),A(me)):(typeof Ce=="function"&&Oi(me,Ce),typeof Ce=="symbol"&&Zu(me,Ce),i(me,ye))}return function(me,ye,Ce,Xe){var ft=ln;ln=null;try{jx=0;var Kt=xn(me,ye,Ce,Xe);return u1=null,Kt}catch(Br){if(Br===i1||Br===pR)throw Br;var Tt=R(29,Br,null,me.mode);Tt.lanes=Xe,Tt.return=me;var Ct=Tt._debugInfo=ln;if(Tt._debugOwner=me._debugOwner,Tt._debugTask=me._debugTask,Ct!=null){for(var nn=Ct.length-1;0<=nn;nn--)if(typeof Ct[nn].stack=="string"){Tt._debugOwner=Ct[nn],Tt._debugTask=Ct[nn].debugTask;break}}return Tt}finally{ln=ft}}}function _n(n,a){var i=Zr(n);return n=!i&&typeof K(n)=="function",i||n?(i=i?"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>",i,a,i),!1):!0}function un(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function du(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 la(n){return{lane:n,tag:N3,payload:null,callback:null,next:null}}function pu(n,a,i){var d=n.updateQueue;if(d===null)return null;if(d=d.shared,CA===d&&!q3){var y=de(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.
|
|
147
|
+
|
|
148
|
+
Please update the following component: %s`,y),q3=!0}return(Dn&Ul)!==yo?(y=d.pending,y===null?a.next=a:(a.next=y.next,y.next=a),d.pending=a,a=Bp(n),Gm(n,null,i),a):(Zc(n,d,a,i),Bp(n))}function ti(n,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var d=a.lanes;d&=n.pendingLanes,i|=d,a.lanes=i,pl(n,i)}}function Fs(n,a){var i=n.updateQueue,d=n.alternate;if(d!==null&&(d=d.updateQueue,i===d)){var y=null,x=null;if(i=i.firstBaseUpdate,i!==null){do{var A={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};x===null?y=x=A:x=x.next=A,i=i.next}while(i!==null);x===null?y=x=a:x=x.next=a}else y=x=a;i={baseState:d.baseState,firstBaseUpdate:y,lastBaseUpdate:x,shared:d.shared,callbacks:d.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=a:n.next=a,i.lastBaseUpdate=a}function hu(){if(wA){var n=o1;if(n!==null)throw n}}function Ni(n,a,i,d){wA=!1;var y=n.updateQueue;lg=!1,CA=y.shared;var x=y.firstBaseUpdate,A=y.lastBaseUpdate,$=y.shared.pending;if($!==null){y.shared.pending=null;var H=$,X=H.next;H.next=null,A===null?x=X:A.next=X,A=H;var Re=n.alternate;Re!==null&&(Re=Re.updateQueue,$=Re.lastBaseUpdate,$!==A&&($===null?Re.firstBaseUpdate=X:$.next=X,Re.lastBaseUpdate=H))}if(x!==null){var Te=y.baseState;A=0,Re=X=H=null,$=x;do{var ve=$.lane&-536870913,Be=ve!==$.lane;if(Be?(on&ve)===ve:(d&ve)===ve){ve!==0&&ve===Sb&&(wA=!0),Re!==null&&(Re=Re.next={lane:0,tag:$.tag,payload:$.payload,callback:null,next:null});e:{ve=n;var ut=$,pt=a,_r=i;switch(ut.tag){case $3:if(ut=ut.payload,typeof ut=="function"){a1=!0;var xn=ut.call(_r,Te,pt);if(ve.mode&di){pe(!0);try{ut.call(_r,Te,pt)}finally{pe(!1)}}a1=!1,Te=xn;break e}Te=ut;break e;case SA:ve.flags=ve.flags&-65537|128;case N3:if(xn=ut.payload,typeof xn=="function"){if(a1=!0,ut=xn.call(_r,Te,pt),ve.mode&di){pe(!0);try{xn.call(_r,Te,pt)}finally{pe(!1)}}a1=!1}else ut=xn;if(ut==null)break e;Te=ht({},Te,ut);break e;case P3:lg=!0}}ve=$.callback,ve!==null&&(n.flags|=64,Be&&(n.flags|=8192),Be=y.callbacks,Be===null?y.callbacks=[ve]:Be.push(ve))}else Be={lane:ve,tag:$.tag,payload:$.payload,callback:$.callback,next:null},Re===null?(X=Re=Be,H=Te):Re=Re.next=Be,A|=ve;if($=$.next,$===null){if($=y.shared.pending,$===null)break;Be=$,$=Be.next,Be.next=null,y.lastBaseUpdate=Be,y.shared.pending=null}}while(!0);Re===null&&(H=Te),y.baseState=H,y.firstBaseUpdate=X,y.lastBaseUpdate=Re,x===null&&(y.shared.lanes=0),ug|=A,n.lanes=A,n.memoizedState=Te}CA=null}function ee(n,a){if(typeof n!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+n);n.call(a)}function Ks(n,a){var i=n.shared.hiddenCallbacks;if(i!==null)for(n.shared.hiddenCallbacks=null,n=0;n<i.length;n++)ee(i[n],a)}function Wu(n,a){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)ee(i[n],a)}function Sl(n,a){var i=cp;le(mR,i,n),le(s1,a,n),cp=i|a.baseLanes}function It(n){le(mR,cp,n),le(s1,s1.current,n)}function $i(n){cp=mR.current,se(s1,n),se(mR,n)}function Cl(n){var a=n.alternate;le(za,za.current&c1,n),le(vs,n,n),_c===null&&(a===null||s1.current!==null||a.memoizedState!==null)&&(_c=n)}function Pi(n){le(za,za.current,n),le(vs,n,n),_c===null&&(_c=n)}function mu(n){n.tag===22?(le(za,za.current,n),le(vs,n,n),_c===null&&(_c=n)):vu(n)}function vu(n){le(za,za.current,n),le(vs,vs.current,n)}function Ca(n){se(vs,n),_c===n&&(_c=null),se(za,n)}function uf(n){for(var a=n;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||jh(i)||Xy(i)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){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 zt(){var n=Ie;Dc===null?Dc=[n]:Dc.push(n)}function et(){var n=Ie;if(Dc!==null&&(um++,Dc[um]!==n)){var a=de(Ft);if(!L3.has(a)&&(L3.add(a),Dc!==null)){for(var i="",d=0;d<=um;d++){var y=Dc[d],x=d===um?n:y;for(y=d+1+". "+y;30>y.length;)y+=" ";y+=x+`
|
|
149
|
+
`,i+=y}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
|
|
150
|
+
|
|
151
|
+
Previous render Next render
|
|
152
|
+
------------------------------------------------------
|
|
153
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
154
|
+
`,a,i)}}}function Ma(n){n==null||Zr(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 Kp(){var n=de(Ft);z3.has(n)||(z3.add(n),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",n))}function Nr(){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:
|
|
155
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
156
|
+
2. You might be breaking the Rules of Hooks
|
|
157
|
+
3. You might have more than one copy of React in the same app
|
|
158
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function dy(n,a){if(kx)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.
|
|
159
|
+
|
|
160
|
+
Previous: %s
|
|
161
|
+
Incoming: %s`,Ie,"["+a.join(", ")+"]","["+n.join(", ")+"]");for(var i=0;i<a.length&&i<n.length;i++)if(!Xi(n[i],a[i]))return!1;return!0}function py(n,a,i,d,y,x){om=x,Ft=a,Dc=n!==null?n._debugHookTypes:null,um=-1,kx=n!==null&&n.type!==a.type,(Object.prototype.toString.call(i)==="[object AsyncFunction]"||Object.prototype.toString.call(i)==="[object AsyncGeneratorFunction]")&&(x=de(Ft),RA.has(x)||(RA.add(x),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.",x===null?"An unknown Component":"<"+x+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,Ue.H=n!==null&&n.memoizedState!==null?_A:Dc!==null?B3:TA,_b=x=(a.mode&di)!==kt;var A=yA(i,d,y);if(_b=!1,d1&&(A=Mo(a,i,d,y)),x){pe(!0);try{A=Mo(a,i,d,y)}finally{pe(!1)}}return Ur(n,a),A}function Ur(n,a){a._debugHookTypes=Dc,a.dependencies===null?im!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:im}):a.dependencies._debugThenableState=im,Ue.H=Ux;var i=mr!==null&&mr.next!==null;if(om=0,Dc=Ie=al=mr=Ft=null,um=-1,n!==null&&(n.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),gR=!1,Bx=0,im=null,i)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");n===null||ll||(n=n.dependencies,n!==null&&En(n)&&(ll=!0)),Lx?(Lx=!1,n=!0):n=!1,n&&(a=de(a)||"Unknown",j3.has(a)||RA.has(a)||(j3.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 Mo(n,a,i,d){Ft=n;var y=0;do{if(d1&&(im=null),Bx=0,d1=!1,y>=CI)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(y+=1,kx=!1,al=mr=null,n.updateQueue!=null){var x=n.updateQueue;x.lastEffect=null,x.events=null,x.stores=null,x.memoCache!=null&&(x.memoCache.index=0)}um=-1,Ue.H=k3,x=yA(a,i,d)}while(d1);return x}function Gp(){var n=Ue.H,a=n.useState()[0];return a=typeof a.then=="function"?Qp(a):a,n=n.useState()[0],(mr!==null?mr.memoizedState:null)!==n&&(Ft.flags|=1024),a}function sf(){var n=yR!==0;return yR=0,n}function Yp(n,a,i){a.updateQueue=n.updateQueue,a.flags=(a.mode&Uf)!==kt?a.flags&-402655237:a.flags&-2053,n.lanes&=~i}function Gs(n){if(gR){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}gR=!1}om=0,Dc=al=mr=Ft=null,um=-1,Ie=null,d1=!1,Bx=yR=0,im=null}function Yr(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return al===null?Ft.memoizedState=al=n:al=al.next=n,al}function dn(){if(mr===null){var n=Ft.alternate;n=n!==null?n.memoizedState:null}else n=mr.next;var a=al===null?Ft.memoizedState:al.next;if(a!==null)al=a,mr=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.");mr=n,n={memoizedState:mr.memoizedState,baseState:mr.baseState,baseQueue:mr.baseQueue,queue:mr.queue,next:null},al===null?Ft.memoizedState=al=n:al=al.next=n}return al}function Xp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Qp(n){var a=Bx;return Bx+=1,im===null&&(im=bd()),n=Jl(im,n,a),a=Ft,(al===null?a.memoizedState:al.next)===null&&(a=a.alternate,Ue.H=a!==null&&a.memoizedState!==null?_A:TA),n}function oa(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Qp(n);if(n.$$typeof===Ki)return Tn(n)}throw Error("An unsupported type was passed to use(): "+String(n))}function Oo(n){var a=null,i=Ft.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var d=Ft.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(a={data:d.data.map(function(y){return y.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=Xp(),Ft.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0||kx)for(i=a.data[a.index]=Array(n),d=0;d<n;d++)i[d]=vx;else i.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.",i.length,n);return a.index++,i}function No(n,a){return typeof a=="function"?a(n):a}function xd(n,a,i){var d=Yr();if(i!==void 0){var y=i(a);if(_b){pe(!0);try{i(a)}finally{pe(!1)}}}else y=a;return d.memoizedState=d.baseState=y,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:y},d.queue=n,n=n.dispatch=dx.bind(null,Ft,n),[d.memoizedState,n]}function cf(n){var a=dn();return Ys(a,mr,n)}function Ys(n,a,i){var d=n.queue;if(d===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");d.lastRenderedReducer=i;var y=n.baseQueue,x=d.pending;if(x!==null){if(y!==null){var A=y.next;y.next=x.next,x.next=A}a.baseQueue!==y&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=y=x,d.pending=null}if(x=n.baseState,y===null)n.memoizedState=x;else{a=y.next;var $=A=null,H=null,X=a,Re=!1;do{var Te=X.lane&-536870913;if(Te!==X.lane?(on&Te)===Te:(om&Te)===Te){var ve=X.revertLane;if(ve===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),Te===Sb&&(Re=!0);else if((om&ve)===ve){X=X.next,ve===Sb&&(Re=!0);continue}else Te={lane:0,revertLane:X.revertLane,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},H===null?($=H=Te,A=x):H=H.next=Te,Ft.lanes|=ve,ug|=ve;Te=X.action,_b&&i(x,Te),x=X.hasEagerState?X.eagerState:i(x,Te)}else ve={lane:Te,revertLane:X.revertLane,gesture:X.gesture,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},H===null?($=H=ve,A=x):H=H.next=ve,Ft.lanes|=Te,ug|=Te;X=X.next}while(X!==null&&X!==a);if(H===null?A=x:H.next=$,!Xi(x,n.memoizedState)&&(ll=!0,Re&&(i=o1,i!==null)))throw i;n.memoizedState=x,n.baseState=A,n.baseQueue=H,d.lastRenderedState=x}return y===null&&(d.lanes=0),[n.memoizedState,d.dispatch]}function Xs(n){var a=dn(),i=a.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=n;var d=i.dispatch,y=i.pending,x=a.memoizedState;if(y!==null){i.pending=null;var A=y=y.next;do x=n(x,A.action),A=A.next;while(A!==y);Xi(x,a.memoizedState)||(ll=!0),a.memoizedState=x,a.baseQueue===null&&(a.baseState=x),i.lastRenderedState=x}return[x,d]}function ff(n,a,i){var d=Ft,y=Yr();if(mn){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var x=i();f1||x===i()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),f1=!0)}else{if(x=a(),f1||(i=a(),Xi(x,i)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f1=!0)),vr===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(on&127)!==0||hy(d,a,x)}return y.memoizedState=x,i={value:x,getSnapshot:a},y.queue=i,qo(ni.bind(null,d,i,n),[n]),d.flags|=2048,Li(Ac|Wi,{destroy:void 0},Zp.bind(null,d,i,x,a),null),x}function df(n,a,i){var d=Ft,y=dn(),x=mn;if(x){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=i()}else if(i=a(),!f1){var A=a();Xi(i,A)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f1=!0)}(A=!Xi((mr||y).memoizedState,i))&&(y.memoizedState=i,ll=!0),y=y.queue;var $=ni.bind(null,d,y,n);if($r(2048,Wi,$,[n]),y.getSnapshot!==a||A||al!==null&&al.memoizedState.tag&Ac){if(d.flags|=2048,Li(Ac|Wi,{destroy:void 0},Zp.bind(null,d,y,i,a),null),vr===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");x||(om&127)!==0||hy(d,a,i)}return i}function hy(n,a,i){n.flags|=16384,n={getSnapshot:a,value:i},a=Ft.updateQueue,a===null?(a=Xp(),Ft.updateQueue=a,a.stores=[n]):(i=a.stores,i===null?a.stores=[n]:i.push(n))}function Zp(n,a,i,d){a.value=i,a.getSnapshot=d,qi(a)&&my(n)}function ni(n,a,i){return i(function(){qi(a)&&(Ro(2,"updateSyncExternalStore()",n),my(n))})}function qi(n){var a=n.getSnapshot;n=n.value;try{var i=a();return!Xi(n,i)}catch{return!0}}function my(n){var a=ba(n,2);a!==null&&$t(a,n,2)}function Wp(n){var a=Yr();if(typeof n=="function"){var i=n;if(n=i(),_b){pe(!0);try{i()}finally{pe(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:n},a}function Qs(n){n=Wp(n);var a=n.queue,i=ah.bind(null,Ft,a);return a.dispatch=i,[n.memoizedState,i]}function wl(n){var a=Yr();a.memoizedState=a.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=lh.bind(null,Ft,!0,i),i.dispatch=a,[n,a]}function pf(n,a){var i=dn();return ri(i,mr,n,a)}function ri(n,a,i,d){return n.baseState=i,Ys(n,mr,typeof d=="function"?d:No)}function Ga(n,a){var i=dn();return mr!==null?ri(i,mr,n,a):(i.baseState=n,[n,i.queue.dispatch])}function x0(n,a,i,d,y){if(sa(n))throw Error("Cannot update form state while rendering.");if(n=a.action,n!==null){var x={payload:y,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){x.listeners.push(A)}};Ue.T!==null?i(!0):x.isTransition=!1,d(x),i=a.pending,i===null?(x.next=a.pending=x,Ju(a,x)):(x.next=i.next,a.pending=i.next=x)}}function Ju(n,a){var i=a.action,d=a.payload,y=n.state;if(a.isTransition){var x=Ue.T,A={};A._updatedFibers=new Set,Ue.T=A;try{var $=i(y,d),H=Ue.S;H!==null&&H(A,$),Zm(n,a,$)}catch(X){ai(n,a,X)}finally{x!==null&&A.types!==null&&(x.types!==null&&x.types!==A.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),x.types=A.types),Ue.T=x,x===null&&A._updatedFibers&&(n=A._updatedFibers.size,A._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{A=i(y,d),Zm(n,a,A)}catch(X){ai(n,a,X)}}function Zm(n,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?(Ue.asyncTransitions++,i.then(ec,ec),i.then(function(d){$o(n,a,d)},function(d){return ai(n,a,d)}),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.")):$o(n,a,i)}function $o(n,a,i){a.status="fulfilled",a.value=i,Jp(a),n.state=i,a=n.pending,a!==null&&(i=a.next,i===a?n.pending=null:(i=i.next,a.next=i,Ju(n,i)))}function ai(n,a,i){var d=n.pending;if(n.pending=null,d!==null){d=d.next;do a.status="rejected",a.reason=i,Jp(a),a=a.next;while(a!==d)}n.action=null}function Jp(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function es(n,a){return a}function Ya(n,a){if(mn){var i=vr.formState;if(i!==null){e:{var d=Ft;if(mn){if(zr){t:{for(var y=zr,x=Rc;y.nodeType!==8;){if(!x){y=null;break t}if(y=Za(y.nextSibling),y===null){y=null;break t}}x=y.data,y=x===QA||x===R4?y:null}if(y){zr=Za(y.nextSibling),d=y.data===QA;break e}}wo(d)}d=!1}d&&(a=i[0])}}return i=Yr(),i.memoizedState=i.baseState=a,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:es,lastRenderedState:a},i.queue=d,i=ah.bind(null,Ft,d),d.dispatch=i,d=Wp(!1),x=lh.bind(null,Ft,!1,d.queue),d=Yr(),y={state:a,dispatch:null,action:n,pending:null},d.queue=y,i=x0.bind(null,Ft,y,x,i),y.dispatch=i,d.memoizedState=n,[a,i,!1]}function Zs(n){var a=dn();return eh(a,mr,n)}function eh(n,a,i){if(a=Ys(n,a,es)[0],n=cf(No)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var d=Qp(a)}catch(A){throw A===i1?pR:A}else d=a;a=dn();var y=a.queue,x=y.dispatch;return i!==a.memoizedState&&(Ft.flags|=2048,Li(Ac|Wi,{destroy:void 0},ia.bind(null,y,i),null)),[d,x,n]}function ia(n,a){n.action=a}function gu(n){var a=dn(),i=mr;if(i!==null)return eh(a,i,n);dn(),a=a.memoizedState,i=dn();var d=i.queue.dispatch;return i.memoizedState=n,[a,d,!1]}function Li(n,a,i,d){return n={tag:n,create:i,deps:d,inst:a,next:null},a=Ft.updateQueue,a===null&&(a=Xp(),Ft.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=n.next=n:(d=i.next,i.next=n,n.next=d,a.lastEffect=n),n}function Po(n){var a=Yr();return n={current:n},a.memoizedState=n}function yu(n,a,i,d){var y=Yr();Ft.flags|=n,y.memoizedState=Li(Ac|a,{destroy:void 0},i,d===void 0?null:d)}function $r(n,a,i,d){var y=dn();d=d===void 0?null:d;var x=y.memoizedState.inst;mr!==null&&d!==null&&dy(d,mr.memoizedState.deps)?y.memoizedState=Li(a,x,i,d):(Ft.flags|=n,y.memoizedState=Li(Ac|a,x,i,d))}function qo(n,a){(Ft.mode&Uf)!==kt?yu(276826112,Wi,n,a):yu(8390656,Wi,n,a)}function vy(n){Ft.flags|=4;var a=Ft.updateQueue;if(a===null)a=Xp(),Ft.updateQueue=a,a.events=[n];else{var i=a.events;i===null?a.events=[n]:i.push(n)}}function ua(n){var a=Yr(),i={impl:n};return a.memoizedState=i,function(){if((Dn&Ul)!==yo)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return i.impl.apply(void 0,arguments)}}function Ws(n){var a=dn().memoizedState;return vy({ref:a,nextImpl:n}),function(){if((Dn&Ul)!==yo)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Rl(n,a){var i=4194308;return(Ft.mode&Uf)!==kt&&(i|=134217728),yu(i,gs,n,a)}function Lo(n,a){if(typeof a=="function"){n=n();var i=a(n);return function(){typeof i=="function"?i():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 bu(n,a,i){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"),i=i!=null?i.concat([n]):null;var d=4194308;(Ft.mode&Uf)!==kt&&(d|=134217728),yu(d,gs,Lo.bind(null,a,n),i)}function Js(n,a,i){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"),i=i!=null?i.concat([n]):null,$r(4,gs,Lo.bind(null,a,n),i)}function Wm(n,a){return Yr().memoizedState=[n,a===void 0?null:a],n}function Tl(n,a){var i=dn();a=a===void 0?null:a;var d=i.memoizedState;return a!==null&&dy(a,d[1])?d[0]:(i.memoizedState=[n,a],n)}function Xa(n,a){var i=Yr();a=a===void 0?null:a;var d=n();if(_b){pe(!0);try{n()}finally{pe(!1)}}return i.memoizedState=[d,a],d}function fr(n,a){var i=dn();a=a===void 0?null:a;var d=i.memoizedState;if(a!==null&&dy(a,d[1]))return d[0];if(d=n(),_b){pe(!0);try{n()}finally{pe(!1)}}return i.memoizedState=[d,a],d}function Ed(n,a){var i=Yr();return Nn(i,n,a)}function no(n,a){var i=dn();return Sr(i,mr.memoizedState,n,a)}function Gt(n,a){var i=dn();return mr===null?Nn(i,n,a):Sr(i,mr.memoizedState,n,a)}function Nn(n,a,i){return i===void 0||(om&1073741824)!==0&&(on&261930)===0?n.memoizedState=a:(n.memoizedState=i,n=Od(),Ft.lanes|=n,ug|=n,i)}function Sr(n,a,i,d){return Xi(i,a)?i:s1.current!==null?(n=Nn(n,i,d),Xi(n,a)||(ll=!0),n):(om&42)===0||(om&1073741824)!==0&&(on&261930)===0?(ll=!0,n.memoizedState=i):(n=Od(),Ft.lanes|=n,ug|=n,a)}function ec(){Ue.asyncTransitions--}function hf(n,a,i,d,y){var x=An.p;An.p=x!==0&&x<ja?x:ja;var A=Ue.T,$={};$._updatedFibers=new Set,Ue.T=$,lh(n,!1,a,i);try{var H=y(),X=Ue.S;if(X!==null&&X($,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){Ue.asyncTransitions++,H.then(ec,ec);var Re=Qm(H,d);tc(n,a,Re,$a(n))}else tc(n,a,d,$a(n))}catch(Te){tc(n,a,{then:function(){},status:"rejected",reason:Te},$a(n))}finally{An.p=x,A!==null&&$.types!==null&&(A.types!==null&&A.types!==$.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),A.types=$.types),Ue.T=A,A===null&&$._updatedFibers&&(n=$._updatedFibers.size,$._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 ts(n,a,i,d){if(n.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var y=th(n).queue;On(n),hf(n,y,a,zb,i===null?E:function(){return mf(n),i(d)})}function th(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:zb,baseState:zb,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:zb},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:i},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function mf(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=th(n);a.next===null&&(a=n.alternate.memoizedState),tc(n,a.next.queue,{},$a(n))}function xu(){var n=Wp(!1);return n=hf.bind(null,Ft,n.queue,!0,!1),Yr().memoizedState=n,[!1,n]}function E0(){var n=cf(No)[0],a=dn().memoizedState;return[typeof n=="boolean"?n:Qp(n),a]}function lr(){var n=Xs(No)[0],a=dn().memoizedState;return[typeof n=="boolean"?n:Qp(n),a]}function Eu(){return Tn(nE)}function Sd(){var n=Yr(),a=vr.identifierPrefix;if(mn){var i=tm,d=em;i=(d&~(1<<32-La(d)-1)).toString(32)+i,a="_"+a+"R_"+i,i=yR++,0<i&&(a+="H"+i.toString(32)),a+="_"}else i=SI++,a="_"+a+"r_"+i.toString(32)+"_";return n.memoizedState=a}function nh(){return Yr().memoizedState=rh.bind(null,Ft)}function rh(n,a){for(var i=n.return;i!==null;){switch(i.tag){case 24:case 3:var d=$a(i),y=la(d),x=pu(i,y,d);x!==null&&(Ro(d,"refresh()",n),$t(x,i,d),ti(x,i,d)),n=Xm(),a!=null&&x!==null&&console.error("The seed argument is not enabled outside experimental channels."),y.payload={cache:n};return}i=i.return}}function dx(n,a,i){var d=arguments;typeof d[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()."),d=$a(n);var y={lane:d,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};sa(n)?Pr(a,y):(y=Gu(n,a,y,d),y!==null&&(Ro(d,"dispatch()",n),$t(y,n,d),vf(y,a,d)))}function ah(n,a,i){var d=arguments;typeof d[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()."),d=$a(n),tc(n,a,i,d)&&Ro(d,"setState()",n)}function tc(n,a,i,d){var y={lane:d,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(sa(n))Pr(a,y);else{var x=n.alternate;if(n.lanes===0&&(x===null||x.lanes===0)&&(x=a.lastRenderedReducer,x!==null)){var A=Ue.H;Ue.H=Hf;try{var $=a.lastRenderedState,H=x($,i);if(y.hasEagerState=!0,y.eagerState=H,Xi(H,$))return Zc(n,a,y,0),vr===null&&zp(),!1}catch{}finally{Ue.H=A}}if(i=Gu(n,a,y,d),i!==null)return $t(i,n,d),vf(i,a,d),!0}return!1}function lh(n,a,i,d){if(Ue.T===null&&Sb===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."),d={lane:2,revertLane:ky(),gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},sa(n)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=Gu(n,i,d,2),a!==null&&(Ro(2,"setOptimistic()",n),$t(a,n,2))}function sa(n){var a=n.alternate;return n===Ft||a!==null&&a===Ft}function Pr(n,a){d1=gR=!0;var i=n.pending;i===null?a.next=a:(a.next=i.next,i.next=a),n.pending=a}function vf(n,a,i){if((i&4194048)!==0){var d=a.lanes;d&=n.pendingLanes,i|=d,a.lanes=i,pl(n,i)}}function nc(n){if(n!==null&&typeof n!="function"){var a=String(n);Z3.has(a)||(Z3.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",n))}}function rc(n,a,i,d){var y=n.memoizedState,x=i(d,y);if(n.mode&di){pe(!0);try{x=i(d,y)}finally{pe(!1)}}x===void 0&&(a=Q(a)||"Component",G3.has(a)||(G3.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),y=x==null?y:ht({},y,x),n.memoizedState=y,n.lanes===0&&(n.updateQueue.baseState=y)}function Jm(n,a,i,d,y,x,A){var $=n.stateNode;if(typeof $.shouldComponentUpdate=="function"){if(i=$.shouldComponentUpdate(d,x,A),n.mode&di){pe(!0);try{i=$.shouldComponentUpdate(d,x,A)}finally{pe(!1)}}return i===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Q(a)||"Component"),i}return a.prototype&&a.prototype.isPureReactComponent?!js(i,d)||!js(y,x):!0}function li(n,a,i,d){var y=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,d),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,d),a.state!==y&&(n=de(n)||"Component",I3.has(n)||(I3.add(n),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n)),AA.enqueueReplaceState(a,a.state,null))}function qt(n,a){var i=a;if("ref"in a){i={};for(var d in a)d!=="ref"&&(i[d]=a[d])}if(n=n.defaultProps){i===a&&(i=ht({},i));for(var y in n)i[y]===void 0&&(i[y]=n[y])}return i}function ev(n){lA(n),console.warn(`%s
|
|
162
|
+
|
|
163
|
+
%s
|
|
164
|
+
`,p1?"An error occurred in the <"+p1+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
165
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function tv(n){var a=p1?"The above error occurred in the <"+p1+"> component.":"The above error occurred in one of your React components.",i="React will try to recreate this component tree from scratch using the error boundary you provided, "+((DA||"Anonymous")+".");if(typeof n=="object"&&n!==null&&typeof n.environmentName=="string"){var d=n.environmentName;n=[`%o
|
|
166
|
+
|
|
167
|
+
%s
|
|
168
|
+
|
|
169
|
+
%s
|
|
170
|
+
`,n,a,i].slice(0),typeof n[0]=="string"?n.splice(0,1,$4+" "+n[0],P4,HR+d+HR,q4):n.splice(0,0,$4,P4,HR+d+HR,q4),n.unshift(console),d=HI.apply(console.error,n),d()}else console.error(`%o
|
|
171
|
+
|
|
172
|
+
%s
|
|
173
|
+
|
|
174
|
+
%s
|
|
175
|
+
`,n,a,i)}function gf(n){lA(n)}function Cd(n,a){try{p1=a.source?de(a.source):null,DA=null;var i=a.value;if(Ue.actQueue!==null)Ue.thrownErrors.push(i);else{var d=n.onUncaughtError;d(i,{componentStack:a.stack})}}catch(y){setTimeout(function(){throw y})}}function gy(n,a,i){try{p1=i.source?de(i.source):null,DA=de(a);var d=n.onCaughtError;d(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function nv(n,a,i){return i=la(i),i.tag=SA,i.payload={element:null},i.callback=function(){Ee(a.source,Cd,n,a)},i}function _l(n){return n=la(n),n.tag=SA,n}function rv(n,a,i,d){var y=i.type.getDerivedStateFromError;if(typeof y=="function"){var x=d.value;n.payload=function(){return y(x)},n.callback=function(){Bs(i),Ee(d.source,gy,a,i,d)}}var A=i.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(n.callback=function(){Bs(i),Ee(d.source,gy,a,i,d),typeof y!="function"&&(cg===null?cg=new Set([this]):cg.add(this)),yI(this,d),typeof y=="function"||(i.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.",de(i)||"Unknown")})}function wd(n,a,i,d,y){if(i.flags|=32768,qu&&zd(n,y),d!==null&&typeof d=="object"&&typeof d.then=="function"){if(a=i.alternate,a!==null&&jn(a,i,y,!0),mn&&(ip=!0),i=vs.current,i!==null){switch(i.tag){case 31:case 13:return _c===null?Pd():i.alternate===null&&ea===cm&&(ea=ER),i.flags&=-257,i.flags|=65536,i.lanes=y,d===hR?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([d]):a.add(d),xv(n,d,y)),!1;case 22:return i.flags|=65536,d===hR?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([d])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([d]):i.add(d)),xv(n,d,y)),!1}throw Error("Unexpected Suspense handler tag ("+i.tag+"). This is a bug in React.")}return xv(n,d,y),Pd(),!1}if(mn)return ip=!0,a=vs.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=y,d!==fA&&su(bl(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:d}),i))):(d!==fA&&su(bl(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:d}),i)),n=n.current.alternate,n.flags|=65536,y&=-y,n.lanes|=y,d=bl(d,i),y=nv(n.stateNode,d,y),Fs(n,y),ea!==og&&(ea=Ab)),!1;var x=bl(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:d}),i);if(Gx===null?Gx=[x]:Gx.push(x),ea!==og&&(ea=Ab),a===null)return!0;d=bl(d,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,n=y&-y,i.lanes|=n,n=nv(i.stateNode,d,n),Fs(i,n),!1;case 1:if(a=i.type,x=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(cg===null||!cg.has(x))))return i.flags|=65536,y&=-y,i.lanes|=y,y=_l(y),rv(y,n,i,d),Fs(i,y),!1}i=i.return}while(i!==null);return!1}function Xr(n,a,i,d){a.child=n===null?O3(a,null,i,d):Tb(a,n.child,i,d)}function yy(n,a,i,d,y){i=i.render;var x=a.ref;if("ref"in d){var A={};for(var $ in d)$!=="ref"&&(A[$]=d[$])}else A=d;return cu(a),d=py(n,a,i,A,x,y),$=sf(),n!==null&&!ll?(Yp(n,a,y),oi(n,a,y)):(mn&&$&&Up(a),a.flags|=1,Xr(n,a,d,y),a.child)}function av(n,a,i,d,y){if(n===null){var x=i.type;return typeof x=="function"&&!Wc(x)&&x.defaultProps===void 0&&i.compare===null?(i=uu(x),a.tag=15,a.type=i,jo(a,x),Al(n,a,i,d,y)):(n=Jc(i.type,null,d,a,a.mode,y),n.ref=a.ref,n.return=a,a.child=n)}if(x=n.child,!fh(n,y)){var A=x.memoizedProps;if(i=i.compare,i=i!==null?i:js,i(A,d)&&n.ref===a.ref)return oi(n,a,y)}return a.flags|=1,n=Ai(x,d),n.ref=a.ref,n.return=a,a.child=n}function Al(n,a,i,d,y){if(n!==null){var x=n.memoizedProps;if(js(x,d)&&n.ref===a.ref&&a.type===n.type)if(ll=!1,a.pendingProps=d=x,fh(n,y))(n.flags&131072)!==0&&(ll=!0);else return a.lanes=n.lanes,oi(n,a,y)}return oh(n,a,i,d,y)}function Su(n,a,i,d){var y=d.children,x=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:Sx,_pendingMarkers:null,_retryCache:null,_transitions:null}),d.mode==="hidden"){if((a.flags&128)!==0){if(x=x!==null?x.baseLanes|i:i,n!==null){for(d=a.child=n.child,y=0;d!==null;)y=y|d.lanes|d.childLanes,d=d.sibling;d=y&~x}else d=0,a.child=null;return lv(n,a,x,i,d)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Qu(a,x!==null?x.cachePool:null),x!==null?Sl(a,x):It(a),mu(a);else return d=a.lanes=536870912,lv(n,a,x!==null?x.baseLanes|i:i,i,d)}else x!==null?(Qu(a,x.cachePool),Sl(a,x),vu(a),a.memoizedState=null):(n!==null&&Qu(a,null),It(a),vu(a));return Xr(n,a,y,i),a.child}function ns(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:Sx,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function lv(n,a,i,d,y){var x=Xu();return x=x===null?null:{parent:nl._currentValue,pool:x},a.memoizedState={baseLanes:i,cachePool:x},n!==null&&Qu(a,null),It(a),mu(a),n!==null&&jn(n,a,d,!0),a.childLanes=y,null}function ac(n,a){var i=a.hidden;return i!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
176
|
+
- <Activity %s>
|
|
177
|
+
+ <Activity %s>`,i===!0?"hidden":i===!1?"hidden={false}":"hidden={...}",i?'mode="hidden"':'mode="visible"'),a=sh({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function ov(n,a,i){return Tb(a,n.child,null,i),n=ac(a,a.pendingProps),n.flags|=2,Ca(a),a.memoizedState=null,n}function iv(n,a,i){var d=a.pendingProps,y=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(mn){if(d.mode==="hidden")return n=ac(a,d),a.lanes=536870912,ns(null,n);if(Pi(a),(n=zr)?(i=Ln(n,Rc),i=i!==null&&i.data===Pb?i:null,i!==null&&(d={dehydrated:i,treeContext:Ip(),retryLane:536870912,hydrationErrors:null},a.memoizedState=d,d=oy(i),d.return=a,a.child=d,Go=a,zr=null)):i=null,i===null)throw Wn(a,n),wo(a);return a.lanes=536870912,null}return ac(a,d)}var x=n.memoizedState;if(x!==null){var A=x.dehydrated;if(Pi(a),y)if(a.flags&256)a.flags&=-257,a=ov(n,a,i);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(nf(),(i&536870912)!==0&&$d(a),ll||jn(n,a,i,!1),y=(i&n.childLanes)!==0,ll||y){if(d=vr,d!==null&&(A=Ms(d,i),A!==0&&A!==x.retryLane))throw x.retryLane=A,ba(n,A),$t(d,n,A),MA;Pd(),a=ov(n,a,i)}else n=x.treeContext,zr=Za(A.nextSibling),Go=a,mn=!0,eg=null,ip=!1,ms=null,Rc=!1,n!==null&&b0(a,n),a=ac(a,d),a.flags|=4096;return a}return x=n.child,d={mode:d.mode,children:d.children},(i&536870912)!==0&&(i&n.lanes)!==0&&$d(a),n=Ai(x,d),n.ref=a.ref,a.child=n,n.return=a,n}function Rd(n,a){var i=a.ref;if(i===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(n===null||n.ref!==i)&&(a.flags|=4194816)}}function oh(n,a,i,d,y){if(i.prototype&&typeof i.prototype.render=="function"){var x=Q(i)||"Unknown";W3[x]||(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.",x,x),W3[x]=!0)}return a.mode&di&&If.recordLegacyContextWarning(a,null),n===null&&(jo(a,a.type),i.contextTypes&&(x=Q(i)||"Unknown",e4[x]||(e4[x]=!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)",x)))),cu(a),i=py(n,a,i,d,void 0,y),d=sf(),n!==null&&!ll?(Yp(n,a,y),oi(n,a,y)):(mn&&d&&Up(a),a.flags|=1,Xr(n,a,i,y),a.child)}function ih(n,a,i,d,y,x){return cu(a),um=-1,kx=n!==null&&n.type!==a.type,a.updateQueue=null,i=Mo(a,d,i,y),Ur(n,a),d=sf(),n!==null&&!ll?(Yp(n,a,x),oi(n,a,x)):(mn&&d&&Up(a),a.flags|=1,Xr(n,a,i,x),a.child)}function ro(n,a,i,d,y){switch(h(a)){case!1:var x=a.stateNode,A=new a.type(a.memoizedProps,x.context).state;x.updater.enqueueSetState(x,A,null);break;case!0:a.flags|=128,a.flags|=65536,x=Error("Simulated error coming from DevTools");var $=y&-y;if(a.lanes|=$,A=vr,A===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");$=_l($),rv($,A,a,bl(x,a)),Fs(a,$)}if(cu(a),a.stateNode===null){if(A=Jv,x=i.contextType,"contextType"in i&&x!==null&&(x===void 0||x.$$typeof!==Ki)&&!Q3.has(i)&&(Q3.add(i),$=x===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 x!="object"?" However, it is set to a "+typeof x+".":x.$$typeof===kv?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(x).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Q(i)||"Component",$)),typeof x=="object"&&x!==null&&(A=Tn(x)),x=new i(d,A),a.mode&di){pe(!0);try{x=new i(d,A)}finally{pe(!1)}}if(A=a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=AA,a.stateNode=x,x._reactInternals=a,x._reactInternalInstance=U3,typeof i.getDerivedStateFromProps=="function"&&A===null&&(A=Q(i)||"Component",H3.has(A)||(H3.add(A),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.",A,x.state===null?"null":"undefined",A))),typeof i.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"){var H=$=A=null;if(typeof x.componentWillMount=="function"&&x.componentWillMount.__suppressDeprecationWarning!==!0?A="componentWillMount":typeof x.UNSAFE_componentWillMount=="function"&&(A="UNSAFE_componentWillMount"),typeof x.componentWillReceiveProps=="function"&&x.componentWillReceiveProps.__suppressDeprecationWarning!==!0?$="componentWillReceiveProps":typeof x.UNSAFE_componentWillReceiveProps=="function"&&($="UNSAFE_componentWillReceiveProps"),typeof x.componentWillUpdate=="function"&&x.componentWillUpdate.__suppressDeprecationWarning!==!0?H="componentWillUpdate":typeof x.UNSAFE_componentWillUpdate=="function"&&(H="UNSAFE_componentWillUpdate"),A!==null||$!==null||H!==null){x=Q(i)||"Component";var X=typeof i.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";F3.has(x)||(F3.add(x),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
178
|
+
|
|
179
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
180
|
+
|
|
181
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
182
|
+
https://react.dev/link/unsafe-component-lifecycles`,x,X,A!==null?`
|
|
183
|
+
`+A:"",$!==null?`
|
|
184
|
+
`+$:"",H!==null?`
|
|
185
|
+
`+H:""))}}x=a.stateNode,A=Q(i)||"Component",x.render||(i.prototype&&typeof i.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",A):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",A)),!x.getInitialState||x.getInitialState.isReactClassApproved||x.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?",A),x.getDefaultProps&&!x.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.",A),x.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",A),i.childContextTypes&&!X3.has(i)&&(X3.add(i),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",A)),i.contextTypes&&!Y3.has(i)&&(Y3.add(i),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)",A)),typeof x.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.",A),i.prototype&&i.prototype.isPureReactComponent&&typeof x.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.",Q(i)||"A pure component"),typeof x.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",A),typeof x.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().",A),typeof x.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",A),typeof x.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",A),$=x.props!==d,x.props!==void 0&&$&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",A),x.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.",A,A),typeof x.getSnapshotBeforeUpdate!="function"||typeof x.componentDidUpdate=="function"||V3.has(i)||(V3.add(i),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Q(i))),typeof x.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",A),typeof x.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",A),typeof i.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",A),($=x.state)&&(typeof $!="object"||Zr($))&&console.error("%s.state: must be set to an object or null",A),typeof x.getChildContext=="function"&&typeof i.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",A),x=a.stateNode,x.props=d,x.state=a.memoizedState,x.refs={},un(a),A=i.contextType,x.context=typeof A=="object"&&A!==null?Tn(A):Jv,x.state===d&&(A=Q(i)||"Component",K3.has(A)||(K3.add(A),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.",A))),a.mode&di&&If.recordLegacyContextWarning(a,x),If.recordUnsafeLifecycleWarnings(a,x),x.state=a.memoizedState,A=i.getDerivedStateFromProps,typeof A=="function"&&(rc(a,i,A,d),x.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(A=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),A!==x.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",de(a)||"Component"),AA.enqueueReplaceState(x,x.state,null)),Ni(a,d,x,y),hu(),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Uf)!==kt&&(a.flags|=134217728),x=!0}else if(n===null){x=a.stateNode;var Re=a.memoizedProps;$=qt(i,Re),x.props=$;var Te=x.context;H=i.contextType,A=Jv,typeof H=="object"&&H!==null&&(A=Tn(H)),X=i.getDerivedStateFromProps,H=typeof X=="function"||typeof x.getSnapshotBeforeUpdate=="function",Re=a.pendingProps!==Re,H||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(Re||Te!==A)&&li(a,x,d,A),lg=!1;var ve=a.memoizedState;x.state=ve,Ni(a,d,x,y),hu(),Te=a.memoizedState,Re||ve!==Te||lg?(typeof X=="function"&&(rc(a,i,X,d),Te=a.memoizedState),($=lg||Jm(a,i,$,d,ve,Te,A))?(H||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Uf)!==kt&&(a.flags|=134217728)):(typeof x.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Uf)!==kt&&(a.flags|=134217728),a.memoizedProps=d,a.memoizedState=Te),x.props=d,x.state=Te,x.context=A,x=$):(typeof x.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Uf)!==kt&&(a.flags|=134217728),x=!1)}else{x=a.stateNode,du(n,a),A=a.memoizedProps,H=qt(i,A),x.props=H,X=a.pendingProps,ve=x.context,Te=i.contextType,$=Jv,typeof Te=="object"&&Te!==null&&($=Tn(Te)),Re=i.getDerivedStateFromProps,(Te=typeof Re=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(A!==X||ve!==$)&&li(a,x,d,$),lg=!1,ve=a.memoizedState,x.state=ve,Ni(a,d,x,y),hu();var Be=a.memoizedState;A!==X||ve!==Be||lg||n!==null&&n.dependencies!==null&&En(n.dependencies)?(typeof Re=="function"&&(rc(a,i,Re,d),Be=a.memoizedState),(H=lg||Jm(a,i,H,d,ve,Be,$)||n!==null&&n.dependencies!==null&&En(n.dependencies))?(Te||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(d,Be,$),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(d,Be,$)),typeof x.componentDidUpdate=="function"&&(a.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof x.componentDidUpdate!="function"||A===n.memoizedProps&&ve===n.memoizedState||(a.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&ve===n.memoizedState||(a.flags|=1024),a.memoizedProps=d,a.memoizedState=Be),x.props=d,x.state=Be,x.context=$,x=H):(typeof x.componentDidUpdate!="function"||A===n.memoizedProps&&ve===n.memoizedState||(a.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&ve===n.memoizedState||(a.flags|=1024),x=!1)}if($=x,Rd(n,a),A=(a.flags&128)!==0,$||A){if($=a.stateNode,Ae(a),A&&typeof i.getDerivedStateFromError!="function")i=null,Qi=-1;else if(i=g3($),a.mode&di){pe(!0);try{g3($)}finally{pe(!1)}}a.flags|=1,n!==null&&A?(a.child=Tb(a,n.child,null,y),a.child=Tb(a,null,i,y)):Xr(n,a,i,y),a.memoizedState=$.state,n=a.child}else n=oi(n,a,y);return y=a.stateNode,x&&y.props!==d&&(h1||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",de(a)||"a component"),h1=!0),n}function by(n,a,i,d){return Is(),a.flags|=256,Xr(n,a,i,d),a.child}function jo(n,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
186
|
+
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(n=Q(a)||"Unknown",t4[n]||(console.error("%s: Function components do not support getDerivedStateFromProps.",n),t4[n]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=Q(a)||"Unknown",J3[a]||(console.error("%s: Function components do not support contextType.",a),J3[a]=!0))}function yf(n){return{baseLanes:n,cachePool:yd()}}function uh(n,a,i){return n=n!==null?n.childLanes&~i:0,a&&(n|=Bu),n}function Td(n,a,i){var d,y=a.pendingProps;c(a)&&(a.flags|=128);var x=!1,A=(a.flags&128)!==0;if((d=A)||(d=n!==null&&n.memoizedState===null?!1:(za.current&zx)!==0),d&&(x=!0,a.flags&=-129),d=(a.flags&32)!==0,a.flags&=-33,n===null){if(mn){if(x?Cl(a):vu(a),(n=zr)?(i=Ln(n,Rc),i=i!==null&&i.data!==Pb?i:null,i!==null&&(d={dehydrated:i,treeContext:Ip(),retryLane:536870912,hydrationErrors:null},a.memoizedState=d,d=oy(i),d.return=a,a.child=d,Go=a,zr=null)):i=null,i===null)throw Wn(a,n),wo(a);return Xy(i)?a.lanes=32:a.lanes=536870912,null}var $=y.children;if(y=y.fallback,x){vu(a);var H=a.mode;return $=sh({mode:"hidden",children:$},H),y=ef(y,H,i,null),$.return=a,y.return=a,$.sibling=y,a.child=$,y=a.child,y.memoizedState=yf(i),y.childLanes=uh(n,d,i),a.memoizedState=OA,ns(null,y)}return Cl(a),xy(a,$)}var X=n.memoizedState;if(X!==null){var Re=X.dehydrated;if(Re!==null){if(A)a.flags&256?(Cl(a),a.flags&=-257,a=uv(n,a,i)):a.memoizedState!==null?(vu(a),a.child=n.child,a.flags|=128,a=null):(vu(a),$=y.fallback,H=a.mode,y=sh({mode:"visible",children:y.children},H),$=ef($,H,i,null),$.flags|=2,y.return=a,$.return=a,y.sibling=$,a.child=y,Tb(a,n.child,null,i),y=a.child,y.memoizedState=yf(i),y.childLanes=uh(n,d,i),a.memoizedState=OA,a=ns(null,y));else if(Cl(a),nf(),(i&536870912)!==0&&$d(a),Xy(Re)){if(d=Re.nextSibling&&Re.nextSibling.dataset,d){$=d.dgst;var Te=d.msg;H=d.stck;var ve=d.cstck}x=Te,d=$,y=H,Re=ve,$=x,H=Re,$=Error($||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),$.stack=y||"",$.digest=d,d=H===void 0?null:H,y={value:$,source:null,stack:d},typeof d=="string"&&cA.set($,y),su(y),a=uv(n,a,i)}else if(ll||jn(n,a,i,!1),d=(i&n.childLanes)!==0,ll||d){if(d=vr,d!==null&&(y=Ms(d,i),y!==0&&y!==X.retryLane))throw X.retryLane=y,ba(n,y),$t(d,n,y),MA;jh(Re)||Pd(),a=uv(n,a,i)}else jh(Re)?(a.flags|=192,a.child=n.child,a=null):(n=X.treeContext,zr=Za(Re.nextSibling),Go=a,mn=!0,eg=null,ip=!1,ms=null,Rc=!1,n!==null&&b0(a,n),a=xy(a,y.children),a.flags|=4096);return a}}return x?(vu(a),$=y.fallback,H=a.mode,ve=n.child,Re=ve.sibling,y=Ai(ve,{mode:"hidden",children:y.children}),y.subtreeFlags=ve.subtreeFlags&65011712,Re!==null?$=Ai(Re,$):($=ef($,H,i,null),$.flags|=2),$.return=a,y.return=a,y.sibling=$,a.child=y,ns(null,y),y=a.child,$=n.child.memoizedState,$===null?$=yf(i):(H=$.cachePool,H!==null?(ve=nl._currentValue,H=H.parent!==ve?{parent:ve,pool:ve}:H):H=yd(),$={baseLanes:$.baseLanes|i,cachePool:H}),y.memoizedState=$,y.childLanes=uh(n,d,i),a.memoizedState=OA,ns(n.child,y)):(X!==null&&(i&62914560)===i&&(i&n.lanes)!==0&&$d(a),Cl(a),i=n.child,n=i.sibling,i=Ai(i,{mode:"visible",children:y.children}),i.return=a,i.sibling=null,n!==null&&(d=a.deletions,d===null?(a.deletions=[n],a.flags|=16):d.push(n)),a.child=i,a.memoizedState=null,i)}function xy(n,a){return a=sh({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function sh(n,a){return n=R(22,n,null,a),n.lanes=0,n}function uv(n,a,i){return Tb(a,n.child,null,i),n=xy(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function sv(n,a,i){n.lanes|=a;var d=n.alternate;d!==null&&(d.lanes|=a),jt(n.return,a,i)}function ch(n,a,i,d,y,x){var A=n.memoizedState;A===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:d,tail:i,tailMode:y,treeForkCount:x}:(A.isBackwards=a,A.rendering=null,A.renderingStartTime=0,A.last=d,A.tail=i,A.tailMode=y,A.treeForkCount=x)}function Ey(n,a,i){var d=a.pendingProps,y=d.revealOrder,x=d.tail,A=d.children,$=za.current;if((d=($&zx)!==0)?($=$&c1|zx,a.flags|=128):$&=c1,le(za,$,a),$=y??"null",y!=="forwards"&&y!=="unstable_legacy-backwards"&&y!=="together"&&y!=="independent"&&!n4[$])if(n4[$]=!0,y==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(y==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof y=="string")switch(y.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',y,y.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.',y,y.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',y)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',y);$=x??"null",xR[$]||(x==null?(y==="forwards"||y==="backwards"||y==="unstable_legacy-backwards")&&(xR[$]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):x!=="visible"&&x!=="collapsed"&&x!=="hidden"?(xR[$]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',x)):y!=="forwards"&&y!=="backwards"&&y!=="unstable_legacy-backwards"&&(xR[$]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',x)));e:if((y==="forwards"||y==="backwards"||y==="unstable_legacy-backwards")&&A!==void 0&&A!==null&&A!==!1)if(Zr(A)){for($=0;$<A.length;$++)if(!_n(A[$],$))break e}else if($=K(A),typeof $=="function"){if($=$.call(A))for(var H=$.next(),X=0;!H.done;H=$.next()){if(!_n(H.value,X))break e;X++}}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?',y);if(Xr(n,a,A,i),mn?(Us(),A=Cx):A=0,!d&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&sv(n,i,a);else if(n.tag===19)sv(n,i,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}switch(y){case"forwards":for(i=a.child,y=null;i!==null;)n=i.alternate,n!==null&&uf(n)===null&&(y=i),i=i.sibling;i=y,i===null?(y=a.child,a.child=null):(y=i.sibling,i.sibling=null),ch(a,!1,y,i,x,A);break;case"backwards":case"unstable_legacy-backwards":for(i=null,y=a.child,a.child=null;y!==null;){if(n=y.alternate,n!==null&&uf(n)===null){a.child=y;break}n=y.sibling,y.sibling=i,i=y,y=n}ch(a,!0,i,null,x,A);break;case"together":ch(a,!1,null,null,void 0,A);break;default:a.memoizedState=null}return a.child}function oi(n,a,i){if(n!==null&&(a.dependencies=n.dependencies),Qi=-1,ug|=a.lanes,(i&a.childLanes)===0)if(n!==null){if(jn(n,a,i,!1),(i&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,i=Ai(n,n.pendingProps),a.child=i,i.return=a;n.sibling!==null;)n=n.sibling,i=i.sibling=Ai(n,n.pendingProps),i.return=a;i.sibling=null}return a.child}function fh(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&En(n)))}function Dl(n,a,i){switch(a.tag){case 3:xe(a,a.stateNode.containerInfo),ze(a,nl,n.memoizedState.cache),Is();break;case 27:case 5:te(a);break;case 4:xe(a,a.stateNode.containerInfo);break;case 10:ze(a,a.type,a.memoizedProps.value);break;case 12:(i&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var d=a.stateNode;d.effectDuration=-0,d.passiveEffectDuration=-0;break;case 31:if(a.memoizedState!==null)return a.flags|=128,Pi(a),null;break;case 13:if(d=a.memoizedState,d!==null)return d.dehydrated!==null?(Cl(a),a.flags|=128,null):(i&a.child.childLanes)!==0?Td(n,a,i):(Cl(a),n=oi(n,a,i),n!==null?n.sibling:null);Cl(a);break;case 19:var y=(n.flags&128)!==0;if(d=(i&a.childLanes)!==0,d||(jn(n,a,i,!1),d=(i&a.childLanes)!==0),y){if(d)return Ey(n,a,i);a.flags|=128}if(y=a.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),le(za,za.current,a),d)break;return null;case 22:return a.lanes=0,Su(n,a,i,a.pendingProps);case 24:ze(a,nl,n.memoizedState.cache)}return oi(n,a,i)}function ao(n,a,i){if(a._debugNeedsRemount&&n!==null){i=Jc(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),i._debugStack=a._debugStack,i._debugTask=a._debugTask;var d=a.return;if(d===null)throw Error("Cannot swap the root fiber.");if(n.alternate=null,a.alternate=null,i.index=a.index,i.sibling=a.sibling,i.return=a.return,i.ref=a.ref,i._debugInfo=a._debugInfo,a===d.child)d.child=i;else{var y=d.child;if(y===null)throw Error("Expected parent to have a child.");for(;y.sibling!==a;)if(y=y.sibling,y===null)throw Error("Expected to find the previous sibling.");y.sibling=i}return a=d.deletions,a===null?(d.deletions=[n],d.flags|=16):a.push(n),i.flags|=2,i}if(n!==null)if(n.memoizedProps!==a.pendingProps||a.type!==n.type)ll=!0;else{if(!fh(n,i)&&(a.flags&128)===0)return ll=!1,Dl(n,a,i);ll=(n.flags&131072)!==0}else ll=!1,(d=mn)&&(Us(),d=(a.flags&1048576)!==0),d&&(d=a.index,Us(),kp(a,Cx,d));switch(a.lanes=0,a.tag){case 16:e:if(d=a.pendingProps,n=Ao(a.elementType),a.type=n,typeof n=="function")Wc(n)?(d=qt(n,d),a.tag=1,a.type=n=uu(n),a=ro(null,a,n,d,i)):(a.tag=0,jo(a,n),a.type=n=uu(n),a=oh(null,a,n,d,i));else{if(n!=null){if(y=n.$$typeof,y===Zd){a.tag=11,a.type=n=hd(n),a=yy(null,a,n,d,i);break e}else if(y===Kh){a.tag=14,a=av(null,a,n,d,i);break e}}throw a="",n!==null&&typeof n=="object"&&n.$$typeof===Ja&&(a=" Did you wrap a component in React.lazy() more than once?"),i=Q(n)||n,Error("Element type is invalid. Received a promise that resolves to: "+i+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return oh(n,a,a.type,a.pendingProps,i);case 1:return d=a.type,y=qt(d,a.pendingProps),ro(n,a,d,y,i);case 3:e:{if(xe(a,a.stateNode.containerInfo),n===null)throw Error("Should have a current fiber. This is a bug in React.");d=a.pendingProps;var x=a.memoizedState;y=x.element,du(n,a),Ni(a,d,null,i);var A=a.memoizedState;if(d=A.cache,ze(a,nl,d),d!==x.cache&&Jt(a,[nl],i,!0),hu(),d=A.element,x.isDehydrated)if(x={element:d,isDehydrated:!1,cache:A.cache},a.updateQueue.baseState=x,a.memoizedState=x,a.flags&256){a=by(n,a,d,i);break e}else if(d!==y){y=bl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),su(y),a=by(n,a,d,i);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(zr=Za(n.firstChild),Go=a,mn=!0,eg=null,ip=!1,ms=null,Rc=!0,i=O3(a,null,d,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Is(),d===y){a=oi(n,a,i);break e}Xr(n,a,d,i)}a=a.child}return a;case 26:return Rd(n,a),n===null?(i=Jy(a.type,null,a.pendingProps,null))?a.memoizedState=i:mn||(i=a.type,n=a.pendingProps,d=ae(Ho.current),d=$h(d).createElement(i),d[hr]=a,d[jl]=n,pr(d,i,n),xr(d),a.stateNode=d):a.memoizedState=Jy(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return te(a),n===null&&mn&&(d=ae(Ho.current),y=Z(),d=a.stateNode=us(a.type,a.pendingProps,d,y,!1),ip||(y=fo(d,a.type,a.pendingProps,y),y!==null&&(tf(a,0).serverProps=y)),Go=a,Rc=!0,y=zr,hc(a.type)?(eD=y,zr=Za(d.firstChild)):zr=y),Xr(n,a,a.pendingProps.children,i),Rd(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&mn&&(x=Z(),d=cd(a.type,x.ancestorInfo),y=zr,(A=!y)||(A=Gy(y,a.type,a.pendingProps,Rc),A!==null?(a.stateNode=A,ip||(x=fo(A,a.type,a.pendingProps,x),x!==null&&(tf(a,0).serverProps=x)),Go=a,zr=Za(A.firstChild),Rc=!1,x=!0):x=!1,A=!x),A&&(d&&Wn(a,y),wo(a))),te(a),y=a.type,x=a.pendingProps,A=n!==null?n.memoizedProps:null,d=x.children,Id(y,x)?d=null:A!==null&&Id(y,A)&&(a.flags|=32),a.memoizedState!==null&&(y=py(n,a,Gp,null,null,i),nE._currentValue=y),Rd(n,a),Xr(n,a,d,i),a.child;case 6:return n===null&&mn&&(i=a.pendingProps,n=Z(),d=n.ancestorInfo.current,i=d!=null?Fc(i,d.tag,n.ancestorInfo.implicitRootScope):!0,n=zr,(d=!n)||(d=Yy(n,a.pendingProps,Rc),d!==null?(a.stateNode=d,Go=a,zr=null,d=!0):d=!1,d=!d),d&&(i&&Wn(a,n),wo(a))),null;case 13:return Td(n,a,i);case 4:return xe(a,a.stateNode.containerInfo),d=a.pendingProps,n===null?a.child=Tb(a,null,d,i):Xr(n,a,d,i),a.child;case 11:return yy(n,a,a.type,a.pendingProps,i);case 7:return Xr(n,a,a.pendingProps,i),a.child;case 8:return Xr(n,a,a.pendingProps.children,i),a.child;case 12:return a.flags|=4,a.flags|=2048,d=a.stateNode,d.effectDuration=-0,d.passiveEffectDuration=-0,Xr(n,a,a.pendingProps.children,i),a.child;case 10:return d=a.type,y=a.pendingProps,x=y.value,"value"in y||r4||(r4=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),ze(a,d,x),Xr(n,a,y.children,i),a.child;case 9:return y=a.type._context,d=a.pendingProps.children,typeof d!="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."),cu(a),y=Tn(y),d=yA(d,y,void 0),a.flags|=1,Xr(n,a,d,i),a.child;case 14:return av(n,a,a.type,a.pendingProps,i);case 15:return Al(n,a,a.type,a.pendingProps,i);case 19:return Ey(n,a,i);case 31:return iv(n,a,i);case 22:return Su(n,a,i,a.pendingProps);case 24:return cu(a),d=Tn(nl),n===null?(y=Xu(),y===null&&(y=vr,x=Xm(),y.pooledCache=x,Zo(x),x!==null&&(y.pooledCacheLanes|=i),y=x),a.memoizedState={parent:d,cache:y},un(a),ze(a,nl,y)):((n.lanes&i)!==0&&(du(n,a),Ni(a,null,null,i),hu()),y=n.memoizedState,x=a.memoizedState,y.parent!==d?(y={parent:d,cache:d},a.memoizedState=y,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=y),ze(a,nl,d)):(d=x.cache,ze(a,nl,d),d!==y.cache&&Jt(a,[nl],i,!0))),Xr(n,a,a.pendingProps.children,i),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 Cu(n){n.flags|=4}function cv(n,a,i,d,y){if((a=(n.mode&pI)!==kt)&&(a=!1),a){if(n.flags|=16777216,(y&335544128)===y)if(n.stateNode.complete)n.flags|=8192;else if(Oy())n.flags|=8192;else throw Rb=hR,xA}else n.flags&=-16777217}function dh(n,a){if(a.type!=="stylesheet"||(a.state.loading&Mc)!==jb)n.flags&=-16777217;else if(n.flags|=16777216,!rn(a))if(Oy())n.flags|=8192;else throw Rb=hR,xA}function ji(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?bt():536870912,n.lanes|=a,Ob|=a)}function bf(n,a){if(!mn)switch(n.tailMode){case"hidden":a=n.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var d=null;i!==null;)i.alternate!==null&&(d=i),i=i.sibling;d===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:d.sibling=null}}function zn(n){var a=n.alternate!==null&&n.alternate.child===n.child,i=0,d=0;if(a)if((n.mode&an)!==kt){for(var y=n.selfBaseDuration,x=n.child;x!==null;)i|=x.lanes|x.childLanes,d|=x.subtreeFlags&65011712,d|=x.flags&65011712,y+=x.treeBaseDuration,x=x.sibling;n.treeBaseDuration=y}else for(y=n.child;y!==null;)i|=y.lanes|y.childLanes,d|=y.subtreeFlags&65011712,d|=y.flags&65011712,y.return=n,y=y.sibling;else if((n.mode&an)!==kt){y=n.actualDuration,x=n.selfBaseDuration;for(var A=n.child;A!==null;)i|=A.lanes|A.childLanes,d|=A.subtreeFlags,d|=A.flags,y+=A.actualDuration,x+=A.treeBaseDuration,A=A.sibling;n.actualDuration=y,n.treeBaseDuration=x}else for(y=n.child;y!==null;)i|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=n,y=y.sibling;return n.subtreeFlags|=d,n.childLanes=i,a}function Sy(n,a,i){var d=a.pendingProps;switch(Mi(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zn(a),null;case 1:return zn(a),null;case 3:return i=a.stateNode,d=null,n!==null&&(d=n.memoizedState.cache),a.memoizedState.cache!==d&&(a.flags|=2048),ct(nl,a),B(a),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(rf(a)?(Me(),Cu(a)):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Hp())),zn(a),null;case 26:var y=a.type,x=a.memoizedState;return n===null?(Cu(a),x!==null?(zn(a),dh(a,x)):(zn(a),cv(a,y,null,d,i))):x?x!==n.memoizedState?(Cu(a),zn(a),dh(a,x)):(zn(a),a.flags&=-16777217):(n=n.memoizedProps,n!==d&&Cu(a),zn(a),cv(a,y,n,d,i)),null;case 27:if(be(a),i=ae(Ho.current),y=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==d&&Cu(a);else{if(!d){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 zn(a),null}n=Z(),rf(a)?iy(a):(n=us(y,d,i,n,!0),a.stateNode=n,Cu(a))}return zn(a),null;case 5:if(be(a),y=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==d&&Cu(a);else{if(!d){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 zn(a),null}var A=Z();if(rf(a))iy(a);else{switch(x=ae(Ho.current),cd(y,A.ancestorInfo),A=A.context,x=$h(x),A){case S1:x=x.createElementNS(Zt,y);break;case kR:x=x.createElementNS(Ht,y);break;default:switch(y){case"svg":x=x.createElementNS(Zt,y);break;case"math":x=x.createElementNS(Ht,y);break;case"script":x=x.createElement("div"),x.innerHTML="<script><\/script>",x=x.removeChild(x.firstChild);break;case"select":x=typeof d.is=="string"?x.createElement("select",{is:d.is}):x.createElement("select"),d.multiple?x.multiple=!0:d.size&&(x.size=d.size);break;default:x=typeof d.is=="string"?x.createElement(y,{is:d.is}):x.createElement(y),y.indexOf("-")===-1&&(y!==y.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",y),Object.prototype.toString.call(x)!=="[object HTMLUnknownElement]"||Vo.call(_4,y)||(_4[y]=!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.",y)))}}x[hr]=a,x[jl]=d;e:for(A=a.child;A!==null;){if(A.tag===5||A.tag===6)x.appendChild(A.stateNode);else if(A.tag!==4&&A.tag!==27&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===a)break e;for(;A.sibling===null;){if(A.return===null||A.return===a)break e;A=A.return}A.sibling.return=A.return,A=A.sibling}a.stateNode=x;e:switch(pr(x,y,d),y){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}d&&Cu(a)}}return zn(a),cv(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,i),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==d&&Cu(a);else{if(typeof d!="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=ae(Ho.current),i=Z(),rf(a)){if(n=a.stateNode,i=a.memoizedProps,y=!ip,d=null,x=Go,x!==null)switch(x.tag){case 3:y&&(y=L0(n,i,d),y!==null&&(tf(a,0).serverProps=y));break;case 27:case 5:d=x.memoizedProps,y&&(y=L0(n,i,d),y!==null&&(tf(a,0).serverProps=y))}n[hr]=a,n=!!(n.nodeValue===i||d!==null&&d.suppressHydrationWarning===!0||Uy(n.nodeValue,i)),n||wo(a,!0)}else y=i.ancestorInfo.current,y!=null&&Fc(d,y.tag,i.ancestorInfo.implicitRootScope),n=$h(n).createTextNode(d),n[hr]=a,a.stateNode=n}return zn(a),null;case 31:if(i=a.memoizedState,n===null||n.memoizedState!==null){if(d=rf(a),i!==null){if(n===null){if(!d)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");n[hr]=a,zn(a),(a.mode&an)!==kt&&i!==null&&(n=a.child,n!==null&&(a.treeBaseDuration-=n.treeBaseDuration))}else Me(),Is(),(a.flags&128)===0&&(i=a.memoizedState=null),a.flags|=4,zn(a),(a.mode&an)!==kt&&i!==null&&(n=a.child,n!==null&&(a.treeBaseDuration-=n.treeBaseDuration));n=!1}else i=Hp(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return a.flags&256?(Ca(a),a):(Ca(a),null);if((a.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return zn(a),null;case 13:if(d=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(y=d,x=rf(a),y!==null&&y.dehydrated!==null){if(n===null){if(!x)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(x=a.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");x[hr]=a,zn(a),(a.mode&an)!==kt&&y!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration))}else Me(),Is(),(a.flags&128)===0&&(y=a.memoizedState=null),a.flags|=4,zn(a),(a.mode&an)!==kt&&y!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration));y=!1}else y=Hp(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=y),y=!0;if(!y)return a.flags&256?(Ca(a),a):(Ca(a),null)}return Ca(a),(a.flags&128)!==0?(a.lanes=i,(a.mode&an)!==kt&&_o(a),a):(i=d!==null,n=n!==null&&n.memoizedState!==null,i&&(d=a.child,y=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(y=d.alternate.memoizedState.cachePool.pool),x=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(x=d.memoizedState.cachePool.pool),x!==y&&(d.flags|=2048)),i!==n&&i&&(a.child.flags|=8192),ji(a,a.updateQueue),zn(a),(a.mode&an)!==kt&&i&&(n=a.child,n!==null&&(a.treeBaseDuration-=n.treeBaseDuration)),null);case 4:return B(a),n===null&&dc(a.stateNode.containerInfo),zn(a),null;case 10:return ct(a.type,a),zn(a),null;case 19:if(se(za,a),d=a.memoizedState,d===null)return zn(a),null;if(y=(a.flags&128)!==0,x=d.rendering,x===null)if(y)bf(d,!1);else{if(ea!==cm||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(x=uf(n),x!==null){for(a.flags|=128,bf(d,!1),n=x.updateQueue,a.updateQueue=n,ji(a,n),a.subtreeFlags=0,n=i,i=a.child;i!==null;)Ym(i,n),i=i.sibling;return le(za,za.current&c1|zx,a),mn&&Di(a,d.treeForkCount),a.child}n=n.sibling}d.tail!==null&&da()>_R&&(a.flags|=128,y=!0,bf(d,!1),a.lanes=4194304)}else{if(!y)if(n=uf(x),n!==null){if(a.flags|=128,y=!0,n=n.updateQueue,a.updateQueue=n,ji(a,n),bf(d,!0),d.tail===null&&d.tailMode==="hidden"&&!x.alternate&&!mn)return zn(a),null}else 2*da()-d.renderingStartTime>_R&&i!==536870912&&(a.flags|=128,y=!0,bf(d,!1),a.lanes=4194304);d.isBackwards?(x.sibling=a.child,a.child=x):(n=d.last,n!==null?n.sibling=x:a.child=x,d.last=x)}return d.tail!==null?(n=d.tail,d.rendering=n,d.tail=n.sibling,d.renderingStartTime=da(),n.sibling=null,i=za.current,i=y?i&c1|zx:i&c1,le(za,i,a),mn&&Di(a,d.treeForkCount),n):(zn(a),null);case 22:case 23:return Ca(a),$i(a),d=a.memoizedState!==null,n!==null?n.memoizedState!==null!==d&&(a.flags|=8192):d&&(a.flags|=8192),d?(i&536870912)!==0&&(a.flags&128)===0&&(zn(a),a.subtreeFlags&6&&(a.flags|=8192)):zn(a),i=a.updateQueue,i!==null&&ji(a,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),d=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),d!==i&&(a.flags|=2048),n!==null&&se(Cb,a),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),ct(nl,a),zn(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 Cy(n,a){switch(Mi(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&an)!==kt&&_o(a),a):null;case 3:return ct(nl,a),B(a),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return be(a),null;case 31:if(a.memoizedState!==null){if(Ca(a),a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Is()}return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&an)!==kt&&_o(a),a):null;case 13:if(Ca(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.");Is()}return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&an)!==kt&&_o(a),a):null;case 19:return se(za,a),null;case 4:return B(a),null;case 10:return ct(a.type,a),null;case 22:case 23:return Ca(a),$i(a),n!==null&&se(Cb,a),n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&an)!==kt&&_o(a),a):null;case 24:return ct(nl,a),null;case 25:return null;default:return null}}function lc(n,a){switch(Mi(a),a.tag){case 3:ct(nl,a),B(a);break;case 26:case 27:case 5:be(a);break;case 4:B(a);break;case 31:a.memoizedState!==null&&Ca(a);break;case 13:Ca(a);break;case 19:se(za,a);break;case 10:ct(a.type,a);break;case 22:case 23:Ca(a),$i(a),n!==null&&se(Cb,a);break;case 24:ct(nl,a)}}function lo(n){return(n.mode&an)!==kt}function S0(n,a){lo(n)?(Jn(),wu(a,n),Sa()):wu(a,n)}function ph(n,a,i){lo(n)?(Jn(),zi(i,n,a),Sa()):zi(i,n,a)}function wu(n,a){try{var i=a.updateQueue,d=i!==null?i.lastEffect:null;if(d!==null){var y=d.next;i=y;do{if((i.tag&n)===n&&(d=void 0,(n&Zi)!==vR&&(b1=!0),d=Ee(a,bI,i),(n&Zi)!==vR&&(b1=!1),d!==void 0&&typeof d!="function")){var x=void 0;x=(i.tag&gs)!==0?"useLayoutEffect":(i.tag&Zi)!==0?"useInsertionEffect":"useEffect";var A=void 0;A=d===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof d.then=="function"?`
|
|
187
|
+
|
|
188
|
+
It looks like you wrote `+x+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
189
|
+
|
|
190
|
+
`+x+`(() => {
|
|
191
|
+
async function fetchData() {
|
|
192
|
+
// You can await here
|
|
193
|
+
const response = await MyAPI.getData(someId);
|
|
194
|
+
// ...
|
|
195
|
+
}
|
|
196
|
+
fetchData();
|
|
197
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
198
|
+
|
|
199
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+d,Ee(a,function($,H){console.error("%s must not return anything besides a function, which is used for clean-up.%s",$,H)},x,A)}i=i.next}while(i!==y)}}catch($){Qt(a,a.return,$)}}function zi(n,a,i){try{var d=a.updateQueue,y=d!==null?d.lastEffect:null;if(y!==null){var x=y.next;d=x;do{if((d.tag&n)===n){var A=d.inst,$=A.destroy;$!==void 0&&(A.destroy=void 0,(n&Zi)!==vR&&(b1=!0),y=a,Ee(y,xI,y,i,$),(n&Zi)!==vR&&(b1=!1))}d=d.next}while(d!==x)}}catch(H){Qt(a,a.return,H)}}function _d(n,a){lo(n)?(Jn(),wu(a,n),Sa()):wu(a,n)}function xf(n,a,i){lo(n)?(Jn(),zi(i,n,a),Sa()):zi(i,n,a)}function hh(n){var a=n.updateQueue;if(a!==null){var i=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||h1||(i.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.",de(n)||"instance"),i.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.",de(n)||"instance"));try{Ee(n,Wu,a,i)}catch(d){Qt(n,n.return,d)}}}function oc(n,a,i){return n.getSnapshotBeforeUpdate(a,i)}function C0(n,a){var i=a.memoizedProps,d=a.memoizedState;a=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||h1||(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.",de(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.",de(n)||"instance"));try{var y=qt(n.type,i),x=Ee(n,oc,a,y,d);i=a4,x!==void 0||i.has(n.type)||(i.add(n.type),Ee(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",de(n))})),a.__reactInternalSnapshotBeforeUpdate=x}catch(A){Qt(n,n.return,A)}}function mh(n,a,i){i.props=qt(n.type,n.memoizedProps),i.state=n.memoizedState,lo(n)?(Jn(),Ee(n,C3,n,a,i),Sa()):Ee(n,C3,n,a,i)}function vh(n){var a=n.ref;if(a!==null){switch(n.tag){case 26:case 27:case 5:var i=n.stateNode;break;case 30:i=n.stateNode;break;default:i=n.stateNode}if(typeof a=="function")if(lo(n))try{Jn(),n.refCleanup=a(i)}finally{Sa()}else n.refCleanup=a(i);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().",de(n)),a.current=i}}function ic(n,a){try{Ee(n,vh,n)}catch(i){Qt(n,a,i)}}function oo(n,a){var i=n.ref,d=n.refCleanup;if(i!==null)if(typeof d=="function")try{if(lo(n))try{Jn(),Ee(n,d)}finally{Sa(n)}else Ee(n,d)}catch(y){Qt(n,a,y)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{if(lo(n))try{Jn(),Ee(n,i,null)}finally{Sa(n)}else Ee(n,i,null)}catch(y){Qt(n,a,y)}else i.current=null}function wy(n,a,i,d){var y=n.memoizedProps,x=y.id,A=y.onCommit;y=y.onRender,a=a===null?"mount":"update",cR&&(a="nested-update"),typeof y=="function"&&y(x,a,n.actualDuration,n.treeBaseDuration,n.actualStartTime,i),typeof A=="function"&&A(x,a,d,i)}function Ry(n,a,i,d){var y=n.memoizedProps;n=y.id,y=y.onPostCommit,a=a===null?"mount":"update",cR&&(a="nested-update"),typeof y=="function"&&y(n,a,d,i)}function Qa(n){var a=n.type,i=n.memoizedProps,d=n.stateNode;try{Ee(n,D0,d,a,i,n)}catch(y){Qt(n,n.return,y)}}function gh(n,a,i){try{Ee(n,Mv,n.stateNode,n.type,i,a,n)}catch(d){Qt(n,n.return,d)}}function fv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&hc(n.type)||n.tag===4}function dv(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||fv(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&&hc(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 Ef(n,a,i){var d=n.tag;if(d===5||d===6)n=n.stateNode,a?(O0(i),(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,a)):(O0(i),a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(n),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=Eo));else if(d!==4&&(d===27&&hc(n.type)&&(i=n.stateNode,a=null),n=n.child,n!==null))for(Ef(n,a,i),n=n.sibling;n!==null;)Ef(n,a,i),n=n.sibling}function yh(n,a,i){var d=n.tag;if(d===5||d===6)n=n.stateNode,a?i.insertBefore(n,a):i.appendChild(n);else if(d!==4&&(d===27&&hc(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(yh(n,a,i),n=n.sibling;n!==null;)yh(n,a,i),n=n.sibling}function Ty(n){for(var a,i=n.return;i!==null;){if(fv(i)){a=i;break}i=i.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,i=dv(n),yh(n,i,a);break;case 5:i=a.stateNode,a.flags&32&&(Ov(i),a.flags&=-33),a=dv(n),yh(n,a,i);break;case 3:case 4:a=a.stateNode.containerInfo,i=dv(n),Ef(n,i,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Bi(n){var a=n.stateNode,i=n.memoizedProps;try{Ee(n,$u,n.type,i,a,n)}catch(d){Qt(n,n.return,d)}}function bh(n,a){return a.tag===31?(a=a.memoizedState,n.memoizedState!==null&&a===null):a.tag===13?(n=n.memoizedState,a=a.memoizedState,n!==null&&n.dehydrated!==null&&(a===null||a.dehydrated===null)):a.tag===3?n.memoizedState.isDehydrated&&(a.flags&256)===0:!1}function _y(n,a){if(n=n.containerInfo,ZA=VR,n=Lp(n),Vm(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var d=i.getSelection&&i.getSelection();if(d&&d.rangeCount!==0){i=d.anchorNode;var y=d.anchorOffset,x=d.focusNode;d=d.focusOffset;try{i.nodeType,x.nodeType}catch{i=null;break e}var A=0,$=-1,H=-1,X=0,Re=0,Te=n,ve=null;t:for(;;){for(var Be;Te!==i||y!==0&&Te.nodeType!==3||($=A+y),Te!==x||d!==0&&Te.nodeType!==3||(H=A+d),Te.nodeType===3&&(A+=Te.nodeValue.length),(Be=Te.firstChild)!==null;)ve=Te,Te=Be;for(;;){if(Te===n)break t;if(ve===i&&++X===y&&($=A),ve===x&&++Re===d&&(H=A),(Be=Te.nextSibling)!==null)break;Te=ve,ve=Te.parentNode}Te=Be}i=$===-1||H===-1?null:{start:$,end:H}}else i=null}i=i||{start:0,end:0}}else i=null;for(WA={focusedElem:n,selectionRange:i},VR=!1,go=a;go!==null;)if(a=go,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,go=n;else for(;go!==null;){switch(n=a=go,i=n.alternate,y=n.flags,n.tag){case 0:if((y&4)!==0&&(n=n.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)y=n[i],y.ref.impl=y.nextImpl;break;case 11:case 15:break;case 1:(y&1024)!==0&&i!==null&&C0(n,i);break;case 3:if((y&1024)!==0){if(n=n.stateNode.containerInfo,i=n.nodeType,i===9)Af(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Af(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((y&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,go=n;break}go=a.return}}function Ad(n,a,i){var d=cr(),y=xl(),x=Fa(),A=To(),$=i.flags;switch(i.tag){case 0:case 11:case 15:zo(n,i),$&4&&S0(i,gs|Ac);break;case 1:if(zo(n,i),$&4)if(n=i.stateNode,a===null)i.type.defaultProps||"ref"in i.memoizedProps||h1||(n.props!==i.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.",de(i)||"instance"),n.state!==i.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.",de(i)||"instance")),lo(i)?(Jn(),Ee(i,bA,i,n),Sa()):Ee(i,bA,i,n);else{var H=qt(i.type,a.memoizedProps);a=a.memoizedState,i.type.defaultProps||"ref"in i.memoizedProps||h1||(n.props!==i.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.",de(i)||"instance"),n.state!==i.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.",de(i)||"instance")),lo(i)?(Jn(),Ee(i,x3,i,n,H,a,n.__reactInternalSnapshotBeforeUpdate),Sa()):Ee(i,x3,i,n,H,a,n.__reactInternalSnapshotBeforeUpdate)}$&64&&hh(i),$&512&&ic(i,i.return);break;case 3:if(a=fu(),zo(n,i),$&64&&($=i.updateQueue,$!==null)){if(H=null,i.child!==null)switch(i.child.tag){case 27:case 5:H=i.child.stateNode;break;case 1:H=i.child.stateNode}try{Ee(i,Wu,$,H)}catch(Re){Qt(i,i.return,Re)}}n.effectDuration+=af(a);break;case 27:a===null&&$&4&&Bi(i);case 26:case 5:if(zo(n,i),a===null){if($&4)Qa(i);else if($&64){n=i.type,a=i.memoizedProps,H=i.stateNode;try{Ee(i,M0,H,n,a,i)}catch(Re){Qt(i,i.return,Re)}}}$&512&&ic(i,i.return);break;case 12:if($&4){$=fu(),zo(n,i),n=i.stateNode,n.effectDuration+=xa($);try{Ee(i,wy,i,a,tg,n.effectDuration)}catch(Re){Qt(i,i.return,Re)}}else zo(n,i);break;case 31:zo(n,i),$&4&&Dd(n,i);break;case 13:zo(n,i),$&4&&xh(n,i),$&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&($=os.bind(null,i),zh(n,$))));break;case 22:if($=i.memoizedState!==null||sm,!$){a=a!==null&&a.memoizedState!==null||ol,H=sm;var X=ol;sm=$,(ol=a)&&!X?(ki(n,i,(i.subtreeFlags&8772)!==0),(i.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Gn(i,_t,Lt)):zo(n,i),sm=H,ol=X}break;case 30:break;default:zo(n,i)}(i.mode&an)!==kt&&0<=_t&&0<=Lt&&((ma||.05<Jr)&&_i(i,_t,Lt,Jr,Hr),i.alternate===null&&i.return!==null&&i.return.alternate!==null&&.05<Lt-_t&&(bh(i.return.alternate,i.return)||Zl(i,_t,Lt,"Mount"))),Ea(d),Gr(y),Hr=x,ma=A}function dr(n){var a=n.alternate;a!==null&&(n.alternate=null,dr(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Cp(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 $n(n,a,i){for(i=i.child;i!==null;)Rt(n,a,i),i=i.sibling}function Rt(n,a,i){if(pa&&typeof pa.onCommitFiberUnmount=="function")try{pa.onCommitFiberUnmount(Bf,i)}catch(X){Pu||(Pu=!0,console.error("React instrumentation encountered an error: %o",X))}var d=cr(),y=xl(),x=Fa(),A=To();switch(i.tag){case 26:ol||oo(i,a),$n(n,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(n=i.stateNode,n.parentNode.removeChild(n));break;case 27:ol||oo(i,a);var $=il,H=ju;hc(i.type)&&(il=i.stateNode,ju=!1),$n(n,a,i),Ee(i,ss,i.stateNode),il=$,ju=H;break;case 5:ol||oo(i,a);case 6:if($=il,H=ju,il=null,$n(n,a,i),il=$,ju=H,il!==null)if(ju)try{Ee(i,$0,il,i.stateNode)}catch(X){Qt(i,a,X)}else try{Ee(i,N0,il,i.stateNode)}catch(X){Qt(i,a,X)}break;case 18:il!==null&&(ju?(n=il,_f(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),$f(n)):_f(il,i.stateNode));break;case 4:$=il,H=ju,il=i.stateNode.containerInfo,ju=!0,$n(n,a,i),il=$,ju=H;break;case 0:case 11:case 14:case 15:zi(Zi,i,a),ol||ph(i,a,gs),$n(n,a,i);break;case 1:ol||(oo(i,a),$=i.stateNode,typeof $.componentWillUnmount=="function"&&mh(i,a,$)),$n(n,a,i);break;case 21:$n(n,a,i);break;case 22:ol=($=ol)||i.memoizedState!==null,$n(n,a,i),ol=$;break;default:$n(n,a,i)}(i.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(i,_t,Lt,Jr,Hr),Ea(d),Gr(y),Hr=x,ma=A}function Dd(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Ee(a,$v,n)}catch(i){Qt(a,a.return,i)}}}function xh(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Ee(a,Zy,n)}catch(i){Qt(a,a.return,i)}}function uc(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new l4),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new l4),a;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function sc(n,a){var i=uc(n);a.forEach(function(d){if(!i.has(d)){if(i.add(d),qu)if(m1!==null&&v1!==null)zd(v1,m1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var y=Rf.bind(null,n,d);d.then(y,y)}})}function Oa(n,a){var i=a.deletions;if(i!==null)for(var d=0;d<i.length;d++){var y=n,x=a,A=i[d],$=cr(),H=x;e:for(;H!==null;){switch(H.tag){case 27:if(hc(H.type)){il=H.stateNode,ju=!1;break e}break;case 5:il=H.stateNode,ju=!1;break e;case 3:case 4:il=H.stateNode.containerInfo,ju=!0;break e}H=H.return}if(il===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Rt(y,x,A),il=null,ju=!1,(A.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Zl(A,_t,Lt,"Unmount"),Ea($),y=A,x=y.alternate,x!==null&&(x.return=null),y.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Md(a,n),a=a.sibling}function Md(n,a){var i=cr(),d=xl(),y=Fa(),x=To(),A=n.alternate,$=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Oa(a,n),Pn(n),$&4&&(zi(Zi|Ac,n,n.return),wu(Zi|Ac,n),ph(n,n.return,gs|Ac));break;case 1:if(Oa(a,n),Pn(n),$&512&&(ol||A===null||oo(A,A.return)),$&64&&sm&&($=n.updateQueue,$!==null&&(A=$.callbacks,A!==null))){var H=$.shared.hiddenCallbacks;$.shared.hiddenCallbacks=H===null?A:H.concat(A)}break;case 26:if(H=Vf,Oa(a,n),Pn(n),$&512&&(ol||A===null||oo(A,A.return)),$&4){var X=A!==null?A.memoizedState:null;if($=n.memoizedState,A===null)if($===null)if(n.stateNode===null){e:{$=n.type,A=n.memoizedProps,H=H.ownerDocument||H;t:switch($){case"title":X=H.getElementsByTagName("title")[0],(!X||X[rp]||X[hr]||X.namespaceURI===Zt||X.hasAttribute("itemprop"))&&(X=H.createElement($),H.head.insertBefore(X,H.querySelector("head > title"))),pr(X,$,A),X[hr]=n,xr(X),$=X;break e;case"link":var Re=Fd("link","href",H).get($+(A.href||""));if(Re){for(var Te=0;Te<Re.length;Te++)if(X=Re[Te],X.getAttribute("href")===(A.href==null||A.href===""?null:A.href)&&X.getAttribute("rel")===(A.rel==null?null:A.rel)&&X.getAttribute("title")===(A.title==null?null:A.title)&&X.getAttribute("crossorigin")===(A.crossOrigin==null?null:A.crossOrigin)){Re.splice(Te,1);break t}}X=H.createElement($),pr(X,$,A),H.head.appendChild(X);break;case"meta":if(Re=Fd("meta","content",H).get($+(A.content||""))){for(Te=0;Te<Re.length;Te++)if(X=Re[Te],Nt(A.content,"content"),X.getAttribute("content")===(A.content==null?null:""+A.content)&&X.getAttribute("name")===(A.name==null?null:A.name)&&X.getAttribute("property")===(A.property==null?null:A.property)&&X.getAttribute("http-equiv")===(A.httpEquiv==null?null:A.httpEquiv)&&X.getAttribute("charset")===(A.charSet==null?null:A.charSet)){Re.splice(Te,1);break t}}X=H.createElement($),pr(X,$,A),H.head.appendChild(X);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+$+'". This is a bug in React.')}X[hr]=n,xr(X),$=X}n.stateNode=$}else cs(H,n.type,n.stateNode);else n.stateNode=Bt(H,$,n.memoizedProps);else X!==$?(X===null?A.stateNode!==null&&(A=A.stateNode,A.parentNode.removeChild(A)):X.count--,$===null?cs(H,n.type,n.stateNode):Bt(H,$,n.memoizedProps)):$===null&&n.stateNode!==null&&gh(n,n.memoizedProps,A.memoizedProps)}break;case 27:Oa(a,n),Pn(n),$&512&&(ol||A===null||oo(A,A.return)),A!==null&&$&4&&gh(n,n.memoizedProps,A.memoizedProps);break;case 5:if(Oa(a,n),Pn(n),$&512&&(ol||A===null||oo(A,A.return)),n.flags&32){H=n.stateNode;try{Ee(n,Ov,H)}catch(pt){Qt(n,n.return,pt)}}$&4&&n.stateNode!=null&&(H=n.memoizedProps,gh(n,H,A!==null?A.memoizedProps:H)),$&1024&&(NA=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Oa(a,n),Pn(n),$&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.");$=n.memoizedProps,A=A!==null?A.memoizedProps:$,H=n.stateNode;try{Ee(n,px,H,A,$)}catch(pt){Qt(n,n.return,pt)}}break;case 3:if(H=fu(),UR=null,X=Vf,Vf=Pv(a.containerInfo),Oa(a,n),Vf=X,Pn(n),$&4&&A!==null&&A.memoizedState.isDehydrated)try{Ee(n,Qy,a.containerInfo)}catch(pt){Qt(n,n.return,pt)}NA&&(NA=!1,w0(n)),a.effectDuration+=af(H);break;case 4:$=Vf,Vf=Pv(n.stateNode.containerInfo),Oa(a,n),Pn(n),Vf=$;break;case 12:$=fu(),Oa(a,n),Pn(n),n.stateNode.effectDuration+=xa($);break;case 31:Oa(a,n),Pn(n),$&4&&($=n.updateQueue,$!==null&&(n.updateQueue=null,sc(n,$)));break;case 13:Oa(a,n),Pn(n),n.child.flags&8192&&n.memoizedState!==null!=(A!==null&&A.memoizedState!==null)&&(TR=da()),$&4&&($=n.updateQueue,$!==null&&(n.updateQueue=null,sc(n,$)));break;case 22:H=n.memoizedState!==null;var ve=A!==null&&A.memoizedState!==null,Be=sm,ut=ol;if(sm=Be||H,ol=ut||ve,Oa(a,n),ol=ut,sm=Be,ve&&!H&&!Be&&!ut&&(n.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Gn(n,_t,Lt),Pn(n),$&8192)e:for(a=n.stateNode,a._visibility=H?a._visibility&~Sx:a._visibility|Sx,!H||A===null||ve||sm||ol||(cc(n),(n.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Zl(n,_t,Lt,"Disconnect")),A=null,a=n;;){if(a.tag===5||a.tag===26){if(A===null){ve=A=a;try{X=ve.stateNode,H?Ee(ve,P0,X):Ee(ve,Nv,ve.stateNode,ve.memoizedProps)}catch(pt){Qt(ve,ve.return,pt)}}}else if(a.tag===6){if(A===null){ve=a;try{Re=ve.stateNode,H?Ee(ve,Vy,Re):Ee(ve,Ky,Re,ve.memoizedProps)}catch(pt){Qt(ve,ve.return,pt)}}}else if(a.tag===18){if(A===null){ve=a;try{Te=ve.stateNode,H?Ee(ve,Lh,Te):Ee(ve,Fy,ve.stateNode)}catch(pt){Qt(ve,ve.return,pt)}}}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;A===a&&(A=null),a=a.return}A===a&&(A=null),a.sibling.return=a.return,a=a.sibling}$&4&&($=n.updateQueue,$!==null&&(A=$.retryQueue,A!==null&&($.retryQueue=null,sc(n,A))));break;case 19:Oa(a,n),Pn(n),$&4&&($=n.updateQueue,$!==null&&(n.updateQueue=null,sc(n,$)));break;case 30:break;case 21:break;default:Oa(a,n),Pn(n)}(n.mode&an)!==kt&&0<=_t&&0<=Lt&&((ma||.05<Jr)&&_i(n,_t,Lt,Jr,Hr),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Lt-_t&&(bh(n.return.alternate,n.return)||Zl(n,_t,Lt,"Mount"))),Ea(i),Gr(d),Hr=y,ma=x}function Pn(n){var a=n.flags;if(a&2){try{Ee(n,Ty,n)}catch(i){Qt(n,n.return,i)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function w0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;w0(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function zo(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Ad(n,a.alternate,a),a=a.sibling}function Eh(n){var a=cr(),i=xl(),d=Fa(),y=To();switch(n.tag){case 0:case 11:case 14:case 15:ph(n,n.return,gs),cc(n);break;case 1:oo(n,n.return);var x=n.stateNode;typeof x.componentWillUnmount=="function"&&mh(n,n.return,x),cc(n);break;case 27:Ee(n,ss,n.stateNode);case 26:case 5:oo(n,n.return),cc(n);break;case 22:n.memoizedState===null&&cc(n);break;case 30:cc(n);break;default:cc(n)}(n.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(n,_t,Lt,Jr,Hr),Ea(a),Gr(i),Hr=d,ma=y}function cc(n){for(n=n.child;n!==null;)Eh(n),n=n.sibling}function pv(n,a,i,d){var y=cr(),x=xl(),A=Fa(),$=To(),H=i.flags;switch(i.tag){case 0:case 11:case 15:ki(n,i,d),S0(i,gs);break;case 1:if(ki(n,i,d),a=i.stateNode,typeof a.componentDidMount=="function"&&Ee(i,bA,i,a),a=i.updateQueue,a!==null){n=i.stateNode;try{Ee(i,Ks,a,n)}catch(X){Qt(i,i.return,X)}}d&&H&64&&hh(i),ic(i,i.return);break;case 27:Bi(i);case 26:case 5:ki(n,i,d),d&&a===null&&H&4&&Qa(i),ic(i,i.return);break;case 12:if(d&&H&4){H=fu(),ki(n,i,d),d=i.stateNode,d.effectDuration+=xa(H);try{Ee(i,wy,i,a,tg,d.effectDuration)}catch(X){Qt(i,i.return,X)}}else ki(n,i,d);break;case 31:ki(n,i,d),d&&H&4&&Dd(n,i);break;case 13:ki(n,i,d),d&&H&4&&xh(n,i);break;case 22:i.memoizedState===null&&ki(n,i,d),ic(i,i.return);break;case 30:break;default:ki(n,i,d)}(i.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(i,_t,Lt,Jr,Hr),Ea(y),Gr(x),Hr=A,ma=$}function ki(n,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)pv(n,a.alternate,a,i),a=a.sibling}function Sh(n,a){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==i&&(n!=null&&Zo(n),i!=null&&Hs(i))}function Ch(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(Zo(a),n!=null&&Hs(n))}function Ir(n,a,i,d,y){if(a.subtreeFlags&10256||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child))for(a=a.child;a!==null;){var x=a.sibling;Na(n,a,i,d,x!==null?x.actualStartTime:y),a=x}}function Na(n,a,i,d,y){var x=cr(),A=xl(),$=Fa(),H=To(),X=Zv,Re=a.flags;switch(a.tag){case 0:case 11:case 15:(a.mode&an)!==kt&&0<a.actualStartTime&&(a.flags&1)!==0&&Ti(a,a.actualStartTime,y,kl,i),Ir(n,a,i,d,y),Re&2048&&_d(a,Wi|Ac);break;case 1:(a.mode&an)!==kt&&0<a.actualStartTime&&((a.flags&128)!==0?jp(a,a.actualStartTime,y,[]):(a.flags&1)!==0&&Ti(a,a.actualStartTime,y,kl,i)),Ir(n,a,i,d,y);break;case 3:var Te=fu(),ve=kl;kl=a.alternate!==null&&a.alternate.memoizedState.isDehydrated&&(a.flags&256)===0,Ir(n,a,i,d,y),kl=ve,Re&2048&&(i=null,a.alternate!==null&&(i=a.alternate.memoizedState.cache),d=a.memoizedState.cache,d!==i&&(Zo(d),i!=null&&Hs(i))),n.passiveEffectDuration+=af(Te);break;case 12:if(Re&2048){Re=fu(),Ir(n,a,i,d,y),n=a.stateNode,n.passiveEffectDuration+=xa(Re);try{Ee(a,Ry,a,a.alternate,tg,n.passiveEffectDuration)}catch(Be){Qt(a,a.return,Be)}}else Ir(n,a,i,d,y);break;case 31:Re=kl,Te=a.alternate!==null?a.alternate.memoizedState:null,ve=a.memoizedState,Te!==null&&ve===null?(ve=a.deletions,ve!==null&&0<ve.length&&ve[0].tag===18?(kl=!1,Te=Te.hydrationErrors,Te!==null&&jp(a,a.actualStartTime,y,Te)):kl=!0):kl=!1,Ir(n,a,i,d,y),kl=Re;break;case 13:Re=kl,Te=a.alternate!==null?a.alternate.memoizedState:null,ve=a.memoizedState,Te===null||Te.dehydrated===null||ve!==null&&ve.dehydrated!==null?kl=!1:(ve=a.deletions,ve!==null&&0<ve.length&&ve[0].tag===18?(kl=!1,Te=Te.hydrationErrors,Te!==null&&jp(a,a.actualStartTime,y,Te)):kl=!0),Ir(n,a,i,d,y),kl=Re;break;case 23:break;case 22:ve=a.stateNode,Te=a.alternate,a.memoizedState!==null?ve._visibility&Jh?Ir(n,a,i,d,y):rs(n,a,i,d,y):ve._visibility&Jh?Ir(n,a,i,d,y):(ve._visibility|=Jh,Ru(n,a,i,d,(a.subtreeFlags&10256)!==0||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child),y),(a.mode&an)===kt||kl||(n=a.actualStartTime,0<=n&&.05<y-n&&Gn(a,n,y),0<=_t&&0<=Lt&&.05<Lt-_t&&Gn(a,_t,Lt))),Re&2048&&Sh(Te,a);break;case 24:Ir(n,a,i,d,y),Re&2048&&Ch(a.alternate,a);break;default:Ir(n,a,i,d,y)}(a.mode&an)!==kt&&((n=!kl&&a.alternate===null&&a.return!==null&&a.return.alternate!==null)&&(i=a.actualStartTime,0<=i&&.05<y-i&&Zl(a,i,y,"Mount")),0<=_t&&0<=Lt&&((ma||.05<Jr)&&_i(a,_t,Lt,Jr,Hr),n&&.05<Lt-_t&&Zl(a,_t,Lt,"Mount"))),Ea(x),Gr(A),Hr=$,ma=H,Zv=X}function Ru(n,a,i,d,y,x){for(y=y&&((a.subtreeFlags&10256)!==0||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child)),a=a.child;a!==null;){var A=a.sibling;wh(n,a,i,d,y,A!==null?A.actualStartTime:x),a=A}}function wh(n,a,i,d,y,x){var A=cr(),$=xl(),H=Fa(),X=To(),Re=Zv;y&&(a.mode&an)!==kt&&0<a.actualStartTime&&(a.flags&1)!==0&&Ti(a,a.actualStartTime,x,kl,i);var Te=a.flags;switch(a.tag){case 0:case 11:case 15:Ru(n,a,i,d,y,x),_d(a,Wi);break;case 23:break;case 22:var ve=a.stateNode;a.memoizedState!==null?ve._visibility&Jh?Ru(n,a,i,d,y,x):rs(n,a,i,d,x):(ve._visibility|=Jh,Ru(n,a,i,d,y,x)),y&&Te&2048&&Sh(a.alternate,a);break;case 24:Ru(n,a,i,d,y,x),y&&Te&2048&&Ch(a.alternate,a);break;default:Ru(n,a,i,d,y,x)}(a.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(a,_t,Lt,Jr,Hr),Ea(A),Gr($),Hr=H,ma=X,Zv=Re}function rs(n,a,i,d,y){if(a.subtreeFlags&10256||a.actualDuration!==0&&(a.alternate===null||a.alternate.child!==a.child))for(var x=a.child;x!==null;){a=x.sibling;var A=n,$=i,H=d,X=a!==null?a.actualStartTime:y,Re=Zv;(x.mode&an)!==kt&&0<x.actualStartTime&&(x.flags&1)!==0&&Ti(x,x.actualStartTime,X,kl,$);var Te=x.flags;switch(x.tag){case 22:rs(A,x,$,H,X),Te&2048&&Sh(x.alternate,x);break;case 24:rs(A,x,$,H,X),Te&2048&&Ch(x.alternate,x);break;default:rs(A,x,$,H,X)}Zv=Re,x=a}}function Sf(n,a,i){if(n.subtreeFlags&Ix)for(n=n.child;n!==null;)hv(n,a,i),n=n.sibling}function hv(n,a,i){switch(n.tag){case 26:Sf(n,a,i),n.flags&Ix&&n.memoizedState!==null&&eb(i,Vf,n.memoizedState,n.memoizedProps);break;case 5:Sf(n,a,i);break;case 3:case 4:var d=Vf;Vf=Pv(n.stateNode.containerInfo),Sf(n,a,i),Vf=d;break;case 22:n.memoizedState===null&&(d=n.alternate,d!==null&&d.memoizedState!==null?(d=Ix,Ix=16777216,Sf(n,a,i),Ix=d):Sf(n,a,i));break;default:Sf(n,a,i)}}function Cf(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 io(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var d=a[i],y=cr();go=d,Tu(d,n),(d.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Zl(d,_t,Lt,"Unmount"),Ea(y)}Cf(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Rh(n),n=n.sibling}function Rh(n){var a=cr(),i=xl(),d=Fa(),y=To();switch(n.tag){case 0:case 11:case 15:io(n),n.flags&2048&&xf(n,n.return,Wi|Ac);break;case 3:var x=fu();io(n),n.stateNode.passiveEffectDuration+=af(x);break;case 12:x=fu(),io(n),n.stateNode.passiveEffectDuration+=xa(x);break;case 22:x=n.stateNode,n.memoizedState!==null&&x._visibility&Jh&&(n.return===null||n.return.tag!==13)?(x._visibility&=~Jh,mv(n),(n.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Zl(n,_t,Lt,"Disconnect")):io(n);break;default:io(n)}(n.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(n,_t,Lt,Jr,Hr),Ea(a),Gr(i),ma=y,Hr=d}function mv(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var d=a[i],y=cr();go=d,Tu(d,n),(d.mode&an)!==kt&&0<=_t&&0<=Lt&&.05<Lt-_t&&Zl(d,_t,Lt,"Unmount"),Ea(y)}Cf(n)}for(n=n.child;n!==null;)Ay(n),n=n.sibling}function Ay(n){var a=cr(),i=xl(),d=Fa(),y=To();switch(n.tag){case 0:case 11:case 15:xf(n,n.return,Wi),mv(n);break;case 22:var x=n.stateNode;x._visibility&Jh&&(x._visibility&=~Jh,mv(n));break;default:mv(n)}(n.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(n,_t,Lt,Jr,Hr),Ea(a),Gr(i),ma=y,Hr=d}function Tu(n,a){for(;go!==null;){var i=go,d=i,y=a,x=cr(),A=xl(),$=Fa(),H=To();switch(d.tag){case 0:case 11:case 15:xf(d,y,Wi);break;case 23:case 22:d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(y=d.memoizedState.cachePool.pool,y!=null&&Zo(y));break;case 24:Hs(d.memoizedState.cache)}if((d.mode&an)!==kt&&0<=_t&&0<=Lt&&(ma||.05<Jr)&&_i(d,_t,Lt,Jr,Hr),Ea(x),Gr(A),ma=H,Hr=$,d=i.child,d!==null)d.return=i,go=d;else e:for(i=n;go!==null;){if(d=go,x=d.sibling,A=d.return,dr(d),d===i){go=null;break e}if(x!==null){x.return=A,go=x;break e}go=A}}}function Dy(){RI.forEach(function(n){return n()})}function vv(){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 $a(n){if((Dn&Ul)!==yo&&on!==0)return on&-on;var a=Ue.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(n),ky()):Os()}function Od(){if(Bu===0)if((on&536870912)===0||mn){var n=Xh;Xh<<=1,(Xh&3932160)===0&&(Xh=262144),Bu=n}else Bu=536870912;return n=vs.current,n!==null&&(n.flags|=32),Bu}function $t(n,a,i){if(b1&&console.error("useInsertionEffect must not schedule updates."),HA&&(MR=!0),(n===vr&&(tr===Db||tr===Mb)||n.cancelPendingCommit!==null)&&(ca(n,0),Bo(n,on,Bu,!1)),Yt(n,i),(Dn&Ul)!==yo&&n===vr){if(Ll)switch(a.tag){case 0:case 11:case 15:n=cn&&de(cn)||"Unknown",x4.has(n)||(x4.add(n),a=de(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:b4||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),b4=!0)}}else qu&&Mr(n,a,i),Dh(a),n===vr&&((Dn&Ul)===yo&&(sg|=i),ea===og&&Bo(n,on,Bu,!1)),so(n)}function My(n,a,i){if((Dn&(Ul|ys))!==yo)throw Error("Should not already be working.");if(on!==0&&cn!==null){var d=cn,y=da();switch(d3){case Fx:case Db:var x=Ax;jr&&((d=d._debugTask)?d.run(console.timeStamp.bind(console,"Suspended",x,y,xc,void 0,"primary-light")):console.timeStamp("Suspended",x,y,xc,void 0,"primary-light"));break;case Mb:x=Ax,jr&&((d=d._debugTask)?d.run(console.timeStamp.bind(console,"Action",x,y,xc,void 0,"primary-light")):console.timeStamp("Action",x,y,xc,void 0,"primary-light"));break;default:jr&&(d=y-Ax,3>d||console.timeStamp("Blocked",Ax,y,xc,void 0,5>d?"primary-light":10>d?"primary":100>d?"primary-dark":"error"))}}x=(i=!i&&(a&127)===0&&(a&n.expiredLanes)===0||rt(n,a))?ls(n,a):qd(n,a,!0);var A=i;do{if(x===cm){g1&&!i&&Bo(n,a,0,!1),a=tr,Ax=rl(),d3=a;break}else{if(d=da(),y=n.current.alternate,A&&!gv(y)){Ql(a),y=vo,x=d,!jr||x<=y||(Ra?Ra.run(console.timeStamp.bind(console,"Teared Render",y,x,Rn,bn,"error")):console.timeStamp("Teared Render",y,x,Rn,bn,"error")),as(a,d),x=qd(n,a,!1),A=!1;continue}if(x===Ab){if(A=a,n.errorRecoveryDisabledLanes&A)var $=0;else $=n.pendingLanes&-536870913,$=$!==0?$:$&536870912?536870912:0;if($!==0){Ql(a),Fm(vo,d,a,Ra),as(a,d),a=$;e:{d=n,x=A,A=Gx;var H=d.current.memoizedState.isDehydrated;if(H&&(ca(d,$).flags|=256),$=qd(d,$,!1),$!==Ab){if(qA&&!H){d.errorRecoveryDisabledLanes|=x,sg|=x,x=og;break e}d=Ji,Ji=A,d!==null&&(Ji===null?Ji=d:Ji.push.apply(Ji,d))}x=$}if(A=!1,x!==Ab)continue;d=da()}}if(x===Vx){Ql(a),Fm(vo,d,a,Ra),as(a,d),ca(n,0),Bo(n,a,0,!0);break}e:{switch(i=n,x){case cm:case Vx:throw Error("Root did not complete. This is a bug in React.");case og:if((a&4194048)!==a)break;case SR:Ql(a),g0(vo,d,a,Ra),as(a,d),y=a,(y&127)!==0?iR=d:(y&4194048)!==0&&(uR=d),Bo(i,a,Bu,!ig);break e;case Ab:Ji=null;break;case ER:case o4:break;default:throw Error("Unknown root exit status.")}if(Ue.actQueue!==null)Yn(i,y,a,Ji,Yx,RR,Bu,sg,Ob,x,null,null,vo,d);else{if((a&62914560)===a&&(A=TR+s4-da(),10<A)){if(Bo(i,a,Bu,!ig),st(i,0,!0)!==0)break e;Ff=a,i.timeoutHandle=A4(Nd.bind(null,i,y,Ji,Yx,RR,a,Bu,sg,Ob,ig,x,"Throttled",vo,d),A);break e}Nd(i,y,Ji,Yx,RR,a,Bu,sg,Ob,ig,x,null,vo,d)}}}break}while(!0);so(n)}function Nd(n,a,i,d,y,x,A,$,H,X,Re,Te,ve,Be){n.timeoutHandle=Lb;var ut=a.subtreeFlags,pt=null;if((ut&8192||(ut&16785408)===16785408)&&(pt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Eo},hv(a,x,pt),ut=(x&62914560)===x?TR-da():(x&4194048)===x?u4-da():0,ut=qv(pt,ut),ut!==null)){Ff=x,n.cancelPendingCommit=ut(Yn.bind(null,n,a,x,i,d,y,A,$,H,Re,pt,pt.waitingForViewTransition?"Waiting for the previous Animation":0<pt.count?0<pt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":pt.imgCount===1?"Suspended on an Image":0<pt.imgCount?"Suspended on Images":null,ve,Be)),Bo(n,x,A,!X);return}Yn(n,a,x,i,d,y,A,$,H,Re,pt,Te,ve,Be)}function gv(n){for(var a=n;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var d=0;d<i.length;d++){var y=i[d],x=y.getSnapshot;y=y.value;try{if(!Xi(x(),y))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;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 Bo(n,a,i,d){a&=~LA,a&=~sg,n.suspendedLanes|=a,n.pingedLanes&=~a,d&&(n.warmLanes|=a),d=n.expirationTimes;for(var y=a;0<y;){var x=31-La(y),A=1<<x;d[x]=-1,y&=~A}i!==0&&Qo(n,i,a)}function uo(){return(Dn&(Ul|ys))===yo?(Au(0),!1):!0}function wf(){if(cn!==null){if(tr===zu)var n=cn.return;else n=cn,Ge(),Gs(n),u1=null,jx=0,n=cn;for(;n!==null;)lc(n.alternate,n),n=n.return;cn=null}}function as(n,a){(n&127)!==0&&(bb=a),(n&4194048)!==0&&(am=a),(n&62914560)!==0&&(c3=a),(n&2080374784)!==0&&(f3=a)}function ca(n,a){jr&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",bn,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",bn,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",bn,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",bn,"primary-light"));var i=vo;if(vo=rl(),on!==0&&0<i){if(Ql(on),ea===ER||ea===og)g0(i,vo,a,Ra);else{var d=vo,y=Ra;if(jr&&!(d<=i)){var x=(a&738197653)===a?"tertiary-dark":"primary-dark",A=(a&536870912)===a?"Prewarm":(a&201326741)===a?"Interrupted Hydration":"Interrupted Render";y?y.run(console.timeStamp.bind(console,A,i,d,Rn,bn,x)):console.timeStamp(A,i,d,Rn,bn,x)}}as(on,vo)}if(i=Ra,Ra=null,(a&127)!==0){Ra=Rx,y=0<=up&&up<bb?bb:up,d=0<=xb&&xb<bb?bb:xb,x=0<=d?d:0<=y?y:vo,0<=iR?(Ql(2),y0(iR,x,a,i)):sR&127,i=y;var $=d,H=Tx,X=0<l1,Re=ng===wx,Te=ng===oR;if(y=vo,d=Rx,x=hA,A=mA,jr){if(Rn="Blocking",0<i?i>y&&(i=y):i=y,0<$?$>i&&($=i):$=i,H!==null&&i>$){var ve=X?"secondary-light":"warning";d?d.run(console.timeStamp.bind(console,X?"Consecutive":"Event: "+H,$,i,Rn,bn,ve)):console.timeStamp(X?"Consecutive":"Event: "+H,$,i,Rn,bn,ve)}y>i&&($=Re?"error":(a&738197653)===a?"tertiary-light":"primary-light",Re=Te?"Promise Resolved":Re?"Cascading Update":5<y-i?"Update Blocked":"Update",Te=[],A!=null&&Te.push(["Component name",A]),x!=null&&Te.push(["Method name",x]),i={start:i,end:y,detail:{devtools:{properties:Te,track:Rn,trackGroup:bn,color:$}}},d?d.run(performance.measure.bind(performance,Re,i)):performance.measure(Re,i))}up=-1.1,ng=0,mA=hA=null,iR=-1.1,l1=xb,xb=-1.1,bb=rl()}if((a&4194048)!==0&&(Ra=_x,y=0<=lm&&lm<am?am:lm,i=0<=Tc&&Tc<am?am:Tc,d=0<=rg&&rg<am?am:rg,x=0<=d?d:0<=i?i:vo,0<=uR?(Ql(256),y0(uR,x,a,Ra)):sR&4194048,Te=d,$=Eb,H=0<ag,X=vA===oR,x=vo,d=_x,A=u3,Re=s3,jr&&(Rn="Transition",0<i?i>x&&(i=x):i=x,0<y?y>i&&(y=i):y=i,0<Te?Te>y&&(Te=y):Te=y,y>Te&&$!==null&&(ve=H?"secondary-light":"warning",d?d.run(console.timeStamp.bind(console,H?"Consecutive":"Event: "+$,Te,y,Rn,bn,ve)):console.timeStamp(H?"Consecutive":"Event: "+$,Te,y,Rn,bn,ve)),i>y&&(d?d.run(console.timeStamp.bind(console,"Action",y,i,Rn,bn,"primary-dark")):console.timeStamp("Action",y,i,Rn,bn,"primary-dark")),x>i&&(y=X?"Promise Resolved":5<x-i?"Update Blocked":"Update",Te=[],Re!=null&&Te.push(["Component name",Re]),A!=null&&Te.push(["Method name",A]),i={start:i,end:x,detail:{devtools:{properties:Te,track:Rn,trackGroup:bn,color:"primary-light"}}},d?d.run(performance.measure.bind(performance,y,i)):performance.measure(y,i))),Tc=lm=-1.1,vA=0,uR=-1.1,ag=rg,rg=-1.1,am=rl()),(a&62914560)!==0&&(sR&62914560)!==0&&(Ql(4194304),ry(c3,vo)),(a&2080374784)!==0&&(sR&2080374784)!==0&&(Ql(268435456),ry(f3,vo)),i=n.timeoutHandle,i!==Lb&&(n.timeoutHandle=Lb,zI(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),Ff=0,wf(),vr=n,cn=i=Ai(n.current,null),on=a,tr=zu,bs=null,ig=!1,g1=rt(n,a),qA=!1,ea=cm,Ob=Bu=LA=sg=ug=0,Ji=Gx=null,RR=!1,(a&8)!==0&&(a|=a&32),d=n.entangledLanes,d!==0)for(n=n.entanglements,d&=a;0<d;)y=31-La(d),x=1<<y,a|=n[y],d&=~x;return cp=a,zp(),n=n3(),1e3<n-t3&&(Ue.recentlyCreatedOwnerStacks=0,t3=n),If.discardPendingWarnings(),i}function Pa(n,a){Ft=null,Ue.H=Ux,Ue.getCurrentStack=null,Ll=!1,mo=null,a===i1||a===pR?(a=of(),tr=Fx):a===xA?(a=of(),tr=i4):tr=a===MA?PA:a!==null&&typeof a=="object"&&typeof a.then=="function"?Kx:CR,bs=a;var i=cn;i===null?(ea=Vx,Cd(n,bl(a,n.current))):i.mode&an&&Vp(i)}function Oy(){var n=vs.current;return n===null?!0:(on&4194048)===on?_c===null:(on&62914560)===on||(on&536870912)!==0?n===_c:!1}function Th(){var n=Ue.H;return Ue.H=Ux,n===null?Ux:n}function Ny(){var n=Ue.A;return Ue.A=wI,n}function $d(n){Ra===null&&(Ra=n._debugTask==null?null:n._debugTask)}function Pd(){ea=og,ig||(on&4194048)!==on&&vs.current!==null||(g1=!0),(ug&134217727)===0&&(sg&134217727)===0||vr===null||Bo(vr,on,Bu,!1)}function qd(n,a,i){var d=Dn;Dn|=Ul;var y=Th(),x=Ny();if(vr!==n||on!==a){if(qu){var A=n.memoizedUpdaters;0<A.size&&(zd(n,on),A.clear()),ml(n,a)}Yx=null,ca(n,a)}a=!1,A=ea;e:do try{if(tr!==zu&&cn!==null){var $=cn,H=bs;switch(tr){case PA:wf(),A=SR;break e;case Fx:case Db:case Mb:case Kx:vs.current===null&&(a=!0);var X=tr;if(tr=zu,bs=null,Ld(n,$,H,X),i&&g1){A=cm;break e}break;default:X=tr,tr=zu,bs=null,Ld(n,$,H,X)}}$y(),A=ea;break}catch(Re){Pa(n,Re)}while(!0);return a&&n.shellSuspendCounter++,Ge(),Dn=d,Ue.H=y,Ue.A=x,cn===null&&(vr=null,on=0,zp()),A}function $y(){for(;cn!==null;)yv(cn)}function ls(n,a){var i=Dn;Dn|=Ul;var d=Th(),y=Ny();if(vr!==n||on!==a){if(qu){var x=n.memoizedUpdaters;0<x.size&&(zd(n,on),x.clear()),ml(n,a)}Yx=null,_R=da()+c4,ca(n,a)}else g1=rt(n,a);e:do try{if(tr!==zu&&cn!==null)t:switch(a=cn,x=bs,tr){case CR:tr=zu,bs=null,Ld(n,a,x,CR);break;case Db:case Mb:if(fy(x)){tr=zu,bs=null,Py(a);break}a=function(){tr!==Db&&tr!==Mb||vr!==n||(tr=wR),so(n)},x.then(a,a);break e;case Fx:tr=wR;break e;case i4:tr=$A;break e;case wR:fy(x)?(tr=zu,bs=null,Py(a)):(tr=zu,bs=null,Ld(n,a,x,wR));break;case $A:var A=null;switch(cn.tag){case 26:A=cn.memoizedState;case 5:case 27:var $=cn;if(A?rn(A):$.stateNode.complete){tr=zu,bs=null;var H=$.sibling;if(H!==null)cn=H;else{var X=$.return;X!==null?(cn=X,jd(X)):cn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}tr=zu,bs=null,Ld(n,a,x,$A);break;case Kx:tr=zu,bs=null,Ld(n,a,x,Kx);break;case PA:wf(),ea=SR;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Ue.actQueue!==null?$y():Qr();break}catch(Re){Pa(n,Re)}while(!0);return Ge(),Ue.H=d,Ue.A=y,Dn=i,cn!==null?cm:(vr=null,on=0,zp(),ea)}function Qr(){for(;cn!==null&&!Vv();)yv(cn)}function yv(n){var a=n.alternate;(n.mode&an)!==kt?(Wo(n),a=Ee(n,ao,a,n,cp),Vp(n)):a=Ee(n,ao,a,n,cp),n.memoizedProps=n.pendingProps,a===null?jd(n):cn=a}function Py(n){var a=Ee(n,wa,n);n.memoizedProps=n.pendingProps,a===null?jd(n):cn=a}function wa(n){var a=n.alternate,i=(n.mode&an)!==kt;switch(i&&Wo(n),n.tag){case 15:case 0:a=ih(a,n,n.pendingProps,n.type,void 0,on);break;case 11:a=ih(a,n,n.pendingProps,n.type.render,n.ref,on);break;case 5:Gs(n);default:lc(a,n),n=cn=Ym(n,cp),a=ao(a,n,cp)}return i&&Vp(n),a}function Ld(n,a,i,d){Ge(),Gs(a),u1=null,jx=0;var y=a.return;try{if(wd(n,y,a,i,on)){ea=Vx,Cd(n,bl(i,n.current)),cn=null;return}}catch(x){if(y!==null)throw cn=y,x;ea=Vx,Cd(n,bl(i,n.current)),cn=null;return}a.flags&32768?(mn||d===CR?n=!0:g1||(on&536870912)!==0?n=!1:(ig=n=!0,(d===Db||d===Mb||d===Fx||d===Kx)&&(d=vs.current,d!==null&&d.tag===13&&(d.flags|=16384))),bv(a,n)):jd(a)}function jd(n){var a=n;do{if((a.flags&32768)!==0){bv(a,ig);return}var i=a.alternate;if(n=a.return,Wo(a),i=Ee(a,Sy,i,a,cp),(a.mode&an)!==kt&&gd(a),i!==null){cn=i;return}if(a=a.sibling,a!==null){cn=a;return}cn=a=n}while(a!==null);ea===cm&&(ea=o4)}function bv(n,a){do{var i=Cy(n.alternate,n);if(i!==null){i.flags&=32767,cn=i;return}if((n.mode&an)!==kt){gd(n),i=n.actualDuration;for(var d=n.child;d!==null;)i+=d.actualDuration,d=d.sibling;n.actualDuration=i}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(n=n.sibling,n!==null)){cn=n;return}cn=n=i}while(n!==null);ea=SR,cn=null}function Yn(n,a,i,d,y,x,A,$,H,X,Re,Te,ve,Be){n.cancelPendingCommit=null;do _h();while(ul!==fg);if(If.flushLegacyContextWarning(),If.flushPendingUnsafeLifecycleWarnings(),(Dn&(Ul|ys))!==yo)throw Error("Should not already be working.");if(Ql(i),X===Ab?Fm(ve,Be,i,Ra):d!==null?fx(ve,Be,i,d,a!==null&&a.alternate!==null&&a.alternate.memoizedState.isDehydrated&&(a.flags&256)!==0,Ra):ny(ve,Be,i,Ra),a!==null){if(i===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(x=a.lanes|a.childLanes,x|=sA,ya(n,i,x,A,$,H),n===vr&&(cn=vr=null,on=0),y1=a,dg=n,Ff=i,BA=x,UA=y,v4=d,kA=Be,g4=Te,Kf=AR,y4=null,a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,fc(zf,function(){return eE=window.event,Kf===AR&&(Kf=zA),Ah(),null})):(n.callbackNode=null,n.callbackPriority=0),rm=null,tg=rl(),Te!==null&&Km(Be,tg,Te,Ra),d=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||d){d=Ue.T,Ue.T=null,y=An.p,An.p=ha,A=Dn,Dn|=ys;try{_y(n,a,i)}finally{Dn=A,An.p=y,Ue.T=d}}ul=d4,Ml(),_u(),qy()}}function Ml(){if(ul===d4){ul=fg;var n=dg,a=y1,i=Ff,d=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||d){d=Ue.T,Ue.T=null;var y=An.p;An.p=ha;var x=Dn;Dn|=ys;try{m1=i,v1=n,lf(),Md(a,n),v1=m1=null,i=WA;var A=Lp(n.containerInfo),$=i.focusedElem,H=i.selectionRange;if(A!==$&&$&&$.ownerDocument&&Jg($.ownerDocument.documentElement,$)){if(H!==null&&Vm($)){var X=H.start,Re=H.end;if(Re===void 0&&(Re=X),"selectionStart"in $)$.selectionStart=X,$.selectionEnd=Math.min(Re,$.value.length);else{var Te=$.ownerDocument||document,ve=Te&&Te.defaultView||window;if(ve.getSelection){var Be=ve.getSelection(),ut=$.textContent.length,pt=Math.min(H.start,ut),_r=H.end===void 0?pt:Math.min(H.end,ut);!Be.extend&&pt>_r&&(A=_r,_r=pt,pt=A);var xn=Wg($,pt),me=Wg($,_r);if(xn&&me&&(Be.rangeCount!==1||Be.anchorNode!==xn.node||Be.anchorOffset!==xn.offset||Be.focusNode!==me.node||Be.focusOffset!==me.offset)){var ye=Te.createRange();ye.setStart(xn.node,xn.offset),Be.removeAllRanges(),pt>_r?(Be.addRange(ye),Be.extend(me.node,me.offset)):(ye.setEnd(me.node,me.offset),Be.addRange(ye))}}}}for(Te=[],Be=$;Be=Be.parentNode;)Be.nodeType===1&&Te.push({element:Be,left:Be.scrollLeft,top:Be.scrollTop});for(typeof $.focus=="function"&&$.focus(),$=0;$<Te.length;$++){var Ce=Te[$];Ce.element.scrollLeft=Ce.left,Ce.element.scrollTop=Ce.top}}VR=!!ZA,WA=ZA=null}finally{Dn=x,An.p=y,Ue.T=d}}n.current=a,ul=p4}}function _u(){if(ul===p4){ul=fg;var n=y4;if(n!==null){tg=rl();var a=nm,i=tg;!jr||i<=a||console.timeStamp(n,a,i,Rn,bn,"secondary-light")}n=dg,a=y1,i=Ff;var d=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||d){d=Ue.T,Ue.T=null;var y=An.p;An.p=ha;var x=Dn;Dn|=ys;try{m1=i,v1=n,lf(),Ad(n,a.alternate,a),v1=m1=null}finally{Dn=x,An.p=y,Ue.T=d}}n=kA,a=g4,nm=rl(),n=a===null?n:tg,a=nm,i=Kf===jA,d=Ra,rm!==null?Qc(n,a,rm,!1,d):!jr||a<=n||(d?d.run(console.timeStamp.bind(console,i?"Commit Interrupted View Transition":"Commit",n,a,Rn,bn,i?"error":"secondary-dark")):console.timeStamp(i?"Commit Interrupted View Transition":"Commit",n,a,Rn,bn,i?"error":"secondary-dark")),ul=h4}}function qy(){if(ul===m4||ul===h4){if(ul===m4){var n=nm;nm=rl();var a=nm,i=Kf===jA;!jr||a<=n||console.timeStamp(i?"Interrupted View Transition":"Starting Animation",n,a,Rn,bn,i?" error":"secondary-light"),Kf!==jA&&(Kf=f4)}ul=fg,Fv(),n=dg;var d=y1;a=Ff,i=v4;var y=d.actualDuration!==0||(d.subtreeFlags&10256)!==0||(d.flags&10256)!==0;y?ul=DR:(ul=fg,y1=dg=null,jy(n,n.pendingLanes),Nb=0,Qx=null);var x=n.pendingLanes;if(x===0&&(cg=null),y||Sv(n),x=Or(a),d=d.stateNode,pa&&typeof pa.onCommitFiberRoot=="function")try{var A=(d.current.flags&128)===128;switch(x){case ha:var $=db;break;case ja:$=Kv;break;case el:$=zf;break;case bc:$=Gv;break;default:$=zf}pa.onCommitFiberRoot(Bf,d,$,A)}catch(Te){Pu||(Pu=!0,console.error("React instrumentation encountered an error: %o",Te))}if(qu&&n.memoizedUpdaters.clear(),Dy(),i!==null){A=Ue.T,$=An.p,An.p=ha,Ue.T=null;try{var H=n.onRecoverableError;for(d=0;d<i.length;d++){var X=i[d],Re=Ly(X.stack);Ee(X.source,H,X.value,Re)}}finally{Ue.T=A,An.p=$}}(Ff&3)!==0&&_h(),so(n),x=n.pendingLanes,(a&261930)!==0&&(x&42)!==0?(fR=!0,n===IA?Xx++:(Xx=0,IA=n)):Xx=0,y||as(a,nm),Au(0)}}function Ly(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 jy(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Hs(a)))}function _h(){return Ml(),_u(),qy(),Ah()}function Ah(){if(ul!==DR)return!1;var n=dg,a=BA;BA=0;var i=Or(Ff),d=el>i?el:i;i=Ue.T;var y=An.p;try{An.p=d,Ue.T=null;var x=UA;UA=null,d=dg;var A=Ff;if(ul=fg,y1=dg=null,Ff=0,(Dn&(Ul|ys))!==yo)throw Error("Cannot flush passive effects while already rendering.");Ql(A),HA=!0,MR=!1;var $=0;if(rm=null,$=da(),Kf===f4)ry(nm,$,gI);else{var H=nm,X=$,Re=Kf===zA;!jr||X<=H||(Ra?Ra.run(console.timeStamp.bind(console,Re?"Waiting for Paint":"Waiting",H,X,Rn,bn,"secondary-light")):console.timeStamp(Re?"Waiting for Paint":"Waiting",H,X,Rn,bn,"secondary-light"))}H=Dn,Dn|=ys;var Te=d.current;lf(),Rh(Te);var ve=d.current;Te=kA,lf(),Na(d,ve,A,x,Te),Sv(d),Dn=H;var Be=da();if(ve=$,Te=Ra,rm!==null?Qc(ve,Be,rm,!0,Te):!jr||Be<=ve||(Te?Te.run(console.timeStamp.bind(console,"Remaining Effects",ve,Be,Rn,bn,"secondary-dark")):console.timeStamp("Remaining Effects",ve,Be,Rn,bn,"secondary-dark")),as(A,Be),Au(0,!1),MR?d===Qx?Nb++:(Nb=0,Qx=d):Nb=0,MR=HA=!1,pa&&typeof pa.onPostCommitFiberRoot=="function")try{pa.onPostCommitFiberRoot(Bf,d)}catch(pt){Pu||(Pu=!0,console.error("React instrumentation encountered an error: %o",pt))}var ut=d.current.stateNode;return ut.effectDuration=0,ut.passiveEffectDuration=0,!0}finally{An.p=y,Ue.T=i,jy(n,a)}}function Ol(n,a,i){a=bl(i,a),sy(a),a=nv(n.stateNode,a,2),n=pu(n,a,2),n!==null&&(Yt(n,2),so(n))}function Qt(n,a,i){if(b1=!1,n.tag===3)Ol(n,n,i);else{for(;a!==null;){if(a.tag===3){Ol(a,n,i);return}if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(cg===null||!cg.has(d))){n=bl(i,n),sy(n),i=_l(2),d=pu(a,i,2),d!==null&&(rv(i,d,a,n),Yt(d,2),so(d));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.
|
|
200
|
+
|
|
201
|
+
Error message:
|
|
202
|
+
|
|
203
|
+
%s`,i)}}function xv(n,a,i){var d=n.pingCache;if(d===null){d=n.pingCache=new TI;var y=new Set;d.set(a,y)}else y=d.get(a),y===void 0&&(y=new Set,d.set(a,y));y.has(i)||(qA=!0,y.add(i),d=or.bind(null,n,a,i),qu&&zd(n,i),a.then(d,d))}function or(n,a,i){var d=n.pingCache;d!==null&&d.delete(a),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,(i&127)!==0?0>up&&(bb=up=rl(),Rx=lR("Promise Resolved"),ng=oR):(i&4194048)!==0&&0>Tc&&(am=Tc=rl(),_x=lR("Promise Resolved"),vA=oR),vv()&&Ue.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
204
|
+
|
|
205
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
206
|
+
|
|
207
|
+
act(() => {
|
|
208
|
+
/* finish loading suspended data */
|
|
209
|
+
});
|
|
210
|
+
/* assert on the output */
|
|
211
|
+
|
|
212
|
+
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`),vr===n&&(on&i)===i&&(ea===og||ea===ER&&(on&62914560)===on&&da()-TR<s4?(Dn&Ul)===yo&&ca(n,0):LA|=i,Ob===on&&(Ob=0)),so(n)}function zy(n,a){a===0&&(a=bt()),n=ba(n,a),n!==null&&(Yt(n,a),so(n))}function os(n){var a=n.memoizedState,i=0;a!==null&&(i=a.retryLane),zy(n,i)}function Rf(n,a){var i=0;switch(n.tag){case 31:case 13:var d=n.stateNode,y=n.memoizedState;y!==null&&(i=y.retryLane);break;case 19:d=n.stateNode;break;case 22:d=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}d!==null&&d.delete(a),zy(n,i)}function ii(n,a,i){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var d=n,y=a,x=y.type===ql;x=i||x,y.tag!==22?y.flags&67108864?x&&Ee(y,Ev,d,y):ii(d,y,x):y.memoizedState===null&&(x&&y.flags&8192?Ee(y,Ev,d,y):y.subtreeFlags&67108864&&Ee(y,ii,d,y,x)),a=a.sibling}}function Ev(n,a){pe(!0);try{Eh(a),Ay(a),pv(n,a.alternate,a,!1),wh(n,a,0,null,!1,0)}finally{pe(!1)}}function Sv(n){var a=!0;n.current.mode&(di|Uf)||(a=!1),ii(n,n.current,a)}function ui(n){if((Dn&Ul)===yo){var a=n.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=de(n)||"ReactComponent",OR!==null){if(OR.has(a))return;OR.add(a)}else OR=new Set([a]);Ee(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 tries to update the component. Move this work to useEffect instead.")})}}}function zd(n,a){qu&&n.memoizedUpdaters.forEach(function(i){Mr(n,i,a)})}function fc(n,a){var i=Ue.actQueue;return i!==null?(i.push(a),DI):fb(n,a)}function Dh(n){vv()&&Ue.actQueue===null&&Ee(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
213
|
+
|
|
214
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
215
|
+
|
|
216
|
+
act(() => {
|
|
217
|
+
/* fire events that update state */
|
|
218
|
+
});
|
|
219
|
+
/* assert on the output */
|
|
220
|
+
|
|
221
|
+
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`,de(n))})}function so(n){n!==x1&&n.next===null&&(x1===null?NR=x1=n:x1=x1.next=n),$R=!0,Ue.actQueue!==null?FA||(FA=!0,T0()):VA||(VA=!0,T0())}function Au(n,a){if(!KA&&$R){KA=!0;do for(var i=!1,d=NR;d!==null;){if(n!==0){var y=d.pendingLanes;if(y===0)var x=0;else{var A=d.suspendedLanes,$=d.pingedLanes;x=(1<<31-La(42|n)+1)-1,x&=y&~(A&~$),x=x&201326741?x&201326741|1:x?x|2:0}x!==0&&(i=!0,Mh(d,x))}else x=on,x=st(d,d===vr?x:0,d.cancelPendingCommit!==null||d.timeoutHandle!==Lb),(x&3)===0||rt(d,x)||(i=!0,Mh(d,x));d=d.next}while(i);KA=!1}}function R0(){eE=window.event,Cv()}function Cv(){$R=FA=VA=!1;var n=0;pg!==0&&Hy()&&(n=pg);for(var a=da(),i=null,d=NR;d!==null;){var y=d.next,x=Bd(d,a);x===0?(d.next=null,i===null?NR=y:i.next=y,y===null&&(x1=i)):(i=d,(n!==0||(x&3)!==0)&&($R=!0)),d=y}ul!==fg&&ul!==DR||Au(n),pg!==0&&(pg=0)}function Bd(n,a){for(var i=n.suspendedLanes,d=n.pingedLanes,y=n.expirationTimes,x=n.pendingLanes&-62914561;0<x;){var A=31-La(x),$=1<<A,H=y[A];H===-1?(($&i)===0||($&d)!==0)&&(y[A]=at($,a)):H<=a&&(n.expiredLanes|=$),x&=~$}if(a=vr,i=on,i=st(n,n===a?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==Lb),d=n.callbackNode,i===0||n===a&&(tr===Db||tr===Mb)||n.cancelPendingCommit!==null)return d!==null&&wv(d),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||rt(n,i)){if(a=i&-i,a!==n.callbackPriority||Ue.actQueue!==null&&d!==GA)wv(d);else return a;switch(Or(i)){case ha:case ja:i=Kv;break;case el:i=zf;break;case bc:i=Gv;break;default:i=zf}return d=By.bind(null,n),Ue.actQueue!==null?(Ue.actQueue.push(d),i=GA):i=fb(i,d),n.callbackPriority=a,n.callbackNode=i,a}return d!==null&&wv(d),n.callbackPriority=2,n.callbackNode=null,2}function By(n,a){if(fR=cR=!1,eE=window.event,ul!==fg&&ul!==DR)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Kf===AR&&(Kf=zA),_h()&&n.callbackNode!==i)return null;var d=on;return d=st(n,n===vr?d:0,n.cancelPendingCommit!==null||n.timeoutHandle!==Lb),d===0?null:(My(n,d,a),Bd(n,da()),n.callbackNode!=null&&n.callbackNode===i?By.bind(null,n):null)}function Mh(n,a){if(_h())return null;cR=fR,fR=!1,My(n,a,!0)}function wv(n){n!==GA&&n!==null&&Hv(n)}function T0(){Ue.actQueue!==null&&Ue.actQueue.push(function(){return Cv(),null}),BI(function(){(Dn&(Ul|ys))!==yo?fb(db,R0):Cv()})}function ky(){if(pg===0){var n=Sb;n===0&&(n=tp,tp<<=1,(tp&261888)===0&&(tp=256)),pg=n}return pg}function Sn(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:(Nt(n,"action"),fd(""+n))}function Hn(n,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,n.id&&i.setAttribute("form",n.id),a.parentNode.insertBefore(i,a),n=new FormData(n),i.parentNode.removeChild(i),n}function sn(n,a,i,d,y){if(a==="submit"&&i&&i.stateNode===y){var x=Sn((y[jl]||null).action),A=d.submitter;A&&(a=(a=A[jl]||null)?Sn(a.formAction):A.getAttribute("formAction"),a!==null&&(x=a,A=null));var $=new Ot("action","action",null,d,y);n.push({event:$,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(pg!==0){var H=A?Hn(y,A):new FormData(y),X={pending:!0,data:H,method:y.method,action:x};Object.freeze(X),ts(i,X,null,H)}}else typeof x=="function"&&($.preventDefault(),H=A?Hn(y,A):new FormData(y),X={pending:!0,data:H,method:y.method,action:x},Object.freeze(X),ts(i,X,x,H))},currentTarget:y}]})}}function en(n,a,i){n.currentTarget=i;try{a(n)}catch(d){lA(d)}n.currentTarget=null}function qn(n,a){a=(a&4)!==0;for(var i=0;i<n.length;i++){var d=n[i];e:{var y=void 0,x=d.event;if(d=d.listeners,a)for(var A=d.length-1;0<=A;A--){var $=d[A],H=$.instance,X=$.currentTarget;if($=$.listener,H!==y&&x.isPropagationStopped())break e;H!==null?Ee(H,en,x,$,X):en(x,$,X),y=H}else for(A=0;A<d.length;A++){if($=d[A],H=$.instance,X=$.currentTarget,$=$.listener,H!==y&&x.isPropagationStopped())break e;H!==null?Ee(H,en,x,$,X):en(x,$,X),y=H}}}}function Pt(n,a){YA.has(n)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',n);var i=a[hs];i===void 0&&(i=a[hs]=new Set);var d=n+"__bubble";i.has(d)||(Rv(a,n,2,!1),i.add(d))}function Du(n,a,i){YA.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 d=0;a&&(d|=4),Rv(i,n,d,a)}function dc(n){if(!n[PR]){n[PR]=!0,K0.forEach(function(i){i!=="selectionchange"&&(YA.has(i)||Du(i,!1,n),Du(i,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[PR]||(a[PR]=!0,Du("selectionchange",!1,a))}}function Rv(n,a,i,d){switch(Yd(a)){case ha:var y=ab;break;case ja:y=qa;break;default:y=lb}i=y.bind(null,a,i,n),y=void 0,!tt||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(y=!0),d?y!==void 0?n.addEventListener(a,i,{capture:!0,passive:y}):n.addEventListener(a,i,!0):y!==void 0?n.addEventListener(a,i,{passive:y}):n.addEventListener(a,i,!1)}function ko(n,a,i,d,y){var x=d;if((a&1)===0&&(a&2)===0&&d!==null)e:for(;;){if(d===null)return;var A=d.tag;if(A===3||A===4){var $=d.stateNode.containerInfo;if($===y)break;if(A===4)for(A=d.return;A!==null;){var H=A.tag;if((H===3||H===4)&&A.stateNode.containerInfo===y)return;A=A.return}for(;$!==null;){if(A=gi($),A===null)return;if(H=A.tag,H===5||H===6||H===26||H===27){d=x=A;continue e}$=$.parentNode}}d=d.return}Im(function(){var X=x,Re=Ei(i),Te=[];e:{var ve=e3.get(n);if(ve!==void 0){var Be=Ot,ut=n;switch(n){case"keypress":if(Mp(i)===0)break e;case"keydown":case"keyup":Be=VU;break;case"focusin":ut="focus",Be=J_;break;case"focusout":ut="blur",Be=J_;break;case"beforeblur":case"afterblur":Be=J_;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Be=Lu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Be=Jw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Be=GU;break;case QO:case ZO:case WO:Be=qU;break;case JO:Be=XU;break;case"scroll":case"scrollend":Be=yn;break;case"wheel":Be=ZU;break;case"copy":case"cut":case"paste":Be=jU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Be=IO;break;case"toggle":case"beforetoggle":Be=JU}var pt=(a&4)!==0,_r=!pt&&(n==="scroll"||n==="scrollend"),xn=pt?ve!==null?ve+"Capture":null:ve;pt=[];for(var me=X,ye;me!==null;){var Ce=me;if(ye=Ce.stateNode,Ce=Ce.tag,Ce!==5&&Ce!==26&&Ce!==27||ye===null||xn===null||(Ce=Si(me,xn),Ce!=null&&pt.push(Xn(me,Ce,ye))),_r)break;me=me.return}0<pt.length&&(ve=new Be(ve,ut,null,i,Re),Te.push({event:ve,listeners:pt}))}}if((a&7)===0){e:{if(ve=n==="mouseover"||n==="pointerover",Be=n==="mouseout"||n==="pointerout",ve&&i!==ne&&(ut=i.relatedTarget||i.fromElement)&&(gi(ut)||ut[ps]))break e;if((Be||ve)&&(ve=Re.window===Re?Re:(ve=Re.ownerDocument)?ve.defaultView||ve.parentWindow:window,Be?(ut=i.relatedTarget||i.toElement,Be=X,ut=ut?gi(ut):null,ut!==null&&(_r=P(ut),pt=ut.tag,ut!==_r||pt!==5&&pt!==27&&pt!==6)&&(ut=null)):(Be=null,ut=X),Be!==ut)){if(pt=Lu,Ce="onMouseLeave",xn="onMouseEnter",me="mouse",(n==="pointerout"||n==="pointerover")&&(pt=IO,Ce="onPointerLeave",xn="onPointerEnter",me="pointer"),_r=Be==null?ve:yi(Be),ye=ut==null?ve:yi(ut),ve=new pt(Ce,me+"leave",Be,i,Re),ve.target=_r,ve.relatedTarget=ye,Ce=null,gi(Re)===X&&(pt=new pt(xn,me+"enter",ut,i,Re),pt.target=ye,pt.relatedTarget=_r,Ce=pt),_r=Ce,Be&&ut)t:{for(pt=Tf,xn=Be,me=ut,ye=0,Ce=xn;Ce;Ce=pt(Ce))ye++;Ce=0;for(var Xe=me;Xe;Xe=pt(Xe))Ce++;for(;0<ye-Ce;)xn=pt(xn),ye--;for(;0<Ce-ye;)me=pt(me),Ce--;for(;ye--;){if(xn===me||me!==null&&xn===me.alternate){pt=xn;break t}xn=pt(xn),me=pt(me)}pt=null}else pt=null;Be!==null&&Tv(Te,ve,Be,pt,!1),ut!==null&&_r!==null&&Tv(Te,_r,ut,pt,!0)}}e:{if(ve=X?yi(X):window,Be=ve.nodeName&&ve.nodeName.toLowerCase(),Be==="select"||Be==="input"&&ve.type==="file")var ft=Ls;else if(In(ve))if(YO)ft=Ci;else{ft=ra;var Kt=cx}else Be=ve.nodeName,!Be||Be.toLowerCase()!=="input"||ve.type!=="checkbox"&&ve.type!=="radio"?X&&yl(X.elementType)&&(ft=Ls):ft=Pp;if(ft&&(ft=ft(n,X))){Np(Te,ft,i,Re);break e}Kt&&Kt(n,ve,X),n==="focusout"&&X&&ve.type==="number"&&X.memoizedProps.value!=null&&Fg(ve,"number",ve.value)}switch(Kt=X?yi(X):window,n){case"focusin":(In(Kt)||Kt.contentEditable==="true")&&(Z0=Kt,tA=X,Ex=null);break;case"focusout":Ex=tA=Z0=null;break;case"mousedown":nA=!0;break;case"contextmenu":case"mouseup":case"dragend":nA=!1,ey(Te,i,Re);break;case"selectionchange":if(rI)break;case"keydown":case"keyup":ey(Te,i,Re)}var Tt;if(eA)e:{switch(n){case"compositionstart":var Ct="onCompositionStart";break e;case"compositionend":Ct="onCompositionEnd";break e;case"compositionupdate":Ct="onCompositionUpdate";break e}Ct=void 0}else Q0?pd(n,i)&&(Ct="onCompositionEnd"):n==="keydown"&&i.keyCode===HO&&(Ct="onCompositionStart");Ct&&(VO&&i.locale!=="ko"&&(Q0||Ct!=="onCompositionStart"?Ct==="onCompositionEnd"&&Q0&&(Tt=Yc()):(it=Re,xt="value"in it?it.value:it.textContent,Q0=!0)),Kt=Ui(X,Ct),0<Kt.length&&(Ct=new UO(Ct,n,null,i,Re),Te.push({event:Ct,listeners:Kt}),Tt?Ct.data=Tt:(Tt=Fu(i),Tt!==null&&(Ct.data=Tt)))),(Tt=tI?Zg(n,i):Un(n,i))&&(Ct=Ui(X,"onBeforeInput"),0<Ct.length&&(Kt=new BU("onBeforeInput","beforeinput",null,i,Re),Te.push({event:Kt,listeners:Ct}),Kt.data=Tt)),sn(Te,n,X,i,Re)}qn(Te,a)})}function Xn(n,a,i){return{instance:n,listener:a,currentTarget:i}}function Ui(n,a){for(var i=a+"Capture",d=[];n!==null;){var y=n,x=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||x===null||(y=Si(n,i),y!=null&&d.unshift(Xn(n,y,x)),y=Si(n,a),y!=null&&d.push(Xn(n,y,x))),n.tag===3)return d;n=n.return}return[]}function Tf(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Tv(n,a,i,d,y){for(var x=a._reactName,A=[];i!==null&&i!==d;){var $=i,H=$.alternate,X=$.stateNode;if($=$.tag,H!==null&&H===d)break;$!==5&&$!==26&&$!==27||X===null||(H=X,y?(X=Si(i,x),X!=null&&A.unshift(Xn(i,X,H))):y||(X=Si(i,x),X!=null&&A.push(Xn(i,X,H)))),i=i.return}A.length!==0&&n.push({event:a,listeners:A})}function Nl(n,a){h0(n,a),n!=="input"&&n!=="textarea"&&n!=="select"||a==null||a.value!==null||Ww||(Ww=!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 i={registrationNameDependencies:fi,possibleRegistrationNames:ap};yl(n)||typeof a.is=="string"||m0(n,a,i),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 Cr(n,a,i,d){a!==i&&(i=si(i),si(a)!==i&&(d[n]=a))}function Oh(n,a,i){a.forEach(function(d){i[is(d)]=d==="style"?pc(n):n.getAttribute(d)})}function wr(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 _v(n,a){return n=n.namespaceURI===Ht||n.namespaceURI===Zt?n.ownerDocument.createElementNS(n.namespaceURI,n.tagName):n.ownerDocument.createElement(n.tagName),n.innerHTML=a,n.innerHTML}function si(n){return vt(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.",ot(n)),Xt(n)),(typeof n=="string"?n:""+n).replace(MI,`
|
|
222
|
+
`).replace(OI,"")}function Uy(n,a){return a=si(a),si(n)===a}function hn(n,a,i,d,y,x){switch(i){case"children":typeof d=="string"?(Fc(d,a,!1),a==="body"||a==="textarea"&&d===""||Kc(n,d)):(typeof d=="number"||typeof d=="bigint")&&(Fc(""+d,a,!1),a!=="body"&&Kc(n,""+d));break;case"className":Ic(n,"class",d);break;case"tabIndex":Ic(n,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":Ic(n,i,d);break;case"style":Dp(n,d,x);break;case"data":if(a!=="object"){Ic(n,"data",d);break}case"src":case"href":if(d===""&&(a!=="a"||i!=="href")){console.error(i==="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.',i,i),n.removeAttribute(i);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){n.removeAttribute(i);break}Nt(d,i),d=fd(""+d),n.setAttribute(i,d);break;case"action":case"formAction":if(d!=null&&(a==="form"?i==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof d=="function"&&(y.encType==null&&y.method==null||jR||(jR=!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.")),y.target==null||LR||(LR=!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"?i==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||y.type==="submit"||y.type==="image"||qR?a!=="button"||y.type==null||y.type==="submit"||qR?typeof d=="function"&&(y.name==null||C4||(C4=!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.')),y.formEncType==null&&y.formMethod==null||jR||(jR=!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.")),y.formTarget==null||LR||(LR=!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."))):(qR=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(qR=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(i==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof d=="function"){n.setAttribute(i,"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 x=="function"&&(i==="formAction"?(a!=="input"&&hn(n,a,"name",y.name,y,null),hn(n,a,"formEncType",y.formEncType,y,null),hn(n,a,"formMethod",y.formMethod,y,null),hn(n,a,"formTarget",y.formTarget,y,null)):(hn(n,a,"encType",y.encType,y,null),hn(n,a,"method",y.method,y,null),hn(n,a,"target",y.target,y,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){n.removeAttribute(i);break}Nt(d,i),d=fd(""+d),n.setAttribute(i,d);break;case"onClick":d!=null&&(typeof d!="function"&&wr(i,d),n.onclick=Eo);break;case"onScroll":d!=null&&(typeof d!="function"&&wr(i,d),Pt("scroll",n));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&wr(i,d),Pt("scrollend",n));break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=d.__html,i!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n.innerHTML=i}}break;case"multiple":n.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":n.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){n.removeAttribute("xlink:href");break}Nt(d,i),i=fd(""+d),n.setAttributeNS($b,"xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?(Nt(d,i),n.setAttribute(i,""+d)):n.removeAttribute(i);break;case"inert":d!==""||zR[i]||(zR[i]=!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.",i));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":d&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":d===!0?n.setAttribute(i,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?(Nt(d,i),n.setAttribute(i,d)):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?(Nt(d,i),n.setAttribute(i,d)):n.removeAttribute(i);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?n.removeAttribute(i):(Nt(d,i),n.setAttribute(i,d));break;case"popover":Pt("beforetoggle",n),Pt("toggle",n),Iu(n,"popover",d);break;case"xlinkActuate":ru(n,$b,"xlink:actuate",d);break;case"xlinkArcrole":ru(n,$b,"xlink:arcrole",d);break;case"xlinkRole":ru(n,$b,"xlink:role",d);break;case"xlinkShow":ru(n,$b,"xlink:show",d);break;case"xlinkTitle":ru(n,$b,"xlink:title",d);break;case"xlinkType":ru(n,$b,"xlink:type",d);break;case"xmlBase":ru(n,XA,"xml:base",d);break;case"xmlLang":ru(n,XA,"xml:lang",d);break;case"xmlSpace":ru(n,XA,"xml:space",d);break;case"is":x!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Iu(n,"is",d);break;case"innerText":case"textContent":break;case"popoverTarget":w4||d==null||typeof d!="object"||(w4=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",d));default:!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N"?(i=Yg(i),Iu(n,i,d)):fi.hasOwnProperty(i)&&d!=null&&typeof d!="function"&&wr(i,d)}}function kd(n,a,i,d,y,x){switch(i){case"style":Dp(n,d,x);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=d.__html,i!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n.innerHTML=i}}break;case"children":typeof d=="string"?Kc(n,d):(typeof d=="number"||typeof d=="bigint")&&Kc(n,""+d);break;case"onScroll":d!=null&&(typeof d!="function"&&wr(i,d),Pt("scroll",n));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&wr(i,d),Pt("scrollend",n));break;case"onClick":d!=null&&(typeof d!="function"&&wr(i,d),n.onclick=Eo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(fi.hasOwnProperty(i))d!=null&&typeof d!="function"&&wr(i,d);else e:{if(i[0]==="o"&&i[1]==="n"&&(y=i.endsWith("Capture"),a=i.slice(2,y?i.length-7:void 0),x=n[jl]||null,x=x!=null?x[i]:null,typeof x=="function"&&n.removeEventListener(a,x,y),typeof d=="function")){typeof x!="function"&&x!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(a,d,y);break e}i in n?n[i]=d:d===!0?n.setAttribute(i,""):Iu(n,i,d)}}}function pr(n,a,i){switch(Nl(a,i),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pt("error",n),Pt("load",n);var d=!1,y=!1,x;for(x in i)if(i.hasOwnProperty(x)){var A=i[x];if(A!=null)switch(x){case"src":d=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:hn(n,a,x,A,i,null)}}y&&hn(n,a,"srcSet",i.srcSet,i,null),d&&hn(n,a,"src",i.src,i,null);return;case"input":lt("input",i),Pt("invalid",n);var $=x=A=y=null,H=null,X=null;for(d in i)if(i.hasOwnProperty(d)){var Re=i[d];if(Re!=null)switch(d){case"name":y=Re;break;case"type":A=Re;break;case"checked":H=Re;break;case"defaultChecked":X=Re;break;case"value":x=Re;break;case"defaultValue":$=Re;break;case"children":case"dangerouslySetInnerHTML":if(Re!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:hn(n,a,d,Re,i,null)}}gl(n,i),wp(n,x,$,H,X,A,y,!1);return;case"select":lt("select",i),Pt("invalid",n),d=A=x=null;for(y in i)if(i.hasOwnProperty(y)&&($=i[y],$!=null))switch(y){case"value":x=$;break;case"defaultValue":A=$;break;case"multiple":d=$;default:hn(n,a,y,$,i,null)}zm(n,i),a=x,i=A,n.multiple=!!d,a!=null?au(n,!!d,a,!1):i!=null&&au(n,!!d,i,!0);return;case"textarea":lt("textarea",i),Pt("invalid",n),x=y=d=null;for(A in i)if(i.hasOwnProperty(A)&&($=i[A],$!=null))switch(A){case"value":d=$;break;case"defaultValue":y=$;break;case"children":x=$;break;case"dangerouslySetInnerHTML":if($!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:hn(n,a,A,$,i,null)}Hc(n,i),rd(n,d,y,x);return;case"option":p0(n,i);for(H in i)if(i.hasOwnProperty(H)&&(d=i[H],d!=null))switch(H){case"selected":n.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:hn(n,a,H,d,i,null)}return;case"dialog":Pt("beforetoggle",n),Pt("toggle",n),Pt("cancel",n),Pt("close",n);break;case"iframe":case"object":Pt("load",n);break;case"video":case"audio":for(d=0;d<Zx.length;d++)Pt(Zx[d],n);break;case"image":Pt("error",n),Pt("load",n);break;case"details":Pt("toggle",n);break;case"embed":case"source":case"link":Pt("error",n),Pt("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(X in i)if(i.hasOwnProperty(X)&&(d=i[X],d!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:hn(n,a,X,d,i,null)}return;default:if(yl(a)){for(Re in i)i.hasOwnProperty(Re)&&(d=i[Re],d!==void 0&&kd(n,a,Re,d,i,void 0));return}}for($ in i)i.hasOwnProperty($)&&(d=i[$],d!=null&&hn(n,a,$,d,i,null))}function fa(n,a,i,d){switch(Nl(a,d),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,x=null,A=null,$=null,H=null,X=null,Re=null;for(Be in i){var Te=i[Be];if(i.hasOwnProperty(Be)&&Te!=null)switch(Be){case"checked":break;case"value":break;case"defaultValue":H=Te;default:d.hasOwnProperty(Be)||hn(n,a,Be,null,d,Te)}}for(var ve in d){var Be=d[ve];if(Te=i[ve],d.hasOwnProperty(ve)&&(Be!=null||Te!=null))switch(ve){case"type":x=Be;break;case"name":y=Be;break;case"checked":X=Be;break;case"defaultChecked":Re=Be;break;case"value":A=Be;break;case"defaultValue":$=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:Be!==Te&&hn(n,a,ve,Be,d,Te)}}a=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,d=d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null,a||!d||S4||(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"),S4=!0),!a||d||E4||(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"),E4=!0),Ps(n,A,$,H,X,Re,x,y);return;case"select":Be=A=$=ve=null;for(x in i)if(H=i[x],i.hasOwnProperty(x)&&H!=null)switch(x){case"value":break;case"multiple":Be=H;default:d.hasOwnProperty(x)||hn(n,a,x,null,d,H)}for(y in d)if(x=d[y],H=i[y],d.hasOwnProperty(y)&&(x!=null||H!=null))switch(y){case"value":ve=x;break;case"defaultValue":$=x;break;case"multiple":A=x;default:x!==H&&hn(n,a,y,x,d,H)}d=$,a=A,i=Be,ve!=null?au(n,!!a,ve,!1):!!i!=!!a&&(d!=null?au(n,!!a,d,!0):au(n,!!a,a?[]:"",!1));return;case"textarea":Be=ve=null;for($ in i)if(y=i[$],i.hasOwnProperty($)&&y!=null&&!d.hasOwnProperty($))switch($){case"value":break;case"children":break;default:hn(n,a,$,null,d,y)}for(A in d)if(y=d[A],x=i[A],d.hasOwnProperty(A)&&(y!=null||x!=null))switch(A){case"value":ve=y;break;case"defaultValue":Be=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:y!==x&&hn(n,a,A,y,d,x)}lu(n,ve,Be);return;case"option":for(var ut in i)if(ve=i[ut],i.hasOwnProperty(ut)&&ve!=null&&!d.hasOwnProperty(ut))switch(ut){case"selected":n.selected=!1;break;default:hn(n,a,ut,null,d,ve)}for(H in d)if(ve=d[H],Be=i[H],d.hasOwnProperty(H)&&ve!==Be&&(ve!=null||Be!=null))switch(H){case"selected":n.selected=ve&&typeof ve!="function"&&typeof ve!="symbol";break;default:hn(n,a,H,ve,d,Be)}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 pt in i)ve=i[pt],i.hasOwnProperty(pt)&&ve!=null&&!d.hasOwnProperty(pt)&&hn(n,a,pt,null,d,ve);for(X in d)if(ve=d[X],Be=i[X],d.hasOwnProperty(X)&&ve!==Be&&(ve!=null||Be!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(ve!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:hn(n,a,X,ve,d,Be)}return;default:if(yl(a)){for(var _r in i)ve=i[_r],i.hasOwnProperty(_r)&&ve!==void 0&&!d.hasOwnProperty(_r)&&kd(n,a,_r,void 0,d,ve);for(Re in d)ve=d[Re],Be=i[Re],!d.hasOwnProperty(Re)||ve===Be||ve===void 0&&Be===void 0||kd(n,a,Re,ve,d,Be);return}}for(var xn in i)ve=i[xn],i.hasOwnProperty(xn)&&ve!=null&&!d.hasOwnProperty(xn)&&hn(n,a,xn,null,d,ve);for(Te in d)ve=d[Te],Be=i[Te],!d.hasOwnProperty(Te)||ve===Be||ve==null&&Be==null||hn(n,a,Te,ve,d,Be)}function is(n){switch(n){case"class":return"className";case"for":return"htmlFor";default:return n}}function pc(n){var a={};n=n.style;for(var i=0;i<n.length;i++){var d=n[i];a[d]=n.getPropertyValue(d)}return a}function Mu(n,a,i){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 d,y=d="",x;for(x in a)if(a.hasOwnProperty(x)){var A=a[x];A!=null&&typeof A!="boolean"&&A!==""&&(x.indexOf("--")===0?(Kn(A,x),d+=y+x+":"+(""+A).trim()):typeof A!="number"||A===0||yt.has(x)?(Kn(A,x),d+=y+x.replace(He,"-$1").toLowerCase().replace(mt,"-ms-")+":"+(""+A).trim()):d+=y+x.replace(He,"-$1").toLowerCase().replace(mt,"-ms-")+":"+A+"px",y=";")}d=d||null,a=n.getAttribute("style"),a!==d&&(d=si(d),si(a)!==d&&(i.style=pc(n)))}}function co(n,a,i,d,y,x){if(y.delete(i),n=n.getAttribute(i),n===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Nt(d,a),n===""+d)return}Cr(a,n,d,x)}function Av(n,a,i,d,y,x){if(y.delete(i),n=n.getAttribute(i),n===null){switch(typeof d){case"function":case"symbol":return}if(!d)return}else switch(typeof d){case"function":case"symbol":break;default:if(d)return}Cr(a,n,d,x)}function Dv(n,a,i,d,y,x){if(y.delete(i),n=n.getAttribute(i),n===null)switch(typeof d){case"undefined":case"function":case"symbol":return}else if(d!=null)switch(typeof d){case"function":case"symbol":break;default:if(Nt(d,i),n===""+d)return}Cr(a,n,d,x)}function Ud(n,a,i,d,y,x){if(y.delete(i),n=n.getAttribute(i),n===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(d))return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(!isNaN(d)&&(Nt(d,a),n===""+d))return}Cr(a,n,d,x)}function Nh(n,a,i,d,y,x){if(y.delete(i),n=n.getAttribute(i),n===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Nt(d,a),i=fd(""+d),n===i)return}Cr(a,n,d,x)}function fo(n,a,i,d){for(var y={},x=new Set,A=n.attributes,$=0;$<A.length;$++)switch(A[$].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:x.add(A[$].name)}if(yl(a)){for(var H in i)if(i.hasOwnProperty(H)){var X=i[H];if(X!=null){if(fi.hasOwnProperty(H))typeof X!="function"&&wr(H,X);else if(i.suppressHydrationWarning!==!0)switch(H){case"children":typeof X!="string"&&typeof X!="number"||Cr("children",n.textContent,X,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":A=n.innerHTML,X=X?X.__html:void 0,X!=null&&(X=_v(n,X),Cr(H,A,X,y));continue;case"style":x.delete(H),Mu(n,X,y);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":x.delete(H.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",H);continue;case"className":x.delete("class"),A=$s(n,"class",X),Cr("className",A,X,y);continue;default:d.context===fm&&a!=="svg"&&a!=="math"?x.delete(H.toLowerCase()):x.delete(H),A=$s(n,H,X),Cr(H,A,X,y)}}}}else for(X in i)if(i.hasOwnProperty(X)&&(H=i[X],H!=null)){if(fi.hasOwnProperty(X))typeof H!="function"&&wr(X,H);else if(i.suppressHydrationWarning!==!0)switch(X){case"children":typeof H!="string"&&typeof H!="number"||Cr("children",n.textContent,H,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":A=n.innerHTML,H=H?H.__html:void 0,H!=null&&(H=_v(n,H),A!==H&&(y[X]={__html:A}));continue;case"className":co(n,X,"class",H,x,y);continue;case"tabIndex":co(n,X,"tabindex",H,x,y);continue;case"style":x.delete(X),Mu(n,H,y);continue;case"multiple":x.delete(X),Cr(X,n.multiple,H,y);continue;case"muted":x.delete(X),Cr(X,n.muted,H,y);continue;case"autoFocus":x.delete("autofocus"),Cr(X,n.autofocus,H,y);continue;case"data":if(a!=="object"){x.delete(X),A=n.getAttribute("data"),Cr(X,A,H,y);continue}case"src":case"href":if(!(H!==""||a==="a"&&X==="href"||a==="object"&&X==="data")){console.error(X==="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.',X,X);continue}Nh(n,X,X,H,x,y);continue;case"action":case"formAction":if(A=n.getAttribute(X),typeof H=="function"){x.delete(X.toLowerCase()),X==="formAction"?(x.delete("name"),x.delete("formenctype"),x.delete("formmethod"),x.delete("formtarget")):(x.delete("enctype"),x.delete("method"),x.delete("target"));continue}else if(A===NI){x.delete(X.toLowerCase()),Cr(X,"function",H,y);continue}Nh(n,X,X.toLowerCase(),H,x,y);continue;case"xlinkHref":Nh(n,X,"xlink:href",H,x,y);continue;case"contentEditable":Dv(n,X,"contenteditable",H,x,y);continue;case"spellCheck":Dv(n,X,"spellcheck",H,x,y);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Dv(n,X,X,H,x,y);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":Av(n,X,X.toLowerCase(),H,x,y);continue;case"capture":case"download":e:{$=n;var Re=A=X,Te=y;if(x.delete(Re),$=$.getAttribute(Re),$===null)switch(typeof H){case"undefined":case"function":case"symbol":break e;default:if(H===!1)break e}else if(H!=null)switch(typeof H){case"function":case"symbol":break;case"boolean":if(H===!0&&$==="")break e;break;default:if(Nt(H,A),$===""+H)break e}Cr(A,$,H,Te)}continue;case"cols":case"rows":case"size":case"span":e:{if($=n,Re=A=X,Te=y,x.delete(Re),$=$.getAttribute(Re),$===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(H)||1>H)break e}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(H)||1>H)&&(Nt(H,A),$===""+H))break e}Cr(A,$,H,Te)}continue;case"rowSpan":Ud(n,X,"rowspan",H,x,y);continue;case"start":Ud(n,X,X,H,x,y);continue;case"xHeight":co(n,X,"x-height",H,x,y);continue;case"xlinkActuate":co(n,X,"xlink:actuate",H,x,y);continue;case"xlinkArcrole":co(n,X,"xlink:arcrole",H,x,y);continue;case"xlinkRole":co(n,X,"xlink:role",H,x,y);continue;case"xlinkShow":co(n,X,"xlink:show",H,x,y);continue;case"xlinkTitle":co(n,X,"xlink:title",H,x,y);continue;case"xlinkType":co(n,X,"xlink:type",H,x,y);continue;case"xmlBase":co(n,X,"xml:base",H,x,y);continue;case"xmlLang":co(n,X,"xml:lang",H,x,y);continue;case"xmlSpace":co(n,X,"xml:space",H,x,y);continue;case"inert":H!==""||zR[X]||(zR[X]=!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.",X)),Av(n,X,X,H,x,y);continue;default:if(!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"){$=Yg(X),A=!1,d.context===fm&&a!=="svg"&&a!=="math"?x.delete($.toLowerCase()):(Re=X.toLowerCase(),Re=Yi.hasOwnProperty(Re)&&Yi[Re]||null,Re!==null&&Re!==X&&(A=!0,x.delete(Re)),x.delete($));e:if(Re=n,Te=$,$=H,Uc(Te))if(Re.hasAttribute(Te))Re=Re.getAttribute(Te),Nt($,Te),$=Re===""+$?$:Re;else{switch(typeof $){case"function":case"symbol":break e;case"boolean":if(Re=Te.toLowerCase().slice(0,5),Re!=="data-"&&Re!=="aria-")break e}$=$===void 0?void 0:null}else $=void 0;A||Cr(X,$,H,y)}}}return 0<x.size&&i.suppressHydrationWarning!==!0&&Oh(n,x,y),Object.keys(y).length===0?null:y}function _0(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 $l(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function A0(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,i=performance.getEntriesByType("resource"),d=0;d<i.length;d++){var y=i[d],x=y.transferSize,A=y.initiatorType,$=y.duration;if(x&&$&&$l(A)){for(A=0,$=y.responseEnd,d+=1;d<i.length;d++){var H=i[d],X=H.startTime;if(X>$)break;var Re=H.transferSize,Te=H.initiatorType;Re&&$l(Te)&&(H=H.responseEnd,A+=Re*(H<$?1:($-X)/(H-X)))}if(--d,a+=8*(x+A)/(y.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}function $h(n){return n.nodeType===9?n:n.ownerDocument}function Iy(n){switch(n){case Zt:return S1;case Ht:return kR;default:return fm}}function Ou(n,a){if(n===fm)switch(a){case"svg":return S1;case"math":return kR;default:return fm}return n===S1&&a==="foreignObject"?fm:n}function Id(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 Hy(){var n=window.event;return n&&n.type==="popstate"?n===JA?!1:(JA=n,!0):(JA=null,!1)}function Nu(){var n=window.event;return n&&n!==eE?n.type:null}function Hd(){var n=window.event;return n&&n!==eE?n.timeStamp:-1.1}function Ph(n){setTimeout(function(){throw n})}function D0(n,a,i){switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&n.focus();break;case"img":i.src?n.src=i.src:i.srcSet&&(n.srcset=i.srcSet)}}function M0(){}function Mv(n,a,i,d){fa(n,a,i,d),n[jl]=d}function Ov(n){Kc(n,"")}function px(n,a,i){n.nodeValue=i}function O0(n){if(!n.__reactWarnedAboutChildrenConflict){var a=n[jl]||null;if(a!==null){var i=Kl(n);i!==null&&(typeof a.children=="string"||typeof a.children=="number"?(n.__reactWarnedAboutChildrenConflict=!0,Ee(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):a.dangerouslySetInnerHTML!=null&&(n.__reactWarnedAboutChildrenConflict=!0,Ee(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function hc(n){return n==="head"}function N0(n,a){n.removeChild(a)}function $0(n,a){(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).removeChild(a)}function _f(n,a){var i=a,d=0;do{var y=i.nextSibling;if(n.removeChild(i),y&&y.nodeType===8)if(i=y.data,i===Jx||i===BR){if(d===0){n.removeChild(y),$f(a);return}d--}else if(i===Wx||i===hg||i===qb||i===E1||i===Pb)d++;else if(i===PI)ss(n.ownerDocument.documentElement);else if(i===LI){i=n.ownerDocument.head,ss(i);for(var x=i.firstChild;x;){var A=x.nextSibling,$=x.nodeName;x[rp]||$==="SCRIPT"||$==="STYLE"||$==="LINK"&&x.rel.toLowerCase()==="stylesheet"||i.removeChild(x),x=A}}else i===qI&&ss(n.ownerDocument.body);i=y}while(i);$f(a)}function qh(n,a){var i=n;n=0;do{var d=i.nextSibling;if(i.nodeType===1?a?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(a?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),d&&d.nodeType===8)if(i=d.data,i===Jx){if(n===0)break;n--}else i!==Wx&&i!==hg&&i!==qb&&i!==E1||n++;i=d}while(i)}function Lh(n){qh(n,!0)}function P0(n){n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function Vy(n){n.nodeValue=""}function Fy(n){qh(n,!1)}function Nv(n,a){a=a[jI],a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function Ky(n,a){n.nodeValue=a}function Af(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Af(i),Cp(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function Gy(n,a,i,d){for(;n.nodeType===1;){var y=i;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!d&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(d){if(!n[rp])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(x=n.getAttribute("rel"),x==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(x!==y.rel||n.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||n.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||n.getAttribute("title")!==(y.title==null?null:y.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(x=n.getAttribute("src"),(x!==(y.src==null?null:y.src)||n.getAttribute("type")!==(y.type==null?null:y.type)||n.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&x&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){Nt(y.name,"name");var x=y.name==null?null:""+y.name;if(y.type==="hidden"&&n.getAttribute("name")===x)return n}else return n;if(n=Za(n.nextSibling),n===null)break}return null}function Yy(n,a,i){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Za(n.nextSibling),n===null))return null;return n}function Ln(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=Za(n.nextSibling),n===null))return null;return n}function jh(n){return n.data===hg||n.data===qb}function Xy(n){return n.data===E1||n.data===hg&&n.ownerDocument.readyState!==T4}function zh(n,a){var i=n.ownerDocument;if(n.data===qb)n._reactRetry=a;else if(n.data!==hg||i.readyState!==T4)a();else{var d=function(){a(),i.removeEventListener("DOMContentLoaded",d)};i.addEventListener("DOMContentLoaded",d),n._reactRetry=d}}function Za(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===Wx||a===E1||a===hg||a===qb||a===Pb||a===QA||a===R4)break;if(a===Jx||a===BR)return null}}return n}function q0(n){if(n.nodeType===1){for(var a=n.nodeName.toLowerCase(),i={},d=n.attributes,y=0;y<d.length;y++){var x=d[y];i[is(x.name)]=x.name.toLowerCase()==="style"?pc(n):x.value}return{type:a,props:i}}return n.nodeType===8?n.data===Pb?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:n.nodeValue}function L0(n,a,i){return i===null||i[$I]!==!0?(n.nodeValue===a?n=null:(a=si(a),n=si(n.nodeValue)===a?null:n.nodeValue),n):null}function mc(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var i=n.data;if(i===Jx||i===BR){if(a===0)return Za(n.nextSibling);a--}else i!==Wx&&i!==E1&&i!==hg&&i!==qb&&i!==Pb||a++}n=n.nextSibling}return null}function vc(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var i=n.data;if(i===Wx||i===E1||i===hg||i===qb||i===Pb){if(a===0)return n;a--}else i!==Jx&&i!==BR||a++}n=n.previousSibling}return null}function Qy(n){$f(n)}function $v(n){$f(n)}function Zy(n){$f(n)}function us(n,a,i,d,y){switch(y&&cd(n,d.ancestorInfo),a=$h(i),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 $u(n,a,i,d){if(!i[ps]&&Kl(i)){var y=i.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.",y,y,y)}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(y=i.attributes;y.length;)i.removeAttributeNode(y[0]);pr(i,n,a),i[hr]=d,i[jl]=a}function ss(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Cp(n)}function Pv(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}function Wy(n,a,i){var d=C1;if(d&&typeof a=="string"&&a){var y=kn(a);y='link[rel="'+n+'"][href="'+y+'"]',typeof i=="string"&&(y+='[crossorigin="'+i+'"]'),N4.has(y)||(N4.add(y),n={rel:n,crossOrigin:i,href:a},d.querySelector(y)===null&&(a=d.createElement("link"),pr(a,"link",n),xr(a),d.head.appendChild(a)))}}function Jy(n,a,i,d){var y=(y=Ho.current)?Pv(y):null;if(!y)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 i.precedence=="string"&&typeof i.href=="string"?(i=Df(i.href),a=Gl(y).hoistableStyles,d=a.get(i),d||(d={type:"style",instance:null,count:0,state:null},a.set(i,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=Df(i.href);var x=Gl(y).hoistableStyles,A=x.get(n);if(!A&&(y=y.ownerDocument||y,A={type:"stylesheet",instance:null,count:0,state:{loading:jb,preload:null}},x.set(n,A),(x=y.querySelector(kh(n)))&&!x._p&&(A.instance=x,A.state.loading=tE|Mc),!Oc.has(n))){var $={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy};Oc.set(n,$),x||j0(y,n,$,A.state)}if(a&&d===null)throw i=`
|
|
223
|
+
|
|
224
|
+
- `+Bh(a)+`
|
|
225
|
+
+ `+Bh(i),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."+i);return A}if(a&&d!==null)throw i=`
|
|
226
|
+
|
|
227
|
+
- `+Bh(a)+`
|
|
228
|
+
+ `+Bh(i),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."+i);return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(i=Mf(i),a=Gl(y).hoistableScripts,d=a.get(i),d||(d={type:"script",instance:null,count:0,state:null},a.set(i,d)),d):{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 Bh(n){var a=0,i="<link";return typeof n.rel=="string"?(a++,i+=' rel="'+n.rel+'"'):Vo.call(n,"rel")&&(a++,i+=' rel="'+(n.rel===null?"null":"invalid type "+typeof n.rel)+'"'),typeof n.href=="string"?(a++,i+=' href="'+n.href+'"'):Vo.call(n,"href")&&(a++,i+=' href="'+(n.href===null?"null":"invalid type "+typeof n.href)+'"'),typeof n.precedence=="string"?(a++,i+=' precedence="'+n.precedence+'"'):Vo.call(n,"precedence")&&(a++,i+=" precedence={"+(n.precedence===null?"null":"invalid type "+typeof n.precedence)+"}"),Object.getOwnPropertyNames(n).length>a&&(i+=" ..."),i+" />"}function Df(n){return'href="'+kn(n)+'"'}function kh(n){return'link[rel="stylesheet"]['+n+"]"}function po(n){return ht({},n,{"data-precedence":n.precedence,precedence:null})}function j0(n,a,i,d){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?d.loading=tE:(a=n.createElement("link"),d.preload=a,a.addEventListener("load",function(){return d.loading|=tE}),a.addEventListener("error",function(){return d.loading|=M4}),pr(a,"link",i),xr(a),n.head.appendChild(a))}function Mf(n){return'[src="'+kn(n)+'"]'}function Ii(n){return"script[async]"+n}function Bt(n,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var d=n.querySelector('style[data-href~="'+kn(i.href)+'"]');if(d)return a.instance=d,xr(d),d;var y=ht({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return d=(n.ownerDocument||n).createElement("style"),xr(d),pr(d,"style",y),Vd(d,i.precedence,n),a.instance=d;case"stylesheet":y=Df(i.href);var x=n.querySelector(kh(y));if(x)return a.state.loading|=Mc,a.instance=x,xr(x),x;d=po(i),(y=Oc.get(y))&&Wa(d,y),x=(n.ownerDocument||n).createElement("link"),xr(x);var A=x;return A._p=new Promise(function($,H){A.onload=$,A.onerror=H}),pr(x,"link",d),a.state.loading|=Mc,Vd(x,i.precedence,n),a.instance=x;case"script":return x=Mf(i.src),(y=n.querySelector(Ii(x)))?(a.instance=y,xr(y),y):(d=i,(y=Oc.get(x))&&(d=ht({},i),Rr(d,y)),n=n.ownerDocument||n,y=n.createElement("script"),xr(y),pr(y,"link",d),n.head.appendChild(y),a.instance=y);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&Mc)===jb&&(d=a.instance,a.state.loading|=Mc,Vd(d,i.precedence,n));return a.instance}function Vd(n,a,i){for(var d=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=d.length?d[d.length-1]:null,x=y,A=0;A<d.length;A++){var $=d[A];if($.dataset.precedence===a)x=$;else if(x!==y)break}x?x.parentNode.insertBefore(n,x.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(n,a.firstChild))}function Wa(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Rr(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}function Fd(n,a,i){if(UR===null){var d=new Map,y=UR=new Map;y.set(i,d)}else y=UR,d=y.get(i),d||(d=new Map,y.set(i,d));if(d.has(n))return d;for(d.set(n,null),i=i.getElementsByTagName(n),y=0;y<i.length;y++){var x=i[y];if(!(x[rp]||x[hr]||n==="link"&&x.getAttribute("rel")==="stylesheet")&&x.namespaceURI!==Zt){var A=x.getAttribute(a)||"";A=n+A;var $=d.get(A);$?$.push(x):d.set(A,[x])}}return d}function cs(n,a,i){n=n.ownerDocument||n,n.head.insertBefore(i,a==="title"?n.querySelector("head > title"):null)}function z0(n,a,i){var d=!i.ancestorInfo.containerTagInScope;if(i.context===S1||a.itemProp!=null)return!d||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===""){d&&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 y=a.onError,x=a.disabled;i=[],a.onLoad&&i.push("`onLoad`"),y&&i.push("`onError`"),x!=null&&i.push("`disabled`"),y=_0(i,"and"),y+=i.length===1?" prop":" props",x=i.length===1?"an "+y:"the "+y,i.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,x,y)}d&&(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"&&d&&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"){d&&(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":d&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",n)}return!1}function rn(n){return!(n.type==="stylesheet"&&(n.state.loading&O4)===jb)}function eb(n,a,i,d){if(i.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(i.state.loading&Mc)===jb){if(i.instance===null){var y=Df(d.href),x=a.querySelector(kh(y));if(x){a=x._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Kd.bind(n),a.then(n,n)),i.state.loading|=Mc,i.instance=x,xr(x);return}x=a.ownerDocument||a,d=po(d),(y=Oc.get(y))&&Wa(d,y),x=x.createElement("link"),xr(x);var A=x;A._p=new Promise(function($,H){A.onload=$,A.onerror=H}),pr(x,"link",d),i.instance=x}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&O4)===jb&&(n.count++,i=Kd.bind(n),a.addEventListener("load",i),a.addEventListener("error",i))}}function qv(n,a){return n.stylesheets&&n.count===0&&Of(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var d=setTimeout(function(){if(n.stylesheets&&Of(n,n.stylesheets),n.unsuspend){var x=n.unsuspend;n.unsuspend=null,x()}},kI+a);0<n.imgBytes&&tD===0&&(tD=125*A0()*II);var y=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Of(n,n.stylesheets),n.unsuspend)){var x=n.unsuspend;n.unsuspend=null,x()}},(n.imgBytes>tD?50:UI)+a);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(d),clearTimeout(y)}}:null}function Kd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Of(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}function Of(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,IR=new Map,a.forEach(tb,n),IR=null,Kd.call(n))}function tb(n,a){if(!(a.state.loading&Mc)){var i=IR.get(n);if(i)var d=i.get(nD);else{i=new Map,IR.set(n,i);for(var y=n.querySelectorAll("link[data-precedence],style[data-precedence]"),x=0;x<y.length;x++){var A=y[x];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(i.set(A.dataset.precedence,A),d=A)}d&&i.set(nD,d)}y=a.instance,A=y.getAttribute("data-precedence"),x=i.get(A)||d,x===d&&i.set(nD,y),i.set(A,y),this.count++,d=Kd.bind(this),y.addEventListener("load",d),y.addEventListener("error",d),x?x.parentNode.insertBefore(y,x.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(y,n.firstChild)),a.state.loading|=Mc}}function Uo(n,a,i,d,y,x,A,$,H){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Lb,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wt(0),this.hiddenUpdates=Wt(null),this.identifierPrefix=d,this.onUncaughtError=y,this.onCaughtError=x,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,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=i?"hydrateRoot()":"createRoot()"}function Gd(n,a,i,d,y,x,A,$,H,X,Re,Te){return n=new Uo(n,a,i,A,H,X,Re,Te,$),a=dI,x===!0&&(a|=di|Uf),a|=an,x=R(3,null,null,a),n.current=x,x.stateNode=n,a=Xm(),Zo(a),n.pooledCache=a,Zo(a),x.memoizedState={element:d,isDehydrated:i,cache:a},un(x),n}function Uh(n){return n?(n=Jv,n):Jv}function er(n,a,i,d,y,x){if(pa&&typeof pa.onScheduleFiberRoot=="function")try{pa.onScheduleFiberRoot(Bf,d,i)}catch(A){Pu||(Pu=!0,console.error("React instrumentation encountered an error: %o",A))}y=Uh(y),d.context===null?d.context=y:d.pendingContext=y,Ll&&mo!==null&&!L4&&(L4=!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.
|
|
229
|
+
|
|
230
|
+
Check the render method of %s.`,de(mo)||"Unknown")),d=la(a),d.payload={element:i},x=x===void 0?null:x,x!==null&&(typeof x!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",x),d.callback=x),i=pu(n,d,a),i!==null&&(Ro(a,"root.render()",null),$t(i,n,a),ti(i,n,a))}function Tr(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<a?i:a}}function Lv(n,a){Tr(n,a),(n=n.alternate)&&Tr(n,a)}function nb(n){if(n.tag===13||n.tag===31){var a=ba(n,67108864);a!==null&&$t(a,n,67108864),Lv(n,67108864)}}function rb(n){if(n.tag===13||n.tag===31){var a=$a(n);a=hl(a);var i=ba(n,a);i!==null&&$t(i,n,a),Lv(n,a)}}function Vn(){return mo}function ab(n,a,i,d){var y=Ue.T;Ue.T=null;var x=An.p;try{An.p=ha,lb(n,a,i,d)}finally{An.p=x,Ue.T=y}}function qa(n,a,i,d){var y=Ue.T;Ue.T=null;var x=An.p;try{An.p=ja,lb(n,a,i,d)}finally{An.p=x,Ue.T=y}}function lb(n,a,i,d){if(VR){var y=Ih(d);if(y===null)ko(n,a,d,FR,i),jv(n,d);else if(Hh(y,n,a,i,d))d.stopPropagation();else if(jv(n,d),a&4&&-1<VI.indexOf(n)){for(;y!==null;){var x=Kl(y);if(x!==null)switch(x.tag){case 3:if(x=x.stateNode,x.current.memoizedState.isDehydrated){var A=Ve(x.pendingLanes);if(A!==0){var $=x;for($.pendingLanes|=2,$.entangledLanes|=2;A;){var H=1<<31-La(A);$.entanglements[1]|=H,A&=~H}so(x),(Dn&(Ul|ys))===yo&&(_R=da()+c4,Au(0))}}break;case 31:case 13:$=ba(x,2),$!==null&&$t($,x,2),uo(),Lv(x,2)}if(x=Ih(d),x===null&&ko(n,a,d,FR,i),x===y)break;y=x}y!==null&&d.stopPropagation()}else ko(n,a,d,null,i)}}function Ih(n){return n=Ei(n),Nf(n)}function Nf(n){if(FR=null,n=gi(n),n!==null){var a=P(n);if(a===null)n=null;else{var i=a.tag;if(i===13){if(n=U(a),n!==null)return n;n=null}else if(i===31){if(n=I(a),n!==null)return n;n=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return FR=n,null}function Yd(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 ha;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 ja;case"message":switch(ep()){case db:return ha;case Kv:return ja;case zf:case H0:return el;case Gv:return bc;default:return el}default:return el}}function jv(n,a){switch(n){case"focusin":case"focusout":mg=null;break;case"dragenter":case"dragleave":vg=null;break;case"mouseover":case"mouseout":gg=null;break;case"pointerover":case"pointerout":rE.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":aE.delete(a.pointerId)}}function fs(n,a,i,d,y,x){return n===null||n.nativeEvent!==x?(n={blockedOn:a,domEventName:i,eventSystemFlags:d,nativeEvent:x,targetContainers:[y]},a!==null&&(a=Kl(a),a!==null&&nb(a)),n):(n.eventSystemFlags|=d,a=n.targetContainers,y!==null&&a.indexOf(y)===-1&&a.push(y),n)}function Hh(n,a,i,d,y){switch(a){case"focusin":return mg=fs(mg,n,a,i,d,y),!0;case"dragenter":return vg=fs(vg,n,a,i,d,y),!0;case"mouseover":return gg=fs(gg,n,a,i,d,y),!0;case"pointerover":var x=y.pointerId;return rE.set(x,fs(rE.get(x)||null,n,a,i,d,y)),!0;case"gotpointercapture":return x=y.pointerId,aE.set(x,fs(aE.get(x)||null,n,a,i,d,y)),!0}return!1}function Pl(n){var a=gi(n.target);if(a!==null){var i=P(a);if(i!==null){if(a=i.tag,a===13){if(a=U(i),a!==null){n.blockedOn=a,kc(n.priority,function(){rb(i)});return}}else if(a===31){if(a=I(i),a!==null){n.blockedOn=a,kc(n.priority,function(){rb(i)});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Hi(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var i=Ih(n.nativeEvent);if(i===null){i=n.nativeEvent;var d=new i.constructor(i.type,i),y=d;ne!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ne=y,i.target.dispatchEvent(d),ne===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."),ne=null}else return a=Kl(i),a!==null&&nb(a),n.blockedOn=i,!1;a.shift()}return!0}function zv(n,a,i){Hi(n)&&i.delete(a)}function hx(){rD=!1,mg!==null&&Hi(mg)&&(mg=null),vg!==null&&Hi(vg)&&(vg=null),gg!==null&&Hi(gg)&&(gg=null),rE.forEach(zv),aE.forEach(zv)}function Vh(n,a){n.blockedOn===a&&(n.blockedOn=null,rD||(rD=!0,Cn.unstable_scheduleCallback(Cn.unstable_NormalPriority,hx)))}function B0(n){KR!==n&&(KR=n,Cn.unstable_scheduleCallback(Cn.unstable_NormalPriority,function(){KR===n&&(KR=null);for(var a=0;a<n.length;a+=3){var i=n[a],d=n[a+1],y=n[a+2];if(typeof d!="function"){if(Nf(d||i)===null)continue;break}var x=Kl(i);x!==null&&(n.splice(a,3),a-=3,i={pending:!0,data:y,method:i.method,action:d},Object.freeze(i),ts(x,i,d,y))}}))}function $f(n){function a(H){return Vh(H,n)}mg!==null&&Vh(mg,n),vg!==null&&Vh(vg,n),gg!==null&&Vh(gg,n),rE.forEach(a),aE.forEach(a);for(var i=0;i<yg.length;i++){var d=yg[i];d.blockedOn===n&&(d.blockedOn=null)}for(;0<yg.length&&(i=yg[0],i.blockedOn===null);)Pl(i),i.blockedOn===null&&yg.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(d=0;d<i.length;d+=3){var y=i[d],x=i[d+1],A=y[jl]||null;if(typeof x=="function")A||B0(i);else if(A){var $=null;if(x&&x.hasAttribute("formAction")){if(y=x,A=x[jl]||null)$=A.formAction;else if(Nf(y)!==null)continue}else $=A.action;typeof $=="function"?i[d+1]=$:(i.splice(d,3),d-=3),B0(i)}}}function ob(){function n(x){x.canIntercept&&x.info==="react-transition"&&x.intercept({handler:function(){return new Promise(function(A){return y=A})},focusReset:"manual",scroll:"manual"})}function a(){y!==null&&(y(),y=null),d||setTimeout(i,20)}function i(){if(!d&&!navigation.transition){var x=navigation.currentEntry;x&&x.url!=null&&navigation.navigate(x.url,{state:x.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var d=!1,y=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(i,100),function(){d=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),y!==null&&(y(),y=null)}}}function Vi(n){this._internalRoot=n}function At(n){this._internalRoot=n}function Bv(n){n[ps]&&(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 Cn=S8(),Xd=k,mx=ws,ht=Object.assign,k0=Symbol.for("react.element"),Io=Symbol.for("react.transitional.element"),Fi=Symbol.for("react.portal"),Qd=Symbol.for("react.fragment"),ql=Symbol.for("react.strict_mode"),Fh=Symbol.for("react.profiler"),kv=Symbol.for("react.consumer"),Ki=Symbol.for("react.context"),Zd=Symbol.for("react.forward_ref"),Pf=Symbol.for("react.suspense"),ho=Symbol.for("react.suspense_list"),Kh=Symbol.for("react.memo"),Ja=Symbol.for("react.lazy"),Gi=Symbol.for("react.activity"),vx=Symbol.for("react.memo_cache_sentinel"),U0=Symbol.iterator,gc=Symbol.for("react.client.reference"),Zr=Array.isArray,Ue=Xd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,An=mx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,gx=Object.freeze({pending:!1,data:null,method:null,action:null}),ib=[],Wr=[],qr=-1,yc=W(null),Wd=W(null),Ho=W(null),ds=W(null),Jd=0,I0,qf,Lf,ub,Gh,Uv,Yh;re.__reactDisabledLog=!0;var jf,sb,Iv=!1,cb=new(typeof WeakMap=="function"?WeakMap:Map),mo=null,Ll=!1,Vo=Object.prototype.hasOwnProperty,fb=Cn.unstable_scheduleCallback,Hv=Cn.unstable_cancelCallback,Vv=Cn.unstable_shouldYield,Fv=Cn.unstable_requestPaint,da=Cn.unstable_now,ep=Cn.unstable_getCurrentPriorityLevel,db=Cn.unstable_ImmediatePriority,Kv=Cn.unstable_UserBlockingPriority,zf=Cn.unstable_NormalPriority,H0=Cn.unstable_LowPriority,Gv=Cn.unstable_IdlePriority,pb=Cn.log,V0=Cn.unstable_setDisableYieldValue,Bf=null,pa=null,Pu=!1,qu=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",La=Math.clz32?Math.clz32:$e,hb=Math.log,Yv=Math.LN2,tp=256,Xh=262144,np=4194304,ha=2,ja=8,el=32,bc=268435456,ci=Math.random().toString(36).slice(2),hr="__reactFiber$"+ci,jl="__reactProps$"+ci,ps="__reactContainer$"+ci,hs="__reactEvents$"+ci,F0="__reactListeners$"+ci,mb="__reactHandles$"+ci,Qh="__reactResources$"+ci,rp="__reactMarker$"+ci,K0=new Set,fi={},ap={},G0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},lp=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]*$"),tl={},op={},Xv=/[\n"\\]/g,vb=!1,Y0=!1,Zh=!1,o=!1,u=!1,f=!1,v=["value","defaultValue"],w=!1,_=/["'&<>\n\t]|^\s|\s$/,z="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(" "),J="applet caption html table td th marquee object template foreignObject desc title".split(" "),ge=J.concat(["button"]),qe="dd dt li option optgroup p rp rt".split(" "),Ye={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},We={},Le={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"]},He=/([A-Z])/g,mt=/^ms-/,Dt=/^(?:webkit|moz|o)[A-Z]/,Fn=/^-ms-/,Oe=/-(.)/g,we=/;\s*$/,Pe={},Ze={},wt=!1,gn=!1,yt=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(" ")),Ht="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",wn=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"]]),Yi={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"},X0={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Qv={},Z_=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]*$"),W_=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]*$"),Ww=!1,Fo={},p=/^on./,g=/^on[^A-Z]/,T=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]*$"),j=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,ne=null,fe=null,Se=null,Ne=!1,Qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tt=!1;if(Qe)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){tt=!0}}),window.addEventListener("test",nt,nt),window.removeEventListener("test",nt,nt)}catch{tt=!1}var it=null,xt=null,Mt=null,Vt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ot=Kr(Vt),tn=ht({},Vt,{view:0,detail:0}),yn=Kr(tn),Ko,zl,Bl,Lr=ht({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Op,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!==Bl&&(Bl&&n.type==="mousemove"?(Ko=n.screenX-Bl.screenX,zl=n.screenY-Bl.screenY):zl=Ko=0,Bl=n),Ko)},movementY:function(n){return"movementY"in n?n.movementY:zl}}),Lu=Kr(Lr),kf=ht({},Lr,{dataTransfer:0}),Jw=Kr(kf),$U=ht({},tn,{relatedTarget:0}),J_=Kr($U),PU=ht({},Vt,{animationName:0,elapsedTime:0,pseudoElement:0}),qU=Kr(PU),LU=ht({},Vt,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),jU=Kr(LU),zU=ht({},Vt,{data:0}),UO=Kr(zU),BU=UO,kU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},UU={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"},IU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},HU=ht({},tn,{key:function(n){if(n.key){var a=kU[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=Mp(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?UU[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Op,charCode:function(n){return n.type==="keypress"?Mp(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Mp(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),VU=Kr(HU),FU=ht({},Lr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),IO=Kr(FU),KU=ht({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Op}),GU=Kr(KU),YU=ht({},Vt,{propertyName:0,elapsedTime:0,pseudoElement:0}),XU=Kr(YU),QU=ht({},Lr,{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}),ZU=Kr(QU),WU=ht({},Vt,{newState:0,oldState:0}),JU=Kr(WU),eI=[9,13,27,32],HO=229,eA=Qe&&"CompositionEvent"in window,yx=null;Qe&&"documentMode"in document&&(yx=document.documentMode);var tI=Qe&&"TextEvent"in window&&!yx,VO=Qe&&(!eA||yx&&8<yx&&11>=yx),FO=32,KO=String.fromCharCode(FO),GO=!1,Q0=!1,nI={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},bx=null,xx=null,YO=!1;Qe&&(YO=Hm("input")&&(!document.documentMode||9<document.documentMode));var Xi=typeof Object.is=="function"?Object.is:qp,rI=Qe&&"documentMode"in document&&11>=document.documentMode,Z0=null,tA=null,Ex=null,nA=!1,W0={animationend:zs("Animation","AnimationEnd"),animationiteration:zs("Animation","AnimationIteration"),animationstart:zs("Animation","AnimationStart"),transitionrun:zs("Transition","TransitionRun"),transitionstart:zs("Transition","TransitionStart"),transitioncancel:zs("Transition","TransitionCancel"),transitionend:zs("Transition","TransitionEnd")},rA={},XO={};Qe&&(XO=document.createElement("div").style,"AnimationEvent"in window||(delete W0.animationend.animation,delete W0.animationiteration.animation,delete W0.animationstart.animation),"TransitionEvent"in window||delete W0.transitionend.transition);var QO=aa("animationend"),ZO=aa("animationiteration"),WO=aa("animationstart"),aI=aa("transitionrun"),lI=aa("transitionstart"),oI=aa("transitioncancel"),JO=aa("transitionend"),e3=new Map,aA="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(" ");aA.push("scrollEnd");var t3=0;if(typeof performance=="object"&&typeof performance.now=="function")var iI=performance,n3=function(){return iI.now()};else{var uI=Date;n3=function(){return uI.now()}}var lA=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)},sI="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",eR=0,oA=1,iA=2,uA=3,tR="– ",nR="+ ",r3=" ",jr=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",xc="Components ⚛",bn="Scheduler ⚛",Rn="Blocking",Zv=!1,Wh={color:"primary",properties:null,tooltipText:"",track:xc},Wv={start:-0,end:-0,detail:{devtools:Wh}},cI=["Changed Props",""],a3="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",fI=["Changed Props",a3],Sx=1,Jh=2,Ec=[],J0=0,sA=0,Jv={};Object.freeze(Jv);var Sc=null,e1=null,kt=0,dI=1,an=2,di=8,Uf=16,pI=32,l3=!1;try{var o3=Object.preventExtensions({})}catch{l3=!0}var cA=new WeakMap,t1=[],n1=0,rR=null,Cx=0,Cc=[],wc=0,gb=null,em=1,tm="",Go=null,zr=null,mn=!1,ip=!1,ms=null,eg=null,Rc=!1,fA=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."),dA=W(null),pA=W(null),i3={},aR=null,r1=null,a1=!1,hI=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(i,d){n.push(d)}};this.abort=function(){a.aborted=!0,n.forEach(function(i){return i()})}},mI=Cn.unstable_scheduleCallback,vI=Cn.unstable_NormalPriority,nl={$$typeof:Ki,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},rl=Cn.unstable_now,lR=console.createTask?console.createTask:function(){return null},wx=1,oR=2,vo=-0,tg=-0,nm=-0,rm=null,Qi=-1.1,yb=-0,Jr=-0,_t=-1.1,Lt=-1.1,Hr=null,ma=!1,bb=-0,up=-1.1,Rx=null,ng=0,hA=null,mA=null,xb=-1.1,Tx=null,l1=-1.1,iR=-1.1,am=-0,lm=-1.1,Tc=-1.1,vA=0,_x=null,u3=null,s3=null,rg=-1.1,Eb=null,ag=-1.1,uR=-1.1,c3=-0,f3=-0,sR=0,gI=null,d3=0,Ax=-1.1,cR=!1,fR=!1,Dx=null,gA=0,Sb=0,o1=null,p3=Ue.S;Ue.S=function(n,a){if(u4=da(),typeof a=="object"&&a!==null&&typeof a.then=="function"){if(0>lm&&0>Tc){lm=rl();var i=Hd(),d=Nu();(i!==ag||d!==Eb)&&(ag=-1.1),rg=i,Eb=d}Jo(n,a)}p3!==null&&p3(n,a)};var Cb=W(null),If={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Mx=[],Ox=[],Nx=[],$x=[],Px=[],qx=[],wb=new Set;If.recordUnsafeLifecycleWarnings=function(n,a){wb.has(n.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&Mx.push(n),n.mode&di&&typeof a.UNSAFE_componentWillMount=="function"&&Ox.push(n),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Nx.push(n),n.mode&di&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&$x.push(n),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&Px.push(n),n.mode&di&&typeof a.UNSAFE_componentWillUpdate=="function"&&qx.push(n))},If.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<Mx.length&&(Mx.forEach(function($){n.add(de($)||"Component"),wb.add($.type)}),Mx=[]);var a=new Set;0<Ox.length&&(Ox.forEach(function($){a.add(de($)||"Component"),wb.add($.type)}),Ox=[]);var i=new Set;0<Nx.length&&(Nx.forEach(function($){i.add(de($)||"Component"),wb.add($.type)}),Nx=[]);var d=new Set;0<$x.length&&($x.forEach(function($){d.add(de($)||"Component"),wb.add($.type)}),$x=[]);var y=new Set;0<Px.length&&(Px.forEach(function($){y.add(de($)||"Component"),wb.add($.type)}),Px=[]);var x=new Set;if(0<qx.length&&(qx.forEach(function($){x.add(de($)||"Component"),wb.add($.type)}),qx=[]),0<a.size){var A=S(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.
|
|
231
|
+
|
|
232
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
233
|
+
|
|
234
|
+
Please update the following components: %s`,A)}0<d.size&&(A=S(d),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.
|
|
235
|
+
|
|
236
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
237
|
+
* 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
|
|
238
|
+
|
|
239
|
+
Please update the following components: %s`,A)),0<x.size&&(A=S(x),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.
|
|
240
|
+
|
|
241
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
242
|
+
|
|
243
|
+
Please update the following components: %s`,A)),0<n.size&&(A=S(n),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
244
|
+
|
|
245
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
246
|
+
* 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.
|
|
247
|
+
|
|
248
|
+
Please update the following components: %s`,A)),0<i.size&&(A=S(i),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
249
|
+
|
|
250
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
251
|
+
* 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
|
|
252
|
+
* 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.
|
|
253
|
+
|
|
254
|
+
Please update the following components: %s`,A)),0<y.size&&(A=S(y),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
255
|
+
|
|
256
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
257
|
+
* 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.
|
|
258
|
+
|
|
259
|
+
Please update the following components: %s`,A))};var dR=new Map,h3=new Set;If.recordLegacyContextWarning=function(n,a){for(var i=null,d=n;d!==null;)d.mode&di&&(i=d),d=d.return;i===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."):!h3.has(n.type)&&(d=dR.get(i),n.type.contextTypes!=null||n.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(d===void 0&&(d=[],dR.set(i,d)),d.push(n))},If.flushLegacyContextWarning=function(){dR.forEach(function(n){if(n.length!==0){var a=n[0],i=new Set;n.forEach(function(y){i.add(de(y)||"Component"),h3.add(y.type)});var d=S(i);Ee(a,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
260
|
+
|
|
261
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
262
|
+
|
|
263
|
+
Please update the following components: %s
|
|
264
|
+
|
|
265
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,d)})}})},If.discardPendingWarnings=function(){Mx=[],Ox=[],Nx=[],$x=[],Px=[],qx=[],dR=new Map};var m3={react_stack_bottom_frame:function(n,a,i){var d=Ll;Ll=!0;try{return n(a,i)}finally{Ll=d}}},yA=m3.react_stack_bottom_frame.bind(m3),v3={react_stack_bottom_frame:function(n){var a=Ll;Ll=!0;try{return n.render()}finally{Ll=a}}},g3=v3.react_stack_bottom_frame.bind(v3),y3={react_stack_bottom_frame:function(n,a){try{a.componentDidMount()}catch(i){Qt(n,n.return,i)}}},bA=y3.react_stack_bottom_frame.bind(y3),b3={react_stack_bottom_frame:function(n,a,i,d,y){try{a.componentDidUpdate(i,d,y)}catch(x){Qt(n,n.return,x)}}},x3=b3.react_stack_bottom_frame.bind(b3),E3={react_stack_bottom_frame:function(n,a){var i=a.stack;n.componentDidCatch(a.value,{componentStack:i!==null?i:""})}},yI=E3.react_stack_bottom_frame.bind(E3),S3={react_stack_bottom_frame:function(n,a,i){try{i.componentWillUnmount()}catch(d){Qt(n,a,d)}}},C3=S3.react_stack_bottom_frame.bind(S3),w3={react_stack_bottom_frame:function(n){var a=n.create;return n=n.inst,a=a(),n.destroy=a}},bI=w3.react_stack_bottom_frame.bind(w3),R3={react_stack_bottom_frame:function(n,a,i){try{i()}catch(d){Qt(n,a,d)}}},xI=R3.react_stack_bottom_frame.bind(R3),T3={react_stack_bottom_frame:function(n){var a=n._init;return a(n._payload)}},EI=T3.react_stack_bottom_frame.bind(T3),i1=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`."),xA=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."),pR=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."),hR={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.')}},Rb=null,Lx=!1,u1=null,jx=0,ln=null,EA,_3=EA=!1,A3={},D3={},M3={};C=function(n,a,i){if(i!==null&&typeof i=="object"&&i._store&&(!i._store.validated&&i.key==null||i._store.validated===2)){if(typeof i._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.");i._store.validated=1;var d=de(n),y=d||"null";if(!A3[y]){A3[y]=!0,i=i._owner,n=n._debugOwner;var x="";n&&typeof n.tag=="number"&&(y=de(n))&&(x=`
|
|
266
|
+
|
|
267
|
+
Check the render method of \``+y+"`."),x||d&&(x=`
|
|
268
|
+
|
|
269
|
+
Check the top-level render call using <`+d+">.");var A="";i!=null&&n!==i&&(d=null,typeof i.tag=="number"?d=de(i):typeof i.name=="string"&&(d=i.name),d&&(A=" It was passed a child from "+d+".")),Ee(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.',x,A)})}}};var Tb=kr(!0),O3=kr(!1),N3=0,$3=1,P3=2,SA=3,lg=!1,q3=!1,CA=null,wA=!1,s1=W(null),mR=W(0),vs=W(null),_c=null,c1=1,zx=2,za=W(0),vR=0,Ac=1,Zi=2,gs=4,Wi=8,f1,L3=new Set,j3=new Set,RA=new Set,z3=new Set,om=0,Ft=null,mr=null,al=null,gR=!1,d1=!1,_b=!1,yR=0,Bx=0,im=null,SI=0,CI=25,Ie=null,Dc=null,um=-1,kx=!1,Ux={readContext:Tn,use:oa,useCallback:Nr,useContext:Nr,useEffect:Nr,useImperativeHandle:Nr,useLayoutEffect:Nr,useInsertionEffect:Nr,useMemo:Nr,useReducer:Nr,useRef:Nr,useState:Nr,useDebugValue:Nr,useDeferredValue:Nr,useTransition:Nr,useSyncExternalStore:Nr,useId:Nr,useHostTransitionStatus:Nr,useFormState:Nr,useActionState:Nr,useOptimistic:Nr,useMemoCache:Nr,useCacheRefresh:Nr};Ux.useEffectEvent=Nr;var TA=null,B3=null,_A=null,k3=null,sp=null,Hf=null,bR=null;TA={readContext:function(n){return Tn(n)},use:oa,useCallback:function(n,a){return Ie="useCallback",zt(),Ma(a),Wm(n,a)},useContext:function(n){return Ie="useContext",zt(),Tn(n)},useEffect:function(n,a){return Ie="useEffect",zt(),Ma(a),qo(n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",zt(),Ma(i),bu(n,a,i)},useInsertionEffect:function(n,a){Ie="useInsertionEffect",zt(),Ma(a),yu(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",zt(),Ma(a),Rl(n,a)},useMemo:function(n,a){Ie="useMemo",zt(),Ma(a);var i=Ue.H;Ue.H=sp;try{return Xa(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",zt();var d=Ue.H;Ue.H=sp;try{return xd(n,a,i)}finally{Ue.H=d}},useRef:function(n){return Ie="useRef",zt(),Po(n)},useState:function(n){Ie="useState",zt();var a=Ue.H;Ue.H=sp;try{return Qs(n)}finally{Ue.H=a}},useDebugValue:function(){Ie="useDebugValue",zt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",zt(),Ed(n,a)},useTransition:function(){return Ie="useTransition",zt(),xu()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",zt(),ff(n,a,i)},useId:function(){return Ie="useId",zt(),Sd()},useFormState:function(n,a){return Ie="useFormState",zt(),Kp(),Ya(n,a)},useActionState:function(n,a){return Ie="useActionState",zt(),Ya(n,a)},useOptimistic:function(n){return Ie="useOptimistic",zt(),wl(n)},useHostTransitionStatus:Eu,useMemoCache:Oo,useCacheRefresh:function(){return Ie="useCacheRefresh",zt(),nh()},useEffectEvent:function(n){return Ie="useEffectEvent",zt(),ua(n)}},B3={readContext:function(n){return Tn(n)},use:oa,useCallback:function(n,a){return Ie="useCallback",et(),Wm(n,a)},useContext:function(n){return Ie="useContext",et(),Tn(n)},useEffect:function(n,a){return Ie="useEffect",et(),qo(n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",et(),bu(n,a,i)},useInsertionEffect:function(n,a){Ie="useInsertionEffect",et(),yu(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",et(),Rl(n,a)},useMemo:function(n,a){Ie="useMemo",et();var i=Ue.H;Ue.H=sp;try{return Xa(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",et();var d=Ue.H;Ue.H=sp;try{return xd(n,a,i)}finally{Ue.H=d}},useRef:function(n){return Ie="useRef",et(),Po(n)},useState:function(n){Ie="useState",et();var a=Ue.H;Ue.H=sp;try{return Qs(n)}finally{Ue.H=a}},useDebugValue:function(){Ie="useDebugValue",et()},useDeferredValue:function(n,a){return Ie="useDeferredValue",et(),Ed(n,a)},useTransition:function(){return Ie="useTransition",et(),xu()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",et(),ff(n,a,i)},useId:function(){return Ie="useId",et(),Sd()},useActionState:function(n,a){return Ie="useActionState",et(),Ya(n,a)},useFormState:function(n,a){return Ie="useFormState",et(),Kp(),Ya(n,a)},useOptimistic:function(n){return Ie="useOptimistic",et(),wl(n)},useHostTransitionStatus:Eu,useMemoCache:Oo,useCacheRefresh:function(){return Ie="useCacheRefresh",et(),nh()},useEffectEvent:function(n){return Ie="useEffectEvent",et(),ua(n)}},_A={readContext:function(n){return Tn(n)},use:oa,useCallback:function(n,a){return Ie="useCallback",et(),Tl(n,a)},useContext:function(n){return Ie="useContext",et(),Tn(n)},useEffect:function(n,a){Ie="useEffect",et(),$r(2048,Wi,n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",et(),Js(n,a,i)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",et(),$r(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",et(),$r(4,gs,n,a)},useMemo:function(n,a){Ie="useMemo",et();var i=Ue.H;Ue.H=Hf;try{return fr(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",et();var d=Ue.H;Ue.H=Hf;try{return cf(n,a,i)}finally{Ue.H=d}},useRef:function(){return Ie="useRef",et(),dn().memoizedState},useState:function(){Ie="useState",et();var n=Ue.H;Ue.H=Hf;try{return cf(No)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",et()},useDeferredValue:function(n,a){return Ie="useDeferredValue",et(),no(n,a)},useTransition:function(){return Ie="useTransition",et(),E0()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",et(),df(n,a,i)},useId:function(){return Ie="useId",et(),dn().memoizedState},useFormState:function(n){return Ie="useFormState",et(),Kp(),Zs(n)},useActionState:function(n){return Ie="useActionState",et(),Zs(n)},useOptimistic:function(n,a){return Ie="useOptimistic",et(),pf(n,a)},useHostTransitionStatus:Eu,useMemoCache:Oo,useCacheRefresh:function(){return Ie="useCacheRefresh",et(),dn().memoizedState},useEffectEvent:function(n){return Ie="useEffectEvent",et(),Ws(n)}},k3={readContext:function(n){return Tn(n)},use:oa,useCallback:function(n,a){return Ie="useCallback",et(),Tl(n,a)},useContext:function(n){return Ie="useContext",et(),Tn(n)},useEffect:function(n,a){Ie="useEffect",et(),$r(2048,Wi,n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",et(),Js(n,a,i)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",et(),$r(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",et(),$r(4,gs,n,a)},useMemo:function(n,a){Ie="useMemo",et();var i=Ue.H;Ue.H=bR;try{return fr(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",et();var d=Ue.H;Ue.H=bR;try{return Xs(n,a,i)}finally{Ue.H=d}},useRef:function(){return Ie="useRef",et(),dn().memoizedState},useState:function(){Ie="useState",et();var n=Ue.H;Ue.H=bR;try{return Xs(No)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",et()},useDeferredValue:function(n,a){return Ie="useDeferredValue",et(),Gt(n,a)},useTransition:function(){return Ie="useTransition",et(),lr()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",et(),df(n,a,i)},useId:function(){return Ie="useId",et(),dn().memoizedState},useFormState:function(n){return Ie="useFormState",et(),Kp(),gu(n)},useActionState:function(n){return Ie="useActionState",et(),gu(n)},useOptimistic:function(n,a){return Ie="useOptimistic",et(),Ga(n,a)},useHostTransitionStatus:Eu,useMemoCache:Oo,useCacheRefresh:function(){return Ie="useCacheRefresh",et(),dn().memoizedState},useEffectEvent:function(n){return Ie="useEffectEvent",et(),Ws(n)}},sp={readContext:function(n){return b(),Tn(n)},use:function(n){return m(),oa(n)},useCallback:function(n,a){return Ie="useCallback",m(),zt(),Wm(n,a)},useContext:function(n){return Ie="useContext",m(),zt(),Tn(n)},useEffect:function(n,a){return Ie="useEffect",m(),zt(),qo(n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",m(),zt(),bu(n,a,i)},useInsertionEffect:function(n,a){Ie="useInsertionEffect",m(),zt(),yu(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",m(),zt(),Rl(n,a)},useMemo:function(n,a){Ie="useMemo",m(),zt();var i=Ue.H;Ue.H=sp;try{return Xa(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",m(),zt();var d=Ue.H;Ue.H=sp;try{return xd(n,a,i)}finally{Ue.H=d}},useRef:function(n){return Ie="useRef",m(),zt(),Po(n)},useState:function(n){Ie="useState",m(),zt();var a=Ue.H;Ue.H=sp;try{return Qs(n)}finally{Ue.H=a}},useDebugValue:function(){Ie="useDebugValue",m(),zt()},useDeferredValue:function(n,a){return Ie="useDeferredValue",m(),zt(),Ed(n,a)},useTransition:function(){return Ie="useTransition",m(),zt(),xu()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",m(),zt(),ff(n,a,i)},useId:function(){return Ie="useId",m(),zt(),Sd()},useFormState:function(n,a){return Ie="useFormState",m(),zt(),Ya(n,a)},useActionState:function(n,a){return Ie="useActionState",m(),zt(),Ya(n,a)},useOptimistic:function(n){return Ie="useOptimistic",m(),zt(),wl(n)},useMemoCache:function(n){return m(),Oo(n)},useHostTransitionStatus:Eu,useCacheRefresh:function(){return Ie="useCacheRefresh",zt(),nh()},useEffectEvent:function(n){return Ie="useEffectEvent",m(),zt(),ua(n)}},Hf={readContext:function(n){return b(),Tn(n)},use:function(n){return m(),oa(n)},useCallback:function(n,a){return Ie="useCallback",m(),et(),Tl(n,a)},useContext:function(n){return Ie="useContext",m(),et(),Tn(n)},useEffect:function(n,a){Ie="useEffect",m(),et(),$r(2048,Wi,n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",m(),et(),Js(n,a,i)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",m(),et(),$r(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",m(),et(),$r(4,gs,n,a)},useMemo:function(n,a){Ie="useMemo",m(),et();var i=Ue.H;Ue.H=Hf;try{return fr(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",m(),et();var d=Ue.H;Ue.H=Hf;try{return cf(n,a,i)}finally{Ue.H=d}},useRef:function(){return Ie="useRef",m(),et(),dn().memoizedState},useState:function(){Ie="useState",m(),et();var n=Ue.H;Ue.H=Hf;try{return cf(No)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",m(),et()},useDeferredValue:function(n,a){return Ie="useDeferredValue",m(),et(),no(n,a)},useTransition:function(){return Ie="useTransition",m(),et(),E0()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",m(),et(),df(n,a,i)},useId:function(){return Ie="useId",m(),et(),dn().memoizedState},useFormState:function(n){return Ie="useFormState",m(),et(),Zs(n)},useActionState:function(n){return Ie="useActionState",m(),et(),Zs(n)},useOptimistic:function(n,a){return Ie="useOptimistic",m(),et(),pf(n,a)},useMemoCache:function(n){return m(),Oo(n)},useHostTransitionStatus:Eu,useCacheRefresh:function(){return Ie="useCacheRefresh",et(),dn().memoizedState},useEffectEvent:function(n){return Ie="useEffectEvent",m(),et(),Ws(n)}},bR={readContext:function(n){return b(),Tn(n)},use:function(n){return m(),oa(n)},useCallback:function(n,a){return Ie="useCallback",m(),et(),Tl(n,a)},useContext:function(n){return Ie="useContext",m(),et(),Tn(n)},useEffect:function(n,a){Ie="useEffect",m(),et(),$r(2048,Wi,n,a)},useImperativeHandle:function(n,a,i){return Ie="useImperativeHandle",m(),et(),Js(n,a,i)},useInsertionEffect:function(n,a){return Ie="useInsertionEffect",m(),et(),$r(4,Zi,n,a)},useLayoutEffect:function(n,a){return Ie="useLayoutEffect",m(),et(),$r(4,gs,n,a)},useMemo:function(n,a){Ie="useMemo",m(),et();var i=Ue.H;Ue.H=Hf;try{return fr(n,a)}finally{Ue.H=i}},useReducer:function(n,a,i){Ie="useReducer",m(),et();var d=Ue.H;Ue.H=Hf;try{return Xs(n,a,i)}finally{Ue.H=d}},useRef:function(){return Ie="useRef",m(),et(),dn().memoizedState},useState:function(){Ie="useState",m(),et();var n=Ue.H;Ue.H=Hf;try{return Xs(No)}finally{Ue.H=n}},useDebugValue:function(){Ie="useDebugValue",m(),et()},useDeferredValue:function(n,a){return Ie="useDeferredValue",m(),et(),Gt(n,a)},useTransition:function(){return Ie="useTransition",m(),et(),lr()},useSyncExternalStore:function(n,a,i){return Ie="useSyncExternalStore",m(),et(),df(n,a,i)},useId:function(){return Ie="useId",m(),et(),dn().memoizedState},useFormState:function(n){return Ie="useFormState",m(),et(),gu(n)},useActionState:function(n){return Ie="useActionState",m(),et(),gu(n)},useOptimistic:function(n,a){return Ie="useOptimistic",m(),et(),Ga(n,a)},useMemoCache:function(n){return m(),Oo(n)},useHostTransitionStatus:Eu,useCacheRefresh:function(){return Ie="useCacheRefresh",et(),dn().memoizedState},useEffectEvent:function(n){return Ie="useEffectEvent",m(),et(),Ws(n)}};var U3={},I3=new Set,H3=new Set,V3=new Set,F3=new Set,K3=new Set,G3=new Set,Y3=new Set,X3=new Set,Q3=new Set,Z3=new Set;Object.freeze(U3);var AA={enqueueSetState:function(n,a,i){n=n._reactInternals;var d=$a(n),y=la(d);y.payload=a,i!=null&&(nc(i),y.callback=i),a=pu(n,y,d),a!==null&&(Ro(d,"this.setState()",n),$t(a,n,d),ti(a,n,d))},enqueueReplaceState:function(n,a,i){n=n._reactInternals;var d=$a(n),y=la(d);y.tag=$3,y.payload=a,i!=null&&(nc(i),y.callback=i),a=pu(n,y,d),a!==null&&(Ro(d,"this.replaceState()",n),$t(a,n,d),ti(a,n,d))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var i=$a(n),d=la(i);d.tag=P3,a!=null&&(nc(a),d.callback=a),a=pu(n,d,i),a!==null&&(Ro(i,"this.forceUpdate()",n),$t(a,n,i),ti(a,n,i))}},p1=null,DA=null,MA=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."),ll=!1,W3={},J3={},e4={},t4={},h1=!1,n4={},xR={},OA={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},r4=!1,a4=null;a4=new Set;var sm=!1,ol=!1,NA=!1,l4=typeof WeakSet=="function"?WeakSet:Set,go=null,m1=null,v1=null,il=null,ju=!1,Vf=null,kl=!1,Ix=8192,wI={getCacheForType:function(n){var a=Tn(nl),i=a.data.get(n);return i===void 0&&(i=n(),a.data.set(n,i)),i},cacheSignal:function(){return Tn(nl).controller.signal},getOwner:function(){return mo}};if(typeof Symbol=="function"&&Symbol.for){var Hx=Symbol.for;Hx("selector.component"),Hx("selector.has_pseudo_class"),Hx("selector.role"),Hx("selector.test_id"),Hx("selector.text")}var RI=[],TI=typeof WeakMap=="function"?WeakMap:Map,yo=0,Ul=2,ys=4,cm=0,Vx=1,Ab=2,ER=3,og=4,SR=6,o4=5,Dn=yo,vr=null,cn=null,on=0,zu=0,CR=1,Db=2,Fx=3,i4=4,$A=5,Kx=6,wR=7,PA=8,Mb=9,tr=zu,bs=null,ig=!1,g1=!1,qA=!1,cp=0,ea=cm,ug=0,sg=0,LA=0,Bu=0,Ob=0,Gx=null,Ji=null,RR=!1,TR=0,u4=0,s4=300,_R=1/0,c4=500,Yx=null,Ra=null,cg=null,AR=0,jA=1,zA=2,f4=3,fg=0,d4=1,p4=2,h4=3,m4=4,DR=5,ul=0,dg=null,y1=null,Ff=0,BA=0,kA=-0,UA=null,v4=null,g4=null,Kf=AR,y4=null,_I=50,Xx=0,IA=null,HA=!1,MR=!1,AI=50,Nb=0,Qx=null,b1=!1,OR=null,b4=!1,x4=new Set,DI={},NR=null,x1=null,VA=!1,FA=!1,$R=!1,KA=!1,pg=0,GA={};(function(){for(var n=0;n<aA.length;n++){var a=aA[n],i=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),wi(i,"on"+a)}wi(QO,"onAnimationEnd"),wi(ZO,"onAnimationIteration"),wi(WO,"onAnimationStart"),wi("dblclick","onDoubleClick"),wi("focusin","onFocus"),wi("focusout","onBlur"),wi(aI,"onTransitionRun"),wi(lI,"onTransitionStart"),wi(oI,"onTransitionCancel"),wi(JO,"onTransitionEnd")})(),Ns("onMouseEnter",["mouseout","mouseover"]),Ns("onMouseLeave",["mouseout","mouseover"]),Ns("onPointerEnter",["pointerout","pointerover"]),Ns("onPointerLeave",["pointerout","pointerover"]),xo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xo("onBeforeInput",["compositionend","keypress","textInput","paste"]),xo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zx="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(" "),YA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zx)),PR="_reactListening"+Math.random().toString(36).slice(2),E4=!1,S4=!1,qR=!1,C4=!1,LR=!1,jR=!1,w4=!1,zR={},MI=/\r\n?/g,OI=/\u0000|\uFFFD/g,$b="http://www.w3.org/1999/xlink",XA="http://www.w3.org/XML/1998/namespace",NI="javascript:throw new Error('React form unexpectedly submitted.')",$I="suppressHydrationWarning",Pb="&",BR="/&",Wx="$",Jx="/$",hg="$?",qb="$~",E1="$!",PI="html",qI="body",LI="head",QA="F!",R4="F",T4="loading",jI="style",fm=0,S1=1,kR=2,ZA=null,WA=null,_4={dialog:!0,webview:!0},JA=null,eE=void 0,A4=typeof setTimeout=="function"?setTimeout:void 0,zI=typeof clearTimeout=="function"?clearTimeout:void 0,Lb=-1,D4=typeof Promise=="function"?Promise:void 0,BI=typeof queueMicrotask=="function"?queueMicrotask:typeof D4<"u"?function(n){return D4.resolve(null).then(n).catch(Ph)}:A4,eD=null,jb=0,tE=1,M4=2,O4=3,Mc=4,Oc=new Map,N4=new Set,dm=An.d;An.d={f:function(){var n=dm.f(),a=uo();return n||a},r:function(n){var a=Kl(n);a!==null&&a.tag===5&&a.type==="form"?mf(a):dm.r(n)},D:function(n){dm.D(n),Wy("dns-prefetch",n,null)},C:function(n,a){dm.C(n,a),Wy("preconnect",n,a)},L:function(n,a,i){dm.L(n,a,i);var d=C1;if(d&&n&&a){var y='link[rel="preload"][as="'+kn(a)+'"]';a==="image"&&i&&i.imageSrcSet?(y+='[imagesrcset="'+kn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(y+='[imagesizes="'+kn(i.imageSizes)+'"]')):y+='[href="'+kn(n)+'"]';var x=y;switch(a){case"style":x=Df(n);break;case"script":x=Mf(n)}Oc.has(x)||(n=ht({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:n,as:a},i),Oc.set(x,n),d.querySelector(y)!==null||a==="style"&&d.querySelector(kh(x))||a==="script"&&d.querySelector(Ii(x))||(a=d.createElement("link"),pr(a,"link",n),xr(a),d.head.appendChild(a)))}},m:function(n,a){dm.m(n,a);var i=C1;if(i&&n){var d=a&&typeof a.as=="string"?a.as:"script",y='link[rel="modulepreload"][as="'+kn(d)+'"][href="'+kn(n)+'"]',x=y;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=Mf(n)}if(!Oc.has(x)&&(n=ht({rel:"modulepreload",href:n},a),Oc.set(x,n),i.querySelector(y)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ii(x)))return}d=i.createElement("link"),pr(d,"link",n),xr(d),i.head.appendChild(d)}}},X:function(n,a){dm.X(n,a);var i=C1;if(i&&n){var d=Gl(i).hoistableScripts,y=Mf(n),x=d.get(y);x||(x=i.querySelector(Ii(y)),x||(n=ht({src:n,async:!0},a),(a=Oc.get(y))&&Rr(n,a),x=i.createElement("script"),xr(x),pr(x,"link",n),i.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},d.set(y,x))}},S:function(n,a,i){dm.S(n,a,i);var d=C1;if(d&&n){var y=Gl(d).hoistableStyles,x=Df(n);a=a||"default";var A=y.get(x);if(!A){var $={loading:jb,preload:null};if(A=d.querySelector(kh(x)))$.loading=tE|Mc;else{n=ht({rel:"stylesheet",href:n,"data-precedence":a},i),(i=Oc.get(x))&&Wa(n,i);var H=A=d.createElement("link");xr(H),pr(H,"link",n),H._p=new Promise(function(X,Re){H.onload=X,H.onerror=Re}),H.addEventListener("load",function(){$.loading|=tE}),H.addEventListener("error",function(){$.loading|=M4}),$.loading|=Mc,Vd(A,a,d)}A={type:"stylesheet",instance:A,count:1,state:$},y.set(x,A)}}},M:function(n,a){dm.M(n,a);var i=C1;if(i&&n){var d=Gl(i).hoistableScripts,y=Mf(n),x=d.get(y);x||(x=i.querySelector(Ii(y)),x||(n=ht({src:n,async:!0,type:"module"},a),(a=Oc.get(y))&&Rr(n,a),x=i.createElement("script"),xr(x),pr(x,"link",n),i.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},d.set(y,x))}}};var C1=typeof document>"u"?null:document,UR=null,kI=6e4,UI=800,II=500,tD=0,nD=null,IR=null,zb=gx,nE={$$typeof:Ki,Provider:null,Consumer:null,_currentValue:zb,_currentValue2:zb,_threadCount:0},$4="%c%s%c",P4="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",q4="",HR=" ",HI=Function.prototype.bind,L4=!1,j4=null,z4=null,B4=null,k4=null,U4=null,I4=null,H4=null,V4=null,F4=null,K4=null;j4=function(n,a,i,d){a=e(n,a),a!==null&&(i=t(a.memoizedState,i,0,d),a.memoizedState=i,a.baseState=i,n.memoizedProps=ht({},n.memoizedProps),i=ba(n,2),i!==null&&$t(i,n,2))},z4=function(n,a,i){a=e(n,a),a!==null&&(i=s(a.memoizedState,i,0),a.memoizedState=i,a.baseState=i,n.memoizedProps=ht({},n.memoizedProps),i=ba(n,2),i!==null&&$t(i,n,2))},B4=function(n,a,i,d){a=e(n,a),a!==null&&(i=r(a.memoizedState,i,d),a.memoizedState=i,a.baseState=i,n.memoizedProps=ht({},n.memoizedProps),i=ba(n,2),i!==null&&$t(i,n,2))},k4=function(n,a,i){n.pendingProps=t(n.memoizedProps,a,0,i),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=ba(n,2),a!==null&&$t(a,n,2)},U4=function(n,a){n.pendingProps=s(n.memoizedProps,a,0),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=ba(n,2),a!==null&&$t(a,n,2)},I4=function(n,a,i){n.pendingProps=r(n.memoizedProps,a,i),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=ba(n,2),a!==null&&$t(a,n,2)},H4=function(n){var a=ba(n,2);a!==null&&$t(a,n,2)},V4=function(n){var a=bt(),i=ba(n,a);i!==null&&$t(i,n,a)},F4=function(n){h=n},K4=function(n){c=n};var VR=!0,FR=null,rD=!1,mg=null,vg=null,gg=null,rE=new Map,aE=new Map,yg=[],VI="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(" "),KR=null;if(At.prototype.render=Vi.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var i=arguments;typeof i[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()."):L(i[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 i[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),i=n;var d=a.current,y=$a(d);er(d,y,i,a,null,null)},At.prototype.unmount=Vi.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;(Dn&(Ul|ys))!==yo&&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."),er(n.current,2,null,n,null,null),uo(),a[ps]=null}},At.prototype.unstable_scheduleHydration=function(n){if(n){var a=Os();n={blockedOn:null,target:n,priority:a};for(var i=0;i<yg.length&&a!==0&&a<yg[i].priority;i++);yg.splice(i,0,n),i===0&&Pl(n)}},(function(){var n=Xd.version;if(n!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
270
|
+
- react: `+(n+`
|
|
271
|
+
- react-dom: 19.2.3
|
|
272
|
+
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"),An.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=V(a),n=n!==null?F(n):null,n=n===null?null:n.stateNode,n},!(function(){var n={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:Ue,reconcilerVersion:"19.2.3"};return n.overrideHookState=j4,n.overrideHookStateDeletePath=z4,n.overrideHookStateRenamePath=B4,n.overrideProps=k4,n.overridePropsDeletePath=U4,n.overridePropsRenamePath=I4,n.scheduleUpdate=H4,n.scheduleRetry=V4,n.setErrorHandler=F4,n.setSuspenseHandler=K4,n.scheduleRefresh=q,n.scheduleRoot=M,n.setRefreshHandler=N,n.getCurrentFiber=Vn,Ds(n)})()&&Qe&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var G4=window.location.protocol;/^(https?|file):$/.test(G4)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(G4==="file:"?`
|
|
273
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}cE.createRoot=function(n,a){if(!L(n))throw Error("Target container is not a DOM element.");Bv(n);var i=!1,d="",y=ev,x=tv,A=gf;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===Io&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
274
|
+
|
|
275
|
+
let root = createRoot(domContainer);
|
|
276
|
+
root.render(<App />);`),a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(y=a.onUncaughtError),a.onCaughtError!==void 0&&(x=a.onCaughtError),a.onRecoverableError!==void 0&&(A=a.onRecoverableError)),a=Gd(n,1,!1,null,null,i,d,null,y,x,A,ob),n[ps]=a.current,dc(n),new Vi(a)},cE.hydrateRoot=function(n,a,i){if(!L(n))throw Error("Target container is not a DOM element.");Bv(n),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var d=!1,y="",x=ev,A=tv,$=gf,H=null;return i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(y=i.identifierPrefix),i.onUncaughtError!==void 0&&(x=i.onUncaughtError),i.onCaughtError!==void 0&&(A=i.onCaughtError),i.onRecoverableError!==void 0&&($=i.onRecoverableError),i.formState!==void 0&&(H=i.formState)),a=Gd(n,1,!0,a,i??null,d,y,H,x,A,$,ob),a.context=Uh(null),i=a.current,d=$a(i),d=hl(d),y=la(d),y.callback=null,pu(i,y,d),Ro(d,"hydrateRoot()",null),i=d,a.current.lanes=i,Yt(a,i),so(a),n[ps]=a.current,dc(n),new At(a)},cE.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),cE}var YN;function BY(){if(YN)return uT.exports;YN=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(),uT.exports=jY()):uT.exports=zY(),uT.exports}BY();var fp={},RT={exports:{}};RT.exports;var XN;function C8(){return XN||(XN=1,(function(e){const r=(c=0)=>h=>`\x1B[${38+c};5;${h}m`,l=(c=0)=>(h,m,b)=>`\x1B[${38+c};2;${h};${m};${b}m`;function s(){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,b]of Object.entries(h)){for(const[E,C]of Object.entries(b))h[E]={open:`\x1B[${C[0]}m`,close:`\x1B[${C[1]}m`},b[E]=h[E],c.set(C[0],C[1]);Object.defineProperty(h,m,{value:b,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,b,E)=>m===b&&b===E?m<8?16:m>248?231:Math.round((m-8)/247*24)+232:16+36*Math.round(m/255*5)+6*Math.round(b/255*5)+Math.round(E/255*5),enumerable:!1},hexToRgb:{value:m=>{const b=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(m.toString(16));if(!b)return[0,0,0];let{colorString:E}=b.groups;E.length===3&&(E=E.split("").map(S=>S+S).join(""));const C=Number.parseInt(E,16);return[C>>16&255,C>>8&255,C&255]},enumerable:!1},hexToAnsi256:{value:m=>h.rgbToAnsi256(...h.hexToRgb(m)),enumerable:!1}}),h}Object.defineProperty(e,"exports",{enumerable:!0,get:s})})(RT)),RT.exports}var kb={},QN;function C_(){if(QN)return kb;QN=1,Object.defineProperty(kb,"__esModule",{value:!0}),kb.printIteratorEntries=t,kb.printIteratorValues=r,kb.printListItems=l,kb.printObjectProperties=s;const e=(c,h)=>{const m=Object.keys(c).sort(h);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(c).forEach(b=>{Object.getOwnPropertyDescriptor(c,b).enumerable&&m.push(b)}),m};function t(c,h,m,b,E,C,S=": "){let R="",M=c.next();if(!M.done){R+=h.spacingOuter;const q=m+h.indent;for(;!M.done;){const N=C(M.value[0],h,q,b,E),L=C(M.value[1],h,q,b,E);R+=q+N+S+L,M=c.next(),M.done?h.min||(R+=","):R+=","+h.spacingInner}R+=h.spacingOuter+m}return R}function r(c,h,m,b,E,C){let S="",R=c.next();if(!R.done){S+=h.spacingOuter;const M=m+h.indent;for(;!R.done;)S+=M+C(R.value,h,M,b,E),R=c.next(),R.done?h.min||(S+=","):S+=","+h.spacingInner;S+=h.spacingOuter+m}return S}function l(c,h,m,b,E,C){let S="";if(c.length){S+=h.spacingOuter;const R=m+h.indent;for(let M=0;M<c.length;M++)S+=R,M in c&&(S+=C(c[M],h,R,b,E)),M<c.length-1?S+=","+h.spacingInner:h.min||(S+=",");S+=h.spacingOuter+m}return S}function s(c,h,m,b,E,C){let S="";const R=e(c,h.compareKeys);if(R.length){S+=h.spacingOuter;const M=m+h.indent;for(let q=0;q<R.length;q++){const N=R[q],L=C(N,h,M,b,E),P=C(c[N],h,M,b,E);S+=M+L+": "+P,q<R.length-1?S+=","+h.spacingInner:h.min||(S+=",")}S+=h.spacingOuter+m}return S}return kb}var mm={},ZN;function kY(){if(ZN)return mm;ZN=1,Object.defineProperty(mm,"__esModule",{value:!0}),mm.test=mm.serialize=mm.default=void 0;var e=C_(),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,s=" ",c=(E,C,S,R,M,q)=>{const N=E.toString();return N==="ArrayContaining"||N==="ArrayNotContaining"?++R>C.maxDepth?"["+N+"]":N+s+"["+(0,e.printListItems)(E.sample,C,S,R,M,q)+"]":N==="ObjectContaining"||N==="ObjectNotContaining"?++R>C.maxDepth?"["+N+"]":N+s+"{"+(0,e.printObjectProperties)(E.sample,C,S,R,M,q)+"}":N==="StringMatching"||N==="StringNotMatching"||N==="StringContaining"||N==="StringNotContaining"?N+s+q(E.sample,C,S,R,M):E.toAsymmetricMatcher()};mm.serialize=c;const h=E=>E&&E.$$typeof===l;mm.test=h;var b={serialize:c,test:h};return mm.default=b,mm}var vm={},MD,WN;function UY(){return WN||(WN=1,MD=({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")}),MD}var JN;function IY(){if(JN)return vm;JN=1,Object.defineProperty(vm,"__esModule",{value:!0}),vm.test=vm.serialize=vm.default=void 0;var e=r(UY()),t=r(C8());function r(b){return b&&b.__esModule?b:{default:b}}const l=b=>b.replace((0,e.default)(),E=>{switch(E){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""}}),s=b=>typeof b=="string"&&!!b.match((0,e.default)());vm.test=s;const c=(b,E,C,S,R,M)=>M(l(b),E,C,S,R);vm.serialize=c;var m={serialize:c,test:s};return vm.default=m,vm}var gm={},e$;function HY(){if(e$)return gm;e$=1,Object.defineProperty(gm,"__esModule",{value:!0}),gm.test=gm.serialize=gm.default=void 0;var e=C_();const t=" ",r=["DOMStringMap","NamedNodeMap"],l=/^(HTML\w*Collection|NodeList)$/,s=C=>r.indexOf(C)!==-1||l.test(C),c=C=>C&&C.constructor&&!!C.constructor.name&&s(C.constructor.name);gm.test=c;const h=C=>C.constructor.name==="NamedNodeMap",m=(C,S,R,M,q,N)=>{const L=C.constructor.name;return++M>S.maxDepth?"["+L+"]":(S.min?"":L+t)+(r.indexOf(L)!==-1?"{"+(0,e.printObjectProperties)(h(C)?Array.from(C).reduce((P,U)=>(P[U.name]=U.value,P),{}):{...C},S,R,M,q,N)+"}":"["+(0,e.printListItems)(Array.from(C),S,R,M,q,N)+"]")};gm.serialize=m;var E={serialize:m,test:c};return gm.default=E,gm}var ym={},eu={},cT={},t$;function VY(){if(t$)return cT;t$=1,Object.defineProperty(cT,"__esModule",{value:!0}),cT.default=e;function e(t){return t.replace(/</g,"<").replace(/>/g,">")}return cT}var n$;function _M(){if(n$)return eu;n$=1,Object.defineProperty(eu,"__esModule",{value:!0}),eu.printText=eu.printProps=eu.printElementAsLeaf=eu.printElement=eu.printComment=eu.printChildren=void 0;var e=t(VY());function t(b){return b&&b.__esModule?b:{default:b}}const r=(b,E,C,S,R,M,q)=>{const N=S+C.indent,L=C.colors;return b.map(P=>{const U=E[P];let I=q(U,C,N,R,M);return typeof U!="string"&&(I.indexOf(`
|
|
277
|
+
`)!==-1&&(I=C.spacingOuter+N+I+C.spacingOuter+S),I="{"+I+"}"),C.spacingInner+S+L.prop.open+P+L.prop.close+"="+L.value.open+I+L.value.close}).join("")};eu.printProps=r;const l=(b,E,C,S,R,M)=>b.map(q=>E.spacingOuter+C+(typeof q=="string"?s(q,E):M(q,E,C,S,R))).join("");eu.printChildren=l;const s=(b,E)=>{const C=E.colors.content;return C.open+(0,e.default)(b)+C.close};eu.printText=s;const c=(b,E)=>{const C=E.colors.comment;return C.open+"<!--"+(0,e.default)(b)+"-->"+C.close};eu.printComment=c;const h=(b,E,C,S,R)=>{const M=S.colors.tag;return M.open+"<"+b+(E&&M.close+E+S.spacingOuter+R+M.open)+(C?">"+M.close+C+S.spacingOuter+R+M.open+"</"+b:(E&&!S.min?"":" ")+"/")+">"+M.close};eu.printElement=h;const m=(b,E)=>{const C=E.colors.tag;return C.open+"<"+b+C.close+" …"+C.open+" />"+C.close};return eu.printElementAsLeaf=m,eu}var r$;function FY(){if(r$)return ym;r$=1,Object.defineProperty(ym,"__esModule",{value:!0}),ym.test=ym.serialize=ym.default=void 0;var e=_M();const t=1,r=3,l=8,s=11,c=/^((HTML|SVG)\w*)?Element$/,h=N=>{try{return typeof N.hasAttribute=="function"&&N.hasAttribute("is")}catch{return!1}},m=N=>{const L=N.constructor.name,{nodeType:P,tagName:U}=N,I=typeof U=="string"&&U.includes("-")||h(N);return P===t&&(c.test(L)||I)||P===r&&L==="Text"||P===l&&L==="Comment"||P===s&&L==="DocumentFragment"},b=N=>{var L;return(N==null||(L=N.constructor)===null||L===void 0?void 0:L.name)&&m(N)};ym.test=b;function E(N){return N.nodeType===r}function C(N){return N.nodeType===l}function S(N){return N.nodeType===s}const R=(N,L,P,U,I,Y)=>{if(E(N))return(0,e.printText)(N.data,L);if(C(N))return(0,e.printComment)(N.data,L);const V=S(N)?"DocumentFragment":N.tagName.toLowerCase();return++U>L.maxDepth?(0,e.printElementAsLeaf)(V,L):(0,e.printElement)(V,(0,e.printProps)(S(N)?[]:Array.from(N.attributes).map(F=>F.name).sort(),S(N)?{}:Array.from(N.attributes).reduce((F,K)=>(F[K.name]=K.value,F),{}),L,P+L.indent,U,I,Y),(0,e.printChildren)(Array.prototype.slice.call(N.childNodes||N.children),L,P+L.indent,U,I,Y),L,P)};ym.serialize=R;var q={serialize:R,test:b};return ym.default=q,ym}var bm={},a$;function KY(){if(a$)return bm;a$=1,Object.defineProperty(bm,"__esModule",{value:!0}),bm.test=bm.serialize=bm.default=void 0;var e=C_();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",l="@@__IMMUTABLE_KEYED__@@",s="@@__IMMUTABLE_MAP__@@",c="@@__IMMUTABLE_ORDERED__@@",h="@@__IMMUTABLE_RECORD__@@",m="@@__IMMUTABLE_SEQ__@@",b="@@__IMMUTABLE_SET__@@",E="@@__IMMUTABLE_STACK__@@",C=K=>"Immutable."+K,S=K=>"["+K+"]",R=" ",M="…",q=(K,Q,he,de,W,se,le)=>++de>Q.maxDepth?S(C(le)):C(le)+R+"{"+(0,e.printIteratorEntries)(K.entries(),Q,he,de,W,se)+"}";function N(K){let Q=0;return{next(){if(Q<K._keys.length){const he=K._keys[Q++];return{done:!1,value:[he,K.get(he)]}}return{done:!0,value:void 0}}}}const L=(K,Q,he,de,W,se)=>{const le=C(K._name||"Record");return++de>Q.maxDepth?S(le):le+R+"{"+(0,e.printIteratorEntries)(N(K),Q,he,de,W,se)+"}"},P=(K,Q,he,de,W,se)=>{const le=C("Seq");return++de>Q.maxDepth?S(le):K[l]?le+R+"{"+(K._iter||K._object?(0,e.printIteratorEntries)(K.entries(),Q,he,de,W,se):M)+"}":le+R+"["+(K._iter||K._array||K._collection||K._iterable?(0,e.printIteratorValues)(K.values(),Q,he,de,W,se):M)+"]"},U=(K,Q,he,de,W,se,le)=>++de>Q.maxDepth?S(C(le)):C(le)+R+"["+(0,e.printIteratorValues)(K.values(),Q,he,de,W,se)+"]",I=(K,Q,he,de,W,se)=>K[s]?q(K,Q,he,de,W,se,K[c]?"OrderedMap":"Map"):K[r]?U(K,Q,he,de,W,se,"List"):K[b]?U(K,Q,he,de,W,se,K[c]?"OrderedSet":"Set"):K[E]?U(K,Q,he,de,W,se,"Stack"):K[m]?P(K,Q,he,de,W,se):L(K,Q,he,de,W,se);bm.serialize=I;const Y=K=>K&&(K[t]===!0||K[h]===!0);bm.test=Y;var F={serialize:I,test:Y};return bm.default=F,bm}var xm={},fT={exports:{}},gr={};var l$;function GY(){if(l$)return gr;l$=1;var e=60103,t=60106,r=60107,l=60108,s=60114,c=60109,h=60110,m=60112,b=60113,E=60120,C=60115,S=60116,R=60121,M=60122,q=60117,N=60129,L=60131;if(typeof Symbol=="function"&&Symbol.for){var P=Symbol.for;e=P("react.element"),t=P("react.portal"),r=P("react.fragment"),l=P("react.strict_mode"),s=P("react.profiler"),c=P("react.provider"),h=P("react.context"),m=P("react.forward_ref"),b=P("react.suspense"),E=P("react.suspense_list"),C=P("react.memo"),S=P("react.lazy"),R=P("react.block"),M=P("react.server.block"),q=P("react.fundamental"),N=P("react.debug_trace_mode"),L=P("react.legacy_hidden")}function U(le){if(typeof le=="object"&&le!==null){var ae=le.$$typeof;switch(ae){case e:switch(le=le.type,le){case r:case s:case l:case b:case E:return le;default:switch(le=le&&le.$$typeof,le){case h:case m:case S:case C:case c:return le;default:return ae}}case t:return ae}}}var I=c,Y=e,V=m,F=r,K=S,Q=C,he=t,de=s,W=l,se=b;return gr.ContextConsumer=h,gr.ContextProvider=I,gr.Element=Y,gr.ForwardRef=V,gr.Fragment=F,gr.Lazy=K,gr.Memo=Q,gr.Portal=he,gr.Profiler=de,gr.StrictMode=W,gr.Suspense=se,gr.isAsyncMode=function(){return!1},gr.isConcurrentMode=function(){return!1},gr.isContextConsumer=function(le){return U(le)===h},gr.isContextProvider=function(le){return U(le)===c},gr.isElement=function(le){return typeof le=="object"&&le!==null&&le.$$typeof===e},gr.isForwardRef=function(le){return U(le)===m},gr.isFragment=function(le){return U(le)===r},gr.isLazy=function(le){return U(le)===S},gr.isMemo=function(le){return U(le)===C},gr.isPortal=function(le){return U(le)===t},gr.isProfiler=function(le){return U(le)===s},gr.isStrictMode=function(le){return U(le)===l},gr.isSuspense=function(le){return U(le)===b},gr.isValidElementType=function(le){return typeof le=="string"||typeof le=="function"||le===r||le===s||le===N||le===l||le===b||le===E||le===L||typeof le=="object"&&le!==null&&(le.$$typeof===S||le.$$typeof===C||le.$$typeof===c||le.$$typeof===h||le.$$typeof===m||le.$$typeof===q||le.$$typeof===R||le[0]===M)},gr.typeOf=U,gr}var yr={};var o$;function YY(){return o$||(o$=1,process.env.NODE_ENV!=="production"&&(function(){var e=60103,t=60106,r=60107,l=60108,s=60114,c=60109,h=60110,m=60112,b=60113,E=60120,C=60115,S=60116,R=60121,M=60122,q=60117,N=60129,L=60131;if(typeof Symbol=="function"&&Symbol.for){var P=Symbol.for;e=P("react.element"),t=P("react.portal"),r=P("react.fragment"),l=P("react.strict_mode"),s=P("react.profiler"),c=P("react.provider"),h=P("react.context"),m=P("react.forward_ref"),b=P("react.suspense"),E=P("react.suspense_list"),C=P("react.memo"),S=P("react.lazy"),R=P("react.block"),M=P("react.server.block"),q=P("react.fundamental"),P("react.scope"),P("react.opaque.id"),N=P("react.debug_trace_mode"),P("react.offscreen"),L=P("react.legacy_hidden")}var U=!1;function I(Ee){return!!(typeof Ee=="string"||typeof Ee=="function"||Ee===r||Ee===s||Ee===N||Ee===l||Ee===b||Ee===E||Ee===L||U||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===S||Ee.$$typeof===C||Ee.$$typeof===c||Ee.$$typeof===h||Ee.$$typeof===m||Ee.$$typeof===q||Ee.$$typeof===R||Ee[0]===M))}function Y(Ee){if(typeof Ee=="object"&&Ee!==null){var Ae=Ee.$$typeof;switch(Ae){case e:var ot=Ee.type;switch(ot){case r:case s:case l:case b:case E:return ot;default:var vt=ot&&ot.$$typeof;switch(vt){case h:case m:case S:case C:case c:return vt;default:return Ae}}case t:return Ae}}}var V=h,F=c,K=e,Q=m,he=r,de=S,W=C,se=t,le=s,ae=l,xe=b,B=!1,Z=!1;function te(Ee){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function be(Ee){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function re(Ee){return Y(Ee)===h}function oe(Ee){return Y(Ee)===c}function ue(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===e}function ce(Ee){return Y(Ee)===m}function De(Ee){return Y(Ee)===r}function je(Ee){return Y(Ee)===S}function Ke(Ee){return Y(Ee)===C}function _e(Ee){return Y(Ee)===t}function Je(Ee){return Y(Ee)===s}function ie(Ee){return Y(Ee)===l}function ke(Ee){return Y(Ee)===b}yr.ContextConsumer=V,yr.ContextProvider=F,yr.Element=K,yr.ForwardRef=Q,yr.Fragment=he,yr.Lazy=de,yr.Memo=W,yr.Portal=se,yr.Profiler=le,yr.StrictMode=ae,yr.Suspense=xe,yr.isAsyncMode=te,yr.isConcurrentMode=be,yr.isContextConsumer=re,yr.isContextProvider=oe,yr.isElement=ue,yr.isForwardRef=ce,yr.isFragment=De,yr.isLazy=je,yr.isMemo=Ke,yr.isPortal=_e,yr.isProfiler=Je,yr.isStrictMode=ie,yr.isSuspense=ke,yr.isValidElementType=I,yr.typeOf=Y})()),yr}var i$;function XY(){return i$||(i$=1,process.env.NODE_ENV==="production"?fT.exports=GY():fT.exports=YY()),fT.exports}var u$;function QY(){if(u$)return xm;u$=1,Object.defineProperty(xm,"__esModule",{value:!0}),xm.test=xm.serialize=xm.default=void 0;var e=l(XY()),t=_M();function r(S){if(typeof WeakMap!="function")return null;var R=new WeakMap,M=new WeakMap;return(r=function(q){return q?M:R})(S)}function l(S,R){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var M=r(R);if(M&&M.has(S))return M.get(S);var q={},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in S)if(L!=="default"&&Object.prototype.hasOwnProperty.call(S,L)){var P=N?Object.getOwnPropertyDescriptor(S,L):null;P&&(P.get||P.set)?Object.defineProperty(q,L,P):q[L]=S[L]}return q.default=S,M&&M.set(S,q),q}const s=(S,R=[])=>(Array.isArray(S)?S.forEach(M=>{s(M,R)}):S!=null&&S!==!1&&R.push(S),R),c=S=>{const R=S.type;if(typeof R=="string")return R;if(typeof R=="function")return R.displayName||R.name||"Unknown";if(e.isFragment(S))return"React.Fragment";if(e.isSuspense(S))return"React.Suspense";if(typeof R=="object"&&R!==null){if(e.isContextProvider(S))return"Context.Provider";if(e.isContextConsumer(S))return"Context.Consumer";if(e.isForwardRef(S)){if(R.displayName)return R.displayName;const M=R.render.displayName||R.render.name||"";return M!==""?"ForwardRef("+M+")":"ForwardRef"}if(e.isMemo(S)){const M=R.displayName||R.type.displayName||R.type.name||"";return M!==""?"Memo("+M+")":"Memo"}}return"UNDEFINED"},h=S=>{const{props:R}=S;return Object.keys(R).filter(M=>M!=="children"&&R[M]!==void 0).sort()},m=(S,R,M,q,N,L)=>++q>R.maxDepth?(0,t.printElementAsLeaf)(c(S),R):(0,t.printElement)(c(S),(0,t.printProps)(h(S),S.props,R,M+R.indent,q,N,L),(0,t.printChildren)(s(S.props.children),R,M+R.indent,q,N,L),R,M);xm.serialize=m;const b=S=>S!=null&&e.isElement(S);xm.test=b;var C={serialize:m,test:b};return xm.default=C,xm}var Em={},s$;function ZY(){if(s$)return Em;s$=1,Object.defineProperty(Em,"__esModule",{value:!0}),Em.test=Em.serialize=Em.default=void 0;var e=_M(),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,s=E=>{const{props:C}=E;return C?Object.keys(C).filter(S=>C[S]!==void 0).sort():[]},c=(E,C,S,R,M,q)=>++R>C.maxDepth?(0,e.printElementAsLeaf)(E.type,C):(0,e.printElement)(E.type,E.props?(0,e.printProps)(s(E),E.props,C,S+C.indent,R,M,q):"",E.children?(0,e.printChildren)(E.children,C,S+C.indent,R,M,q):"",C,S);Em.serialize=c;const h=E=>E&&E.$$typeof===l;Em.test=h;var b={serialize:c,test:h};return Em.default=b,Em}var c$;function WY(){if(c$)return fp;c$=1,Object.defineProperty(fp,"__esModule",{value:!0}),fp.default=fp.DEFAULT_OPTIONS=void 0,fp.format=Ke,fp.plugins=void 0;var e=E(C8()),t=C_(),r=E(kY()),l=E(IY()),s=E(HY()),c=E(FY()),h=E(KY()),m=E(QY()),b=E(ZY());function E(ie){return ie&&ie.__esModule?ie:{default:ie}}const C=Object.prototype.toString,S=Date.prototype.toISOString,R=Error.prototype.toString,M=RegExp.prototype.toString,q=ie=>typeof ie.constructor=="function"&&ie.constructor.name||"Object",N=ie=>typeof window<"u"&&ie===window,L=/^Symbol\((.*)\)(.*)$/,P=/\n/gi;class U extends Error{constructor(ke,Ee){super(ke),this.stack=Ee,this.name=this.constructor.name}}function I(ie){return ie==="[object Array]"||ie==="[object ArrayBuffer]"||ie==="[object DataView]"||ie==="[object Float32Array]"||ie==="[object Float64Array]"||ie==="[object Int8Array]"||ie==="[object Int16Array]"||ie==="[object Int32Array]"||ie==="[object Uint8Array]"||ie==="[object Uint8ClampedArray]"||ie==="[object Uint16Array]"||ie==="[object Uint32Array]"}function Y(ie){return Object.is(ie,-0)?"-0":String(ie)}function V(ie){return`${ie}n`}function F(ie,ke){return ke?"[Function "+(ie.name||"anonymous")+"]":"[Function]"}function K(ie){return String(ie).replace(L,"Symbol($1)")}function Q(ie){return"["+R.call(ie)+"]"}function he(ie,ke,Ee,Ae){if(ie===!0||ie===!1)return""+ie;if(ie===void 0)return"undefined";if(ie===null)return"null";const ot=typeof ie;if(ot==="number")return Y(ie);if(ot==="bigint")return V(ie);if(ot==="string")return Ae?'"'+ie.replace(/"|\\/g,"\\$&")+'"':'"'+ie+'"';if(ot==="function")return F(ie,ke);if(ot==="symbol")return K(ie);const vt=C.call(ie);return vt==="[object WeakMap]"?"WeakMap {}":vt==="[object WeakSet]"?"WeakSet {}":vt==="[object Function]"||vt==="[object GeneratorFunction]"?F(ie,ke):vt==="[object Symbol]"?K(ie):vt==="[object Date]"?isNaN(+ie)?"Date { NaN }":S.call(ie):vt==="[object Error]"?Q(ie):vt==="[object RegExp]"?Ee?M.call(ie).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):M.call(ie):ie instanceof Error?Q(ie):null}function de(ie,ke,Ee,Ae,ot,vt){if(ot.indexOf(ie)!==-1)return"[Circular]";ot=ot.slice(),ot.push(ie);const Xt=++Ae>ke.maxDepth,Nt=ke.min;if(ke.callToJSON&&!Xt&&ie.toJSON&&typeof ie.toJSON=="function"&&!vt)return ae(ie.toJSON(),ke,Ee,Ae,ot,!0);const Kn=C.call(ie);return Kn==="[object Arguments]"?Xt?"[Arguments]":(Nt?"":"Arguments ")+"["+(0,t.printListItems)(ie,ke,Ee,Ae,ot,ae)+"]":I(Kn)?Xt?"["+ie.constructor.name+"]":(Nt||!ke.printBasicPrototype&&ie.constructor.name==="Array"?"":ie.constructor.name+" ")+"["+(0,t.printListItems)(ie,ke,Ee,Ae,ot,ae)+"]":Kn==="[object Map]"?Xt?"[Map]":"Map {"+(0,t.printIteratorEntries)(ie.entries(),ke,Ee,Ae,ot,ae," => ")+"}":Kn==="[object Set]"?Xt?"[Set]":"Set {"+(0,t.printIteratorValues)(ie.values(),ke,Ee,Ae,ot,ae)+"}":Xt||N(ie)?"["+q(ie)+"]":(Nt||!ke.printBasicPrototype&&q(ie)==="Object"?"":q(ie)+" ")+"{"+(0,t.printObjectProperties)(ie,ke,Ee,Ae,ot,ae)+"}"}function W(ie){return ie.serialize!=null}function se(ie,ke,Ee,Ae,ot,vt){let Xt;try{Xt=W(ie)?ie.serialize(ke,Ee,Ae,ot,vt,ae):ie.print(ke,Nt=>ae(Nt,Ee,Ae,ot,vt),Nt=>{const Kn=Ae+Ee.indent;return Kn+Nt.replace(P,`
|
|
278
|
+
`+Kn)},{edgeSpacing:Ee.spacingOuter,min:Ee.min,spacing:Ee.spacingInner},Ee.colors)}catch(Nt){throw new U(Nt.message,Nt.stack)}if(typeof Xt!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Xt}".`);return Xt}function le(ie,ke){for(let Ee=0;Ee<ie.length;Ee++)try{if(ie[Ee].test(ke))return ie[Ee]}catch(Ae){throw new U(Ae.message,Ae.stack)}return null}function ae(ie,ke,Ee,Ae,ot,vt){const Xt=le(ke.plugins,ie);if(Xt!==null)return se(Xt,ie,ke,Ee,Ae,ot);const Nt=he(ie,ke.printFunctionName,ke.escapeRegex,ke.escapeString);return Nt!==null?Nt:de(ie,ke,Ee,Ae,ot,vt)}const xe={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},B=Object.keys(xe),Z={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:xe};fp.DEFAULT_OPTIONS=Z;function te(ie){if(Object.keys(ie).forEach(ke=>{if(!Z.hasOwnProperty(ke))throw new Error(`pretty-format: Unknown option "${ke}".`)}),ie.min&&ie.indent!==void 0&&ie.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(ie.theme!==void 0){if(ie.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof ie.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof ie.theme}".`)}}const be=ie=>B.reduce((ke,Ee)=>{const Ae=ie.theme&&ie.theme[Ee]!==void 0?ie.theme[Ee]:xe[Ee],ot=Ae&&e.default[Ae];if(ot&&typeof ot.close=="string"&&typeof ot.open=="string")ke[Ee]=ot;else throw new Error(`pretty-format: Option "theme" has a key "${Ee}" whose value "${Ae}" is undefined in ansi-styles.`);return ke},Object.create(null)),re=()=>B.reduce((ie,ke)=>(ie[ke]={close:"",open:""},ie),Object.create(null)),oe=ie=>ie&&ie.printFunctionName!==void 0?ie.printFunctionName:Z.printFunctionName,ue=ie=>ie&&ie.escapeRegex!==void 0?ie.escapeRegex:Z.escapeRegex,ce=ie=>ie&&ie.escapeString!==void 0?ie.escapeString:Z.escapeString,De=ie=>{var ke;return{callToJSON:ie&&ie.callToJSON!==void 0?ie.callToJSON:Z.callToJSON,colors:ie&&ie.highlight?be(ie):re(),compareKeys:ie&&typeof ie.compareKeys=="function"?ie.compareKeys:Z.compareKeys,escapeRegex:ue(ie),escapeString:ce(ie),indent:ie&&ie.min?"":je(ie&&ie.indent!==void 0?ie.indent:Z.indent),maxDepth:ie&&ie.maxDepth!==void 0?ie.maxDepth:Z.maxDepth,min:ie&&ie.min!==void 0?ie.min:Z.min,plugins:ie&&ie.plugins!==void 0?ie.plugins:Z.plugins,printBasicPrototype:(ke=ie?.printBasicPrototype)!==null&&ke!==void 0?ke:!0,printFunctionName:oe(ie),spacingInner:ie&&ie.min?" ":`
|
|
279
|
+
`,spacingOuter:ie&&ie.min?"":`
|
|
280
|
+
`}};function je(ie){return new Array(ie+1).join(" ")}function Ke(ie,ke){if(ke&&(te(ke),ke.plugins)){const Ae=le(ke.plugins,ie);if(Ae!==null)return se(Ae,ie,De(ke),"",0,[])}const Ee=he(ie,oe(ke),ue(ke),ce(ke));return Ee!==null?Ee:de(ie,De(ke),"",0,[])}const _e={AsymmetricMatcher:r.default,ConvertAnsi:l.default,DOMCollection:s.default,DOMElement:c.default,Immutable:h.default,ReactElement:m.default,ReactTestComponent:b.default};fp.plugins=_e;var Je=Ke;return fp.default=Je,fp}var w8=WY(),JY=Object.prototype.toString;function eX(e){return typeof e=="function"||JY.call(e)==="[object Function]"}function tX(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var nX=Math.pow(2,53)-1;function rX(e){var t=tX(e);return Math.min(Math.max(t,0),nX)}function Xf(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 s=rX(l.length),c=eX(r)?Object(new r(s)):new Array(s),h=0,m;h<s;)m=l[h],c[h]=m,h+=1;return c.length=s,c}function cw(e){"@babel/helpers - typeof";return cw=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},cw(e)}function aX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lX(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,R8(l.key),l)}}function oX(e,t,r){return t&&lX(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function iX(e,t,r){return t=R8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R8(e){var t=uX(e,"string");return cw(t)==="symbol"?t:String(t)}function uX(e,t){if(cw(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var l=r.call(e,t);if(cw(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var sX=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];aX(this,e),iX(this,"items",void 0),this.items=t}return oX(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(s){return s!==r}),l!==this.items.length}},{key:"forEach",value:function(r){var l=this;this.items.forEach(function(s){r(s,s,l)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})();const cX=typeof Set>"u"?Set:sX;function mi(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var fX={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"},dX={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 pX(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=dX[t])!==null&&l!==void 0&&l.has(r))})}function T8(e,t){return pX(e,t)}function hX(e){var t=vX(e);if(t===null||t==="presentation"){var r=mX(e);if(t!=="presentation"||T8(e,r||""))return r}return t}function mX(e){var t=fX[mi(e)];if(t!==void 0)return t;switch(mi(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!T8(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 vX(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function na(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function _8(e){return na(e)&&mi(e)==="caption"}function TT(e){return na(e)&&mi(e)==="input"}function gX(e){return na(e)&&mi(e)==="optgroup"}function yX(e){return na(e)&&mi(e)==="select"}function bX(e){return na(e)&&mi(e)==="table"}function xX(e){return na(e)&&mi(e)==="textarea"}function EX(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function SX(e){return na(e)&&mi(e)==="fieldset"}function CX(e){return na(e)&&mi(e)==="legend"}function wX(e){return na(e)&&mi(e)==="slot"}function RX(e){return na(e)&&e.ownerSVGElement!==void 0}function TX(e){return na(e)&&mi(e)==="svg"}function _X(e){return RX(e)&&mi(e)==="title"}function BT(e,t){if(na(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),l=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(s){return l.getElementById(s)}).filter(function(s){return s!==null})}return[]}function Rm(e,t){return na(e)?t.indexOf(hX(e))!==-1:!1}function AX(e){return e.trim().replace(/\s\s+/g," ")}function DX(e,t){if(!na(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 MX(e){return Rm(e,["button","combobox","listbox","textbox"])||A8(e,"range")}function A8(e,t){if(!na(e))return!1;switch(t){case"range":return Rm(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function f$(e,t){var r=Xf(e.querySelectorAll(t));return BT(e,"aria-owns").forEach(function(l){r.push.apply(r,Xf(l.querySelectorAll(t)))}),r}function OX(e){return yX(e)?e.selectedOptions||f$(e,"[selected]"):f$(e,'[aria-selected="true"]')}function NX(e){return Rm(e,["none","presentation"])}function $X(e){return _8(e)}function PX(e){return Rm(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function qX(e){return!1}function LX(e){return TT(e)||xX(e)?e.value:e.textContent||""}function d$(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function D8(e){var t=mi(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function M8(e){if(D8(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&na(r)){var l=M8(r);l!==null&&(t=l)}}),t}function jX(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):M8(e)}function zX(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Xf(t);if(!D8(e))return null;var r=e.ownerDocument;return Xf(r.querySelectorAll("label")).filter(function(l){return jX(l)===e})}function BX(e){var t=e.assignedNodes();return t.length===0?Xf(e.childNodes):t}function O8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new cX,l=EX(e),s=t.compute,c=s===void 0?"name":s,h=t.computedStyleSupportsPseudoElements,m=h===void 0?t.getComputedStyle!==void 0:h,b=t.getComputedStyle,E=b===void 0?l.getComputedStyle.bind(l):b,C=t.hidden,S=C===void 0?!1:C;function R(P,U){var I="";if(na(P)&&m){var Y=E(P,"::before"),V=d$(Y);I="".concat(V," ").concat(I)}var F=wX(P)?BX(P):Xf(P.childNodes).concat(BT(P,"aria-owns"));if(F.forEach(function(he){var de=L(he,{isEmbeddedInLabel:U.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),W=na(he)?E(he).getPropertyValue("display"):"inline",se=W!=="inline"?" ":"";I+="".concat(se).concat(de).concat(se)}),na(P)&&m){var K=E(P,"::after"),Q=d$(K);I="".concat(I," ").concat(Q)}return I.trim()}function M(P,U){var I=P.getAttributeNode(U);return I!==null&&!r.has(I)&&I.value.trim()!==""?(r.add(I),I.value):null}function q(P){return na(P)?M(P,"title"):null}function N(P){if(!na(P))return null;if(SX(P)){r.add(P);for(var U=Xf(P.childNodes),I=0;I<U.length;I+=1){var Y=U[I];if(CX(Y))return L(Y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(bX(P)){r.add(P);for(var V=Xf(P.childNodes),F=0;F<V.length;F+=1){var K=V[F];if(_8(K))return L(K,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(TX(P)){r.add(P);for(var Q=Xf(P.childNodes),he=0;he<Q.length;he+=1){var de=Q[he];if(_X(de))return de.textContent}return null}else if(mi(P)==="img"||mi(P)==="area"){var W=M(P,"alt");if(W!==null)return W}else if(gX(P)){var se=M(P,"label");if(se!==null)return se}if(TT(P)&&(P.type==="button"||P.type==="submit"||P.type==="reset")){var le=M(P,"value");if(le!==null)return le;if(P.type==="submit")return"Submit";if(P.type==="reset")return"Reset"}var ae=zX(P);if(ae!==null&&ae.length!==0)return r.add(P),Xf(ae).map(function(te){return L(te,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(te){return te.length>0}).join(" ");if(TT(P)&&P.type==="image"){var xe=M(P,"alt");if(xe!==null)return xe;var B=M(P,"title");return B!==null?B:"Submit Query"}if(Rm(P,["button"])){var Z=R(P,{isEmbeddedInLabel:!1});if(Z!=="")return Z}return null}function L(P,U){if(r.has(P))return"";if(!S&&DX(P,E)&&!U.isReferenced)return r.add(P),"";var I=na(P)?P.getAttributeNode("aria-labelledby"):null,Y=I!==null&&!r.has(I)?BT(P,"aria-labelledby"):[];if(c==="name"&&!U.isReferenced&&Y.length>0)return r.add(I),Y.map(function(W){return L(W,{isEmbeddedInLabel:U.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var V=U.recursion&&MX(P)&&c==="name";if(!V){var F=(na(P)&&P.getAttribute("aria-label")||"").trim();if(F!==""&&c==="name")return r.add(P),F;if(!NX(P)){var K=N(P);if(K!==null)return r.add(P),K}}if(Rm(P,["menu"]))return r.add(P),"";if(V||U.isEmbeddedInLabel||U.isReferenced){if(Rm(P,["combobox","listbox"])){r.add(P);var Q=OX(P);return Q.length===0?TT(P)?P.value:"":Xf(Q).map(function(W){return L(W,{isEmbeddedInLabel:U.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(A8(P,"range"))return r.add(P),P.hasAttribute("aria-valuetext")?P.getAttribute("aria-valuetext"):P.hasAttribute("aria-valuenow")?P.getAttribute("aria-valuenow"):P.getAttribute("value")||"";if(Rm(P,["textbox"]))return r.add(P),LX(P)}if(PX(P)||na(P)&&U.isReferenced||$X(P)||qX()){var he=R(P,{isEmbeddedInLabel:U.isEmbeddedInLabel});if(he!=="")return r.add(P),he}if(P.nodeType===P.TEXT_NODE)return r.add(P),P.textContent||"";if(U.recursion)return r.add(P),R(P,{isEmbeddedInLabel:U.isEmbeddedInLabel});var de=q(P);return de!==null?(r.add(P),de):(r.add(P),"")}return AX(L(e,{isEmbeddedInLabel:!1,isReferenced:c==="description",recursion:!1}))}function fw(e){"@babel/helpers - typeof";return fw=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},fw(e)}function p$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,l)}return r}function h$(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?p$(Object(r),!0).forEach(function(l){kX(e,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p$(Object(r)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(r,l))})}return e}function kX(e,t,r){return t=UX(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function UX(e){var t=IX(e,"string");return fw(t)==="symbol"?t:String(t)}function IX(e,t){if(fw(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var l=r.call(e,t);if(fw(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function N8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=BT(e,"aria-describedby").map(function(s){return O8(s,h$(h$({},t),{},{compute:"description"}))}).join(" ");if(r===""){var l=e.getAttribute("title");r=l===null?"":l}return r}function HX(e){return Rm(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function AM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return HX(e)?"":O8(e,t)}var xs={},fE={},dT={},dE={},m$;function VX(){if(m$)return dE;m$=1,Object.defineProperty(dE,"__esModule",{value:!0}),dE.default=void 0;function e(){var r=this,l=0,s={"@@iterator":function(){return s},next:function(){if(l<r.length){var h=r[l];return l=l+1,{done:!1,value:h}}else return{done:!0}}};return s}var t=e;return dE.default=t,dE}var v$;function Ow(){if(v$)return dT;v$=1,Object.defineProperty(dT,"__esModule",{value:!0}),dT.default=l;var e=t(VX());function t(s){return s&&s.__esModule?s:{default:s}}function r(s){"@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(s)}function l(s,c){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(s,Symbol.iterator,{value:e.default.bind(c)}),s}return dT}var g$;function FX(){if(g$)return fE;g$=1,Object.defineProperty(fE,"__esModule",{value:!0}),fE.default=void 0;var e=t(Ow());function t(R){return R&&R.__esModule?R:{default:R}}function r(R,M){return c(R)||s(R,M)||m(R,M)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
281
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(R,M){var q=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(q!=null){var N=[],L=!0,P=!1,U,I;try{for(q=q.call(R);!(L=(U=q.next()).done)&&(N.push(U.value),!(M&&N.length===M));L=!0);}catch(Y){P=!0,I=Y}finally{try{!L&&q.return!=null&&q.return()}finally{if(P)throw I}}return N}}function c(R){if(Array.isArray(R))return R}function h(R,M){var q=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!q){if(Array.isArray(R)||(q=m(R))||M){q&&(R=q);var N=0,L=function(){};return{s:L,n:function(){return N>=R.length?{done:!0}:{done:!1,value:R[N++]}},e:function(V){throw V},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
282
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P=!0,U=!1,I;return{s:function(){q=q.call(R)},n:function(){var V=q.next();return P=V.done,V},e:function(V){U=!0,I=V},f:function(){try{!P&&q.return!=null&&q.return()}finally{if(U)throw I}}}}function m(R,M){if(R){if(typeof R=="string")return b(R,M);var q=Object.prototype.toString.call(R).slice(8,-1);if(q==="Object"&&R.constructor&&(q=R.constructor.name),q==="Map"||q==="Set")return Array.from(R);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return b(R,M)}}function b(R,M){(M==null||M>R.length)&&(M=R.length);for(var q=0,N=new Array(M);q<M;q++)N[q]=R[q];return N}var E=[["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"}]],C={entries:function(){return E},forEach:function(M){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=h(E),L;try{for(N.s();!(L=N.n()).done;){var P=r(L.value,2),U=P[0],I=P[1];M.call(q,I,U,E)}}catch(Y){N.e(Y)}finally{N.f()}},get:function(M){var q=E.find(function(N){return N[0]===M});return q&&q[1]},has:function(M){return!!C.get(M)},keys:function(){return E.map(function(M){var q=r(M,1),N=q[0];return N})},values:function(){return E.map(function(M){var q=r(M,2),N=q[1];return N})}},S=(0,e.default)(C,C.entries());return fE.default=S,fE}var pE={},y$;function KX(){if(y$)return pE;y$=1,Object.defineProperty(pE,"__esModule",{value:!0}),pE.default=void 0;var e=t(Ow());function t(R){return R&&R.__esModule?R:{default:R}}function r(R,M){return c(R)||s(R,M)||m(R,M)||l()}function l(){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 s(R,M){var q=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(q!=null){var N=[],L=!0,P=!1,U,I;try{for(q=q.call(R);!(L=(U=q.next()).done)&&(N.push(U.value),!(M&&N.length===M));L=!0);}catch(Y){P=!0,I=Y}finally{try{!L&&q.return!=null&&q.return()}finally{if(P)throw I}}return N}}function c(R){if(Array.isArray(R))return R}function h(R,M){var q=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!q){if(Array.isArray(R)||(q=m(R))||M){q&&(R=q);var N=0,L=function(){};return{s:L,n:function(){return N>=R.length?{done:!0}:{done:!1,value:R[N++]}},e:function(V){throw V},f:L}}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 P=!0,U=!1,I;return{s:function(){q=q.call(R)},n:function(){var V=q.next();return P=V.done,V},e:function(V){U=!0,I=V},f:function(){try{!P&&q.return!=null&&q.return()}finally{if(U)throw I}}}}function m(R,M){if(R){if(typeof R=="string")return b(R,M);var q=Object.prototype.toString.call(R).slice(8,-1);if(q==="Object"&&R.constructor&&(q=R.constructor.name),q==="Map"||q==="Set")return Array.from(R);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return b(R,M)}}function b(R,M){(M==null||M>R.length)&&(M=R.length);for(var q=0,N=new Array(M);q<M;q++)N[q]=R[q];return N}var E=[["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}]],C={entries:function(){return E},forEach:function(M){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=h(E),L;try{for(N.s();!(L=N.n()).done;){var P=r(L.value,2),U=P[0],I=P[1];M.call(q,I,U,E)}}catch(Y){N.e(Y)}finally{N.f()}},get:function(M){var q=E.find(function(N){return N[0]===M});return q&&q[1]},has:function(M){return!!C.get(M)},keys:function(){return E.map(function(M){var q=r(M,1),N=q[0];return N})},values:function(){return E.map(function(M){var q=r(M,2),N=q[1];return N})}},S=(0,e.default)(C,C.entries());return pE.default=S,pE}var hE={},mE={},vE={},b$;function GX(){if(b$)return vE;b$=1,Object.defineProperty(vE,"__esModule",{value:!0}),vE.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 vE.default=t,vE}var gE={},x$;function YX(){if(x$)return gE;x$=1,Object.defineProperty(gE,"__esModule",{value:!0}),gE.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 gE.default=t,gE}var yE={},E$;function XX(){if(E$)return yE;E$=1,Object.defineProperty(yE,"__esModule",{value:!0}),yE.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 yE.default=t,yE}var bE={},S$;function QX(){if(S$)return bE;S$=1,Object.defineProperty(bE,"__esModule",{value:!0}),bE.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 bE.default=t,bE}var xE={},C$;function ZX(){if(C$)return xE;C$=1,Object.defineProperty(xE,"__esModule",{value:!0}),xE.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 xE.default=t,xE}var EE={},w$;function WX(){if(w$)return EE;w$=1,Object.defineProperty(EE,"__esModule",{value:!0}),EE.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 EE.default=t,EE}var SE={},R$;function JX(){if(R$)return SE;R$=1,Object.defineProperty(SE,"__esModule",{value:!0}),SE.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 SE.default=t,SE}var CE={},T$;function eQ(){if(T$)return CE;T$=1,Object.defineProperty(CE,"__esModule",{value:!0}),CE.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 CE.default=t,CE}var wE={},_$;function tQ(){if(_$)return wE;_$=1,Object.defineProperty(wE,"__esModule",{value:!0}),wE.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 wE.default=t,wE}var RE={},A$;function nQ(){if(A$)return RE;A$=1,Object.defineProperty(RE,"__esModule",{value:!0}),RE.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 RE.default=t,RE}var TE={},D$;function rQ(){if(D$)return TE;D$=1,Object.defineProperty(TE,"__esModule",{value:!0}),TE.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 TE.default=t,TE}var _E={},M$;function aQ(){if(M$)return _E;M$=1,Object.defineProperty(_E,"__esModule",{value:!0}),_E.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 _E.default=t,_E}var O$;function lQ(){if(O$)return mE;O$=1,Object.defineProperty(mE,"__esModule",{value:!0}),mE.default=void 0;var e=R(GX()),t=R(YX()),r=R(XX()),l=R(QX()),s=R(ZX()),c=R(WX()),h=R(JX()),m=R(eQ()),b=R(tQ()),E=R(nQ()),C=R(rQ()),S=R(aQ());function R(N){return N&&N.__esModule?N:{default:N}}var M=[["command",e.default],["composite",t.default],["input",r.default],["landmark",l.default],["range",s.default],["roletype",c.default],["section",h.default],["sectionhead",m.default],["select",b.default],["structure",E.default],["widget",C.default],["window",S.default]],q=M;return mE.default=q,mE}var AE={},DE={},N$;function oQ(){if(N$)return DE;N$=1,Object.defineProperty(DE,"__esModule",{value:!0}),DE.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 DE.default=t,DE}var ME={},$$;function iQ(){if($$)return ME;$$=1,Object.defineProperty(ME,"__esModule",{value:!0}),ME.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 ME.default=t,ME}var OE={},P$;function uQ(){if(P$)return OE;P$=1,Object.defineProperty(OE,"__esModule",{value:!0}),OE.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 OE.default=t,OE}var NE={},q$;function sQ(){if(q$)return NE;q$=1,Object.defineProperty(NE,"__esModule",{value:!0}),NE.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 NE.default=t,NE}var $E={},L$;function cQ(){if(L$)return $E;L$=1,Object.defineProperty($E,"__esModule",{value:!0}),$E.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 $E.default=t,$E}var PE={},j$;function fQ(){if(j$)return PE;j$=1,Object.defineProperty(PE,"__esModule",{value:!0}),PE.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 PE.default=t,PE}var qE={},z$;function dQ(){if(z$)return qE;z$=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:{"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 qE.default=t,qE}var LE={},B$;function pQ(){if(B$)return LE;B$=1,Object.defineProperty(LE,"__esModule",{value:!0}),LE.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 LE.default=t,LE}var jE={},k$;function hQ(){if(k$)return jE;k$=1,Object.defineProperty(jE,"__esModule",{value:!0}),jE.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 jE.default=t,jE}var zE={},U$;function mQ(){if(U$)return zE;U$=1,Object.defineProperty(zE,"__esModule",{value:!0}),zE.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 zE.default=t,zE}var BE={},I$;function vQ(){if(I$)return BE;I$=1,Object.defineProperty(BE,"__esModule",{value:!0}),BE.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 BE.default=t,BE}var kE={},H$;function gQ(){if(H$)return kE;H$=1,Object.defineProperty(kE,"__esModule",{value:!0}),kE.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 kE.default=t,kE}var UE={},V$;function yQ(){if(V$)return UE;V$=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-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 UE.default=t,UE}var IE={},F$;function bQ(){if(F$)return IE;F$=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:"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 IE.default=t,IE}var HE={},K$;function xQ(){if(K$)return HE;K$=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:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return HE.default=t,HE}var VE={},G$;function EQ(){if(G$)return VE;G$=1,Object.defineProperty(VE,"__esModule",{value:!0}),VE.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 VE.default=t,VE}var FE={},Y$;function SQ(){if(Y$)return FE;Y$=1,Object.defineProperty(FE,"__esModule",{value:!0}),FE.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 FE.default=t,FE}var KE={},X$;function CQ(){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:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return KE.default=t,KE}var GE={},Q$;function wQ(){if(Q$)return GE;Q$=1,Object.defineProperty(GE,"__esModule",{value:!0}),GE.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 GE.default=t,GE}var YE={},Z$;function RQ(){if(Z$)return YE;Z$=1,Object.defineProperty(YE,"__esModule",{value:!0}),YE.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 YE.default=t,YE}var XE={},W$;function TQ(){if(W$)return XE;W$=1,Object.defineProperty(XE,"__esModule",{value:!0}),XE.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 XE.default=t,XE}var QE={},J$;function _Q(){if(J$)return QE;J$=1,Object.defineProperty(QE,"__esModule",{value:!0}),QE.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 QE.default=t,QE}var ZE={},e5;function AQ(){if(e5)return ZE;e5=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:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ZE.default=t,ZE}var WE={},t5;function DQ(){if(t5)return WE;t5=1,Object.defineProperty(WE,"__esModule",{value:!0}),WE.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 WE.default=t,WE}var JE={},n5;function MQ(){if(n5)return JE;n5=1,Object.defineProperty(JE,"__esModule",{value:!0}),JE.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 JE.default=t,JE}var eS={},r5;function OQ(){if(r5)return eS;r5=1,Object.defineProperty(eS,"__esModule",{value:!0}),eS.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 eS.default=t,eS}var tS={},a5;function NQ(){if(a5)return tS;a5=1,Object.defineProperty(tS,"__esModule",{value:!0}),tS.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 tS.default=t,tS}var nS={},l5;function $Q(){if(l5)return nS;l5=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-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 nS.default=t,nS}var rS={},o5;function PQ(){if(o5)return rS;o5=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-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 rS.default=t,rS}var aS={},i5;function qQ(){if(i5)return aS;i5=1,Object.defineProperty(aS,"__esModule",{value:!0}),aS.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 aS.default=t,aS}var lS={},u5;function LQ(){if(u5)return lS;u5=1,Object.defineProperty(lS,"__esModule",{value:!0}),lS.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 lS.default=t,lS}var oS={},s5;function jQ(){if(s5)return oS;s5=1,Object.defineProperty(oS,"__esModule",{value:!0}),oS.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 oS.default=t,oS}var iS={},c5;function zQ(){if(c5)return iS;c5=1,Object.defineProperty(iS,"__esModule",{value:!0}),iS.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 iS.default=t,iS}var uS={},f5;function BQ(){if(f5)return uS;f5=1,Object.defineProperty(uS,"__esModule",{value:!0}),uS.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 uS.default=t,uS}var sS={},d5;function kQ(){if(d5)return sS;d5=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-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 sS.default=t,sS}var cS={},p5;function UQ(){if(p5)return cS;p5=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-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return cS.default=t,cS}var fS={},h5;function IQ(){if(h5)return fS;h5=1,Object.defineProperty(fS,"__esModule",{value:!0}),fS.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 fS.default=t,fS}var dS={},m5;function HQ(){if(m5)return dS;m5=1,Object.defineProperty(dS,"__esModule",{value:!0}),dS.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 dS.default=t,dS}var pS={},v5;function VQ(){if(v5)return pS;v5=1,Object.defineProperty(pS,"__esModule",{value:!0}),pS.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 pS.default=t,pS}var hS={},g5;function FQ(){if(g5)return hS;g5=1,Object.defineProperty(hS,"__esModule",{value:!0}),hS.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 hS.default=t,hS}var mS={},y5;function KQ(){if(y5)return mS;y5=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-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 mS.default=t,mS}var vS={},b5;function GQ(){if(b5)return vS;b5=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-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 vS.default=t,vS}var gS={},x5;function YQ(){if(x5)return gS;x5=1,Object.defineProperty(gS,"__esModule",{value:!0}),gS.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 gS.default=t,gS}var yS={},E5;function XQ(){if(E5)return yS;E5=1,Object.defineProperty(yS,"__esModule",{value:!0}),yS.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 yS.default=t,yS}var bS={},S5;function QQ(){if(S5)return bS;S5=1,Object.defineProperty(bS,"__esModule",{value:!0}),bS.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 bS.default=t,bS}var xS={},C5;function ZQ(){if(C5)return xS;C5=1,Object.defineProperty(xS,"__esModule",{value:!0}),xS.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 xS.default=t,xS}var ES={},w5;function WQ(){if(w5)return ES;w5=1,Object.defineProperty(ES,"__esModule",{value:!0}),ES.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 ES.default=t,ES}var SS={},R5;function JQ(){if(R5)return SS;R5=1,Object.defineProperty(SS,"__esModule",{value:!0}),SS.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return SS.default=t,SS}var CS={},T5;function eZ(){if(T5)return CS;T5=1,Object.defineProperty(CS,"__esModule",{value:!0}),CS.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 CS.default=t,CS}var wS={},_5;function tZ(){if(_5)return wS;_5=1,Object.defineProperty(wS,"__esModule",{value:!0}),wS.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 wS.default=t,wS}var RS={},A5;function nZ(){if(A5)return RS;A5=1,Object.defineProperty(RS,"__esModule",{value:!0}),RS.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 RS.default=t,RS}var TS={},D5;function rZ(){if(D5)return TS;D5=1,Object.defineProperty(TS,"__esModule",{value:!0}),TS.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 TS.default=t,TS}var _S={},M5;function aZ(){if(M5)return _S;M5=1,Object.defineProperty(_S,"__esModule",{value:!0}),_S.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 _S.default=t,_S}var AS={},O5;function lZ(){if(O5)return AS;O5=1,Object.defineProperty(AS,"__esModule",{value:!0}),AS.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 AS.default=t,AS}var DS={},N5;function oZ(){if(N5)return DS;N5=1,Object.defineProperty(DS,"__esModule",{value:!0}),DS.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 DS.default=t,DS}var MS={},$5;function iZ(){if($5)return MS;$5=1,Object.defineProperty(MS,"__esModule",{value:!0}),MS.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 MS.default=t,MS}var OS={},P5;function uZ(){if(P5)return OS;P5=1,Object.defineProperty(OS,"__esModule",{value:!0}),OS.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 OS.default=t,OS}var NS={},q5;function sZ(){if(q5)return NS;q5=1,Object.defineProperty(NS,"__esModule",{value:!0}),NS.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 NS.default=t,NS}var $S={},L5;function cZ(){if(L5)return $S;L5=1,Object.defineProperty($S,"__esModule",{value:!0}),$S.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 $S.default=t,$S}var PS={},j5;function fZ(){if(j5)return PS;j5=1,Object.defineProperty(PS,"__esModule",{value:!0}),PS.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 PS.default=t,PS}var qS={},z5;function dZ(){if(z5)return qS;z5=1,Object.defineProperty(qS,"__esModule",{value:!0}),qS.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 qS.default=t,qS}var LS={},B5;function pZ(){if(B5)return LS;B5=1,Object.defineProperty(LS,"__esModule",{value:!0}),LS.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 LS.default=t,LS}var jS={},k5;function hZ(){if(k5)return jS;k5=1,Object.defineProperty(jS,"__esModule",{value:!0}),jS.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 jS.default=t,jS}var zS={},U5;function mZ(){if(U5)return zS;U5=1,Object.defineProperty(zS,"__esModule",{value:!0}),zS.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 zS.default=t,zS}var BS={},I5;function vZ(){if(I5)return BS;I5=1,Object.defineProperty(BS,"__esModule",{value:!0}),BS.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 BS.default=t,BS}var kS={},H5;function gZ(){if(H5)return kS;H5=1,Object.defineProperty(kS,"__esModule",{value:!0}),kS.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 kS.default=t,kS}var US={},V5;function yZ(){if(V5)return US;V5=1,Object.defineProperty(US,"__esModule",{value:!0}),US.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 US.default=t,US}var IS={},F5;function bZ(){if(F5)return IS;F5=1,Object.defineProperty(IS,"__esModule",{value:!0}),IS.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 IS.default=t,IS}var HS={},K5;function xZ(){if(K5)return HS;K5=1,Object.defineProperty(HS,"__esModule",{value:!0}),HS.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 HS.default=t,HS}var VS={},G5;function EZ(){if(G5)return VS;G5=1,Object.defineProperty(VS,"__esModule",{value:!0}),VS.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 VS.default=t,VS}var FS={},Y5;function SZ(){if(Y5)return FS;Y5=1,Object.defineProperty(FS,"__esModule",{value:!0}),FS.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 FS.default=t,FS}var KS={},X5;function CZ(){if(X5)return KS;X5=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-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 KS.default=t,KS}var GS={},Q5;function wZ(){if(Q5)return GS;Q5=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-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 GS.default=t,GS}var YS={},Z5;function RZ(){if(Z5)return YS;Z5=1,Object.defineProperty(YS,"__esModule",{value:!0}),YS.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 YS.default=t,YS}var XS={},W5;function TZ(){if(W5)return XS;W5=1,Object.defineProperty(XS,"__esModule",{value:!0}),XS.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 XS.default=t,XS}var QS={},J5;function _Z(){if(J5)return QS;J5=1,Object.defineProperty(QS,"__esModule",{value:!0}),QS.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 QS.default=t,QS}var ZS={},e6;function AZ(){if(e6)return ZS;e6=1,Object.defineProperty(ZS,"__esModule",{value:!0}),ZS.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 ZS.default=t,ZS}var WS={},t6;function DZ(){if(t6)return WS;t6=1,Object.defineProperty(WS,"__esModule",{value:!0}),WS.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 WS.default=t,WS}var JS={},n6;function MZ(){if(n6)return JS;n6=1,Object.defineProperty(JS,"__esModule",{value:!0}),JS.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 JS.default=t,JS}var eC={},r6;function OZ(){if(r6)return eC;r6=1,Object.defineProperty(eC,"__esModule",{value:!0}),eC.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 eC.default=t,eC}var tC={},a6;function NZ(){if(a6)return tC;a6=1,Object.defineProperty(tC,"__esModule",{value:!0}),tC.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 tC.default=t,tC}var nC={},l6;function $Z(){if(l6)return nC;l6=1,Object.defineProperty(nC,"__esModule",{value:!0}),nC.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 nC.default=t,nC}var rC={},o6;function PZ(){if(o6)return rC;o6=1,Object.defineProperty(rC,"__esModule",{value:!0}),rC.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 rC.default=t,rC}var i6;function qZ(){if(i6)return AE;i6=1,Object.defineProperty(AE,"__esModule",{value:!0}),AE.default=void 0;var e=lt(oQ()),t=lt(iQ()),r=lt(uQ()),l=lt(sQ()),s=lt(cQ()),c=lt(fQ()),h=lt(dQ()),m=lt(pQ()),b=lt(hQ()),E=lt(mQ()),C=lt(vQ()),S=lt(gQ()),R=lt(yQ()),M=lt(bQ()),q=lt(xQ()),N=lt(EQ()),L=lt(SQ()),P=lt(CQ()),U=lt(wQ()),I=lt(RQ()),Y=lt(TQ()),V=lt(_Q()),F=lt(AQ()),K=lt(DQ()),Q=lt(MQ()),he=lt(OQ()),de=lt(NQ()),W=lt($Q()),se=lt(PQ()),le=lt(qQ()),ae=lt(LQ()),xe=lt(jQ()),B=lt(zQ()),Z=lt(BQ()),te=lt(kQ()),be=lt(UQ()),re=lt(IQ()),oe=lt(HQ()),ue=lt(VQ()),ce=lt(FQ()),De=lt(KQ()),je=lt(GQ()),Ke=lt(YQ()),_e=lt(XQ()),Je=lt(QQ()),ie=lt(ZQ()),ke=lt(WQ()),Ee=lt(JQ()),Ae=lt(eZ()),ot=lt(tZ()),vt=lt(nZ()),Xt=lt(rZ()),Nt=lt(aZ()),Kn=lt(lZ()),As=lt(oZ()),Ds=lt(iZ()),pe=lt(uZ()),$e=lt(sZ()),Ve=lt(cZ()),st=lt(fZ()),rt=lt(dZ()),at=lt(pZ()),bt=lt(hZ()),Wt=lt(mZ()),Yt=lt(vZ()),ya=lt(gZ()),Qo=lt(yZ()),pl=lt(bZ()),Ms=lt(xZ()),hl=lt(EZ()),Mr=lt(SZ()),ml=lt(CZ()),Or=lt(wZ()),Os=lt(RZ()),kc=lt(TZ()),Cp=lt(_Z()),gi=lt(AZ()),Kl=lt(DZ()),yi=lt(MZ()),Gl=lt(OZ()),xr=lt(NZ()),xo=lt($Z()),Ns=lt(PZ());function lt(Iu){return Iu&&Iu.__esModule?Iu:{default:Iu}}var Uc=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",l.default],["banner",s.default],["blockquote",c.default],["button",h.default],["caption",m.default],["cell",b.default],["checkbox",E.default],["code",C.default],["columnheader",S.default],["combobox",R.default],["complementary",M.default],["contentinfo",q.default],["definition",N.default],["deletion",L.default],["dialog",P.default],["directory",U.default],["document",I.default],["emphasis",Y.default],["feed",V.default],["figure",F.default],["form",K.default],["generic",Q.default],["grid",he.default],["gridcell",de.default],["group",W.default],["heading",se.default],["img",le.default],["insertion",ae.default],["link",xe.default],["list",B.default],["listbox",Z.default],["listitem",te.default],["log",be.default],["main",re.default],["mark",oe.default],["marquee",ue.default],["math",ce.default],["menu",De.default],["menubar",je.default],["menuitem",Ke.default],["menuitemcheckbox",_e.default],["menuitemradio",Je.default],["meter",ie.default],["navigation",ke.default],["none",Ee.default],["note",Ae.default],["option",ot.default],["paragraph",vt.default],["presentation",Xt.default],["progressbar",Nt.default],["radio",Kn.default],["radiogroup",As.default],["region",Ds.default],["row",pe.default],["rowgroup",$e.default],["rowheader",Ve.default],["scrollbar",st.default],["search",rt.default],["searchbox",at.default],["separator",bt.default],["slider",Wt.default],["spinbutton",Yt.default],["status",ya.default],["strong",Qo.default],["subscript",pl.default],["superscript",Ms.default],["switch",hl.default],["tab",Mr.default],["table",ml.default],["tablist",Or.default],["tabpanel",Os.default],["term",kc.default],["textbox",Cp.default],["time",gi.default],["timer",Kl.default],["toolbar",yi.default],["tooltip",Gl.default],["tree",xr.default],["treegrid",xo.default],["treeitem",Ns.default]],$s=Uc;return AE.default=$s,AE}var aC={},lC={},u6;function LZ(){if(u6)return lC;u6=1,Object.defineProperty(lC,"__esModule",{value:!0}),lC.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 lC.default=t,lC}var oC={},s6;function jZ(){if(s6)return oC;s6=1,Object.defineProperty(oC,"__esModule",{value:!0}),oC.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 oC.default=t,oC}var iC={},c6;function zZ(){if(c6)return iC;c6=1,Object.defineProperty(iC,"__esModule",{value:!0}),iC.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 iC.default=t,iC}var uC={},f6;function BZ(){if(f6)return uC;f6=1,Object.defineProperty(uC,"__esModule",{value:!0}),uC.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 uC.default=t,uC}var sC={},d6;function kZ(){if(d6)return sC;d6=1,Object.defineProperty(sC,"__esModule",{value:!0}),sC.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 sC.default=t,sC}var cC={},p6;function UZ(){if(p6)return cC;p6=1,Object.defineProperty(cC,"__esModule",{value:!0}),cC.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 cC.default=t,cC}var fC={},h6;function IZ(){if(h6)return fC;h6=1,Object.defineProperty(fC,"__esModule",{value:!0}),fC.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 fC.default=t,fC}var dC={},m6;function HZ(){if(m6)return dC;m6=1,Object.defineProperty(dC,"__esModule",{value:!0}),dC.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 dC.default=t,dC}var pC={},v6;function VZ(){if(v6)return pC;v6=1,Object.defineProperty(pC,"__esModule",{value:!0}),pC.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 pC.default=t,pC}var hC={},g6;function FZ(){if(g6)return hC;g6=1,Object.defineProperty(hC,"__esModule",{value:!0}),hC.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 hC.default=t,hC}var mC={},y6;function KZ(){if(y6)return mC;y6=1,Object.defineProperty(mC,"__esModule",{value:!0}),mC.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 mC.default=t,mC}var vC={},b6;function GZ(){if(b6)return vC;b6=1,Object.defineProperty(vC,"__esModule",{value:!0}),vC.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 vC.default=t,vC}var gC={},x6;function YZ(){if(x6)return gC;x6=1,Object.defineProperty(gC,"__esModule",{value:!0}),gC.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 gC.default=t,gC}var yC={},E6;function XZ(){if(E6)return yC;E6=1,Object.defineProperty(yC,"__esModule",{value:!0}),yC.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 yC.default=t,yC}var bC={},S6;function QZ(){if(S6)return bC;S6=1,Object.defineProperty(bC,"__esModule",{value:!0}),bC.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 bC.default=t,bC}var xC={},C6;function ZZ(){if(C6)return xC;C6=1,Object.defineProperty(xC,"__esModule",{value:!0}),xC.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 xC.default=t,xC}var EC={},w6;function WZ(){if(w6)return EC;w6=1,Object.defineProperty(EC,"__esModule",{value:!0}),EC.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 EC.default=t,EC}var SC={},R6;function JZ(){if(R6)return SC;R6=1,Object.defineProperty(SC,"__esModule",{value:!0}),SC.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 SC.default=t,SC}var CC={},T6;function eW(){if(T6)return CC;T6=1,Object.defineProperty(CC,"__esModule",{value:!0}),CC.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 CC.default=t,CC}var wC={},_6;function tW(){if(_6)return wC;_6=1,Object.defineProperty(wC,"__esModule",{value:!0}),wC.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 wC.default=t,wC}var RC={},A6;function nW(){if(A6)return RC;A6=1,Object.defineProperty(RC,"__esModule",{value:!0}),RC.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 RC.default=t,RC}var TC={},D6;function rW(){if(D6)return TC;D6=1,Object.defineProperty(TC,"__esModule",{value:!0}),TC.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 TC.default=t,TC}var _C={},M6;function aW(){if(M6)return _C;M6=1,Object.defineProperty(_C,"__esModule",{value:!0}),_C.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 _C.default=t,_C}var AC={},O6;function lW(){if(O6)return AC;O6=1,Object.defineProperty(AC,"__esModule",{value:!0}),AC.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 AC.default=t,AC}var DC={},N6;function oW(){if(N6)return DC;N6=1,Object.defineProperty(DC,"__esModule",{value:!0}),DC.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 DC.default=t,DC}var MC={},$6;function iW(){if($6)return MC;$6=1,Object.defineProperty(MC,"__esModule",{value:!0}),MC.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 MC.default=t,MC}var OC={},P6;function uW(){if(P6)return OC;P6=1,Object.defineProperty(OC,"__esModule",{value:!0}),OC.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 OC.default=t,OC}var NC={},q6;function sW(){if(q6)return NC;q6=1,Object.defineProperty(NC,"__esModule",{value:!0}),NC.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 NC.default=t,NC}var $C={},L6;function cW(){if(L6)return $C;L6=1,Object.defineProperty($C,"__esModule",{value:!0}),$C.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 $C.default=t,$C}var PC={},j6;function fW(){if(j6)return PC;j6=1,Object.defineProperty(PC,"__esModule",{value:!0}),PC.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 PC.default=t,PC}var qC={},z6;function dW(){if(z6)return qC;z6=1,Object.defineProperty(qC,"__esModule",{value:!0}),qC.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 qC.default=t,qC}var LC={},B6;function pW(){if(B6)return LC;B6=1,Object.defineProperty(LC,"__esModule",{value:!0}),LC.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 LC.default=t,LC}var jC={},k6;function hW(){if(k6)return jC;k6=1,Object.defineProperty(jC,"__esModule",{value:!0}),jC.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 jC.default=t,jC}var zC={},U6;function mW(){if(U6)return zC;U6=1,Object.defineProperty(zC,"__esModule",{value:!0}),zC.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 zC.default=t,zC}var BC={},I6;function vW(){if(I6)return BC;I6=1,Object.defineProperty(BC,"__esModule",{value:!0}),BC.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 BC.default=t,BC}var kC={},H6;function gW(){if(H6)return kC;H6=1,Object.defineProperty(kC,"__esModule",{value:!0}),kC.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 kC.default=t,kC}var UC={},V6;function yW(){if(V6)return UC;V6=1,Object.defineProperty(UC,"__esModule",{value:!0}),UC.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 UC.default=t,UC}var IC={},F6;function bW(){if(F6)return IC;F6=1,Object.defineProperty(IC,"__esModule",{value:!0}),IC.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 IC.default=t,IC}var HC={},K6;function xW(){if(K6)return HC;K6=1,Object.defineProperty(HC,"__esModule",{value:!0}),HC.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 HC.default=t,HC}var G6;function EW(){if(G6)return aC;G6=1,Object.defineProperty(aC,"__esModule",{value:!0}),aC.default=void 0;var e=ce(LZ()),t=ce(jZ()),r=ce(zZ()),l=ce(BZ()),s=ce(kZ()),c=ce(UZ()),h=ce(IZ()),m=ce(HZ()),b=ce(VZ()),E=ce(FZ()),C=ce(KZ()),S=ce(GZ()),R=ce(YZ()),M=ce(XZ()),q=ce(QZ()),N=ce(ZZ()),L=ce(WZ()),P=ce(JZ()),U=ce(eW()),I=ce(tW()),Y=ce(nW()),V=ce(rW()),F=ce(aW()),K=ce(lW()),Q=ce(oW()),he=ce(iW()),de=ce(uW()),W=ce(sW()),se=ce(cW()),le=ce(fW()),ae=ce(dW()),xe=ce(pW()),B=ce(hW()),Z=ce(mW()),te=ce(vW()),be=ce(gW()),re=ce(yW()),oe=ce(bW()),ue=ce(xW());function ce(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}var De=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",l.default],["doc-backlink",s.default],["doc-biblioentry",c.default],["doc-bibliography",h.default],["doc-biblioref",m.default],["doc-chapter",b.default],["doc-colophon",E.default],["doc-conclusion",C.default],["doc-cover",S.default],["doc-credit",R.default],["doc-credits",M.default],["doc-dedication",q.default],["doc-endnote",N.default],["doc-endnotes",L.default],["doc-epigraph",P.default],["doc-epilogue",U.default],["doc-errata",I.default],["doc-example",Y.default],["doc-footnote",V.default],["doc-foreword",F.default],["doc-glossary",K.default],["doc-glossref",Q.default],["doc-index",he.default],["doc-introduction",de.default],["doc-noteref",W.default],["doc-notice",se.default],["doc-pagebreak",le.default],["doc-pagelist",ae.default],["doc-part",xe.default],["doc-preface",B.default],["doc-prologue",Z.default],["doc-pullquote",te.default],["doc-qna",be.default],["doc-subtitle",re.default],["doc-tip",oe.default],["doc-toc",ue.default]],je=De;return aC.default=je,aC}var VC={},FC={},Y6;function SW(){if(Y6)return FC;Y6=1,Object.defineProperty(FC,"__esModule",{value:!0}),FC.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 FC.default=t,FC}var KC={},X6;function CW(){if(X6)return KC;X6=1,Object.defineProperty(KC,"__esModule",{value:!0}),KC.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 KC.default=t,KC}var GC={},Q6;function wW(){if(Q6)return GC;Q6=1,Object.defineProperty(GC,"__esModule",{value:!0}),GC.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 GC.default=t,GC}var Z6;function RW(){if(Z6)return VC;Z6=1,Object.defineProperty(VC,"__esModule",{value:!0}),VC.default=void 0;var e=l(SW()),t=l(CW()),r=l(wW());function l(h){return h&&h.__esModule?h:{default:h}}var s=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],c=s;return VC.default=c,VC}var W6;function DM(){if(W6)return hE;W6=1,Object.defineProperty(hE,"__esModule",{value:!0}),hE.default=void 0;var e=c(lQ()),t=c(qZ()),r=c(EW()),l=c(RW()),s=c(Ow());function c(P){return P&&P.__esModule?P:{default:P}}function h(P,U,I){return U in P?Object.defineProperty(P,U,{value:I,enumerable:!0,configurable:!0,writable:!0}):P[U]=I,P}function m(P,U){var I=typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(!I){if(Array.isArray(P)||(I=C(P))||U){I&&(P=I);var Y=0,V=function(){};return{s:V,n:function(){return Y>=P.length?{done:!0}:{done:!1,value:P[Y++]}},e:function(de){throw de},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,K=!1,Q;return{s:function(){I=I.call(P)},n:function(){var de=I.next();return F=de.done,de},e:function(de){K=!0,Q=de},f:function(){try{!F&&I.return!=null&&I.return()}finally{if(K)throw Q}}}}function b(P,U){return M(P)||R(P,U)||C(P,U)||E()}function E(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
286
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(P,U){if(P){if(typeof P=="string")return S(P,U);var I=Object.prototype.toString.call(P).slice(8,-1);if(I==="Object"&&P.constructor&&(I=P.constructor.name),I==="Map"||I==="Set")return Array.from(P);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return S(P,U)}}function S(P,U){(U==null||U>P.length)&&(U=P.length);for(var I=0,Y=new Array(U);I<U;I++)Y[I]=P[I];return Y}function R(P,U){var I=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(I!=null){var Y=[],V=!0,F=!1,K,Q;try{for(I=I.call(P);!(V=(K=I.next()).done)&&(Y.push(K.value),!(U&&Y.length===U));V=!0);}catch(he){F=!0,Q=he}finally{try{!V&&I.return!=null&&I.return()}finally{if(F)throw Q}}return Y}}function M(P){if(Array.isArray(P))return P}var q=[].concat(e.default,t.default,r.default,l.default);q.forEach(function(P){var U=b(P,2),I=U[1],Y=m(I.superClass),V;try{for(Y.s();!(V=Y.n()).done;){var F=V.value,K=m(F),Q;try{var he=function(){var W=Q.value,se=q.find(function(Z){var te=b(Z,1),be=te[0];return be===W});if(se)for(var le=se[1],ae=0,xe=Object.keys(le.props);ae<xe.length;ae++){var B=xe[ae];Object.prototype.hasOwnProperty.call(I.props,B)||Object.assign(I.props,h({},B,le.props[B]))}};for(K.s();!(Q=K.n()).done;)he()}catch(de){K.e(de)}finally{K.f()}}}catch(de){Y.e(de)}finally{Y.f()}});var N={entries:function(){return q},forEach:function(U){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Y=m(q),V;try{for(Y.s();!(V=Y.n()).done;){var F=b(V.value,2),K=F[0],Q=F[1];U.call(I,Q,K,q)}}catch(he){Y.e(he)}finally{Y.f()}},get:function(U){var I=q.find(function(Y){return Y[0]===U});return I&&I[1]},has:function(U){return!!N.get(U)},keys:function(){return q.map(function(U){var I=b(U,1),Y=I[0];return Y})},values:function(){return q.map(function(U){var I=b(U,2),Y=I[1];return Y})}},L=(0,s.default)(N,N.entries());return hE.default=L,hE}var YC={},OD={},J6;function TW(){if(J6)return OD;J6=1;var e=Object.prototype.hasOwnProperty;function t(r,l){var s,c;if(r===l)return!0;if(r&&l&&(s=r.constructor)===l.constructor){if(s===Date)return r.getTime()===l.getTime();if(s===RegExp)return r.toString()===l.toString();if(s===Array){if((c=r.length)===l.length)for(;c--&&t(r[c],l[c]););return c===-1}if(!s||typeof r=="object"){c=0;for(s in r)if(e.call(r,s)&&++c&&!e.call(l,s)||!(s in l)||!t(r[s],l[s]))return!1;return Object.keys(l).length===c}}return r!==r&&l!==l}return OD.dequal=t,OD}var eP;function _W(){if(eP)return YC;eP=1,Object.defineProperty(YC,"__esModule",{value:!0}),YC.default=void 0;var e=TW(),t=l(Ow()),r=l(DM());function l(V){return V&&V.__esModule?V:{default:V}}function s(V,F){return m(V)||h(V,F)||E(V,F)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
287
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(V,F){var K=V==null?null:typeof Symbol<"u"&&V[Symbol.iterator]||V["@@iterator"];if(K!=null){var Q=[],he=!0,de=!1,W,se;try{for(K=K.call(V);!(he=(W=K.next()).done)&&(Q.push(W.value),!(F&&Q.length===F));he=!0);}catch(le){de=!0,se=le}finally{try{!he&&K.return!=null&&K.return()}finally{if(de)throw se}}return Q}}function m(V){if(Array.isArray(V))return V}function b(V,F){var K=typeof Symbol<"u"&&V[Symbol.iterator]||V["@@iterator"];if(!K){if(Array.isArray(V)||(K=E(V))||F){K&&(V=K);var Q=0,he=function(){};return{s:he,n:function(){return Q>=V.length?{done:!0}:{done:!1,value:V[Q++]}},e:function(ae){throw ae},f:he}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
288
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de=!0,W=!1,se;return{s:function(){K=K.call(V)},n:function(){var ae=K.next();return de=ae.done,ae},e:function(ae){W=!0,se=ae},f:function(){try{!de&&K.return!=null&&K.return()}finally{if(W)throw se}}}}function E(V,F){if(V){if(typeof V=="string")return C(V,F);var K=Object.prototype.toString.call(V).slice(8,-1);if(K==="Object"&&V.constructor&&(K=V.constructor.name),K==="Map"||K==="Set")return Array.from(V);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return C(V,F)}}function C(V,F){(F==null||F>V.length)&&(F=V.length);for(var K=0,Q=new Array(F);K<F;K++)Q[K]=V[K];return Q}for(var S=[],R=r.default.keys(),M=0;M<R.length;M++){var q=R[M],N=r.default.get(q);if(N)for(var L=[].concat(N.baseConcepts,N.relatedConcepts),P=0;P<L.length;P++){var U=L[P];U.module==="HTML"&&(function(){var V=U.concept;if(V){var F=S.find(function(de){return(0,e.dequal)(de,V)}),K;F?K=F[1]:K=[];for(var Q=!0,he=0;he<K.length;he++)if(K[he]===q){Q=!1;break}Q&&K.push(q),S.push([V,K])}})()}}var I={entries:function(){return S},forEach:function(F){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=b(S),he;try{for(Q.s();!(he=Q.n()).done;){var de=s(he.value,2),W=de[0],se=de[1];F.call(K,se,W,S)}}catch(le){Q.e(le)}finally{Q.f()}},get:function(F){var K=S.find(function(Q){return F.name===Q[0].name&&(0,e.dequal)(F.attributes,Q[0].attributes)});return K&&K[1]},has:function(F){return!!I.get(F)},keys:function(){return S.map(function(F){var K=s(F,1),Q=K[0];return Q})},values:function(){return S.map(function(F){var K=s(F,2),Q=K[1];return Q})}},Y=(0,t.default)(I,I.entries());return YC.default=Y,YC}var XC={},tP;function AW(){if(tP)return XC;tP=1,Object.defineProperty(XC,"__esModule",{value:!0}),XC.default=void 0;var e=r(Ow()),t=r(DM());function r(F){return F&&F.__esModule?F:{default:F}}function l(F,K){return h(F)||c(F,K)||b(F,K)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
289
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(F,K){var Q=F==null?null:typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(Q!=null){var he=[],de=!0,W=!1,se,le;try{for(Q=Q.call(F);!(de=(se=Q.next()).done)&&(he.push(se.value),!(K&&he.length===K));de=!0);}catch(ae){W=!0,le=ae}finally{try{!de&&Q.return!=null&&Q.return()}finally{if(W)throw le}}return he}}function h(F){if(Array.isArray(F))return F}function m(F,K){var Q=typeof Symbol<"u"&&F[Symbol.iterator]||F["@@iterator"];if(!Q){if(Array.isArray(F)||(Q=b(F))||K){Q&&(F=Q);var he=0,de=function(){};return{s:de,n:function(){return he>=F.length?{done:!0}:{done:!1,value:F[he++]}},e:function(xe){throw xe},f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
290
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W=!0,se=!1,le;return{s:function(){Q=Q.call(F)},n:function(){var xe=Q.next();return W=xe.done,xe},e:function(xe){se=!0,le=xe},f:function(){try{!W&&Q.return!=null&&Q.return()}finally{if(se)throw le}}}}function b(F,K){if(F){if(typeof F=="string")return E(F,K);var Q=Object.prototype.toString.call(F).slice(8,-1);if(Q==="Object"&&F.constructor&&(Q=F.constructor.name),Q==="Map"||Q==="Set")return Array.from(F);if(Q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q))return E(F,K)}}function E(F,K){(K==null||K>F.length)&&(K=F.length);for(var Q=0,he=new Array(K);Q<K;Q++)he[Q]=F[Q];return he}for(var C=[],S=t.default.keys(),R=0;R<S.length;R++){var M=S[R],q=t.default.get(M),N=[];if(q){for(var L=[].concat(q.baseConcepts,q.relatedConcepts),P=0;P<L.length;P++){var U=L[P];if(U.module==="HTML"){var I=U.concept;I!=null&&N.push(I)}}N.length>0&&C.push([M,N])}}var Y={entries:function(){return C},forEach:function(K){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,he=m(C),de;try{for(he.s();!(de=he.n()).done;){var W=l(de.value,2),se=W[0],le=W[1];K.call(Q,le,se,C)}}catch(ae){he.e(ae)}finally{he.f()}},get:function(K){var Q=C.find(function(he){return he[0]===K});return Q&&Q[1]},has:function(K){return!!Y.get(K)},keys:function(){return C.map(function(K){var Q=l(K,1),he=Q[0];return he})},values:function(){return C.map(function(K){var Q=l(K,2),he=Q[1];return he})}},V=(0,e.default)(Y,Y.entries());return XC.default=V,XC}var nP;function DW(){if(nP)return xs;nP=1,Object.defineProperty(xs,"__esModule",{value:!0}),xs.roles=xs.roleElements=xs.elementRoles=xs.dom=xs.aria=void 0;var e=c(FX()),t=c(KX()),r=c(DM()),l=c(_W()),s=c(AW());function c(S){return S&&S.__esModule?S:{default:S}}var h=e.default;xs.aria=h;var m=t.default;xs.dom=m;var b=r.default;xs.roles=b;var E=l.default;xs.elementRoles=E;var C=s.default;return xs.roleElements=C,xs}var Nc=DW(),ND={exports:{}},rP;function MW(){return rP||(rP=1,(function(e){var t=(function(){var r=String.fromCharCode,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",c={};function h(b,E){if(!c[b]){c[b]={};for(var C=0;C<b.length;C++)c[b][b.charAt(C)]=C}return c[b][E]}var m={compressToBase64:function(b){if(b==null)return"";var E=m._compress(b,6,function(C){return l.charAt(C)});switch(E.length%4){default:case 0:return E;case 1:return E+"===";case 2:return E+"==";case 3:return E+"="}},decompressFromBase64:function(b){return b==null?"":b==""?null:m._decompress(b.length,32,function(E){return h(l,b.charAt(E))})},compressToUTF16:function(b){return b==null?"":m._compress(b,15,function(E){return r(E+32)})+" "},decompressFromUTF16:function(b){return b==null?"":b==""?null:m._decompress(b.length,16384,function(E){return b.charCodeAt(E)-32})},compressToUint8Array:function(b){for(var E=m.compress(b),C=new Uint8Array(E.length*2),S=0,R=E.length;S<R;S++){var M=E.charCodeAt(S);C[S*2]=M>>>8,C[S*2+1]=M%256}return C},decompressFromUint8Array:function(b){if(b==null)return m.decompress(b);for(var E=new Array(b.length/2),C=0,S=E.length;C<S;C++)E[C]=b[C*2]*256+b[C*2+1];var R=[];return E.forEach(function(M){R.push(r(M))}),m.decompress(R.join(""))},compressToEncodedURIComponent:function(b){return b==null?"":m._compress(b,6,function(E){return s.charAt(E)})},decompressFromEncodedURIComponent:function(b){return b==null?"":b==""?null:(b=b.replace(/ /g,"+"),m._decompress(b.length,32,function(E){return h(s,b.charAt(E))}))},compress:function(b){return m._compress(b,16,function(E){return r(E)})},_compress:function(b,E,C){if(b==null)return"";var S,R,M={},q={},N="",L="",P="",U=2,I=3,Y=2,V=[],F=0,K=0,Q;for(Q=0;Q<b.length;Q+=1)if(N=b.charAt(Q),Object.prototype.hasOwnProperty.call(M,N)||(M[N]=I++,q[N]=!0),L=P+N,Object.prototype.hasOwnProperty.call(M,L))P=L;else{if(Object.prototype.hasOwnProperty.call(q,P)){if(P.charCodeAt(0)<256){for(S=0;S<Y;S++)F=F<<1,K==E-1?(K=0,V.push(C(F)),F=0):K++;for(R=P.charCodeAt(0),S=0;S<8;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1}else{for(R=1,S=0;S<Y;S++)F=F<<1|R,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=0;for(R=P.charCodeAt(0),S=0;S<16;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1}U--,U==0&&(U=Math.pow(2,Y),Y++),delete q[P]}else for(R=M[P],S=0;S<Y;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1;U--,U==0&&(U=Math.pow(2,Y),Y++),M[L]=I++,P=String(N)}if(P!==""){if(Object.prototype.hasOwnProperty.call(q,P)){if(P.charCodeAt(0)<256){for(S=0;S<Y;S++)F=F<<1,K==E-1?(K=0,V.push(C(F)),F=0):K++;for(R=P.charCodeAt(0),S=0;S<8;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1}else{for(R=1,S=0;S<Y;S++)F=F<<1|R,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=0;for(R=P.charCodeAt(0),S=0;S<16;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1}U--,U==0&&(U=Math.pow(2,Y),Y++),delete q[P]}else for(R=M[P],S=0;S<Y;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1;U--,U==0&&(U=Math.pow(2,Y),Y++)}for(R=2,S=0;S<Y;S++)F=F<<1|R&1,K==E-1?(K=0,V.push(C(F)),F=0):K++,R=R>>1;for(;;)if(F=F<<1,K==E-1){V.push(C(F));break}else K++;return V.join("")},decompress:function(b){return b==null?"":b==""?null:m._decompress(b.length,32768,function(E){return b.charCodeAt(E)})},_decompress:function(b,E,C){var S=[],R=4,M=4,q=3,N="",L=[],P,U,I,Y,V,F,K,Q={val:C(0),position:E,index:1};for(P=0;P<3;P+=1)S[P]=P;for(I=0,V=Math.pow(2,2),F=1;F!=V;)Y=Q.val&Q.position,Q.position>>=1,Q.position==0&&(Q.position=E,Q.val=C(Q.index++)),I|=(Y>0?1:0)*F,F<<=1;switch(I){case 0:for(I=0,V=Math.pow(2,8),F=1;F!=V;)Y=Q.val&Q.position,Q.position>>=1,Q.position==0&&(Q.position=E,Q.val=C(Q.index++)),I|=(Y>0?1:0)*F,F<<=1;K=r(I);break;case 1:for(I=0,V=Math.pow(2,16),F=1;F!=V;)Y=Q.val&Q.position,Q.position>>=1,Q.position==0&&(Q.position=E,Q.val=C(Q.index++)),I|=(Y>0?1:0)*F,F<<=1;K=r(I);break;case 2:return""}for(S[3]=K,U=K,L.push(K);;){if(Q.index>b)return"";for(I=0,V=Math.pow(2,q),F=1;F!=V;)Y=Q.val&Q.position,Q.position>>=1,Q.position==0&&(Q.position=E,Q.val=C(Q.index++)),I|=(Y>0?1:0)*F,F<<=1;switch(K=I){case 0:for(I=0,V=Math.pow(2,8),F=1;F!=V;)Y=Q.val&Q.position,Q.position>>=1,Q.position==0&&(Q.position=E,Q.val=C(Q.index++)),I|=(Y>0?1:0)*F,F<<=1;S[M++]=r(I),K=M-1,R--;break;case 1:for(I=0,V=Math.pow(2,16),F=1;F!=V;)Y=Q.val&Q.position,Q.position>>=1,Q.position==0&&(Q.position=E,Q.val=C(Q.index++)),I|=(Y>0?1:0)*F,F<<=1;S[M++]=r(I),K=M-1,R--;break;case 2:return L.join("")}if(R==0&&(R=Math.pow(2,q),q++),S[K])N=S[K];else if(K===M)N=U+U.charAt(0);else return null;L.push(N),S[M++]=U+N.charAt(0),R--,U=N,R==0&&(R=Math.pow(2,q),q++)}}};return m})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(ND)),ND.exports}var OW=MW();const NW=zq(OW);function $8(e){return e.replace(/</g,"<").replace(/>/g,">")}const $W=(e,t,r,l,s,c,h)=>{const m=l+r.indent,b=r.colors;return e.map(E=>{const C=t[E];let S=h(C,r,m,s,c);return typeof C!="string"&&(S.indexOf(`
|
|
291
|
+
`)!==-1&&(S=r.spacingOuter+m+S+r.spacingOuter+l),S="{"+S+"}"),r.spacingInner+l+b.prop.open+E+b.prop.close+"="+b.value.open+S+b.value.close}).join("")},PW=3,qW=(e,t,r,l,s,c)=>e.map(h=>{const m=typeof h=="string"?P8(h,t):c(h,t,r,l,s);return m===""&&typeof h=="object"&&h!==null&&h.nodeType!==PW?"":t.spacingOuter+r+m}).join(""),P8=(e,t)=>{const r=t.colors.content;return r.open+$8(e)+r.close},LW=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+$8(e)+"-->"+r.close},jW=(e,t,r,l,s)=>{const c=l.colors.tag;return c.open+"<"+e+(t&&c.close+t+l.spacingOuter+s+c.open)+(r?">"+c.close+r+l.spacingOuter+s+c.open+"</"+e:(t&&!l.min?"":" ")+"/")+">"+c.close},zW=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},BW=1,q8=3,L8=8,j8=11,kW=/^((HTML|SVG)\w*)?Element$/,z8=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},UW=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===BW&&(kW.test(t)||z8(e))||r===q8&&t==="Text"||r===L8&&t==="Comment"||r===j8&&t==="DocumentFragment"};function IW(e){return e.nodeType===q8}function HW(e){return e.nodeType===L8}function $D(e){return e.nodeType===j8}function VW(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||z8(t))&&UW(t)},serialize:(t,r,l,s,c,h)=>{if(IW(t))return P8(t.data,r);if(HW(t))return LW(t.data,r);const m=$D(t)?"DocumentFragment":t.tagName.toLowerCase();return++s>r.maxDepth?zW(m,r):jW(m,$W($D(t)?[]:Array.from(t.attributes).map(b=>b.name).sort(),$D(t)?{}:Array.from(t.attributes).reduce((b,E)=>(b[E.name]=E.value,b),{}),r,l+r.indent,s,c,h),qW(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,l+r.indent,s,c,h),r,l)}}}let B8=null,MM=null,OM=null;try{const e=module&&module.require;MM=e.call(module,"fs").readFileSync,OM=e.call(module,"@babel/code-frame").codeFrameColumns,B8=e.call(module,"chalk")}catch{}function FW(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),l=e.slice(t,r),s=l.split(":"),[c,h,m]=[s[0],parseInt(s[1],10),parseInt(s[2],10)];let b="";try{b=MM(c,"utf-8")}catch{return""}const E=OM(b,{start:{line:h,column:m}},{highlightCode:!0,linesBelow:0});return B8.dim(l)+`
|
|
292
|
+
`+E+`
|
|
293
|
+
`}function KW(){if(!MM||!OM)return"";const t=new Error().stack.split(`
|
|
294
|
+
`).slice(1).find(r=>!r.includes("node_modules/"));return FW(t)}const k8=3;function PD(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function NM(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function U8(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 Pm(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 GW=()=>{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:YW}=w8.plugins,XW=1,QW=8;function ZW(e){return e.nodeType!==QW&&(e.nodeType!==XW||!e.matches(Ar().defaultIgnore))}function kT(e,t,r){if(r===void 0&&(r={}),e||(e=NM().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:s=ZW,...c}=r,h=w8.format(e,{plugins:[VW(s),YW],printFunctionName:!1,highlight:GW(),...c});return t!==void 0&&e.outerHTML.length>t?h.slice(0,t)+"...":h}const aP=function(){const e=KW();console.log(e?kT(...arguments)+`
|
|
295
|
+
|
|
296
|
+
`+e:kT(...arguments))};let Qb={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=kT(t),l=new Error([e,"Ignored nodes: comments, "+Qb.defaultIgnore+`
|
|
297
|
+
`+r].filter(Boolean).join(`
|
|
298
|
+
|
|
299
|
+
`));return l.name="TestingLibraryElementError",l},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function WW(e){try{return Qb._disableExpensiveErrorDiagnostics=!0,e()}finally{Qb._disableExpensiveErrorDiagnostics=!1}}function JW(e){typeof e=="function"&&(e=e(Qb)),Qb={...Qb,...e}}function Ar(){return Qb}const eJ=["button","meter","output","progress","select","textarea","input"];function I8(e){return eJ.includes(e.nodeName.toLowerCase())?"":e.nodeType===k8?e.textContent:Array.from(e.childNodes).map(t=>I8(t)).join("")}function c2(e){let t;return e.tagName.toLowerCase()==="label"?t=I8(e):t=e.value||e.textContent,t}function H8(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!tJ(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(l=>l.control===e)}function tJ(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function V8(e,t,r){let{selector:l="*"}=r===void 0?{}:r;const s=t.getAttribute("aria-labelledby"),c=s?s.split(" "):[];return c.length?c.map(h=>{const m=e.querySelector('[id="'+h+'"]');return m?{content:c2(m),formControl:null}:{content:"",formControl:null}}):Array.from(H8(t)).map(h=>{const m=c2(h),E=Array.from(h.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(C=>C.matches(l))[0];return{content:m,formControl:E}})}function F8(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;F8(r);const s=l(e);return typeof r=="string"||typeof r=="number"?s.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(s,t):G8(r,s)}function _m(e,t,r,l){if(typeof e!="string")return!1;F8(r);const s=l(e);return r instanceof Function?r(s,t):r instanceof RegExp?G8(r,s):s===String(r)}function K8(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return l=>{let s=l;return s=t?s.trim():s,s=r?s.replace(/\s+/g," "):s,s}}function c0(e){let{trim:t,collapseWhitespace:r,normalizer:l}=e;if(!l)return K8({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 G8(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 w_(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===k8&&!!t.textContent).map(t=>t.textContent).join("")}const nJ=rJ(Nc.elementRoles);function Y8(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function $M(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=Y8}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let s=e;for(;s;){if(r(s))return!0;s=s.parentElement}return!1}function PM(e){for(const{match:t,roles:r}of nJ)if(t(e))return[...r];return[]}function rJ(e){function t(h){let{name:m,attributes:b}=h;return""+m+b.map(E=>{let{name:C,value:S,constraints:R=[]}=E;const M=R.indexOf("undefined")!==-1,q=R.indexOf("set")!==-1;return typeof S<"u"?"["+C+'="'+S+'"]':M?":not(["+C+"])":q?"["+C+"]:not(["+C+'=""])':"["+C+"]"}).join("")}function r(h){let{attributes:m=[]}=h;return m.length}function l(h,m){let{specificity:b}=h,{specificity:E}=m;return E-b}function s(h){let{attributes:m=[]}=h;const b=m.findIndex(C=>C.value&&C.name==="type"&&C.value==="text");b>=0&&(m=[...m.slice(0,b),...m.slice(b+1)]);const E=t({...h,attributes:m});return C=>b>=0&&C.type!=="text"?!1:C.matches(E)}let c=[];for(const[h,m]of e.entries())c=[...c,{match:s(h),roles:Array.from(m),specificity:r(h)}];return c.sort(l)}function aJ(e,t){let{hidden:r=!1}=t===void 0?{}:t;function l(s){return[s,...Array.from(s.children).reduce((c,h)=>[...c,...l(h)],[])]}return l(e).filter(s=>r===!1?$M(s)===!1:!0).reduce((s,c)=>{let h=[];return c.hasAttribute("role")?h=c.getAttribute("role").split(" ").slice(0,1):h=PM(c),h.reduce((m,b)=>Array.isArray(m[b])?{...m,[b]:[...m[b],c]}:{...m,[b]:[c]},s)},{})}function lJ(e,t){let{hidden:r,includeDescription:l}=t;const s=aJ(e,{hidden:r});return Object.entries(s).filter(c=>{let[h]=c;return h!=="generic"}).map(c=>{let[h,m]=c;const b="-".repeat(50),E=m.map(C=>{const S='Name "'+AM(C,{computedStyleSupportsPseudoElements:Ar().computedStyleSupportsPseudoElements})+`":
|
|
300
|
+
`,R=kT(C.cloneNode(!1));if(l){const M='Description "'+N8(C,{computedStyleSupportsPseudoElements:Ar().computedStyleSupportsPseudoElements})+`":
|
|
301
|
+
`;return""+S+M+R}return""+S+R}).join(`
|
|
302
|
+
|
|
303
|
+
`);return h+`:
|
|
304
|
+
|
|
305
|
+
`+E+`
|
|
306
|
+
|
|
307
|
+
`+b}).join(`
|
|
308
|
+
`)}function oJ(e){return e.tagName==="OPTION"?e.selected:Nw(e,"aria-selected")}function iJ(e){return e.getAttribute("aria-busy")==="true"}function uJ(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Nw(e,"aria-checked")}function sJ(e){return Nw(e,"aria-pressed")}function cJ(e){var t,r;return(t=(r=Nw(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function fJ(e){return Nw(e,"aria-expanded")}function Nw(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function dJ(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 pJ(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function hJ(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function mJ(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function vJ(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const lP=K8();function gJ(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function oP(e){return new RegExp(gJ(e.toLowerCase()),"i")}function xg(e,t,r,l){let{variant:s,name:c}=l,h="";const m={},b=[["Role","TestId"].includes(e)?r:oP(r)];c&&(m.name=oP(c)),e==="Role"&&$M(t)&&(m.hidden=!0,h=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
309
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
310
|
+
`),Object.keys(m).length>0&&b.push(m);const E=s+"By"+e;return{queryName:e,queryMethod:E,queryArgs:b,variant:s,warning:h,toString(){h&&console.warn(h);let[C,S]=b;return C=typeof C=="string"?"'"+C+"'":C,S=S?", { "+Object.entries(S).map(R=>{let[M,q]=R;return M+": "+q}).join(", ")+" }":"",E+"("+C+S+")"}}}function Eg(e,t,r){return r&&!0}function f2(e,t,r){var l,s;if(t===void 0&&(t="get"),e.matches(Ar().defaultIgnore))return;const c=(l=e.getAttribute("role"))!=null?l:(s=PM(e))==null?void 0:s[0];if(c!=="generic"&&Eg("Role",r,c))return xg("Role",e,c,{variant:t,name:AM(e,{computedStyleSupportsPseudoElements:Ar().computedStyleSupportsPseudoElements})});const h=V8(document,e).map(R=>R.content).join(" ");if(Eg("LabelText",r,h))return xg("LabelText",e,h,{variant:t});const m=e.getAttribute("placeholder");if(Eg("PlaceholderText",r,m))return xg("PlaceholderText",e,m,{variant:t});const b=lP(w_(e));if(Eg("Text",r,b))return xg("Text",e,b,{variant:t});if(Eg("DisplayValue",r,e.value))return xg("DisplayValue",e,lP(e.value),{variant:t});const E=e.getAttribute("alt");if(Eg("AltText",r,E))return xg("AltText",e,E,{variant:t});const C=e.getAttribute("title");if(Eg("Title",r,C))return xg("Title",e,C,{variant:t});const S=e.getAttribute(Ar().testIdAttribute);if(Eg("TestId",r,S))return xg("TestId",e,S,{variant:t})}function pT(e,t){e.stack=t.stack.replace(t.message,e.message)}function yJ(e,t){let{container:r=NM(),timeout:l=Ar().asyncUtilTimeout,showOriginalStackTrace:s=Ar().showOriginalStackTrace,stackTraceError:c,interval:h=50,onTimeout:m=E=>(Object.defineProperty(E,"message",{value:Ar().getElementError(E.message,r).message}),E),mutationObserverOptions:b={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(E,C)=>{let S,R,M,q=!1,N="idle";const L=setTimeout(V,l),P=PD();if(P){const{unstable_advanceTimersWrapper:F}=Ar();for(Y();!q;){if(!PD()){const K=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");s||pT(K,c),C(K);return}if(await F(async()=>{jest.advanceTimersByTime(h)}),q)break;Y()}}else{try{Pm(r)}catch(K){C(K);return}R=setInterval(I,h);const{MutationObserver:F}=U8(r);M=new F(I),M.observe(r,b),Y()}function U(F,K){q=!0,clearTimeout(L),P||(clearInterval(R),M.disconnect()),F?C(F):E(K)}function I(){if(PD()){const F=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 s||pT(F,c),C(F)}else return Y()}function Y(){if(N!=="pending")try{const F=WW(e);typeof F?.then=="function"?(N="pending",F.then(K=>{N="resolved",U(null,K)},K=>{N="rejected",S=K})):U(null,F)}catch(F){S=F}}function V(){let F;S?(F=S,!s&&F.name==="TestingLibraryElementError"&&pT(F,c)):(F=new Error("Timed out in waitFor."),s||pT(F,c)),U(m(F),null)}})}function bJ(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Ar().asyncWrapper(()=>yJ(e,{stackTraceError:r,...t}))}function X8(e,t){return Ar().getElementError(e,t)}function xJ(e,t){return X8(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function R_(e,t,r,l){let{exact:s=!0,collapseWhitespace:c,trim:h,normalizer:m}=l===void 0?{}:l;const b=s?_m:tx,E=c0({collapseWhitespace:c,trim:h,normalizer:m});return Array.from(t.querySelectorAll("["+e+"]")).filter(C=>b(C.getAttribute(e),C,r,E))}function UT(e,t){return function(r){for(var l=arguments.length,s=new Array(l>1?l-1:0),c=1;c<l;c++)s[c-1]=arguments[c];const h=e(r,...s);if(h.length>1){const m=h.map(b=>X8(null,b).message).join(`
|
|
311
|
+
|
|
312
|
+
`);throw xJ(t(r,...s)+`
|
|
313
|
+
|
|
314
|
+
Here are the matching elements:
|
|
315
|
+
|
|
316
|
+
`+m,r)}return h[0]||null}}function Q8(e,t){return Ar().getElementError(`A better query is available, try this:
|
|
317
|
+
`+e.toString()+`
|
|
318
|
+
`,t)}function EJ(e,t){return function(r){for(var l=arguments.length,s=new Array(l>1?l-1:0),c=1;c<l;c++)s[c-1]=arguments[c];const h=e(r,...s);if(!h.length)throw Ar().getElementError(t(r,...s),r);return h}}function IT(e){return(t,r,l,s)=>bJ(()=>e(t,r,l),{container:t,...s})}const k1=(e,t,r)=>function(l){for(var s=arguments.length,c=new Array(s>1?s-1:0),h=1;h<s;h++)c[h-1]=arguments[h];const m=e(l,...c),[{suggest:b=Ar().throwSuggestions}={}]=c.slice(-1);if(m&&b){const E=f2(m,r);if(E&&!t.endsWith(E.queryName))throw Q8(E.toString(),l)}return m},zc=(e,t,r)=>function(l){for(var s=arguments.length,c=new Array(s>1?s-1:0),h=1;h<s;h++)c[h-1]=arguments[h];const m=e(l,...c),[{suggest:b=Ar().throwSuggestions}={}]=c.slice(-1);if(m.length&&b){const E=[...new Set(m.map(C=>{var S;return(S=f2(C,r))==null?void 0:S.toString()}))];if(E.length===1&&!t.endsWith(f2(m[0],r).queryName))throw Q8(E[0],l)}return m};function f0(e,t,r){const l=k1(UT(e,t),e.name,"query"),s=EJ(e,r),c=UT(s,t),h=k1(c,e.name,"get"),m=zc(s,e.name.replace("query","get"),"getAll"),b=IT(zc(s,e.name,"findAll")),E=IT(k1(c,e.name,"find"));return[l,m,h,b,E]}function SJ(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:c2(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const CJ=function(e,t,r){let{exact:l=!0,trim:s,collapseWhitespace:c,normalizer:h}=r===void 0?{}:r;const m=l?_m:tx,b=c0({collapseWhitespace:c,trim:s,normalizer:h});return SJ(e).filter(C=>{let{node:S,textToMatch:R}=C;return m(R,S,t,b)}).map(C=>{let{node:S}=C;return S})},dw=function(e,t,r){let{selector:l="*",exact:s=!0,collapseWhitespace:c,trim:h,normalizer:m}=r===void 0?{}:r;Pm(e);const b=s?_m:tx,E=c0({collapseWhitespace:c,trim:h,normalizer:m}),C=Array.from(e.querySelectorAll("*")).filter(S=>H8(S).length||S.hasAttribute("aria-labelledby")).reduce((S,R)=>{const M=V8(e,R,{selector:l});M.filter(N=>!!N.formControl).forEach(N=>{b(N.content,N.formControl,t,E)&&N.formControl&&S.push(N.formControl)});const q=M.filter(N=>!!N.content).map(N=>N.content);return b(q.join(" "),R,t,E)&&S.push(R),q.length>1&&q.forEach((N,L)=>{b(N,R,t,E)&&S.push(R);const P=[...q];P.splice(L,1),P.length>1&&b(P.join(" "),R,t,E)&&S.push(R)}),S},[]).concat(R_("aria-label",e,t,{exact:s,normalizer:E}));return Array.from(new Set(C)).filter(S=>S.matches(l))},t0=function(e,t){for(var r=arguments.length,l=new Array(r>2?r-2:0),s=2;s<r;s++)l[s-2]=arguments[s];const c=dw(e,t,...l);if(!c.length){const h=CJ(e,t,...l);if(h.length){const m=h.map(b=>wJ(e,b)).filter(b=>!!b);throw m.length?Ar().getElementError(m.map(b=>"Found a label with the text of: "+t+", however the element associated with this label (<"+b+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+b+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
319
|
+
|
|
320
|
+
`),e):Ar().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 Ar().getElementError("Unable to find a label with the text of: "+t,e)}return c};function wJ(e,t){const r=t.getAttribute("for");if(!r)return null;const l=e.querySelector('[id="'+r+'"]');return l?l.tagName.toLowerCase():null}const Z8=(e,t)=>"Found multiple elements with the text of: "+t,RJ=k1(UT(dw,Z8),dw.name,"query"),W8=UT(t0,Z8),TJ=IT(zc(t0,t0.name,"findAll")),_J=IT(k1(W8,t0.name,"find")),AJ=zc(t0,t0.name,"getAll"),DJ=k1(W8,t0.name,"get"),MJ=zc(dw,dw.name,"queryAll"),d2=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Pm(t[0]),R_("placeholder",...t)},OJ=(e,t)=>"Found multiple elements with the placeholder text of: "+t,NJ=(e,t)=>"Unable to find an element with the placeholder text of: "+t,$J=zc(d2,d2.name,"queryAll"),[PJ,qJ,LJ,jJ,zJ]=f0(d2,OJ,NJ),p2=function(e,t,r){let{selector:l="*",exact:s=!0,collapseWhitespace:c,trim:h,ignore:m=Ar().defaultIgnore,normalizer:b}=r===void 0?{}:r;Pm(e);const E=s?_m:tx,C=c0({collapseWhitespace:c,trim:h,normalizer:b});let S=[];return typeof e.matches=="function"&&e.matches(l)&&(S=[e]),[...S,...Array.from(e.querySelectorAll(l))].filter(R=>!m||!R.matches(m)).filter(R=>E(w_(R),R,t,C))},BJ=(e,t)=>"Found multiple elements with the text: "+t,kJ=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:l,trim:s,normalizer:c,selector:h}=r,b=c0({collapseWhitespace:l,trim:s,normalizer:c})(t.toString()),E=b!==t.toString(),C=(h??"*")!=="*";return"Unable to find an element with the text: "+(E?b+" (normalized from '"+t+"')":t)+(C?", 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."},UJ=zc(p2,p2.name,"queryAll"),[IJ,HJ,VJ,FJ,KJ]=f0(p2,BJ,kJ),h2=function(e,t,r){let{exact:l=!0,collapseWhitespace:s,trim:c,normalizer:h}=r===void 0?{}:r;Pm(e);const m=l?_m:tx,b=c0({collapseWhitespace:s,trim:c,normalizer:h});return Array.from(e.querySelectorAll("input,textarea,select")).filter(E=>E.tagName==="SELECT"?Array.from(E.options).filter(S=>S.selected).some(S=>m(w_(S),S,t,b)):m(E.value,E,t,b))},GJ=(e,t)=>"Found multiple elements with the display value: "+t+".",YJ=(e,t)=>"Unable to find an element with the display value: "+t+".",XJ=zc(h2,h2.name,"queryAll"),[QJ,ZJ,WJ,JJ,eee]=f0(h2,GJ,YJ),tee=/^(img|input|area|.+-.+)$/i,m2=function(e,t,r){return r===void 0&&(r={}),Pm(e),R_("alt",e,t,r).filter(l=>tee.test(l.tagName))},nee=(e,t)=>"Found multiple elements with the alt text: "+t,ree=(e,t)=>"Unable to find an element with the alt text: "+t,aee=zc(m2,m2.name,"queryAll"),[lee,oee,iee,uee,see]=f0(m2,nee,ree),cee=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},v2=function(e,t,r){let{exact:l=!0,collapseWhitespace:s,trim:c,normalizer:h}=r===void 0?{}:r;Pm(e);const m=l?_m:tx,b=c0({collapseWhitespace:s,trim:c,normalizer:h});return Array.from(e.querySelectorAll("[title], svg > title")).filter(E=>m(E.getAttribute("title"),E,t,b)||cee(E)&&m(w_(E),E,t,b))},fee=(e,t)=>"Found multiple elements with the title: "+t+".",dee=(e,t)=>"Unable to find an element with the title: "+t+".",pee=zc(v2,v2.name,"queryAll"),[hee,mee,vee,gee,yee]=f0(v2,fee,dee),g2=function(e,t,r){let{hidden:l=Ar().defaultHidden,name:s,description:c,queryFallbacks:h=!1,selected:m,busy:b,checked:E,pressed:C,current:S,level:R,expanded:M,value:{now:q,min:N,max:L,text:P}={}}=r===void 0?{}:r;if(Pm(e),m!==void 0){var U;if(((U=Nc.roles.get(t))==null?void 0:U.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(b!==void 0){var I;if(((I=Nc.roles.get(t))==null?void 0:I.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(E!==void 0){var Y;if(((Y=Nc.roles.get(t))==null?void 0:Y.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(C!==void 0){var V;if(((V=Nc.roles.get(t))==null?void 0:V.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(S!==void 0){var F;if(((F=Nc.roles.get(t))==null?void 0:F.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(q!==void 0){var K;if(((K=Nc.roles.get(t))==null?void 0:K.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(L!==void 0){var Q;if(((Q=Nc.roles.get(t))==null?void 0:Q.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(N!==void 0){var he;if(((he=Nc.roles.get(t))==null?void 0:he.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(P!==void 0){var de;if(((de=Nc.roles.get(t))==null?void 0:de.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(M!==void 0){var W;if(((W=Nc.roles.get(t))==null?void 0:W.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const se=new WeakMap;function le(ae){return se.has(ae)||se.set(ae,Y8(ae)),se.get(ae)}return Array.from(e.querySelectorAll(bee(t))).filter(ae=>{if(ae.hasAttribute("role")){const Z=ae.getAttribute("role");if(h)return Z.split(" ").filter(Boolean).some(be=>be===t);const[te]=Z.split(" ");return te===t}return PM(ae).some(Z=>Z===t)}).filter(ae=>{if(m!==void 0)return m===oJ(ae);if(b!==void 0)return b===iJ(ae);if(E!==void 0)return E===uJ(ae);if(C!==void 0)return C===sJ(ae);if(S!==void 0)return S===cJ(ae);if(M!==void 0)return M===fJ(ae);if(R!==void 0)return R===dJ(ae);if(q!==void 0||L!==void 0||N!==void 0||P!==void 0){let B=!0;if(q!==void 0&&B&&(B=q===pJ(ae)),L!==void 0&&B&&(B=L===hJ(ae)),N!==void 0&&B&&(B=N===mJ(ae)),P!==void 0){var xe;B&&(B=_m((xe=vJ(ae))!=null?xe:null,ae,P,Z=>Z))}return B}return!0}).filter(ae=>s===void 0?!0:_m(AM(ae,{computedStyleSupportsPseudoElements:Ar().computedStyleSupportsPseudoElements}),ae,s,xe=>xe)).filter(ae=>c===void 0?!0:_m(N8(ae,{computedStyleSupportsPseudoElements:Ar().computedStyleSupportsPseudoElements}),ae,c,xe=>xe)).filter(ae=>l===!1?$M(ae,{isSubtreeInaccessible:le})===!1:!0)};function bee(e){var t;const r='*[role~="'+e+'"]',l=(t=Nc.roleElements.get(e))!=null?t:new Set,s=new Set(Array.from(l).map(c=>{let{name:h}=c;return h}));return[r].concat(Array.from(s)).join(",")}const J8=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},xee=function(e,t,r){let{name:l}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+J8(l)},Eee=function(e,t,r){let{hidden:l=Ar().defaultHidden,name:s,description:c}=r===void 0?{}:r;if(Ar()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+J8(s);let h="";Array.from(e.children).forEach(C=>{h+=lJ(C,{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=(`
|
|
321
|
+
Here are the `+(l===!1?"accessible":"available")+` roles:
|
|
322
|
+
|
|
323
|
+
`+h.replace(/\n/g,`
|
|
324
|
+
`).replace(/\n\s\s\n/g,`
|
|
325
|
+
|
|
326
|
+
`)+`
|
|
327
|
+
`).trim();let b="";s===void 0?b="":typeof s=="string"?b=' and name "'+s+'"':b=" and name `"+s+"`";let E="";return c===void 0?E="":typeof c=="string"?E=' and description "'+c+'"':E=" and description `"+c+"`",(`
|
|
328
|
+
Unable to find an `+(l===!1?"accessible ":"")+'element with the role "'+t+'"'+b+E+`
|
|
329
|
+
|
|
330
|
+
`+m).trim()},See=zc(g2,g2.name,"queryAll"),[Cee,wee,Ree,Tee,_ee]=f0(g2,xee,Eee),qM=()=>Ar().testIdAttribute,y2=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Pm(t[0]),R_(qM(),...t)},Aee=(e,t)=>"Found multiple elements by: ["+qM()+'="'+t+'"]',Dee=(e,t)=>"Unable to find an element by: ["+qM()+'="'+t+'"]',Mee=zc(y2,y2.name,"queryAll"),[Oee,Nee,$ee,Pee,qee]=f0(y2,Aee,Dee);var b2=Object.freeze({__proto__:null,queryAllByLabelText:MJ,queryByLabelText:RJ,getAllByLabelText:AJ,getByLabelText:DJ,findAllByLabelText:TJ,findByLabelText:_J,queryByPlaceholderText:PJ,queryAllByPlaceholderText:$J,getByPlaceholderText:LJ,getAllByPlaceholderText:qJ,findAllByPlaceholderText:jJ,findByPlaceholderText:zJ,queryByText:IJ,queryAllByText:UJ,getByText:VJ,getAllByText:HJ,findAllByText:FJ,findByText:KJ,queryByDisplayValue:QJ,queryAllByDisplayValue:XJ,getByDisplayValue:WJ,getAllByDisplayValue:ZJ,findAllByDisplayValue:JJ,findByDisplayValue:eee,queryByAltText:lee,queryAllByAltText:aee,getByAltText:iee,getAllByAltText:oee,findAllByAltText:uee,findByAltText:see,queryByTitle:hee,queryAllByTitle:pee,getByTitle:vee,getAllByTitle:mee,findAllByTitle:gee,findByTitle:yee,queryByRole:Cee,queryAllByRole:See,getAllByRole:wee,getByRole:Ree,findAllByRole:Tee,findByRole:_ee,queryByTestId:Oee,queryAllByTestId:Mee,getByTestId:$ee,getAllByTestId:Nee,findAllByTestId:Pee,findByTestId:qee});function Lee(e,t,r){return t===void 0&&(t=b2),r===void 0&&(r={}),Object.keys(t).reduce((l,s)=>{const c=t[s];return l[s]=c.bind(null,e),l},r)}const iP={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}}},uP={doubleClick:"dblClick"};function n0(e,t){return Ar().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 qD(e,t,r,l){let{EventType:s="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:b,...E}={}}=h;m!==void 0&&jee(t,m),b!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:b}),Object.assign(t,E);const C=U8(t),S=C[s]||C.Event;let R;if(typeof S=="function")R=new S(e,h);else{R=C.document.createEvent(s);const{bubbles:q,cancelable:N,detail:L,...P}=h;R.initEvent(e,q,N,L),Object.keys(P).forEach(U=>{R[U]=P[U]})}return["dataTransfer","clipboardData"].forEach(q=>{const N=h[q];typeof N=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(R,q,{value:Object.getOwnPropertyNames(N).reduce((L,P)=>(Object.defineProperty(L,P,{value:N[P]}),L),new C.DataTransfer)}):Object.defineProperty(R,q,{value:N}))}),R}Object.keys(iP).forEach(e=>{const{EventType:t,defaultInit:r}=iP[e],l=e.toLowerCase();qD[e]=(s,c)=>qD(l,s,c,{EventType:t,defaultInit:r}),n0[e]=(s,c)=>n0(s,qD[e](s,c))});function jee(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},l=Object.getPrototypeOf(e),{set:s}=Object.getOwnPropertyDescriptor(l,"value")||{};if(s&&r!==s)s.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(uP).forEach(e=>{const t=uP[e];n0[e]=function(){return n0[t](...arguments)}});function zee(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
331
|
+
`)}function Bee(e){return NW.compressToEncodedURIComponent(zee(e))}function kee(e){return"https://testing-playground.com/#markup="+Bee(e)}const Uee=(e,t,r)=>Array.isArray(e)?e.forEach(l=>aP(l,t,r)):aP(e,t,r),Iee=function(e){if(e===void 0&&(e=NM().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=kee(e.innerHTML);return console.log(`Open this URL in your browser
|
|
332
|
+
|
|
333
|
+
`+t),t},sP={debug:Uee,logTestingPlaygroundURL:Iee};typeof document<"u"&&document.body?Lee(document.body,b2,sP):Object.keys(b2).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),sP);const Hee=typeof D.act=="function"?D.act:PY.act;function eL(){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 wm(e){eL().IS_REACT_ACT_ENVIRONMENT=e}function HT(){return eL().IS_REACT_ACT_ENVIRONMENT}function Vee(e){return t=>{const r=HT();wm(!0);try{let l=!1;const s=e(()=>{const c=t();return c!==null&&typeof c=="object"&&typeof c.then=="function"&&(l=!0),c});if(l){const c=s;return{then:(h,m)=>{c.then(b=>{wm(r),h(b)},b=>{wm(r),m(b)})}}}else return wm(r),s}catch(l){throw wm(r),l}}}const pw=Vee(Hee),ga=function(){return n0(...arguments)};Object.keys(n0).forEach(e=>{ga[e]=function(){return n0[e](...arguments)}});const Fee=ga.mouseEnter,Kee=ga.mouseLeave;ga.mouseEnter=function(){return Fee(...arguments),ga.mouseOver(...arguments)};ga.mouseLeave=function(){return Kee(...arguments),ga.mouseOut(...arguments)};const Gee=ga.pointerEnter,Yee=ga.pointerLeave;ga.pointerEnter=function(){return Gee(...arguments),ga.pointerOver(...arguments)};ga.pointerLeave=function(){return Yee(...arguments),ga.pointerOut(...arguments)};const Xee=ga.select;ga.select=(e,t)=>{Xee(e,t),e.focus(),ga.keyUp(e,t)};const Qee=ga.blur,Zee=ga.focus;ga.blur=function(){return ga.focusOut(...arguments),Qee(...arguments)};ga.focus=function(){return ga.focusIn(...arguments),Zee(...arguments)};function Wee(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}JW({unstable_advanceTimersWrapper:e=>pw(e),asyncWrapper:async e=>{const t=HT();wm(!1);try{const r=await e();return await new Promise(l=>{setTimeout(()=>{l()},0),Wee()&&jest.advanceTimersByTime(0)}),r}finally{wm(t)}},eventWrapper:e=>{let t;return pw(()=>{t=e()}),t}});const Jee=new Set,cP=[];function fP(){cP.forEach(e=>{let{root:t,container:r}=e;pw(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),cP.length=0,Jee.clear()}if((typeof process>"u"||!process.env?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach=="function"?afterEach(()=>{fP()}):typeof teardown=="function"&&teardown(()=>{fP()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=HT();beforeAll(()=>{e=HT(),wm(!0)}),afterAll(()=>{wm(e)})}const ete=e=>pw(()=>e.click()),tte=(e,t)=>pw(()=>{ga.change(e,{target:{value:t}})}),nte=$m("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"}}),rte=({variant:e,size:t,fallback:r,alt:l,src:s,className:c,imageProps:h,...m})=>{const[b,E]=k.useState(!s),C=k.useMemo(()=>E8(l),[l]);return k.useEffect(()=>{b&&E(!0)},[s,b]),O.jsx("div",{...m,"data-slot":"avatar",className:Fe(nte({variant:e,size:t}),c),children:b?O.jsx("span",{"data-slot":"avatar-fallback",children:r||C}):O.jsx("img",{...h,"data-slot":"avatar-image",alt:l,src:s,onError:S=>{E(!0),h?.onError?.(S)},className:Fe("object-cover w-full h-full text-transparent",h?.className)})})},ate=({src:e,...t})=>O.jsx("div",{...t,"data-slot":"background-image",className:Fe("w-full block bg-cover bg-center",t.className),style:{...t.style,backgroundImage:`url(${e})`}}),tL=6048e5,lte=864e5,ote=6e4,ite=36e5,ute=1e3,dP=Symbol.for("constructDateFrom");function Dr(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&dP in e?e[dP](t):e instanceof Date?new e.constructor(t):new Date(t)}function Bn(e,t){return Dr(t||e,e)}function nL(e,t,r){const l=Bn(e,r?.in);return isNaN(t)?Dr(r?.in||e,NaN):(t&&l.setDate(l.getDate()+t),l)}function x2(e,t,r){const l=Bn(e,r?.in);if(isNaN(t))return Dr(e,NaN);if(!t)return l;const s=l.getDate(),c=Dr(e,l.getTime());c.setMonth(l.getMonth()+t+1,0);const h=c.getDate();return s>=h?c:(l.setFullYear(c.getFullYear(),c.getMonth(),s),l)}function ste(e,t){const r=Bn(e,t?.in).getDay();return r===0||r===6}let cte={};function nx(){return cte}function Am(e,t){const r=nx(),l=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=Bn(e,t?.in),c=s.getDay(),h=(c<l?7:0)+c-l;return s.setDate(s.getDate()-h),s.setHours(0,0,0,0),s}function F1(e,t){return Am(e,{...t,weekStartsOn:1})}function rL(e,t){const r=Bn(e,t?.in),l=r.getFullYear(),s=Dr(r,0);s.setFullYear(l+1,0,4),s.setHours(0,0,0,0);const c=F1(s),h=Dr(r,0);h.setFullYear(l,0,4),h.setHours(0,0,0,0);const m=F1(h);return r.getTime()>=c.getTime()?l+1:r.getTime()>=m.getTime()?l:l-1}function VT(e){const t=Bn(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 T_(e,...t){const r=Dr.bind(null,t.find(l=>typeof l=="object"));return t.map(r)}function Og(e,t){const r=Bn(e,t?.in);return r.setHours(0,0,0,0),r}function fte(e,t,r){const[l,s]=T_(r?.in,e,t),c=Og(l),h=Og(s),m=+c-VT(c),b=+h-VT(h);return Math.round((m-b)/lte)}function dte(e,t){const r=rL(e,t),l=Dr(e,0);return l.setFullYear(r,0,4),l.setHours(0,0,0,0),F1(l)}function hT(e,t,r){return x2(e,t*12,r)}function pte(e){return Dr(e,Date.now())}function Zb(e,t,r){const[l,s]=T_(r?.in,e,t);return+Og(l)==+Og(s)}function Ag(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function hte(e){return!(!Ag(e)&&typeof e!="number"||isNaN(+Bn(e)))}function mte(e,t){const r=Bn(e,t?.in),l=r.getMonth();return r.setFullYear(r.getFullYear(),l+1,0),r.setHours(23,59,59,999),r}function aL(e,t){const[r,l]=T_(e,t.start,t.end);return{start:r,end:l}}function lL(e,t){const{start:r,end:l}=aL(t?.in,e);let s=+r>+l;const c=s?+r:+l,h=s?l:r;h.setHours(0,0,0,0);let m=1;const b=[];for(;+h<=c;)b.push(Dr(r,h)),h.setDate(h.getDate()+m),h.setHours(0,0,0,0);return s?b.reverse():b}function vte(e,t){const r=Bn(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function oL(e,t){const{start:r,end:l}=aL(t?.in,e);let s=+r>+l;const c=s?+r:+l,h=s?l:r;h.setHours(0,0,0,0),h.setMonth(0,1);let m=1;const b=[];for(;+h<=c;)b.push(Dr(r,h)),h.setFullYear(h.getFullYear()+m);return s?b.reverse():b}function iL(e,t){const r=Bn(e,t?.in),l=r.getFullYear(),s=9+Math.floor(l/10)*10;return r.setFullYear(s,11,31),r.setHours(23,59,59,999),r}function gte(e,t){const r=t?.weekStartsOn,l=Bn(e,t?.in),s=l.getDay(),c=(s<r?-7:0)+6-(s-r);return l.setDate(l.getDate()+c),l.setHours(23,59,59,999),l}const yte={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"}},bte=(e,t,r)=>{let l;const s=yte[e];return typeof s=="string"?l=s:t===1?l=s.one:l=s.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+l:l+" ago":l};function U1(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const xte={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ete={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ste={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cte={date:U1({formats:xte,defaultWidth:"full"}),time:U1({formats:Ete,defaultWidth:"full"}),dateTime:U1({formats:Ste,defaultWidth:"full"})},wte={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Rte=(e,t,r,l)=>wte[e];function hp(e){return(t,r)=>{const l=r?.context?String(r.context):"standalone";let s;if(l==="formatting"&&e.formattingValues){const h=e.defaultFormattingWidth||e.defaultWidth,m=r?.width?String(r.width):h;s=e.formattingValues[m]||e.formattingValues[h]}else{const h=e.defaultWidth,m=r?.width?String(r.width):e.defaultWidth;s=e.values[m]||e.values[h]}const c=e.argumentCallback?e.argumentCallback(t):t;return s[c]}}const Tte={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_te={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ate={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"]},Dte={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"]},Mte={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"}},Ote={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"}},Nte=(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"},$te={ordinalNumber:Nte,era:hp({values:Tte,defaultWidth:"wide"}),quarter:hp({values:_te,defaultWidth:"wide",argumentCallback:e=>e-1}),month:hp({values:Ate,defaultWidth:"wide"}),day:hp({values:Dte,defaultWidth:"wide"}),dayPeriod:hp({values:Mte,defaultWidth:"wide",formattingValues:Ote,defaultFormattingWidth:"wide"})};function mp(e){return(t,r={})=>{const l=r.width,s=l&&e.matchPatterns[l]||e.matchPatterns[e.defaultMatchWidth],c=t.match(s);if(!c)return null;const h=c[0],m=l&&e.parsePatterns[l]||e.parsePatterns[e.defaultParseWidth],b=Array.isArray(m)?qte(m,S=>S.test(h)):Pte(m,S=>S.test(h));let E;E=e.valueCallback?e.valueCallback(b):b,E=r.valueCallback?r.valueCallback(E):E;const C=t.slice(h.length);return{value:E,rest:C}}}function Pte(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function qte(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function uL(e){return(t,r={})=>{const l=t.match(e.matchPattern);if(!l)return null;const s=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(s.length);return{value:h,rest:m}}}const Lte=/^(\d+)(th|st|nd|rd)?/i,jte=/\d+/i,zte={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},Bte={any:[/^b/i,/^(a|c)/i]},kte={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ute={any:[/1/i,/2/i,/3/i,/4/i]},Ite={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},Hte={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]},Vte={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},Fte={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]},Kte={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},Gte={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}},Yte={ordinalNumber:uL({matchPattern:Lte,parsePattern:jte,valueCallback:e=>parseInt(e,10)}),era:mp({matchPatterns:zte,defaultMatchWidth:"wide",parsePatterns:Bte,defaultParseWidth:"any"}),quarter:mp({matchPatterns:kte,defaultMatchWidth:"wide",parsePatterns:Ute,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mp({matchPatterns:Ite,defaultMatchWidth:"wide",parsePatterns:Hte,defaultParseWidth:"any"}),day:mp({matchPatterns:Vte,defaultMatchWidth:"wide",parsePatterns:Fte,defaultParseWidth:"any"}),dayPeriod:mp({matchPatterns:Kte,defaultMatchWidth:"any",parsePatterns:Gte,defaultParseWidth:"any"})},sL={code:"en-US",formatDistance:bte,formatLong:Cte,formatRelative:Rte,localize:$te,match:Yte,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Xte(e,t){const r=Bn(e,t?.in);return fte(r,vte(r))+1}function cL(e,t){const r=Bn(e,t?.in),l=+F1(r)-+dte(r);return Math.round(l/tL)+1}function LM(e,t){const r=Bn(e,t?.in),l=r.getFullYear(),s=nx(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,h=Dr(t?.in||e,0);h.setFullYear(l+1,0,c),h.setHours(0,0,0,0);const m=Am(h,t),b=Dr(t?.in||e,0);b.setFullYear(l,0,c),b.setHours(0,0,0,0);const E=Am(b,t);return+r>=+m?l+1:+r>=+E?l:l-1}function Qte(e,t){const r=nx(),l=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=LM(e,t),c=Dr(t?.in||e,0);return c.setFullYear(s,0,l),c.setHours(0,0,0,0),Am(c,t)}function fL(e,t){const r=Bn(e,t?.in),l=+Am(r,t)-+Qte(r,t);return Math.round(l/tL)+1}function ur(e,t){const r=e<0?"-":"",l=Math.abs(e).toString().padStart(t,"0");return r+l}const Sg={y(e,t){const r=e.getFullYear(),l=r>0?r:1-r;return ur(t==="yy"?l%100:l,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):ur(r+1,2)},d(e,t){return ur(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 ur(e.getHours()%12||12,t.length)},H(e,t){return ur(e.getHours(),t.length)},m(e,t){return ur(e.getMinutes(),t.length)},s(e,t){return ur(e.getSeconds(),t.length)},S(e,t){const r=t.length,l=e.getMilliseconds(),s=Math.trunc(l*Math.pow(10,r-3));return ur(s,t.length)}},D1={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pP={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(),s=l>0?l:1-l;return r.ordinalNumber(s,{unit:"year"})}return Sg.y(e,t)},Y:function(e,t,r,l){const s=LM(e,l),c=s>0?s:1-s;if(t==="YY"){const h=c%100;return ur(h,2)}return t==="Yo"?r.ordinalNumber(c,{unit:"year"}):ur(c,t.length)},R:function(e,t){const r=rL(e);return ur(r,t.length)},u:function(e,t){const r=e.getFullYear();return ur(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 ur(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 ur(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 Sg.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 ur(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 s=fL(e,l);return t==="wo"?r.ordinalNumber(s,{unit:"week"}):ur(s,t.length)},I:function(e,t,r){const l=cL(e);return t==="Io"?r.ordinalNumber(l,{unit:"week"}):ur(l,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Sg.d(e,t)},D:function(e,t,r){const l=Xte(e);return t==="Do"?r.ordinalNumber(l,{unit:"dayOfYear"}):ur(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 s=e.getDay(),c=(s-l.weekStartsOn+8)%7||7;switch(t){case"e":return String(c);case"ee":return ur(c,2);case"eo":return r.ordinalNumber(c,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});case"eeee":default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,r,l){const s=e.getDay(),c=(s-l.weekStartsOn+8)%7||7;switch(t){case"c":return String(c);case"cc":return ur(c,t.length);case"co":return r.ordinalNumber(c,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});case"cccc":default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,r){const l=e.getDay(),s=l===0?7:l;switch(t){case"i":return String(s);case"ii":return ur(s,t.length);case"io":return r.ordinalNumber(s,{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 s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,r){const l=e.getHours();let s;switch(l===12?s=D1.noon:l===0?s=D1.midnight:s=l/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,r){const l=e.getHours();let s;switch(l>=17?s=D1.evening:l>=12?s=D1.afternoon:l>=4?s=D1.morning:s=D1.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(s,{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 Sg.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Sg.H(e,t)},K:function(e,t,r){const l=e.getHours()%12;return t==="Ko"?r.ordinalNumber(l,{unit:"hour"}):ur(l,t.length)},k:function(e,t,r){let l=e.getHours();return l===0&&(l=24),t==="ko"?r.ordinalNumber(l,{unit:"hour"}):ur(l,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sg.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Sg.s(e,t)},S:function(e,t){return Sg.S(e,t)},X:function(e,t,r){const l=e.getTimezoneOffset();if(l===0)return"Z";switch(t){case"X":return mP(l);case"XXXX":case"XX":return Vb(l);case"XXXXX":case"XXX":default:return Vb(l,":")}},x:function(e,t,r){const l=e.getTimezoneOffset();switch(t){case"x":return mP(l);case"xxxx":case"xx":return Vb(l);case"xxxxx":case"xxx":default:return Vb(l,":")}},O:function(e,t,r){const l=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+hP(l,":");case"OOOO":default:return"GMT"+Vb(l,":")}},z:function(e,t,r){const l=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+hP(l,":");case"zzzz":default:return"GMT"+Vb(l,":")}},t:function(e,t,r){const l=Math.trunc(+e/1e3);return ur(l,t.length)},T:function(e,t,r){return ur(+e,t.length)}};function hP(e,t=""){const r=e>0?"-":"+",l=Math.abs(e),s=Math.trunc(l/60),c=l%60;return c===0?r+String(s):r+String(s)+t+ur(c,2)}function mP(e,t){return e%60===0?(e>0?"-":"+")+ur(Math.abs(e)/60,2):Vb(e,t)}function Vb(e,t=""){const r=e>0?"-":"+",l=Math.abs(e),s=ur(Math.trunc(l/60),2),c=ur(l%60,2);return r+s+t+c}const vP=(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"})}},dL=(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"})}},Zte=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],l=r[1],s=r[2];if(!s)return vP(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}}",vP(l,t)).replace("{{time}}",dL(s,t))},E2={p:dL,P:Zte},Wte=/^D+$/,Jte=/^Y+$/,ene=["D","DD","YY","YYYY"];function pL(e){return Wte.test(e)}function hL(e){return Jte.test(e)}function S2(e,t,r){const l=tne(e,t,r);if(console.warn(l),ene.includes(e))throw new RangeError(l)}function tne(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 nne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rne=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ane=/^'([^]*?)'?$/,lne=/''/g,one=/[a-zA-Z]/;function bo(e,t,r){const l=nx(),s=r?.locale??l.locale??sL,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=Bn(e,r?.in);if(!hte(m))throw new RangeError("Invalid time value");let b=t.match(rne).map(C=>{const S=C[0];if(S==="p"||S==="P"){const R=E2[S];return R(C,s.formatLong)}return C}).join("").match(nne).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const S=C[0];if(S==="'")return{isToken:!1,value:ine(C)};if(pP[S])return{isToken:!0,value:C};if(S.match(one))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(b=s.localize.preprocessor(m,b));const E={firstWeekContainsDate:c,weekStartsOn:h,locale:s};return b.map(C=>{if(!C.isToken)return C.value;const S=C.value;(!r?.useAdditionalWeekYearTokens&&hL(S)||!r?.useAdditionalDayOfYearTokens&&pL(S))&&S2(S,t,String(e));const R=pP[S[0]];return R(m,S,s.localize,E)}).join("")}function ine(e){const t=e.match(ane);return t?t[1].replace(lne,"'"):e}function une(e,t){const r=Bn(e,t?.in),l=r.getFullYear(),s=r.getMonth(),c=Dr(r,0);return c.setFullYear(l,s+1,0),c.setHours(0,0,0,0),c.getDate()}function sne(){return Object.assign({},nx())}function cne(e,t){const r=Bn(e,t?.in).getDay();return r===0?7:r}function fne(e,t){return+Bn(e)<+Bn(t)}function dne(e,t){const r=pne(t)?new t(0):Dr(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function pne(e){return typeof e=="function"&&e.prototype?.constructor===e}const hne=10;class mL{subPriority=0;validate(t,r){return!0}}class mne extends mL{constructor(t,r,l,s,c){super(),this.value=t,this.validateValue=r,this.setValue=l,this.priority=s,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 vne extends mL{priority=hne;subPriority=-1;constructor(t,r){super(),this.context=t||(l=>Dr(r,l))}set(t,r){return r.timestampIsSet?t:Dr(t,dne(t,this.context))}}class Zn{run(t,r,l,s){const c=this.parse(t,r,l,s);return c?{setter:new mne(c.value,this.validate,this.set,this.priority,this.subPriority),rest:c.rest}:null}validate(t,r,l){return!0}}class gne extends Zn{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 ka={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}/},vp={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 Ua(e,t){return e&&{value:t(e.value),rest:e.rest}}function va(e,t){const r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function gp(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,s=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*(s*ite+c*ote+h*ute),rest:t.slice(r[0].length)}}function vL(e){return va(ka.anyDigitsSigned,e)}function Aa(e,t){switch(e){case 1:return va(ka.singleDigit,t);case 2:return va(ka.twoDigits,t);case 3:return va(ka.threeDigits,t);case 4:return va(ka.fourDigits,t);default:return va(new RegExp("^\\d{1,"+e+"}"),t)}}function FT(e,t){switch(e){case 1:return va(ka.singleDigitSigned,t);case 2:return va(ka.twoDigitsSigned,t);case 3:return va(ka.threeDigitsSigned,t);case 4:return va(ka.fourDigitsSigned,t);default:return va(new RegExp("^-?\\d{1,"+e+"}"),t)}}function jM(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 gL(e,t){const r=t>0,l=r?t:1-t;let s;if(l<=50)s=e||100;else{const c=l+50,h=Math.trunc(c/100)*100,m=e>=c%100;s=e+h-(m?100:0)}return r?s:1-s}function yL(e){return e%400===0||e%4===0&&e%100!==0}class yne extends Zn{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,r,l){const s=c=>({year:c,isTwoDigitYear:r==="yy"});switch(r){case"y":return Ua(Aa(4,t),s);case"yo":return Ua(l.ordinalNumber(t,{unit:"year"}),s);default:return Ua(Aa(r.length,t),s)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,l){const s=t.getFullYear();if(l.isTwoDigitYear){const h=gL(l.year,s);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 bne extends Zn{priority=130;parse(t,r,l){const s=c=>({year:c,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Ua(Aa(4,t),s);case"Yo":return Ua(l.ordinalNumber(t,{unit:"year"}),s);default:return Ua(Aa(r.length,t),s)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,l,s){const c=LM(t,s);if(l.isTwoDigitYear){const m=gL(l.year,c);return t.setFullYear(m,0,s.firstWeekContainsDate),t.setHours(0,0,0,0),Am(t,s)}const h=!("era"in r)||r.era===1?l.year:1-l.year;return t.setFullYear(h,0,s.firstWeekContainsDate),t.setHours(0,0,0,0),Am(t,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class xne extends Zn{priority=130;parse(t,r){return FT(r==="R"?4:r.length,t)}set(t,r,l){const s=Dr(t,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),F1(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class Ene extends Zn{priority=130;parse(t,r){return FT(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 Sne extends Zn{priority=120;parse(t,r,l){switch(r){case"Q":case"QQ":return Aa(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 Cne extends Zn{priority=120;parse(t,r,l){switch(r){case"q":case"qq":return Aa(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 wne extends Zn{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,r,l){const s=c=>c-1;switch(r){case"M":return Ua(va(ka.month,t),s);case"MM":return Ua(Aa(2,t),s);case"Mo":return Ua(l.ordinalNumber(t,{unit:"month"}),s);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 Rne extends Zn{priority=110;parse(t,r,l){const s=c=>c-1;switch(r){case"L":return Ua(va(ka.month,t),s);case"LL":return Ua(Aa(2,t),s);case"Lo":return Ua(l.ordinalNumber(t,{unit:"month"}),s);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 Tne(e,t,r){const l=Bn(e,r?.in),s=fL(l,r)-t;return l.setDate(l.getDate()-s*7),Bn(l,r?.in)}class _ne extends Zn{priority=100;parse(t,r,l){switch(r){case"w":return va(ka.week,t);case"wo":return l.ordinalNumber(t,{unit:"week"});default:return Aa(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,l,s){return Am(Tne(t,l,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function Ane(e,t,r){const l=Bn(e,r?.in),s=cL(l,r)-t;return l.setDate(l.getDate()-s*7),l}class Dne extends Zn{priority=100;parse(t,r,l){switch(r){case"I":return va(ka.week,t);case"Io":return l.ordinalNumber(t,{unit:"week"});default:return Aa(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,l){return F1(Ane(t,l))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const Mne=[31,28,31,30,31,30,31,31,30,31,30,31],One=[31,29,31,30,31,30,31,31,30,31,30,31];class Nne extends Zn{priority=90;subPriority=1;parse(t,r,l){switch(r){case"d":return va(ka.date,t);case"do":return l.ordinalNumber(t,{unit:"date"});default:return Aa(r.length,t)}}validate(t,r){const l=t.getFullYear(),s=yL(l),c=t.getMonth();return s?r>=1&&r<=One[c]:r>=1&&r<=Mne[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 $ne extends Zn{priority=90;subpriority=1;parse(t,r,l){switch(r){case"D":case"DD":return va(ka.dayOfYear,t);case"Do":return l.ordinalNumber(t,{unit:"date"});default:return Aa(r.length,t)}}validate(t,r){const l=t.getFullYear();return yL(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 zM(e,t,r){const l=nx(),s=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,c=Bn(e,r?.in),h=c.getDay(),b=(t%7+7)%7,E=7-s,C=t<0||t>6?t-(h+E)%7:(b+E)%7-(h+E)%7;return nL(c,C,r)}class Pne extends Zn{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,s){return t=zM(t,l,s),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class qne extends Zn{priority=90;parse(t,r,l,s){const c=h=>{const m=Math.floor((h-1)/7)*7;return(h+s.weekStartsOn+6)%7+m};switch(r){case"e":case"ee":return Ua(Aa(r.length,t),c);case"eo":return Ua(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,s){return t=zM(t,l,s),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class Lne extends Zn{priority=90;parse(t,r,l,s){const c=h=>{const m=Math.floor((h-1)/7)*7;return(h+s.weekStartsOn+6)%7+m};switch(r){case"c":case"cc":return Ua(Aa(r.length,t),c);case"co":return Ua(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,s){return t=zM(t,l,s),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function jne(e,t,r){const l=Bn(e,r?.in),s=cne(l,r),c=t-s;return nL(l,c,r)}class zne extends Zn{priority=90;parse(t,r,l){const s=c=>c===0?7:c;switch(r){case"i":case"ii":return Aa(r.length,t);case"io":return l.ordinalNumber(t,{unit:"day"});case"iii":return Ua(l.day(t,{width:"abbreviated",context:"formatting"})||l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"}),s);case"iiiii":return Ua(l.day(t,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Ua(l.day(t,{width:"short",context:"formatting"})||l.day(t,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Ua(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"}),s)}}validate(t,r){return r>=1&&r<=7}set(t,r,l){return t=jne(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 Bne extends Zn{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(jM(l),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class kne extends Zn{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(jM(l),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class Une extends Zn{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(jM(l),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class Ine extends Zn{priority=70;parse(t,r,l){switch(r){case"h":return va(ka.hour12h,t);case"ho":return l.ordinalNumber(t,{unit:"hour"});default:return Aa(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,l){const s=t.getHours()>=12;return s&&l<12?t.setHours(l+12,0,0,0):!s&&l===12?t.setHours(0,0,0,0):t.setHours(l,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class Hne extends Zn{priority=70;parse(t,r,l){switch(r){case"H":return va(ka.hour23h,t);case"Ho":return l.ordinalNumber(t,{unit:"hour"});default:return Aa(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 Vne extends Zn{priority=70;parse(t,r,l){switch(r){case"K":return va(ka.hour11h,t);case"Ko":return l.ordinalNumber(t,{unit:"hour"});default:return Aa(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 Fne extends Zn{priority=70;parse(t,r,l){switch(r){case"k":return va(ka.hour24h,t);case"ko":return l.ordinalNumber(t,{unit:"hour"});default:return Aa(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,l){const s=l<=24?l%24:l;return t.setHours(s,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class Kne extends Zn{priority=60;parse(t,r,l){switch(r){case"m":return va(ka.minute,t);case"mo":return l.ordinalNumber(t,{unit:"minute"});default:return Aa(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 Gne extends Zn{priority=50;parse(t,r,l){switch(r){case"s":return va(ka.second,t);case"so":return l.ordinalNumber(t,{unit:"second"});default:return Aa(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 Yne extends Zn{priority=30;parse(t,r){const l=s=>Math.trunc(s*Math.pow(10,-r.length+3));return Ua(Aa(r.length,t),l)}set(t,r,l){return t.setMilliseconds(l),t}incompatibleTokens=["t","T"]}class Xne extends Zn{priority=10;parse(t,r){switch(r){case"X":return gp(vp.basicOptionalMinutes,t);case"XX":return gp(vp.basic,t);case"XXXX":return gp(vp.basicOptionalSeconds,t);case"XXXXX":return gp(vp.extendedOptionalSeconds,t);case"XXX":default:return gp(vp.extended,t)}}set(t,r,l){return r.timestampIsSet?t:Dr(t,t.getTime()-VT(t)-l)}incompatibleTokens=["t","T","x"]}class Qne extends Zn{priority=10;parse(t,r){switch(r){case"x":return gp(vp.basicOptionalMinutes,t);case"xx":return gp(vp.basic,t);case"xxxx":return gp(vp.basicOptionalSeconds,t);case"xxxxx":return gp(vp.extendedOptionalSeconds,t);case"xxx":default:return gp(vp.extended,t)}}set(t,r,l){return r.timestampIsSet?t:Dr(t,t.getTime()-VT(t)-l)}incompatibleTokens=["t","T","X"]}class Zne extends Zn{priority=40;parse(t){return vL(t)}set(t,r,l){return[Dr(t,l*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Wne extends Zn{priority=20;parse(t){return vL(t)}set(t,r,l){return[Dr(t,l),{timestampIsSet:!0}]}incompatibleTokens="*"}const Jne={G:new gne,y:new yne,Y:new bne,R:new xne,u:new Ene,Q:new Sne,q:new Cne,M:new wne,L:new Rne,w:new _ne,I:new Dne,d:new Nne,D:new $ne,E:new Pne,e:new qne,c:new Lne,i:new zne,a:new Bne,b:new kne,B:new Une,h:new Ine,H:new Hne,K:new Vne,k:new Fne,m:new Kne,s:new Gne,S:new Yne,X:new Xne,x:new Qne,t:new Zne,T:new Wne},ere=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tre=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,nre=/^'([^]*?)'?$/,rre=/''/g,are=/\S/,lre=/[a-zA-Z]/;function ore(e,t,r,l){const s=()=>Dr(r,NaN),c=sne(),h=c.locale??sL,m=c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,b=c.weekStartsOn??c.locale?.options?.weekStartsOn??0,E={firstWeekContainsDate:m,weekStartsOn:b,locale:h},C=[new vne(l?.in,r)],S=t.match(tre).map(L=>{const P=L[0];if(P in E2){const U=E2[P];return U(L,h.formatLong)}return L}).join("").match(ere),R=[];for(let L of S){hL(L)&&S2(L,t,e),pL(L)&&S2(L,t,e);const P=L[0],U=Jne[P];if(U){const{incompatibleTokens:I}=U;if(Array.isArray(I)){const V=R.find(F=>I.includes(F.token)||F.token===P);if(V)throw new RangeError(`The format string mustn't contain \`${V.fullToken}\` and \`${L}\` at the same time`)}else if(U.incompatibleTokens==="*"&&R.length>0)throw new RangeError(`The format string mustn't contain \`${L}\` and any other token at the same time`);R.push({token:P,fullToken:L});const Y=U.run(e,L,h.match,E);if(!Y)return s();C.push(Y.setter),e=Y.rest}else{if(P.match(lre))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");if(L==="''"?L="'":P==="'"&&(L=ire(L)),e.indexOf(L)===0)e=e.slice(L.length);else return s()}}if(e.length>0&&are.test(e))return s();const M=C.map(L=>L.priority).sort((L,P)=>P-L).filter((L,P,U)=>U.indexOf(L)===P).map(L=>C.filter(P=>P.priority===L).sort((P,U)=>U.subPriority-P.subPriority)).map(L=>L[0]);let q=Bn(r,l?.in);if(isNaN(+q))return s();const N={};for(const L of M){if(!L.validate(q,E))return s();const P=L.set(q,N,E);Array.isArray(P)?(q=P[0],Object.assign(N,P[1])):q=P}return q}function ire(e){return e.match(nre)[1].replace(rre,"'")}function ure(e,t,r){const[l,s]=T_(r?.in,e,t);return l.getFullYear()===s.getFullYear()&&l.getMonth()===s.getMonth()}function sre(e,t){return Zb(Dr(e,e),pte(e))}function cre(e,t,r){const l=+Bn(e,r?.in),[s,c]=[+Bn(t.start,r?.in),+Bn(t.end,r?.in)].sort((h,m)=>h-m);return l>=s&&l<=c}function fre(e,t,r){const l=Bn(e,r?.in),s=l.getFullYear(),c=l.getDate(),h=Dr(e,0);h.setFullYear(s,t,15),h.setHours(0,0,0,0);const m=une(h);return l.setMonth(t,Math.min(c,m)),l}function dre(e,t,r){const l=Bn(e,r?.in);return isNaN(+l)?Dr(e,NaN):(l.setFullYear(t),l)}function bL(e,t){const r=Bn(e,t?.in),l=r.getFullYear(),s=Math.floor(l/10)*10;return r.setFullYear(s,0,1),r.setHours(0,0,0,0),r}function LD(e){return Og(Date.now(),e)}const pre={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"}},hre=(e,t,r)=>{let l;const s=pre[e];return typeof s=="string"?l=s:t===1?l=s.one:l=s.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"en "+l:"hace "+l:l},mre={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},vre={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},gre={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yre={date:U1({formats:mre,defaultWidth:"full"}),time:U1({formats:vre,defaultWidth:"full"}),dateTime:U1({formats:gre,defaultWidth:"full"})},bre={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"},xre={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"},Ere=(e,t,r,l)=>t.getHours()!==1?xre[e]:bre[e],Sre={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},Cre={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},wre={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"]},Rre={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"]},Tre={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"}},_re={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"}},Are=(e,t)=>Number(e)+"º",Dre={ordinalNumber:Are,era:hp({values:Sre,defaultWidth:"wide"}),quarter:hp({values:Cre,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:hp({values:wre,defaultWidth:"wide"}),day:hp({values:Rre,defaultWidth:"wide"}),dayPeriod:hp({values:Tre,defaultWidth:"wide",formattingValues:_re,defaultFormattingWidth:"wide"})},Mre=/^(\d+)(º)?/i,Ore=/\d+/i,Nre={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},$re={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]},Pre={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},qre={any:[/1/i,/2/i,/3/i,/4/i]},Lre={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},jre={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]},zre={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},Bre={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]},kre={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},Ure={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}},Ire={ordinalNumber:uL({matchPattern:Mre,parsePattern:Ore,valueCallback:function(e){return parseInt(e,10)}}),era:mp({matchPatterns:Nre,defaultMatchWidth:"wide",parsePatterns:$re,defaultParseWidth:"any"}),quarter:mp({matchPatterns:Pre,defaultMatchWidth:"wide",parsePatterns:qre,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mp({matchPatterns:Lre,defaultMatchWidth:"wide",parsePatterns:jre,defaultParseWidth:"any"}),day:mp({matchPatterns:zre,defaultMatchWidth:"wide",parsePatterns:Bre,defaultParseWidth:"any"}),dayPeriod:mp({matchPatterns:kre,defaultMatchWidth:"any",parsePatterns:Ure,defaultParseWidth:"any"})},Hre={code:"es",formatDistance:hre,formatLong:yre,formatRelative:Ere,localize:Dre,match:Ire,options:{weekStartsOn:1,firstWeekContainsDate:1}};var JC={exports:{}};var Vre=JC.exports,gP;function Fre(){return gP||(gP=1,(function(e,t){(function(){var r,l="4.17.21",s=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",h="Expected a function",m="Invalid `variable` option passed into `_.template`",b="__lodash_hash_undefined__",E=500,C="__lodash_placeholder__",S=1,R=2,M=4,q=1,N=2,L=1,P=2,U=4,I=8,Y=16,V=32,F=64,K=128,Q=256,he=512,de=30,W="...",se=800,le=16,ae=1,xe=2,B=3,Z=1/0,te=9007199254740991,be=17976931348623157e292,re=NaN,oe=4294967295,ue=oe-1,ce=oe>>>1,De=[["ary",K],["bind",L],["bindKey",P],["curry",I],["curryRight",Y],["flip",he],["partial",V],["partialRight",F],["rearg",Q]],je="[object Arguments]",Ke="[object Array]",_e="[object AsyncFunction]",Je="[object Boolean]",ie="[object Date]",ke="[object DOMException]",Ee="[object Error]",Ae="[object Function]",ot="[object GeneratorFunction]",vt="[object Map]",Xt="[object Number]",Nt="[object Null]",Kn="[object Object]",As="[object Promise]",Ds="[object Proxy]",pe="[object RegExp]",$e="[object Set]",Ve="[object String]",st="[object Symbol]",rt="[object Undefined]",at="[object WeakMap]",bt="[object WeakSet]",Wt="[object ArrayBuffer]",Yt="[object DataView]",ya="[object Float32Array]",Qo="[object Float64Array]",pl="[object Int8Array]",Ms="[object Int16Array]",hl="[object Int32Array]",Mr="[object Uint8Array]",ml="[object Uint8ClampedArray]",Or="[object Uint16Array]",Os="[object Uint32Array]",kc=/\b__p \+= '';/g,Cp=/\b(__p \+=) '' \+/g,gi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Kl=/&(?:amp|lt|gt|quot|#39);/g,yi=/[&<>"']/g,Gl=RegExp(Kl.source),xr=RegExp(yi.source),xo=/<%-([\s\S]+?)%>/g,Ns=/<%([\s\S]+?)%>/g,lt=/<%=([\s\S]+?)%>/g,Uc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$s=/^\w*$/,Iu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ic=/[\\^$.*+?()[\]{}|]/g,ru=RegExp(Ic.source),vl=/^\s+/,Lm=/\s/,Hg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jm=/\{\n\/\* \[wrapped with (.+)\] \*/,Vg=/,? & /,bi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kn=/[()=,{}\[\]\/\s]/,gl=/\\(\\)?/g,Ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,wp=/\w*$/,Fg=/^[-+]0x[0-9a-f]+$/i,p0=/^0b[01]+$/i,Kg=/^\[object .+?Constructor\]$/,au=/^0o[0-7]+$/i,zm=/^(?:0|[1-9]\d*)$/,Hc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lu=/($^)/,rd=/['\n\r\u2028\u2029\\]/g,ou="\\ud800-\\udfff",Mn="\\u0300-\\u036f",Vc="\\ufe20-\\ufe2f",qs="\\u20d0-\\u20ff",Hu=Mn+Vc+qs,xi="\\u2700-\\u27bf",Rp="a-z\\xdf-\\xf6\\xf8-\\xff",Bm="\\xac\\xb1\\xd7\\xf7",ad="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ld="\\u2000-\\u206f",od=" \\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",Tp="A-Z\\xc0-\\xd6\\xd8-\\xde",iu="\\ufe0e\\ufe0f",Yl=Bm+ad+ld+od,id="['’]",Gg="["+ou+"]",_p="["+Yl+"]",ud="["+Hu+"]",sd="\\d+",sx="["+xi+"]",Xl="["+Rp+"]",cd="[^"+ou+Yl+sd+xi+Rp+Tp+"]",Fc="\\ud83c[\\udffb-\\udfff]",Kc="(?:"+ud+"|"+Fc+")",Gc="[^"+ou+"]",Ap="(?:\\ud83c[\\udde6-\\uddff]){2}",Dp="[\\ud800-\\udbff][\\udc00-\\udfff]",yl="["+Tp+"]",Yg="\\u200d",Xg="(?:"+Xl+"|"+cd+")",h0="(?:"+yl+"|"+cd+")",km="(?:"+id+"(?:d|ll|m|re|s|t|ve))?",m0="(?:"+id+"(?:D|LL|M|RE|S|T|VE))?",fd=Kc+"?",Eo="["+iu+"]?",Ei="(?:"+Yg+"(?:"+[Gc,Ap,Dp].join("|")+")"+Eo+fd+")*",Um="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Im="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Si=Eo+fd+Ei,Yc="(?:"+[sx,Ap,Dp].join("|")+")"+Si,Mp="(?:"+[Gc+ud+"?",ud,Ap,Dp,Gg].join("|")+")",dd=RegExp(id,"g"),Qg=RegExp(ud,"g"),Kr=RegExp(Fc+"(?="+Fc+")|"+Mp+Si,"g"),Vu=RegExp([yl+"?"+Xl+"+"+km+"(?="+[_p,yl,"$"].join("|")+")",h0+"+"+m0+"(?="+[_p,yl+Xg,"$"].join("|")+")",yl+"?"+Xg+"+"+km,yl+"+"+m0,Im,Um,sd,Yc].join("|"),"g"),Op=RegExp("["+Yg+ou+Hu+iu+"]"),pd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fu=["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"],Zg=-1,Un={};Un[ya]=Un[Qo]=Un[pl]=Un[Ms]=Un[hl]=Un[Mr]=Un[ml]=Un[Or]=Un[Os]=!0,Un[je]=Un[Ke]=Un[Wt]=Un[Je]=Un[Yt]=Un[ie]=Un[Ee]=Un[Ae]=Un[vt]=Un[Xt]=Un[Kn]=Un[pe]=Un[$e]=Un[Ve]=Un[at]=!1;var In={};In[je]=In[Ke]=In[Wt]=In[Yt]=In[Je]=In[ie]=In[ya]=In[Qo]=In[pl]=In[Ms]=In[hl]=In[vt]=In[Xt]=In[Kn]=In[pe]=In[$e]=In[Ve]=In[st]=In[Mr]=In[ml]=In[Or]=In[Os]=!0,In[Ee]=In[Ae]=In[at]=!1;var Hm={À:"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"},Np={"&":"&","<":"<",">":">",'"':""","'":"'"},v0={"&":"&","<":"<",">":">",""":'"',"'":"'"},Da={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ls=parseFloat,$p=parseInt,Xc=typeof GR=="object"&&GR&&GR.Object===Object&&GR,cx=typeof self=="object"&&self&&self.Object===Object&&self,ra=Xc||cx||Function("return this")(),Pp=t&&!t.nodeType&&t,Ci=Pp&&!0&&e&&!e.nodeType&&e,qp=Ci&&Ci.exports===Pp,js=qp&&Xc.process,So=(function(){try{var Me=Ci&&Ci.require&&Ci.require("util").types;return Me||js&&js.binding&&js.binding("util")}catch{}})(),Wg=So&&So.isArrayBuffer,Jg=So&&So.isDate,Lp=So&&So.isMap,Vm=So&&So.isRegExp,ey=So&&So.isSet,zs=So&&So.isTypedArray;function aa(Me,Ge,ze){switch(ze.length){case 0:return Me.call(Ge);case 1:return Me.call(Ge,ze[0]);case 2:return Me.call(Ge,ze[0],ze[1]);case 3:return Me.call(Ge,ze[0],ze[1],ze[2])}return Me.apply(Ge,ze)}function wi(Me,Ge,ze,ct){for(var jt=-1,Jt=Me==null?0:Me.length;++jt<Jt;){var jn=Me[jt];Ge(ct,jn,ze(jn),Me)}return ct}function Co(Me,Ge){for(var ze=-1,ct=Me==null?0:Me.length;++ze<ct&&Ge(Me[ze],ze,Me)!==!1;);return Me}function ty(Me,Ge){for(var ze=Me==null?0:Me.length;ze--&&Ge(Me[ze],ze,Me)!==!1;);return Me}function Ri(Me,Ge){for(var ze=-1,ct=Me==null?0:Me.length;++ze<ct;)if(!Ge(Me[ze],ze,Me))return!1;return!0}function Ku(Me,Ge){for(var ze=-1,ct=Me==null?0:Me.length,jt=0,Jt=[];++ze<ct;){var jn=Me[ze];Ge(jn,ze,Me)&&(Jt[jt++]=jn)}return Jt}function Ql(Me,Ge){var ze=Me==null?0:Me.length;return!!ze&&Qc(Me,Ge,0)>-1}function Zl(Me,Ge,ze){for(var ct=-1,jt=Me==null?0:Me.length;++ct<jt;)if(ze(Ge,Me[ct]))return!0;return!1}function Gn(Me,Ge){for(var ze=-1,ct=Me==null?0:Me.length,jt=Array(ct);++ze<ct;)jt[ze]=Ge(Me[ze],ze,Me);return jt}function Ti(Me,Ge){for(var ze=-1,ct=Ge.length,jt=Me.length;++ze<ct;)Me[jt+ze]=Ge[ze];return Me}function jp(Me,Ge,ze,ct){var jt=-1,Jt=Me==null?0:Me.length;for(ct&&Jt&&(ze=Me[++jt]);++jt<Jt;)ze=Ge(ze,Me[jt],jt,Me);return ze}function _i(Me,Ge,ze,ct){var jt=Me==null?0:Me.length;for(ct&&jt&&(ze=Me[--jt]);jt--;)ze=Ge(ze,Me[jt],jt,Me);return ze}function ny(Me,Ge){for(var ze=-1,ct=Me==null?0:Me.length;++ze<ct;)if(Ge(Me[ze],ze,Me))return!0;return!1}var g0=Gu("length");function y0(Me){return Me.split("")}function fx(Me){return Me.match(bi)||[]}function Fm(Me,Ge,ze){var ct;return ze(Me,function(jt,Jt,jn){if(Ge(jt,Jt,jn))return ct=Jt,!1}),ct}function Km(Me,Ge,ze,ct){for(var jt=Me.length,Jt=ze+(ct?1:-1);ct?Jt--:++Jt<jt;)if(Ge(Me[Jt],Jt,Me))return Jt;return-1}function Qc(Me,Ge,ze){return Ge===Ge?Us(Me,Ge,ze):Km(Me,zp,ze)}function ry(Me,Ge,ze,ct){for(var jt=ze-1,Jt=Me.length;++jt<Jt;)if(ct(Me[jt],Ge))return jt;return-1}function zp(Me){return Me!==Me}function Zc(Me,Ge){var ze=Me==null?0:Me.length;return ze?uu(Me,Ge)/ze:re}function Gu(Me){return function(Ge){return Ge==null?r:Ge[Me]}}function ba(Me){return function(Ge){return Me==null?r:Me[Ge]}}function Gm(Me,Ge,ze,ct,jt){return jt(Me,function(Jt,jn,En){ze=ct?(ct=!1,Jt):Ge(ze,Jt,jn,En)}),ze}function Bp(Me,Ge){var ze=Me.length;for(Me.sort(Ge);ze--;)Me[ze]=Me[ze].value;return Me}function uu(Me,Ge){for(var ze,ct=-1,jt=Me.length;++ct<jt;){var Jt=Ge(Me[ct]);Jt!==r&&(ze=ze===r?Jt:ze+Jt)}return ze}function hd(Me,Ge){for(var ze=-1,ct=Array(Me);++ze<Me;)ct[ze]=Ge(ze);return ct}function ay(Me,Ge){return Gn(Ge,function(ze){return[ze,Me[ze]]})}function Bs(Me){return Me&&Me.slice(0,wo(Me)+1).replace(vl,"")}function Wl(Me){return function(Ge){return Me(Ge)}}function ly(Me,Ge){return Gn(Ge,function(ze){return Me[ze]})}function Wc(Me,Ge){return Me.has(Ge)}function Ai(Me,Ge){for(var ze=-1,ct=Me.length;++ze<ct&&Qc(Ge,Me[ze],0)>-1;);return ze}function Ym(Me,Ge){for(var ze=Me.length;ze--&&Qc(Ge,Me[ze],0)>-1;);return ze}function Jc(Me,Ge){for(var ze=Me.length,ct=0;ze--;)Me[ze]===Ge&&++ct;return ct}var ks=ba(Hm),ef=ba(Np);function md(Me){return"\\"+Da[Me]}function oy(Me,Ge){return Me==null?r:Me[Ge]}function Yu(Me){return Op.test(Me)}function bl(Me){return pd.test(Me)}function Di(Me){for(var Ge,ze=[];!(Ge=Me.next()).done;)ze.push(Ge.value);return ze}function kp(Me){var Ge=-1,ze=Array(Me.size);return Me.forEach(function(ct,jt){ze[++Ge]=[jt,ct]}),ze}function Up(Me,Ge){return function(ze){return Me(Ge(ze))}}function Mi(Me,Ge){for(var ze=-1,ct=Me.length,jt=0,Jt=[];++ze<ct;){var jn=Me[ze];(jn===Ge||jn===C)&&(Me[ze]=C,Jt[jt++]=ze)}return Jt}function Ip(Me){var Ge=-1,ze=Array(Me.size);return Me.forEach(function(ct){ze[++Ge]=ct}),ze}function b0(Me){var Ge=-1,ze=Array(Me.size);return Me.forEach(function(ct){ze[++Ge]=[ct,ct]}),ze}function Us(Me,Ge,ze){for(var ct=ze-1,jt=Me.length;++ct<jt;)if(Me[ct]===Ge)return ct;return-1}function tf(Me,Ge,ze){for(var ct=ze+1;ct--;)if(Me[ct]===Ge)return ct;return ct}function nf(Me){return Yu(Me)?uy(Me):g0(Me)}function Wn(Me){return Yu(Me)?rf(Me):y0(Me)}function wo(Me){for(var Ge=Me.length;Ge--&&Lm.test(Me.charAt(Ge)););return Ge}var iy=ba(v0);function uy(Me){for(var Ge=Kr.lastIndex=0;Kr.test(Me);)++Ge;return Ge}function rf(Me){return Me.match(Kr)||[]}function Is(Me){return Me.match(Vu)||[]}var Hp=(function Me(Ge){Ge=Ge==null?ra:su.defaults(ra.Object(),Ge,su.pick(ra,Fu));var ze=Ge.Array,ct=Ge.Date,jt=Ge.Error,Jt=Ge.Function,jn=Ge.Math,En=Ge.Object,cu=Ge.RegExp,Tn=Ge.String,Va=Ge.TypeError,vd=ze.prototype,Xm=Jt.prototype,Zo=En.prototype,Hs=Ge["__core-js_shared__"],Ro=Xm.toString,On=Zo.hasOwnProperty,fu=0,af=(function(){var p=/[^.]+$/.exec(Hs&&Hs.keys&&Hs.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""})(),xa=Zo.toString,lf=Ro.call(En),cr=ra._,Ea=cu("^"+Ro.call(On).replace(Ic,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xl=qp?Ge.Buffer:r,Gr=Ge.Symbol,Fa=Ge.Uint8Array,To=xl?xl.allocUnsafe:r,Wo=Up(En.getPrototypeOf,En),Vp=En.create,gd=Zo.propertyIsEnumerable,Sa=vd.splice,sy=Gr?Gr.isConcatSpreadable:r,Jn=Gr?Gr.iterator:r,_o=Gr?Gr.toStringTag:r,Jo=(function(){try{var p=uc(En,"defineProperty");return p({},"",{}),p}catch{}})(),cy=Ge.clearTimeout!==ra.clearTimeout&&Ge.clearTimeout,Qm=ct&&ct.now!==ra.Date.now&&ct.now,Xu=Ge.setTimeout!==ra.setTimeout&&Ge.setTimeout,Qu=jn.ceil,yd=jn.floor,bd=En.getOwnPropertySymbols,fy=xl?xl.isBuffer:r,Jl=Ge.isFinite,Ao=vd.join,of=Up(En.keys,En),Er=jn.max,fn=jn.min,eo=ct.now,El=Ge.parseInt,ei=jn.random,to=vd.reverse,Do=uc(Ge,"DataView"),Ka=uc(Ge,"Map"),Fp=uc(Ge,"Promise"),Oi=uc(Ge,"Set"),Vs=uc(Ge,"WeakMap"),Zu=uc(En,"create"),kr=Vs&&new Vs,_n={},un=Pa(Do),du=Pa(Ka),la=Pa(Fp),pu=Pa(Oi),ti=Pa(Vs),Fs=Gr?Gr.prototype:r,hu=Fs?Fs.valueOf:r,Ni=Fs?Fs.toString:r;function ee(p){if(Tr(p)&&!Bt(p)&&!(p instanceof It)){if(p instanceof Sl)return p;if(On.call(p,"__wrapped__"))return Th(p)}return new Sl(p)}var Ks=(function(){function p(){}return function(g){if(!er(g))return{};if(Vp)return Vp(g);p.prototype=g;var T=new p;return p.prototype=r,T}})();function Wu(){}function Sl(p,g){this.__wrapped__=p,this.__actions__=[],this.__chain__=!!g,this.__index__=0,this.__values__=r}ee.templateSettings={escape:xo,evaluate:Ns,interpolate:lt,variable:"",imports:{_:ee}},ee.prototype=Wu.prototype,ee.prototype.constructor=ee,Sl.prototype=Ks(Wu.prototype),Sl.prototype.constructor=Sl;function It(p){this.__wrapped__=p,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=oe,this.__views__=[]}function $i(){var p=new It(this.__wrapped__);return p.__actions__=Dl(this.__actions__),p.__dir__=this.__dir__,p.__filtered__=this.__filtered__,p.__iteratees__=Dl(this.__iteratees__),p.__takeCount__=this.__takeCount__,p.__views__=Dl(this.__views__),p}function Cl(){if(this.__filtered__){var p=new It(this);p.__dir__=-1,p.__filtered__=!0}else p=this.clone(),p.__dir__*=-1;return p}function Pi(){var p=this.__wrapped__.value(),g=this.__dir__,T=Bt(p),j=g<0,G=T?p.length:0,ne=w0(0,G,this.__views__),fe=ne.start,Se=ne.end,Ne=Se-fe,Qe=j?Se:fe-1,tt=this.__iteratees__,nt=tt.length,it=0,xt=fn(Ne,this.__takeCount__);if(!T||!j&&G==Ne&&xt==Ne)return ov(p,this.__actions__);var Mt=[];e:for(;Ne--&&it<xt;){Qe+=g;for(var Vt=-1,Ot=p[Qe];++Vt<nt;){var tn=tt[Vt],yn=tn.iteratee,Ko=tn.type,zl=yn(Ot);if(Ko==xe)Ot=zl;else if(!zl){if(Ko==ae)continue e;break e}}Mt[it++]=Ot}return Mt}It.prototype=Ks(Wu.prototype),It.prototype.constructor=It;function mu(p){var g=-1,T=p==null?0:p.length;for(this.clear();++g<T;){var j=p[g];this.set(j[0],j[1])}}function vu(){this.__data__=Zu?Zu(null):{},this.size=0}function Ca(p){var g=this.has(p)&&delete this.__data__[p];return this.size-=g?1:0,g}function uf(p){var g=this.__data__;if(Zu){var T=g[p];return T===b?r:T}return On.call(g,p)?g[p]:r}function zt(p){var g=this.__data__;return Zu?g[p]!==r:On.call(g,p)}function et(p,g){var T=this.__data__;return this.size+=this.has(p)?0:1,T[p]=Zu&&g===r?b:g,this}mu.prototype.clear=vu,mu.prototype.delete=Ca,mu.prototype.get=uf,mu.prototype.has=zt,mu.prototype.set=et;function Ma(p){var g=-1,T=p==null?0:p.length;for(this.clear();++g<T;){var j=p[g];this.set(j[0],j[1])}}function Kp(){this.__data__=[],this.size=0}function Nr(p){var g=this.__data__,T=qi(g,p);if(T<0)return!1;var j=g.length-1;return T==j?g.pop():Sa.call(g,T,1),--this.size,!0}function dy(p){var g=this.__data__,T=qi(g,p);return T<0?r:g[T][1]}function py(p){return qi(this.__data__,p)>-1}function Ur(p,g){var T=this.__data__,j=qi(T,p);return j<0?(++this.size,T.push([p,g])):T[j][1]=g,this}Ma.prototype.clear=Kp,Ma.prototype.delete=Nr,Ma.prototype.get=dy,Ma.prototype.has=py,Ma.prototype.set=Ur;function Mo(p){var g=-1,T=p==null?0:p.length;for(this.clear();++g<T;){var j=p[g];this.set(j[0],j[1])}}function Gp(){this.size=0,this.__data__={hash:new mu,map:new(Ka||Ma),string:new mu}}function sf(p){var g=Dd(this,p).delete(p);return this.size-=g?1:0,g}function Yp(p){return Dd(this,p).get(p)}function Gs(p){return Dd(this,p).has(p)}function Yr(p,g){var T=Dd(this,p),j=T.size;return T.set(p,g),this.size+=T.size==j?0:1,this}Mo.prototype.clear=Gp,Mo.prototype.delete=sf,Mo.prototype.get=Yp,Mo.prototype.has=Gs,Mo.prototype.set=Yr;function dn(p){var g=-1,T=p==null?0:p.length;for(this.__data__=new Mo;++g<T;)this.add(p[g])}function Xp(p){return this.__data__.set(p,b),this}function Qp(p){return this.__data__.has(p)}dn.prototype.add=dn.prototype.push=Xp,dn.prototype.has=Qp;function oa(p){var g=this.__data__=new Ma(p);this.size=g.size}function Oo(){this.__data__=new Ma,this.size=0}function No(p){var g=this.__data__,T=g.delete(p);return this.size=g.size,T}function xd(p){return this.__data__.get(p)}function cf(p){return this.__data__.has(p)}function Ys(p,g){var T=this.__data__;if(T instanceof Ma){var j=T.__data__;if(!Ka||j.length<s-1)return j.push([p,g]),this.size=++T.size,this;T=this.__data__=new Mo(j)}return T.set(p,g),this.size=T.size,this}oa.prototype.clear=Oo,oa.prototype.delete=No,oa.prototype.get=xd,oa.prototype.has=cf,oa.prototype.set=Ys;function Xs(p,g){var T=Bt(p),j=!T&&Ii(p),G=!T&&!j&&cs(p),ne=!T&&!j&&!G&&Hi(p),fe=T||j||G||ne,Se=fe?hd(p.length,Tn):[],Ne=Se.length;for(var Qe in p)(g||On.call(p,Qe))&&!(fe&&(Qe=="length"||G&&(Qe=="offset"||Qe=="parent")||ne&&(Qe=="buffer"||Qe=="byteLength"||Qe=="byteOffset")||Ir(Qe,Ne)))&&Se.push(Qe);return Se}function ff(p){var g=p.length;return g?p[rc(0,g-1)]:r}function df(p,g){return wf(Dl(p),ri(g,0,p.length))}function hy(p){return wf(Dl(p))}function Zp(p,g,T){(T!==r&&!po(p[g],T)||T===r&&!(g in p))&&wl(p,g,T)}function ni(p,g,T){var j=p[g];(!(On.call(p,g)&&po(j,T))||T===r&&!(g in p))&&wl(p,g,T)}function qi(p,g){for(var T=p.length;T--;)if(po(p[T][0],g))return T;return-1}function my(p,g,T,j){return ai(p,function(G,ne,fe){g(j,G,T(G),fe)}),j}function Wp(p,g){return p&&ao(g,Wr(g),p)}function Qs(p,g){return p&&ao(g,qr(g),p)}function wl(p,g,T){g=="__proto__"&&Jo?Jo(p,g,{configurable:!0,enumerable:!0,value:T,writable:!0}):p[g]=T}function pf(p,g){for(var T=-1,j=g.length,G=ze(j),ne=p==null;++T<j;)G[T]=ne?r:gc(p,g[T]);return G}function ri(p,g,T){return p===p&&(T!==r&&(p=p<=T?p:T),g!==r&&(p=p>=g?p:g)),p}function Ga(p,g,T,j,G,ne){var fe,Se=g&S,Ne=g&R,Qe=g&M;if(T&&(fe=G?T(p,j,G,ne):T(p)),fe!==r)return fe;if(!er(p))return p;var tt=Bt(p);if(tt){if(fe=cc(p),!Se)return Dl(p,fe)}else{var nt=Pn(p),it=nt==Ae||nt==ot;if(cs(p))return uh(p,Se);if(nt==Kn||nt==je||it&&!G){if(fe=Ne||it?{}:pv(p),!Se)return Ne?cv(p,Qs(fe,p)):Cu(p,Wp(fe,p))}else{if(!In[nt])return G?p:{};fe=ki(p,nt,Se)}}ne||(ne=new oa);var xt=ne.get(p);if(xt)return xt;ne.set(p,fe),fs(p)?p.forEach(function(Ot){fe.add(Ga(Ot,g,T,Ot,p,ne))}):Lv(p)&&p.forEach(function(Ot,tn){fe.set(tn,Ga(Ot,g,T,tn,p,ne))});var Mt=Qe?Ne?_y:bh:Ne?qr:Wr,Vt=tt?r:Mt(p);return Co(Vt||p,function(Ot,tn){Vt&&(tn=Ot,Ot=p[tn]),ni(fe,tn,Ga(Ot,g,T,tn,p,ne))}),fe}function x0(p){var g=Wr(p);return function(T){return Ju(T,p,g)}}function Ju(p,g,T){var j=T.length;if(p==null)return!j;for(p=En(p);j--;){var G=T[j],ne=g[G],fe=p[G];if(fe===r&&!(G in p)||!ne(fe))return!1}return!0}function Zm(p,g,T){if(typeof p!="function")throw new Va(h);return Nd(function(){p.apply(r,T)},g)}function $o(p,g,T,j){var G=-1,ne=Ql,fe=!0,Se=p.length,Ne=[],Qe=g.length;if(!Se)return Ne;T&&(g=Gn(g,Wl(T))),j?(ne=Zl,fe=!1):g.length>=s&&(ne=Wc,fe=!1,g=new dn(g));e:for(;++G<Se;){var tt=p[G],nt=T==null?tt:T(tt);if(tt=j||tt!==0?tt:0,fe&&nt===nt){for(var it=Qe;it--;)if(g[it]===nt)continue e;Ne.push(tt)}else ne(g,nt,j)||Ne.push(tt)}return Ne}var ai=bf(Po),Jp=bf(yu,!0);function es(p,g){var T=!0;return ai(p,function(j,G,ne){return T=!!g(j,G,ne),T}),T}function Ya(p,g,T){for(var j=-1,G=p.length;++j<G;){var ne=p[j],fe=g(ne);if(fe!=null&&(Se===r?fe===fe&&!Pl(fe):T(fe,Se)))var Se=fe,Ne=ne}return Ne}function Zs(p,g,T,j){var G=p.length;for(T=At(T),T<0&&(T=-T>G?0:G+T),j=j===r||j>G?G:At(j),j<0&&(j+=G),j=T>j?0:Bv(j);T<j;)p[T++]=g;return p}function eh(p,g){var T=[];return ai(p,function(j,G,ne){g(j,G,ne)&&T.push(j)}),T}function ia(p,g,T,j,G){var ne=-1,fe=p.length;for(T||(T=Ch),G||(G=[]);++ne<fe;){var Se=p[ne];g>0&&T(Se)?g>1?ia(Se,g-1,T,j,G):Ti(G,Se):j||(G[G.length]=Se)}return G}var gu=zn(),Li=zn(!0);function Po(p,g){return p&&gu(p,g,Wr)}function yu(p,g){return p&&Li(p,g,Wr)}function $r(p,g){return Ku(g,function(T){return Uo(p[T])})}function qo(p,g){g=ro(g,p);for(var T=0,j=g.length;p!=null&&T<j;)p=p[ca(g[T++])];return T&&T==j?p:r}function vy(p,g,T){var j=g(p);return Bt(p)?j:Ti(j,T(p))}function ua(p){return p==null?p===r?rt:Nt:_o&&_o in En(p)?sc(p):Dy(p)}function Ws(p,g){return p>g}function Rl(p,g){return p!=null&&On.call(p,g)}function Lo(p,g){return p!=null&&g in En(p)}function bu(p,g,T){return p>=fn(g,T)&&p<Er(g,T)}function Js(p,g,T){for(var j=T?Zl:Ql,G=p[0].length,ne=p.length,fe=ne,Se=ze(ne),Ne=1/0,Qe=[];fe--;){var tt=p[fe];fe&&g&&(tt=Gn(tt,Wl(g))),Ne=fn(tt.length,Ne),Se[fe]=!T&&(g||G>=120&&tt.length>=120)?new dn(fe&&tt):r}tt=p[0];var nt=-1,it=Se[0];e:for(;++nt<G&&Qe.length<Ne;){var xt=tt[nt],Mt=g?g(xt):xt;if(xt=T||xt!==0?xt:0,!(it?Wc(it,Mt):j(Qe,Mt,T))){for(fe=ne;--fe;){var Vt=Se[fe];if(!(Vt?Wc(Vt,Mt):j(p[fe],Mt,T)))continue e}it&&it.push(Mt),Qe.push(xt)}}return Qe}function Wm(p,g,T,j){return Po(p,function(G,ne,fe){g(j,T(G),ne,fe)}),j}function Tl(p,g,T){g=ro(g,p),p=$a(p,g);var j=p==null?p:p[ca(or(g))];return j==null?r:aa(j,p,T)}function Xa(p){return Tr(p)&&ua(p)==je}function fr(p){return Tr(p)&&ua(p)==Wt}function Ed(p){return Tr(p)&&ua(p)==ie}function no(p,g,T,j,G){return p===g?!0:p==null||g==null||!Tr(p)&&!Tr(g)?p!==p&&g!==g:Gt(p,g,T,j,no,G)}function Gt(p,g,T,j,G,ne){var fe=Bt(p),Se=Bt(g),Ne=fe?Ke:Pn(p),Qe=Se?Ke:Pn(g);Ne=Ne==je?Kn:Ne,Qe=Qe==je?Kn:Qe;var tt=Ne==Kn,nt=Qe==Kn,it=Ne==Qe;if(it&&cs(p)){if(!cs(g))return!1;fe=!0,tt=!1}if(it&&!tt)return ne||(ne=new oa),fe||Hi(p)?Ef(p,g,T,j,G,ne):yh(p,g,Ne,T,j,G,ne);if(!(T&q)){var xt=tt&&On.call(p,"__wrapped__"),Mt=nt&&On.call(g,"__wrapped__");if(xt||Mt){var Vt=xt?p.value():p,Ot=Mt?g.value():g;return ne||(ne=new oa),G(Vt,Ot,T,j,ne)}}return it?(ne||(ne=new oa),Ty(p,g,T,j,G,ne)):!1}function Nn(p){return Tr(p)&&Pn(p)==vt}function Sr(p,g,T,j){var G=T.length,ne=G,fe=!j;if(p==null)return!ne;for(p=En(p);G--;){var Se=T[G];if(fe&&Se[2]?Se[1]!==p[Se[0]]:!(Se[0]in p))return!1}for(;++G<ne;){Se=T[G];var Ne=Se[0],Qe=p[Ne],tt=Se[1];if(fe&&Se[2]){if(Qe===r&&!(Ne in p))return!1}else{var nt=new oa;if(j)var it=j(Qe,tt,Ne,p,g,nt);if(!(it===r?no(tt,Qe,q|N,j,nt):it))return!1}}return!0}function ec(p){if(!er(p)||Sf(p))return!1;var g=Uo(p)?Ea:Kg;return g.test(Pa(p))}function hf(p){return Tr(p)&&ua(p)==pe}function ts(p){return Tr(p)&&Pn(p)==$e}function th(p){return Tr(p)&&Uh(p.length)&&!!Un[ua(p)]}function mf(p){return typeof p=="function"?p:p==null?tl:typeof p=="object"?Bt(p)?nh(p[0],p[1]):Sd(p):J(p)}function xu(p){if(!Cf(p))return of(p);var g=[];for(var T in En(p))On.call(p,T)&&T!="constructor"&&g.push(T);return g}function E0(p){if(!er(p))return Tu(p);var g=Cf(p),T=[];for(var j in p)j=="constructor"&&(g||!On.call(p,j))||T.push(j);return T}function lr(p,g){return p<g}function Eu(p,g){var T=-1,j=Wa(p)?ze(p.length):[];return ai(p,function(G,ne,fe){j[++T]=g(G,ne,fe)}),j}function Sd(p){var g=xh(p);return g.length==1&&g[0][2]?Rh(g[0][0],g[0][1]):function(T){return T===p||Sr(T,p,g)}}function nh(p,g){return Ru(p)&&io(g)?Rh(ca(p),g):function(T){var j=gc(T,p);return j===r&&j===g?Ue(T,p):no(g,j,q|N)}}function rh(p,g,T,j,G){p!==g&&gu(g,function(ne,fe){if(G||(G=new oa),er(ne))dx(p,g,fe,T,rh,j,G);else{var Se=j?j($t(p,fe),ne,fe+"",p,g,G):r;Se===r&&(Se=ne),Zp(p,fe,Se)}},qr)}function dx(p,g,T,j,G,ne,fe){var Se=$t(p,T),Ne=$t(g,T),Qe=fe.get(Ne);if(Qe){Zp(p,T,Qe);return}var tt=ne?ne(Se,Ne,T+"",p,g,fe):r,nt=tt===r;if(nt){var it=Bt(Ne),xt=!it&&cs(Ne),Mt=!it&&!xt&&Hi(Ne);tt=Ne,it||xt||Mt?Bt(Se)?tt=Se:Rr(Se)?tt=Dl(Se):xt?(nt=!1,tt=uh(Ne,!0)):Mt?(nt=!1,tt=sv(Ne,!0)):tt=[]:Nf(Ne)||Ii(Ne)?(tt=Se,Ii(Se)?tt=Xd(Se):(!er(Se)||Uo(Se))&&(tt=pv(Ne))):nt=!1}nt&&(fe.set(Ne,tt),G(tt,Ne,j,ne,fe),fe.delete(Ne)),Zp(p,T,tt)}function ah(p,g){var T=p.length;if(T)return g+=g<0?T:0,Ir(g,T)?p[g]:r}function tc(p,g,T){g.length?g=Gn(g,function(ne){return Bt(ne)?function(fe){return qo(fe,ne.length===1?ne[0]:ne)}:ne}):g=[tl];var j=-1;g=Gn(g,Wl(Rt()));var G=Eu(p,function(ne,fe,Se){var Ne=Gn(g,function(Qe){return Qe(ne)});return{criteria:Ne,index:++j,value:ne}});return Bp(G,function(ne,fe){return Ey(ne,fe,T)})}function lh(p,g){return sa(p,g,function(T,j){return Ue(p,j)})}function sa(p,g,T){for(var j=-1,G=g.length,ne={};++j<G;){var fe=g[j],Se=qo(p,fe);T(Se,fe)&&gf(ne,ro(fe,p),Se)}return ne}function Pr(p){return function(g){return qo(g,p)}}function vf(p,g,T,j){var G=j?ry:Qc,ne=-1,fe=g.length,Se=p;for(p===g&&(g=Dl(g)),T&&(Se=Gn(p,Wl(T)));++ne<fe;)for(var Ne=0,Qe=g[ne],tt=T?T(Qe):Qe;(Ne=G(Se,tt,Ne,j))>-1;)Se!==p&&Sa.call(Se,Ne,1),Sa.call(p,Ne,1);return p}function nc(p,g){for(var T=p?g.length:0,j=T-1;T--;){var G=g[T];if(T==j||G!==ne){var ne=G;Ir(G)?Sa.call(p,G,1):ns(p,G)}}return p}function rc(p,g){return p+yd(ei()*(g-p+1))}function Jm(p,g,T,j){for(var G=-1,ne=Er(Qu((g-p)/(T||1)),0),fe=ze(ne);ne--;)fe[j?ne:++G]=p,p+=T;return fe}function li(p,g){var T="";if(!p||g<1||g>te)return T;do g%2&&(T+=p),g=yd(g/2),g&&(p+=p);while(g);return T}function qt(p,g){return gv(vv(p,g,tl),p+"")}function ev(p){return ff(Ll(p))}function tv(p,g){var T=Ll(p);return wf(T,ri(g,0,T.length))}function gf(p,g,T,j){if(!er(p))return p;g=ro(g,p);for(var G=-1,ne=g.length,fe=ne-1,Se=p;Se!=null&&++G<ne;){var Ne=ca(g[G]),Qe=T;if(Ne==="__proto__"||Ne==="constructor"||Ne==="prototype")return p;if(G!=fe){var tt=Se[Ne];Qe=j?j(tt,Ne,Se):r,Qe===r&&(Qe=er(tt)?tt:Ir(g[G+1])?[]:{})}ni(Se,Ne,Qe),Se=Se[Ne]}return p}var Cd=kr?function(p,g){return kr.set(p,g),p}:tl,gy=Jo?function(p,g){return Jo(p,"toString",{configurable:!0,enumerable:!1,value:fi(g),writable:!0})}:tl;function nv(p){return wf(Ll(p))}function _l(p,g,T){var j=-1,G=p.length;g<0&&(g=-g>G?0:G+g),T=T>G?G:T,T<0&&(T+=G),G=g>T?0:T-g>>>0,g>>>=0;for(var ne=ze(G);++j<G;)ne[j]=p[j+g];return ne}function rv(p,g){var T;return ai(p,function(j,G,ne){return T=g(j,G,ne),!T}),!!T}function wd(p,g,T){var j=0,G=p==null?j:p.length;if(typeof g=="number"&&g===g&&G<=ce){for(;j<G;){var ne=j+G>>>1,fe=p[ne];fe!==null&&!Pl(fe)&&(T?fe<=g:fe<g)?j=ne+1:G=ne}return G}return Xr(p,g,tl,T)}function Xr(p,g,T,j){var G=0,ne=p==null?0:p.length;if(ne===0)return 0;g=T(g);for(var fe=g!==g,Se=g===null,Ne=Pl(g),Qe=g===r;G<ne;){var tt=yd((G+ne)/2),nt=T(p[tt]),it=nt!==r,xt=nt===null,Mt=nt===nt,Vt=Pl(nt);if(fe)var Ot=j||Mt;else Qe?Ot=Mt&&(j||it):Se?Ot=Mt&&it&&(j||!xt):Ne?Ot=Mt&&it&&!xt&&(j||!Vt):xt||Vt?Ot=!1:Ot=j?nt<=g:nt<g;Ot?G=tt+1:ne=tt}return fn(ne,ue)}function yy(p,g){for(var T=-1,j=p.length,G=0,ne=[];++T<j;){var fe=p[T],Se=g?g(fe):fe;if(!T||!po(Se,Ne)){var Ne=Se;ne[G++]=fe===0?0:fe}}return ne}function av(p){return typeof p=="number"?p:Pl(p)?re:+p}function Al(p){if(typeof p=="string")return p;if(Bt(p))return Gn(p,Al)+"";if(Pl(p))return Ni?Ni.call(p):"";var g=p+"";return g=="0"&&1/p==-Z?"-0":g}function Su(p,g,T){var j=-1,G=Ql,ne=p.length,fe=!0,Se=[],Ne=Se;if(T)fe=!1,G=Zl;else if(ne>=s){var Qe=g?null:wy(p);if(Qe)return Ip(Qe);fe=!1,G=Wc,Ne=new dn}else Ne=g?[]:Se;e:for(;++j<ne;){var tt=p[j],nt=g?g(tt):tt;if(tt=T||tt!==0?tt:0,fe&&nt===nt){for(var it=Ne.length;it--;)if(Ne[it]===nt)continue e;g&&Ne.push(nt),Se.push(tt)}else G(Ne,nt,T)||(Ne!==Se&&Ne.push(nt),Se.push(tt))}return Se}function ns(p,g){return g=ro(g,p),p=$a(p,g),p==null||delete p[ca(or(g))]}function lv(p,g,T,j){return gf(p,g,T(qo(p,g)),j)}function ac(p,g,T,j){for(var G=p.length,ne=j?G:-1;(j?ne--:++ne<G)&&g(p[ne],ne,p););return T?_l(p,j?0:ne,j?ne+1:G):_l(p,j?ne+1:0,j?G:ne)}function ov(p,g){var T=p;return T instanceof It&&(T=T.value()),jp(g,function(j,G){return G.func.apply(G.thisArg,Ti([j],G.args))},T)}function iv(p,g,T){var j=p.length;if(j<2)return j?Su(p[0]):[];for(var G=-1,ne=ze(j);++G<j;)for(var fe=p[G],Se=-1;++Se<j;)Se!=G&&(ne[G]=$o(ne[G]||fe,p[Se],g,T));return Su(ia(ne,1),g,T)}function Rd(p,g,T){for(var j=-1,G=p.length,ne=g.length,fe={};++j<G;){var Se=j<ne?g[j]:r;T(fe,p[j],Se)}return fe}function oh(p){return Rr(p)?p:[]}function ih(p){return typeof p=="function"?p:tl}function ro(p,g){return Bt(p)?p:Ru(p,g)?[p]:as(ht(p))}var by=qt;function jo(p,g,T){var j=p.length;return T=T===r?j:T,!g&&T>=j?p:_l(p,g,T)}var yf=cy||function(p){return ra.clearTimeout(p)};function uh(p,g){if(g)return p.slice();var T=p.length,j=To?To(T):new p.constructor(T);return p.copy(j),j}function Td(p){var g=new p.constructor(p.byteLength);return new Fa(g).set(new Fa(p)),g}function xy(p,g){var T=g?Td(p.buffer):p.buffer;return new p.constructor(T,p.byteOffset,p.byteLength)}function sh(p){var g=new p.constructor(p.source,wp.exec(p));return g.lastIndex=p.lastIndex,g}function uv(p){return hu?En(hu.call(p)):{}}function sv(p,g){var T=g?Td(p.buffer):p.buffer;return new p.constructor(T,p.byteOffset,p.length)}function ch(p,g){if(p!==g){var T=p!==r,j=p===null,G=p===p,ne=Pl(p),fe=g!==r,Se=g===null,Ne=g===g,Qe=Pl(g);if(!Se&&!Qe&&!ne&&p>g||ne&&fe&&Ne&&!Se&&!Qe||j&&fe&&Ne||!T&&Ne||!G)return 1;if(!j&&!ne&&!Qe&&p<g||Qe&&T&&G&&!j&&!ne||Se&&T&&G||!fe&&G||!Ne)return-1}return 0}function Ey(p,g,T){for(var j=-1,G=p.criteria,ne=g.criteria,fe=G.length,Se=T.length;++j<fe;){var Ne=ch(G[j],ne[j]);if(Ne){if(j>=Se)return Ne;var Qe=T[j];return Ne*(Qe=="desc"?-1:1)}}return p.index-g.index}function oi(p,g,T,j){for(var G=-1,ne=p.length,fe=T.length,Se=-1,Ne=g.length,Qe=Er(ne-fe,0),tt=ze(Ne+Qe),nt=!j;++Se<Ne;)tt[Se]=g[Se];for(;++G<fe;)(nt||G<ne)&&(tt[T[G]]=p[G]);for(;Qe--;)tt[Se++]=p[G++];return tt}function fh(p,g,T,j){for(var G=-1,ne=p.length,fe=-1,Se=T.length,Ne=-1,Qe=g.length,tt=Er(ne-Se,0),nt=ze(tt+Qe),it=!j;++G<tt;)nt[G]=p[G];for(var xt=G;++Ne<Qe;)nt[xt+Ne]=g[Ne];for(;++fe<Se;)(it||G<ne)&&(nt[xt+T[fe]]=p[G++]);return nt}function Dl(p,g){var T=-1,j=p.length;for(g||(g=ze(j));++T<j;)g[T]=p[T];return g}function ao(p,g,T,j){var G=!T;T||(T={});for(var ne=-1,fe=g.length;++ne<fe;){var Se=g[ne],Ne=j?j(T[Se],p[Se],Se,T,p):r;Ne===r&&(Ne=p[Se]),G?wl(T,Se,Ne):ni(T,Se,Ne)}return T}function Cu(p,g){return ao(p,Oa(p),g)}function cv(p,g){return ao(p,Md(p),g)}function dh(p,g){return function(T,j){var G=Bt(T)?wi:my,ne=g?g():{};return G(T,p,Rt(j,2),ne)}}function ji(p){return qt(function(g,T){var j=-1,G=T.length,ne=G>1?T[G-1]:r,fe=G>2?T[2]:r;for(ne=p.length>3&&typeof ne=="function"?(G--,ne):r,fe&&Na(T[0],T[1],fe)&&(ne=G<3?r:ne,G=1),g=En(g);++j<G;){var Se=T[j];Se&&p(g,Se,j,ne)}return g})}function bf(p,g){return function(T,j){if(T==null)return T;if(!Wa(T))return p(T,j);for(var G=T.length,ne=g?G:-1,fe=En(T);(g?ne--:++ne<G)&&j(fe[ne],ne,fe)!==!1;);return T}}function zn(p){return function(g,T,j){for(var G=-1,ne=En(g),fe=j(g),Se=fe.length;Se--;){var Ne=fe[p?Se:++G];if(T(ne[Ne],Ne,ne)===!1)break}return g}}function Sy(p,g,T){var j=g&L,G=lo(p);function ne(){var fe=this&&this!==ra&&this instanceof ne?G:p;return fe.apply(j?T:this,arguments)}return ne}function Cy(p){return function(g){g=ht(g);var T=Yu(g)?Wn(g):r,j=T?T[0]:g.charAt(0),G=T?jo(T,1).join(""):g.slice(1);return j[p]()+G}}function lc(p){return function(g){return jp(F0(ep(g).replace(dd,"")),p,"")}}function lo(p){return function(){var g=arguments;switch(g.length){case 0:return new p;case 1:return new p(g[0]);case 2:return new p(g[0],g[1]);case 3:return new p(g[0],g[1],g[2]);case 4:return new p(g[0],g[1],g[2],g[3]);case 5:return new p(g[0],g[1],g[2],g[3],g[4]);case 6:return new p(g[0],g[1],g[2],g[3],g[4],g[5]);case 7:return new p(g[0],g[1],g[2],g[3],g[4],g[5],g[6])}var T=Ks(p.prototype),j=p.apply(T,g);return er(j)?j:T}}function S0(p,g,T){var j=lo(p);function G(){for(var ne=arguments.length,fe=ze(ne),Se=ne,Ne=$n(G);Se--;)fe[Se]=arguments[Se];var Qe=ne<3&&fe[0]!==Ne&&fe[ne-1]!==Ne?[]:Mi(fe,Ne);if(ne-=Qe.length,ne<T)return ic(p,g,zi,G.placeholder,r,fe,Qe,r,r,T-ne);var tt=this&&this!==ra&&this instanceof G?j:p;return aa(tt,this,fe)}return G}function ph(p){return function(g,T,j){var G=En(g);if(!Wa(g)){var ne=Rt(T,3);g=Wr(g),T=function(Se){return ne(G[Se],Se,G)}}var fe=p(g,T,j);return fe>-1?G[ne?g[fe]:fe]:r}}function wu(p){return Bi(function(g){var T=g.length,j=T,G=Sl.prototype.thru;for(p&&g.reverse();j--;){var ne=g[j];if(typeof ne!="function")throw new Va(h);if(G&&!fe&&dr(ne)=="wrapper")var fe=new Sl([],!0)}for(j=fe?j:T;++j<T;){ne=g[j];var Se=dr(ne),Ne=Se=="wrapper"?Ad(ne):r;Ne&&rs(Ne[0])&&Ne[1]==(K|I|V|Q)&&!Ne[4].length&&Ne[9]==1?fe=fe[dr(Ne[0])].apply(fe,Ne[3]):fe=ne.length==1&&rs(ne)?fe[Se]():fe.thru(ne)}return function(){var Qe=arguments,tt=Qe[0];if(fe&&Qe.length==1&&Bt(tt))return fe.plant(tt).value();for(var nt=0,it=T?g[nt].apply(this,Qe):tt;++nt<T;)it=g[nt].call(this,it);return it}})}function zi(p,g,T,j,G,ne,fe,Se,Ne,Qe){var tt=g&K,nt=g&L,it=g&P,xt=g&(I|Y),Mt=g&he,Vt=it?r:lo(p);function Ot(){for(var tn=arguments.length,yn=ze(tn),Ko=tn;Ko--;)yn[Ko]=arguments[Ko];if(xt)var zl=$n(Ot),Bl=Jc(yn,zl);if(j&&(yn=oi(yn,j,G,xt)),ne&&(yn=fh(yn,ne,fe,xt)),tn-=Bl,xt&&tn<Qe){var Lr=Mi(yn,zl);return ic(p,g,zi,Ot.placeholder,T,yn,Lr,Se,Ne,Qe-tn)}var Lu=nt?T:this,kf=it?Lu[p]:p;return tn=yn.length,Se?yn=Od(yn,Se):Mt&&tn>1&&yn.reverse(),tt&&Ne<tn&&(yn.length=Ne),this&&this!==ra&&this instanceof Ot&&(kf=Vt||lo(kf)),kf.apply(Lu,yn)}return Ot}function _d(p,g){return function(T,j){return Wm(T,p,g(j),{})}}function xf(p,g){return function(T,j){var G;if(T===r&&j===r)return g;if(T!==r&&(G=T),j!==r){if(G===r)return j;typeof T=="string"||typeof j=="string"?(T=Al(T),j=Al(j)):(T=av(T),j=av(j)),G=p(T,j)}return G}}function hh(p){return Bi(function(g){return g=Gn(g,Wl(Rt())),qt(function(T){var j=this;return p(g,function(G){return aa(G,j,T)})})})}function oc(p,g){g=g===r?" ":Al(g);var T=g.length;if(T<2)return T?li(g,p):g;var j=li(g,Qu(p/nf(g)));return Yu(g)?jo(Wn(j),0,p).join(""):j.slice(0,p)}function C0(p,g,T,j){var G=g&L,ne=lo(p);function fe(){for(var Se=-1,Ne=arguments.length,Qe=-1,tt=j.length,nt=ze(tt+Ne),it=this&&this!==ra&&this instanceof fe?ne:p;++Qe<tt;)nt[Qe]=j[Qe];for(;Ne--;)nt[Qe++]=arguments[++Se];return aa(it,G?T:this,nt)}return fe}function mh(p){return function(g,T,j){return j&&typeof j!="number"&&Na(g,T,j)&&(T=j=r),g=Vi(g),T===r?(T=g,g=0):T=Vi(T),j=j===r?g<T?1:-1:Vi(j),Jm(g,T,j,p)}}function vh(p){return function(g,T){return typeof g=="string"&&typeof T=="string"||(g=Cn(g),T=Cn(T)),p(g,T)}}function ic(p,g,T,j,G,ne,fe,Se,Ne,Qe){var tt=g&I,nt=tt?fe:r,it=tt?r:fe,xt=tt?ne:r,Mt=tt?r:ne;g|=tt?V:F,g&=~(tt?F:V),g&U||(g&=-4);var Vt=[p,g,G,xt,nt,Mt,it,Se,Ne,Qe],Ot=T.apply(r,Vt);return rs(p)&&My(Ot,Vt),Ot.placeholder=j,Bo(Ot,p,g)}function oo(p){var g=jn[p];return function(T,j){if(T=Cn(T),j=j==null?0:fn(At(j),292),j&&Jl(T)){var G=(ht(T)+"e").split("e"),ne=g(G[0]+"e"+(+G[1]+j));return G=(ht(ne)+"e").split("e"),+(G[0]+"e"+(+G[1]-j))}return g(T)}}var wy=Oi&&1/Ip(new Oi([,-0]))[1]==Z?function(p){return new Oi(p)}:f;function Ry(p){return function(g){var T=Pn(g);return T==vt?kp(g):T==$e?b0(g):ay(g,p(g))}}function Qa(p,g,T,j,G,ne,fe,Se){var Ne=g&P;if(!Ne&&typeof p!="function")throw new Va(h);var Qe=j?j.length:0;if(Qe||(g&=-97,j=G=r),fe=fe===r?fe:Er(At(fe),0),Se=Se===r?Se:At(Se),Qe-=G?G.length:0,g&F){var tt=j,nt=G;j=G=r}var it=Ne?r:Ad(p),xt=[p,g,T,j,G,tt,nt,ne,fe,Se];if(it&&Ay(xt,it),p=xt[0],g=xt[1],T=xt[2],j=xt[3],G=xt[4],Se=xt[9]=xt[9]===r?Ne?0:p.length:Er(xt[9]-Qe,0),!Se&&g&(I|Y)&&(g&=-25),!g||g==L)var Mt=Sy(p,g,T);else g==I||g==Y?Mt=S0(p,g,Se):(g==V||g==(L|V))&&!G.length?Mt=C0(p,g,T,j):Mt=zi.apply(r,xt);var Vt=it?Cd:My;return Bo(Vt(Mt,xt),p,g)}function gh(p,g,T,j){return p===r||po(p,Zo[T])&&!On.call(j,T)?g:p}function fv(p,g,T,j,G,ne){return er(p)&&er(g)&&(ne.set(g,p),rh(p,g,r,fv,ne),ne.delete(g)),p}function dv(p){return Nf(p)?r:p}function Ef(p,g,T,j,G,ne){var fe=T&q,Se=p.length,Ne=g.length;if(Se!=Ne&&!(fe&&Ne>Se))return!1;var Qe=ne.get(p),tt=ne.get(g);if(Qe&&tt)return Qe==g&&tt==p;var nt=-1,it=!0,xt=T&N?new dn:r;for(ne.set(p,g),ne.set(g,p);++nt<Se;){var Mt=p[nt],Vt=g[nt];if(j)var Ot=fe?j(Vt,Mt,nt,g,p,ne):j(Mt,Vt,nt,p,g,ne);if(Ot!==r){if(Ot)continue;it=!1;break}if(xt){if(!ny(g,function(tn,yn){if(!Wc(xt,yn)&&(Mt===tn||G(Mt,tn,T,j,ne)))return xt.push(yn)})){it=!1;break}}else if(!(Mt===Vt||G(Mt,Vt,T,j,ne))){it=!1;break}}return ne.delete(p),ne.delete(g),it}function yh(p,g,T,j,G,ne,fe){switch(T){case Yt:if(p.byteLength!=g.byteLength||p.byteOffset!=g.byteOffset)return!1;p=p.buffer,g=g.buffer;case Wt:return!(p.byteLength!=g.byteLength||!ne(new Fa(p),new Fa(g)));case Je:case ie:case Xt:return po(+p,+g);case Ee:return p.name==g.name&&p.message==g.message;case pe:case Ve:return p==g+"";case vt:var Se=kp;case $e:var Ne=j&q;if(Se||(Se=Ip),p.size!=g.size&&!Ne)return!1;var Qe=fe.get(p);if(Qe)return Qe==g;j|=N,fe.set(p,g);var tt=Ef(Se(p),Se(g),j,G,ne,fe);return fe.delete(p),tt;case st:if(hu)return hu.call(p)==hu.call(g)}return!1}function Ty(p,g,T,j,G,ne){var fe=T&q,Se=bh(p),Ne=Se.length,Qe=bh(g),tt=Qe.length;if(Ne!=tt&&!fe)return!1;for(var nt=Ne;nt--;){var it=Se[nt];if(!(fe?it in g:On.call(g,it)))return!1}var xt=ne.get(p),Mt=ne.get(g);if(xt&&Mt)return xt==g&&Mt==p;var Vt=!0;ne.set(p,g),ne.set(g,p);for(var Ot=fe;++nt<Ne;){it=Se[nt];var tn=p[it],yn=g[it];if(j)var Ko=fe?j(yn,tn,it,g,p,ne):j(tn,yn,it,p,g,ne);if(!(Ko===r?tn===yn||G(tn,yn,T,j,ne):Ko)){Vt=!1;break}Ot||(Ot=it=="constructor")}if(Vt&&!Ot){var zl=p.constructor,Bl=g.constructor;zl!=Bl&&"constructor"in p&&"constructor"in g&&!(typeof zl=="function"&&zl instanceof zl&&typeof Bl=="function"&&Bl instanceof Bl)&&(Vt=!1)}return ne.delete(p),ne.delete(g),Vt}function Bi(p){return gv(vv(p,r,Yn),p+"")}function bh(p){return vy(p,Wr,Oa)}function _y(p){return vy(p,qr,Md)}var Ad=kr?function(p){return kr.get(p)}:f;function dr(p){for(var g=p.name+"",T=_n[g],j=On.call(_n,g)?T.length:0;j--;){var G=T[j],ne=G.func;if(ne==null||ne==p)return G.name}return g}function $n(p){var g=On.call(ee,"placeholder")?ee:p;return g.placeholder}function Rt(){var p=ee.iteratee||op;return p=p===op?mf:p,arguments.length?p(arguments[0],arguments[1]):p}function Dd(p,g){var T=p.__data__;return wh(g)?T[typeof g=="string"?"string":"hash"]:T.map}function xh(p){for(var g=Wr(p),T=g.length;T--;){var j=g[T],G=p[j];g[T]=[j,G,io(G)]}return g}function uc(p,g){var T=oy(p,g);return ec(T)?T:r}function sc(p){var g=On.call(p,_o),T=p[_o];try{p[_o]=r;var j=!0}catch{}var G=xa.call(p);return j&&(g?p[_o]=T:delete p[_o]),G}var Oa=bd?function(p){return p==null?[]:(p=En(p),Ku(bd(p),function(g){return gd.call(p,g)}))}:We,Md=bd?function(p){for(var g=[];p;)Ti(g,Oa(p)),p=Wo(p);return g}:We,Pn=ua;(Do&&Pn(new Do(new ArrayBuffer(1)))!=Yt||Ka&&Pn(new Ka)!=vt||Fp&&Pn(Fp.resolve())!=As||Oi&&Pn(new Oi)!=$e||Vs&&Pn(new Vs)!=at)&&(Pn=function(p){var g=ua(p),T=g==Kn?p.constructor:r,j=T?Pa(T):"";if(j)switch(j){case un:return Yt;case du:return vt;case la:return As;case pu:return $e;case ti:return at}return g});function w0(p,g,T){for(var j=-1,G=T.length;++j<G;){var ne=T[j],fe=ne.size;switch(ne.type){case"drop":p+=fe;break;case"dropRight":g-=fe;break;case"take":g=fn(g,p+fe);break;case"takeRight":p=Er(p,g-fe);break}}return{start:p,end:g}}function zo(p){var g=p.match(jm);return g?g[1].split(Vg):[]}function Eh(p,g,T){g=ro(g,p);for(var j=-1,G=g.length,ne=!1;++j<G;){var fe=ca(g[j]);if(!(ne=p!=null&&T(p,fe)))break;p=p[fe]}return ne||++j!=G?ne:(G=p==null?0:p.length,!!G&&Uh(G)&&Ir(fe,G)&&(Bt(p)||Ii(p)))}function cc(p){var g=p.length,T=new p.constructor(g);return g&&typeof p[0]=="string"&&On.call(p,"index")&&(T.index=p.index,T.input=p.input),T}function pv(p){return typeof p.constructor=="function"&&!Cf(p)?Ks(Wo(p)):{}}function ki(p,g,T){var j=p.constructor;switch(g){case Wt:return Td(p);case Je:case ie:return new j(+p);case Yt:return xy(p,T);case ya:case Qo:case pl:case Ms:case hl:case Mr:case ml:case Or:case Os:return sv(p,T);case vt:return new j;case Xt:case Ve:return new j(p);case pe:return sh(p);case $e:return new j;case st:return uv(p)}}function Sh(p,g){var T=g.length;if(!T)return p;var j=T-1;return g[j]=(T>1?"& ":"")+g[j],g=g.join(T>2?", ":" "),p.replace(Hg,`{
|
|
334
|
+
/* [wrapped with `+g+`] */
|
|
335
|
+
`)}function Ch(p){return Bt(p)||Ii(p)||!!(sy&&p&&p[sy])}function Ir(p,g){var T=typeof p;return g=g??te,!!g&&(T=="number"||T!="symbol"&&zm.test(p))&&p>-1&&p%1==0&&p<g}function Na(p,g,T){if(!er(T))return!1;var j=typeof g;return(j=="number"?Wa(T)&&Ir(g,T.length):j=="string"&&g in T)?po(T[g],p):!1}function Ru(p,g){if(Bt(p))return!1;var T=typeof p;return T=="number"||T=="symbol"||T=="boolean"||p==null||Pl(p)?!0:$s.test(p)||!Uc.test(p)||g!=null&&p in En(g)}function wh(p){var g=typeof p;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?p!=="__proto__":p===null}function rs(p){var g=dr(p),T=ee[g];if(typeof T!="function"||!(g in It.prototype))return!1;if(p===T)return!0;var j=Ad(T);return!!j&&p===j[0]}function Sf(p){return!!af&&af in p}var hv=Hs?Uo:Le;function Cf(p){var g=p&&p.constructor,T=typeof g=="function"&&g.prototype||Zo;return p===T}function io(p){return p===p&&!er(p)}function Rh(p,g){return function(T){return T==null?!1:T[p]===g&&(g!==r||p in En(T))}}function mv(p){var g=zh(p,function(j){return T.size===E&&T.clear(),j}),T=g.cache;return g}function Ay(p,g){var T=p[1],j=g[1],G=T|j,ne=G<(L|P|K),fe=j==K&&T==I||j==K&&T==Q&&p[7].length<=g[8]||j==(K|Q)&&g[7].length<=g[8]&&T==I;if(!(ne||fe))return p;j&L&&(p[2]=g[2],G|=T&L?0:U);var Se=g[3];if(Se){var Ne=p[3];p[3]=Ne?oi(Ne,Se,g[4]):Se,p[4]=Ne?Mi(p[3],C):g[4]}return Se=g[5],Se&&(Ne=p[5],p[5]=Ne?fh(Ne,Se,g[6]):Se,p[6]=Ne?Mi(p[5],C):g[6]),Se=g[7],Se&&(p[7]=Se),j&K&&(p[8]=p[8]==null?g[8]:fn(p[8],g[8])),p[9]==null&&(p[9]=g[9]),p[0]=g[0],p[1]=G,p}function Tu(p){var g=[];if(p!=null)for(var T in En(p))g.push(T);return g}function Dy(p){return xa.call(p)}function vv(p,g,T){return g=Er(g===r?p.length-1:g,0),function(){for(var j=arguments,G=-1,ne=Er(j.length-g,0),fe=ze(ne);++G<ne;)fe[G]=j[g+G];G=-1;for(var Se=ze(g+1);++G<g;)Se[G]=j[G];return Se[g]=T(fe),aa(p,this,Se)}}function $a(p,g){return g.length<2?p:qo(p,_l(g,0,-1))}function Od(p,g){for(var T=p.length,j=fn(g.length,T),G=Dl(p);j--;){var ne=g[j];p[j]=Ir(ne,T)?G[ne]:r}return p}function $t(p,g){if(!(g==="constructor"&&typeof p[g]=="function")&&g!="__proto__")return p[g]}var My=uo(Cd),Nd=Xu||function(p,g){return ra.setTimeout(p,g)},gv=uo(gy);function Bo(p,g,T){var j=g+"";return gv(p,Sh(j,Oy(zo(j),T)))}function uo(p){var g=0,T=0;return function(){var j=eo(),G=le-(j-T);if(T=j,G>0){if(++g>=se)return arguments[0]}else g=0;return p.apply(r,arguments)}}function wf(p,g){var T=-1,j=p.length,G=j-1;for(g=g===r?j:g;++T<g;){var ne=rc(T,G),fe=p[ne];p[ne]=p[T],p[T]=fe}return p.length=g,p}var as=mv(function(p){var g=[];return p.charCodeAt(0)===46&&g.push(""),p.replace(Iu,function(T,j,G,ne){g.push(G?ne.replace(gl,"$1"):j||T)}),g});function ca(p){if(typeof p=="string"||Pl(p))return p;var g=p+"";return g=="0"&&1/p==-Z?"-0":g}function Pa(p){if(p!=null){try{return Ro.call(p)}catch{}try{return p+""}catch{}}return""}function Oy(p,g){return Co(De,function(T){var j="_."+T[0];g&T[1]&&!Ql(p,j)&&p.push(j)}),p.sort()}function Th(p){if(p instanceof It)return p.clone();var g=new Sl(p.__wrapped__,p.__chain__);return g.__actions__=Dl(p.__actions__),g.__index__=p.__index__,g.__values__=p.__values__,g}function Ny(p,g,T){(T?Na(p,g,T):g===r)?g=1:g=Er(At(g),0);var j=p==null?0:p.length;if(!j||g<1)return[];for(var G=0,ne=0,fe=ze(Qu(j/g));G<j;)fe[ne++]=_l(p,G,G+=g);return fe}function $d(p){for(var g=-1,T=p==null?0:p.length,j=0,G=[];++g<T;){var ne=p[g];ne&&(G[j++]=ne)}return G}function Pd(){var p=arguments.length;if(!p)return[];for(var g=ze(p-1),T=arguments[0],j=p;j--;)g[j-1]=arguments[j];return Ti(Bt(T)?Dl(T):[T],ia(g,1))}var qd=qt(function(p,g){return Rr(p)?$o(p,ia(g,1,Rr,!0)):[]}),$y=qt(function(p,g){var T=or(g);return Rr(T)&&(T=r),Rr(p)?$o(p,ia(g,1,Rr,!0),Rt(T,2)):[]}),ls=qt(function(p,g){var T=or(g);return Rr(T)&&(T=r),Rr(p)?$o(p,ia(g,1,Rr,!0),r,T):[]});function Qr(p,g,T){var j=p==null?0:p.length;return j?(g=T||g===r?1:At(g),_l(p,g<0?0:g,j)):[]}function yv(p,g,T){var j=p==null?0:p.length;return j?(g=T||g===r?1:At(g),g=j-g,_l(p,0,g<0?0:g)):[]}function Py(p,g){return p&&p.length?ac(p,Rt(g,3),!0,!0):[]}function wa(p,g){return p&&p.length?ac(p,Rt(g,3),!0):[]}function Ld(p,g,T,j){var G=p==null?0:p.length;return G?(T&&typeof T!="number"&&Na(p,g,T)&&(T=0,j=G),Zs(p,g,T,j)):[]}function jd(p,g,T){var j=p==null?0:p.length;if(!j)return-1;var G=T==null?0:At(T);return G<0&&(G=Er(j+G,0)),Km(p,Rt(g,3),G)}function bv(p,g,T){var j=p==null?0:p.length;if(!j)return-1;var G=j-1;return T!==r&&(G=At(T),G=T<0?Er(j+G,0):fn(G,j-1)),Km(p,Rt(g,3),G,!0)}function Yn(p){var g=p==null?0:p.length;return g?ia(p,1):[]}function Ml(p){var g=p==null?0:p.length;return g?ia(p,Z):[]}function _u(p,g){var T=p==null?0:p.length;return T?(g=g===r?1:At(g),ia(p,g)):[]}function qy(p){for(var g=-1,T=p==null?0:p.length,j={};++g<T;){var G=p[g];j[G[0]]=G[1]}return j}function Ly(p){return p&&p.length?p[0]:r}function jy(p,g,T){var j=p==null?0:p.length;if(!j)return-1;var G=T==null?0:At(T);return G<0&&(G=Er(j+G,0)),Qc(p,g,G)}function _h(p){var g=p==null?0:p.length;return g?_l(p,0,-1):[]}var Ah=qt(function(p){var g=Gn(p,oh);return g.length&&g[0]===p[0]?Js(g):[]}),Ol=qt(function(p){var g=or(p),T=Gn(p,oh);return g===or(T)?g=r:T.pop(),T.length&&T[0]===p[0]?Js(T,Rt(g,2)):[]}),Qt=qt(function(p){var g=or(p),T=Gn(p,oh);return g=typeof g=="function"?g:r,g&&T.pop(),T.length&&T[0]===p[0]?Js(T,r,g):[]});function xv(p,g){return p==null?"":Ao.call(p,g)}function or(p){var g=p==null?0:p.length;return g?p[g-1]:r}function zy(p,g,T){var j=p==null?0:p.length;if(!j)return-1;var G=j;return T!==r&&(G=At(T),G=G<0?Er(j+G,0):fn(G,j-1)),g===g?tf(p,g,G):Km(p,zp,G,!0)}function os(p,g){return p&&p.length?ah(p,At(g)):r}var Rf=qt(ii);function ii(p,g){return p&&p.length&&g&&g.length?vf(p,g):p}function Ev(p,g,T){return p&&p.length&&g&&g.length?vf(p,g,Rt(T,2)):p}function Sv(p,g,T){return p&&p.length&&g&&g.length?vf(p,g,r,T):p}var ui=Bi(function(p,g){var T=p==null?0:p.length,j=pf(p,g);return nc(p,Gn(g,function(G){return Ir(G,T)?+G:G}).sort(ch)),j});function zd(p,g){var T=[];if(!(p&&p.length))return T;var j=-1,G=[],ne=p.length;for(g=Rt(g,3);++j<ne;){var fe=p[j];g(fe,j,p)&&(T.push(fe),G.push(j))}return nc(p,G),T}function fc(p){return p==null?p:to.call(p)}function Dh(p,g,T){var j=p==null?0:p.length;return j?(T&&typeof T!="number"&&Na(p,g,T)?(g=0,T=j):(g=g==null?0:At(g),T=T===r?j:At(T)),_l(p,g,T)):[]}function so(p,g){return wd(p,g)}function Au(p,g,T){return Xr(p,g,Rt(T,2))}function R0(p,g){var T=p==null?0:p.length;if(T){var j=wd(p,g);if(j<T&&po(p[j],g))return j}return-1}function Cv(p,g){return wd(p,g,!0)}function Bd(p,g,T){return Xr(p,g,Rt(T,2),!0)}function By(p,g){var T=p==null?0:p.length;if(T){var j=wd(p,g,!0)-1;if(po(p[j],g))return j}return-1}function Mh(p){return p&&p.length?yy(p):[]}function wv(p,g){return p&&p.length?yy(p,Rt(g,2)):[]}function T0(p){var g=p==null?0:p.length;return g?_l(p,1,g):[]}function ky(p,g,T){return p&&p.length?(g=T||g===r?1:At(g),_l(p,0,g<0?0:g)):[]}function Sn(p,g,T){var j=p==null?0:p.length;return j?(g=T||g===r?1:At(g),g=j-g,_l(p,g<0?0:g,j)):[]}function Hn(p,g){return p&&p.length?ac(p,Rt(g,3),!1,!0):[]}function sn(p,g){return p&&p.length?ac(p,Rt(g,3)):[]}var en=qt(function(p){return Su(ia(p,1,Rr,!0))}),qn=qt(function(p){var g=or(p);return Rr(g)&&(g=r),Su(ia(p,1,Rr,!0),Rt(g,2))}),Pt=qt(function(p){var g=or(p);return g=typeof g=="function"?g:r,Su(ia(p,1,Rr,!0),r,g)});function Du(p){return p&&p.length?Su(p):[]}function dc(p,g){return p&&p.length?Su(p,Rt(g,2)):[]}function Rv(p,g){return g=typeof g=="function"?g:r,p&&p.length?Su(p,r,g):[]}function ko(p){if(!(p&&p.length))return[];var g=0;return p=Ku(p,function(T){if(Rr(T))return g=Er(T.length,g),!0}),hd(g,function(T){return Gn(p,Gu(T))})}function Xn(p,g){if(!(p&&p.length))return[];var T=ko(p);return g==null?T:Gn(T,function(j){return aa(g,r,j)})}var Ui=qt(function(p,g){return Rr(p)?$o(p,g):[]}),Tf=qt(function(p){return iv(Ku(p,Rr))}),Tv=qt(function(p){var g=or(p);return Rr(g)&&(g=r),iv(Ku(p,Rr),Rt(g,2))}),Nl=qt(function(p){var g=or(p);return g=typeof g=="function"?g:r,iv(Ku(p,Rr),r,g)}),Cr=qt(ko);function Oh(p,g){return Rd(p||[],g||[],ni)}function wr(p,g){return Rd(p||[],g||[],gf)}var _v=qt(function(p){var g=p.length,T=g>1?p[g-1]:r;return T=typeof T=="function"?(p.pop(),T):r,Xn(p,T)});function si(p){var g=ee(p);return g.__chain__=!0,g}function Uy(p,g){return g(p),p}function hn(p,g){return g(p)}var kd=Bi(function(p){var g=p.length,T=g?p[0]:0,j=this.__wrapped__,G=function(ne){return pf(ne,p)};return g>1||this.__actions__.length||!(j instanceof It)||!Ir(T)?this.thru(G):(j=j.slice(T,+T+(g?1:0)),j.__actions__.push({func:hn,args:[G],thisArg:r}),new Sl(j,this.__chain__).thru(function(ne){return g&&!ne.length&&ne.push(r),ne}))});function pr(){return si(this)}function fa(){return new Sl(this.value(),this.__chain__)}function is(){this.__values__===r&&(this.__values__=ob(this.value()));var p=this.__index__>=this.__values__.length,g=p?r:this.__values__[this.__index__++];return{done:p,value:g}}function pc(){return this}function Mu(p){for(var g,T=this;T instanceof Wu;){var j=Th(T);j.__index__=0,j.__values__=r,g?G.__wrapped__=j:g=j;var G=j;T=T.__wrapped__}return G.__wrapped__=p,g}function co(){var p=this.__wrapped__;if(p instanceof It){var g=p;return this.__actions__.length&&(g=new It(this)),g=g.reverse(),g.__actions__.push({func:hn,args:[fc],thisArg:r}),new Sl(g,this.__chain__)}return this.thru(fc)}function Av(){return ov(this.__wrapped__,this.__actions__)}var Dv=dh(function(p,g,T){On.call(p,T)?++p[T]:wl(p,T,1)});function Ud(p,g,T){var j=Bt(p)?Ri:es;return T&&Na(p,g,T)&&(g=r),j(p,Rt(g,3))}function Nh(p,g){var T=Bt(p)?Ku:eh;return T(p,Rt(g,3))}var fo=ph(jd),_0=ph(bv);function $l(p,g){return ia(Ph(p,g),1)}function A0(p,g){return ia(Ph(p,g),Z)}function $h(p,g,T){return T=T===r?1:At(T),ia(Ph(p,g),T)}function Iy(p,g){var T=Bt(p)?Co:ai;return T(p,Rt(g,3))}function Ou(p,g){var T=Bt(p)?ty:Jp;return T(p,Rt(g,3))}var Id=dh(function(p,g,T){On.call(p,T)?p[T].push(g):wl(p,T,[g])});function Hy(p,g,T,j){p=Wa(p)?p:Ll(p),T=T&&!j?At(T):0;var G=p.length;return T<0&&(T=Er(G+T,0)),Hh(p)?T<=G&&p.indexOf(g,T)>-1:!!G&&Qc(p,g,T)>-1}var Nu=qt(function(p,g,T){var j=-1,G=typeof g=="function",ne=Wa(p)?ze(p.length):[];return ai(p,function(fe){ne[++j]=G?aa(g,fe,T):Tl(fe,g,T)}),ne}),Hd=dh(function(p,g,T){wl(p,T,g)});function Ph(p,g){var T=Bt(p)?Gn:Eu;return T(p,Rt(g,3))}function D0(p,g,T,j){return p==null?[]:(Bt(g)||(g=g==null?[]:[g]),T=j?r:T,Bt(T)||(T=T==null?[]:[T]),tc(p,g,T))}var M0=dh(function(p,g,T){p[T?0:1].push(g)},function(){return[[],[]]});function Mv(p,g,T){var j=Bt(p)?jp:Gm,G=arguments.length<3;return j(p,Rt(g,4),T,G,ai)}function Ov(p,g,T){var j=Bt(p)?_i:Gm,G=arguments.length<3;return j(p,Rt(g,4),T,G,Jp)}function px(p,g){var T=Bt(p)?Ku:eh;return T(p,Za(Rt(g,3)))}function O0(p){var g=Bt(p)?ff:ev;return g(p)}function hc(p,g,T){(T?Na(p,g,T):g===r)?g=1:g=At(g);var j=Bt(p)?df:tv;return j(p,g)}function N0(p){var g=Bt(p)?hy:nv;return g(p)}function $0(p){if(p==null)return 0;if(Wa(p))return Hh(p)?nf(p):p.length;var g=Pn(p);return g==vt||g==$e?p.size:xu(p).length}function _f(p,g,T){var j=Bt(p)?ny:rv;return T&&Na(p,g,T)&&(g=r),j(p,Rt(g,3))}var qh=qt(function(p,g){if(p==null)return[];var T=g.length;return T>1&&Na(p,g[0],g[1])?g=[]:T>2&&Na(g[0],g[1],g[2])&&(g=[g[0]]),tc(p,ia(g,1),[])}),Lh=Qm||function(){return ra.Date.now()};function P0(p,g){if(typeof g!="function")throw new Va(h);return p=At(p),function(){if(--p<1)return g.apply(this,arguments)}}function Vy(p,g,T){return g=T?r:g,g=p&&g==null?p.length:g,Qa(p,K,r,r,r,r,g)}function Fy(p,g){var T;if(typeof g!="function")throw new Va(h);return p=At(p),function(){return--p>0&&(T=g.apply(this,arguments)),p<=1&&(g=r),T}}var Nv=qt(function(p,g,T){var j=L;if(T.length){var G=Mi(T,$n(Nv));j|=V}return Qa(p,j,g,T,G)}),Ky=qt(function(p,g,T){var j=L|P;if(T.length){var G=Mi(T,$n(Ky));j|=V}return Qa(g,j,p,T,G)});function Af(p,g,T){g=T?r:g;var j=Qa(p,I,r,r,r,r,r,g);return j.placeholder=Af.placeholder,j}function Gy(p,g,T){g=T?r:g;var j=Qa(p,Y,r,r,r,r,r,g);return j.placeholder=Gy.placeholder,j}function Yy(p,g,T){var j,G,ne,fe,Se,Ne,Qe=0,tt=!1,nt=!1,it=!0;if(typeof p!="function")throw new Va(h);g=Cn(g)||0,er(T)&&(tt=!!T.leading,nt="maxWait"in T,ne=nt?Er(Cn(T.maxWait)||0,g):ne,it="trailing"in T?!!T.trailing:it);function xt(Lr){var Lu=j,kf=G;return j=G=r,Qe=Lr,fe=p.apply(kf,Lu),fe}function Mt(Lr){return Qe=Lr,Se=Nd(tn,g),tt?xt(Lr):fe}function Vt(Lr){var Lu=Lr-Ne,kf=Lr-Qe,Jw=g-Lu;return nt?fn(Jw,ne-kf):Jw}function Ot(Lr){var Lu=Lr-Ne,kf=Lr-Qe;return Ne===r||Lu>=g||Lu<0||nt&&kf>=ne}function tn(){var Lr=Lh();if(Ot(Lr))return yn(Lr);Se=Nd(tn,Vt(Lr))}function yn(Lr){return Se=r,it&&j?xt(Lr):(j=G=r,fe)}function Ko(){Se!==r&&yf(Se),Qe=0,j=Ne=G=Se=r}function zl(){return Se===r?fe:yn(Lh())}function Bl(){var Lr=Lh(),Lu=Ot(Lr);if(j=arguments,G=this,Ne=Lr,Lu){if(Se===r)return Mt(Ne);if(nt)return yf(Se),Se=Nd(tn,g),xt(Ne)}return Se===r&&(Se=Nd(tn,g)),fe}return Bl.cancel=Ko,Bl.flush=zl,Bl}var Ln=qt(function(p,g){return Zm(p,1,g)}),jh=qt(function(p,g,T){return Zm(p,Cn(g)||0,T)});function Xy(p){return Qa(p,he)}function zh(p,g){if(typeof p!="function"||g!=null&&typeof g!="function")throw new Va(h);var T=function(){var j=arguments,G=g?g.apply(this,j):j[0],ne=T.cache;if(ne.has(G))return ne.get(G);var fe=p.apply(this,j);return T.cache=ne.set(G,fe)||ne,fe};return T.cache=new(zh.Cache||Mo),T}zh.Cache=Mo;function Za(p){if(typeof p!="function")throw new Va(h);return function(){var g=arguments;switch(g.length){case 0:return!p.call(this);case 1:return!p.call(this,g[0]);case 2:return!p.call(this,g[0],g[1]);case 3:return!p.call(this,g[0],g[1],g[2])}return!p.apply(this,g)}}function q0(p){return Fy(2,p)}var L0=by(function(p,g){g=g.length==1&&Bt(g[0])?Gn(g[0],Wl(Rt())):Gn(ia(g,1),Wl(Rt()));var T=g.length;return qt(function(j){for(var G=-1,ne=fn(j.length,T);++G<ne;)j[G]=g[G].call(this,j[G]);return aa(p,this,j)})}),mc=qt(function(p,g){var T=Mi(g,$n(mc));return Qa(p,V,r,g,T)}),vc=qt(function(p,g){var T=Mi(g,$n(vc));return Qa(p,F,r,g,T)}),Qy=Bi(function(p,g){return Qa(p,Q,r,r,r,g)});function $v(p,g){if(typeof p!="function")throw new Va(h);return g=g===r?g:At(g),qt(p,g)}function Zy(p,g){if(typeof p!="function")throw new Va(h);return g=g==null?0:Er(At(g),0),qt(function(T){var j=T[g],G=jo(T,0,g);return j&&Ti(G,j),aa(p,this,G)})}function us(p,g,T){var j=!0,G=!0;if(typeof p!="function")throw new Va(h);return er(T)&&(j="leading"in T?!!T.leading:j,G="trailing"in T?!!T.trailing:G),Yy(p,g,{leading:j,maxWait:g,trailing:G})}function $u(p){return Vy(p,1)}function ss(p,g){return mc(ih(g),p)}function Pv(){if(!arguments.length)return[];var p=arguments[0];return Bt(p)?p:[p]}function Wy(p){return Ga(p,M)}function Jy(p,g){return g=typeof g=="function"?g:r,Ga(p,M,g)}function Bh(p){return Ga(p,S|M)}function Df(p,g){return g=typeof g=="function"?g:r,Ga(p,S|M,g)}function kh(p,g){return g==null||Ju(p,g,Wr(g))}function po(p,g){return p===g||p!==p&&g!==g}var j0=vh(Ws),Mf=vh(function(p,g){return p>=g}),Ii=Xa((function(){return arguments})())?Xa:function(p){return Tr(p)&&On.call(p,"callee")&&!gd.call(p,"callee")},Bt=ze.isArray,Vd=Wg?Wl(Wg):fr;function Wa(p){return p!=null&&Uh(p.length)&&!Uo(p)}function Rr(p){return Tr(p)&&Wa(p)}function Fd(p){return p===!0||p===!1||Tr(p)&&ua(p)==Je}var cs=fy||Le,z0=Jg?Wl(Jg):Ed;function rn(p){return Tr(p)&&p.nodeType===1&&!Nf(p)}function eb(p){if(p==null)return!0;if(Wa(p)&&(Bt(p)||typeof p=="string"||typeof p.splice=="function"||cs(p)||Hi(p)||Ii(p)))return!p.length;var g=Pn(p);if(g==vt||g==$e)return!p.size;if(Cf(p))return!xu(p).length;for(var T in p)if(On.call(p,T))return!1;return!0}function qv(p,g){return no(p,g)}function Kd(p,g,T){T=typeof T=="function"?T:r;var j=T?T(p,g):r;return j===r?no(p,g,r,T):!!j}function Of(p){if(!Tr(p))return!1;var g=ua(p);return g==Ee||g==ke||typeof p.message=="string"&&typeof p.name=="string"&&!Nf(p)}function tb(p){return typeof p=="number"&&Jl(p)}function Uo(p){if(!er(p))return!1;var g=ua(p);return g==Ae||g==ot||g==_e||g==Ds}function Gd(p){return typeof p=="number"&&p==At(p)}function Uh(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=te}function er(p){var g=typeof p;return p!=null&&(g=="object"||g=="function")}function Tr(p){return p!=null&&typeof p=="object"}var Lv=Lp?Wl(Lp):Nn;function nb(p,g){return p===g||Sr(p,g,xh(g))}function rb(p,g,T){return T=typeof T=="function"?T:r,Sr(p,g,xh(g),T)}function Vn(p){return Ih(p)&&p!=+p}function ab(p){if(hv(p))throw new jt(c);return ec(p)}function qa(p){return p===null}function lb(p){return p==null}function Ih(p){return typeof p=="number"||Tr(p)&&ua(p)==Xt}function Nf(p){if(!Tr(p)||ua(p)!=Kn)return!1;var g=Wo(p);if(g===null)return!0;var T=On.call(g,"constructor")&&g.constructor;return typeof T=="function"&&T instanceof T&&Ro.call(T)==lf}var Yd=Vm?Wl(Vm):hf;function jv(p){return Gd(p)&&p>=-te&&p<=te}var fs=ey?Wl(ey):ts;function Hh(p){return typeof p=="string"||!Bt(p)&&Tr(p)&&ua(p)==Ve}function Pl(p){return typeof p=="symbol"||Tr(p)&&ua(p)==st}var Hi=zs?Wl(zs):th;function zv(p){return p===r}function hx(p){return Tr(p)&&Pn(p)==at}function Vh(p){return Tr(p)&&ua(p)==bt}var B0=vh(lr),$f=vh(function(p,g){return p<=g});function ob(p){if(!p)return[];if(Wa(p))return Hh(p)?Wn(p):Dl(p);if(Jn&&p[Jn])return Di(p[Jn]());var g=Pn(p),T=g==vt?kp:g==$e?Ip:Ll;return T(p)}function Vi(p){if(!p)return p===0?p:0;if(p=Cn(p),p===Z||p===-Z){var g=p<0?-1:1;return g*be}return p===p?p:0}function At(p){var g=Vi(p),T=g%1;return g===g?T?g-T:g:0}function Bv(p){return p?ri(At(p),0,oe):0}function Cn(p){if(typeof p=="number")return p;if(Pl(p))return re;if(er(p)){var g=typeof p.valueOf=="function"?p.valueOf():p;p=er(g)?g+"":g}if(typeof p!="string")return p===0?p:+p;p=Bs(p);var T=p0.test(p);return T||au.test(p)?$p(p.slice(2),T?2:8):Fg.test(p)?re:+p}function Xd(p){return ao(p,qr(p))}function mx(p){return p?ri(At(p),-te,te):p===0?p:0}function ht(p){return p==null?"":Al(p)}var k0=ji(function(p,g){if(Cf(g)||Wa(g)){ao(g,Wr(g),p);return}for(var T in g)On.call(g,T)&&ni(p,T,g[T])}),Io=ji(function(p,g){ao(g,qr(g),p)}),Fi=ji(function(p,g,T,j){ao(g,qr(g),p,j)}),Qd=ji(function(p,g,T,j){ao(g,Wr(g),p,j)}),ql=Bi(pf);function Fh(p,g){var T=Ks(p);return g==null?T:Wp(T,g)}var kv=qt(function(p,g){p=En(p);var T=-1,j=g.length,G=j>2?g[2]:r;for(G&&Na(g[0],g[1],G)&&(j=1);++T<j;)for(var ne=g[T],fe=qr(ne),Se=-1,Ne=fe.length;++Se<Ne;){var Qe=fe[Se],tt=p[Qe];(tt===r||po(tt,Zo[Qe])&&!On.call(p,Qe))&&(p[Qe]=ne[Qe])}return p}),Ki=qt(function(p){return p.push(r,fv),aa(ds,r,p)});function Zd(p,g){return Fm(p,Rt(g,3),Po)}function Pf(p,g){return Fm(p,Rt(g,3),yu)}function ho(p,g){return p==null?p:gu(p,Rt(g,3),qr)}function Kh(p,g){return p==null?p:Li(p,Rt(g,3),qr)}function Ja(p,g){return p&&Po(p,Rt(g,3))}function Gi(p,g){return p&&yu(p,Rt(g,3))}function vx(p){return p==null?[]:$r(p,Wr(p))}function U0(p){return p==null?[]:$r(p,qr(p))}function gc(p,g,T){var j=p==null?r:qo(p,g);return j===r?T:j}function Zr(p,g){return p!=null&&Eh(p,g,Rl)}function Ue(p,g){return p!=null&&Eh(p,g,Lo)}var An=_d(function(p,g,T){g!=null&&typeof g.toString!="function"&&(g=xa.call(g)),p[g]=T},fi(tl)),gx=_d(function(p,g,T){g!=null&&typeof g.toString!="function"&&(g=xa.call(g)),On.call(p,g)?p[g].push(T):p[g]=[T]},Rt),ib=qt(Tl);function Wr(p){return Wa(p)?Xs(p):xu(p)}function qr(p){return Wa(p)?Xs(p,!0):E0(p)}function yc(p,g){var T={};return g=Rt(g,3),Po(p,function(j,G,ne){wl(T,g(j,G,ne),j)}),T}function Wd(p,g){var T={};return g=Rt(g,3),Po(p,function(j,G,ne){wl(T,G,g(j,G,ne))}),T}var Ho=ji(function(p,g,T){rh(p,g,T)}),ds=ji(function(p,g,T,j){rh(p,g,T,j)}),Jd=Bi(function(p,g){var T={};if(p==null)return T;var j=!1;g=Gn(g,function(ne){return ne=ro(ne,p),j||(j=ne.length>1),ne}),ao(p,_y(p),T),j&&(T=Ga(T,S|R|M,dv));for(var G=g.length;G--;)ns(T,g[G]);return T});function I0(p,g){return Lf(p,Za(Rt(g)))}var qf=Bi(function(p,g){return p==null?{}:lh(p,g)});function Lf(p,g){if(p==null)return{};var T=Gn(_y(p),function(j){return[j]});return g=Rt(g),sa(p,T,function(j,G){return g(j,G[0])})}function ub(p,g,T){g=ro(g,p);var j=-1,G=g.length;for(G||(G=1,p=r);++j<G;){var ne=p==null?r:p[ca(g[j])];ne===r&&(j=G,ne=T),p=Uo(ne)?ne.call(p):ne}return p}function Gh(p,g,T){return p==null?p:gf(p,g,T)}function Uv(p,g,T,j){return j=typeof j=="function"?j:r,p==null?p:gf(p,g,T,j)}var Yh=Ry(Wr),jf=Ry(qr);function sb(p,g,T){var j=Bt(p),G=j||cs(p)||Hi(p);if(g=Rt(g,4),T==null){var ne=p&&p.constructor;G?T=j?new ne:[]:er(p)?T=Uo(ne)?Ks(Wo(p)):{}:T={}}return(G?Co:Po)(p,function(fe,Se,Ne){return g(T,fe,Se,Ne)}),T}function Iv(p,g){return p==null?!0:ns(p,g)}function cb(p,g,T){return p==null?p:lv(p,g,ih(T))}function mo(p,g,T,j){return j=typeof j=="function"?j:r,p==null?p:lv(p,g,ih(T),j)}function Ll(p){return p==null?[]:ly(p,Wr(p))}function Vo(p){return p==null?[]:ly(p,qr(p))}function fb(p,g,T){return T===r&&(T=g,g=r),T!==r&&(T=Cn(T),T=T===T?T:0),g!==r&&(g=Cn(g),g=g===g?g:0),ri(Cn(p),g,T)}function Hv(p,g,T){return g=Vi(g),T===r?(T=g,g=0):T=Vi(T),p=Cn(p),bu(p,g,T)}function Vv(p,g,T){if(T&&typeof T!="boolean"&&Na(p,g,T)&&(g=T=r),T===r&&(typeof g=="boolean"?(T=g,g=r):typeof p=="boolean"&&(T=p,p=r)),p===r&&g===r?(p=0,g=1):(p=Vi(p),g===r?(g=p,p=0):g=Vi(g)),p>g){var j=p;p=g,g=j}if(T||p%1||g%1){var G=ei();return fn(p+G*(g-p+Ls("1e-"+((G+"").length-1))),g)}return rc(p,g)}var Fv=lc(function(p,g,T){return g=g.toLowerCase(),p+(T?da(g):g)});function da(p){return hs(ht(p).toLowerCase())}function ep(p){return p=ht(p),p&&p.replace(Hc,ks).replace(Qg,"")}function db(p,g,T){p=ht(p),g=Al(g);var j=p.length;T=T===r?j:ri(At(T),0,j);var G=T;return T-=g.length,T>=0&&p.slice(T,G)==g}function Kv(p){return p=ht(p),p&&xr.test(p)?p.replace(yi,ef):p}function zf(p){return p=ht(p),p&&ru.test(p)?p.replace(Ic,"\\$&"):p}var H0=lc(function(p,g,T){return p+(T?"-":"")+g.toLowerCase()}),Gv=lc(function(p,g,T){return p+(T?" ":"")+g.toLowerCase()}),pb=Cy("toLowerCase");function V0(p,g,T){p=ht(p),g=At(g);var j=g?nf(p):0;if(!g||j>=g)return p;var G=(g-j)/2;return oc(yd(G),T)+p+oc(Qu(G),T)}function Bf(p,g,T){p=ht(p),g=At(g);var j=g?nf(p):0;return g&&j<g?p+oc(g-j,T):p}function pa(p,g,T){p=ht(p),g=At(g);var j=g?nf(p):0;return g&&j<g?oc(g-j,T)+p:p}function Pu(p,g,T){return T||g==null?g=0:g&&(g=+g),El(ht(p).replace(vl,""),g||0)}function qu(p,g,T){return(T?Na(p,g,T):g===r)?g=1:g=At(g),li(ht(p),g)}function La(){var p=arguments,g=ht(p[0]);return p.length<3?g:g.replace(p[1],p[2])}var hb=lc(function(p,g,T){return p+(T?"_":"")+g.toLowerCase()});function Yv(p,g,T){return T&&typeof T!="number"&&Na(p,g,T)&&(g=T=r),T=T===r?oe:T>>>0,T?(p=ht(p),p&&(typeof g=="string"||g!=null&&!Yd(g))&&(g=Al(g),!g&&Yu(p))?jo(Wn(p),0,T):p.split(g,T)):[]}var tp=lc(function(p,g,T){return p+(T?" ":"")+hs(g)});function Xh(p,g,T){return p=ht(p),T=T==null?0:ri(At(T),0,p.length),g=Al(g),p.slice(T,T+g.length)==g}function np(p,g,T){var j=ee.templateSettings;T&&Na(p,g,T)&&(g=r),p=ht(p),g=Fi({},g,j,gh);var G=Fi({},g.imports,j.imports,gh),ne=Wr(G),fe=ly(G,ne),Se,Ne,Qe=0,tt=g.interpolate||lu,nt="__p += '",it=cu((g.escape||lu).source+"|"+tt.source+"|"+(tt===lt?Ps:lu).source+"|"+(g.evaluate||lu).source+"|$","g"),xt="//# sourceURL="+(On.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Zg+"]")+`
|
|
336
|
+
`;p.replace(it,function(Ot,tn,yn,Ko,zl,Bl){return yn||(yn=Ko),nt+=p.slice(Qe,Bl).replace(rd,md),tn&&(Se=!0,nt+=`' +
|
|
337
|
+
__e(`+tn+`) +
|
|
338
|
+
'`),zl&&(Ne=!0,nt+=`';
|
|
339
|
+
`+zl+`;
|
|
340
|
+
__p += '`),yn&&(nt+=`' +
|
|
341
|
+
((__t = (`+yn+`)) == null ? '' : __t) +
|
|
342
|
+
'`),Qe=Bl+Ot.length,Ot}),nt+=`';
|
|
343
|
+
`;var Mt=On.call(g,"variable")&&g.variable;if(!Mt)nt=`with (obj) {
|
|
344
|
+
`+nt+`
|
|
345
|
+
}
|
|
346
|
+
`;else if(kn.test(Mt))throw new jt(m);nt=(Ne?nt.replace(kc,""):nt).replace(Cp,"$1").replace(gi,"$1;"),nt="function("+(Mt||"obj")+`) {
|
|
347
|
+
`+(Mt?"":`obj || (obj = {});
|
|
348
|
+
`)+"var __t, __p = ''"+(Se?", __e = _.escape":"")+(Ne?`, __j = Array.prototype.join;
|
|
349
|
+
function print() { __p += __j.call(arguments, '') }
|
|
350
|
+
`:`;
|
|
351
|
+
`)+nt+`return __p
|
|
352
|
+
}`;var Vt=mb(function(){return Jt(ne,xt+"return "+nt).apply(r,fe)});if(Vt.source=nt,Of(Vt))throw Vt;return Vt}function ha(p){return ht(p).toLowerCase()}function ja(p){return ht(p).toUpperCase()}function el(p,g,T){if(p=ht(p),p&&(T||g===r))return Bs(p);if(!p||!(g=Al(g)))return p;var j=Wn(p),G=Wn(g),ne=Ai(j,G),fe=Ym(j,G)+1;return jo(j,ne,fe).join("")}function bc(p,g,T){if(p=ht(p),p&&(T||g===r))return p.slice(0,wo(p)+1);if(!p||!(g=Al(g)))return p;var j=Wn(p),G=Ym(j,Wn(g))+1;return jo(j,0,G).join("")}function ci(p,g,T){if(p=ht(p),p&&(T||g===r))return p.replace(vl,"");if(!p||!(g=Al(g)))return p;var j=Wn(p),G=Ai(j,Wn(g));return jo(j,G).join("")}function hr(p,g){var T=de,j=W;if(er(g)){var G="separator"in g?g.separator:G;T="length"in g?At(g.length):T,j="omission"in g?Al(g.omission):j}p=ht(p);var ne=p.length;if(Yu(p)){var fe=Wn(p);ne=fe.length}if(T>=ne)return p;var Se=T-nf(j);if(Se<1)return j;var Ne=fe?jo(fe,0,Se).join(""):p.slice(0,Se);if(G===r)return Ne+j;if(fe&&(Se+=Ne.length-Se),Yd(G)){if(p.slice(Se).search(G)){var Qe,tt=Ne;for(G.global||(G=cu(G.source,ht(wp.exec(G))+"g")),G.lastIndex=0;Qe=G.exec(tt);)var nt=Qe.index;Ne=Ne.slice(0,nt===r?Se:nt)}}else if(p.indexOf(Al(G),Se)!=Se){var it=Ne.lastIndexOf(G);it>-1&&(Ne=Ne.slice(0,it))}return Ne+j}function jl(p){return p=ht(p),p&&Gl.test(p)?p.replace(Kl,iy):p}var ps=lc(function(p,g,T){return p+(T?" ":"")+g.toUpperCase()}),hs=Cy("toUpperCase");function F0(p,g,T){return p=ht(p),g=T?r:g,g===r?bl(p)?Is(p):fx(p):p.match(g)||[]}var mb=qt(function(p,g){try{return aa(p,r,g)}catch(T){return Of(T)?T:new jt(T)}}),Qh=Bi(function(p,g){return Co(g,function(T){T=ca(T),wl(p,T,Nv(p[T],p))}),p});function rp(p){var g=p==null?0:p.length,T=Rt();return p=g?Gn(p,function(j){if(typeof j[1]!="function")throw new Va(h);return[T(j[0]),j[1]]}):[],qt(function(j){for(var G=-1;++G<g;){var ne=p[G];if(aa(ne[0],this,j))return aa(ne[1],this,j)}})}function K0(p){return x0(Ga(p,S))}function fi(p){return function(){return p}}function ap(p,g){return p==null||p!==p?g:p}var G0=wu(),lp=wu(!0);function tl(p){return p}function op(p){return mf(typeof p=="function"?p:Ga(p,S))}function Xv(p){return Sd(Ga(p,S))}function vb(p,g){return nh(p,Ga(g,S))}var Y0=qt(function(p,g){return function(T){return Tl(T,p,g)}}),Zh=qt(function(p,g){return function(T){return Tl(p,T,g)}});function o(p,g,T){var j=Wr(g),G=$r(g,j);T==null&&!(er(g)&&(G.length||!j.length))&&(T=g,g=p,p=this,G=$r(g,Wr(g)));var ne=!(er(T)&&"chain"in T)||!!T.chain,fe=Uo(p);return Co(G,function(Se){var Ne=g[Se];p[Se]=Ne,fe&&(p.prototype[Se]=function(){var Qe=this.__chain__;if(ne||Qe){var tt=p(this.__wrapped__),nt=tt.__actions__=Dl(this.__actions__);return nt.push({func:Ne,args:arguments,thisArg:p}),tt.__chain__=Qe,tt}return Ne.apply(p,Ti([this.value()],arguments))})}),p}function u(){return ra._===this&&(ra._=cr),this}function f(){}function v(p){return p=At(p),qt(function(g){return ah(g,p)})}var w=hh(Gn),_=hh(Ri),z=hh(ny);function J(p){return Ru(p)?Gu(ca(p)):Pr(p)}function ge(p){return function(g){return p==null?r:qo(p,g)}}var qe=mh(),Ye=mh(!0);function We(){return[]}function Le(){return!1}function He(){return{}}function mt(){return""}function Dt(){return!0}function Fn(p,g){if(p=At(p),p<1||p>te)return[];var T=oe,j=fn(p,oe);g=Rt(g),p-=oe;for(var G=hd(j,g);++T<p;)g(T);return G}function Oe(p){return Bt(p)?Gn(p,ca):Pl(p)?[p]:Dl(as(ht(p)))}function we(p){var g=++fu;return ht(p)+g}var Pe=xf(function(p,g){return p+g},0),Ze=oo("ceil"),wt=xf(function(p,g){return p/g},1),gn=oo("floor");function yt(p){return p&&p.length?Ya(p,tl,Ws):r}function Ht(p,g){return p&&p.length?Ya(p,Rt(g,2),Ws):r}function Zt(p){return Zc(p,tl)}function wn(p,g){return Zc(p,Rt(g,2))}function Yi(p){return p&&p.length?Ya(p,tl,lr):r}function X0(p,g){return p&&p.length?Ya(p,Rt(g,2),lr):r}var Qv=xf(function(p,g){return p*g},1),Z_=oo("round"),W_=xf(function(p,g){return p-g},0);function Ww(p){return p&&p.length?uu(p,tl):0}function Fo(p,g){return p&&p.length?uu(p,Rt(g,2)):0}return ee.after=P0,ee.ary=Vy,ee.assign=k0,ee.assignIn=Io,ee.assignInWith=Fi,ee.assignWith=Qd,ee.at=ql,ee.before=Fy,ee.bind=Nv,ee.bindAll=Qh,ee.bindKey=Ky,ee.castArray=Pv,ee.chain=si,ee.chunk=Ny,ee.compact=$d,ee.concat=Pd,ee.cond=rp,ee.conforms=K0,ee.constant=fi,ee.countBy=Dv,ee.create=Fh,ee.curry=Af,ee.curryRight=Gy,ee.debounce=Yy,ee.defaults=kv,ee.defaultsDeep=Ki,ee.defer=Ln,ee.delay=jh,ee.difference=qd,ee.differenceBy=$y,ee.differenceWith=ls,ee.drop=Qr,ee.dropRight=yv,ee.dropRightWhile=Py,ee.dropWhile=wa,ee.fill=Ld,ee.filter=Nh,ee.flatMap=$l,ee.flatMapDeep=A0,ee.flatMapDepth=$h,ee.flatten=Yn,ee.flattenDeep=Ml,ee.flattenDepth=_u,ee.flip=Xy,ee.flow=G0,ee.flowRight=lp,ee.fromPairs=qy,ee.functions=vx,ee.functionsIn=U0,ee.groupBy=Id,ee.initial=_h,ee.intersection=Ah,ee.intersectionBy=Ol,ee.intersectionWith=Qt,ee.invert=An,ee.invertBy=gx,ee.invokeMap=Nu,ee.iteratee=op,ee.keyBy=Hd,ee.keys=Wr,ee.keysIn=qr,ee.map=Ph,ee.mapKeys=yc,ee.mapValues=Wd,ee.matches=Xv,ee.matchesProperty=vb,ee.memoize=zh,ee.merge=Ho,ee.mergeWith=ds,ee.method=Y0,ee.methodOf=Zh,ee.mixin=o,ee.negate=Za,ee.nthArg=v,ee.omit=Jd,ee.omitBy=I0,ee.once=q0,ee.orderBy=D0,ee.over=w,ee.overArgs=L0,ee.overEvery=_,ee.overSome=z,ee.partial=mc,ee.partialRight=vc,ee.partition=M0,ee.pick=qf,ee.pickBy=Lf,ee.property=J,ee.propertyOf=ge,ee.pull=Rf,ee.pullAll=ii,ee.pullAllBy=Ev,ee.pullAllWith=Sv,ee.pullAt=ui,ee.range=qe,ee.rangeRight=Ye,ee.rearg=Qy,ee.reject=px,ee.remove=zd,ee.rest=$v,ee.reverse=fc,ee.sampleSize=hc,ee.set=Gh,ee.setWith=Uv,ee.shuffle=N0,ee.slice=Dh,ee.sortBy=qh,ee.sortedUniq=Mh,ee.sortedUniqBy=wv,ee.split=Yv,ee.spread=Zy,ee.tail=T0,ee.take=ky,ee.takeRight=Sn,ee.takeRightWhile=Hn,ee.takeWhile=sn,ee.tap=Uy,ee.throttle=us,ee.thru=hn,ee.toArray=ob,ee.toPairs=Yh,ee.toPairsIn=jf,ee.toPath=Oe,ee.toPlainObject=Xd,ee.transform=sb,ee.unary=$u,ee.union=en,ee.unionBy=qn,ee.unionWith=Pt,ee.uniq=Du,ee.uniqBy=dc,ee.uniqWith=Rv,ee.unset=Iv,ee.unzip=ko,ee.unzipWith=Xn,ee.update=cb,ee.updateWith=mo,ee.values=Ll,ee.valuesIn=Vo,ee.without=Ui,ee.words=F0,ee.wrap=ss,ee.xor=Tf,ee.xorBy=Tv,ee.xorWith=Nl,ee.zip=Cr,ee.zipObject=Oh,ee.zipObjectDeep=wr,ee.zipWith=_v,ee.entries=Yh,ee.entriesIn=jf,ee.extend=Io,ee.extendWith=Fi,o(ee,ee),ee.add=Pe,ee.attempt=mb,ee.camelCase=Fv,ee.capitalize=da,ee.ceil=Ze,ee.clamp=fb,ee.clone=Wy,ee.cloneDeep=Bh,ee.cloneDeepWith=Df,ee.cloneWith=Jy,ee.conformsTo=kh,ee.deburr=ep,ee.defaultTo=ap,ee.divide=wt,ee.endsWith=db,ee.eq=po,ee.escape=Kv,ee.escapeRegExp=zf,ee.every=Ud,ee.find=fo,ee.findIndex=jd,ee.findKey=Zd,ee.findLast=_0,ee.findLastIndex=bv,ee.findLastKey=Pf,ee.floor=gn,ee.forEach=Iy,ee.forEachRight=Ou,ee.forIn=ho,ee.forInRight=Kh,ee.forOwn=Ja,ee.forOwnRight=Gi,ee.get=gc,ee.gt=j0,ee.gte=Mf,ee.has=Zr,ee.hasIn=Ue,ee.head=Ly,ee.identity=tl,ee.includes=Hy,ee.indexOf=jy,ee.inRange=Hv,ee.invoke=ib,ee.isArguments=Ii,ee.isArray=Bt,ee.isArrayBuffer=Vd,ee.isArrayLike=Wa,ee.isArrayLikeObject=Rr,ee.isBoolean=Fd,ee.isBuffer=cs,ee.isDate=z0,ee.isElement=rn,ee.isEmpty=eb,ee.isEqual=qv,ee.isEqualWith=Kd,ee.isError=Of,ee.isFinite=tb,ee.isFunction=Uo,ee.isInteger=Gd,ee.isLength=Uh,ee.isMap=Lv,ee.isMatch=nb,ee.isMatchWith=rb,ee.isNaN=Vn,ee.isNative=ab,ee.isNil=lb,ee.isNull=qa,ee.isNumber=Ih,ee.isObject=er,ee.isObjectLike=Tr,ee.isPlainObject=Nf,ee.isRegExp=Yd,ee.isSafeInteger=jv,ee.isSet=fs,ee.isString=Hh,ee.isSymbol=Pl,ee.isTypedArray=Hi,ee.isUndefined=zv,ee.isWeakMap=hx,ee.isWeakSet=Vh,ee.join=xv,ee.kebabCase=H0,ee.last=or,ee.lastIndexOf=zy,ee.lowerCase=Gv,ee.lowerFirst=pb,ee.lt=B0,ee.lte=$f,ee.max=yt,ee.maxBy=Ht,ee.mean=Zt,ee.meanBy=wn,ee.min=Yi,ee.minBy=X0,ee.stubArray=We,ee.stubFalse=Le,ee.stubObject=He,ee.stubString=mt,ee.stubTrue=Dt,ee.multiply=Qv,ee.nth=os,ee.noConflict=u,ee.noop=f,ee.now=Lh,ee.pad=V0,ee.padEnd=Bf,ee.padStart=pa,ee.parseInt=Pu,ee.random=Vv,ee.reduce=Mv,ee.reduceRight=Ov,ee.repeat=qu,ee.replace=La,ee.result=ub,ee.round=Z_,ee.runInContext=Me,ee.sample=O0,ee.size=$0,ee.snakeCase=hb,ee.some=_f,ee.sortedIndex=so,ee.sortedIndexBy=Au,ee.sortedIndexOf=R0,ee.sortedLastIndex=Cv,ee.sortedLastIndexBy=Bd,ee.sortedLastIndexOf=By,ee.startCase=tp,ee.startsWith=Xh,ee.subtract=W_,ee.sum=Ww,ee.sumBy=Fo,ee.template=np,ee.times=Fn,ee.toFinite=Vi,ee.toInteger=At,ee.toLength=Bv,ee.toLower=ha,ee.toNumber=Cn,ee.toSafeInteger=mx,ee.toString=ht,ee.toUpper=ja,ee.trim=el,ee.trimEnd=bc,ee.trimStart=ci,ee.truncate=hr,ee.unescape=jl,ee.uniqueId=we,ee.upperCase=ps,ee.upperFirst=hs,ee.each=Iy,ee.eachRight=Ou,ee.first=Ly,o(ee,(function(){var p={};return Po(ee,function(g,T){On.call(ee.prototype,T)||(p[T]=g)}),p})(),{chain:!1}),ee.VERSION=l,Co(["bind","bindKey","curry","curryRight","partial","partialRight"],function(p){ee[p].placeholder=ee}),Co(["drop","take"],function(p,g){It.prototype[p]=function(T){T=T===r?1:Er(At(T),0);var j=this.__filtered__&&!g?new It(this):this.clone();return j.__filtered__?j.__takeCount__=fn(T,j.__takeCount__):j.__views__.push({size:fn(T,oe),type:p+(j.__dir__<0?"Right":"")}),j},It.prototype[p+"Right"]=function(T){return this.reverse()[p](T).reverse()}}),Co(["filter","map","takeWhile"],function(p,g){var T=g+1,j=T==ae||T==B;It.prototype[p]=function(G){var ne=this.clone();return ne.__iteratees__.push({iteratee:Rt(G,3),type:T}),ne.__filtered__=ne.__filtered__||j,ne}}),Co(["head","last"],function(p,g){var T="take"+(g?"Right":"");It.prototype[p]=function(){return this[T](1).value()[0]}}),Co(["initial","tail"],function(p,g){var T="drop"+(g?"":"Right");It.prototype[p]=function(){return this.__filtered__?new It(this):this[T](1)}}),It.prototype.compact=function(){return this.filter(tl)},It.prototype.find=function(p){return this.filter(p).head()},It.prototype.findLast=function(p){return this.reverse().find(p)},It.prototype.invokeMap=qt(function(p,g){return typeof p=="function"?new It(this):this.map(function(T){return Tl(T,p,g)})}),It.prototype.reject=function(p){return this.filter(Za(Rt(p)))},It.prototype.slice=function(p,g){p=At(p);var T=this;return T.__filtered__&&(p>0||g<0)?new It(T):(p<0?T=T.takeRight(-p):p&&(T=T.drop(p)),g!==r&&(g=At(g),T=g<0?T.dropRight(-g):T.take(g-p)),T)},It.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},It.prototype.toArray=function(){return this.take(oe)},Po(It.prototype,function(p,g){var T=/^(?:filter|find|map|reject)|While$/.test(g),j=/^(?:head|last)$/.test(g),G=ee[j?"take"+(g=="last"?"Right":""):g],ne=j||/^find/.test(g);G&&(ee.prototype[g]=function(){var fe=this.__wrapped__,Se=j?[1]:arguments,Ne=fe instanceof It,Qe=Se[0],tt=Ne||Bt(fe),nt=function(tn){var yn=G.apply(ee,Ti([tn],Se));return j&&it?yn[0]:yn};tt&&T&&typeof Qe=="function"&&Qe.length!=1&&(Ne=tt=!1);var it=this.__chain__,xt=!!this.__actions__.length,Mt=ne&&!it,Vt=Ne&&!xt;if(!ne&&tt){fe=Vt?fe:new It(this);var Ot=p.apply(fe,Se);return Ot.__actions__.push({func:hn,args:[nt],thisArg:r}),new Sl(Ot,it)}return Mt&&Vt?p.apply(this,Se):(Ot=this.thru(nt),Mt?j?Ot.value()[0]:Ot.value():Ot)})}),Co(["pop","push","shift","sort","splice","unshift"],function(p){var g=vd[p],T=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",j=/^(?:pop|shift)$/.test(p);ee.prototype[p]=function(){var G=arguments;if(j&&!this.__chain__){var ne=this.value();return g.apply(Bt(ne)?ne:[],G)}return this[T](function(fe){return g.apply(Bt(fe)?fe:[],G)})}}),Po(It.prototype,function(p,g){var T=ee[g];if(T){var j=T.name+"";On.call(_n,j)||(_n[j]=[]),_n[j].push({name:g,func:T})}}),_n[zi(r,P).name]=[{name:"wrapper",func:r}],It.prototype.clone=$i,It.prototype.reverse=Cl,It.prototype.value=Pi,ee.prototype.at=kd,ee.prototype.chain=pr,ee.prototype.commit=fa,ee.prototype.next=is,ee.prototype.plant=Mu,ee.prototype.reverse=co,ee.prototype.toJSON=ee.prototype.valueOf=ee.prototype.value=Av,ee.prototype.first=ee.prototype.head,Jn&&(ee.prototype[Jn]=pc),ee}),su=Hp();Ci?((Ci.exports=su)._=su,Pp._=su):ra._=su}).call(Vre)})(JC,JC.exports)),JC.exports}var sr=Fre();const Kre=({view:e,setView:t,value:r,previousMonth:l,nextMonth:s,previousYear:c,nextYear:h,previousDecade:m,nextDecade:b,goBackProps:E,goNextProps:C,changeViewProps:S})=>{const R=e==="month",M=e==="year",q=e==="decade",N=()=>{if(q)return m();if(M)return c();l()},L=()=>{if(q)return b();if(M)return h();s()},P=()=>{if(R)return t("year");if(M)return t("decade")},U=()=>q?I():M?bo(r,"yyyy"):bo(r,"MMMM yyyy",{locale:Hre}),I=()=>{if(!r)return"";const V=oL({start:bL(r),end:iL(r)}),F=sr.first(V),K=sr.last(V);return`${bo(F,"yyyy")} - ${bo(K,"yyyy")}`},Y=k.useMemo(U,[r,e]);return O.jsx(O.Fragment,{children:O.jsxs("div",{className:"flex items-center justify-between","data-slot":"calendar-navigation",children:[O.jsxs(hi,{onClick:N,size:"icon",variant:"ghost",className:"border w-6 opacity-50 hover:opacity-100","data-slot":"calendar-navigation-back",...E,children:[O.jsx(fM,{className:"h-4 w-4","data-slot":"calendar-navigation-back-icon"}),O.jsx("span",{className:"sr-only",children:"Ir a anterior"})]}),O.jsx("button",{onClick:P,disabled:q,...S,type:"button",className:Fe("font-semibold pb-px text-gray-900 text-lg text-blue-bell select-none min-w-[60%] capitalize",S?.className),"data-slot":"calendar-navigation-label",children:Y}),O.jsxs(hi,{onClick:L,size:"icon",variant:"ghost",className:"border w-6 opacity-50 hover:opacity-100","data-slot":"calendar-navigation-next",...C,children:[O.jsx(Rw,{className:"h-4 w-4","data-slot":"calendar-navigation-next-icon"}),O.jsx("span",{className:"sr-only",children:"Ir a siguiente"})]})]})})};function Ng(e){return!!(e&&typeof e=="object"&&"start"in e&&"end"in e)}function Gre(e,t){return{selectMultipleDate:s=>{if(!e)return t([s]);const c=sr.findIndex(e,m=>Zb(m,s));if(c===-1)return t([...e,s]);const h=[...e.slice(0,c),...e.slice(c+1)];t(h)},isMultipleSelected:s=>sr.isArray(e)&&e.some(c=>Zb(c,s))}}function Yre(e,t,r){const l=b=>{if(e?.start){const{start:C,end:S}=e;if(fne(b,C)||C&&S){t({start:b,end:void 0});return}if(s(C,b))return;t({start:C,end:b})}else t({start:b,end:void 0})},s=(b,E)=>!r||!b||!E?!1:lL({start:Og(b),end:E}).some(R=>r(R));return{selectRangeDate:l,isInRange:b=>{if(!Ng(e)||!e)return!1;const{start:E,end:C}=e;return E&&!C?Zb(b,E):!E||!C?!1:cre(b,{start:Og(E),end:Og(C)})},isFirstDayFromRange:b=>!e||!Ng(e)||!e.start?!1:Zb(b,e.start),isLastDayFromRange:b=>!e||!Ng(e)||!e.end?!1:Zb(b,e.end)}}function Xre(e,t){return{selectSingleDate:s=>{t(s)},isSingleSelected:s=>Ag(e)&&Zb(s,e)}}const xL=k.createContext({defaultStartDate:new Date,mode:"single",isSingleMode:!1,isRangeMode:!1,selected:null,selectDate:()=>{},isSelected:()=>!1,isFirstDayFromRange:()=>!1,isLastDayFromRange:()=>!1,isInRange:()=>!1});function Qre(e){const{mode:t,value:r,defaultValue:l,onChange:s,disabled:c}=e,h=t==="single",m=t==="range",b=t==="multiple",[E=null,C]=br({prop:r,onChange:s,defaultProp:l}),{selectSingleDate:S,isSingleSelected:R}=Xre(Ag(E)?E:void 0,C),{selectRangeDate:M,isInRange:q,...N}=Yre(Ng(E)?E:void 0,C,c),{selectMultipleDate:L,isMultipleSelected:P}=Gre(sr.isArray(E)?E:void 0,C),U=V=>{if(h)return S(V);if(m)return M(V);if(b)return L(V)},I=V=>h?R(V):m?q(V):b?P(V):!1;return{defaultStartDate:Ag(E)?E:sr.isArray(E)?E[0]:Ng(E)&&E.start?E.start:new Date,isSingleMode:h,isRangeMode:m,selected:E,isSelected:I,selectDate:U,isInRange:q,mode:t,...N}}const Zre=({day:e,navigationDate:t,className:r,...l})=>{const{isSelected:s,mode:c,selected:h,isRangeMode:m,selectDate:b,isFirstDayFromRange:E,isLastDayFromRange:C}=k.useContext(xL),S=k.useMemo(()=>s(e),[e,h]),R=!S&&!ure(e,t),M=!S&&ste(e);return O.jsx("button",{...l,onClick:()=>b(e),type:"button","data-slot":"calendar-day","data-state-mode":c,"data-state-today":sre(e)||void 0,"data-state-selected":S||void 0,"data-state-different-month":R||void 0,"data-state-weekend":M||void 0,"data-state-range-mode":m||void 0,"data-state-first-day":E(e)||void 0,"data-state-last-day":C(e)||void 0,"data-state-in-range":m&&S||void 0,className:Fe("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:O.jsx("time",{dateTime:bo(e,"yyyy-MM-dd"),children:bo(e,"d")})})},Wre=({value:e,onChange:t})=>{const r=()=>oL({start:bL(e),end:iL(e)}),l=c=>{const h=dre(e,parseInt(bo(c,"yyyy")));t(h)},s=k.useMemo(r,[e]);return O.jsx("div",{className:"grid grid-cols-3 grow","data-slot":"calendar-decade-view",children:s.map((c,h)=>O.jsx(hi,{onClick:()=>l(c),className:"h-full rounded-none",type:"button",variant:"ghost","data-slot":"calendar-decade-view-year",children:bo(c,"yyyy")},h))})},C2=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],EL=["Lunes","Martes","Miercoles","Jueves","Viernes","Sabado","Domingo"],Jre=e=>O.jsx("div",{...e,className:Fe("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:EL.map(t=>O.jsx("abbr",{"aria-label":t,"data-slot":"calendar-week-day",children:sr.at(t,0)},t))}),eae=({navigationDate:e,disabled:t,weekDaysClassName:r,weekDaysProps:l,dayClassName:s,dayProps:c})=>{const h=()=>lL({start:Am(e,{weekStartsOn:1}),end:gte(mte(e),{weekStartsOn:1})}),m=k.useMemo(h,[e]);return O.jsxs(O.Fragment,{children:[O.jsx(Jre,{className:r,...l}),O.jsx("div",{className:"grid grid-cols-7 mt-2 text-sm","data-slot":"calendar-month-view",children:m.map((b,E)=>O.jsx(Zre,{day:b,className:s,...c,navigationDate:e,disabled:t?.(b)},E))})]})},tae=({value:e,onChange:t})=>{const r=l=>{const s=fre(e,l);t(s)};return O.jsx("div",{className:"grid grid-cols-3 grow","data-slot":"calendar-year-view",children:C2.map(l=>O.jsx(hi,{type:"button",className:"h-full rounded",onClick:()=>r(C2.indexOf(l)),variant:"ghost","data-slot":"calendar-year-view-month",children:O.jsx("abbr",{"aria-label":`${l} ${bo(e,"yyyy")}`,children:l})},l))})};function nae(e=LD()){const[t,r]=k.useState({month:bo(e||LD(),"MM"),year:bo(e||LD(),"yyyy")}),l=k.useMemo(()=>ore(`${t.month}-${t.year}`,"MM-yyyy",new Date),[t]),s=R=>{r({...t,month:bo(R,"MM")})},c=R=>{r({...t,year:bo(R,"yyyy")})};return{navigationDate:l,setMonth:s,setYear:c,previousMonth:()=>{const R=x2(l,-1);r({month:bo(R,"MM"),year:bo(R,"yyyy")})},nextMonth:()=>{const R=x2(l,1);r({month:bo(R,"MM"),year:bo(R,"yyyy")})},previousYear:()=>{const R=hT(l,-1);c(R)},nextYear:()=>{const R=hT(l,1);c(R)},previousDecade:()=>{const R=hT(l,-10);c(R)},nextDecade:()=>{const R=hT(l,10);c(R)}}}const SL=e=>{const{disabled:t,initialView:r="month",view:l,onChangeView:s,initialDate:c,goBackProps:h,goNextProps:m,changeViewProps:b}=e,E=Qre(e),{defaultStartDate:C}=E,{navigationDate:S,setMonth:R,setYear:M,...q}=nae(c||C),[N=r,L]=br({prop:l,onChange:P=>s?.(P,S),defaultProp:r});return O.jsx(xL.Provider,{value:E,children:O.jsxs("div",{"data-slot":"calendar",className:Fe("w-60 min-h-64 flex flex-col border rounded-md p-2",e.className),children:[O.jsx(Kre,{view:N,setView:L,value:S,goBackProps:h,goNextProps:m,changeViewProps:b,...q}),N==="month"&&O.jsx(eae,{...e.monthViewProps,navigationDate:S,disabled:t}),N==="year"&&O.jsx(tae,{value:S,onChange:P=>{R(P),L("month")}}),N==="decade"&&O.jsx(Wre,{value:S,onChange:P=>{M(P),L("year")}})]})})},rae=({className:e,...t})=>O.jsx("div",{className:Fe("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t,"data-slot":"card"}),aae=({className:e,...t})=>O.jsx("div",{className:Fe("flex flex-col space-y-1 p-6",e),...t,"data-slot":"card-header"}),lae=({className:e,...t})=>O.jsx("h3",{className:Fe("text-2xl font-semibold leading-none tracking-tight",e),...t,"data-slot":"card-title"}),oae=({className:e,...t})=>O.jsx("p",{className:Fe("text-sm text-muted-foreground",e),...t,"data-slot":"card-description"}),iae=({className:e,...t})=>O.jsx("div",{className:Fe("p-6 pt-0",e),...t,"data-slot":"card-content"}),uae=({className:e,...t})=>O.jsx("div",{className:Fe("flex items-center p-6 pt-0",e),...t,"data-slot":"card-footer"}),sae=({className:e,...t})=>O.jsx("div",{className:Fe("flex items-center justify-center",e),...t,"data-slot":"center"}),$w=({className:e,...t})=>O.jsx("label",{className:Fe("text-sm font-medium select-none leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),"data-slot":"label",...t}),w2=({when:e,...t})=>O.jsx(Ts,{present:e,children:O.jsx(_w,{...t,"data-state":e?"open":"closed","data-slot":"show"})}),cae=({checked:e,onChange:t,defaultChecked:r=!1,indeterminate:l,defaultIndeterminate:s=!1,onIndeterminateChange:c,className:h,size:m=16,children:b,containerClassName:E,containerProps:C,...S})=>{const R=k.useId(),M=k.useRef(null),[q,N]=br({defaultProp:r,prop:e,onChange:t}),[L,P]=br({defaultProp:s,prop:l,onChange:c});k.useEffect(()=>{M.current&&(M.current.indeterminate=L)},[L]);const U=V=>{V.stopPropagation(),!S.disabled&&(L?(P(!1),N(!0)):N(F=>!F))},I=L?"indeterminate":q?"checked":"unchecked",Y=S.id??R;return O.jsxs("div",{...C,className:Fe("flex gap-x-2 items-center",E),"data-slot":"checkbox",children:[O.jsxs("button",{disabled:S.disabled,onClick:U,"data-state":I,type:"button",style:{width:m,height:m},className:Fe("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:[O.jsx(w2,{when:L,children:O.jsx(yK,{className:Fe("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")})}),O.jsx(w2,{when:!L&&!!q,children:O.jsx($T,{className:Fe("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")})}),O.jsx("input",{...S,ref:M,id:Y,tabIndex:-1,checked:q,onChange:V=>N(V.currentTarget.checked),type:"checkbox",className:"sr-only","aria-hidden":!0})]}),b&&O.jsx($w,{htmlFor:Y,"data-slot":"checkbox-label",children:b})]})};function fae({items:e=[],valueKey:t="value",labelKey:r="label",placeholder:l="Seleccionar",searchPlaceholder:s="Buscar...",emptyMessage:c="No se encontraron resultado",searchProps:h,className:m,triggerProps:b,itemProps:E,itemClassName:C,contentProps:S,contentClassName:R,value:M,onChange:q,defaultValue:N,renderOption:L=I=>I?.[r],commandProps:P,...U}){const[I,Y]=br({prop:U.open,onChange:U.onOpenChange,defaultProp:U.defaultOpen||!1}),[V,F]=br({prop:M,onChange:de=>{if(!q)return;const W=e.find(se=>se[t]===de);q?.(W?.[t],W)},defaultProp:N}),[K,Q]=br({prop:U?.search,defaultProp:U?.searchDefaultValue||"",onChange:U?.onSearchChange}),he=D.useMemo(()=>e.find(de=>de[t]===V),[V]);return O.jsxs(Kw,{open:I,onOpenChange:Y,"data-slot":"combobox",children:[O.jsx(Gw,{asChild:!0,"data-slot":"combobox-trigger",children:O.jsxs(hi,{...U,...b,variant:"outline",role:"combobox","aria-expanded":I,className:Fe("font-normal w-full items-center justify-between border-input px-3 hover:bg-background",m),children:[O.jsx("span",{className:"truncate",children:he?L(he):l}),O.jsx(PT,{className:"ml-2 h-4 w-4 shrink-0 opacity-50","data-slot":"combobox-trigger-icon"})]})}),O.jsx(Yw,{...S,className:Fe("p-1",R),asChild:!0,matchTriggerWidth:!0,"data-slot":"combobox-content",children:O.jsxs(Dw,{...P,children:[O.jsx(x_,{value:K,onValueChange:Q,placeholder:s,autoFocus:!0,"data-slot":"combobox-input",...h}),O.jsx(S_,{"data-slot":"combobox-empty",children:c}),O.jsx(E_,{"data-slot":"combobox-list",children:e.map(de=>k.createElement(sw,{className:C,"data-slot":"combobox-item",...E,key:de[t],value:de[t],onSelect:()=>{const W=de[t];F(W===V?"":W),Y(!1)}},L(de)))})]})})]})}const dae=e=>{const{placeholder:t,mode:r="single",value:l,onChange:s,defaultValue:c,className:h,disabledDate:m,renderFooter:b,disabled:E,hideFooter:C,...S}=e,R=r==="range",M=r==="single",q=r==="multiple",[N=null,L]=br({prop:l,onChange:he=>s?.(he),defaultProp:c}),P=he=>{if(!Ng(he))return!1;const{start:de,end:W}=he;return Ag(de)&&Ag(W)},U=he=>{he||!N||!Ng(N)||P(N)||L({start:null,end:null})},I=he=>Ag(he)?bo(he,"dd/MM/yyyy"):"",Y=()=>{M&&L(null),q&&L([]),R&&L({start:null,end:null})},V=()=>{L(new Date)},F=k.useMemo(()=>{if(!N)return"";if(M&&Ag(N))return I(N);if(q&&sr.isArray(N))return N.map(I).join(" - ");if(R&&Ng(N)){const de=I(N.start),W=I(N.end);return!de&&!W?"":de&&!W?de:`${de} - ${W}`}return""},[N]),K=()=>O.jsxs("span",{className:"flex w-full p-1 justify-between",children:[O.jsx(hi,{variant:"ghost",onClick:Y,children:"Borrar"}),M&&O.jsx(hi,{variant:"ghost",onClick:V,disabled:m?.(new Date),children:"Hoy"})]}),Q=()=>C?null:b?b({mode:r,value:N,clear:Y,selectToday:V,setValue:L}):K();return O.jsxs(Kw,{onOpenChange:U,"data-slot":"date-picker",children:[O.jsx(Gw,{asChild:!0,"data-slot":"date-picker-trigger",children:O.jsxs("button",{disabled:E,type:"button",className:Fe("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",!N&&"text-muted-foreground",h,"field-error"),children:[O.jsx("input",{value:F,className:"sr-only",...S}),O.jsx("span",{className:"flex-1 text-start truncate pt-px","data-slot":"date-picker-value",children:F||t}),O.jsx(HF,{className:"ml-2 h-4 w-4","data-slot":"date-picker-icon"})]})}),O.jsxs(Yw,{className:"w-auto p-0",align:"start","data-slot":"date-picker-content",children:[O.jsx(SL,{className:"border-none",mode:r,value:N,onChange:L,disabled:e.disabledDate}),O.jsx("div",{className:"p-2","data-slot":"date-picker-footer",children:Q()})]})]})},CL=e=>{const{className:t,orientation:r="horizontal"}=e;return O.jsx("hr",{...e,"aria-orientation":r,className:Fe("shrink-0 bg-input",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),"data-slot":"divider"})},pae=({onDrop:e,onError:t,allowedExtensions:r=[],maxFileSize:l=5*1024*1024,maxFiles:s=1/0})=>{const[c,h]=k.useState(!1),m=k.useCallback(R=>{R.preventDefault(),R.stopPropagation()},[]),b=k.useCallback(R=>{R.preventDefault(),R.stopPropagation(),h(!0)},[]),E=k.useCallback(R=>{R.preventDefault(),R.stopPropagation(),h(!1)},[]),C=R=>{const[M=[],q=[],N=[]]=R.reduce(([L,P,U],I)=>r.length>0&&!r.includes(I.type)?(L.push(I),U.push({file:I,errorMessage:"Extensión no permitida",errorCode:"INVALID_EXTENSION"}),[L,P,U]):I.size>l?(L.push(I),U.push({file:I,errorMessage:"Archivo demasiado grande",errorCode:"FILE_TOO_LARGE"}),[L,P,U]):s&&s<P.length+1?(L.push(I),U.push({file:I,errorMessage:"Límite de archivos excedido",errorCode:"MAX_FILES_EXCEEDED"}),[L,P,U]):(P.push(I),[L,P,U]),[[],[],[]]);return N.length>0&&t&&t(N),[M,q,N]},S=k.useCallback(R=>{R.preventDefault(),R.stopPropagation(),h(!1);const M=Array.from(R.dataTransfer.files),[q=[],N=[]]=C(M);e(N,q)},[r,l,s,e,t]);return{isDragActive:c,validateFiles:C,dropzoneProps:{onDragOver:m,onDragEnter:b,onDragLeave:E,onDrop:S}}},wL=k.createContext(null),BM=()=>{const e=k.useContext(wL);if(!e)throw new Error("useUploadContext must be used within a UploadContextProvider");return e},RL=({onFileAdd:e,onFileRemove:t,onChangeFiles:r,files:l,maxFiles:s=1,allowedExtensions:c=[],maxFileSize:h=5*1024*1024,multiple:m,children:b,onError:E,...C})=>{const[S=[],R]=br({defaultProp:[],prop:l,onChange:r}),[M,q]=k.useState([]),{isDragActive:N,validateFiles:L,dropzoneProps:P}=pae({onDrop:(Y,V)=>{R([...S,...Y]),q(F=>[...F,...V]),e?.(Y)},allowedExtensions:c,maxFileSize:h,maxFiles:s,onError:E}),U=Y=>{const[V=[],F=[]]=L(Y);if(s===1||!m){R(F.slice(0,1)),q([...V,...F.slice(1)]),e?.(F.slice(0,1));return}const K=s-S.length;if(K<=0){q(de=>[...de,...F]),e?.([]);return}const Q=F.slice(0,K),he=F.slice(K);R([...S,...Q]),q(de=>[...de,...V,...he]),e?.(Q)},I=(Y,V)=>{V==="accepted"?R(S.filter((F,K)=>K!==Y)):q(F=>F.filter((K,Q)=>Q!==Y)),t?.(Y,V)};return O.jsx(wL.Provider,{value:{files:S,rejectedFiles:M,handleFileAdd:U,handleFileRemove:I,inputProps:{accept:c.join(","),multiple:m},isDragActive:N,dropzoneProps:P},children:O.jsx("div",{...C,"data-slot":"upload",children:b})})},TL=({asChild:e,...t})=>{const{handleFileAdd:r,inputProps:l,dropzoneProps:s,isDragActive:c}=BM(),h=k.useRef(null),m=e?_w:"button";return O.jsxs(O.Fragment,{children:[O.jsx(m,{"data-slot":"upload-trigger",...t,...s,"data-drag-active":c||!1,onClick:b=>{t.onClick?.(b),h.current?.click()}}),O.jsx("input",{type:"file",className:"hidden","data-slot":"upload-input",...l,ref:h,onChange:b=>r(Array.from(b.target.files||[]))})]})},_L=({className:e,...t})=>O.jsx("div",{...t,className:Fe("mt-2 space-y-2",e),"data-slot":"upload-content"}),AL=({files:e,handleFileRemove:t,fileType:r,children:l,renderFile:s,...c})=>e.length===0?null:O.jsxs("div",{className:"mt-2 space-y-2",...c,"data-slot":"upload-files-list",children:[l,e.map((h,m)=>s?s(h,()=>t(m,r)):O.jsx(OL,{file:h,onRemove:()=>t(m,r)},h.name))]}),DL=e=>{const{files:t,handleFileRemove:r}=BM();return O.jsx(AL,{"data-slot":"upload-accepted-files",files:t,handleFileRemove:r,fileType:"accepted",...e})},ML=e=>{const{rejectedFiles:t,handleFileRemove:r}=BM();return O.jsx(AL,{"data-slot":"upload-rejected-files",files:t,handleFileRemove:r,fileType:"rejected",...e})},OL=({file:e,onRemove:t,className:r,renderIcon:l,...s})=>O.jsxs("div",{className:Fe("flex items-center gap-2 mb-2",r),...s,"data-slot":"upload-item",children:[l?.(e),e.name,O.jsx(hi,{variant:"ghost",size:"icon",type:"button",className:"h-6 w-6",onClick:t,"data-slot":"upload-item-remove",children:O.jsx(h_,{"data-slot":"upload-item-remove-icon"})})]}),hae=({onFileAdd:e,onFileRemove:t,onChangeFiles:r=()=>{},files:l,maxFiles:s=1,allowedExtensions:c=[],maxFileSize:h=5*1024*1024,multiple:m,renderAcceptedFile:b,renderRejectedFile:E,showRejected:C=!1,className:S,icon:R=sK,iconSize:M=40,onError:q,...N})=>{const L=k.useMemo(()=>c.map(P=>P.split("/")?.[1]).join(", "),[c]);return O.jsxs(RL,{onFileAdd:e,onFileRemove:t,files:l,onChangeFiles:r,maxFiles:s,allowedExtensions:c,maxFileSize:h,multiple:m?!0:void 0,className:Fe("w-full",S),onError:q,...N,children:[O.jsx(TL,{asChild:!0,children:O.jsxs("div",{className:Fe("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:[O.jsx(R,{className:"text-muted-foreground pointer-events-none",style:{width:M,height:M}}),O.jsxs("div",{className:"text-center text-muted-foreground pointer-events-none",children:[O.jsx("p",{children:"Arrastra y suelta archivos aquí o haz clic para seleccionar"}),c.length>0&&O.jsxs("p",{className:"text-sm",children:["Tipos permitidos: ",L]}),O.jsxs("p",{className:"text-sm",children:["Tamaño máximo: ",Math.floor(h/1024/1024),"MB"]})]})]})}),O.jsxs(_L,{children:[O.jsx(DL,{renderFile:b}),C&&O.jsx(ML,{renderFile:E})]})]})},sl={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"},mae={IMAGES:[sl.JPEG,sl.JPG,sl.PNG,sl.GIF,sl.WEBP,sl.SVG],DOCUMENTS:[sl.PDF,sl.DOC,sl.DOCX,sl.XLS,sl.XLSX,sl.PPT,sl.PPTX],COMPRESSED:[sl.ZIP,sl.RAR],AUDIO:[sl.MP3,sl.WAV],VIDEO:[sl.MP4,sl.WEBM]},vae=$m([],{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"}}),NL=({className:e,size:t,weight:r,as:l,...s})=>{const c=l||"h2";return O.jsx(c,{className:Fe(vae({size:t,weight:r}),e),...s,"data-slot":"heading","data-size":t,"data-weight":r})},gae=({icon:e=O.jsx(mK,{className:"w-12 h-12"}),title:t="No hay resultados",description:r,className:l,children:s,...c})=>O.jsxs("div",{className:Fe("flex flex-col gap-2 justify-center items-center",l),"data-slot":"empty-state",...c,children:[O.jsx("div",{className:"text-muted-foreground","data-slot":"empty-state-icon",children:e}),O.jsx(NL,{className:"empty:hidden","data-slot":"empty-state-title",children:t}),O.jsx("p",{className:"py-1 text-sm text-center text-muted-foreground empty:hidden","data-slot":"empty-state-description",children:r}),s]}),yae=({label:e,labelClassName:t,labelProps:r,error:l,errorClassName:s,errorProps:c,children:h,className:m,...b})=>O.jsxs("div",{...b,className:Fe("flex flex-col gap-1",m),"data-slot":"field",children:[O.jsx($w,{className:Fe("empty:hidden",t),...r,"data-slot":"field-label",children:e}),h,O.jsx("p",{"data-slot":"field-error",className:Fe("text-sm font-medium text-error empty:hidden",s),...c,children:l})]});var Pw=e=>e.type==="checkbox",Gb=e=>e instanceof Date,Uu=e=>e==null;const $L=e=>typeof e=="object";var dl=e=>!Uu(e)&&!Array.isArray(e)&&$L(e)&&!Gb(e),PL=e=>dl(e)&&e.target?Pw(e.target)?e.target.checked:e.target.value:e,bae=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,qL=(e,t)=>e.has(bae(t)),xae=e=>{const t=e.constructor&&e.constructor.prototype;return dl(t)&&t.hasOwnProperty("isPrototypeOf")},kM=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Hl(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(!(kM&&(e instanceof Blob||l))&&(r||dl(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!xae(e))t=e;else for(const s in e)e.hasOwnProperty(s)&&(t[s]=Hl(e[s]));else return e;return t}var __=e=>/^\w*$/.test(e),Ta=e=>e===void 0,UM=e=>Array.isArray(e)?e.filter(Boolean):[],IM=e=>UM(e.replace(/["|']|\]/g,"").split(/\.|\[/)),dt=(e,t,r)=>{if(!t||!dl(e))return r;const l=(__(t)?[t]:IM(t)).reduce((s,c)=>Uu(s)?s:s[c],e);return Ta(l)||l===e?Ta(e[t])?r:e[t]:l},Es=e=>typeof e=="boolean",ir=(e,t,r)=>{let l=-1;const s=__(t)?[t]:IM(t),c=s.length,h=c-1;for(;++l<c;){const m=s[l];let b=r;if(l!==h){const E=e[m];b=dl(E)||Array.isArray(E)?E:isNaN(+s[l+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=b,e=e[m]}};const KT={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Qf={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Sm={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},HM=k.createContext(null);HM.displayName="HookFormContext";const qw=()=>k.useContext(HM),Eae=e=>{const{children:t,...r}=e;return k.createElement(HM.Provider,{value:r},t)};var LL=(e,t,r,l=!0)=>{const s={defaultValues:t._defaultValues};for(const c in e)Object.defineProperty(s,c,{get:()=>{const h=c;return t._proxyFormState[h]!==Qf.all&&(t._proxyFormState[h]=!l||Qf.all),r&&(r[h]=!0),e[h]}});return s};const VM=typeof window<"u"?k.useLayoutEffect:k.useEffect;function Sae(e){const t=qw(),{control:r=t.control,disabled:l,name:s,exact:c}=e||{},[h,m]=k.useState(r._formState),b=k.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return VM(()=>r._subscribe({name:s,formState:b.current,exact:c,callback:E=>{!l&&m({...r._formState,...E})}}),[s,l,c]),k.useEffect(()=>{b.current.isValid&&r._setValid(!0)},[r]),k.useMemo(()=>LL(h,r,b.current,!1),[h,r])}var Cs=e=>typeof e=="string",R2=(e,t,r,l,s)=>Cs(e)?(l&&t.watch.add(e),dt(r,e,s)):Array.isArray(e)?e.map(c=>(l&&t.watch.add(c),dt(r,c))):(l&&(t.watchAll=!0),r),T2=e=>Uu(e)||!$L(e);function Zf(e,t,r=new WeakSet){if(T2(e)||T2(t))return Object.is(e,t);if(Gb(e)&&Gb(t))return e.getTime()===t.getTime();const l=Object.keys(e),s=Object.keys(t);if(l.length!==s.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(!s.includes(c))return!1;if(c!=="ref"){const m=t[c];if(Gb(h)&&Gb(m)||dl(h)&&dl(m)||Array.isArray(h)&&Array.isArray(m)?!Zf(h,m,r):!Object.is(h,m))return!1}}return!0}function Cae(e){const t=qw(),{control:r=t.control,name:l,defaultValue:s,disabled:c,exact:h,compute:m}=e||{},b=k.useRef(s),E=k.useRef(m),C=k.useRef(void 0),S=k.useRef(r),R=k.useRef(l);E.current=m;const[M,q]=k.useState(()=>{const Y=r._getWatch(l,b.current);return E.current?E.current(Y):Y}),N=k.useCallback(Y=>{const V=R2(l,r._names,Y||r._formValues,!1,b.current);return E.current?E.current(V):V},[r._formValues,r._names,l]),L=k.useCallback(Y=>{if(!c){const V=R2(l,r._names,Y||r._formValues,!1,b.current);if(E.current){const F=E.current(V);Zf(F,C.current)||(q(F),C.current=F)}else q(V)}},[r._formValues,r._names,c,l]);VM(()=>((S.current!==r||!Zf(R.current,l))&&(S.current=r,R.current=l,L()),r._subscribe({name:l,formState:{values:!0},exact:h,callback:Y=>{L(Y.values)}})),[r,h,l,L]),k.useEffect(()=>r._removeUnmounted());const P=S.current!==r,U=R.current,I=k.useMemo(()=>{if(c)return null;const Y=!P&&!Zf(U,l);return P||Y?N():null},[c,P,l,U,N]);return I!==null?I:M}function wae(e){const t=qw(),{name:r,disabled:l,control:s=t.control,shouldUnregister:c,defaultValue:h,exact:m=!0}=e,b=qL(s._names.array,r),E=k.useMemo(()=>dt(s._formValues,r,dt(s._defaultValues,r,h)),[s,r,h]),C=Cae({control:s,name:r,defaultValue:E,exact:m}),S=Sae({control:s,name:r,exact:m}),R=k.useRef(e),M=k.useRef(void 0),q=k.useRef(s.register(r,{...e.rules,value:C,...Es(e.disabled)?{disabled:e.disabled}:{}}));R.current=e;const N=k.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!dt(S.errors,r)},isDirty:{enumerable:!0,get:()=>!!dt(S.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!dt(S.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!dt(S.validatingFields,r)},error:{enumerable:!0,get:()=>dt(S.errors,r)}}),[S,r]),L=k.useCallback(Y=>q.current.onChange({target:{value:PL(Y),name:r},type:KT.CHANGE}),[r]),P=k.useCallback(()=>q.current.onBlur({target:{value:dt(s._formValues,r),name:r},type:KT.BLUR}),[r,s._formValues]),U=k.useCallback(Y=>{const V=dt(s._fields,r);V&&Y&&(V._f.ref={focus:()=>Y.focus&&Y.focus(),select:()=>Y.select&&Y.select(),setCustomValidity:F=>Y.setCustomValidity(F),reportValidity:()=>Y.reportValidity()})},[s._fields,r]),I=k.useMemo(()=>({name:r,value:C,...Es(l)||S.disabled?{disabled:S.disabled||l}:{},onChange:L,onBlur:P,ref:U}),[r,l,S.disabled,L,P,U,C]);return k.useEffect(()=>{const Y=s._options.shouldUnregister||c,V=M.current;V&&V!==r&&!b&&s.unregister(V),s.register(r,{...R.current.rules,...Es(R.current.disabled)?{disabled:R.current.disabled}:{}});const F=(K,Q)=>{const he=dt(s._fields,K);he&&he._f&&(he._f.mount=Q)};if(F(r,!0),Y){const K=Hl(dt(s._options.defaultValues,r,R.current.defaultValue));ir(s._defaultValues,r,K),Ta(dt(s._formValues,r))&&ir(s._formValues,r,K)}return!b&&s.register(r),M.current=r,()=>{(b?Y&&!s._state.action:Y)?s.unregister(r):F(r,!1)}},[r,s,b,c]),k.useEffect(()=>{s._setDisabledField({disabled:l,name:r})},[l,r,s]),k.useMemo(()=>({field:I,formState:S,fieldState:N}),[I,S,N])}const Rae=e=>e.render(wae(e));var FM=(e,t,r,l,s)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[l]:s||!0}}:{},lw=e=>Array.isArray(e)?e:[e],yP=()=>{let e=[];return{get observers(){return e},next:s=>{for(const c of e)c.next&&c.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(c=>c!==s)}}),unsubscribe:()=>{e=[]}}};function jL(e,t){const r={};for(const l in e)if(e.hasOwnProperty(l)){const s=e[l],c=t[l];if(s&&dl(s)&&c){const h=jL(s,c);dl(h)&&(r[l]=h)}else e[l]&&(r[l]=c)}return r}var tu=e=>dl(e)&&!Object.keys(e).length,KM=e=>e.type==="file",Wf=e=>typeof e=="function",GT=e=>{if(!kM)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},zL=e=>e.type==="select-multiple",GM=e=>e.type==="radio",Tae=e=>GM(e)||Pw(e),jD=e=>GT(e)&&e.isConnected;function _ae(e,t){const r=t.slice(0,-1).length;let l=0;for(;l<r;)e=Ta(e)?l++:e[t[l++]];return e}function Aae(e){for(const t in e)if(e.hasOwnProperty(t)&&!Ta(e[t]))return!1;return!0}function cl(e,t){const r=Array.isArray(t)?t:__(t)?[t]:IM(t),l=r.length===1?e:_ae(e,r),s=r.length-1,c=r[s];return l&&delete l[c],s!==0&&(dl(l)&&tu(l)||Array.isArray(l)&&Aae(l))&&cl(e,r.slice(0,-1)),e}var Dae=e=>{for(const t in e)if(Wf(e[t]))return!0;return!1};function BL(e){return Array.isArray(e)||dl(e)&&!Dae(e)}function _2(e,t={}){for(const r in e){const l=e[r];BL(l)?(t[r]=Array.isArray(l)?[]:{},_2(l,t[r])):Ta(l)||(t[r]=!0)}return t}function L1(e,t,r){r||(r=_2(t));for(const l in e){const s=e[l];if(BL(s))Ta(t)||T2(r[l])?r[l]=_2(s,Array.isArray(s)?[]:{}):L1(s,Uu(t)?{}:t[l],r[l]);else{const c=t[l];r[l]=!Zf(s,c)}}return r}const bP={value:!1,isValid:!1},xP={value:!0,isValid:!0};var kL=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&&!Ta(e[0].attributes.value)?Ta(e[0].value)||e[0].value===""?xP:{value:e[0].value,isValid:!0}:xP:bP}return bP},UL=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:l})=>Ta(e)?e:t?e===""?NaN:e&&+e:r&&Cs(e)?new Date(e):l?l(e):e;const EP={isValid:!1,value:null};var IL=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,EP):EP;function SP(e){const t=e.ref;return KM(t)?t.files:GM(t)?IL(e.refs).value:zL(t)?[...t.selectedOptions].map(({value:r})=>r):Pw(t)?kL(e.refs).value:UL(Ta(t.value)?e.ref.value:t.value,e)}var Mae=(e,t,r,l)=>{const s={};for(const c of e){const h=dt(t,c);h&&ir(s,c,h._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:l}},YT=e=>e instanceof RegExp,QC=e=>Ta(e)?e:YT(e)?e.source:dl(e)?YT(e.value)?e.value.source:e.value:e,CP=e=>({isOnSubmit:!e||e===Qf.onSubmit,isOnBlur:e===Qf.onBlur,isOnChange:e===Qf.onChange,isOnAll:e===Qf.all,isOnTouch:e===Qf.onTouched});const wP="AsyncFunction";var Oae=e=>!!e&&!!e.validate&&!!(Wf(e.validate)&&e.validate.constructor.name===wP||dl(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===wP)),Nae=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),RP=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(l=>e.startsWith(l)&&/^\.\w+/.test(e.slice(l.length))));const ow=(e,t,r,l)=>{for(const s of r||Object.keys(e)){const c=dt(e,s);if(c){const{_f:h,...m}=c;if(h){if(h.refs&&h.refs[0]&&t(h.refs[0],s)&&!l)return!0;if(h.ref&&t(h.ref,h.name)&&!l)return!0;if(ow(m,t))break}else if(dl(m)&&ow(m,t))break}}};function TP(e,t,r){const l=dt(e,r);if(l||__(r))return{error:l,name:r};const s=r.split(".");for(;s.length;){const c=s.join("."),h=dt(t,c),m=dt(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};s.pop()}return{name:r}}var $ae=(e,t,r,l)=>{r(e);const{name:s,...c}=e;return tu(c)||Object.keys(c).length>=Object.keys(t).length||Object.keys(c).find(h=>t[h]===(!l||Qf.all))},Pae=(e,t,r)=>!e||!t||e===t||lw(e).some(l=>l&&(r?l===t:l.startsWith(t)||t.startsWith(l))),qae=(e,t,r,l,s)=>s.isOnAll?!1:!r&&s.isOnTouch?!(t||e):(r?l.isOnBlur:s.isOnBlur)?!e:(r?l.isOnChange:s.isOnChange)?e:!0,Lae=(e,t)=>!UM(dt(e,t)).length&&cl(e,t),jae=(e,t,r)=>{const l=lw(dt(e,r));return ir(l,"root",t[r]),ir(e,r,l),e};function _P(e,t,r="validate"){if(Cs(e)||Array.isArray(e)&&e.every(Cs)||Es(e)&&!e)return{type:r,message:Cs(e)?e:"",ref:t}}var M1=e=>dl(e)&&!YT(e)?e:{value:e,message:""},AP=async(e,t,r,l,s,c)=>{const{ref:h,refs:m,required:b,maxLength:E,minLength:C,min:S,max:R,pattern:M,validate:q,name:N,valueAsNumber:L,mount:P}=e._f,U=dt(r,N);if(!P||t.has(N))return{};const I=m?m[0]:h,Y=se=>{s&&I.reportValidity&&(I.setCustomValidity(Es(se)?"":se||""),I.reportValidity())},V={},F=GM(h),K=Pw(h),Q=F||K,he=(L||KM(h))&&Ta(h.value)&&Ta(U)||GT(h)&&h.value===""||U===""||Array.isArray(U)&&!U.length,de=FM.bind(null,N,l,V),W=(se,le,ae,xe=Sm.maxLength,B=Sm.minLength)=>{const Z=se?le:ae;V[N]={type:se?xe:B,message:Z,ref:h,...de(se?xe:B,Z)}};if(c?!Array.isArray(U)||!U.length:b&&(!Q&&(he||Uu(U))||Es(U)&&!U||K&&!kL(m).isValid||F&&!IL(m).isValid)){const{value:se,message:le}=Cs(b)?{value:!!b,message:b}:M1(b);if(se&&(V[N]={type:Sm.required,message:le,ref:I,...de(Sm.required,le)},!l))return Y(le),V}if(!he&&(!Uu(S)||!Uu(R))){let se,le;const ae=M1(R),xe=M1(S);if(!Uu(U)&&!isNaN(U)){const B=h.valueAsNumber||U&&+U;Uu(ae.value)||(se=B>ae.value),Uu(xe.value)||(le=B<xe.value)}else{const B=h.valueAsDate||new Date(U),Z=re=>new Date(new Date().toDateString()+" "+re),te=h.type=="time",be=h.type=="week";Cs(ae.value)&&U&&(se=te?Z(U)>Z(ae.value):be?U>ae.value:B>new Date(ae.value)),Cs(xe.value)&&U&&(le=te?Z(U)<Z(xe.value):be?U<xe.value:B<new Date(xe.value))}if((se||le)&&(W(!!se,ae.message,xe.message,Sm.max,Sm.min),!l))return Y(V[N].message),V}if((E||C)&&!he&&(Cs(U)||c&&Array.isArray(U))){const se=M1(E),le=M1(C),ae=!Uu(se.value)&&U.length>+se.value,xe=!Uu(le.value)&&U.length<+le.value;if((ae||xe)&&(W(ae,se.message,le.message),!l))return Y(V[N].message),V}if(M&&!he&&Cs(U)){const{value:se,message:le}=M1(M);if(YT(se)&&!U.match(se)&&(V[N]={type:Sm.pattern,message:le,ref:h,...de(Sm.pattern,le)},!l))return Y(le),V}if(q){if(Wf(q)){const se=await q(U,r),le=_P(se,I);if(le&&(V[N]={...le,...de(Sm.validate,le.message)},!l))return Y(le.message),V}else if(dl(q)){let se={};for(const le in q){if(!tu(se)&&!l)break;const ae=_P(await q[le](U,r),I,le);ae&&(se={...ae,...de(le,ae.message)},Y(ae.message),l&&(V[N]=se))}if(!tu(se)&&(V[N]={ref:I,...se},!l))return V}}return Y(!0),V};const zae={mode:Qf.onSubmit,reValidateMode:Qf.onChange,shouldFocusError:!0};function Bae(e={}){let t={...zae,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:Wf(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},l={},s=dl(t.defaultValues)||dl(t.values)?Hl(t.defaultValues||t.values)||{}:{},c=t.shouldUnregister?{}:Hl(s),h={action:!1,mount:!1,watch:!1},m={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},b,E=0;const C={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let S={...C};const R={array:yP(),state:yP()},M=t.criteriaMode===Qf.all,q=pe=>$e=>{clearTimeout(E),E=setTimeout(pe,$e)},N=async pe=>{if(!t.disabled&&(C.isValid||S.isValid||pe)){const $e=t.resolver?tu((await K()).errors):await he(l,!0);$e!==r.isValid&&R.state.next({isValid:$e})}},L=(pe,$e)=>{!t.disabled&&(C.isValidating||C.validatingFields||S.isValidating||S.validatingFields)&&((pe||Array.from(m.mount)).forEach(Ve=>{Ve&&($e?ir(r.validatingFields,Ve,$e):cl(r.validatingFields,Ve))}),R.state.next({validatingFields:r.validatingFields,isValidating:!tu(r.validatingFields)}))},P=(pe,$e=[],Ve,st,rt=!0,at=!0)=>{if(st&&Ve&&!t.disabled){if(h.action=!0,at&&Array.isArray(dt(l,pe))){const bt=Ve(dt(l,pe),st.argA,st.argB);rt&&ir(l,pe,bt)}if(at&&Array.isArray(dt(r.errors,pe))){const bt=Ve(dt(r.errors,pe),st.argA,st.argB);rt&&ir(r.errors,pe,bt),Lae(r.errors,pe)}if((C.touchedFields||S.touchedFields)&&at&&Array.isArray(dt(r.touchedFields,pe))){const bt=Ve(dt(r.touchedFields,pe),st.argA,st.argB);rt&&ir(r.touchedFields,pe,bt)}(C.dirtyFields||S.dirtyFields)&&(r.dirtyFields=L1(s,c)),R.state.next({name:pe,isDirty:W(pe,$e),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else ir(c,pe,$e)},U=(pe,$e)=>{ir(r.errors,pe,$e),R.state.next({errors:r.errors})},I=pe=>{r.errors=pe,R.state.next({errors:r.errors,isValid:!1})},Y=(pe,$e,Ve,st)=>{const rt=dt(l,pe);if(rt){const at=dt(c,pe,Ta(Ve)?dt(s,pe):Ve);Ta(at)||st&&st.defaultChecked||$e?ir(c,pe,$e?at:SP(rt._f)):ae(pe,at),h.mount&&!h.action&&N()}},V=(pe,$e,Ve,st,rt)=>{let at=!1,bt=!1;const Wt={name:pe};if(!t.disabled){if(!Ve||st){(C.isDirty||S.isDirty)&&(bt=r.isDirty,r.isDirty=Wt.isDirty=W(),at=bt!==Wt.isDirty);const Yt=Zf(dt(s,pe),$e);bt=!!dt(r.dirtyFields,pe),Yt?cl(r.dirtyFields,pe):ir(r.dirtyFields,pe,!0),Wt.dirtyFields=r.dirtyFields,at=at||(C.dirtyFields||S.dirtyFields)&&bt!==!Yt}if(Ve){const Yt=dt(r.touchedFields,pe);Yt||(ir(r.touchedFields,pe,Ve),Wt.touchedFields=r.touchedFields,at=at||(C.touchedFields||S.touchedFields)&&Yt!==Ve)}at&&rt&&R.state.next(Wt)}return at?Wt:{}},F=(pe,$e,Ve,st)=>{const rt=dt(r.errors,pe),at=(C.isValid||S.isValid)&&Es($e)&&r.isValid!==$e;if(t.delayError&&Ve?(b=q(()=>U(pe,Ve)),b(t.delayError)):(clearTimeout(E),b=null,Ve?ir(r.errors,pe,Ve):cl(r.errors,pe)),(Ve?!Zf(rt,Ve):rt)||!tu(st)||at){const bt={...st,...at&&Es($e)?{isValid:$e}:{},errors:r.errors,name:pe};r={...r,...bt},R.state.next(bt)}},K=async pe=>{L(pe,!0);const $e=await t.resolver(c,t.context,Mae(pe||m.mount,l,t.criteriaMode,t.shouldUseNativeValidation));return L(pe),$e},Q=async pe=>{const{errors:$e}=await K(pe);if(pe)for(const Ve of pe){const st=dt($e,Ve);st?ir(r.errors,Ve,st):cl(r.errors,Ve)}else r.errors=$e;return $e},he=async(pe,$e,Ve={valid:!0})=>{for(const st in pe){const rt=pe[st];if(rt){const{_f:at,...bt}=rt;if(at){const Wt=m.array.has(at.name),Yt=rt._f&&Oae(rt._f);Yt&&C.validatingFields&&L([at.name],!0);const ya=await AP(rt,m.disabled,c,M,t.shouldUseNativeValidation&&!$e,Wt);if(Yt&&C.validatingFields&&L([at.name]),ya[at.name]&&(Ve.valid=!1,$e))break;!$e&&(dt(ya,at.name)?Wt?jae(r.errors,ya,at.name):ir(r.errors,at.name,ya[at.name]):cl(r.errors,at.name))}!tu(bt)&&await he(bt,$e,Ve)}}return Ve.valid},de=()=>{for(const pe of m.unMount){const $e=dt(l,pe);$e&&($e._f.refs?$e._f.refs.every(Ve=>!jD(Ve)):!jD($e._f.ref))&&_e(pe)}m.unMount=new Set},W=(pe,$e)=>!t.disabled&&(pe&&$e&&ir(c,pe,$e),!Zf(re(),s)),se=(pe,$e,Ve)=>R2(pe,m,{...h.mount?c:Ta($e)?s:Cs(pe)?{[pe]:$e}:$e},Ve,$e),le=pe=>UM(dt(h.mount?c:s,pe,t.shouldUnregister?dt(s,pe,[]):[])),ae=(pe,$e,Ve={})=>{const st=dt(l,pe);let rt=$e;if(st){const at=st._f;at&&(!at.disabled&&ir(c,pe,UL($e,at)),rt=GT(at.ref)&&Uu($e)?"":$e,zL(at.ref)?[...at.ref.options].forEach(bt=>bt.selected=rt.includes(bt.value)):at.refs?Pw(at.ref)?at.refs.forEach(bt=>{(!bt.defaultChecked||!bt.disabled)&&(Array.isArray(rt)?bt.checked=!!rt.find(Wt=>Wt===bt.value):bt.checked=rt===bt.value||!!rt)}):at.refs.forEach(bt=>bt.checked=bt.value===rt):KM(at.ref)?at.ref.value="":(at.ref.value=rt,at.ref.type||R.state.next({name:pe,values:Hl(c)})))}(Ve.shouldDirty||Ve.shouldTouch)&&V(pe,rt,Ve.shouldTouch,Ve.shouldDirty,!0),Ve.shouldValidate&&be(pe)},xe=(pe,$e,Ve)=>{for(const st in $e){if(!$e.hasOwnProperty(st))return;const rt=$e[st],at=pe+"."+st,bt=dt(l,at);(m.array.has(pe)||dl(rt)||bt&&!bt._f)&&!Gb(rt)?xe(at,rt,Ve):ae(at,rt,Ve)}},B=(pe,$e,Ve={})=>{const st=dt(l,pe),rt=m.array.has(pe),at=Hl($e);ir(c,pe,at),rt?(R.array.next({name:pe,values:Hl(c)}),(C.isDirty||C.dirtyFields||S.isDirty||S.dirtyFields)&&Ve.shouldDirty&&R.state.next({name:pe,dirtyFields:L1(s,c),isDirty:W(pe,at)})):st&&!st._f&&!Uu(at)?xe(pe,at,Ve):ae(pe,at,Ve),RP(pe,m)&&R.state.next({...r,name:pe}),R.state.next({name:h.mount?pe:void 0,values:Hl(c)})},Z=async pe=>{h.mount=!0;const $e=pe.target;let Ve=$e.name,st=!0;const rt=dt(l,Ve),at=Yt=>{st=Number.isNaN(Yt)||Gb(Yt)&&isNaN(Yt.getTime())||Zf(Yt,dt(c,Ve,Yt))},bt=CP(t.mode),Wt=CP(t.reValidateMode);if(rt){let Yt,ya;const Qo=$e.type?SP(rt._f):PL(pe),pl=pe.type===KT.BLUR||pe.type===KT.FOCUS_OUT,Ms=!Nae(rt._f)&&!t.resolver&&!dt(r.errors,Ve)&&!rt._f.deps||qae(pl,dt(r.touchedFields,Ve),r.isSubmitted,Wt,bt),hl=RP(Ve,m,pl);ir(c,Ve,Qo),pl?(!$e||!$e.readOnly)&&(rt._f.onBlur&&rt._f.onBlur(pe),b&&b(0)):rt._f.onChange&&rt._f.onChange(pe);const Mr=V(Ve,Qo,pl),ml=!tu(Mr)||hl;if(!pl&&R.state.next({name:Ve,type:pe.type,values:Hl(c)}),Ms)return(C.isValid||S.isValid)&&(t.mode==="onBlur"?pl&&N():pl||N()),ml&&R.state.next({name:Ve,...hl?{}:Mr});if(!pl&&hl&&R.state.next({...r}),t.resolver){const{errors:Or}=await K([Ve]);if(at(Qo),st){const Os=TP(r.errors,l,Ve),kc=TP(Or,l,Os.name||Ve);Yt=kc.error,Ve=kc.name,ya=tu(Or)}}else L([Ve],!0),Yt=(await AP(rt,m.disabled,c,M,t.shouldUseNativeValidation))[Ve],L([Ve]),at(Qo),st&&(Yt?ya=!1:(C.isValid||S.isValid)&&(ya=await he(l,!0)));st&&(rt._f.deps&&(!Array.isArray(rt._f.deps)||rt._f.deps.length>0)&&be(rt._f.deps),F(Ve,ya,Yt,Mr))}},te=(pe,$e)=>{if(dt(r.errors,$e)&&pe.focus)return pe.focus(),1},be=async(pe,$e={})=>{let Ve,st;const rt=lw(pe);if(t.resolver){const at=await Q(Ta(pe)?pe:rt);Ve=tu(at),st=pe?!rt.some(bt=>dt(at,bt)):Ve}else pe?(st=(await Promise.all(rt.map(async at=>{const bt=dt(l,at);return await he(bt&&bt._f?{[at]:bt}:bt)}))).every(Boolean),!(!st&&!r.isValid)&&N()):st=Ve=await he(l);return R.state.next({...!Cs(pe)||(C.isValid||S.isValid)&&Ve!==r.isValid?{}:{name:pe},...t.resolver||!pe?{isValid:Ve}:{},errors:r.errors}),$e.shouldFocus&&!st&&ow(l,te,pe?rt:m.mount),st},re=(pe,$e)=>{let Ve={...h.mount?c:s};return $e&&(Ve=jL($e.dirtyFields?r.dirtyFields:r.touchedFields,Ve)),Ta(pe)?Ve:Cs(pe)?dt(Ve,pe):pe.map(st=>dt(Ve,st))},oe=(pe,$e)=>({invalid:!!dt(($e||r).errors,pe),isDirty:!!dt(($e||r).dirtyFields,pe),error:dt(($e||r).errors,pe),isValidating:!!dt(r.validatingFields,pe),isTouched:!!dt(($e||r).touchedFields,pe)}),ue=pe=>{pe&&lw(pe).forEach($e=>cl(r.errors,$e)),R.state.next({errors:pe?r.errors:{}})},ce=(pe,$e,Ve)=>{const st=(dt(l,pe,{_f:{}})._f||{}).ref,rt=dt(r.errors,pe)||{},{ref:at,message:bt,type:Wt,...Yt}=rt;ir(r.errors,pe,{...Yt,...$e,ref:st}),R.state.next({name:pe,errors:r.errors,isValid:!1}),Ve&&Ve.shouldFocus&&st&&st.focus&&st.focus()},De=(pe,$e)=>Wf(pe)?R.state.subscribe({next:Ve=>"values"in Ve&&pe(se(void 0,$e),Ve)}):se(pe,$e,!0),je=pe=>R.state.subscribe({next:$e=>{Pae(pe.name,$e.name,pe.exact)&&$ae($e,pe.formState||C,Kn,pe.reRenderRoot)&&pe.callback({values:{...c},...r,...$e,defaultValues:s})}}).unsubscribe,Ke=pe=>(h.mount=!0,S={...S,...pe.formState},je({...pe,formState:S})),_e=(pe,$e={})=>{for(const Ve of pe?lw(pe):m.mount)m.mount.delete(Ve),m.array.delete(Ve),$e.keepValue||(cl(l,Ve),cl(c,Ve)),!$e.keepError&&cl(r.errors,Ve),!$e.keepDirty&&cl(r.dirtyFields,Ve),!$e.keepTouched&&cl(r.touchedFields,Ve),!$e.keepIsValidating&&cl(r.validatingFields,Ve),!t.shouldUnregister&&!$e.keepDefaultValue&&cl(s,Ve);R.state.next({values:Hl(c)}),R.state.next({...r,...$e.keepDirty?{isDirty:W()}:{}}),!$e.keepIsValid&&N()},Je=({disabled:pe,name:$e})=>{(Es(pe)&&h.mount||pe||m.disabled.has($e))&&(pe?m.disabled.add($e):m.disabled.delete($e))},ie=(pe,$e={})=>{let Ve=dt(l,pe);const st=Es($e.disabled)||Es(t.disabled);return ir(l,pe,{...Ve||{},_f:{...Ve&&Ve._f?Ve._f:{ref:{name:pe}},name:pe,mount:!0,...$e}}),m.mount.add(pe),Ve?Je({disabled:Es($e.disabled)?$e.disabled:t.disabled,name:pe}):Y(pe,!0,$e.value),{...st?{disabled:$e.disabled||t.disabled}:{},...t.progressive?{required:!!$e.required,min:QC($e.min),max:QC($e.max),minLength:QC($e.minLength),maxLength:QC($e.maxLength),pattern:QC($e.pattern)}:{},name:pe,onChange:Z,onBlur:Z,ref:rt=>{if(rt){ie(pe,$e),Ve=dt(l,pe);const at=Ta(rt.value)&&rt.querySelectorAll&&rt.querySelectorAll("input,select,textarea")[0]||rt,bt=Tae(at),Wt=Ve._f.refs||[];if(bt?Wt.find(Yt=>Yt===at):at===Ve._f.ref)return;ir(l,pe,{_f:{...Ve._f,...bt?{refs:[...Wt.filter(jD),at,...Array.isArray(dt(s,pe))?[{}]:[]],ref:{type:at.type,name:pe}}:{ref:at}}}),Y(pe,!1,void 0,at)}else Ve=dt(l,pe,{}),Ve._f&&(Ve._f.mount=!1),(t.shouldUnregister||$e.shouldUnregister)&&!(qL(m.array,pe)&&h.action)&&m.unMount.add(pe)}}},ke=()=>t.shouldFocusError&&ow(l,te,m.mount),Ee=pe=>{Es(pe)&&(R.state.next({disabled:pe}),ow(l,($e,Ve)=>{const st=dt(l,Ve);st&&($e.disabled=st._f.disabled||pe,Array.isArray(st._f.refs)&&st._f.refs.forEach(rt=>{rt.disabled=st._f.disabled||pe}))},0,!1))},Ae=(pe,$e)=>async Ve=>{let st;Ve&&(Ve.preventDefault&&Ve.preventDefault(),Ve.persist&&Ve.persist());let rt=Hl(c);if(R.state.next({isSubmitting:!0}),t.resolver){const{errors:at,values:bt}=await K();r.errors=at,rt=Hl(bt)}else await he(l);if(m.disabled.size)for(const at of m.disabled)cl(rt,at);if(cl(r.errors,"root"),tu(r.errors)){R.state.next({errors:{}});try{await pe(rt,Ve)}catch(at){st=at}}else $e&&await $e({...r.errors},Ve),ke(),setTimeout(ke);if(R.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:tu(r.errors)&&!st,submitCount:r.submitCount+1,errors:r.errors}),st)throw st},ot=(pe,$e={})=>{dt(l,pe)&&(Ta($e.defaultValue)?B(pe,Hl(dt(s,pe))):(B(pe,$e.defaultValue),ir(s,pe,Hl($e.defaultValue))),$e.keepTouched||cl(r.touchedFields,pe),$e.keepDirty||(cl(r.dirtyFields,pe),r.isDirty=$e.defaultValue?W(pe,Hl(dt(s,pe))):W()),$e.keepError||(cl(r.errors,pe),C.isValid&&N()),R.state.next({...r}))},vt=(pe,$e={})=>{const Ve=pe?Hl(pe):s,st=Hl(Ve),rt=tu(pe),at=rt?s:st;if($e.keepDefaultValues||(s=Ve),!$e.keepValues){if($e.keepDirtyValues){const bt=new Set([...m.mount,...Object.keys(L1(s,c))]);for(const Wt of Array.from(bt))dt(r.dirtyFields,Wt)?ir(at,Wt,dt(c,Wt)):B(Wt,dt(at,Wt))}else{if(kM&&Ta(pe))for(const bt of m.mount){const Wt=dt(l,bt);if(Wt&&Wt._f){const Yt=Array.isArray(Wt._f.refs)?Wt._f.refs[0]:Wt._f.ref;if(GT(Yt)){const ya=Yt.closest("form");if(ya){ya.reset();break}}}}if($e.keepFieldsRef)for(const bt of m.mount)B(bt,dt(at,bt));else l={}}c=t.shouldUnregister?$e.keepDefaultValues?Hl(s):{}:Hl(at),R.array.next({values:{...at}}),R.state.next({values:{...at}})}m={mount:$e.keepDirtyValues?m.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},h.mount=!C.isValid||!!$e.keepIsValid||!!$e.keepDirtyValues||!t.shouldUnregister&&!tu(at),h.watch=!!t.shouldUnregister,h.action=!1,$e.keepErrors||(r.errors={}),R.state.next({submitCount:$e.keepSubmitCount?r.submitCount:0,isDirty:rt?!1:$e.keepDirty?r.isDirty:!!($e.keepDefaultValues&&!Zf(pe,s)),isSubmitted:$e.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:rt?{}:$e.keepDirtyValues?$e.keepDefaultValues&&c?L1(s,c):r.dirtyFields:$e.keepDefaultValues&&pe?L1(s,pe):$e.keepDirty?r.dirtyFields:{},touchedFields:$e.keepTouched?r.touchedFields:{},errors:$e.keepErrors?r.errors:{},isSubmitSuccessful:$e.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},Xt=(pe,$e)=>vt(Wf(pe)?pe(c):pe,$e),Nt=(pe,$e={})=>{const Ve=dt(l,pe),st=Ve&&Ve._f;if(st){const rt=st.refs?st.refs[0]:st.ref;rt.focus&&(rt.focus(),$e.shouldSelect&&Wf(rt.select)&&rt.select())}},Kn=pe=>{r={...r,...pe}},Ds={control:{register:ie,unregister:_e,getFieldState:oe,handleSubmit:Ae,setError:ce,_subscribe:je,_runSchema:K,_focusError:ke,_getWatch:se,_getDirty:W,_setValid:N,_setFieldArray:P,_setDisabledField:Je,_setErrors:I,_getFieldArray:le,_reset:vt,_resetDefaultValues:()=>Wf(t.defaultValues)&&t.defaultValues().then(pe=>{Xt(pe,t.resetOptions),R.state.next({isLoading:!1})}),_removeUnmounted:de,_disableForm:Ee,_subjects:R,_proxyFormState:C,get _fields(){return l},get _formValues(){return c},get _state(){return h},set _state(pe){h=pe},get _defaultValues(){return s},get _names(){return m},set _names(pe){m=pe},get _formState(){return r},get _options(){return t},set _options(pe){t={...t,...pe}}},subscribe:Ke,trigger:be,register:ie,handleSubmit:Ae,watch:De,setValue:B,getValues:re,reset:Xt,resetField:ot,clearErrors:ue,unregister:_e,setError:ce,setFocus:Nt,getFieldState:oe};return{...Ds,formControl:Ds}}function kae(e={}){const t=k.useRef(void 0),r=k.useRef(void 0),[l,s]=k.useState({isDirty:!1,isValidating:!1,isLoading:Wf(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:Wf(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:l},e.defaultValues&&!Wf(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:h,...m}=Bae(e);t.current={...m,formState:l}}const c=t.current.control;return c._options=e,VM(()=>{const h=c._subscribe({formState:c._proxyFormState,callback:()=>s({...c._formState}),reRenderRoot:!0});return s(m=>({...m,isReady:!0})),c._formState.isReady=!0,h},[c]),k.useEffect(()=>c._disableForm(e.disabled),[c,e.disabled]),k.useEffect(()=>{e.mode&&(c._options.mode=e.mode),e.reValidateMode&&(c._options.reValidateMode=e.reValidateMode)},[c,e.mode,e.reValidateMode]),k.useEffect(()=>{e.errors&&(c._setErrors(e.errors),c._focusError())},[c,e.errors]),k.useEffect(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,e.shouldUnregister]),k.useEffect(()=>{if(c._proxyFormState.isDirty){const h=c._getDirty();h!==l.isDirty&&c._subjects.state.next({isDirty:h})}},[c,l.isDirty]),k.useEffect(()=>{var h;e.values&&!Zf(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,s(m=>({...m}))):c._resetDefaultValues()},[c,e.values]),k.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=LL(l,c),t.current}const[Uae,Iae]=Mw(),[Hae,Vae]=Mw(),Lw=()=>{const e=Hae(),t=Uae(),{getFieldState:r,formState:l}=qw();if(!e)throw new Error("useFormField should be used within <FormField>");const s=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`,...s}},Fae=({onSubmit:e,id:t,form:r,children:l,className:s})=>O.jsx(Eae,{...r,children:O.jsx("form",{id:t,onSubmit:r.handleSubmit(e),className:s,"data-slot":"form",children:l})}),Kae=({name:e,label:t,description:r,className:l,render:s,itemProps:c,labelProps:h,controlProps:m,descriptionProps:b,messageProps:E})=>{const{control:C}=qw();return O.jsx(Vae,{value:{name:e},children:O.jsx(Rae,{name:e,control:C,render:({field:S,fieldState:R})=>O.jsxs(HL,{className:l,...c,children:[t&&O.jsx(VL,{...h,children:t}),O.jsx(FL,{...m,children:sr.isFunction(s)?s(S):D.createElement(s,S)}),r&&O.jsx(KL,{...b,children:r}),O.jsx(GL,{...E,children:R.error?.message})]})})})},HL=({className:e,...t})=>{const r=D.useId();return O.jsx(Iae,{value:{id:r},children:O.jsx("div",{className:Fe("flex flex-col gap-2",e),"data-slot":"form-item",...t})})},VL=({className:e,...t})=>{const{error:r,formItemId:l}=Lw();return O.jsx($w,{className:Fe(r&&"text-error",e),htmlFor:l,...t})},FL=({className:e,...t})=>{const{error:r,formItemId:l,formDescriptionId:s,formMessageId:c}=Lw();return O.jsx(_w,{id:l,"aria-describedby":r?`${s} ${c}`:`${s}`,"aria-invalid":!!r,className:Fe("group",e),...t})},KL=({className:e,...t})=>{const{formDescriptionId:r}=Lw();return O.jsx("p",{id:r,className:Fe("text-sm text-muted-foreground",e),"data-slot":"form-description",...t})},GL=({className:e,children:t,...r})=>{const{error:l,formMessageId:s}=Lw(),c=l?String(l?.message):t;return c?O.jsx("p",{id:s,className:Fe("text-sm font-medium text-error",e),"data-slot":"form-message",...r,children:c}):null},DP=(e,t,r)=>{if(e&&"reportValidity"in e){const l=dt(r,t);e.setCustomValidity(l&&l.message||""),e.reportValidity()}},A2=(e,t)=>{for(const r in t.fields){const l=t.fields[r];l&&l.ref&&"reportValidity"in l.ref?DP(l.ref,r,e):l&&l.refs&&l.refs.forEach(s=>DP(s,r,e))}},MP=(e,t)=>{t.shouldUseNativeValidation&&A2(e,t);const r={};for(const l in e){const s=dt(t.fields,l),c=Object.assign(e[l]||{},{ref:s&&s.ref});if(Gae(t.names||Object.keys(e),l)){const h=Object.assign({},dt(r,l));ir(h,"root",c),ir(r,l,h)}else ir(r,l,c)}return r},Gae=(e,t)=>{const r=OP(t);return e.some(l=>OP(l).match(`^${r}\\.\\d+`))};function OP(e){return e.replace(/\]|\[/g,"")}function YL(e,t,r){function l(m,b){if(m._zod||Object.defineProperty(m,"_zod",{value:{def:b,constr:h,traits:new Set},enumerable:!1}),m._zod.traits.has(e))return;m._zod.traits.add(e),t(m,b);const E=h.prototype,C=Object.keys(E);for(let S=0;S<C.length;S++){const R=C[S];R in m||(m[R]=E[R].bind(m))}}const s=r?.Parent??Object;class c extends s{}Object.defineProperty(c,"name",{value:e});function h(m){var b;const E=r?.Parent?new c:this;l(E,m),(b=E._zod).deferred??(b.deferred=[]);for(const C of E._zod.deferred)C();return E}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 Yae extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const Xae={};function XL(e){return Xae}function Qae(e,t){return typeof t=="bigint"?t.toString():t}const QL="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function mT(e){return typeof e=="string"?e:e?.message}function ZL(e,t,r){const l={...e,path:e.path??[]};if(!e.message){const s=mT(e.inst?._zod.def?.error?.(e))??mT(t?.error?.(e))??mT(r.customError?.(e))??mT(r.localeError?.(e))??"Invalid input";l.message=s}return delete l.inst,delete l.continue,t?.reportInput||delete l.input,l}const WL=(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,Qae,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Zae=YL("$ZodError",WL),JL=YL("$ZodError",WL,{Parent:Error}),Wae=e=>(t,r,l,s)=>{const c=l?Object.assign(l,{async:!1}):{async:!1},h=t._zod.run({value:r,issues:[]},c);if(h instanceof Promise)throw new Yae;if(h.issues.length){const m=new(s?.Err??e)(h.issues.map(b=>ZL(b,c,XL())));throw QL(m,s?.callee),m}return h.value},Jae=Wae(JL),ele=e=>async(t,r,l,s)=>{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(s?.Err??e)(h.issues.map(b=>ZL(b,c,XL())));throw QL(m,s?.callee),m}return h.value},tle=ele(JL);function NP(e,t){try{var r=e()}catch(l){return t(l)}return r&&r.then?r.then(void 0,t):r}function nle(e,t){for(var r={};e.length;){var l=e[0],s=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:s};if("unionErrors"in l&&l.unionErrors.forEach(function(C){return C.errors.forEach(function(S){return e.push(S)})}),t){var b=r[h].types,E=b&&b[l.code];r[h]=FM(h,t,r,s,E?[].concat(E,l.message):l.message)}e.shift()}return r}function rle(e,t){for(var r={};e.length;){var l=e[0],s=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:s};if(l.code==="invalid_union"&&l.errors.forEach(function(C){return C.forEach(function(S){return e.push(S)})}),t){var b=r[h].types,E=b&&b[l.code];r[h]=FM(h,t,r,s,E?[].concat(E,l.message):l.message)}e.shift()}return r}function ale(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,s,c){try{return Promise.resolve(NP(function(){return Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](l,t)).then(function(h){return c.shouldUseNativeValidation&&A2({},c),{errors:{},values:r.raw?Object.assign({},l):h}})},function(h){if((function(m){return Array.isArray(m?.issues)})(h))return{values:{},errors:MP(nle(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,s,c){try{return Promise.resolve(NP(function(){return Promise.resolve((r.mode==="sync"?Jae:tle)(e,l,t)).then(function(h){return c.shouldUseNativeValidation&&A2({},c),{errors:{},values:r.raw?Object.assign({},l):h}})},function(h){if((function(m){return m instanceof Zae})(h))return{values:{},errors:MP(rle(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 lle(e,t){return kae({...t,resolver:ale(e)})}const ej=({value:e,onChange:t,defaultValue:r="",...l})=>{const s=Tw("Input",l),[c="",h]=br({prop:e,onChange:t,defaultProp:r}),m=b=>{h(b.target.value)};return O.jsx("input",{"data-slot":"input",...s,value:c,onChange:m,className:Fe("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",s.className)})},ole=$m(["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"}}),ile=({variant:e,size:t,className:r,...l})=>O.jsx("kbd",{className:Fe(ole({variant:e,size:t}),r),...l,"data-slot":"kbd"}),ule=({className:e,...t})=>O.jsx("kbd",{"data-slot":"kbd-group",className:Fe("inline-flex items-center gap-1",e),...t}),sle=$m("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"}}),cle=({center:e,containerClassName:t,variant:r,size:l,...s})=>O.jsx("div",{className:Fe(t,e&&"fixed inset-0 grid place-items-center"),"data-slot":"loader",children:O.jsx(qT,{"data-slot":"loader-icon",...s,className:Fe(sle({variant:r,size:l}),s.className)})});function fle(e){const[t=[],r]=k.useState(e);return[t,{insertAt:(R,M)=>{r((q=[])=>{const N=[...q];return N.splice(R,0,M),N})},removeAt:R=>{r((M=[])=>{const q=[...M];return q.splice(R,1),q})},updateAt:(R,M)=>{r((q=[])=>{const N=[...q];return N[R]=M,N})},clear:()=>r([]),reset:()=>r(e),push:R=>r((M=[])=>[...M,R]),set:R=>r(R),pop:()=>{r((R=[])=>{const M=[...R];return M.pop(),M})},update:(R,M)=>{r((q=[])=>{const N=[...q],L=sr.findIndex(N,R);return L===-1||(N[L]=sr.isFunction(M)?M(N[L]):M),N})}}]}function dle({fn:e,dependencies:t=[],onError:r,onSuccess:l,onFinish:s}){const[c,h]=k.useState(!0),[m,b]=k.useState(null),[E,C]=k.useState(null),S=k.useCallback(()=>{h(!0),b(null),C(null),e().then(R=>{l?.(R),C(R)}).catch(R=>{r?.(R),b(R)}).finally(()=>{s?.(),h(!1)})},t);return k.useEffect(()=>{S()},[S]),{loading:c,error:m,data:E,refetch:S}}const ple=(e,t=!0)=>{const r=k.useRef(null),l=s=>{r.current&&!r.current.contains(s.target)&&e()};return k.useEffect(()=>{if(t)return document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}},[t]),r};function hle(){const[e,t]=k.useState(null),r=k.useCallback(async l=>{if(!navigator?.clipboard)return!1;try{return await navigator.clipboard.writeText(l),t(l),!0}catch(s){return console.error(s),t(null),!1}},[]);return[e,r]}function mle(e,t){const r=k.useRef(null);return k.useCallback((...l)=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{e(...l)},t)},[e,t])}function vle(e,t){const[r,l]=k.useState(e);return k.useEffect(()=>{const s=setTimeout(()=>{l(e)},t);return()=>clearTimeout(s)},[e,t]),r}function gle(e=!1,t){const{onOpen:r,onClose:l}=t||{},[s,c]=k.useState(e),h=k.useCallback(()=>{c(E=>E||(r?.(),!0))},[r]),m=k.useCallback(()=>{c(E=>E&&(l?.(),!1))},[l]),b=k.useCallback(()=>{s?m():h()},[m,h,s]);return[s,{open:h,close:m,toggle:b}]}function yle(e){k.useEffect(()=>{typeof e=="string"&&e.trim().length>0&&(document.title=e.trim())},[e])}function tj(e,t,r){const l=k.useRef(null);return k.useEffect(()=>{const s=l.current??document;return s.addEventListener(e,t,r),()=>{s.removeEventListener(e,t,r)}},[e,t,r]),l}const ble=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")}},xle=(e,t)=>{const{mainKey:r,isShift:l,isCtrl:s,isAlt:c,isMeta:h}=ble(t);return e.key.toLowerCase()===r&&e.shiftKey===l&&e.ctrlKey===s&&e.altKey===c&&e.metaKey===h},Ele=e=>e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable,Sle=(e,t)=>t&&Ele(e.target),Cle=(e,t,r,l,s)=>c=>{if(!s||Sle(c,l))return;(Array.isArray(e)?e:[e]).some(b=>xle(c,b))&&(r&&c.preventDefault(),t(c))};function nj(e,t,r={}){const{eventName:l="keydown",preventDefault:s=!0,ignoreInputFields:c=!0,watch:h=!0}=r,m=k.useCallback(Cle(e,t,s,c,h),[e,t,s,c,h]);return tj(l,m)}function wle(e){const[t,r]=k.useState(!1),l=k.useRef(null);return k.useEffect(()=>{const s=m=>{r(!0),e?.onHoverStart?.(m)},c=m=>{r(!1),e?.onHoverEnd?.(m)},h=l.current;if(h)return h.addEventListener("mouseover",s),h.addEventListener("mouseout",c),()=>{h.removeEventListener("mouseover",s),h.removeEventListener("mouseout",c)}},[e]),{ref:l,isHovering:t}}function Rle({onVisible:e,root:t=null,rootMargin:r="0px",threshold:l=0}={}){const[s,c]=k.useState(!1),h=k.useRef(null),m=k.useCallback(([b])=>{const E=b.isIntersecting;c(E)},[e]);return k.useEffect(()=>{if(h.current==null)return;const b=new IntersectionObserver(m,{root:t,rootMargin:r,threshold:l});return b.observe(h.current),()=>{h.current!=null&&b.unobserve(h.current)}},[h,t,r,l,m]),k.useEffect(()=>{s&&e?.()},[s]),{ref:h,isVisible:s}}function Tle(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,s]=k.useState(r);return k.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=>{s(m)},()=>{try{localStorage.removeItem(e),s(t!==void 0?t:void 0)}catch(m){console.error(`Error removing localStorage key "${e}":`,m)}}]}const _le=e=>{const[t,r]=k.useState(!1);return k.useEffect(()=>{const l=window.matchMedia(e),s=()=>r(l.matches);return s(),l.addEventListener("change",s),()=>{l.removeEventListener("change",s)}},[e]),t};function Ale(e){sr.isFunction(e)||console.error(`useMemoizedFn expected parameter is a function, got ${typeof e}`);const t=k.useRef(e);t.current=k.useMemo(()=>e,[e]);const r=k.useRef(null);return r.current||(r.current=function(...l){return t.current.apply(this,l)}),r.current}const Dle=e=>{const[t,r]=k.useState(!1),[l,s]=k.useState(null),[c,h]=k.useState(null);return{mutate:k.useCallback(async(...b)=>{r(!0),s(null),h(null);try{const E=await e.fn(...b);return e.onSuccess?.(E),h(E),E}catch(E){const C=E;throw e.onError?.(C),s(C),C}finally{e.onFinish?.(),r(!1)}},[e]),loading:t,error:l,data:c}};function Mle(e){const[t,r]=k.useState(e),l=k.useCallback(()=>r(e),[e]),s=k.useCallback(c=>{r(h=>{if(sr.isFunction(c)){const m=c(h);return sr.isObject(m)?{...h,...m}:h}else if(sr.isObject(c))return{...h,...c};return h})},[]);return[t,s,l]}function YM({totalItems:e,pageSize:t,initialCurrentPage:r=1,onChange:l}){const[s,c]=k.useState(r),h=Math.ceil(e/t),m=s===h,b=s===1,E=(s-1)*t+1,C=Math.min(s*t,e),S=()=>{if(m)return;const N=Math.min(s+1,h);q(N)},R=()=>{if(b)return;const N=Math.max(s-1,1);q(N)},M=N=>{if(N===1&&b||N===h&&m)return;const L=Math.max(1,N),P=Math.min(L,h);q(P)},q=N=>{c(N),l?.({currentPage:N,pageSize:t})};return{next:S,prev:R,goTo:M,currentPage:s,maxPage:h,isFirstPage:b,isLastPage:m,range:{start:E,end:C}}}function Ole(e){const t=()=>document.getElementById(e),r=()=>{const s=document.createElement("div");return s.id=e,s},l=k.useMemo(()=>{const s=t();return s||r()},[e]);return k.useEffect(()=>(document.getElementById(e)||document.body.appendChild(l),()=>{const s=document.getElementById(e);s&&document.body.removeChild(s)}),[e,l]),{render:s=>ws.createPortal(s,l)}}function Nle({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};k.useEffect(()=>(window.addEventListener("beforeunload",r),()=>window.removeEventListener("beforeunload",r)),[t,e])}const Dg="...",rj=({siblingCount:e=1,...t})=>{const r=YM(t),{currentPage:l,maxPage:s}=r,{totalItems:c,pageSize:h}=t,m=()=>{const S=2+3*e,R=1;if(S>=s)return sr.range(R,s+1);const M=Math.max(l-e,1),q=Math.min(l+e,s),N=M>2,L=q<s-2;if(N&&L){const P=sr.range(M,q+1);return[R,Dg,...P,Dg,s]}if(L)return[...sr.range(R,S+1),Dg,s];if(N){const P=sr.range(s-S+1,s+1);return[R,Dg,...P]}},b=k.useMemo(m,[c,h,l,e]);return{...r,paginationRange:b??[]}};function $le(e){const[t,r]=k.useState(new Set),l=k.useCallback(C=>t.has(C),[t]),s=k.useCallback(C=>{r(S=>new Set([...S,C]))},[]),c=k.useCallback(C=>{r(S=>{const R=new Set(S);return R.delete(C),R})},[]),h=k.useCallback(C=>{r(S=>{const R=new Set(S);return R.has(C)?R.delete(C):R.add(C),R})},[]),m=k.useCallback(C=>{r(new Set(C))},[]),b=k.useCallback(()=>{r(C=>C.size===e.length?new Set:new Set(e))},[e]),E=k.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:s,unselect:c,toggle:h,toggleAll:b,clear:E}}function Ple(e,t){const[r,l]=k.useState(0),s=t??e.length,c=()=>{l(E=>E>=s-1?E:E+1)},h=()=>{l(E=>E<=0?E:E-1)},m=E=>{l(E)},b=E=>{const C=sr.findIndex(e,E);C!==-1&&m(C)};return{currentStepIndex:r,step:e[r],steps:e,isFirstStep:r===0,isLastStep:r===s-1,goTo:m,next:c,back:h,findAndGo:b}}function aj(e=!1){const[t,r]=k.useState(e);return[t,s=>{r(s===void 0?!t:s)}]}const qle=/input|select|textarea|button|object/,lj="a, input, select, textarea, button, object, [tabindex]";function Lle(e){return process.env.NODE_ENV==="test"?!1:e.style.display==="none"}function jle(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(Lle(r))return!1;r=r.parentNode}return!0}function oj(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function D2(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(oj(e));return(qle.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&jle(e)}function ij(e){const t=oj(e);return(Number.isNaN(t)||t>=0)&&D2(e)}function zle(e){return Array.from(e.querySelectorAll(lj)).filter(ij)}function Ble(e,t){const r=zle(e);if(!r.length){t.preventDefault();return}const l=r[t.shiftKey?0:r.length-1],s=e.getRootNode();let c=l===s.activeElement||e===s.activeElement;const h=s.activeElement;if(h.tagName==="INPUT"&&h.getAttribute("type")==="radio"&&(c=r.filter(C=>C.getAttribute("type")==="radio"&&C.getAttribute("name")===h.getAttribute("name")).includes(l)),!c)return;t.preventDefault();const b=r[t.shiftKey?r.length-1:0];b&&b.focus()}function kle(e=!0){const t=k.useRef(null),r=s=>{let c=s.querySelector("[data-autofocus]");if(!c){const h=Array.from(s.querySelectorAll(lj));c=h.find(ij)||h.find(D2)||null,!c&&D2(s)&&(c=s)}c&&c.focus({preventScroll:!0})},l=k.useCallback(s=>{e&&s!==null&&t.current!==s&&(s?(setTimeout(()=>{s.getRootNode()&&r(s)}),t.current=s):t.current=null)},[e]);return k.useEffect(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const s=c=>{c.key==="Tab"&&t.current&&Ble(t.current,c)};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e]),l}function Ule(e){const t=Ile(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(Vle);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Ile(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=Kle(s),m=Fle(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Hle=Symbol("radix.slottable");function Vle(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Hle}function Fle(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function Kle(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 Gle=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yle=Gle.reduce((e,t)=>{const r=Ule(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function $P(e){const t=Xle(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(Zle);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Xle(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=Jle(s),m=Wle(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Qle=Symbol("radix.slottable");function Zle(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Qle}function Wle(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function Jle(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 XM(e){const t=e+"CollectionProvider",[r,l]=xp(t),[s,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),h=N=>{const{scope:L,children:P}=N,U=k.useRef(null),I=k.useRef(new Map).current;return O.jsx(s,{scope:L,itemMap:I,collectionRef:U,children:P})};h.displayName=t;const m=e+"CollectionSlot",b=$P(m),E=k.forwardRef((N,L)=>{const{scope:P,children:U}=N,I=c(m,P),Y=vn(L,I.collectionRef);return O.jsx(b,{ref:Y,children:U})});E.displayName=m;const C=e+"CollectionItemSlot",S="data-radix-collection-item",R=$P(C),M=k.forwardRef((N,L)=>{const{scope:P,children:U,...I}=N,Y=k.useRef(null),V=vn(L,Y),F=c(C,P);return k.useEffect(()=>(F.itemMap.set(Y,{ref:Y,...I}),()=>{F.itemMap.delete(Y)})),O.jsx(R,{[S]:"",ref:V,children:U})});M.displayName=C;function q(N){const L=c(e+"CollectionConsumer",N);return k.useCallback(()=>{const U=L.collectionRef.current;if(!U)return[];const I=Array.from(U.querySelectorAll(`[${S}]`));return Array.from(L.itemMap.values()).sort((F,K)=>I.indexOf(F.ref.current)-I.indexOf(K.ref.current))},[L.collectionRef,L.itemMap])}return[{Provider:h,Slot:E,ItemSlot:M},q,l]}var eoe=D.createContext(void 0);function QM(e){const t=D.useContext(eoe);return e||t||"ltr"}const toe=["top","right","bottom","left"],Pg=Math.min,Ss=Math.max,XT=Math.round,vT=Math.floor,yp=e=>({x:e,y:e}),noe={left:"right",right:"left",bottom:"top",top:"bottom"},roe={start:"end",end:"start"};function M2(e,t,r){return Ss(e,Pg(t,r))}function Dm(e,t){return typeof e=="function"?e(t):e}function Mm(e){return e.split("-")[0]}function rx(e){return e.split("-")[1]}function ZM(e){return e==="x"?"y":"x"}function WM(e){return e==="y"?"height":"width"}function qg(e){return["top","bottom"].includes(Mm(e))?"y":"x"}function JM(e){return ZM(qg(e))}function aoe(e,t,r){r===void 0&&(r=!1);const l=rx(e),s=JM(e),c=WM(s);let h=s==="x"?l===(r?"end":"start")?"right":"left":l==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(h=QT(h)),[h,QT(h)]}function loe(e){const t=QT(e);return[O2(e),t,O2(t)]}function O2(e){return e.replace(/start|end/g,t=>roe[t])}function ooe(e,t,r){const l=["left","right"],s=["right","left"],c=["top","bottom"],h=["bottom","top"];switch(e){case"top":case"bottom":return r?t?s:l:t?l:s;case"left":case"right":return t?c:h;default:return[]}}function ioe(e,t,r,l){const s=rx(e);let c=ooe(Mm(e),r==="start",l);return s&&(c=c.map(h=>h+"-"+s),t&&(c=c.concat(c.map(O2)))),c}function QT(e){return e.replace(/left|right|bottom|top/g,t=>noe[t])}function uoe(e){return{top:0,right:0,bottom:0,left:0,...e}}function uj(e){return typeof e!="number"?uoe(e):{top:e,right:e,bottom:e,left:e}}function ZT(e){const{x:t,y:r,width:l,height:s}=e;return{width:l,height:s,top:r,left:t,right:t+l,bottom:r+s,x:t,y:r}}function PP(e,t,r){let{reference:l,floating:s}=e;const c=qg(t),h=JM(t),m=WM(h),b=Mm(t),E=c==="y",C=l.x+l.width/2-s.width/2,S=l.y+l.height/2-s.height/2,R=l[m]/2-s[m]/2;let M;switch(b){case"top":M={x:C,y:l.y-s.height};break;case"bottom":M={x:C,y:l.y+l.height};break;case"right":M={x:l.x+l.width,y:S};break;case"left":M={x:l.x-s.width,y:S};break;default:M={x:l.x,y:l.y}}switch(rx(t)){case"start":M[h]-=R*(r&&E?-1:1);break;case"end":M[h]+=R*(r&&E?-1:1);break}return M}const soe=async(e,t,r)=>{const{placement:l="bottom",strategy:s="absolute",middleware:c=[],platform:h}=r,m=c.filter(Boolean),b=await(h.isRTL==null?void 0:h.isRTL(t));let E=await h.getElementRects({reference:e,floating:t,strategy:s}),{x:C,y:S}=PP(E,l,b),R=l,M={},q=0;for(let N=0;N<m.length;N++){const{name:L,fn:P}=m[N],{x:U,y:I,data:Y,reset:V}=await P({x:C,y:S,initialPlacement:l,placement:R,strategy:s,middlewareData:M,rects:E,platform:h,elements:{reference:e,floating:t}});C=U??C,S=I??S,M={...M,[L]:{...M[L],...Y}},V&&q<=50&&(q++,typeof V=="object"&&(V.placement&&(R=V.placement),V.rects&&(E=V.rects===!0?await h.getElementRects({reference:e,floating:t,strategy:s}):V.rects),{x:C,y:S}=PP(E,R,b)),N=-1)}return{x:C,y:S,placement:R,strategy:s,middlewareData:M}};async function hw(e,t){var r;t===void 0&&(t={});const{x:l,y:s,platform:c,rects:h,elements:m,strategy:b}=e,{boundary:E="clippingAncestors",rootBoundary:C="viewport",elementContext:S="floating",altBoundary:R=!1,padding:M=0}=Dm(t,e),q=uj(M),L=m[R?S==="floating"?"reference":"floating":S],P=ZT(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(L)))==null||r?L:L.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(m.floating)),boundary:E,rootBoundary:C,strategy:b})),U=S==="floating"?{x:l,y:s,width:h.floating.width,height:h.floating.height}:h.reference,I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m.floating)),Y=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},V=ZT(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:U,offsetParent:I,strategy:b}):U);return{top:(P.top-V.top+q.top)/Y.y,bottom:(V.bottom-P.bottom+q.bottom)/Y.y,left:(P.left-V.left+q.left)/Y.x,right:(V.right-P.right+q.right)/Y.x}}const coe=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:l,placement:s,rects:c,platform:h,elements:m,middlewareData:b}=t,{element:E,padding:C=0}=Dm(e,t)||{};if(E==null)return{};const S=uj(C),R={x:r,y:l},M=JM(s),q=WM(M),N=await h.getDimensions(E),L=M==="y",P=L?"top":"left",U=L?"bottom":"right",I=L?"clientHeight":"clientWidth",Y=c.reference[q]+c.reference[M]-R[M]-c.floating[q],V=R[M]-c.reference[M],F=await(h.getOffsetParent==null?void 0:h.getOffsetParent(E));let K=F?F[I]:0;(!K||!await(h.isElement==null?void 0:h.isElement(F)))&&(K=m.floating[I]||c.floating[q]);const Q=Y/2-V/2,he=K/2-N[q]/2-1,de=Pg(S[P],he),W=Pg(S[U],he),se=de,le=K-N[q]-W,ae=K/2-N[q]/2+Q,xe=M2(se,ae,le),B=!b.arrow&&rx(s)!=null&&ae!==xe&&c.reference[q]/2-(ae<se?de:W)-N[q]/2<0,Z=B?ae<se?ae-se:ae-le:0;return{[M]:R[M]+Z,data:{[M]:xe,centerOffset:ae-xe-Z,...B&&{alignmentOffset:Z}},reset:B}}}),foe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,l;const{placement:s,middlewareData:c,rects:h,initialPlacement:m,platform:b,elements:E}=t,{mainAxis:C=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:q="none",flipAlignment:N=!0,...L}=Dm(e,t);if((r=c.arrow)!=null&&r.alignmentOffset)return{};const P=Mm(s),U=qg(m),I=Mm(m)===m,Y=await(b.isRTL==null?void 0:b.isRTL(E.floating)),V=R||(I||!N?[QT(m)]:loe(m)),F=q!=="none";!R&&F&&V.push(...ioe(m,N,q,Y));const K=[m,...V],Q=await hw(t,L),he=[];let de=((l=c.flip)==null?void 0:l.overflows)||[];if(C&&he.push(Q[P]),S){const ae=aoe(s,h,Y);he.push(Q[ae[0]],Q[ae[1]])}if(de=[...de,{placement:s,overflows:he}],!he.every(ae=>ae<=0)){var W,se;const ae=(((W=c.flip)==null?void 0:W.index)||0)+1,xe=K[ae];if(xe)return{data:{index:ae,overflows:de},reset:{placement:xe}};let B=(se=de.filter(Z=>Z.overflows[0]<=0).sort((Z,te)=>Z.overflows[1]-te.overflows[1])[0])==null?void 0:se.placement;if(!B)switch(M){case"bestFit":{var le;const Z=(le=de.filter(te=>{if(F){const be=qg(te.placement);return be===U||be==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(be=>be>0).reduce((be,re)=>be+re,0)]).sort((te,be)=>te[1]-be[1])[0])==null?void 0:le[0];Z&&(B=Z);break}case"initialPlacement":B=m;break}if(s!==B)return{reset:{placement:B}}}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 LP(e){return toe.some(t=>e[t]>=0)}const doe=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:l="referenceHidden",...s}=Dm(e,t);switch(l){case"referenceHidden":{const c=await hw(t,{...s,elementContext:"reference"}),h=qP(c,r.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:LP(h)}}}case"escaped":{const c=await hw(t,{...s,altBoundary:!0}),h=qP(c,r.floating);return{data:{escapedOffsets:h,escaped:LP(h)}}}default:return{}}}}};async function poe(e,t){const{placement:r,platform:l,elements:s}=e,c=await(l.isRTL==null?void 0:l.isRTL(s.floating)),h=Mm(r),m=rx(r),b=qg(r)==="y",E=["left","top"].includes(h)?-1:1,C=c&&b?-1:1,S=Dm(t,e);let{mainAxis:R,crossAxis:M,alignmentAxis:q}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:S.mainAxis||0,crossAxis:S.crossAxis||0,alignmentAxis:S.alignmentAxis};return m&&typeof q=="number"&&(M=m==="end"?q*-1:q),b?{x:M*C,y:R*E}:{x:R*E,y:M*C}}const hoe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,l;const{x:s,y:c,placement:h,middlewareData:m}=t,b=await poe(t,e);return h===((r=m.offset)==null?void 0:r.placement)&&(l=m.arrow)!=null&&l.alignmentOffset?{}:{x:s+b.x,y:c+b.y,data:{...b,placement:h}}}}},moe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:l,placement:s}=t,{mainAxis:c=!0,crossAxis:h=!1,limiter:m={fn:L=>{let{x:P,y:U}=L;return{x:P,y:U}}},...b}=Dm(e,t),E={x:r,y:l},C=await hw(t,b),S=qg(Mm(s)),R=ZM(S);let M=E[R],q=E[S];if(c){const L=R==="y"?"top":"left",P=R==="y"?"bottom":"right",U=M+C[L],I=M-C[P];M=M2(U,M,I)}if(h){const L=S==="y"?"top":"left",P=S==="y"?"bottom":"right",U=q+C[L],I=q-C[P];q=M2(U,q,I)}const N=m.fn({...t,[R]:M,[S]:q});return{...N,data:{x:N.x-r,y:N.y-l,enabled:{[R]:c,[S]:h}}}}}},voe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:l,placement:s,rects:c,middlewareData:h}=t,{offset:m=0,mainAxis:b=!0,crossAxis:E=!0}=Dm(e,t),C={x:r,y:l},S=qg(s),R=ZM(S);let M=C[R],q=C[S];const N=Dm(m,t),L=typeof N=="number"?{mainAxis:N,crossAxis:0}:{mainAxis:0,crossAxis:0,...N};if(b){const I=R==="y"?"height":"width",Y=c.reference[R]-c.floating[I]+L.mainAxis,V=c.reference[R]+c.reference[I]-L.mainAxis;M<Y?M=Y:M>V&&(M=V)}if(E){var P,U;const I=R==="y"?"width":"height",Y=["top","left"].includes(Mm(s)),V=c.reference[S]-c.floating[I]+(Y&&((P=h.offset)==null?void 0:P[S])||0)+(Y?0:L.crossAxis),F=c.reference[S]+c.reference[I]+(Y?0:((U=h.offset)==null?void 0:U[S])||0)-(Y?L.crossAxis:0);q<V?q=V:q>F&&(q=F)}return{[R]:M,[S]:q}}}},goe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,l;const{placement:s,rects:c,platform:h,elements:m}=t,{apply:b=()=>{},...E}=Dm(e,t),C=await hw(t,E),S=Mm(s),R=rx(s),M=qg(s)==="y",{width:q,height:N}=c.floating;let L,P;S==="top"||S==="bottom"?(L=S,P=R===(await(h.isRTL==null?void 0:h.isRTL(m.floating))?"start":"end")?"left":"right"):(P=S,L=R==="end"?"top":"bottom");const U=N-C.top-C.bottom,I=q-C.left-C.right,Y=Pg(N-C[L],U),V=Pg(q-C[P],I),F=!t.middlewareData.shift;let K=Y,Q=V;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(Q=I),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(K=U),F&&!R){const de=Ss(C.left,0),W=Ss(C.right,0),se=Ss(C.top,0),le=Ss(C.bottom,0);M?Q=q-2*(de!==0||W!==0?de+W:Ss(C.left,C.right)):K=N-2*(se!==0||le!==0?se+le:Ss(C.top,C.bottom))}await b({...t,availableWidth:Q,availableHeight:K});const he=await h.getDimensions(m.floating);return q!==he.width||N!==he.height?{reset:{rects:!0}}:{}}}};function A_(){return typeof window<"u"}function ax(e){return sj(e)?(e.nodeName||"").toLowerCase():"#document"}function Rs(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Sp(e){var t;return(t=(sj(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sj(e){return A_()?e instanceof Node||e instanceof Rs(e).Node:!1}function Jf(e){return A_()?e instanceof Element||e instanceof Rs(e).Element:!1}function bp(e){return A_()?e instanceof HTMLElement||e instanceof Rs(e).HTMLElement:!1}function jP(e){return!A_()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rs(e).ShadowRoot}function jw(e){const{overflow:t,overflowX:r,overflowY:l,display:s}=ed(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+r)&&!["inline","contents"].includes(s)}function yoe(e){return["table","td","th"].includes(ax(e))}function D_(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function eO(e){const t=tO(),r=Jf(e)?ed(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 boe(e){let t=Lg(e);for(;bp(t)&&!K1(t);){if(eO(t))return t;if(D_(t))return null;t=Lg(t)}return null}function tO(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function K1(e){return["html","body","#document"].includes(ax(e))}function ed(e){return Rs(e).getComputedStyle(e)}function M_(e){return Jf(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lg(e){if(ax(e)==="html")return e;const t=e.assignedSlot||e.parentNode||jP(e)&&e.host||Sp(e);return jP(t)?t.host:t}function cj(e){const t=Lg(e);return K1(t)?e.ownerDocument?e.ownerDocument.body:e.body:bp(t)&&jw(t)?t:cj(t)}function mw(e,t,r){var l;t===void 0&&(t=[]),r===void 0&&(r=!0);const s=cj(e),c=s===((l=e.ownerDocument)==null?void 0:l.body),h=Rs(s);if(c){const m=N2(h);return t.concat(h,h.visualViewport||[],jw(s)?s:[],m&&r?mw(m):[])}return t.concat(s,mw(s,[],r))}function N2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fj(e){const t=ed(e);let r=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const s=bp(e),c=s?e.offsetWidth:r,h=s?e.offsetHeight:l,m=XT(r)!==c||XT(l)!==h;return m&&(r=c,l=h),{width:r,height:l,$:m}}function nO(e){return Jf(e)?e:e.contextElement}function I1(e){const t=nO(e);if(!bp(t))return yp(1);const r=t.getBoundingClientRect(),{width:l,height:s,$:c}=fj(t);let h=(c?XT(r.width):r.width)/l,m=(c?XT(r.height):r.height)/s;return(!h||!Number.isFinite(h))&&(h=1),(!m||!Number.isFinite(m))&&(m=1),{x:h,y:m}}const xoe=yp(0);function dj(e){const t=Rs(e);return!tO()||!t.visualViewport?xoe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Eoe(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Rs(e)?!1:t}function r0(e,t,r,l){t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),c=nO(e);let h=yp(1);t&&(l?Jf(l)&&(h=I1(l)):h=I1(e));const m=Eoe(c,r,l)?dj(c):yp(0);let b=(s.left+m.x)/h.x,E=(s.top+m.y)/h.y,C=s.width/h.x,S=s.height/h.y;if(c){const R=Rs(c),M=l&&Jf(l)?Rs(l):l;let q=R,N=N2(q);for(;N&&l&&M!==q;){const L=I1(N),P=N.getBoundingClientRect(),U=ed(N),I=P.left+(N.clientLeft+parseFloat(U.paddingLeft))*L.x,Y=P.top+(N.clientTop+parseFloat(U.paddingTop))*L.y;b*=L.x,E*=L.y,C*=L.x,S*=L.y,b+=I,E+=Y,q=Rs(N),N=N2(q)}}return ZT({width:C,height:S,x:b,y:E})}function rO(e,t){const r=M_(e).scrollLeft;return t?t.left+r:r0(Sp(e)).left+r}function pj(e,t,r){r===void 0&&(r=!1);const l=e.getBoundingClientRect(),s=l.left+t.scrollLeft-(r?0:rO(e,l)),c=l.top+t.scrollTop;return{x:s,y:c}}function Soe(e){let{elements:t,rect:r,offsetParent:l,strategy:s}=e;const c=s==="fixed",h=Sp(l),m=t?D_(t.floating):!1;if(l===h||m&&c)return r;let b={scrollLeft:0,scrollTop:0},E=yp(1);const C=yp(0),S=bp(l);if((S||!S&&!c)&&((ax(l)!=="body"||jw(h))&&(b=M_(l)),bp(l))){const M=r0(l);E=I1(l),C.x=M.x+l.clientLeft,C.y=M.y+l.clientTop}const R=h&&!S&&!c?pj(h,b,!0):yp(0);return{width:r.width*E.x,height:r.height*E.y,x:r.x*E.x-b.scrollLeft*E.x+C.x+R.x,y:r.y*E.y-b.scrollTop*E.y+C.y+R.y}}function Coe(e){return Array.from(e.getClientRects())}function woe(e){const t=Sp(e),r=M_(e),l=e.ownerDocument.body,s=Ss(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),c=Ss(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let h=-r.scrollLeft+rO(e);const m=-r.scrollTop;return ed(l).direction==="rtl"&&(h+=Ss(t.clientWidth,l.clientWidth)-s),{width:s,height:c,x:h,y:m}}function Roe(e,t){const r=Rs(e),l=Sp(e),s=r.visualViewport;let c=l.clientWidth,h=l.clientHeight,m=0,b=0;if(s){c=s.width,h=s.height;const E=tO();(!E||E&&t==="fixed")&&(m=s.offsetLeft,b=s.offsetTop)}return{width:c,height:h,x:m,y:b}}function Toe(e,t){const r=r0(e,!0,t==="fixed"),l=r.top+e.clientTop,s=r.left+e.clientLeft,c=bp(e)?I1(e):yp(1),h=e.clientWidth*c.x,m=e.clientHeight*c.y,b=s*c.x,E=l*c.y;return{width:h,height:m,x:b,y:E}}function zP(e,t,r){let l;if(t==="viewport")l=Roe(e,r);else if(t==="document")l=woe(Sp(e));else if(Jf(t))l=Toe(t,r);else{const s=dj(e);l={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ZT(l)}function hj(e,t){const r=Lg(e);return r===t||!Jf(r)||K1(r)?!1:ed(r).position==="fixed"||hj(r,t)}function _oe(e,t){const r=t.get(e);if(r)return r;let l=mw(e,[],!1).filter(m=>Jf(m)&&ax(m)!=="body"),s=null;const c=ed(e).position==="fixed";let h=c?Lg(e):e;for(;Jf(h)&&!K1(h);){const m=ed(h),b=eO(h);!b&&m.position==="fixed"&&(s=null),(c?!b&&!s:!b&&m.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||jw(h)&&!b&&hj(e,h))?l=l.filter(C=>C!==h):s=m,h=Lg(h)}return t.set(e,l),l}function Aoe(e){let{element:t,boundary:r,rootBoundary:l,strategy:s}=e;const h=[...r==="clippingAncestors"?D_(t)?[]:_oe(t,this._c):[].concat(r),l],m=h[0],b=h.reduce((E,C)=>{const S=zP(t,C,s);return E.top=Ss(S.top,E.top),E.right=Pg(S.right,E.right),E.bottom=Pg(S.bottom,E.bottom),E.left=Ss(S.left,E.left),E},zP(t,m,s));return{width:b.right-b.left,height:b.bottom-b.top,x:b.left,y:b.top}}function Doe(e){const{width:t,height:r}=fj(e);return{width:t,height:r}}function Moe(e,t,r){const l=bp(t),s=Sp(t),c=r==="fixed",h=r0(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const b=yp(0);if(l||!l&&!c)if((ax(t)!=="body"||jw(s))&&(m=M_(t)),l){const R=r0(t,!0,c,t);b.x=R.x+t.clientLeft,b.y=R.y+t.clientTop}else s&&(b.x=rO(s));const E=s&&!l&&!c?pj(s,m):yp(0),C=h.left+m.scrollLeft-b.x-E.x,S=h.top+m.scrollTop-b.y-E.y;return{x:C,y:S,width:h.width,height:h.height}}function zD(e){return ed(e).position==="static"}function BP(e,t){if(!bp(e)||ed(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Sp(e)===r&&(r=r.ownerDocument.body),r}function mj(e,t){const r=Rs(e);if(D_(e))return r;if(!bp(e)){let s=Lg(e);for(;s&&!K1(s);){if(Jf(s)&&!zD(s))return s;s=Lg(s)}return r}let l=BP(e,t);for(;l&&yoe(l)&&zD(l);)l=BP(l,t);return l&&K1(l)&&zD(l)&&!eO(l)?r:l||boe(e)||r}const Ooe=async function(e){const t=this.getOffsetParent||mj,r=this.getDimensions,l=await r(e.floating);return{reference:Moe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Noe(e){return ed(e).direction==="rtl"}const $oe={convertOffsetParentRelativeRectToViewportRelativeRect:Soe,getDocumentElement:Sp,getClippingRect:Aoe,getOffsetParent:mj,getElementRects:Ooe,getClientRects:Coe,getDimensions:Doe,getScale:I1,isElement:Jf,isRTL:Noe};function vj(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Poe(e,t){let r=null,l;const s=Sp(e);function c(){var m;clearTimeout(l),(m=r)==null||m.disconnect(),r=null}function h(m,b){m===void 0&&(m=!1),b===void 0&&(b=1),c();const E=e.getBoundingClientRect(),{left:C,top:S,width:R,height:M}=E;if(m||t(),!R||!M)return;const q=vT(S),N=vT(s.clientWidth-(C+R)),L=vT(s.clientHeight-(S+M)),P=vT(C),I={rootMargin:-q+"px "+-N+"px "+-L+"px "+-P+"px",threshold:Ss(0,Pg(1,b))||1};let Y=!0;function V(F){const K=F[0].intersectionRatio;if(K!==b){if(!Y)return h();K?h(!1,K):l=setTimeout(()=>{h(!1,1e-7)},1e3)}K===1&&!vj(E,e.getBoundingClientRect())&&h(),Y=!1}try{r=new IntersectionObserver(V,{...I,root:s.ownerDocument})}catch{r=new IntersectionObserver(V,I)}r.observe(e)}return h(!0),c}function qoe(e,t,r,l){l===void 0&&(l={});const{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:b=!1}=l,E=nO(e),C=s||c?[...E?mw(E):[],...mw(t)]:[];C.forEach(P=>{s&&P.addEventListener("scroll",r,{passive:!0}),c&&P.addEventListener("resize",r)});const S=E&&m?Poe(E,r):null;let R=-1,M=null;h&&(M=new ResizeObserver(P=>{let[U]=P;U&&U.target===E&&M&&(M.unobserve(t),cancelAnimationFrame(R),R=requestAnimationFrame(()=>{var I;(I=M)==null||I.observe(t)})),r()}),E&&!b&&M.observe(E),M.observe(t));let q,N=b?r0(e):null;b&&L();function L(){const P=r0(e);N&&!vj(N,P)&&r(),N=P,q=requestAnimationFrame(L)}return r(),()=>{var P;C.forEach(U=>{s&&U.removeEventListener("scroll",r),c&&U.removeEventListener("resize",r)}),S?.(),(P=M)==null||P.disconnect(),M=null,b&&cancelAnimationFrame(q)}}const Loe=hoe,joe=moe,zoe=foe,Boe=goe,koe=doe,kP=coe,Uoe=voe,Ioe=(e,t,r)=>{const l=new Map,s={platform:$oe,...r},c={...s.platform,_c:l};return soe(e,t,{...s,platform:c})};var _T=typeof document<"u"?k.useLayoutEffect:k.useEffect;function WT(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,s;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(!WT(e[l],t[l]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(t).length)return!1;for(l=r;l--!==0;)if(!{}.hasOwnProperty.call(t,s[l]))return!1;for(l=r;l--!==0;){const c=s[l];if(!(c==="_owner"&&e.$$typeof)&&!WT(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function gj(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function UP(e,t){const r=gj(e);return Math.round(t*r)/r}function BD(e){const t=D.useRef(e);return _T(()=>{t.current=e}),t}function Hoe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:l=[],platform:s,elements:{reference:c,floating:h}={},transform:m=!0,whileElementsMounted:b,open:E}=e,[C,S]=D.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[R,M]=D.useState(l);WT(R,l)||M(l);const[q,N]=D.useState(null),[L,P]=D.useState(null),U=D.useCallback(te=>{te!==F.current&&(F.current=te,N(te))},[]),I=D.useCallback(te=>{te!==K.current&&(K.current=te,P(te))},[]),Y=c||q,V=h||L,F=D.useRef(null),K=D.useRef(null),Q=D.useRef(C),he=b!=null,de=BD(b),W=BD(s),se=BD(E),le=D.useCallback(()=>{if(!F.current||!K.current)return;const te={placement:t,strategy:r,middleware:R};W.current&&(te.platform=W.current),Ioe(F.current,K.current,te).then(be=>{const re={...be,isPositioned:se.current!==!1};ae.current&&!WT(Q.current,re)&&(Q.current=re,X1.flushSync(()=>{S(re)}))})},[R,t,r,W,se]);_T(()=>{E===!1&&Q.current.isPositioned&&(Q.current.isPositioned=!1,S(te=>({...te,isPositioned:!1})))},[E]);const ae=D.useRef(!1);_T(()=>(ae.current=!0,()=>{ae.current=!1}),[]),_T(()=>{if(Y&&(F.current=Y),V&&(K.current=V),Y&&V){if(de.current)return de.current(Y,V,le);le()}},[Y,V,le,de,he]);const xe=D.useMemo(()=>({reference:F,floating:K,setReference:U,setFloating:I}),[U,I]),B=D.useMemo(()=>({reference:Y,floating:V}),[Y,V]),Z=D.useMemo(()=>{const te={position:r,left:0,top:0};if(!B.floating)return te;const be=UP(B.floating,C.x),re=UP(B.floating,C.y);return m?{...te,transform:"translate("+be+"px, "+re+"px)",...gj(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:be,top:re}},[r,m,B.floating,C.x,C.y]);return D.useMemo(()=>({...C,update:le,refs:xe,elements:B,floatingStyles:Z}),[C,le,xe,B,Z])}const Voe=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:l,padding:s}=typeof e=="function"?e(r):e;return l&&t(l)?l.current!=null?kP({element:l.current,padding:s}).fn(r):{}:l?kP({element:l,padding:s}).fn(r):{}}}},Foe=(e,t)=>({...Loe(e),options:[e,t]}),Koe=(e,t)=>({...joe(e),options:[e,t]}),Goe=(e,t)=>({...Uoe(e),options:[e,t]}),Yoe=(e,t)=>({...zoe(e),options:[e,t]}),Xoe=(e,t)=>({...Boe(e),options:[e,t]}),Qoe=(e,t)=>({...koe(e),options:[e,t]}),Zoe=(e,t)=>({...Voe(e),options:[e,t]});function Woe(e){const t=Joe(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(tie);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Joe(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=rie(s),m=nie(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var eie=Symbol("radix.slottable");function tie(e){return D.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 s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,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"],lie=aie.reduce((e,t)=>{const r=Woe(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),oie="Arrow",yj=D.forwardRef((e,t)=>{const{children:r,width:l=10,height:s=5,...c}=e;return O.jsx(lie.svg,{...c,ref:t,width:l,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:O.jsx("polygon",{points:"0,0 30,0 15,10"})})});yj.displayName=oie;var iie=yj;function uie(e){const t=sie(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(fie);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function sie(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=pie(s),m=die(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cie=Symbol("radix.slottable");function fie(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===cie}function die(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function pie(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 hie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],bj=hie.reduce((e,t)=>{const r=uie(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function mie(e){const[t,r]=D.useState(void 0);return Vl(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const l=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let h,m;if("borderBoxSize"in c){const b=c.borderBoxSize,E=Array.isArray(b)?b[0]:b;h=E.inlineSize,m=E.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 aO="Popper",[xj,zg]=xp(aO),[vie,Ej]=xj(aO),Sj=e=>{const{__scopePopper:t,children:r}=e,[l,s]=D.useState(null);return O.jsx(vie,{scope:t,anchor:l,onAnchorChange:s,children:r})};Sj.displayName=aO;var Cj="PopperAnchor",wj=D.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:l,...s}=e,c=Ej(Cj,r),h=D.useRef(null),m=vn(t,h),b=D.useRef(null);return D.useEffect(()=>{const E=b.current;b.current=l?.current||h.current,E!==b.current&&c.onAnchorChange(b.current)}),l?null:O.jsx(bj.div,{...s,ref:m})});wj.displayName=Cj;var lO="PopperContent",[gie,yie]=xj(lO),Rj=D.forwardRef((e,t)=>{const{__scopePopper:r,side:l="bottom",sideOffset:s=0,align:c="center",alignOffset:h=0,arrowPadding:m=0,avoidCollisions:b=!0,collisionBoundary:E=[],collisionPadding:C=0,sticky:S="partial",hideWhenDetached:R=!1,updatePositionStrategy:M="optimized",onPlaced:q,...N}=e,L=Ej(lO,r),[P,U]=D.useState(null),I=vn(t,_e=>U(_e)),[Y,V]=D.useState(null),F=mie(Y),K=F?.width??0,Q=F?.height??0,he=l+(c!=="center"?"-"+c:""),de=typeof C=="number"?C:{top:0,right:0,bottom:0,left:0,...C},W=Array.isArray(E)?E:[E],se=W.length>0,le={padding:de,boundary:W.filter(xie),altBoundary:se},{refs:ae,floatingStyles:xe,placement:B,isPositioned:Z,middlewareData:te}=Hoe({strategy:"fixed",placement:he,whileElementsMounted:(..._e)=>qoe(..._e,{animationFrame:M==="always"}),elements:{reference:L.anchor},middleware:[Foe({mainAxis:s+Q,alignmentAxis:h}),b&&Koe({mainAxis:!0,crossAxis:!1,limiter:S==="partial"?Goe():void 0,...le}),b&&Yoe({...le}),Xoe({...le,apply:({elements:_e,rects:Je,availableWidth:ie,availableHeight:ke})=>{const{width:Ee,height:Ae}=Je.reference,ot=_e.floating.style;ot.setProperty("--radix-popper-available-width",`${ie}px`),ot.setProperty("--radix-popper-available-height",`${ke}px`),ot.setProperty("--radix-popper-anchor-width",`${Ee}px`),ot.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),Y&&Zoe({element:Y,padding:m}),Eie({arrowWidth:K,arrowHeight:Q}),R&&Qoe({strategy:"referenceHidden",...le})]}),[be,re]=Aj(B),oe=Yo(q);Vl(()=>{Z&&oe?.()},[Z,oe]);const ue=te.arrow?.x,ce=te.arrow?.y,De=te.arrow?.centerOffset!==0,[je,Ke]=D.useState();return Vl(()=>{P&&Ke(window.getComputedStyle(P).zIndex)},[P]),O.jsx("div",{ref:ae.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:Z?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:je,"--radix-popper-transform-origin":[te.transformOrigin?.x,te.transformOrigin?.y].join(" "),...te.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:O.jsx(gie,{scope:r,placedSide:be,onArrowChange:V,arrowX:ue,arrowY:ce,shouldHideArrow:De,children:O.jsx(bj.div,{"data-side":be,"data-align":re,...N,ref:I,style:{...N.style,animation:Z?void 0:"none"}})})})});Rj.displayName=lO;var Tj="PopperArrow",bie={top:"bottom",right:"left",bottom:"top",left:"right"},_j=D.forwardRef(function(t,r){const{__scopePopper:l,...s}=t,c=yie(Tj,l),h=bie[c.placedSide];return O.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:O.jsx(iie,{...s,ref:r,style:{...s.style,display:"block"}})})});_j.displayName=Tj;function xie(e){return e!==null}var Eie=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:l,middlewareData:s}=t,h=s.arrow?.centerOffset!==0,m=h?0:e.arrowWidth,b=h?0:e.arrowHeight,[E,C]=Aj(r),S={start:"0%",center:"50%",end:"100%"}[C],R=(s.arrow?.x??0)+m/2,M=(s.arrow?.y??0)+b/2;let q="",N="";return E==="bottom"?(q=h?S:`${R}px`,N=`${-b}px`):E==="top"?(q=h?S:`${R}px`,N=`${l.floating.height+b}px`):E==="right"?(q=`${-b}px`,N=h?S:`${M}px`):E==="left"&&(q=`${l.floating.width+b}px`,N=h?S:`${M}px`),{data:{x:q,y:N}}}});function Aj(e){const[t,r="center"]=e.split("-");return[t,r]}var zw=Sj,Bw=wj,O_=Rj,N_=_j;function Dj(e){const t=Sie(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(wie);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Sie(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=Tie(s),m=Rie(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Cie=Symbol("radix.slottable");function wie(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Cie}function Rie(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function Tie(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 _ie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kw=_ie.reduce((e,t)=>{const r=Dj(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function Aie(e,t){e&&X1.flushSync(()=>e.dispatchEvent(t))}function Die(e){const t=Mie(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(Nie);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Mie(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=Pie(s),m=$ie(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Oie=Symbol("radix.slottable");function Nie(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Oie}function $ie(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function Pie(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 qie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Mj=qie.reduce((e,t)=>{const r=Die(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),kD="rovingFocusGroup.onEntryFocus",Lie={bubbles:!1,cancelable:!0},Uw="RovingFocusGroup",[$2,Oj,jie]=XM(Uw),[zie,Nj]=xp(Uw,[jie]),[Bie,kie]=zie(Uw),$j=D.forwardRef((e,t)=>O.jsx($2.Provider,{scope:e.__scopeRovingFocusGroup,children:O.jsx($2.Slot,{scope:e.__scopeRovingFocusGroup,children:O.jsx(Uie,{...e,ref:t})})}));$j.displayName=Uw;var Uie=D.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:l,loop:s=!1,dir:c,currentTabStopId:h,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:b,onEntryFocus:E,preventScrollOnEntryFocus:C=!1,...S}=e,R=D.useRef(null),M=vn(t,R),q=QM(c),[N,L]=br({prop:h,defaultProp:m??null,onChange:b,caller:Uw}),[P,U]=D.useState(!1),I=Yo(E),Y=Oj(r),V=D.useRef(!1),[F,K]=D.useState(0);return D.useEffect(()=>{const Q=R.current;if(Q)return Q.addEventListener(kD,I),()=>Q.removeEventListener(kD,I)},[I]),O.jsx(Bie,{scope:r,orientation:l,dir:q,loop:s,currentTabStopId:N,onItemFocus:D.useCallback(Q=>L(Q),[L]),onItemShiftTab:D.useCallback(()=>U(!0),[]),onFocusableItemAdd:D.useCallback(()=>K(Q=>Q+1),[]),onFocusableItemRemove:D.useCallback(()=>K(Q=>Q-1),[]),children:O.jsx(Mj.div,{tabIndex:P||F===0?-1:0,"data-orientation":l,...S,ref:M,style:{outline:"none",...e.style},onMouseDown:gt(e.onMouseDown,()=>{V.current=!0}),onFocus:gt(e.onFocus,Q=>{const he=!V.current;if(Q.target===Q.currentTarget&&he&&!P){const de=new CustomEvent(kD,Lie);if(Q.currentTarget.dispatchEvent(de),!de.defaultPrevented){const W=Y().filter(B=>B.focusable),se=W.find(B=>B.active),le=W.find(B=>B.id===N),xe=[se,le,...W].filter(Boolean).map(B=>B.ref.current);Lj(xe,C)}}V.current=!1}),onBlur:gt(e.onBlur,()=>U(!1))})})}),Pj="RovingFocusGroupItem",qj=D.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:l=!0,active:s=!1,tabStopId:c,children:h,...m}=e,b=_a(),E=c||b,C=kie(Pj,r),S=C.currentTabStopId===E,R=Oj(r),{onFocusableItemAdd:M,onFocusableItemRemove:q,currentTabStopId:N}=C;return D.useEffect(()=>{if(l)return M(),()=>q()},[l,M,q]),O.jsx($2.ItemSlot,{scope:r,id:E,focusable:l,active:s,children:O.jsx(Mj.span,{tabIndex:S?0:-1,"data-orientation":C.orientation,...m,ref:t,onMouseDown:gt(e.onMouseDown,L=>{l?C.onItemFocus(E):L.preventDefault()}),onFocus:gt(e.onFocus,()=>C.onItemFocus(E)),onKeyDown:gt(e.onKeyDown,L=>{if(L.key==="Tab"&&L.shiftKey){C.onItemShiftTab();return}if(L.target!==L.currentTarget)return;const P=Vie(L,C.orientation,C.dir);if(P!==void 0){if(L.metaKey||L.ctrlKey||L.altKey||L.shiftKey)return;L.preventDefault();let I=R().filter(Y=>Y.focusable).map(Y=>Y.ref.current);if(P==="last")I.reverse();else if(P==="prev"||P==="next"){P==="prev"&&I.reverse();const Y=I.indexOf(L.currentTarget);I=C.loop?Fie(I,Y+1):I.slice(Y+1)}setTimeout(()=>Lj(I))}}),children:typeof h=="function"?h({isCurrentTabStop:S,hasTabStop:N!=null}):h})})});qj.displayName=Pj;var Iie={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Hie(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Vie(e,t,r){const l=Hie(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(l))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(l)))return Iie[l]}function Lj(e,t=!1){const r=document.activeElement;for(const l of e)if(l===r||(l.focus({preventScroll:t}),document.activeElement!==r))return}function Fie(e,t){return e.map((r,l)=>e[(t+l)%e.length])}var Kie=$j,Gie=qj,P2=["Enter"," "],Yie=["ArrowDown","PageUp","Home"],jj=["ArrowUp","PageDown","End"],Xie=[...Yie,...jj],Qie={ltr:[...P2,"ArrowRight"],rtl:[...P2,"ArrowLeft"]},Zie={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Iw="Menu",[vw,Wie,Jie]=XM(Iw),[d0,zj]=xp(Iw,[Jie,zg,Nj]),Hw=zg(),Bj=Nj(),[kj,Bg]=d0(Iw),[eue,Vw]=d0(Iw),Uj=e=>{const{__scopeMenu:t,open:r=!1,children:l,dir:s,onOpenChange:c,modal:h=!0}=e,m=Hw(t),[b,E]=D.useState(null),C=D.useRef(!1),S=Yo(c),R=QM(s);return D.useEffect(()=>{const M=()=>{C.current=!0,document.addEventListener("pointerdown",q,{capture:!0,once:!0}),document.addEventListener("pointermove",q,{capture:!0,once:!0})},q=()=>C.current=!1;return document.addEventListener("keydown",M,{capture:!0}),()=>{document.removeEventListener("keydown",M,{capture:!0}),document.removeEventListener("pointerdown",q,{capture:!0}),document.removeEventListener("pointermove",q,{capture:!0})}},[]),O.jsx(zw,{...m,children:O.jsx(kj,{scope:t,open:r,onOpenChange:S,content:b,onContentChange:E,children:O.jsx(eue,{scope:t,onClose:D.useCallback(()=>S(!1),[S]),isUsingKeyboardRef:C,dir:R,modal:h,children:l})})})};Uj.displayName=Iw;var tue="MenuAnchor",oO=D.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e,s=Hw(r);return O.jsx(Bw,{...s,...l,ref:t})});oO.displayName=tue;var iO="MenuPortal",[nue,Ij]=d0(iO,{forceMount:void 0}),Hj=e=>{const{__scopeMenu:t,forceMount:r,children:l,container:s}=e,c=Bg(iO,t);return O.jsx(nue,{scope:t,forceMount:r,children:O.jsx(Ts,{present:r||c.open,children:O.jsx(J1,{asChild:!0,container:s,children:l})})})};Hj.displayName=iO;var jc="MenuContent",[rue,uO]=d0(jc),Vj=D.forwardRef((e,t)=>{const r=Ij(jc,e.__scopeMenu),{forceMount:l=r.forceMount,...s}=e,c=Bg(jc,e.__scopeMenu),h=Vw(jc,e.__scopeMenu);return O.jsx(vw.Provider,{scope:e.__scopeMenu,children:O.jsx(Ts,{present:l||c.open,children:O.jsx(vw.Slot,{scope:e.__scopeMenu,children:h.modal?O.jsx(aue,{...s,ref:t}):O.jsx(lue,{...s,ref:t})})})})}),aue=D.forwardRef((e,t)=>{const r=Bg(jc,e.__scopeMenu),l=D.useRef(null),s=vn(t,l);return D.useEffect(()=>{const c=l.current;if(c)return ww(c)},[]),O.jsx(sO,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:gt(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),lue=D.forwardRef((e,t)=>{const r=Bg(jc,e.__scopeMenu);return O.jsx(sO,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),oue=Dj("MenuContent.ScrollLock"),sO=D.forwardRef((e,t)=>{const{__scopeMenu:r,loop:l=!1,trapFocus:s,onOpenAutoFocus:c,onCloseAutoFocus:h,disableOutsidePointerEvents:m,onEntryFocus:b,onEscapeKeyDown:E,onPointerDownOutside:C,onFocusOutside:S,onInteractOutside:R,onDismiss:M,disableOutsideScroll:q,...N}=e,L=Bg(jc,r),P=Vw(jc,r),U=Hw(r),I=Bj(r),Y=Wie(r),[V,F]=D.useState(null),K=D.useRef(null),Q=vn(t,K,L.onContentChange),he=D.useRef(0),de=D.useRef(""),W=D.useRef(0),se=D.useRef(null),le=D.useRef("right"),ae=D.useRef(0),xe=q?ex:D.Fragment,B=q?{as:oue,allowPinchZoom:!0}:void 0,Z=be=>{const re=de.current+be,oe=Y().filter(_e=>!_e.disabled),ue=document.activeElement,ce=oe.find(_e=>_e.ref.current===ue)?.textValue,De=oe.map(_e=>_e.textValue),je=yue(De,re,ce),Ke=oe.find(_e=>_e.textValue===je)?.ref.current;(function _e(Je){de.current=Je,window.clearTimeout(he.current),Je!==""&&(he.current=window.setTimeout(()=>_e(""),1e3))})(re),Ke&&setTimeout(()=>Ke.focus())};D.useEffect(()=>()=>window.clearTimeout(he.current),[]),f_();const te=D.useCallback(be=>le.current===se.current?.side&&xue(be,se.current?.area),[]);return O.jsx(rue,{scope:r,searchRef:de,onItemEnter:D.useCallback(be=>{te(be)&&be.preventDefault()},[te]),onItemLeave:D.useCallback(be=>{te(be)||(K.current?.focus(),F(null))},[te]),onTriggerLeave:D.useCallback(be=>{te(be)&&be.preventDefault()},[te]),pointerGraceTimerRef:W,onPointerGraceIntentChange:D.useCallback(be=>{se.current=be},[]),children:O.jsx(xe,{...B,children:O.jsx(Sw,{asChild:!0,trapped:s,onMountAutoFocus:gt(c,be=>{be.preventDefault(),K.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:h,children:O.jsx(W1,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:E,onPointerDownOutside:C,onFocusOutside:S,onInteractOutside:R,onDismiss:M,children:O.jsx(Kie,{asChild:!0,...I,dir:P.dir,orientation:"vertical",loop:l,currentTabStopId:V,onCurrentTabStopIdChange:F,onEntryFocus:gt(b,be=>{P.isUsingKeyboardRef.current||be.preventDefault()}),preventScrollOnEntryFocus:!0,children:O.jsx(O_,{role:"menu","aria-orientation":"vertical","data-state":iz(L.open),"data-radix-menu-content":"",dir:P.dir,...U,...N,ref:Q,style:{outline:"none",...N.style},onKeyDown:gt(N.onKeyDown,be=>{const oe=be.target.closest("[data-radix-menu-content]")===be.currentTarget,ue=be.ctrlKey||be.altKey||be.metaKey,ce=be.key.length===1;oe&&(be.key==="Tab"&&be.preventDefault(),!ue&&ce&&Z(be.key));const De=K.current;if(be.target!==De||!Xie.includes(be.key))return;be.preventDefault();const Ke=Y().filter(_e=>!_e.disabled).map(_e=>_e.ref.current);jj.includes(be.key)&&Ke.reverse(),vue(Ke)}),onBlur:gt(e.onBlur,be=>{be.currentTarget.contains(be.target)||(window.clearTimeout(he.current),de.current="")}),onPointerMove:gt(e.onPointerMove,gw(be=>{const re=be.target,oe=ae.current!==be.clientX;if(be.currentTarget.contains(re)&&oe){const ue=be.clientX>ae.current?"right":"left";le.current=ue,ae.current=be.clientX}}))})})})})})})});Vj.displayName=jc;var iue="MenuGroup",cO=D.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e;return O.jsx(kw.div,{role:"group",...l,ref:t})});cO.displayName=iue;var uue="MenuLabel",Fj=D.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e;return O.jsx(kw.div,{...l,ref:t})});Fj.displayName=uue;var JT="MenuItem",IP="menu.itemSelect",$_=D.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:l,...s}=e,c=D.useRef(null),h=Vw(JT,e.__scopeMenu),m=uO(JT,e.__scopeMenu),b=vn(t,c),E=D.useRef(!1),C=()=>{const S=c.current;if(!r&&S){const R=new CustomEvent(IP,{bubbles:!0,cancelable:!0});S.addEventListener(IP,M=>l?.(M),{once:!0}),Aie(S,R),R.defaultPrevented?E.current=!1:h.onClose()}};return O.jsx(Kj,{...s,ref:b,disabled:r,onClick:gt(e.onClick,C),onPointerDown:S=>{e.onPointerDown?.(S),E.current=!0},onPointerUp:gt(e.onPointerUp,S=>{E.current||S.currentTarget?.click()}),onKeyDown:gt(e.onKeyDown,S=>{const R=m.searchRef.current!=="";r||R&&S.key===" "||P2.includes(S.key)&&(S.currentTarget.click(),S.preventDefault())})})});$_.displayName=JT;var Kj=D.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:l=!1,textValue:s,...c}=e,h=uO(JT,r),m=Bj(r),b=D.useRef(null),E=vn(t,b),[C,S]=D.useState(!1),[R,M]=D.useState("");return D.useEffect(()=>{const q=b.current;q&&M((q.textContent??"").trim())},[c.children]),O.jsx(vw.ItemSlot,{scope:r,disabled:l,textValue:s??R,children:O.jsx(Gie,{asChild:!0,...m,focusable:!l,children:O.jsx(kw.div,{role:"menuitem","data-highlighted":C?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0,...c,ref:E,onPointerMove:gt(e.onPointerMove,gw(q=>{l?h.onItemLeave(q):(h.onItemEnter(q),q.defaultPrevented||q.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:gt(e.onPointerLeave,gw(q=>h.onItemLeave(q))),onFocus:gt(e.onFocus,()=>S(!0)),onBlur:gt(e.onBlur,()=>S(!1))})})})}),sue="MenuCheckboxItem",Gj=D.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:l,...s}=e;return O.jsx(Wj,{scope:e.__scopeMenu,checked:r,children:O.jsx($_,{role:"menuitemcheckbox","aria-checked":e_(r)?"mixed":r,...s,ref:t,"data-state":pO(r),onSelect:gt(s.onSelect,()=>l?.(e_(r)?!0:!r),{checkForDefaultPrevented:!1})})})});Gj.displayName=sue;var Yj="MenuRadioGroup",[cue,fue]=d0(Yj,{value:void 0,onValueChange:()=>{}}),Xj=D.forwardRef((e,t)=>{const{value:r,onValueChange:l,...s}=e,c=Yo(l);return O.jsx(cue,{scope:e.__scopeMenu,value:r,onValueChange:c,children:O.jsx(cO,{...s,ref:t})})});Xj.displayName=Yj;var Qj="MenuRadioItem",Zj=D.forwardRef((e,t)=>{const{value:r,...l}=e,s=fue(Qj,e.__scopeMenu),c=r===s.value;return O.jsx(Wj,{scope:e.__scopeMenu,checked:c,children:O.jsx($_,{role:"menuitemradio","aria-checked":c,...l,ref:t,"data-state":pO(c),onSelect:gt(l.onSelect,()=>s.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});Zj.displayName=Qj;var fO="MenuItemIndicator",[Wj,due]=d0(fO,{checked:!1}),Jj=D.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:l,...s}=e,c=due(fO,r);return O.jsx(Ts,{present:l||e_(c.checked)||c.checked===!0,children:O.jsx(kw.span,{...s,ref:t,"data-state":pO(c.checked)})})});Jj.displayName=fO;var pue="MenuSeparator",ez=D.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e;return O.jsx(kw.div,{role:"separator","aria-orientation":"horizontal",...l,ref:t})});ez.displayName=pue;var hue="MenuArrow",tz=D.forwardRef((e,t)=>{const{__scopeMenu:r,...l}=e,s=Hw(r);return O.jsx(N_,{...s,...l,ref:t})});tz.displayName=hue;var dO="MenuSub",[mue,nz]=d0(dO),rz=e=>{const{__scopeMenu:t,children:r,open:l=!1,onOpenChange:s}=e,c=Bg(dO,t),h=Hw(t),[m,b]=D.useState(null),[E,C]=D.useState(null),S=Yo(s);return D.useEffect(()=>(c.open===!1&&S(!1),()=>S(!1)),[c.open,S]),O.jsx(zw,{...h,children:O.jsx(kj,{scope:t,open:l,onOpenChange:S,content:E,onContentChange:C,children:O.jsx(mue,{scope:t,contentId:_a(),triggerId:_a(),trigger:m,onTriggerChange:b,children:r})})})};rz.displayName=dO;var ew="MenuSubTrigger",az=D.forwardRef((e,t)=>{const r=Bg(ew,e.__scopeMenu),l=Vw(ew,e.__scopeMenu),s=nz(ew,e.__scopeMenu),c=uO(ew,e.__scopeMenu),h=D.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:b}=c,E={__scopeMenu:e.__scopeMenu},C=D.useCallback(()=>{h.current&&window.clearTimeout(h.current),h.current=null},[]);return D.useEffect(()=>C,[C]),D.useEffect(()=>{const S=m.current;return()=>{window.clearTimeout(S),b(null)}},[m,b]),O.jsx(oO,{asChild:!0,...E,children:O.jsx(Kj,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":s.contentId,"data-state":iz(r.open),...e,ref:Fr(t,s.onTriggerChange),onClick:S=>{e.onClick?.(S),!(e.disabled||S.defaultPrevented)&&(S.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:gt(e.onPointerMove,gw(S=>{c.onItemEnter(S),!S.defaultPrevented&&!e.disabled&&!r.open&&!h.current&&(c.onPointerGraceIntentChange(null),h.current=window.setTimeout(()=>{r.onOpenChange(!0),C()},100))})),onPointerLeave:gt(e.onPointerLeave,gw(S=>{C();const R=r.content?.getBoundingClientRect();if(R){const M=r.content?.dataset.side,q=M==="right",N=q?-5:5,L=R[q?"left":"right"],P=R[q?"right":"left"];c.onPointerGraceIntentChange({area:[{x:S.clientX+N,y:S.clientY},{x:L,y:R.top},{x:P,y:R.top},{x:P,y:R.bottom},{x:L,y:R.bottom}],side:M}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(S),S.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:gt(e.onKeyDown,S=>{const R=c.searchRef.current!=="";e.disabled||R&&S.key===" "||Qie[l.dir].includes(S.key)&&(r.onOpenChange(!0),r.content?.focus(),S.preventDefault())})})})});az.displayName=ew;var lz="MenuSubContent",oz=D.forwardRef((e,t)=>{const r=Ij(jc,e.__scopeMenu),{forceMount:l=r.forceMount,...s}=e,c=Bg(jc,e.__scopeMenu),h=Vw(jc,e.__scopeMenu),m=nz(lz,e.__scopeMenu),b=D.useRef(null),E=vn(t,b);return O.jsx(vw.Provider,{scope:e.__scopeMenu,children:O.jsx(Ts,{present:l||c.open,children:O.jsx(vw.Slot,{scope:e.__scopeMenu,children:O.jsx(sO,{id:m.contentId,"aria-labelledby":m.triggerId,...s,ref:E,align:"start",side:h.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:C=>{h.isUsingKeyboardRef.current&&b.current?.focus(),C.preventDefault()},onCloseAutoFocus:C=>C.preventDefault(),onFocusOutside:gt(e.onFocusOutside,C=>{C.target!==m.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:gt(e.onEscapeKeyDown,C=>{h.onClose(),C.preventDefault()}),onKeyDown:gt(e.onKeyDown,C=>{const S=C.currentTarget.contains(C.target),R=Zie[h.dir].includes(C.key);S&&R&&(c.onOpenChange(!1),m.trigger?.focus(),C.preventDefault())})})})})})});oz.displayName=lz;function iz(e){return e?"open":"closed"}function e_(e){return e==="indeterminate"}function pO(e){return e_(e)?"indeterminate":e?"checked":"unchecked"}function vue(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function gue(e,t){return e.map((r,l)=>e[(t+l)%e.length])}function yue(e,t,r){const s=t.length>1&&Array.from(t).every(E=>E===t[0])?t[0]:t,c=r?e.indexOf(r):-1;let h=gue(e,Math.max(c,0));s.length===1&&(h=h.filter(E=>E!==r));const b=h.find(E=>E.toLowerCase().startsWith(s.toLowerCase()));return b!==r?b:void 0}function bue(e,t){const{x:r,y:l}=e;let s=!1;for(let c=0,h=t.length-1;c<t.length;h=c++){const m=t[c],b=t[h],E=m.x,C=m.y,S=b.x,R=b.y;C>l!=R>l&&r<(S-E)*(l-C)/(R-C)+E&&(s=!s)}return s}function xue(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return bue(r,t)}function gw(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Eue=Uj,Sue=oO,Cue=Hj,wue=Vj,Rue=cO,Tue=Fj,_ue=$_,Aue=Gj,Due=Xj,Mue=Zj,Oue=Jj,Nue=ez,$ue=tz,Pue=rz,que=az,Lue=oz,P_="DropdownMenu",[jue]=xp(P_,[zj]),vi=zj(),[zue,uz]=jue(P_),sz=e=>{const{__scopeDropdownMenu:t,children:r,dir:l,open:s,defaultOpen:c,onOpenChange:h,modal:m=!0}=e,b=vi(t),E=D.useRef(null),[C,S]=br({prop:s,defaultProp:c??!1,onChange:h,caller:P_});return O.jsx(zue,{scope:t,triggerId:_a(),triggerRef:E,contentId:_a(),open:C,onOpenChange:S,onOpenToggle:D.useCallback(()=>S(R=>!R),[S]),modal:m,children:O.jsx(Eue,{...b,open:C,onOpenChange:S,dir:l,modal:m,children:r})})};sz.displayName=P_;var cz="DropdownMenuTrigger",fz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:l=!1,...s}=e,c=uz(cz,r),h=vi(r);return O.jsx(Sue,{asChild:!0,...h,children:O.jsx(Yle.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,...s,ref:Fr(t,c.triggerRef),onPointerDown:gt(e.onPointerDown,m=>{!l&&m.button===0&&m.ctrlKey===!1&&(c.onOpenToggle(),c.open||m.preventDefault())}),onKeyDown:gt(e.onKeyDown,m=>{l||(["Enter"," "].includes(m.key)&&c.onOpenToggle(),m.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(m.key)&&m.preventDefault())})})})});fz.displayName=cz;var Bue="DropdownMenuPortal",dz=e=>{const{__scopeDropdownMenu:t,...r}=e,l=vi(t);return O.jsx(Cue,{...l,...r})};dz.displayName=Bue;var pz="DropdownMenuContent",hz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=uz(pz,r),c=vi(r),h=D.useRef(!1);return O.jsx(wue,{id:s.contentId,"aria-labelledby":s.triggerId,...c,...l,ref:t,onCloseAutoFocus:gt(e.onCloseAutoFocus,m=>{h.current||s.triggerRef.current?.focus(),h.current=!1,m.preventDefault()}),onInteractOutside:gt(e.onInteractOutside,m=>{const b=m.detail.originalEvent,E=b.button===0&&b.ctrlKey===!0,C=b.button===2||E;(!s.modal||C)&&(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)"}})});hz.displayName=pz;var kue="DropdownMenuGroup",mz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Rue,{...s,...l,ref:t})});mz.displayName=kue;var Uue="DropdownMenuLabel",vz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Tue,{...s,...l,ref:t})});vz.displayName=Uue;var Iue="DropdownMenuItem",gz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(_ue,{...s,...l,ref:t})});gz.displayName=Iue;var Hue="DropdownMenuCheckboxItem",yz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Aue,{...s,...l,ref:t})});yz.displayName=Hue;var Vue="DropdownMenuRadioGroup",bz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Due,{...s,...l,ref:t})});bz.displayName=Vue;var Fue="DropdownMenuRadioItem",xz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Mue,{...s,...l,ref:t})});xz.displayName=Fue;var Kue="DropdownMenuItemIndicator",Ez=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Oue,{...s,...l,ref:t})});Ez.displayName=Kue;var Gue="DropdownMenuSeparator",Sz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Nue,{...s,...l,ref:t})});Sz.displayName=Gue;var Yue="DropdownMenuArrow",Xue=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx($ue,{...s,...l,ref:t})});Xue.displayName=Yue;var Que=e=>{const{__scopeDropdownMenu:t,children:r,open:l,onOpenChange:s,defaultOpen:c}=e,h=vi(t),[m,b]=br({prop:l,defaultProp:c??!1,onChange:s,caller:"DropdownMenuSub"});return O.jsx(Pue,{...h,open:m,onOpenChange:b,children:r})},Zue="DropdownMenuSubTrigger",Cz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(que,{...s,...l,ref:t})});Cz.displayName=Zue;var Wue="DropdownMenuSubContent",wz=D.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...l}=e,s=vi(r);return O.jsx(Lue,{...s,...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)"}})});wz.displayName=Wue;var Jue=sz,ese=fz,Rz=dz,tse=hz,nse=mz,rse=vz,ase=gz,lse=yz,ose=bz,ise=xz,Tz=Ez,use=Sz,sse=Que,cse=Cz,fse=wz;const _z=e=>O.jsx(Jue,{"data-slot":"menu",...e}),Az=e=>O.jsx(ese,{"data-slot":"menu-trigger",...e}),dse=e=>O.jsx(nse,{"data-slot":"menu-group",...e}),pse=e=>O.jsx(Rz,{"data-slot":"menu-portal",...e}),Dz=e=>O.jsx(sse,{"data-slot":"menu-sub",...e}),hse=e=>O.jsx(ose,{"data-slot":"menu-radio-group",...e}),Mz=({className:e,inset:t,children:r,...l})=>O.jsxs(cse,{"data-slot":"menu-sub-trigger",className:Fe("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,O.jsx(Rw,{className:"ml-auto h-4 w-4"})]}),Oz=({className:e,...t})=>O.jsx(fse,{"data-slot":"menu-sub-content",className:Fe("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}),Nz=({className:e,sideOffset:t=4,...r})=>O.jsx(Rz,{"data-slot":"menu-portal",children:O.jsx(tse,{"data-slot":"menu-content",sideOffset:t,className:Fe("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})}),$z=({className:e,inset:t,...r})=>O.jsx(ase,{"data-slot":"menu-item",className:Fe("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}),Pz=({className:e,children:t,checked:r,...l})=>O.jsxs(lse,{"data-slot":"menu-checkbox-item",className:Fe("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:[O.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:O.jsx(Tz,{children:O.jsx($T,{className:"h-4 w-4"})})}),t]}),qz=({className:e,children:t,...r})=>O.jsxs(ise,{"data-slot":"menu-radio-item",className:Fe("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:[O.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:O.jsx(Tz,{children:O.jsx(iK,{className:"h-2 w-2 fill-current"})})}),t]}),Lz=({className:e,inset:t,...r})=>O.jsx(rse,{"data-slot":"menu-label",className:Fe("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...r}),jz=({className:e,...t})=>O.jsx(use,{"data-slot":"menu-separator",className:Fe("-mx-1 my-1 h-px bg-muted",e),...t}),zz=({className:e,keys:t,handler:r,options:l={},...s})=>(nj(t,r,l),O.jsx("span",{"data-slot":"menu-shortcut",className:Fe("ml-auto text-xs tracking-widest opacity-60",e),...s})),Bz=(e,t)=>{switch(e.type){case"item":return O.jsxs($z,{...e,children:[e.label," ",t]});case"checkbox":return O.jsxs(Pz,{...e,children:[e.label," ",t]});case"radio":return O.jsxs(qz,{...e,children:[e.label," ",t]});case"label":return O.jsxs(Lz,{...e,children:[e.label," "]});case"separator":return O.jsx(jz,{...e});case"submenu":return O.jsxs(Dz,{children:[O.jsx(Mz,{...e,children:e.label}),O.jsx(Oz,{children:e.items?.map((r,l)=>O.jsx(k.Fragment,{children:Bz(r)},l))})]});default:return null}},mse=({trigger:e,items:t,contentProps:r,side:l="bottom",offset:s})=>O.jsxs(_z,{children:[O.jsx(Az,{asChild:!0,children:e}),O.jsx(Nz,{side:l,sideOffset:s,...r,children:t.map(({shortcut:c,onShortcut:h,shortcutOptions:m,...b},E)=>O.jsx(k.Fragment,{children:Bz(b,c&&O.jsx(zz,{keys:c,handler:C=>h?.(C),options:m,children:c}))},E))})]}),kz=$m("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"}}),q2=({className:e,color:t,variant:r,rounded:l,icon:s,closable:c,onClose:h,children:m,...b})=>{const E=!!t&&(r==="outline"||r==="borderless"),C=!!t&&!r;return O.jsxs("div",{"data-slot":"tag",className:Fe(kz({variant:r,rounded:l}),E&&"bg-white",C&&" text-white",!!s&&"pl-1.5",!!c&&"pr-1.5",e),style:{...E&&{color:t,borderColor:t},...C&&{borderColor:t,backgroundColor:t}},...b,children:[s,m,c&&O.jsx("button",{type:"button","data-slot":"tag-close",className:"z-10 h-4 w-4 cursor-pointer",onClick:S=>{S.stopPropagation(),h()},children:O.jsx(h_,{"data-slot":"tag-close-icon"})}),O.jsx("span",{"data-slot":"tag-overlay",className:"w-full h-full absolute top-0 left-0",style:{...E&&{opacity:.13,backgroundColor:t}}})]})};function Uz(e){const t=vse(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(yse);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function vse(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=xse(s),m=bse(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var gse=Symbol("radix.slottable");function yse(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===gse}function bse(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function xse(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 Ese=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Iz=Ese.reduce((e,t)=>{const r=Uz(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),q_="Popover",[Hz]=xp(q_,[zg]),Fw=zg(),[Sse,kg]=Hz(q_),Vz=e=>{const{__scopePopover:t,children:r,open:l,defaultOpen:s,onOpenChange:c,modal:h=!1}=e,m=Fw(t),b=D.useRef(null),[E,C]=D.useState(!1),[S,R]=br({prop:l,defaultProp:s??!1,onChange:c,caller:q_});return O.jsx(zw,{...m,children:O.jsx(Sse,{scope:t,contentId:_a(),triggerRef:b,open:S,onOpenChange:R,onOpenToggle:D.useCallback(()=>R(M=>!M),[R]),hasCustomAnchor:E,onCustomAnchorAdd:D.useCallback(()=>C(!0),[]),onCustomAnchorRemove:D.useCallback(()=>C(!1),[]),modal:h,children:r})})};Vz.displayName=q_;var Fz="PopoverAnchor",Cse=D.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,s=kg(Fz,r),c=Fw(r),{onCustomAnchorAdd:h,onCustomAnchorRemove:m}=s;return D.useEffect(()=>(h(),()=>m()),[h,m]),O.jsx(Bw,{...c,...l,ref:t})});Cse.displayName=Fz;var Kz="PopoverTrigger",Gz=D.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,s=kg(Kz,r),c=Fw(r),h=vn(t,s.triggerRef),m=O.jsx(Iz.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Wz(s.open),...l,ref:h,onClick:gt(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?m:O.jsx(Bw,{asChild:!0,...c,children:m})});Gz.displayName=Kz;var hO="PopoverPortal",[wse,Rse]=Hz(hO,{forceMount:void 0}),Yz=e=>{const{__scopePopover:t,forceMount:r,children:l,container:s}=e,c=kg(hO,t);return O.jsx(wse,{scope:t,forceMount:r,children:O.jsx(Ts,{present:r||c.open,children:O.jsx(J1,{asChild:!0,container:s,children:l})})})};Yz.displayName=hO;var G1="PopoverContent",Xz=D.forwardRef((e,t)=>{const r=Rse(G1,e.__scopePopover),{forceMount:l=r.forceMount,...s}=e,c=kg(G1,e.__scopePopover);return O.jsx(Ts,{present:l||c.open,children:c.modal?O.jsx(_se,{...s,ref:t}):O.jsx(Ase,{...s,ref:t})})});Xz.displayName=G1;var Tse=Uz("PopoverContent.RemoveScroll"),_se=D.forwardRef((e,t)=>{const r=kg(G1,e.__scopePopover),l=D.useRef(null),s=vn(t,l),c=D.useRef(!1);return D.useEffect(()=>{const h=l.current;if(h)return ww(h)},[]),O.jsx(ex,{as:Tse,allowPinchZoom:!0,children:O.jsx(Qz,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:gt(e.onCloseAutoFocus,h=>{h.preventDefault(),c.current||r.triggerRef.current?.focus()}),onPointerDownOutside:gt(e.onPointerDownOutside,h=>{const m=h.detail.originalEvent,b=m.button===0&&m.ctrlKey===!0,E=m.button===2||b;c.current=E},{checkForDefaultPrevented:!1}),onFocusOutside:gt(e.onFocusOutside,h=>h.preventDefault(),{checkForDefaultPrevented:!1})})})}),Ase=D.forwardRef((e,t)=>{const r=kg(G1,e.__scopePopover),l=D.useRef(!1),s=D.useRef(!1);return O.jsx(Qz,{...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,s.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(l.current=!0,c.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const h=c.target;r.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.current&&c.preventDefault()}})}),Qz=D.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:h,onEscapeKeyDown:m,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:C,...S}=e,R=kg(G1,r),M=Fw(r);return f_(),O.jsx(Sw,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:s,onUnmountAutoFocus:c,children:O.jsx(W1,{asChild:!0,disableOutsidePointerEvents:h,onInteractOutside:C,onEscapeKeyDown:m,onPointerDownOutside:b,onFocusOutside:E,onDismiss:()=>R.onOpenChange(!1),children:O.jsx(O_,{"data-state":Wz(R.open),role:"dialog",id:R.contentId,...M,...S,ref:t,style:{...S.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)"}})})})}),Zz="PopoverClose",Dse=D.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,s=kg(Zz,r);return O.jsx(Iz.button,{type:"button",...l,ref:t,onClick:gt(e.onClick,()=>s.onOpenChange(!1))})});Dse.displayName=Zz;var Mse="PopoverArrow",Ose=D.forwardRef((e,t)=>{const{__scopePopover:r,...l}=e,s=Fw(r);return O.jsx(N_,{...s,...l,ref:t})});Ose.displayName=Mse;function Wz(e){return e?"open":"closed"}var Nse=Vz,$se=Gz,Pse=Yz,qse=Xz;const Kw=e=>O.jsx(Nse,{"data-slot":"popover",...e}),Gw=e=>O.jsx($se,{"data-slot":"popover-trigger",...e}),Yw=({className:e,align:t="center",sideOffset:r=4,matchTriggerWidth:l=!1,style:s,focus:c=!0,...h})=>O.jsx(Pse,{children:O.jsx(qse,{"data-slot":"popover-content",align:t,sideOffset:r,onOpenAutoFocus:m=>{!c&&m.preventDefault(),h?.onOpenAutoFocus?.(m)},className:Fe("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:{...s,...l&&{width:"var(--radix-popper-anchor-width)"}},...h})}),Lse=e=>{const{trigger:t,children:r,rootProps:l,triggerProps:s,contentProps:c,triggerAsChild:h=!0,matchTriggerWidth:m,triggerClassName:b,contentClassName:E,side:C="bottom",offset:S}=Tw("Popover",e,{triggerAsChild:!0,side:"bottom"});return O.jsxs(Kw,{...l,children:[O.jsx(Gw,{asChild:h,className:b,...s,children:t}),O.jsx(Yw,{className:E,matchTriggerWidth:m,side:C,sideOffset:S,...c,children:r})]})},HP=$m("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"}}),jse=({valueKey:e,values:t,setValues:r,items:l,maxCount:s,setIsPopoverOpen:c})=>{const h=R=>{if(R.key==="Enter")c(!0);else if(R.key==="Backspace"&&!R.currentTarget.value){const M=[...t];M.pop(),r?.(M)}},m=R=>{const M=t.includes(R)?t.filter(q=>q!==R):[...t,R];r?.(M)},b=()=>{r?.([])};return{handleInputKeyDown:h,toggleOption:m,handleClear:b,handleTogglePopover:()=>{c(R=>!R)},clearExtraOptions:()=>{const R=t.slice(0,s);r?.(R)},toggleAll:()=>{const R=l.filter(M=>!M.disabled);if(t.length===R.length)b();else{const M=R.map(q=>q[e]);r?.(M)}}}},zse=({items:e=[],value:t,valueKey:r="value",labelKey:l="label",onChange:s,variant:c,defaultValue:h=[],placeholder:m="Seleccionar",maxCount:b=3,className:E,renderOption:C=L=>L[l],withCheckbox:S=!1,showSearch:R=!0,showSelectAll:M=!0,rootProps:q,...N})=>{const[L=[],P]=br({prop:t,onChange:s,defaultProp:h}),[U,I]=br({prop:N.open,onChange:N.onOpenChange,defaultProp:N.defaultOpen||!1}),Y=D.useMemo(()=>e.filter(W=>!W.disabled),[e]),{handleInputKeyDown:V,toggleOption:F,handleClear:K,handleTogglePopover:Q,clearExtraOptions:he,toggleAll:de}=jse({valueKey:r,values:L,setValues:P,items:e,maxCount:b,setIsPopoverOpen:I});return O.jsxs(Kw,{open:U,onOpenChange:I,"data-slot":"multi-select",...q,children:[O.jsx(Gw,{asChild:!0,"data-slot":"multi-select-trigger",children:O.jsx(hi,{...N,onClick:Q,className:Fe("flex w-full p-1 rounded-md border border-input min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit",E),children:L.length>0?O.jsxs("div",{className:"flex justify-between items-center w-full",children:[O.jsxs("div",{className:"flex flex-wrap items-center","data-slot":"multi-select-tags",children:[L.slice(0,b).map(W=>{const se=e.find(ae=>ae[r]===W),le=se?.icon;return O.jsxs(q2,{"data-slot":"multi-select-tag",className:Fe(HP({variant:c})),closable:!0,onClose:()=>F(W),children:[le&&O.jsx(le,{className:"h-4 w-4 mr-2"}),se&&C?.(se)]},W)}),L.length>b&&O.jsx(q2,{"data-slot":"multi-select-tag",className:Fe(HP({variant:c})),closable:!0,onClose:he,children:`+ ${L.length-b} más`})]}),O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx(h_,{"data-slot":"multi-select-clear",className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:W=>{W.stopPropagation(),K()}}),O.jsx(CL,{"data-slot":"multi-select-divider",orientation:"vertical",className:"flex min-h-6 h-full"}),O.jsx(PT,{"data-slot":"multi-select-trigger-icon",className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):O.jsxs("div",{className:"flex items-center justify-between w-full mx-auto","data-slot":"multi-select-trigger-empty",children:[O.jsx("span",{className:"text-sm text-foreground font-normal mx-2","data-slot":"multi-select-placeholder",children:m}),O.jsx(PT,{"data-slot":"multi-select-trigger-icon",className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})})}),O.jsx(Yw,{"data-slot":"multi-select-content",className:"p-0",matchTriggerWidth:!0,align:"start",asChild:!0,onEscapeKeyDown:()=>I(!1),children:O.jsxs(Dw,{children:[R&&O.jsx(x_,{"data-slot":"multi-select-input",placeholder:"Buscar...",onKeyDown:V}),O.jsxs(E_,{"data-slot":"multi-select-list",children:[O.jsx(S_,{"data-slot":"multi-select-empty",children:"No results found."}),O.jsxs(b8,{"data-slot":"multi-select-group",children:[M&&O.jsxs(sw,{"data-slot":"multi-select-item",onSelect:de,className:Fe("cursor-pointer",!S&&L.length===Y.length&&"bg-accent text-accent-foreground"),children:[S&&O.jsx("div",{className:Fe("mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",L.length===Y.length?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:O.jsx($T,{className:"h-4 w-4"})}),O.jsx("span",{children:"(Seleccionar todo)"})]},"all"),e.map(W=>{const se=L.includes(W[r]);return O.jsxs(sw,{"data-slot":"multi-select-item",onSelect:()=>!W.disabled&&F(W[r]),className:Fe(W.disabled?"!bg-neutral-50 !text-neutral-400":"cursor-pointer",!S&&se&&"!bg-accent !text-accent-foreground"),children:[S&&O.jsx("div",{className:Fe("mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",se?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:O.jsx($T,{className:"h-4 w-4"})}),W.icon&&O.jsx(W.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),O.jsx("span",{children:C?.(W)})]},W[r])})]})]})]})})]})},Bse=({value:e,onChange:t,defaultValue:r,className:l,min:s,max:c,...h})=>{const[m,b]=br({prop:e,onChange:t,defaultProp:r}),E=m??s??0,C=q=>{const N=parseInt(q.target.value,10);b(N)},S=()=>{if(sr.isUndefined(m)&&sr.isNumber(s))return b(s??0);const q=E+1;(sr.isUndefined(c)||q<=c)&&b(q)},R=()=>{if(sr.isUndefined(m)&&sr.isNumber(c))return b(c??0);const q=E-1;(sr.isUndefined(s)||q>=s)&&b(q)},M=()=>{const q=sr.isNumber(s)&&E<s,N=sr.isNumber(c)&&E>c;q?b(s):N&&b(c)};return O.jsxs("div",{className:"relative w-full","data-slot":"number-input-container",children:[O.jsx("input",{...h,type:"number",value:m,onChange:C,onBlur:M,min:s,max:c,className:Fe("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"}),O.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:[O.jsx(hi,{variant:"ghost",size:"icon",onClick:S,className:"h-4 w-4 grow rounded-sm","data-testid":"increment-trigger","data-slot":"number-input-increment",children:O.jsx(q7,{"data-slot":"number-input-increment-icon"})}),O.jsx(hi,{variant:"ghost",size:"icon",onClick:R,className:"h-4 w-4 grow rounded-sm","data-testid":"decrement-trigger","data-slot":"number-input-decrement",children:O.jsx(P7,{"data-slot":"number-input-decrement-icon"})})]})]})},O1=({isActive:e=!1,...t})=>O.jsx("button",{...t,"data-slot":"pagination-option","data-active":e,"data-dots":t.children===Dg,className:Fe("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)}),kse=({optionProps:e,className:t,containerProps:r,...l})=>{const{paginationRange:s,currentPage:c,goTo:h,maxPage:m,next:b,prev:E,isLastPage:C,isFirstPage:S}=rj(l);return O.jsxs("div",{...r,className:Fe("flex items-end select-none h-10",r?.className,t),"data-slot":"pagination",children:[O.jsxs(O1,{...e,disabled:S,onClick:()=>h(1),className:Fe("rounded-l-md",e?.className),children:[O.jsx(QF,{"data-slot":"pagination-option-icon"}),O.jsx("span",{className:"sr-only",children:"Ir a primera página"})]}),O.jsxs(O1,{...e,onClick:E,disabled:S,children:[O.jsx(fM,{"data-slot":"pagination-option-icon"}),O.jsx("span",{className:"sr-only",children:"Ir a página anterior"})]}),s.map(R=>O.jsx(O.Fragment,{children:R===Dg?O.jsx(O1,{className:Fe("pointer-events-none",e?.className),children:Dg},R):k.createElement(O1,{...e,isActive:R===c,onClick:()=>h(R),key:R},R,O.jsxs("span",{className:"sr-only",children:["Ir a la página ",R]}))})),O.jsxs(O1,{...e,onClick:b,disabled:C,children:[O.jsx(Rw,{"data-slot":"pagination-option-icon"}),O.jsx("span",{className:"sr-only",children:"Ir a próxima página"})]}),O.jsxs(O1,{...e,disabled:C,onClick:()=>h(m),className:Fe("rounded-r-md",e?.className),children:[O.jsx(WF,{"data-slot":"pagination-option-icon"}),O.jsx("span",{className:"sr-only",children:"Ir a última página"})]})]})},Use=({className:e,containerClassName:t,showIcon:r=O.jsx(pK,{className:"h-4 w-4"}),hideIcon:l=O.jsx(fK,{className:"h-4 w-4"}),onShow:s,onHide:c,toggleable:h=!0,...m})=>{const[b,E]=aj(!1),C=()=>{E(),b?c?.():s?.()};return O.jsxs("div",{className:Fe("relative",t),"data-slot":"password",children:[O.jsx(ej,{...m,type:b?"text":"password",className:Fe("pr-10","[&::-ms-reveal]:hidden [&::-ms-clear]:hidden",e)}),O.jsx("button",{"data-slot":"password-toggle",type:"button",onClick:C,disabled:!h,className:Fe("absolute right-3 top-1/2 -translate-y-1/2 text-gray-500",h?"hover:text-gray-700":"opacity-50 cursor-not-allowed"),children:b?l:r})]})},Ise=({items:e=[],valueKey:t="value",labelKey:r="label",value:l,onChange:s,defaultValue:c,renderOption:h=N=>N?.[r],triggerProps:m,contentClassName:b,contentProps:E,itemClassName:C,itemProps:S,className:R,placeholder:M="Seleccionar",...q})=>{const[N,L]=br({prop:l,onChange:P=>{if(!s)return;const U=e.find(I=>I[t]===P);s?.(P,U)},defaultProp:c});return O.jsxs(MB,{...q,onValueChange:L,value:N,children:[O.jsx($B,{className:R,...m,children:O.jsx(NB,{placeholder:M})}),O.jsx(LB,{className:b,...E,children:O.jsx(OB,{children:e.map((P,U)=>k.createElement(zB,{...S,className:C,key:U,disabled:P?.disabled,value:P[t]},h?.(P)))})})]})};function VP(e,[t,r]){return Math.min(r,Math.max(t,e))}function Jz(e){const t=Hse(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(Fse);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Hse(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=Gse(s),m=Kse(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vse=Symbol("radix.slottable");function Fse(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vse}function Kse(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function Gse(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 Yse=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_s=Yse.reduce((e,t)=>{const r=Jz(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function Xse(e){const t=D.useRef({value:e,previous:e});return D.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Qse(e){const t=Zse(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(Jse);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function Zse(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=tce(s),m=ece(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Wse=Symbol("radix.slottable");function Jse(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Wse}function ece(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function tce(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 nce=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rce=nce.reduce((e,t)=>{const r=Qse(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),eB=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"}),ace="VisuallyHidden",tB=D.forwardRef((e,t)=>O.jsx(rce.span,{...e,ref:t,style:{...eB,...e.style}}));tB.displayName=ace;var lce=tB,oce=[" ","Enter","ArrowUp","ArrowDown"],ice=[" ","Enter"],a0="Select",[L_,j_,uce]=XM(a0),[lx]=xp(a0,[uce,zg]),z_=zg(),[sce,Ug]=lx(a0),[cce,fce]=lx(a0),nB=e=>{const{__scopeSelect:t,children:r,open:l,defaultOpen:s,onOpenChange:c,value:h,defaultValue:m,onValueChange:b,dir:E,name:C,autoComplete:S,disabled:R,required:M,form:q}=e,N=z_(t),[L,P]=D.useState(null),[U,I]=D.useState(null),[Y,V]=D.useState(!1),F=QM(E),[K,Q]=br({prop:l,defaultProp:s??!1,onChange:c,caller:a0}),[he,de]=br({prop:h,defaultProp:m,onChange:b,caller:a0}),W=D.useRef(null),se=L?q||!!L.closest("form"):!0,[le,ae]=D.useState(new Set),xe=Array.from(le).map(B=>B.props.value).join(";");return O.jsx(zw,{...N,children:O.jsxs(sce,{required:M,scope:t,trigger:L,onTriggerChange:P,valueNode:U,onValueNodeChange:I,valueNodeHasChildren:Y,onValueNodeHasChildrenChange:V,contentId:_a(),value:he,onValueChange:de,open:K,onOpenChange:Q,dir:F,triggerPointerDownPosRef:W,disabled:R,children:[O.jsx(L_.Provider,{scope:t,children:O.jsx(cce,{scope:e.__scopeSelect,onNativeOptionAdd:D.useCallback(B=>{ae(Z=>new Set(Z).add(B))},[]),onNativeOptionRemove:D.useCallback(B=>{ae(Z=>{const te=new Set(Z);return te.delete(B),te})},[]),children:r})}),se?O.jsxs(TB,{"aria-hidden":!0,required:M,tabIndex:-1,name:C,autoComplete:S,value:he,onChange:B=>de(B.target.value),disabled:R,form:q,children:[he===void 0?O.jsx("option",{value:""}):null,Array.from(le)]},xe):null]})})};nB.displayName=a0;var rB="SelectTrigger",aB=D.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:l=!1,...s}=e,c=z_(r),h=Ug(rB,r),m=h.disabled||l,b=vn(t,h.onTriggerChange),E=j_(r),C=D.useRef("touch"),[S,R,M]=AB(N=>{const L=E().filter(I=>!I.disabled),P=L.find(I=>I.value===h.value),U=DB(L,N,P);U!==void 0&&h.onValueChange(U.value)}),q=N=>{m||(h.onOpenChange(!0),M()),N&&(h.triggerPointerDownPosRef.current={x:Math.round(N.pageX),y:Math.round(N.pageY)})};return O.jsx(Bw,{asChild:!0,...c,children:O.jsx(_s.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":_B(h.value)?"":void 0,...s,ref:b,onClick:gt(s.onClick,N=>{N.currentTarget.focus(),C.current!=="mouse"&&q(N)}),onPointerDown:gt(s.onPointerDown,N=>{C.current=N.pointerType;const L=N.target;L.hasPointerCapture(N.pointerId)&&L.releasePointerCapture(N.pointerId),N.button===0&&N.ctrlKey===!1&&N.pointerType==="mouse"&&(q(N),N.preventDefault())}),onKeyDown:gt(s.onKeyDown,N=>{const L=S.current!=="";!(N.ctrlKey||N.altKey||N.metaKey)&&N.key.length===1&&R(N.key),!(L&&N.key===" ")&&oce.includes(N.key)&&(q(),N.preventDefault())})})})});aB.displayName=rB;var lB="SelectValue",oB=D.forwardRef((e,t)=>{const{__scopeSelect:r,className:l,style:s,children:c,placeholder:h="",...m}=e,b=Ug(lB,r),{onValueNodeHasChildrenChange:E}=b,C=c!==void 0,S=vn(t,b.onValueNodeChange);return Vl(()=>{E(C)},[E,C]),O.jsx(_s.span,{...m,ref:S,style:{pointerEvents:"none"},children:_B(b.value)?O.jsx(O.Fragment,{children:h}):c})});oB.displayName=lB;var dce="SelectIcon",iB=D.forwardRef((e,t)=>{const{__scopeSelect:r,children:l,...s}=e;return O.jsx(_s.span,{"aria-hidden":!0,...s,ref:t,children:l||"▼"})});iB.displayName=dce;var pce="SelectPortal",uB=e=>O.jsx(J1,{asChild:!0,...e});uB.displayName=pce;var l0="SelectContent",sB=D.forwardRef((e,t)=>{const r=Ug(l0,e.__scopeSelect),[l,s]=D.useState();if(Vl(()=>{s(new DocumentFragment)},[]),!r.open){const c=l;return c?X1.createPortal(O.jsx(cB,{scope:e.__scopeSelect,children:O.jsx(L_.Slot,{scope:e.__scopeSelect,children:O.jsx("div",{children:e.children})})}),c):null}return O.jsx(fB,{...e,ref:t})});sB.displayName=l0;var Gf=10,[cB,Ig]=lx(l0),hce="SelectContentImpl",mce=Jz("SelectContent.RemoveScroll"),fB=D.forwardRef((e,t)=>{const{__scopeSelect:r,position:l="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:c,onPointerDownOutside:h,side:m,sideOffset:b,align:E,alignOffset:C,arrowPadding:S,collisionBoundary:R,collisionPadding:M,sticky:q,hideWhenDetached:N,avoidCollisions:L,...P}=e,U=Ug(l0,r),[I,Y]=D.useState(null),[V,F]=D.useState(null),K=vn(t,_e=>Y(_e)),[Q,he]=D.useState(null),[de,W]=D.useState(null),se=j_(r),[le,ae]=D.useState(!1),xe=D.useRef(!1);D.useEffect(()=>{if(I)return ww(I)},[I]),f_();const B=D.useCallback(_e=>{const[Je,...ie]=se().map(Ae=>Ae.ref.current),[ke]=ie.slice(-1),Ee=document.activeElement;for(const Ae of _e)if(Ae===Ee||(Ae?.scrollIntoView({block:"nearest"}),Ae===Je&&V&&(V.scrollTop=0),Ae===ke&&V&&(V.scrollTop=V.scrollHeight),Ae?.focus(),document.activeElement!==Ee))return},[se,V]),Z=D.useCallback(()=>B([Q,I]),[B,Q,I]);D.useEffect(()=>{le&&Z()},[le,Z]);const{onOpenChange:te,triggerPointerDownPosRef:be}=U;D.useEffect(()=>{if(I){let _e={x:0,y:0};const Je=ke=>{_e={x:Math.abs(Math.round(ke.pageX)-(be.current?.x??0)),y:Math.abs(Math.round(ke.pageY)-(be.current?.y??0))}},ie=ke=>{_e.x<=10&&_e.y<=10?ke.preventDefault():I.contains(ke.target)||te(!1),document.removeEventListener("pointermove",Je),be.current=null};return be.current!==null&&(document.addEventListener("pointermove",Je),document.addEventListener("pointerup",ie,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Je),document.removeEventListener("pointerup",ie,{capture:!0})}}},[I,te,be]),D.useEffect(()=>{const _e=()=>te(!1);return window.addEventListener("blur",_e),window.addEventListener("resize",_e),()=>{window.removeEventListener("blur",_e),window.removeEventListener("resize",_e)}},[te]);const[re,oe]=AB(_e=>{const Je=se().filter(Ee=>!Ee.disabled),ie=Je.find(Ee=>Ee.ref.current===document.activeElement),ke=DB(Je,_e,ie);ke&&setTimeout(()=>ke.ref.current.focus())}),ue=D.useCallback((_e,Je,ie)=>{const ke=!xe.current&&!ie;(U.value!==void 0&&U.value===Je||ke)&&(he(_e),ke&&(xe.current=!0))},[U.value]),ce=D.useCallback(()=>I?.focus(),[I]),De=D.useCallback((_e,Je,ie)=>{const ke=!xe.current&&!ie;(U.value!==void 0&&U.value===Je||ke)&&W(_e)},[U.value]),je=l==="popper"?L2:dB,Ke=je===L2?{side:m,sideOffset:b,align:E,alignOffset:C,arrowPadding:S,collisionBoundary:R,collisionPadding:M,sticky:q,hideWhenDetached:N,avoidCollisions:L}:{};return O.jsx(cB,{scope:r,content:I,viewport:V,onViewportChange:F,itemRefCallback:ue,selectedItem:Q,onItemLeave:ce,itemTextRefCallback:De,focusSelectedItem:Z,selectedItemText:de,position:l,isPositioned:le,searchRef:re,children:O.jsx(ex,{as:mce,allowPinchZoom:!0,children:O.jsx(Sw,{asChild:!0,trapped:U.open,onMountAutoFocus:_e=>{_e.preventDefault()},onUnmountAutoFocus:gt(s,_e=>{U.trigger?.focus({preventScroll:!0}),_e.preventDefault()}),children:O.jsx(W1,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:_e=>_e.preventDefault(),onDismiss:()=>U.onOpenChange(!1),children:O.jsx(je,{role:"listbox",id:U.contentId,"data-state":U.open?"open":"closed",dir:U.dir,onContextMenu:_e=>_e.preventDefault(),...P,...Ke,onPlaced:()=>ae(!0),ref:K,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:gt(P.onKeyDown,_e=>{const Je=_e.ctrlKey||_e.altKey||_e.metaKey;if(_e.key==="Tab"&&_e.preventDefault(),!Je&&_e.key.length===1&&oe(_e.key),["ArrowUp","ArrowDown","Home","End"].includes(_e.key)){let ke=se().filter(Ee=>!Ee.disabled).map(Ee=>Ee.ref.current);if(["ArrowUp","End"].includes(_e.key)&&(ke=ke.slice().reverse()),["ArrowUp","ArrowDown"].includes(_e.key)){const Ee=_e.target,Ae=ke.indexOf(Ee);ke=ke.slice(Ae+1)}setTimeout(()=>B(ke)),_e.preventDefault()}})})})})})})});fB.displayName=hce;var vce="SelectItemAlignedPosition",dB=D.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:l,...s}=e,c=Ug(l0,r),h=Ig(l0,r),[m,b]=D.useState(null),[E,C]=D.useState(null),S=vn(t,K=>C(K)),R=j_(r),M=D.useRef(!1),q=D.useRef(!0),{viewport:N,selectedItem:L,selectedItemText:P,focusSelectedItem:U}=h,I=D.useCallback(()=>{if(c.trigger&&c.valueNode&&m&&E&&N&&L&&P){const K=c.trigger.getBoundingClientRect(),Q=E.getBoundingClientRect(),he=c.valueNode.getBoundingClientRect(),de=P.getBoundingClientRect();if(c.dir!=="rtl"){const Ee=de.left-Q.left,Ae=he.left-Ee,ot=K.left-Ae,vt=K.width+ot,Xt=Math.max(vt,Q.width),Nt=window.innerWidth-Gf,Kn=VP(Ae,[Gf,Math.max(Gf,Nt-Xt)]);m.style.minWidth=vt+"px",m.style.left=Kn+"px"}else{const Ee=Q.right-de.right,Ae=window.innerWidth-he.right-Ee,ot=window.innerWidth-K.right-Ae,vt=K.width+ot,Xt=Math.max(vt,Q.width),Nt=window.innerWidth-Gf,Kn=VP(Ae,[Gf,Math.max(Gf,Nt-Xt)]);m.style.minWidth=vt+"px",m.style.right=Kn+"px"}const W=R(),se=window.innerHeight-Gf*2,le=N.scrollHeight,ae=window.getComputedStyle(E),xe=parseInt(ae.borderTopWidth,10),B=parseInt(ae.paddingTop,10),Z=parseInt(ae.borderBottomWidth,10),te=parseInt(ae.paddingBottom,10),be=xe+B+le+te+Z,re=Math.min(L.offsetHeight*5,be),oe=window.getComputedStyle(N),ue=parseInt(oe.paddingTop,10),ce=parseInt(oe.paddingBottom,10),De=K.top+K.height/2-Gf,je=se-De,Ke=L.offsetHeight/2,_e=L.offsetTop+Ke,Je=xe+B+_e,ie=be-Je;if(Je<=De){const Ee=W.length>0&&L===W[W.length-1].ref.current;m.style.bottom="0px";const Ae=E.clientHeight-N.offsetTop-N.offsetHeight,ot=Math.max(je,Ke+(Ee?ce:0)+Ae+Z),vt=Je+ot;m.style.height=vt+"px"}else{const Ee=W.length>0&&L===W[0].ref.current;m.style.top="0px";const ot=Math.max(De,xe+N.offsetTop+(Ee?ue:0)+Ke)+ie;m.style.height=ot+"px",N.scrollTop=Je-De+N.offsetTop}m.style.margin=`${Gf}px 0`,m.style.minHeight=re+"px",m.style.maxHeight=se+"px",l?.(),requestAnimationFrame(()=>M.current=!0)}},[R,c.trigger,c.valueNode,m,E,N,L,P,c.dir,l]);Vl(()=>I(),[I]);const[Y,V]=D.useState();Vl(()=>{E&&V(window.getComputedStyle(E).zIndex)},[E]);const F=D.useCallback(K=>{K&&q.current===!0&&(I(),U?.(),q.current=!1)},[I,U]);return O.jsx(yce,{scope:r,contentWrapper:m,shouldExpandOnScrollRef:M,onScrollButtonChange:F,children:O.jsx("div",{ref:b,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:Y},children:O.jsx(_s.div,{...s,ref:S,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});dB.displayName=vce;var gce="SelectPopperPosition",L2=D.forwardRef((e,t)=>{const{__scopeSelect:r,align:l="start",collisionPadding:s=Gf,...c}=e,h=z_(r);return O.jsx(O_,{...h,...c,ref:t,align:l,collisionPadding:s,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)"}})});L2.displayName=gce;var[yce,mO]=lx(l0,{}),j2="SelectViewport",pB=D.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:l,...s}=e,c=Ig(j2,r),h=mO(j2,r),m=vn(t,c.onViewportChange),b=D.useRef(0);return O.jsxs(O.Fragment,{children:[O.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}),O.jsx(L_.Slot,{scope:r,children:O.jsx(_s.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:gt(s.onScroll,E=>{const C=E.currentTarget,{contentWrapper:S,shouldExpandOnScrollRef:R}=h;if(R?.current&&S){const M=Math.abs(b.current-C.scrollTop);if(M>0){const q=window.innerHeight-Gf*2,N=parseFloat(S.style.minHeight),L=parseFloat(S.style.height),P=Math.max(N,L);if(P<q){const U=P+M,I=Math.min(q,U),Y=U-I;S.style.height=I+"px",S.style.bottom==="0px"&&(C.scrollTop=Y>0?Y:0,S.style.justifyContent="flex-end")}}}b.current=C.scrollTop})})})]})});pB.displayName=j2;var hB="SelectGroup",[bce,xce]=lx(hB),mB=D.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e,s=_a();return O.jsx(bce,{scope:r,id:s,children:O.jsx(_s.div,{role:"group","aria-labelledby":s,...l,ref:t})})});mB.displayName=hB;var vB="SelectLabel",gB=D.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e,s=xce(vB,r);return O.jsx(_s.div,{id:s.id,...l,ref:t})});gB.displayName=vB;var t_="SelectItem",[Ece,yB]=lx(t_),bB=D.forwardRef((e,t)=>{const{__scopeSelect:r,value:l,disabled:s=!1,textValue:c,...h}=e,m=Ug(t_,r),b=Ig(t_,r),E=m.value===l,[C,S]=D.useState(c??""),[R,M]=D.useState(!1),q=vn(t,U=>b.itemRefCallback?.(U,l,s)),N=_a(),L=D.useRef("touch"),P=()=>{s||(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 O.jsx(Ece,{scope:r,value:l,disabled:s,textId:N,isSelected:E,onItemTextChange:D.useCallback(U=>{S(I=>I||(U?.textContent??"").trim())},[]),children:O.jsx(L_.ItemSlot,{scope:r,value:l,disabled:s,textValue:C,children:O.jsx(_s.div,{role:"option","aria-labelledby":N,"data-highlighted":R?"":void 0,"aria-selected":E&&R,"data-state":E?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...h,ref:q,onFocus:gt(h.onFocus,()=>M(!0)),onBlur:gt(h.onBlur,()=>M(!1)),onClick:gt(h.onClick,()=>{L.current!=="mouse"&&P()}),onPointerUp:gt(h.onPointerUp,()=>{L.current==="mouse"&&P()}),onPointerDown:gt(h.onPointerDown,U=>{L.current=U.pointerType}),onPointerMove:gt(h.onPointerMove,U=>{L.current=U.pointerType,s?b.onItemLeave?.():L.current==="mouse"&&U.currentTarget.focus({preventScroll:!0})}),onPointerLeave:gt(h.onPointerLeave,U=>{U.currentTarget===document.activeElement&&b.onItemLeave?.()}),onKeyDown:gt(h.onKeyDown,U=>{b.searchRef?.current!==""&&U.key===" "||(ice.includes(U.key)&&P(),U.key===" "&&U.preventDefault())})})})})});bB.displayName=t_;var tw="SelectItemText",xB=D.forwardRef((e,t)=>{const{__scopeSelect:r,className:l,style:s,...c}=e,h=Ug(tw,r),m=Ig(tw,r),b=yB(tw,r),E=fce(tw,r),[C,S]=D.useState(null),R=vn(t,P=>S(P),b.onItemTextChange,P=>m.itemTextRefCallback?.(P,b.value,b.disabled)),M=C?.textContent,q=D.useMemo(()=>O.jsx("option",{value:b.value,disabled:b.disabled,children:M},b.value),[b.disabled,b.value,M]),{onNativeOptionAdd:N,onNativeOptionRemove:L}=E;return Vl(()=>(N(q),()=>L(q)),[N,L,q]),O.jsxs(O.Fragment,{children:[O.jsx(_s.span,{id:b.textId,...c,ref:R}),b.isSelected&&h.valueNode&&!h.valueNodeHasChildren?X1.createPortal(c.children,h.valueNode):null]})});xB.displayName=tw;var EB="SelectItemIndicator",Sce=D.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e;return yB(EB,r).isSelected?O.jsx(_s.span,{"aria-hidden":!0,...l,ref:t}):null});Sce.displayName=EB;var z2="SelectScrollUpButton",SB=D.forwardRef((e,t)=>{const r=Ig(z2,e.__scopeSelect),l=mO(z2,e.__scopeSelect),[s,c]=D.useState(!1),h=vn(t,l.onScrollButtonChange);return Vl(()=>{if(r.viewport&&r.isPositioned){let m=function(){const E=b.scrollTop>0;c(E)};const b=r.viewport;return m(),b.addEventListener("scroll",m),()=>b.removeEventListener("scroll",m)}},[r.viewport,r.isPositioned]),s?O.jsx(wB,{...e,ref:h,onAutoScroll:()=>{const{viewport:m,selectedItem:b}=r;m&&b&&(m.scrollTop=m.scrollTop-b.offsetHeight)}}):null});SB.displayName=z2;var B2="SelectScrollDownButton",CB=D.forwardRef((e,t)=>{const r=Ig(B2,e.__scopeSelect),l=mO(B2,e.__scopeSelect),[s,c]=D.useState(!1),h=vn(t,l.onScrollButtonChange);return Vl(()=>{if(r.viewport&&r.isPositioned){let m=function(){const E=b.scrollHeight-b.clientHeight,C=Math.ceil(b.scrollTop)<E;c(C)};const b=r.viewport;return m(),b.addEventListener("scroll",m),()=>b.removeEventListener("scroll",m)}},[r.viewport,r.isPositioned]),s?O.jsx(wB,{...e,ref:h,onAutoScroll:()=>{const{viewport:m,selectedItem:b}=r;m&&b&&(m.scrollTop=m.scrollTop+b.offsetHeight)}}):null});CB.displayName=B2;var wB=D.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:l,...s}=e,c=Ig("SelectScrollButton",r),h=D.useRef(null),m=j_(r),b=D.useCallback(()=>{h.current!==null&&(window.clearInterval(h.current),h.current=null)},[]);return D.useEffect(()=>()=>b(),[b]),Vl(()=>{m().find(C=>C.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),O.jsx(_s.div,{"aria-hidden":!0,...s,ref:t,style:{flexShrink:0,...s.style},onPointerDown:gt(s.onPointerDown,()=>{h.current===null&&(h.current=window.setInterval(l,50))}),onPointerMove:gt(s.onPointerMove,()=>{c.onItemLeave?.(),h.current===null&&(h.current=window.setInterval(l,50))}),onPointerLeave:gt(s.onPointerLeave,()=>{b()})})}),Cce="SelectSeparator",RB=D.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e;return O.jsx(_s.div,{"aria-hidden":!0,...l,ref:t})});RB.displayName=Cce;var k2="SelectArrow",wce=D.forwardRef((e,t)=>{const{__scopeSelect:r,...l}=e,s=z_(r),c=Ug(k2,r),h=Ig(k2,r);return c.open&&h.position==="popper"?O.jsx(N_,{...s,...l,ref:t}):null});wce.displayName=k2;var Rce="SelectBubbleInput",TB=D.forwardRef(({__scopeSelect:e,value:t,...r},l)=>{const s=D.useRef(null),c=vn(l,s),h=Xse(t);return D.useEffect(()=>{const m=s.current;if(!m)return;const b=window.HTMLSelectElement.prototype,C=Object.getOwnPropertyDescriptor(b,"value").set;if(h!==t&&C){const S=new Event("change",{bubbles:!0});C.call(m,t),m.dispatchEvent(S)}},[h,t]),O.jsx(_s.select,{...r,style:{...eB,...r.style},ref:c,defaultValue:t})});TB.displayName=Rce;function _B(e){return e===""||e===void 0}function AB(e){const t=Yo(e),r=D.useRef(""),l=D.useRef(0),s=D.useCallback(h=>{const m=r.current+h;t(m),(function b(E){r.current=E,window.clearTimeout(l.current),E!==""&&(l.current=window.setTimeout(()=>b(""),1e3))})(m)},[t]),c=D.useCallback(()=>{r.current="",window.clearTimeout(l.current)},[]);return D.useEffect(()=>()=>window.clearTimeout(l.current),[]),[r,s,c]}function DB(e,t,r){const s=t.length>1&&Array.from(t).every(E=>E===t[0])?t[0]:t,c=r?e.indexOf(r):-1;let h=Tce(e,Math.max(c,0));s.length===1&&(h=h.filter(E=>E!==r));const b=h.find(E=>E.textValue.toLowerCase().startsWith(s.toLowerCase()));return b!==r?b:void 0}function Tce(e,t){return e.map((r,l)=>e[(t+l)%e.length])}var _ce=nB,Ace=aB,Dce=oB,Mce=iB,Oce=uB,Nce=sB,$ce=pB,Pce=mB,qce=gB,Lce=bB,jce=xB,zce=SB,Bce=CB,kce=RB;const MB=e=>O.jsx(_ce,{"data-slot":"select",...e}),OB=({heading:e,children:t,...r})=>O.jsxs(Pce,{"data-slot":"select-group",...r,children:[e&&O.jsx(jB,{children:e}),t]}),NB=e=>O.jsx(Dce,{"data-slot":"select-value",...e}),$B=({className:e,children:t,...r})=>O.jsxs(Ace,{"data-slot":"select-trigger",className:Fe("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,O.jsx(Mce,{asChild:!0,"data-slot":"select-trigger-icon",children:O.jsx(PT,{className:"h-4 w-4 shrink-0 opacity-50"})})]}),PB=({className:e,...t})=>O.jsx(zce,{"data-slot":"select-scroll-up",className:Fe("flex cursor-default items-center justify-center py-1",e),...t,children:O.jsx(q7,{className:"h-4 w-4"})}),qB=({className:e,...t})=>O.jsx(Bce,{"data-slot":"select-scroll-down",className:Fe("flex cursor-default items-center justify-center py-1",e),...t,children:O.jsx(P7,{className:"h-4 w-4"})}),LB=({className:e,children:t,position:r="popper",...l})=>O.jsx(Oce,{children:O.jsxs(Nce,{"data-slot":"select-content",className:Fe("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:[O.jsx(PB,{}),O.jsx($ce,{"data-slot":"select-viewport",className:Fe("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),O.jsx(qB,{})]})}),jB=({className:e,...t})=>O.jsx(qce,{"data-slot":"select-label",className:Fe("py-1.5 px-2 text-sm font-semibold",e),...t}),zB=({className:e,children:t,...r})=>O.jsx(Lce,{"data-slot":"select-item",className:Fe("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:O.jsx(jce,{"data-slot":"select-item-text",children:t})}),Uce=({className:e,...t})=>O.jsx(kce,{"data-slot":"select-separator",className:Fe("-mx-1 my-1 h-px bg-muted",e),...t}),Ice=({isCircle:e,width:t,height:r,isLoading:l=!1,...s})=>{const c={width:t,height:r,...s.style};return!l&&s.children?s.children:O.jsx("div",{"data-slot":"skeleton",...s,className:Fe("[&>*]:opacity-0 w-fit","rounded w-full animate-pulse bg-muted min-h-[1.5em]",e&&"rounded-[50%] aspect-square",s.className),style:c})},Hce=({inline:e=!1,justify:t,align:r,direction:l="horizontal",gap:s=8,style:c,...h})=>{const m={display:e?"inline-flex":"flex",flexDirection:l==="vertical"?"column":"row",justifyContent:t,alignItems:r,gap:s};return O.jsx("div",{style:{...m,...c},...h,"data-slot":"stack"})},[BB,Vce]=Mw();function Fce({items:e=[],current:t,onChange:r,className:l,classNameList:s,classNameItem:c,classNameButton:h,classNameIndicator:m,classNameContent:b}){return O.jsxs(kB,{className:l,current:t,onChange:r,children:[O.jsx(UB,{className:s,children:e?.map((E,C)=>O.jsx(IB,{value:C,title:E?.title,indicator:E?.indicator,classNameItem:c,classNameButton:h,classNameIndicator:m},C))}),e?.map((E,C)=>O.jsx(HB,{className:b,value:C,children:E?.content},C))]})}function kB({current:e,onChange:t,className:r,...l}){const[s=0,c]=br({prop:e,onChange:t,defaultProp:0});return O.jsx(Vce,{value:{activeStep:s,setActiveStep:c},children:O.jsx("div",{"data-slot":"stepper",className:Fe("flex flex-col items-center w-full transition-all ease-in delay-150",r),...l})})}function UB({children:e,className:t,...r}){return O.jsx("ul",{"data-slot":"stepper-list",className:Fe("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 IB({disabled:e,value:t,title:r,indicator:l,classNameItem:s,classNameButton:c,classNameIndicator:h}){const{activeStep:m,setActiveStep:b}=BB();return O.jsx("li",{"data-slot":"stepper-trigger",className:Fe("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`,s),children:O.jsxs("button",{onClick:()=>!e&&b(t),className:Fe("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:[O.jsx("span",{"data-slot":"stepper-trigger-indicator",className:Fe("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 HB({value:e,className:t="w-full",...r}){const{activeStep:l}=BB();return l===e?O.jsx("div",{"data-slot":"stepper-content",className:t,...r}):null}const Kce=({className:e,children:t,containerProps:r,containerClassName:l,...s})=>{const c=k.useId(),[h=!1,m]=br({prop:s.checked,onChange:s.onChange,defaultProp:s.defaultChecked}),b=()=>!s.disabled&&m(S=>!S),E=h?"checked":"unchecked",C=s.id??c;return O.jsxs("div",{"data-slot":"switch",...r,className:Fe("flex gap-x-2 items-center",l),children:[O.jsxs("button",{"data-slot":"switch-trigger",disabled:s.disabled,onClick:b,"data-state":E,type:"button",className:Fe("peer w-11 h-6 bg-input rounded-full border-2 border-transparent transition-colors","data-[state=checked]:bg-primary",e),children:[O.jsx("div",{"data-state":E,className:Fe("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")}),O.jsx("input",{...s,id:C,checked:h,onChange:S=>m(S.currentTarget.checked),type:"checkbox",className:"sr-only","aria-hidden":!0})]}),t&&O.jsx($w,{htmlFor:C,children:t})]})},VB=({className:e,containerClassName:t,containerProps:r,...l})=>O.jsx("div",{"data-slot":"table-container",className:Fe("relative w-full overflow-auto rounded-md border",t),...r,children:O.jsx("table",{"data-slot":"table",className:Fe("w-full caption-bottom text-sm",e),...l})}),FB=({className:e,...t})=>O.jsx("thead",{"data-slot":"table-header",className:Fe("[&_tr]:border-b",e),...t}),KB=({className:e,...t})=>O.jsx("tbody",{"data-slot":"table-body",className:Fe("[&_tr:last-child]:border-0",e),...t}),Gce=({className:e,...t})=>O.jsx("tfoot",{"data-slot":"table-footer",className:Fe("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}),U2=({className:e,...t})=>O.jsx("tr",{"data-slot":"table-row",className:Fe("border-b transition-colors hover:bg-muted data-[selected=true]:bg-muted",e),...t}),GB=({className:e,...t})=>O.jsx("th",{"data-slot":"table-head",className:Fe("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}),YB=({className:e,...t})=>O.jsx("td",{"data-slot":"table-cell",className:Fe("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}),Yce=({className:e,...t})=>O.jsx("caption",{"data-slot":"table-caption",className:Fe("mt-4 text-sm text-muted-foreground",e),...t}),Xce=({data:e=[],columns:t=[],onRowClick:r,onDoubleClick:l,selected:s,theadClassName:c,theadProps:h,tbodyClassName:m,tbodyProps:b,trClassName:E,trProps:C,thClassName:S,thProps:R,tdClassName:M,tdProps:q,...N})=>O.jsxs(VB,{...N,className:Fe(N?.className),children:[O.jsx(FB,{...h,className:Fe(h?.className,c),children:O.jsx(U2,{...C,className:Fe(C?.className,E),children:t.map((L,P)=>O.jsx(GB,{...R,className:Fe(R?.className,S),style:{width:L.width},children:sr.isFunction(L.header)?L.header?.():L.header},P))})}),O.jsx(KB,{...b,className:Fe(b?.className,m),children:e.map((L,P)=>O.jsx(U2,{...C,"data-selected":s?.(L),className:Fe(C?.className,E),children:t.map((U,I)=>O.jsx(YB,{...q,onClick:Y=>{q?.onClick?.(Y),r?.(L)},onDoubleClick:()=>l?.(L),className:Fe(q?.className,M),children:U.cell?.(L,I)||L[U.key]},I))},P))})]}),AT=[10,25,50],Qce=({containerClassName:e,containerProps:t,selectClassName:r,selectProps:l,sizes:s=AT,...c})=>{const[h=AT[0],m]=br({onChange:c?.setPageSize,prop:c?.pageSize,defaultProp:AT[0]}),{range:b,next:E,prev:C,isFirstPage:S,isLastPage:R,goTo:M}=YM({...c,pageSize:h}),q=N=>{const{value:L}=N.target,P=Number(L);m(P),M(1)};return O.jsxs("div",{"data-slot":"table-pagination",...t,className:Fe("flex justify-center items-center gap-x-4 bg-background border border-[#D9D9D9] rounded-2xl py-2",e),children:[s&&O.jsx("select",{"data-slot":"table-pagination-size-trigger",...l,value:h,onChange:q,className:Fe("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:s.map((N,L)=>O.jsx("option",{value:N,"data-slot":"table-pagination-size-option",children:N},L))}),O.jsxs("span",{"data-slot":"table-pagination-range",children:[b.start," - ",b.end," de ",c.totalItems]}),O.jsxs("div",{className:"flex gap-2",children:[O.jsx(hi,{"data-slot":"table-pagination-prev",size:"icon",variant:"ghost",disabled:S,onClick:C,children:O.jsx(fM,{"data-slot":"table-pagination-prev-icon"})}),O.jsx(hi,{"data-slot":"table-pagination-next",size:"icon",variant:"ghost",disabled:R,onClick:E,children:O.jsx(Rw,{"data-slot":"table-pagination-next-icon"})})]})]})},[B_,Zce]=Mw(),Wce=({children:e,value:t,onChange:r,defaultValue:l,variant:s="default",...c})=>{const[h="",m]=br({prop:t,onChange:r,defaultProp:l}),[b,E]=k.useState(null);return O.jsx(Zce,{value:{activeTab:h,setActiveTab:m,setTargetRef:E,targetRef:b,variant:s},children:O.jsx("div",{"data-slot":"tabs",...c,children:e})})},Jce=({children:e,className:t,indicatorClassName:r})=>{const{targetRef:l}=B_();return O.jsxs("div",{"data-slot":"tabs-list",className:Fe("relative mb-4",t),children:[O.jsx("div",{"data-slot":"tabs-content",className:"flex",children:e}),O.jsx(nfe,{targetRef:l,indicatorClassName:r})]})},efe=({value:e,className:t,...r})=>{const{activeTab:l,setActiveTab:s,setTargetRef:c,variant:h}=B_(),m=l===e;return O.jsx("button",{"data-slot":"tabs-trigger",...r,type:"button",ref:b=>{m&&c(b)},onClick:()=>s(e),"data-tab":e,"data-selected":m,"aria-selected":m,className:Fe("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)})},tfe=({value:e,...t})=>{const{activeTab:r}=B_();return r===e?O.jsx("div",{"data-slot":"tabs-content",...t}):null},nfe=({targetRef:e,indicatorClassName:t})=>{const r=k.useRef(null),l=r?.current,s=k.useRef(null),{variant:c}=B_(),h=()=>{if(!e||!l)return;const m=e.offsetLeft,b=e.offsetWidth;l.style.width=b+"px",l.style.left=m+"px"};return k.useEffect(()=>{if(e)return h(),s.current=new ResizeObserver(h),s.current.observe(e),()=>{s.current?.disconnect()}},[e]),O.jsx("div",{"data-slot":"tabs-indicator",ref:r,className:Fe("transition-all duration-300 absolute rounded bg-primary",c==="background"?"inset-0 -z-10 h-full top-0":"top-full h-[3px]",t)})},rfe=({className:e,...t})=>O.jsx("textarea",{...t,"data-slot":"textarea",className:Fe("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)}),afe={done:"var(--color-primary)",pending:"#cdcdcd",error:"var(--color-error)"},lfe=({items:e,classNameContainer:t,containerProps:r,...l})=>O.jsx(XB,{className:t,...r,children:e.map((s,c)=>O.jsx(QB,{icon:s.icon,color:s.color,status:s.status,...l,children:s.content},c))}),XB=e=>O.jsx("ul",{"data-slot":"timeline",...e,className:Fe("relative flex justify-center flex-col border-input",e.className)}),QB=({icon:e,status:t,color:r,classNameItemDot:l,classNameItemContainerDot:s,classNameItemContent:c,itemsProps:h,children:m,...b})=>O.jsxs("li",{"data-slot":"timeline-item",className:Fe("rounded-lg w-full px-2 gap-1 grid hover:bg-muted transition-colors ease-in grid-cols-[minmax(auto,20px)_1fr]",b.className),...b,children:[O.jsx(ZB,{icon:e,status:t,color:r,classNameDot:l,classNameContainerDot:s}),O.jsx(WB,{className:c,...h,children:m})]}),ZB=({icon:e,status:t="pending",color:r,classNameDot:l,classNameContainerDot:s})=>O.jsx("div",{"data-slot":"timeline-item-dot",className:Fe("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",s),children:O.jsx("div",{"data-slot":"timeline-item-dot-icon",className:Fe("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||afe?.[t]},children:e})}),WB=e=>O.jsx("div",{"data-slot":"timeline-item-content",...e,className:Fe("grow px-2 pb-4 pt-2",e.className)}),ofe=$m(["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"}}),ife=$m("",{variants:{variant:{info:"text-primary-foreground",error:"text-error-foreground",success:"text-success-foreground",loading:"text-foreground animate-spin"}},defaultVariants:{variant:"info"}}),JB=({title:e,description:t,type:r,iconClassName:l,...s})=>{const c=t9[r];return O.jsxs("div",{...s,"data-slot":"toast",className:Fe(ofe({variant:r}),s.className),children:[O.jsx("div",{className:Fe("p-1 text-primary-foreground pr-2",l),children:O.jsx(c,{size:22,className:Fe(ife({variant:r})),"data-slot":"toast-icon"})}),O.jsxs("div",{className:"grid gap-1 grow","data-slot":"toast-content",children:[e&&O.jsx("h4",{...s.titleProps,className:Fe("text-sm font-semibold",s.titleClassName),"data-slot":"toast-title",children:e}),O.jsx("div",{...s.descriptionProps,className:Fe("text-sm font-normal opacity-90 p-0 overflow-hidden",s.descriptionClassName),"data-slot":"toast-description",children:t})]})]})},ufe=({iconClassName:e="",...t})=>{const r=vO(l=>l.toasts);return O.jsxs(O.Fragment,{children:[t.children,O.jsx(EM,{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 s=k.createRef();return O.jsx(g_,{classNames:"toast",timeout:500,nodeRef:s,children:O.jsx(JB,{...l,iconClassName:e,ref:s})},l.id)})})]})},FP=e=>{let t;const r=new Set,l=(E,C)=>{const S=typeof E=="function"?E(t):E;if(!Object.is(S,t)){const R=t;t=C??(typeof S!="object"||S===null)?S:Object.assign({},t,S),r.forEach(M=>M(t,R))}},s=()=>t,m={setState:l,getState:s,getInitialState:()=>b,subscribe:E=>(r.add(E),()=>r.delete(E))},b=t=e(l,s,m);return m},sfe=(e=>e?FP(e):FP),cfe=e=>e;function ffe(e,t=cfe){const r=k.useSyncExternalStore(e.subscribe,k.useCallback(()=>t(e.getState()),[e,t]),k.useCallback(()=>t(e.getInitialState()),[e,t]));return k.useDebugValue(r),r}const KP=e=>{const t=sfe(e),r=l=>ffe(t,l);return Object.assign(r,t),r},dfe=(e=>e?KP(e):KP);let pfe=0;const e9=3e3,GP=(e,t,r=e9)=>{setTimeout(()=>e(t),r)},vO=dfe((e,t)=>({toasts:[],addToast:r=>{const l=++pfe,s={...r,id:l};return e(c=>({toasts:[...c.toasts,s]})),r.type!=="loading"&&GP(t().removeToast,l,r?.duration||e9),l},removeToast:r=>{e(l=>({toasts:l.toasts.filter(s=>s.id!==r)}))},updateToast:(r,l)=>{e(s=>({toasts:s.toasts.map(c=>c.id===r?{...c,...l}:c)})),l.type!=="loading"&&GP(t().removeToast,r)},promise:async(r,l)=>{const s=t().addToast({type:"loading",description:l.loading});try{const c=await r;return t().updateToast(s,{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(s,{type:"error",description:h}),Promise.reject(c)}}})),gO=vO.getState(),hfe=e=>gO.addToast(e),UD=(e,t)=>{const l=typeof e=="string"?{description:e,type:t}:{...e,type:t};return gO.addToast(l)},mfe=Object.assign(hfe,{info:e=>UD(e,"info"),success:e=>UD(e,"success"),error:e=>UD(e,"error"),promise:(e,t)=>gO.promise(e,t)}),t9={info:tK,success:rK,error:lK,loading:qT};function vfe(e){const t=gfe(e),r=D.forwardRef((l,s)=>{const{children:c,...h}=l,m=D.Children.toArray(c),b=m.find(bfe);if(b){const E=b.props.children,C=m.map(S=>S===b?D.Children.count(E)>1?D.Children.only(null):D.isValidElement(E)?E.props.children:null:S);return O.jsx(t,{...h,ref:s,children:D.isValidElement(E)?D.cloneElement(E,void 0,C):null})}return O.jsx(t,{...h,ref:s,children:c})});return r.displayName=`${e}.Slot`,r}function gfe(e){const t=D.forwardRef((r,l)=>{const{children:s,...c}=r;if(D.isValidElement(s)){const h=Efe(s),m=xfe(c,s.props);return s.type!==D.Fragment&&(m.ref=l?Fr(l,h):h),D.cloneElement(s,m)}return D.Children.count(s)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var n9=Symbol("radix.slottable");function yfe(e){const t=({children:r})=>O.jsx(O.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=n9,t}function bfe(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===n9}function xfe(e,t){const r={...t};for(const l in t){const s=e[l],c=t[l];/^on[A-Z]/.test(l)?s&&c?r[l]=(...m)=>{const b=c(...m);return s(...m),b}:s&&(r[l]=s):l==="style"?r[l]={...s,...c}:l==="className"&&(r[l]=[s,c].filter(Boolean).join(" "))}return{...e,...r}}function Efe(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 Sfe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Cfe=Sfe.reduce((e,t)=>{const r=vfe(`Primitive.${t}`),l=D.forwardRef((s,c)=>{const{asChild:h,...m}=s,b=h?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(b,{...m,ref:c})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),[k_]=xp("Tooltip",[zg]),U_=zg(),r9="TooltipProvider",wfe=700,I2="tooltip.open",[Rfe,yO]=k_(r9),a9=e=>{const{__scopeTooltip:t,delayDuration:r=wfe,skipDelayDuration:l=300,disableHoverableContent:s=!1,children:c}=e,h=D.useRef(!0),m=D.useRef(!1),b=D.useRef(0);return D.useEffect(()=>{const E=b.current;return()=>window.clearTimeout(E)},[]),O.jsx(Rfe,{scope:t,isOpenDelayedRef:h,delayDuration:r,onOpen:D.useCallback(()=>{window.clearTimeout(b.current),h.current=!1},[]),onClose:D.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>h.current=!0,l)},[l]),isPointerInTransitRef:m,onPointerInTransitChange:D.useCallback(E=>{m.current=E},[]),disableHoverableContent:s,children:c})};a9.displayName=r9;var yw="Tooltip",[Tfe,Xw]=k_(yw),l9=e=>{const{__scopeTooltip:t,children:r,open:l,defaultOpen:s,onOpenChange:c,disableHoverableContent:h,delayDuration:m}=e,b=yO(yw,e.__scopeTooltip),E=U_(t),[C,S]=D.useState(null),R=_a(),M=D.useRef(0),q=h??b.disableHoverableContent,N=m??b.delayDuration,L=D.useRef(!1),[P,U]=br({prop:l,defaultProp:s??!1,onChange:K=>{K?(b.onOpen(),document.dispatchEvent(new CustomEvent(I2))):b.onClose(),c?.(K)},caller:yw}),I=D.useMemo(()=>P?L.current?"delayed-open":"instant-open":"closed",[P]),Y=D.useCallback(()=>{window.clearTimeout(M.current),M.current=0,L.current=!1,U(!0)},[U]),V=D.useCallback(()=>{window.clearTimeout(M.current),M.current=0,U(!1)},[U]),F=D.useCallback(()=>{window.clearTimeout(M.current),M.current=window.setTimeout(()=>{L.current=!0,U(!0),M.current=0},N)},[N,U]);return D.useEffect(()=>()=>{M.current&&(window.clearTimeout(M.current),M.current=0)},[]),O.jsx(zw,{...E,children:O.jsx(Tfe,{scope:t,contentId:R,open:P,stateAttribute:I,trigger:C,onTriggerChange:S,onTriggerEnter:D.useCallback(()=>{b.isOpenDelayedRef.current?F():Y()},[b.isOpenDelayedRef,F,Y]),onTriggerLeave:D.useCallback(()=>{q?V():(window.clearTimeout(M.current),M.current=0)},[V,q]),onOpen:Y,onClose:V,disableHoverableContent:q,children:r})})};l9.displayName=yw;var H2="TooltipTrigger",o9=D.forwardRef((e,t)=>{const{__scopeTooltip:r,...l}=e,s=Xw(H2,r),c=yO(H2,r),h=U_(r),m=D.useRef(null),b=vn(t,m,s.onTriggerChange),E=D.useRef(!1),C=D.useRef(!1),S=D.useCallback(()=>E.current=!1,[]);return D.useEffect(()=>()=>document.removeEventListener("pointerup",S),[S]),O.jsx(Bw,{asChild:!0,...h,children:O.jsx(Cfe.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...l,ref:b,onPointerMove:gt(e.onPointerMove,R=>{R.pointerType!=="touch"&&!C.current&&!c.isPointerInTransitRef.current&&(s.onTriggerEnter(),C.current=!0)}),onPointerLeave:gt(e.onPointerLeave,()=>{s.onTriggerLeave(),C.current=!1}),onPointerDown:gt(e.onPointerDown,()=>{s.open&&s.onClose(),E.current=!0,document.addEventListener("pointerup",S,{once:!0})}),onFocus:gt(e.onFocus,()=>{E.current||s.onOpen()}),onBlur:gt(e.onBlur,s.onClose),onClick:gt(e.onClick,s.onClose)})})});o9.displayName=H2;var bO="TooltipPortal",[_fe,Afe]=k_(bO,{forceMount:void 0}),i9=e=>{const{__scopeTooltip:t,forceMount:r,children:l,container:s}=e,c=Xw(bO,t);return O.jsx(_fe,{scope:t,forceMount:r,children:O.jsx(Ts,{present:r||c.open,children:O.jsx(J1,{asChild:!0,container:s,children:l})})})};i9.displayName=bO;var Y1="TooltipContent",u9=D.forwardRef((e,t)=>{const r=Afe(Y1,e.__scopeTooltip),{forceMount:l=r.forceMount,side:s="top",...c}=e,h=Xw(Y1,e.__scopeTooltip);return O.jsx(Ts,{present:l||h.open,children:h.disableHoverableContent?O.jsx(s9,{side:s,...c,ref:t}):O.jsx(Dfe,{side:s,...c,ref:t})})}),Dfe=D.forwardRef((e,t)=>{const r=Xw(Y1,e.__scopeTooltip),l=yO(Y1,e.__scopeTooltip),s=D.useRef(null),c=vn(t,s),[h,m]=D.useState(null),{trigger:b,onClose:E}=r,C=s.current,{onPointerInTransitChange:S}=l,R=D.useCallback(()=>{m(null),S(!1)},[S]),M=D.useCallback((q,N)=>{const L=q.currentTarget,P={x:q.clientX,y:q.clientY},U=$fe(P,L.getBoundingClientRect()),I=Pfe(P,U),Y=qfe(N.getBoundingClientRect()),V=jfe([...I,...Y]);m(V),S(!0)},[S]);return D.useEffect(()=>()=>R(),[R]),D.useEffect(()=>{if(b&&C){const q=L=>M(L,C),N=L=>M(L,b);return b.addEventListener("pointerleave",q),C.addEventListener("pointerleave",N),()=>{b.removeEventListener("pointerleave",q),C.removeEventListener("pointerleave",N)}}},[b,C,M,R]),D.useEffect(()=>{if(h){const q=N=>{const L=N.target,P={x:N.clientX,y:N.clientY},U=b?.contains(L)||C?.contains(L),I=!Lfe(P,h);U?R():I&&(R(),E())};return document.addEventListener("pointermove",q),()=>document.removeEventListener("pointermove",q)}},[b,C,h,E,R]),O.jsx(s9,{...e,ref:c})}),[Mfe,Ofe]=k_(yw,{isInside:!1}),Nfe=yfe("TooltipContent"),s9=D.forwardRef((e,t)=>{const{__scopeTooltip:r,children:l,"aria-label":s,onEscapeKeyDown:c,onPointerDownOutside:h,...m}=e,b=Xw(Y1,r),E=U_(r),{onClose:C}=b;return D.useEffect(()=>(document.addEventListener(I2,C),()=>document.removeEventListener(I2,C)),[C]),D.useEffect(()=>{if(b.trigger){const S=R=>{R.target?.contains(b.trigger)&&C()};return window.addEventListener("scroll",S,{capture:!0}),()=>window.removeEventListener("scroll",S,{capture:!0})}},[b.trigger,C]),O.jsx(W1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:S=>S.preventDefault(),onDismiss:C,children:O.jsxs(O_,{"data-state":b.stateAttribute,...E,...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:[O.jsx(Nfe,{children:l}),O.jsx(Mfe,{scope:r,isInside:!0,children:O.jsx(lce,{id:b.contentId,role:"tooltip",children:s||l})})]})})});u9.displayName=Y1;var c9="TooltipArrow",f9=D.forwardRef((e,t)=>{const{__scopeTooltip:r,...l}=e,s=U_(r);return Ofe(c9,r).isInside?null:O.jsx(N_,{...s,...l,ref:t})});f9.displayName=c9;function $fe(e,t){const r=Math.abs(t.top-e.y),l=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),c=Math.abs(t.left-e.x);switch(Math.min(r,l,s,c)){case c:return"left";case s:return"right";case r:return"top";case l:return"bottom";default:throw new Error("unreachable")}}function Pfe(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 qfe(e){const{top:t,right:r,bottom:l,left:s}=e;return[{x:s,y:t},{x:r,y:t},{x:r,y:l},{x:s,y:l}]}function Lfe(e,t){const{x:r,y:l}=e;let s=!1;for(let c=0,h=t.length-1;c<t.length;h=c++){const m=t[c],b=t[h],E=m.x,C=m.y,S=b.x,R=b.y;C>l!=R>l&&r<(S-E)*(l-C)/(R-C)+E&&(s=!s)}return s}function jfe(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),zfe(t)}function zfe(e){if(e.length<=1)return e.slice();const t=[];for(let l=0;l<e.length;l++){const s=e[l];for(;t.length>=2;){const c=t[t.length-1],h=t[t.length-2];if((c.x-h.x)*(s.y-h.y)>=(c.y-h.y)*(s.x-h.x))t.pop();else break}t.push(s)}t.pop();const r=[];for(let l=e.length-1;l>=0;l--){const s=e[l];for(;r.length>=2;){const c=r[r.length-1],h=r[r.length-2];if((c.x-h.x)*(s.y-h.y)>=(c.y-h.y)*(s.x-h.x))r.pop();else break}r.push(s)}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 Bfe=a9,kfe=l9,Ufe=o9,Ife=i9,Hfe=u9,Vfe=f9;const d9=({delayDuration:e=0,...t})=>O.jsx(Bfe,{"data-slot":"tooltip-provider",delayDuration:e,...t}),p9=({...e})=>O.jsx(d9,{children:O.jsx(kfe,{"data-slot":"tooltip",...e})}),h9=({...e})=>O.jsx(Ufe,{"data-slot":"tooltip-trigger",...e}),m9=({className:e,sideOffset:t=0,children:r,arrowClassName:l,...s})=>O.jsx(Ife,{children:O.jsxs(Hfe,{"data-slot":"tooltip-content",sideOffset:t,className:Fe("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),...s,children:[r,O.jsx(Vfe,{className:Fe("bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",l)})]})}),Ffe=({label:e,open:t,defaultOpen:r,onOpenChange:l,...s})=>{const{className:c,...h}=Tw("Tooltip",s,{side:"top"});return O.jsxs(p9,{open:t,defaultOpen:r,onOpenChange:l,children:[O.jsx(h9,{asChild:!0,"data-slot":"tooltip-trigger",children:O.jsx(_w,{...h})}),O.jsx(m9,{"data-slot":"tooltip-content",side:h.side,sideOffset:h.offset,className:c,arrowClassName:h.arrowClassName,children:e})]})},Kfe=k.createContext(null);k.createContext(null);k.createContext(null);k.createContext(null);k.createContext(null);k.createContext({});k.createContext(null);k.createContext(null);const Ia=typeof document<"u"?k.useLayoutEffect:()=>{};var ID;const Gfe=(ID=k.useInsertionEffect)!==null&&ID!==void 0?ID:Ia;function nu(e){const t=k.useRef(null);return Gfe(()=>{t.current=e},[e]),k.useCallback((...r)=>{const l=t.current;return l?.(...r)},[])}function Yfe(e){let[t,r]=k.useState(e),l=k.useRef(null),s=nu(()=>{if(!l.current)return;let h=l.current.next();if(h.done){l.current=null;return}t===h.value?s():r(h.value)});Ia(()=>{l.current&&s()});let c=nu(h=>{l.current=h(t),s()});return[t,c]}const n_={prefix:String(Math.round(Math.random()*1e10)),current:0},v9=k.createContext(n_),Xfe=k.createContext(!1);let Qfe=!!(typeof window<"u"&&window.document&&window.document.createElement),HD=new WeakMap;function Zfe(e=!1){let t=k.useContext(v9),r=k.useRef(null);if(r.current===null&&!e){var l,s;let c=(s=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(l=s.ReactCurrentOwner)===null||l===void 0?void 0:l.current;if(c){let h=HD.get(c);h==null?HD.set(c,{id:t.current,state:c.memoizedState}):c.memoizedState!==h.state&&(t.current=h.id,HD.delete(c))}r.current=++t.current}return r.current}function Wfe(e){let t=k.useContext(v9);t===n_&&!Qfe&&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=Zfe(!!e),l=t===n_&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${l}-${r}`}function Jfe(e){let t=k.useId(),[r]=k.useState(Qw()),l=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${n_.prefix}`;return e||`${l}-${t}`}const ede=typeof k.useId=="function"?Jfe:Wfe;function tde(){return!1}function nde(){return!0}function rde(e){return()=>{}}function Qw(){return typeof k.useSyncExternalStore=="function"?k.useSyncExternalStore(rde,tde,nde):k.useContext(Xfe)}let ade=!!(typeof window<"u"&&window.document&&window.document.createElement),H1=new Map,nw;typeof FinalizationRegistry<"u"&&(nw=new FinalizationRegistry(e=>{H1.delete(e)}));function Om(e){let[t,r]=k.useState(e),l=k.useRef(null),s=ede(t),c=k.useRef(null);if(nw&&nw.register(c,s),ade){const h=H1.get(s);h&&!h.includes(l)?h.push(l):H1.set(s,[l])}return Ia(()=>{let h=s;return()=>{nw&&nw.unregister(c),H1.delete(h)}},[s]),k.useEffect(()=>{let h=l.current;return h&&r(h),()=>{h&&(l.current=null)}}),s}function lde(e,t){if(e===t)return e;let r=H1.get(e);if(r)return r.forEach(s=>s.current=t),t;let l=H1.get(t);return l?(l.forEach(s=>s.current=e),e):t}function ode(e=[]){let t=Om(),[r,l]=Yfe(t),s=k.useCallback(()=>{l(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,l]);return Ia(s,[t,s,...e]),r}function I_(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const ar=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},qc=e=>e&&"window"in e&&e.window===e?e:ar(e).defaultView||window;function ide(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function ude(e){return ide(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let sde=!1;function H_(){return sde}function ta(e,t){if(!H_())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:ude(r)?r=r.host:r=r.parentNode}return!1}const pi=(e=document)=>{var t;if(!H_())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 Qn(e){return H_()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class cde{get currentNode(){return this._currentNode}set currentNode(t){if(!ta(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,s=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=s,this._currentSetFor.add(m),l=s=h.host}else l=l.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(c),c.currentNode=s,this._currentSetFor.add(c),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return ta(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 s;if(typeof this.filter=="function"?s=this.filter(t):!((r=this.filter)===null||r===void 0)&&r.acceptNode&&(s=this.filter.acceptNode(t)),s===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 s=this.previousNode();return s&&(this.currentNode=s),s}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 s=this.previousNode();return s&&(this.currentNode=s),s}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,r,l,s){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=h=>{if(h.nodeType===Node.ELEMENT_NODE){const b=h.shadowRoot;if(b){const E=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(E),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=s??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 fde(e,t,r,l){return H_()?new cde(e,t,r,l):e.createTreeWalker(t,r,l)}function Fl(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let l=e[r];for(let s in l){let c=t[s],h=l[s];typeof c=="function"&&typeof h=="function"&&s[0]==="o"&&s[1]==="n"&&s.charCodeAt(2)>=65&&s.charCodeAt(2)<=90?t[s]=I_(c,h):(s==="className"||s==="UNSAFE_className")&&typeof c=="string"&&typeof h=="string"?t[s]=oM(c,h):s==="id"&&c&&h?t.id=lde(c,h):t[s]=h!==void 0?h:c}}return t}function dde(...e){return e.length===1&&e[0]?e[0]:t=>{let r=!1;const l=e.map(s=>{const c=YP(s,t);return r||(r=typeof c=="function"),c});if(r)return()=>{l.forEach((s,c)=>{typeof s=="function"?s():YP(e[c],null)})}}}function YP(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}const pde=new Set(["id"]),hde=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),mde=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),vde=new Set(["dir","lang","hidden","inert","translate"]),XP=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"]),gde=/^(data-.*)$/;function ox(e,t={}){let{labelable:r,isLink:l,global:s,events:c=s,propNames:h}=t,m={};for(const b in e)Object.prototype.hasOwnProperty.call(e,b)&&(pde.has(b)||r&&hde.has(b)||l&&mde.has(b)||s&&vde.has(b)||c&&XP.has(b)||b.endsWith("Capture")&&XP.has(b.slice(0,-7))||h?.has(b)||gde.test(b))&&(m[b]=e[b]);return m}function Nm(e){if(yde())e.focus({preventScroll:!0});else{let t=bde(e);e.focus(),xde(t)}}let gT=null;function yde(){if(gT==null){gT=!1;try{document.createElement("div").focus({get preventScroll(){return gT=!0,!0}})}catch{}}return gT}function bde(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 xde(e){for(let{element:t,scrollTop:r,scrollLeft:l}of e)t.scrollTop=r,t.scrollLeft=l}function V_(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 xO(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 qm(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const o0=qm(function(){return xO(/^Mac/i)}),Ede=qm(function(){return xO(/^iPhone/i)}),g9=qm(function(){return xO(/^iPad/i)||o0()&&navigator.maxTouchPoints>1}),EO=qm(function(){return Ede()||g9()}),Sde=qm(function(){return o0()||EO()}),Cde=qm(function(){return V_(/AppleWebKit/i)&&!SO()}),SO=qm(function(){return V_(/Chrome/i)}),CO=qm(function(){return V_(/Android/i)}),wde=qm(function(){return V_(/Firefox/i)}),Rde=k.createContext({isNative:!0,open:_de,useHref:e=>e});function wO(){return k.useContext(Rde)}function i0(e,t,r=!0){var l,s;let{metaKey:c,ctrlKey:h,altKey:m,shiftKey:b}=t;wde()&&(!((s=window.event)===null||s===void 0||(l=s.type)===null||l===void 0)&&l.startsWith("key"))&&e.target==="_blank"&&(o0()?c=!0:h=!0);let E=Cde()&&o0()&&!g9()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:c,ctrlKey:h,altKey:m,shiftKey:b}):new MouseEvent("click",{metaKey:c,ctrlKey:h,altKey:m,shiftKey:b,bubbles:!0,cancelable:!0});i0.isOpening=r,Nm(e),e.dispatchEvent(E),i0.isOpening=!1}i0.isOpening=!1;function Tde(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 _de(e,t){Tde(e,r=>i0(r,t))}function Ade(e){let t=wO();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 _g=new Map,V2=new Set;function QP(){if(typeof window>"u")return;function e(l){return"propertyName"in l}let t=l=>{if(!e(l)||!l.target)return;let s=_g.get(l.target);s||(s=new Set,_g.set(l.target,s),l.target.addEventListener("transitioncancel",r,{once:!0})),s.add(l.propertyName)},r=l=>{if(!e(l)||!l.target)return;let s=_g.get(l.target);if(s&&(s.delete(l.propertyName),s.size===0&&(l.target.removeEventListener("transitioncancel",r),_g.delete(l.target)),_g.size===0)){for(let c of V2)c();V2.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?QP():document.addEventListener("DOMContentLoaded",QP));function Dde(){for(const[e]of _g)"isConnected"in e&&!e.isConnected&&_g.delete(e)}function y9(e){requestAnimationFrame(()=>{Dde(),_g.size===0?e():V2.add(e)})}function F_(){let e=k.useRef(new Map),t=k.useCallback((s,c,h,m)=>{let b=m?.once?(...E)=>{e.current.delete(h),h(...E)}:h;e.current.set(h,{type:c,eventTarget:s,fn:b,options:m}),s.addEventListener(c,b,m)},[]),r=k.useCallback((s,c,h,m)=>{var b;let E=((b=e.current.get(h))===null||b===void 0?void 0:b.fn)||h;s.removeEventListener(c,E,m),e.current.delete(h)},[]),l=k.useCallback(()=>{e.current.forEach((s,c)=>{r(s.eventTarget,s.type,c,s.options)})},[r]);return k.useEffect(()=>l,[l]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:l}}function Mde(e,t){let{id:r,"aria-label":l,"aria-labelledby":s}=e;return r=Om(r),s&&l?s=[...new Set([r,...s.trim().split(/\s+/)])].join(" "):s&&(s=s.trim().split(/\s+/).join(" ")),!l&&!s&&t&&(l=t),{id:r,"aria-label":l,"aria-labelledby":s}}function K_(e){const t=k.useRef(null),r=k.useRef(void 0),l=k.useCallback(s=>{if(typeof e=="function"){const c=e,h=c(s);return()=>{typeof h=="function"?h():c(null)}}else if(e)return e.current=s,()=>{e.current=null}},[e]);return k.useMemo(()=>({get current(){return t.current},set current(s){t.current=s,r.current&&(r.current(),r.current=void 0),s!=null&&(r.current=l(s))}}),[l])}function Ode(e,t){const r=k.useRef(!0),l=k.useRef(null);k.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),k.useEffect(()=>{let s=l.current;r.current?r.current=!1:(!s||t.some((c,h)=>!Object.is(c,s[h])))&&e(),l.current=t},t)}function ZP(e,t){const r=k.useRef(!0),l=k.useRef(null);Ia(()=>(r.current=!0,()=>{r.current=!1}),[]),Ia(()=>{r.current?r.current=!1:(!l.current||t.some((s,c)=>!Object.is(s,l[c])))&&e(),l.current=t},t)}function b9(e,t){Ia(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function bw(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 Fb(e,t){let r=e;for(bw(r,t)&&(r=r.parentElement);r&&!bw(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function Nde(e,t){const r=[];for(;e&&e!==document.documentElement;)bw(e,t)&&r.push(e),e=e.parentElement;return r}function j1(e){return o0()?e.metaKey:e.ctrlKey}let $de=0;const VD=new Map;function x9(e){let[t,r]=k.useState();return Ia(()=>{if(!e)return;let l=VD.get(e);if(l)r(l.element.id);else{let s=`react-aria-description-${$de++}`;r(s);let c=document.createElement("div");c.id=s,c.style.display="none",c.textContent=e,document.body.appendChild(c),l={refCount:0,element:c},VD.set(e,l)}return l.refCount++,()=>{l&&--l.refCount===0&&(l.element.remove(),VD.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function yT(e,t,r,l){let s=nu(r),c=r==null;k.useEffect(()=>{if(c||!e.current)return;let h=e.current;return h.addEventListener(t,s,l),()=>{h.removeEventListener(t,s,l)}},[e,t,l,c,s])}function E9(e,t){let r=WP(e,t,"left"),l=WP(e,t,"top"),s=t.offsetWidth,c=t.offsetHeight,h=e.scrollLeft,m=e.scrollTop,{borderTopWidth:b,borderLeftWidth:E,scrollPaddingTop:C,scrollPaddingRight:S,scrollPaddingBottom:R,scrollPaddingLeft:M}=getComputedStyle(e),{scrollMarginTop:q,scrollMarginRight:N,scrollMarginBottom:L,scrollMarginLeft:P}=getComputedStyle(t),U=h+parseInt(E,10),I=m+parseInt(b,10),Y=U+e.clientWidth,V=I+e.clientHeight,F=parseInt(C,10)||0,K=parseInt(R,10)||0,Q=parseInt(S,10)||0,he=parseInt(M,10)||0,de=parseInt(q,10)||0,W=parseInt(L,10)||0,se=parseInt(N,10)||0,le=parseInt(P,10)||0,ae=r-le,xe=r+s+se,B=l-de,Z=l+c+W,te=h+parseInt(E,10)+he,be=Y-Q,re=m+parseInt(b,10)+F,oe=V-K;if((ae>te||xe<be)&&(ae<=h+he?h=ae-parseInt(E,10)-he:xe>Y-Q&&(h+=xe-Y+Q)),(B>re||Z<oe)&&(B<=I+F?m=B-parseInt(b,10)-F:Z>V-K&&(m+=Z-V+K)),process.env.NODE_ENV==="test"){e.scrollLeft=h,e.scrollTop=m;return}e.scrollTo({left:h,top:m})}function WP(e,t,r){const l=r==="left"?"offsetLeft":"offsetTop";let s=0;for(;t.offsetParent&&(s+=t[l],t.offsetParent!==e);){if(t.offsetParent.contains(e)){s-=e[l];break}t=t.offsetParent}return s}function Tg(e,t){if(e&&document.contains(e)){let h=document.scrollingElement||document.documentElement;if(!(window.getComputedStyle(h).overflow==="hidden")&&!SO()){var r;let{left:b,top:E}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:C,top:S}=e.getBoundingClientRect();if(Math.abs(b-C)>1||Math.abs(E-S)>1){var l,s,c;t==null||(s=t.containingElement)===null||s===void 0||(l=s.scrollIntoView)===null||l===void 0||l.call(s,{block:"center",inline:"center"}),(c=e.scrollIntoView)===null||c===void 0||c.call(e,{block:"nearest"})}}else{let b=Nde(e);for(let E of b)E9(E,e)}}}function F2(e){return e.pointerType===""&&e.isTrusted?!0:CO()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Pde(e){return!CO()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function qde(e,t){let{collection:r,onLoadMore:l,scrollOffset:s=1}=e,c=k.useRef(null),h=nu(m=>{for(let b of m)b.isIntersecting&&l&&l()});Ia(()=>(t.current&&(c.current=new IntersectionObserver(h,{root:Fb(t?.current),rootMargin:`0px ${100*s}% ${100*s}% ${100*s}%`}),c.current.observe(t.current)),()=>{c.current&&c.current.disconnect()}),[r,h,t,s])}function Lde(e){const t=k.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const jde="react-aria-clear-focus",zde="react-aria-focus",Bde=typeof Element<"u"&&"checkVisibility"in Element.prototype;function kde(e){const t=qc(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:l}=e.style,s=r!=="none"&&l!=="hidden"&&l!=="collapse";if(s){const{getComputedStyle:c}=e.ownerDocument.defaultView;let{display:h,visibility:m}=c(e);s=h!=="none"&&m!=="hidden"&&m!=="collapse"}return s}function Ude(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 RO(e,t){return Bde?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&kde(e)&&Ude(e,t)&&(!e.parentElement||RO(e.parentElement,e))}const TO=["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"],Ide=TO.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";TO.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Hde=TO.join(':not([hidden]):not([tabindex="-1"]),');function S9(e){return e.matches(Ide)&&RO(e)&&!C9(e)}function Vde(e){return e.matches(Hde)&&RO(e)&&!C9(e)}function C9(e){let t=e;for(;t!=null;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function _O(e,t,r){let[l,s]=k.useState(e||t),c=k.useRef(e!==void 0),h=e!==void 0;k.useEffect(()=>{let E=c.current;E!==h&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${E?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}.`),c.current=h},[h]);let m=h?e:l,b=k.useCallback((E,...C)=>{let S=(R,...M)=>{r&&(Object.is(m,R)||r(R,...M)),h||(m=R)};typeof E=="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"),s((M,...q)=>{let N=E(h?m:M,...q);return S(N,...C),h?M:N})):(h||s(E),S(E,...C))},[h,m,r]);return[m,b]}const w9=Symbol("default");function R9({values:e,children:t}){for(let[r,l]of e)t=k.createElement(r.Provider,{value:l},t);return t}function ix(e){let{className:t,style:r,children:l,defaultClassName:s,defaultChildren:c,defaultStyle:h,values:m}=e;return k.useMemo(()=>{let b,E,C;return typeof t=="function"?b=t({...m,defaultClassName:s}):b=t,typeof r=="function"?E=r({...m,defaultStyle:h||{}}):E=r,typeof l=="function"?C=l({...m,defaultChildren:c}):l==null?C=c:C=l,{className:b??s,style:E||h?{...h,...E}:void 0,children:C??c,"data-rac":""}},[t,r,l,s,c,h,m])}function T9(e,t){return r=>t(typeof e=="function"?e(r):e,r)}function Fde(e,t){let r=k.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let l=t||w9;if(!r.slots[l]){let s=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 ${s}.`)}return r.slots[l]}return r}function _9(e,t,r){let l=Fde(r,e.slot)||{},{ref:s,...c}=l,h=K_(k.useMemo(()=>dde(t,s),[t,s])),m=Fl(c,e);return"style"in c&&c.style&&"style"in e&&e.style&&(typeof c.style=="function"||typeof e.style=="function"?m.style=b=>{let E=typeof c.style=="function"?c.style(b):c.style,C={...b.defaultStyle,...E},S=typeof e.style=="function"?e.style({...b,defaultStyle:C}):e.style;return{...C,...S}}:m.style={...c.style,...e.style}),[m,h]}const A9=7e3;let dp=null;function K2(e,t="assertive",r=A9){dp?dp.announce(e,t,r):(dp=new Kde,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?dp.announce(e,t,r):setTimeout(()=>{dp?.isAttached()&&dp?.announce(e,t,r)},100))}class Kde{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=A9){var s,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"?(s=this.assertiveLog)===null||s===void 0||s.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 Gde=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Yde=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Xde(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 Gde.has(r.script)}let t=e.split("-")[0];return Yde.has(t)}const Qde=Symbol.for("react-aria.i18n.locale");function D9(){let e=typeof window<"u"&&window[Qde]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Xde(e)?"rtl":"ltr"}}let G2=D9(),rw=new Set;function JP(){G2=D9();for(let e of rw)e(G2)}function Zde(){let e=Qw(),[t,r]=k.useState(G2);return k.useEffect(()=>(rw.size===0&&window.addEventListener("languagechange",JP),rw.add(r),()=>{rw.delete(r),rw.size===0&&window.removeEventListener("languagechange",JP)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Wde=k.createContext(null);function Zw(){let e=Zde();return k.useContext(Wde)||e}const Jde=Symbol.for("react-aria.i18n.locale"),epe=Symbol.for("react-aria.i18n.strings");let N1;class G_{getStringForLocale(t,r){let s=this.getStringsForLocale(r)[t];if(!s)throw new Error(`Could not find intl message ${t} in ${r} locale`);return s}getStringsForLocale(t){let r=this.strings[t];return r||(r=tpe(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Jde];if(N1===void 0){let s=window[epe];if(!s)return null;N1={};for(let c in s)N1[c]=new G_({[r]:s[c]},r)}let l=N1?.[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 tpe(e,t,r="en-US"){if(t[e])return t[e];let l=npe(e);if(t[l])return t[l];for(let s in t)if(s.startsWith(l+"-"))return t[s];return t[r]}function npe(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const eq=new Map,tq=new Map;class rpe{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 s=r["="+t];if(s)return typeof s=="function"?s():s;let c=this.locale+":"+l,h=eq.get(c);h||(h=new Intl.PluralRules(this.locale,{type:l}),eq.set(c,h));let m=h.select(t);return s=r[m]||r.other,typeof s=="function"?s():s}number(t){let r=tq.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),tq.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 nq=new WeakMap;function ape(e){let t=nq.get(e);return t||(t=new G_(e),nq.set(e,t)),t}function lpe(e,t){return t&&G_.getGlobalDictionaryForPackage(t)||ape(e)}function Y_(e,t){let{locale:r}=Zw(),l=lpe(e,t);return k.useMemo(()=>new rpe(r,l),[r,l])}function ope(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ipe(e,t,r){ope(e,t),t.set(e,r)}let FD=new Map;function M9(e){let{locale:t}=Zw(),r=t+(e?Object.entries(e).sort((s,c)=>s[0]<c[0]?-1:1).join():"");if(FD.has(r))return FD.get(r);let l=new Intl.Collator(t,e);return FD.set(r,l),l}function AO(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function O9(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function N9(e){let t=k.useRef({isFocused:!1,observer:null});Ia(()=>{const l=t.current;return()=>{l.observer&&(l.observer.disconnect(),l.observer=null)}},[]);let r=nu(l=>{e?.(l)});return k.useCallback(l=>{if(l.target instanceof HTMLButtonElement||l.target instanceof HTMLInputElement||l.target instanceof HTMLTextAreaElement||l.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=l.target,c=h=>{if(t.current.isFocused=!1,s.disabled){let m=AO(h);r(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",c,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var h;(h=t.current.observer)===null||h===void 0||h.disconnect();let m=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let r_=!1;function rq(e){for(;e&&!S9(e);)e=e.parentElement;let t=qc(e),r=t.document.activeElement;if(!r||r===e)return;r_=!0;let l=!1,s=C=>{(C.target===r||l)&&C.stopImmediatePropagation()},c=C=>{(C.target===r||l)&&(C.stopImmediatePropagation(),!e&&!l&&(l=!0,Nm(r),b()))},h=C=>{(C.target===e||l)&&C.stopImmediatePropagation()},m=C=>{(C.target===e||l)&&(C.stopImmediatePropagation(),l||(l=!0,Nm(r),b()))};t.addEventListener("blur",s,!0),t.addEventListener("focusout",c,!0),t.addEventListener("focusin",m,!0),t.addEventListener("focus",h,!0);let b=()=>{cancelAnimationFrame(E),t.removeEventListener("blur",s,!0),t.removeEventListener("focusout",c,!0),t.removeEventListener("focusin",m,!0),t.removeEventListener("focus",h,!0),r_=!1,l=!1},E=requestAnimationFrame(b);return b}let z1="default",Y2="",DT=new WeakMap;function aq(e){if(EO()){if(z1==="default"){const t=ar(e);Y2=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}z1="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";DT.set(e,e.style[t]),e.style[t]="none"}}function KD(e){if(EO()){if(z1!=="disabled")return;z1="restoring",setTimeout(()=>{y9(()=>{if(z1==="restoring"){const t=ar(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Y2||""),Y2="",z1="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&DT.has(e)){let t=DT.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),DT.delete(e)}}const $9=k.createContext({register:()=>{}});$9.displayName="PressResponderContext";function upe(e,t){return t.get?t.get.call(e):t.value}function P9(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function spe(e,t){var r=P9(e,t,"get");return upe(e,r)}function cpe(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 lq(e,t,r){var l=P9(e,t,"set");return cpe(e,l,r),r}function fpe(e){let t=k.useContext($9);if(t){let{register:r,...l}=t;e=Fl(l,e),r()}return b9(t,e.ref),e}var bT=new WeakMap;class xT{continuePropagation(){lq(this,bT,!1)}get shouldStopPropagation(){return spe(this,bT)}constructor(t,r,l,s){ipe(this,bT,{writable:!0,value:void 0}),lq(this,bT,!0);var c;let h=(c=s?.target)!==null&&c!==void 0?c:l.currentTarget;const m=h?.getBoundingClientRect();let b,E=0,C,S=null;l.clientX!=null&&l.clientY!=null&&(C=l.clientX,S=l.clientY),m&&(C!=null&&S!=null?(b=C-m.left,E=S-m.top):(b=m.width/2,E=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=b,this.y=E}}const oq=Symbol("linkClicked"),iq="react-aria-pressable-style",uq="data-react-aria-pressable";function DO(e){let{onPress:t,onPressChange:r,onPressStart:l,onPressEnd:s,onPressUp:c,onClick:h,isDisabled:m,isPressed:b,preventFocusOnPress:E,shouldCancelOnPointerExit:C,allowTextSelectionOnPress:S,ref:R,...M}=fpe(e),[q,N]=k.useState(!1),L=k.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:P,removeAllGlobalListeners:U}=F_(),I=nu((W,se)=>{let le=L.current;if(m||le.didFirePressStart)return!1;let ae=!0;if(le.isTriggeringEvent=!0,l){let xe=new xT("pressstart",se,W);l(xe),ae=xe.shouldStopPropagation}return r&&r(!0),le.isTriggeringEvent=!1,le.didFirePressStart=!0,N(!0),ae}),Y=nu((W,se,le=!0)=>{let ae=L.current;if(!ae.didFirePressStart)return!1;ae.didFirePressStart=!1,ae.isTriggeringEvent=!0;let xe=!0;if(s){let B=new xT("pressend",se,W);s(B),xe=B.shouldStopPropagation}if(r&&r(!1),N(!1),t&&le&&!m){let B=new xT("press",se,W);t(B),xe&&(xe=B.shouldStopPropagation)}return ae.isTriggeringEvent=!1,xe}),V=nu((W,se)=>{let le=L.current;if(m)return!1;if(c){le.isTriggeringEvent=!0;let ae=new xT("pressup",se,W);return c(ae),le.isTriggeringEvent=!1,ae.shouldStopPropagation}return!0}),F=nu(W=>{let se=L.current;if(se.isPressed&&se.target){se.didFirePressStart&&se.pointerType!=null&&Y(Ub(se.target,W),se.pointerType,!1),se.isPressed=!1,se.isOverTarget=!1,se.activePointerId=null,se.pointerType=null,U(),S||KD(se.target);for(let le of se.disposables)le();se.disposables=[]}}),K=nu(W=>{C&&F(W)}),Q=nu(W=>{m||h?.(W)}),he=nu((W,se)=>{if(!m&&h){let le=new MouseEvent("click",W);O9(le,se),h(AO(le))}}),de=k.useMemo(()=>{let W=L.current,se={onKeyDown(ae){if(GD(ae.nativeEvent,ae.currentTarget)&&ta(ae.currentTarget,Qn(ae.nativeEvent))){var xe;fq(Qn(ae.nativeEvent),ae.key)&&ae.preventDefault();let B=!0;if(!W.isPressed&&!ae.repeat){W.target=ae.currentTarget,W.isPressed=!0,W.pointerType="keyboard",B=I(ae,"keyboard");let Z=ae.currentTarget,te=be=>{GD(be,Z)&&!be.repeat&&ta(Z,Qn(be))&&W.target&&V(Ub(W.target,be),"keyboard")};P(ar(ae.currentTarget),"keyup",I_(te,le),!0)}B&&ae.stopPropagation(),ae.metaKey&&o0()&&((xe=W.metaKeyEvents)===null||xe===void 0||xe.set(ae.key,ae.nativeEvent))}else ae.key==="Meta"&&(W.metaKeyEvents=new Map)},onClick(ae){if(!(ae&&!ta(ae.currentTarget,Qn(ae.nativeEvent)))&&ae&&ae.button===0&&!W.isTriggeringEvent&&!i0.isOpening){let xe=!0;if(m&&ae.preventDefault(),!W.ignoreEmulatedMouseEvents&&!W.isPressed&&(W.pointerType==="virtual"||F2(ae.nativeEvent))){let B=I(ae,"virtual"),Z=V(ae,"virtual"),te=Y(ae,"virtual");Q(ae),xe=B&&Z&&te}else if(W.isPressed&&W.pointerType!=="keyboard"){let B=W.pointerType||ae.nativeEvent.pointerType||"virtual",Z=V(Ub(ae.currentTarget,ae),B),te=Y(Ub(ae.currentTarget,ae),B,!0);xe=Z&&te,W.isOverTarget=!1,Q(ae),F(ae)}W.ignoreEmulatedMouseEvents=!1,xe&&ae.stopPropagation()}}},le=ae=>{var xe;if(W.isPressed&&W.target&&GD(ae,W.target)){var B;fq(Qn(ae),ae.key)&&ae.preventDefault();let te=Qn(ae),be=ta(W.target,Qn(ae));Y(Ub(W.target,ae),"keyboard",be),be&&he(ae,W.target),U(),ae.key!=="Enter"&&MO(W.target)&&ta(W.target,te)&&!ae[oq]&&(ae[oq]=!0,i0(W.target,ae,!1)),W.isPressed=!1,(B=W.metaKeyEvents)===null||B===void 0||B.delete(ae.key)}else if(ae.key==="Meta"&&(!((xe=W.metaKeyEvents)===null||xe===void 0)&&xe.size)){var Z;let te=W.metaKeyEvents;W.metaKeyEvents=void 0;for(let be of te.values())(Z=W.target)===null||Z===void 0||Z.dispatchEvent(new KeyboardEvent("keyup",be))}};if(typeof PointerEvent<"u"){se.onPointerDown=B=>{if(B.button!==0||!ta(B.currentTarget,Qn(B.nativeEvent)))return;if(Pde(B.nativeEvent)){W.pointerType="virtual";return}W.pointerType=B.pointerType;let Z=!0;if(!W.isPressed){W.isPressed=!0,W.isOverTarget=!0,W.activePointerId=B.pointerId,W.target=B.currentTarget,S||aq(W.target),Z=I(B,W.pointerType);let te=Qn(B.nativeEvent);"releasePointerCapture"in te&&te.releasePointerCapture(B.pointerId),P(ar(B.currentTarget),"pointerup",ae,!1),P(ar(B.currentTarget),"pointercancel",xe,!1)}Z&&B.stopPropagation()},se.onMouseDown=B=>{if(ta(B.currentTarget,Qn(B.nativeEvent))&&B.button===0){if(E){let Z=rq(B.target);Z&&W.disposables.push(Z)}B.stopPropagation()}},se.onPointerUp=B=>{!ta(B.currentTarget,Qn(B.nativeEvent))||W.pointerType==="virtual"||B.button===0&&!W.isPressed&&V(B,W.pointerType||B.pointerType)},se.onPointerEnter=B=>{B.pointerId===W.activePointerId&&W.target&&!W.isOverTarget&&W.pointerType!=null&&(W.isOverTarget=!0,I(Ub(W.target,B),W.pointerType))},se.onPointerLeave=B=>{B.pointerId===W.activePointerId&&W.target&&W.isOverTarget&&W.pointerType!=null&&(W.isOverTarget=!1,Y(Ub(W.target,B),W.pointerType,!1),K(B))};let ae=B=>{if(B.pointerId===W.activePointerId&&W.isPressed&&B.button===0&&W.target){if(ta(W.target,Qn(B))&&W.pointerType!=null){let Z=!1,te=setTimeout(()=>{W.isPressed&&W.target instanceof HTMLElement&&(Z?F(B):(Nm(W.target),W.target.click()))},80);P(B.currentTarget,"click",()=>Z=!0,!0),W.disposables.push(()=>clearTimeout(te))}else F(B);W.isOverTarget=!1}},xe=B=>{F(B)};se.onDragStart=B=>{ta(B.currentTarget,Qn(B.nativeEvent))&&F(B)}}else if(process.env.NODE_ENV==="test"){se.onMouseDown=B=>{if(B.button!==0||!ta(B.currentTarget,Qn(B.nativeEvent)))return;if(W.ignoreEmulatedMouseEvents){B.stopPropagation();return}if(W.isPressed=!0,W.isOverTarget=!0,W.target=B.currentTarget,W.pointerType=F2(B.nativeEvent)?"virtual":"mouse",ws.flushSync(()=>I(B,W.pointerType))&&B.stopPropagation(),E){let te=rq(B.target);te&&W.disposables.push(te)}P(ar(B.currentTarget),"mouseup",ae,!1)},se.onMouseEnter=B=>{if(!ta(B.currentTarget,Qn(B.nativeEvent)))return;let Z=!0;W.isPressed&&!W.ignoreEmulatedMouseEvents&&W.pointerType!=null&&(W.isOverTarget=!0,Z=I(B,W.pointerType)),Z&&B.stopPropagation()},se.onMouseLeave=B=>{if(!ta(B.currentTarget,Qn(B.nativeEvent)))return;let Z=!0;W.isPressed&&!W.ignoreEmulatedMouseEvents&&W.pointerType!=null&&(W.isOverTarget=!1,Z=Y(B,W.pointerType,!1),K(B)),Z&&B.stopPropagation()},se.onMouseUp=B=>{ta(B.currentTarget,Qn(B.nativeEvent))&&!W.ignoreEmulatedMouseEvents&&B.button===0&&!W.isPressed&&V(B,W.pointerType||"mouse")};let ae=B=>{if(B.button===0){if(W.ignoreEmulatedMouseEvents){W.ignoreEmulatedMouseEvents=!1;return}W.target&&W.target.contains(B.target)&&W.pointerType!=null||F(B),W.isOverTarget=!1}};se.onTouchStart=B=>{if(!ta(B.currentTarget,Qn(B.nativeEvent)))return;let Z=dpe(B.nativeEvent);if(!Z)return;W.activePointerId=Z.identifier,W.ignoreEmulatedMouseEvents=!0,W.isOverTarget=!0,W.isPressed=!0,W.target=B.currentTarget,W.pointerType="touch",S||aq(W.target),I(Cg(W.target,B),W.pointerType)&&B.stopPropagation(),P(qc(B.currentTarget),"scroll",xe,!0)},se.onTouchMove=B=>{if(!ta(B.currentTarget,Qn(B.nativeEvent)))return;if(!W.isPressed){B.stopPropagation();return}let Z=sq(B.nativeEvent,W.activePointerId),te=!0;Z&&cq(Z,B.currentTarget)?!W.isOverTarget&&W.pointerType!=null&&(W.isOverTarget=!0,te=I(Cg(W.target,B),W.pointerType)):W.isOverTarget&&W.pointerType!=null&&(W.isOverTarget=!1,te=Y(Cg(W.target,B),W.pointerType,!1),K(Cg(W.target,B))),te&&B.stopPropagation()},se.onTouchEnd=B=>{if(!ta(B.currentTarget,Qn(B.nativeEvent)))return;if(!W.isPressed){B.stopPropagation();return}let Z=sq(B.nativeEvent,W.activePointerId),te=!0;Z&&cq(Z,B.currentTarget)&&W.pointerType!=null?(V(Cg(W.target,B),W.pointerType),te=Y(Cg(W.target,B),W.pointerType),he(B.nativeEvent,W.target)):W.isOverTarget&&W.pointerType!=null&&(te=Y(Cg(W.target,B),W.pointerType,!1)),te&&B.stopPropagation(),W.isPressed=!1,W.activePointerId=null,W.isOverTarget=!1,W.ignoreEmulatedMouseEvents=!0,W.target&&!S&&KD(W.target),U()},se.onTouchCancel=B=>{ta(B.currentTarget,Qn(B.nativeEvent))&&(B.stopPropagation(),W.isPressed&&F(Cg(W.target,B)))};let xe=B=>{W.isPressed&&ta(Qn(B),W.target)&&F({currentTarget:W.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};se.onDragStart=B=>{ta(B.currentTarget,Qn(B.nativeEvent))&&F(B)}}return se},[P,m,E,U,S,F,K,Y,I,V,Q,he]);return k.useEffect(()=>{if(!R||process.env.NODE_ENV==="test")return;const W=ar(R.current);if(!W||!W.head||W.getElementById(iq))return;const se=W.createElement("style");se.id=iq,se.textContent=`
|
|
353
|
+
@layer {
|
|
354
|
+
[${uq}] {
|
|
355
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
`.trim(),W.head.prepend(se)},[R]),k.useEffect(()=>{let W=L.current;return()=>{var se;S||KD((se=W.target)!==null&&se!==void 0?se:void 0);for(let le of W.disposables)le();W.disposables=[]}},[S]),{isPressed:b||q,pressProps:Fl(M,de,{[uq]:!0})}}function MO(e){return e.tagName==="A"&&e.hasAttribute("href")}function GD(e,t){const{key:r,code:l}=e,s=t,c=s.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||l==="Space")&&!(s instanceof qc(s).HTMLInputElement&&!q9(s,r)||s instanceof qc(s).HTMLTextAreaElement||s.isContentEditable)&&!((c==="link"||!c&&MO(s))&&r!=="Enter")}function dpe(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function sq(e,t){const r=e.changedTouches;for(let l=0;l<r.length;l++){const s=r[l];if(s.identifier===t)return s}return null}function Cg(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 Ub(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 ppe(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 hpe(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function cq(e,t){let r=t.getBoundingClientRect(),l=ppe(e);return hpe(r,l)}function mpe(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!MO(e)}function fq(e,t){return e instanceof HTMLInputElement?!q9(e,t):mpe(e)}const vpe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function q9(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":vpe.has(e.type)}let jg=null,xw=new Set,iw=new Map,u0=!1,X2=!1;const gpe={Tab:!0,Escape:!0};function OO(e,t){for(let r of xw)r(e,t)}function ype(e){return!(e.metaKey||!o0()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function a_(e){u0=!0,ype(e)&&(jg="keyboard",OO("keyboard",e))}function Pc(e){jg="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(u0=!0,OO("pointer",e))}function L9(e){F2(e)&&(u0=!0,jg="virtual")}function j9(e){e.target===window||e.target===document||r_||!e.isTrusted||(!u0&&!X2&&(jg="virtual",OO("virtual",e)),u0=!1,X2=!1)}function z9(){r_||(u0=!1,X2=!0)}function l_(e){if(typeof window>"u"||typeof document>"u"||iw.get(qc(e)))return;const t=qc(e),r=ar(e);let l=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){u0=!0,l.apply(this,arguments)},r.addEventListener("keydown",a_,!0),r.addEventListener("keyup",a_,!0),r.addEventListener("click",L9,!0),t.addEventListener("focus",j9,!0),t.addEventListener("blur",z9,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",Pc,!0),r.addEventListener("pointermove",Pc,!0),r.addEventListener("pointerup",Pc,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",Pc,!0),r.addEventListener("mousemove",Pc,!0),r.addEventListener("mouseup",Pc,!0)),t.addEventListener("beforeunload",()=>{B9(e)},{once:!0}),iw.set(t,{focus:l})}const B9=(e,t)=>{const r=qc(e),l=ar(e);t&&l.removeEventListener("DOMContentLoaded",t),iw.has(r)&&(r.HTMLElement.prototype.focus=iw.get(r).focus,l.removeEventListener("keydown",a_,!0),l.removeEventListener("keyup",a_,!0),l.removeEventListener("click",L9,!0),r.removeEventListener("focus",j9,!0),r.removeEventListener("blur",z9,!1),typeof PointerEvent<"u"?(l.removeEventListener("pointerdown",Pc,!0),l.removeEventListener("pointermove",Pc,!0),l.removeEventListener("pointerup",Pc,!0)):process.env.NODE_ENV==="test"&&(l.removeEventListener("mousedown",Pc,!0),l.removeEventListener("mousemove",Pc,!0),l.removeEventListener("mouseup",Pc,!0)),iw.delete(r))};function bpe(e){const t=ar(e);let r;return t.readyState!=="loading"?l_(e):(r=()=>{l_(e)},t.addEventListener("DOMContentLoaded",r)),()=>B9(e,r)}typeof document<"u"&&bpe();function NO(){return jg!=="pointer"}function o_(){return jg}function xpe(){l_();let[e,t]=k.useState(jg);return k.useEffect(()=>{let r=()=>{t(jg)};return xw.add(r),()=>{xw.delete(r)}},[]),Qw()?null:e}const Epe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Spe(e,t,r){let l=ar(r?.target);const s=typeof window<"u"?qc(r?.target).HTMLInputElement:HTMLInputElement,c=typeof window<"u"?qc(r?.target).HTMLTextAreaElement:HTMLTextAreaElement,h=typeof window<"u"?qc(r?.target).HTMLElement:HTMLElement,m=typeof window<"u"?qc(r?.target).KeyboardEvent:KeyboardEvent;return e=e||l.activeElement instanceof s&&!Epe.has(l.activeElement.type)||l.activeElement instanceof c||l.activeElement instanceof h&&l.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof m&&!gpe[r.key])}function Cpe(e,t,r){l_(),k.useEffect(()=>{let l=(s,c)=>{Spe(!!r?.isTextInput,s,c)&&e(NO())};return xw.add(l),()=>{xw.delete(l)}},t)}function $c(e){const t=ar(e),r=pi(t);if(o_()==="virtual"){let l=r;y9(()=>{pi(t)===l&&e.isConnected&&Nm(e)})}else Nm(e)}function k9(e){let{isDisabled:t,onFocus:r,onBlur:l,onFocusChange:s}=e;const c=k.useCallback(b=>{if(b.target===b.currentTarget)return l&&l(b),s&&s(!1),!0},[l,s]),h=N9(c),m=k.useCallback(b=>{const E=ar(b.target),C=E?pi(E):pi();b.target===b.currentTarget&&C===Qn(b.nativeEvent)&&(r&&r(b),s&&s(!0),h(b))},[s,r,h]);return{focusProps:{onFocus:!t&&(r||s||l)?m:void 0,onBlur:!t&&(l||s)?c:void 0}}}function dq(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 wpe(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:dq(e.onKeyDown),onKeyUp:dq(e.onKeyUp)}}}let Q2=k.createContext(null);function Rpe(e){let t=k.useContext(Q2)||{};b9(t,e);let{ref:r,...l}=t;return l}function Tpe(e,t){let{focusProps:r}=k9(e),{keyboardProps:l}=wpe(e),s=Fl(r,l),c=Rpe(t),h=e.isDisabled?{}:c,m=k.useRef(e.autoFocus);k.useEffect(()=>{m.current&&t.current&&$c(t.current),m.current=!1},[t]);let b=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(b=void 0),{focusableProps:Fl({...s,tabIndex:b},h)}}function U9(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:l,onFocusWithinChange:s}=e,c=k.useRef({isFocusWithin:!1}),{addGlobalListener:h,removeAllGlobalListeners:m}=F_(),b=k.useCallback(S=>{S.currentTarget.contains(S.target)&&c.current.isFocusWithin&&!S.currentTarget.contains(S.relatedTarget)&&(c.current.isFocusWithin=!1,m(),r&&r(S),s&&s(!1))},[r,s,c,m]),E=N9(b),C=k.useCallback(S=>{if(!S.currentTarget.contains(S.target))return;const R=ar(S.target),M=pi(R);if(!c.current.isFocusWithin&&M===Qn(S.nativeEvent)){l&&l(S),s&&s(!0),c.current.isFocusWithin=!0,E(S);let q=S.currentTarget;h(R,"focus",N=>{if(c.current.isFocusWithin&&!ta(q,N.target)){let L=new R.defaultView.FocusEvent("blur",{relatedTarget:N.target});O9(L,q);let P=AO(L);b(P)}},{capture:!0})}},[l,s,E,h,b]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:b}}}let i_=!1,ET=0;function Z2(){i_=!0,setTimeout(()=>{i_=!1},50)}function pq(e){e.pointerType==="touch"&&Z2()}function _pe(){if(!(typeof document>"u"))return ET===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",pq):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",Z2)),ET++,()=>{ET--,!(ET>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",pq):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",Z2))}}function I9(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:l,isDisabled:s}=e,[c,h]=k.useState(!1),m=k.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;k.useEffect(_pe,[]);let{addGlobalListener:b,removeAllGlobalListeners:E}=F_(),{hoverProps:C,triggerHoverEnd:S}=k.useMemo(()=>{let R=(N,L)=>{if(m.pointerType=L,s||L==="touch"||m.isHovered||!N.currentTarget.contains(N.target))return;m.isHovered=!0;let P=N.currentTarget;m.target=P,b(ar(N.target),"pointerover",U=>{m.isHovered&&m.target&&!ta(m.target,U.target)&&M(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:P,pointerType:L}),r&&r(!0),h(!0)},M=(N,L)=>{let P=m.target;m.pointerType="",m.target=null,!(L==="touch"||!m.isHovered||!P)&&(m.isHovered=!1,E(),l&&l({type:"hoverend",target:P,pointerType:L}),r&&r(!1),h(!1))},q={};return typeof PointerEvent<"u"?(q.onPointerEnter=N=>{i_&&N.pointerType==="mouse"||R(N,N.pointerType)},q.onPointerLeave=N=>{!s&&N.currentTarget.contains(N.target)&&M(N,N.pointerType)}):process.env.NODE_ENV==="test"&&(q.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},q.onMouseEnter=N=>{!m.ignoreEmulatedMouseEvents&&!i_&&R(N,"mouse"),m.ignoreEmulatedMouseEvents=!1},q.onMouseLeave=N=>{!s&&N.currentTarget.contains(N.target)&&M(N,"mouse")}),{hoverProps:q,triggerHoverEnd:M}},[t,r,l,s,m,b,E]);return k.useEffect(()=>{s&&S({currentTarget:m.target},m.pointerType)},[s]),{hoverProps:C,isHovered:c}}const Ape=500;function Dpe(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:l,onLongPress:s,threshold:c=Ape,accessibilityDescription:h}=e;const m=k.useRef(void 0);let{addGlobalListener:b,removeGlobalListener:E}=F_(),{pressProps:C}=DO({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})),ar(R.target).activeElement!==R.target&&Nm(R.target),s&&s({...R,type:"longpress"}),m.current=void 0},c),R.pointerType==="touch")){let M=q=>{q.preventDefault()};b(R.target,"contextmenu",M,{once:!0}),b(window,"pointerup",()=>{setTimeout(()=>{E(R.target,"contextmenu",M)},30)},{once:!0})}},onPressEnd(R){m.current&&clearTimeout(m.current),l&&(R.pointerType==="mouse"||R.pointerType==="touch")&&l({...R,type:"longpressend"})}}),S=x9(s&&!t?h:void 0);return{longPressProps:Fl(C,S)}}const hq=k.createContext(null),W2="react-aria-focus-scope-restore";let Vr=null;function Mpe(e){let{children:t,contain:r,restoreFocus:l,autoFocus:s}=e,c=k.useRef(null),h=k.useRef(null),m=k.useRef([]),{parentNode:b}=k.useContext(hq)||{},E=k.useMemo(()=>new eM({scopeRef:m}),[m]);Ia(()=>{let R=b||fl.root;if(fl.getTreeNode(R.scopeRef)&&Vr&&!u_(Vr,R.scopeRef)){let M=fl.getTreeNode(Vr);M&&(R=M)}R.addChild(E),fl.addNode(E)},[E,b]),Ia(()=>{let R=fl.getTreeNode(m);R&&(R.contain=!!r)},[r]),Ia(()=>{var R;let M=(R=c.current)===null||R===void 0?void 0:R.nextSibling,q=[],N=L=>L.stopPropagation();for(;M&&M!==h.current;)q.push(M),M.addEventListener(W2,N),M=M.nextSibling;return m.current=q,()=>{for(let L of q)L.removeEventListener(W2,N)}},[t]),qpe(m,l,r),$pe(m,r),Lpe(m,l,r),Ppe(m,s),k.useEffect(()=>{const R=pi(ar(m.current?m.current[0]:void 0));let M=null;if(Bc(R,m.current)){for(let q of fl.traverse())q.scopeRef&&Bc(R,q.scopeRef.current)&&(M=q);M===fl.getTreeNode(m)&&(Vr=M.scopeRef)}},[m]),Ia(()=>()=>{var R,M,q;let N=(q=(M=fl.getTreeNode(m))===null||M===void 0||(R=M.parent)===null||R===void 0?void 0:R.scopeRef)!==null&&q!==void 0?q:null;(m===Vr||u_(m,Vr))&&(!N||fl.getTreeNode(N))&&(Vr=N),fl.removeTreeNode(m)},[m]);let C=k.useMemo(()=>Ope(m),[]),S=k.useMemo(()=>({focusManager:C,parentNode:E}),[E,C]);return k.createElement(hq.Provider,{value:S},k.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),t,k.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:h}))}function Ope(e){return{focusNext(t={}){let r=e.current,{from:l,tabbable:s,wrap:c,accept:h}=t;var m;let b=l||pi(ar((m=r[0])!==null&&m!==void 0?m:void 0)),E=r[0].previousElementSibling,C=Yb(r),S=Lc(C,{tabbable:s,accept:h},r);S.currentNode=Bc(b,r)?b:E;let R=S.nextNode();return!R&&c&&(S.currentNode=E,R=S.nextNode()),R&&Tm(R,!0),R},focusPrevious(t={}){let r=e.current,{from:l,tabbable:s,wrap:c,accept:h}=t;var m;let b=l||pi(ar((m=r[0])!==null&&m!==void 0?m:void 0)),E=r[r.length-1].nextElementSibling,C=Yb(r),S=Lc(C,{tabbable:s,accept:h},r);S.currentNode=Bc(b,r)?b:E;let R=S.previousNode();return!R&&c&&(S.currentNode=E,R=S.previousNode()),R&&Tm(R,!0),R},focusFirst(t={}){let r=e.current,{tabbable:l,accept:s}=t,c=Yb(r),h=Lc(c,{tabbable:l,accept:s},r);h.currentNode=r[0].previousElementSibling;let m=h.nextNode();return m&&Tm(m,!0),m},focusLast(t={}){let r=e.current,{tabbable:l,accept:s}=t,c=Yb(r),h=Lc(c,{tabbable:l,accept:s},r);h.currentNode=r[r.length-1].nextElementSibling;let m=h.previousNode();return m&&Tm(m,!0),m}}}function Yb(e){return e[0].parentElement}function aw(e){let t=fl.getTreeNode(Vr);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Npe(e){if(e.checked)return!0;let t=[];if(!e.form)t=[...ar(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 $pe(e,t){let r=k.useRef(void 0),l=k.useRef(void 0);Ia(()=>{let s=e.current;if(!t){l.current&&(cancelAnimationFrame(l.current),l.current=void 0);return}const c=ar(s?s[0]:void 0);let h=E=>{if(E.key!=="Tab"||E.altKey||E.ctrlKey||E.metaKey||!aw(e)||E.isComposing)return;let C=pi(c),S=e.current;if(!S||!Bc(C,S))return;let R=Yb(S),M=Lc(R,{tabbable:!0},S);if(!C)return;M.currentNode=C;let q=E.shiftKey?M.previousNode():M.nextNode();q||(M.currentNode=E.shiftKey?S[S.length-1].nextElementSibling:S[0].previousElementSibling,q=E.shiftKey?M.previousNode():M.nextNode()),E.preventDefault(),q&&Tm(q,!0)},m=E=>{(!Vr||u_(Vr,e))&&Bc(Qn(E),e.current)?(Vr=e,r.current=Qn(E)):aw(e)&&!Xb(Qn(E),e)?r.current?r.current.focus():Vr&&Vr.current&&J2(Vr.current):aw(e)&&(r.current=Qn(E))},b=E=>{l.current&&cancelAnimationFrame(l.current),l.current=requestAnimationFrame(()=>{let C=o_(),S=(C==="virtual"||C===null)&&CO()&&SO(),R=pi(c);if(!S&&R&&aw(e)&&!Xb(R,e)){Vr=e;let q=Qn(E);if(q&&q.isConnected){var M;r.current=q,(M=r.current)===null||M===void 0||M.focus()}else Vr.current&&J2(Vr.current)}})};return c.addEventListener("keydown",h,!1),c.addEventListener("focusin",m,!1),s?.forEach(E=>E.addEventListener("focusin",m,!1)),s?.forEach(E=>E.addEventListener("focusout",b,!1)),()=>{c.removeEventListener("keydown",h,!1),c.removeEventListener("focusin",m,!1),s?.forEach(E=>E.removeEventListener("focusin",m,!1)),s?.forEach(E=>E.removeEventListener("focusout",b,!1))}},[e,t]),Ia(()=>()=>{l.current&&cancelAnimationFrame(l.current)},[l])}function H9(e){return Xb(e)}function Bc(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Xb(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of fl.traverse(fl.getTreeNode(t)))if(r&&Bc(e,r.current))return!0;return!1}function u_(e,t){var r;let l=(r=fl.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;l;){if(l.scopeRef===e)return!0;l=l.parent}return!1}function Tm(e,t=!1){if(e!=null&&!t)try{$c(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function V9(e,t=!0){let r=e[0].previousElementSibling,l=Yb(e),s=Lc(l,{tabbable:t},e);s.currentNode=r;let c=s.nextNode();return t&&!c&&(l=Yb(e),s=Lc(l,{tabbable:!1},e),s.currentNode=r,c=s.nextNode()),c}function J2(e,t=!0){Tm(V9(e,t))}function Ppe(e,t){const r=k.useRef(t);k.useEffect(()=>{if(r.current){Vr=e;const l=ar(e.current?e.current[0]:void 0);!Bc(pi(l),Vr.current)&&e.current&&J2(e.current)}r.current=!1},[e])}function qpe(e,t,r){Ia(()=>{if(t||r)return;let l=e.current;const s=ar(l?l[0]:void 0);let c=h=>{let m=Qn(h);Bc(m,e.current)?Vr=e:H9(m)||(Vr=null)};return s.addEventListener("focusin",c,!1),l?.forEach(h=>h.addEventListener("focusin",c,!1)),()=>{s.removeEventListener("focusin",c,!1),l?.forEach(h=>h.removeEventListener("focusin",c,!1))}},[e,t,r])}function mq(e){let t=fl.getTreeNode(Vr);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function Lpe(e,t,r){const l=k.useRef(typeof document<"u"?pi(ar(e.current?e.current[0]:void 0)):null);Ia(()=>{let s=e.current;const c=ar(s?s[0]:void 0);if(!t||r)return;let h=()=>{(!Vr||u_(Vr,e))&&Bc(pi(c),e.current)&&(Vr=e)};return c.addEventListener("focusin",h,!1),s?.forEach(m=>m.addEventListener("focusin",h,!1)),()=>{c.removeEventListener("focusin",h,!1),s?.forEach(m=>m.removeEventListener("focusin",h,!1))}},[e,r]),Ia(()=>{const s=ar(e.current?e.current[0]:void 0);if(!t)return;let c=h=>{if(h.key!=="Tab"||h.altKey||h.ctrlKey||h.metaKey||!aw(e)||h.isComposing)return;let m=s.activeElement;if(!Xb(m,e)||!mq(e))return;let b=fl.getTreeNode(e);if(!b)return;let E=b.nodeToRestore,C=Lc(s.body,{tabbable:!0});C.currentNode=m;let S=h.shiftKey?C.previousNode():C.nextNode();if((!E||!E.isConnected||E===s.body)&&(E=void 0,b.nodeToRestore=void 0),(!S||!Xb(S,e))&&E){C.currentNode=E;do S=h.shiftKey?C.previousNode():C.nextNode();while(Xb(S,e));h.preventDefault(),h.stopPropagation(),S?Tm(S,!0):H9(E)?Tm(E,!0):m.blur()}};return r||s.addEventListener("keydown",c,!0),()=>{r||s.removeEventListener("keydown",c,!0)}},[e,t,r]),Ia(()=>{const s=ar(e.current?e.current[0]:void 0);if(!t)return;let c=fl.getTreeNode(e);if(c){var h;return c.nodeToRestore=(h=l.current)!==null&&h!==void 0?h:void 0,()=>{let m=fl.getTreeNode(e);if(!m)return;let b=m.nodeToRestore,E=pi(s);if(t&&b&&(E&&Xb(E,e)||E===s.body&&mq(e))){let C=fl.clone();requestAnimationFrame(()=>{if(s.activeElement===s.body){let S=C.getTreeNode(e);for(;S;){if(S.nodeToRestore&&S.nodeToRestore.isConnected){vq(S.nodeToRestore);return}S=S.parent}for(S=C.getTreeNode(e);S;){if(S.scopeRef&&S.scopeRef.current&&fl.getTreeNode(S.scopeRef)){let R=V9(S.scopeRef.current,!0);vq(R);return}S=S.parent}}})}}}},[e,t])}function vq(e){e.dispatchEvent(new CustomEvent(W2,{bubbles:!0,cancelable:!0}))&&Tm(e)}function Lc(e,t,r){let l=t?.tabbable?Vde:S9,s=e?.nodeType===Node.ELEMENT_NODE?e:null,c=ar(s),h=fde(c,e||c,NodeFilter.SHOW_ELEMENT,{acceptNode(m){var b;return!(t==null||(b=t.from)===null||b===void 0)&&b.contains(m)||t?.tabbable&&m.tagName==="INPUT"&&m.getAttribute("type")==="radio"&&(!Npe(m)||h.currentNode.tagName==="INPUT"&&h.currentNode.type==="radio"&&h.currentNode.name===m.name)?NodeFilter.FILTER_REJECT:l(m)&&(!r||Bc(m,r))&&(!t?.accept||t.accept(m))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(h.currentNode=t.from),h}class $O{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,l){let s=this.fastMap.get(r??null);if(!s)return;let c=new eM({scopeRef:t});s.addChild(c),c.parent=s,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&&Bc(c.nodeToRestore,r.scopeRef.current)&&(c.nodeToRestore=r.nodeToRestore);let s=r.children;l&&(l.removeChild(r),s.size>0&&s.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 $O;var l;for(let s of this.traverse())r.addTreeNode(s.scopeRef,(l=(t=s.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&l!==void 0?l:null,s.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new eM({scopeRef:null}),this.fastMap.set(null,this.root)}}class eM{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 fl=new $O;function s_(e={}){let{autoFocus:t=!1,isTextInput:r,within:l}=e,s=k.useRef({isFocused:!1,isFocusVisible:t||NO()}),[c,h]=k.useState(!1),[m,b]=k.useState(()=>s.current.isFocused&&s.current.isFocusVisible),E=k.useCallback(()=>b(s.current.isFocused&&s.current.isFocusVisible),[]),C=k.useCallback(M=>{s.current.isFocused=M,h(M),E()},[E]);Cpe(M=>{s.current.isFocusVisible=M,E()},[],{isTextInput:r});let{focusProps:S}=k9({isDisabled:l,onFocusChange:C}),{focusWithinProps:R}=U9({isDisabled:!l,onFocusWithinChange:C});return{isFocused:c,isFocusVisible:m,focusProps:l?R:S}}function jpe(e,t){let r=t?.isDisabled,[l,s]=k.useState(!1);return Ia(()=>{if(e?.current&&!r){let c=()=>{if(e.current){let m=Lc(e.current,{tabbable:!0});s(!!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 F9(e){let t=Bpe(ar(e));t!==e&&(t&&zpe(t,e),e&&K9(e,t))}function zpe(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function K9(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Bpe(e){let t=pi(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}const gq={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 PO(e={}){let{style:t,isFocusable:r}=e,[l,s]=k.useState(!1),{focusWithinProps:c}=U9({isDisabled:!r,onFocusWithinChange:m=>s(m)}),h=k.useMemo(()=>l?t:t?{...gq,...t}:gq,[l]);return{visuallyHiddenProps:{...c,style:h}}}function tM(e){return Sde()?e.altKey:e.ctrlKey}function MT(e,t){var r,l;let s=`[data-key="${CSS.escape(String(t))}"]`,c=(r=e.current)===null||r===void 0?void 0:r.dataset.collection;return c&&(s=`[data-collection="${CSS.escape(c)}"]${s}`),(l=e.current)===null||l===void 0?void 0:l.querySelector(s)}const G9=new WeakMap;function kpe(e){let t=Om();return G9.set(e,t),t}function Upe(e){return G9.get(e)}const Ipe=1e3;function Hpe(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:l}=e,s=k.useRef({search:"",timeout:void 0}).current,c=h=>{let m=Vpe(h.key);if(!(!m||h.ctrlKey||h.metaKey||!h.currentTarget.contains(h.target)||s.search.length===0&&m===" ")){if(m===" "&&s.search.trim().length>0&&(h.preventDefault(),"continuePropagation"in h||h.stopPropagation()),s.search+=m,t.getKeyForSearch!=null){let b=t.getKeyForSearch(s.search,r.focusedKey);b==null&&(b=t.getKeyForSearch(s.search)),b!=null&&(r.setFocusedKey(b),l&&l(b))}clearTimeout(s.timeout),s.timeout=setTimeout(()=>{s.search=""},Ipe)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?c:void 0}}}function Vpe(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function Fpe(e){let{selectionManager:t,keyboardDelegate:r,ref:l,autoFocus:s=!1,shouldFocusWrap:c=!1,disallowEmptySelection:h=!1,disallowSelectAll:m=!1,escapeKeyBehavior:b="clearSelection",selectOnFocus:E=t.selectionBehavior==="replace",disallowTypeAhead:C=!1,shouldUseVirtualFocus:S,allowsTabNavigation:R=!1,isVirtualized:M,scrollRef:q=l,linkBehavior:N="action"}=e,{direction:L}=Zw(),P=wO(),U=Z=>{var te;if(Z.altKey&&Z.key==="Tab"&&Z.preventDefault(),!(!((te=l.current)===null||te===void 0)&&te.contains(Z.target)))return;const be=(Ae,ot)=>{if(Ae!=null){if(t.isLink(Ae)&&N==="selection"&&E&&!tM(Z)){ws.flushSync(()=>{t.setFocusedKey(Ae,ot)});let vt=MT(l,Ae),Xt=t.getItemProps(Ae);vt&&P.open(vt,Z,Xt.href,Xt.routerOptions);return}if(t.setFocusedKey(Ae,ot),t.isLink(Ae)&&N==="override")return;Z.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Ae):E&&!tM(Z)&&t.replaceSelection(Ae)}};switch(Z.key){case"ArrowDown":if(r.getKeyBelow){var re,oe,ue;let Ae=t.focusedKey!=null?(re=r.getKeyBelow)===null||re===void 0?void 0:re.call(r,t.focusedKey):(oe=r.getFirstKey)===null||oe===void 0?void 0:oe.call(r);Ae==null&&c&&(Ae=(ue=r.getFirstKey)===null||ue===void 0?void 0:ue.call(r,t.focusedKey)),Ae!=null&&(Z.preventDefault(),be(Ae))}break;case"ArrowUp":if(r.getKeyAbove){var ce,De,je;let Ae=t.focusedKey!=null?(ce=r.getKeyAbove)===null||ce===void 0?void 0:ce.call(r,t.focusedKey):(De=r.getLastKey)===null||De===void 0?void 0:De.call(r);Ae==null&&c&&(Ae=(je=r.getLastKey)===null||je===void 0?void 0:je.call(r,t.focusedKey)),Ae!=null&&(Z.preventDefault(),be(Ae))}break;case"ArrowLeft":if(r.getKeyLeftOf){var Ke,_e,Je;let Ae=t.focusedKey!=null?(Ke=r.getKeyLeftOf)===null||Ke===void 0?void 0:Ke.call(r,t.focusedKey):null;Ae==null&&c&&(Ae=L==="rtl"?(_e=r.getFirstKey)===null||_e===void 0?void 0:_e.call(r,t.focusedKey):(Je=r.getLastKey)===null||Je===void 0?void 0:Je.call(r,t.focusedKey)),Ae!=null&&(Z.preventDefault(),be(Ae,L==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var ie,ke,Ee;let Ae=t.focusedKey!=null?(ie=r.getKeyRightOf)===null||ie===void 0?void 0:ie.call(r,t.focusedKey):null;Ae==null&&c&&(Ae=L==="rtl"?(ke=r.getLastKey)===null||ke===void 0?void 0:ke.call(r,t.focusedKey):(Ee=r.getFirstKey)===null||Ee===void 0?void 0:Ee.call(r,t.focusedKey)),Ae!=null&&(Z.preventDefault(),be(Ae,L==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){if(t.focusedKey===null&&Z.shiftKey)return;Z.preventDefault();let Ae=r.getFirstKey(t.focusedKey,j1(Z));t.setFocusedKey(Ae),Ae!=null&&(j1(Z)&&Z.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Ae):E&&t.replaceSelection(Ae))}break;case"End":if(r.getLastKey){if(t.focusedKey===null&&Z.shiftKey)return;Z.preventDefault();let Ae=r.getLastKey(t.focusedKey,j1(Z));t.setFocusedKey(Ae),Ae!=null&&(j1(Z)&&Z.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Ae):E&&t.replaceSelection(Ae))}break;case"PageDown":if(r.getKeyPageBelow&&t.focusedKey!=null){let Ae=r.getKeyPageBelow(t.focusedKey);Ae!=null&&(Z.preventDefault(),be(Ae))}break;case"PageUp":if(r.getKeyPageAbove&&t.focusedKey!=null){let Ae=r.getKeyPageAbove(t.focusedKey);Ae!=null&&(Z.preventDefault(),be(Ae))}break;case"a":j1(Z)&&t.selectionMode==="multiple"&&m!==!0&&(Z.preventDefault(),t.selectAll());break;case"Escape":b==="clearSelection"&&!h&&t.selectedKeys.size!==0&&(Z.stopPropagation(),Z.preventDefault(),t.clearSelection());break;case"Tab":if(!R){if(Z.shiftKey)l.current.focus();else{let Ae=Lc(l.current,{tabbable:!0}),ot,vt;do vt=Ae.lastChild(),vt&&(ot=vt);while(vt);ot&&!ot.contains(document.activeElement)&&Nm(ot)}break}}},I=k.useRef({top:0,left:0});yT(q,"scroll",M?void 0:()=>{var Z,te,be,re;I.current={top:(be=(Z=q.current)===null||Z===void 0?void 0:Z.scrollTop)!==null&&be!==void 0?be:0,left:(re=(te=q.current)===null||te===void 0?void 0:te.scrollLeft)!==null&&re!==void 0?re:0}});let Y=Z=>{if(t.isFocused){Z.currentTarget.contains(Z.target)||t.setFocused(!1);return}if(Z.currentTarget.contains(Z.target)){if(t.setFocused(!0),t.focusedKey==null){var te,be;let ue=De=>{De!=null&&(t.setFocusedKey(De),E&&!t.isSelected(De)&&t.replaceSelection(De))},ce=Z.relatedTarget;var re,oe;ce&&Z.currentTarget.compareDocumentPosition(ce)&Node.DOCUMENT_POSITION_FOLLOWING?ue((re=t.lastSelectedKey)!==null&&re!==void 0?re:(te=r.getLastKey)===null||te===void 0?void 0:te.call(r)):ue((oe=t.firstSelectedKey)!==null&&oe!==void 0?oe:(be=r.getFirstKey)===null||be===void 0?void 0:be.call(r))}else!M&&q.current&&(q.current.scrollTop=I.current.top,q.current.scrollLeft=I.current.left);if(t.focusedKey!=null&&q.current){let ue=MT(l,t.focusedKey);ue instanceof HTMLElement&&(!ue.contains(document.activeElement)&&!S&&Nm(ue),o_()==="keyboard"&&Tg(ue,{containingElement:l.current}))}}},V=Z=>{Z.currentTarget.contains(Z.relatedTarget)||t.setFocused(!1)},F=k.useRef(!1);yT(l,zde,S?Z=>{let{detail:te}=Z;Z.stopPropagation(),t.setFocused(!0),te?.focusStrategy==="first"&&(F.current=!0)}:void 0);let K=nu(()=>{var Z,te;let be=(te=(Z=r.getFirstKey)===null||Z===void 0?void 0:Z.call(r))!==null&&te!==void 0?te:null;if(be==null){let re=pi();F9(l.current),K9(re,null),t.collection.size>0&&(F.current=!1)}else t.setFocusedKey(be),F.current=!1});ZP(()=>{F.current&&K()},[t.collection,K]);let Q=nu(()=>{t.collection.size>0&&(F.current=!1)});ZP(()=>{Q()},[t.focusedKey,Q]),yT(l,jde,S?Z=>{var te;Z.stopPropagation(),t.setFocused(!1),!((te=Z.detail)===null||te===void 0)&&te.clearFocusKey&&t.setFocusedKey(null)}:void 0);const he=k.useRef(s),de=k.useRef(!1);k.useEffect(()=>{if(he.current){var Z,te;let oe=null;var be;s==="first"&&(oe=(be=(Z=r.getFirstKey)===null||Z===void 0?void 0:Z.call(r))!==null&&be!==void 0?be:null);var re;s==="last"&&(oe=(re=(te=r.getLastKey)===null||te===void 0?void 0:te.call(r))!==null&&re!==void 0?re:null);let ue=t.selectedKeys;if(ue.size){for(let ce of ue)if(t.canSelectItem(ce)){oe=ce;break}}t.setFocused(!0),t.setFocusedKey(oe),oe==null&&!S&&l.current&&$c(l.current),t.collection.size>0&&(he.current=!1,de.current=!0)}});let W=k.useRef(t.focusedKey),se=k.useRef(null);k.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==W.current||de.current)&&q.current&&l.current){let Z=o_(),te=MT(l,t.focusedKey);if(!(te instanceof HTMLElement))return;(Z==="keyboard"||de.current)&&(se.current&&cancelAnimationFrame(se.current),se.current=requestAnimationFrame(()=>{q.current&&(E9(q.current,te),Z!=="virtual"&&Tg(te,{containingElement:l.current}))}))}!S&&t.isFocused&&t.focusedKey==null&&W.current!=null&&l.current&&$c(l.current),W.current=t.focusedKey,de.current=!1}),k.useEffect(()=>()=>{se.current&&cancelAnimationFrame(se.current)},[]),yT(l,"react-aria-focus-scope-restore",Z=>{Z.preventDefault(),t.setFocused(!0)});let le={onKeyDown:U,onFocus:Y,onBlur:V,onMouseDown(Z){q.current===Z.target&&Z.preventDefault()}},{typeSelectProps:ae}=Hpe({keyboardDelegate:r,selectionManager:t});C||(le=Fl(ae,le));let xe;S||(xe=t.focusedKey==null?0:-1);let B=kpe(t.collection);return{collectionProps:Fl(le,{tabIndex:xe,"data-collection":B})}}function Kpe(e){let{id:t,selectionManager:r,key:l,ref:s,shouldSelectOnPressUp:c,shouldUseVirtualFocus:h,focus:m,isDisabled:b,onAction:E,allowsDifferentPressOrigin:C,linkBehavior:S="action"}=e,R=wO();t=Om(t);let M=re=>{if(re.pointerType==="keyboard"&&tM(re))r.toggleSelection(l);else{if(r.selectionMode==="none")return;if(r.isLink(l)){if(S==="selection"&&s.current){let oe=r.getItemProps(l);R.open(s.current,re,oe.href,oe.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(S==="override"||S==="none")return}r.selectionMode==="single"?r.isSelected(l)&&!r.disallowEmptySelection?r.toggleSelection(l):r.replaceSelection(l):re&&re.shiftKey?r.extendSelection(l):r.selectionBehavior==="toggle"||re&&(j1(re)||re.pointerType==="touch"||re.pointerType==="virtual")?r.toggleSelection(l):r.replaceSelection(l)}};k.useEffect(()=>{l===r.focusedKey&&r.isFocused&&(h?F9(s.current):m?m():document.activeElement!==s.current&&s.current&&$c(s.current))},[s,l,r.focusedKey,r.childFocusStrategy,r.isFocused,h]),b=b||r.isDisabled(l);let q={};!h&&!b?q={tabIndex:l===r.focusedKey?0:-1,onFocus(re){re.target===s.current&&r.setFocusedKey(l)}}:b&&(q.onMouseDown=re=>{re.preventDefault()});let N=r.isLink(l)&&S==="override",L=E&&e.UNSTABLE_itemBehavior==="action",P=r.isLink(l)&&S!=="selection"&&S!=="none",U=!b&&r.canSelectItem(l)&&!N&&!L,I=(E||P)&&!b,Y=I&&(r.selectionBehavior==="replace"?!U:!U||r.isEmpty),V=I&&U&&r.selectionBehavior==="replace",F=Y||V,K=k.useRef(null),Q=F&&U,he=k.useRef(!1),de=k.useRef(!1),W=r.getItemProps(l),se=re=>{if(E){var oe;E(),(oe=s.current)===null||oe===void 0||oe.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}P&&s.current&&R.open(s.current,re,W.href,W.routerOptions)},le={ref:s};if(c?(le.onPressStart=re=>{K.current=re.pointerType,he.current=Q,re.pointerType==="keyboard"&&(!F||bq())&&M(re)},C?(le.onPressUp=Y?void 0:re=>{re.pointerType==="mouse"&&U&&M(re)},le.onPress=Y?se:re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&U&&M(re)}):le.onPress=re=>{if(Y||V&&re.pointerType!=="mouse"){if(re.pointerType==="keyboard"&&!yq())return;se(re)}else re.pointerType!=="keyboard"&&U&&M(re)}):(le.onPressStart=re=>{K.current=re.pointerType,he.current=Q,de.current=Y,U&&(re.pointerType==="mouse"&&!Y||re.pointerType==="keyboard"&&(!I||bq()))&&M(re)},le.onPress=re=>{(re.pointerType==="touch"||re.pointerType==="pen"||re.pointerType==="virtual"||re.pointerType==="keyboard"&&F&&yq()||re.pointerType==="mouse"&&de.current)&&(F?se(re):U&&M(re))}),q["data-collection"]=Upe(r.collection),q["data-key"]=l,le.preventFocusOnPress=h,h&&(le=Fl(le,{onPressStart(re){re.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(l))},onPress(re){re.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(l))}})),W)for(let re of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])W[re]&&(le[re]=I_(le[re],W[re]));let{pressProps:ae,isPressed:xe}=DO(le),B=V?re=>{K.current==="mouse"&&(re.stopPropagation(),re.preventDefault(),se(re))}:void 0,{longPressProps:Z}=Dpe({isDisabled:!Q,onLongPress(re){re.pointerType==="touch"&&(M(re),r.setSelectionBehavior("toggle"))}}),te=re=>{K.current==="touch"&&he.current&&re.preventDefault()},be=S!=="none"&&r.isLink(l)?re=>{i0.isOpening||re.preventDefault()}:void 0;return{itemProps:Fl(q,U||Y||h&&!b?ae:{},Q?Z:{},{onDoubleClick:B,onDragStartCapture:te,onClick:be,id:t},h?{onMouseDown:re=>re.preventDefault()}:void 0),isPressed:xe,isSelected:r.isSelected(l),isFocused:r.isFocused&&r.focusedKey===l,isDisabled:b,allowsSelection:U,hasAction:F}}function yq(){let e=window.event;return e?.key==="Enter"}function bq(){let e=window.event;return e?.key===" "||e?.code==="Space"}class xq{getItemRect(t){let r=this.ref.current;if(!r)return null;let l=t!=null?MT(this.ref,t):null;if(!l)return null;let s=r.getBoundingClientRect(),c=l.getBoundingClientRect();return{x:c.left-s.left-r.clientLeft+r.scrollLeft,y:c.top-s.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,s,c;return{x:(r=t?.scrollLeft)!==null&&r!==void 0?r:0,y:(l=t?.scrollTop)!==null&&l!==void 0?l:0,width:(s=t?.clientWidth)!==null&&s!==void 0?s:0,height:(c=t?.clientHeight)!==null&&c!==void 0?c:0}}constructor(t){this.ref=t}}class Y9{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 s=this.collection.getItem(l);if(s?.type==="item"&&!this.isDisabled(s))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 s=t,c=this.layoutDelegate.getItemRect(s);if(!c||s==null)return null;let h=c;do{if(s=r(s),s==null)break;c=this.layoutDelegate.getItemRect(s)}while(c&&l(h,c)&&s!=null);return s}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&&!bw(r))return this.getFirstKey();let s=t;if(this.orientation==="horizontal"){let c=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>c&&s!=null;)s=this.getKeyAbove(s),l=s==null?null:this.layoutDelegate.getItemRect(s)}else{let c=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>c&&s!=null;)s=this.getKeyAbove(s),l=s==null?null:this.layoutDelegate.getItemRect(s)}return s??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,l=this.layoutDelegate.getItemRect(t);if(!l)return null;if(r&&!bw(r))return this.getLastKey();let s=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&&s!=null;)s=this.getKeyBelow(s),l=s==null?null:this.layoutDelegate.getItemRect(s)}else{let c=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<c&&s!=null;)s=this.getKeyBelow(s),l=s==null?null:this.layoutDelegate.getItemRect(s)}return s??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let l=this.collection,s=r||this.getFirstKey();for(;s!=null;){let c=l.getItem(s);if(!c)return null;let h=c.textValue.slice(0,t.length);if(c.textValue&&this.collator.compare(h,t)===0)return s;s=this.getNextKey(s)}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 xq(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 xq(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Gpe(e){let{selectionManager:t,collection:r,disabledKeys:l,ref:s,keyboardDelegate:c,layoutDelegate:h}=e,m=M9({usage:"search",sensitivity:"base"}),b=t.disabledBehavior,E=k.useMemo(()=>c||new Y9({collection:r,disabledKeys:l,disabledBehavior:b,ref:s,collator:m,layoutDelegate:h}),[c,h,r,l,s,m,b]),{collectionProps:C}=Fpe({...e,ref:s,selectionManager:t,keyboardDelegate:E});return{listProps:C}}class Ype{build(t,r){return this.context=r,Eq(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:l}=t;if(k.isValidElement(r)&&r.type===k.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 s=0;for(let c of l)yield*this.getFullNode({value:c,index:s},{renderer:r}),s++}else{let s=[];k.Children.forEach(r,h=>{h&&s.push(h)});let c=0;for(let h of s){let m=this.getFullNode({element:h,index:c},{});for(let b of m)c++,yield b}}}getKey(t,r,l,s){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${s}${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 s?`${s}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,l,s){if(k.isValidElement(t.element)&&t.element.type===k.Fragment){let L=[];k.Children.forEach(t.element.props.children,U=>{L.push(U)});var c;let P=(c=t.index)!==null&&c!==void 0?c:0;for(const U of L)yield*this.getFullNode({element:U,index:P++},r,l,s);return}let h=t.element;if(!h&&t.value&&r&&r.renderer){let L=this.cache.get(t.value);if(L&&(!L.shouldInvalidate||!L.shouldInvalidate(this.context))){L.index=t.index,L.parentKey=s?s.key:null,yield L;return}h=r.renderer(t.value)}if(k.isValidElement(h)){let L=h.type;if(typeof L!="function"&&typeof L.getCollectionNode!="function"){let Y=h.type;throw new Error(`Unknown element <${Y}> in collection.`)}let P=L.getCollectionNode(h.props,this.context);var m;let U=(m=t.index)!==null&&m!==void 0?m:0,I=P.next();for(;!I.done&&I.value;){let Y=I.value;t.index=U;var b;let V=(b=Y.key)!==null&&b!==void 0?b:null;V==null&&(V=Y.element?null:this.getKey(h,t,r,l));let K=[...this.getFullNode({...Y,key:V,index:U,wrapper:Xpe(t.wrapper,Y.wrapper)},this.getChildState(r,Y),l?`${l}${h.key}`:h.key,s)];for(let Q of K){var E,C;Q.value=(C=(E=Y.value)!==null&&E!==void 0?E:t.value)!==null&&C!==void 0?C:null,Q.value&&this.cache.set(Q.value,Q);var S;if(t.type&&Q.type!==t.type)throw new Error(`Unsupported type <${YD(Q.type)}> in <${YD((S=s?.type)!==null&&S!==void 0?S:"unknown parent type")}>. Only <${YD(t.type)}> is supported.`);U++,yield Q}I=P.next(K)}return}if(t.key==null||t.type==null)return;let R=this;var M,q;let N={type:t.type,props:t.props,key:t.key,parentKey:s?s.key:null,value:(M=t.value)!==null&&M!==void 0?M:null,level:s?s.level+1:0,index:t.index,rendered:t.rendered,textValue:(q=t.textValue)!==null&&q!==void 0?q:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Eq(function*(){if(!t.hasChildNodes||!t.childNodes)return;let L=0;for(let P of t.childNodes()){P.key!=null&&(P.key=`${N.key}${P.key}`);let U=R.getFullNode({...P,index:L},R.getChildState(r,P),N.key,N);for(let I of U)L++,yield I}})};yield N}constructor(){this.cache=new WeakMap}}function Eq(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 Xpe(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function YD(e){return e[0].toUpperCase()+e.slice(1)}function Qpe(e,t,r){let l=k.useMemo(()=>new Ype,[]),{children:s,items:c,collection:h}=e;return k.useMemo(()=>{if(h)return h;let b=l.build({children:s,items:c},r);return t(b)},[l,s,c,h,r,t])}function Zpe(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Wpe(e){return Jpe(e)}function Jpe(e,t){for(let r of e)return r}function XD(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let l=[...Sq(e,t),t],s=[...Sq(e,r),r],c=l.slice(0,s.length).findIndex((h,m)=>h!==s[m]);return c!==-1?(t=l[c],r=s[c],t.index-r.index):l.findIndex(h=>h===r)>=0?1:(s.findIndex(h=>h===t)>=0,-1)}function Sq(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 s=this.clone();return r.addDescendants(s,t),s}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 X9 extends ux{filter(t,r,l){let[s,c]=Z9(t,r,this.firstChildKey,l),h=this.clone();return h.firstChildKey=s,h.lastChildKey=c,h}}class ehe extends ux{}ehe.type="header";class Q9 extends ux{}Q9.type="loader";class the extends X9{filter(t,r,l){if(l(this.textValue,this)){let s=this.clone();return r.addDescendants(s,t),s}return null}}the.type="item";class nhe extends X9{filter(t,r,l){let s=super.filter(t,r,l);if(s&&s.lastChildKey!==null){let c=t.getItem(s.lastChildKey);if(c&&c.type!=="header")return s}return null}}nhe.type="section";class rhe{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),s=l?.firstChildKey!=null?r.get(l.firstChildKey):null;for(;s;)yield s,s=s.nextKey!=null?r.get(s.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 s of l)this.addDescendants(s,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,s]=Z9(this,r,this.firstKey,t);return r?.commit(l,s),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function Z9(e,t,r,l){if(r==null)return[null,null];let s=null,c=null,h=e.getItem(r);for(;h!=null;){let E=h.filter(e,t,l);E!=null&&(E.nextKey=null,c&&(E.prevKey=c.key,c.nextKey=E.key),s==null&&(s=E),t.addNode(E),c=E),h=h.nextKey?e.getItem(h.nextKey):null}if(c&&c.type==="separator"){let E=c.prevKey;t.removeNode(c.key),E?(c=t.getItem(E),c.nextKey=null):c=null}var m,b;return[(m=s?.key)!==null&&m!==void 0?m:null,(b=c?.key)!==null&&b!==void 0?b:null]}class W9{*[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 V1 extends W9{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){var t;return this.parentNode instanceof V1?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,s,c,h,m,b;let E=this.nextVisibleSibling,C=this.getMutableNode();if(C!=null){C.index=this.index,C.level=this.level;var S;C.parentKey=this.parentNode instanceof V1&&(S=(t=this.parentNode.node)===null||t===void 0?void 0:t.key)!==null&&S!==void 0?S:null;var R;C.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 M;C.nextKey=(M=E==null||(s=E.node)===null||s===void 0?void 0:s.key)!==null&&M!==void 0?M:null,C.hasChildNodes=!!this.firstChild;var q;C.firstChildKey=(q=(h=this.firstVisibleChild)===null||h===void 0||(c=h.node)===null||c===void 0?void 0:c.key)!==null&&q!==void 0?q:null;var N;if(C.lastChildKey=(N=(b=this.lastVisibleChild)===null||b===void 0||(m=b.node)===null||m===void 0?void 0:m.key)!==null&&N!==void 0?N:null,(C.colSpan!=null||C.colIndex!=null)&&E){var L,P;let U=((L=C.colIndex)!==null&&L!==void 0?L:C.index)+((P=C.colSpan)!==null&&P!==void 0?P:1);if(E.node!=null&&U!==E.node.colIndex){let I=E.getMutableNode();I.colIndex=U}}}}setProps(t,r,l,s,c){let h,{value:m,textValue:b,id:E,...C}=t;if(this.node==null?(h=new l(E??`react-aria-${++this.ownerDocument.nodeId}`),this.node=h):h=this.getMutableNode(),C.ref=r,h.props=C,h.rendered=s,h.render=c,h.value=m,h.textValue=b||(typeof C.children=="string"?C.children:"")||t["aria-label"]||"",E!=null&&E!==h.key)throw new Error("Cannot change the id of an item");C.colSpan!=null&&(h.colSpan=C.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 s,c;(((s=t.parentNode)===null||s===void 0?void 0:s.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 ahe extends W9{get isConnected(){return!0}createElement(t){return new V1(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 V1&&(!m.isConnected||m.isHidden)?this.removeNode(m):m.updateChildIndices();for(let m of this.dirtyNodes)m instanceof V1?(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,s,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=(s=this.lastVisibleChild)===null||s===void 0||(l=s.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 qO(e){let{children:t,items:r,idScope:l,addIdAndValue:s,dependencies:c=[]}=e,h=k.useMemo(()=>new WeakMap,c);return k.useMemo(()=>{if(r&&typeof t=="function"){let E=[];for(let C of r){let S=h.get(C);if(!S){S=t(C);var m,b;let R=(b=(m=S.props.id)!==null&&m!==void 0?m:C.key)!==null&&b!==void 0?b:C.id;if(R==null)throw new Error("Could not determine key for item");l&&(R=l+":"+R),S=k.cloneElement(S,s?{key:R,id:R,value:C}:{key:R}),h.set(C,S)}E.push(S)}return E}else if(typeof t!="function")return t},[t,r,h,l,s])}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 nM=k.createContext(!1);function lhe(e){if(k.useContext(nM))return k.createElement(k.Fragment,null,e.children);let r=k.createElement(nM.Provider,{value:!0},e.children);return k.createElement("template",{"data-react-aria-hidden":!0},r)}function ohe(e){let t=(r,l)=>k.useContext(nM)?null:e(r,l);return t.displayName=e.displayName||e.name,k.forwardRef(t)}var ST={exports:{}},QD={};var Cq;function ihe(){if(Cq)return QD;Cq=1;var e=k;function t(S,R){return S===R&&(S!==0||1/S===1/R)||S!==S&&R!==R}var r=typeof Object.is=="function"?Object.is:t,l=e.useState,s=e.useEffect,c=e.useLayoutEffect,h=e.useDebugValue;function m(S,R){var M=R(),q=l({inst:{value:M,getSnapshot:R}}),N=q[0].inst,L=q[1];return c(function(){N.value=M,N.getSnapshot=R,b(N)&&L({inst:N})},[S,M,R]),s(function(){return b(N)&&L({inst:N}),S(function(){b(N)&&L({inst:N})})},[S]),h(M),M}function b(S){var R=S.getSnapshot;S=S.value;try{var M=R();return!r(S,M)}catch{return!0}}function E(S,R){return R()}var C=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?E:m;return QD.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:C,QD}var ZD={};var wq;function uhe(){return wq||(wq=1,process.env.NODE_ENV!=="production"&&(function(){function e(M,q){return M===q&&(M!==0||1/M===1/q)||M!==M&&q!==q}function t(M,q){C||s.startTransition===void 0||(C=!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 N=q();if(!S){var L=q();c(N,L)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),S=!0)}L=h({inst:{value:N,getSnapshot:q}});var P=L[0].inst,U=L[1];return b(function(){P.value=N,P.getSnapshot=q,r(P)&&U({inst:P})},[M,N,q]),m(function(){return r(P)&&U({inst:P}),M(function(){r(P)&&U({inst:P})})},[M]),E(N),N}function r(M){var q=M.getSnapshot;M=M.value;try{var N=q();return!c(M,N)}catch{return!0}}function l(M,q){return q()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=k,c=typeof Object.is=="function"?Object.is:e,h=s.useState,m=s.useEffect,b=s.useLayoutEffect,E=s.useDebugValue,C=!1,S=!1,R=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:t;ZD.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:R,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ZD}var Rq;function she(){return Rq||(Rq=1,process.env.NODE_ENV==="production"?ST.exports=ihe():ST.exports=uhe()),ST.exports}var che=she();const J9=k.createContext(!1),Ew=k.createContext(null);function fhe(e){if(k.useContext(Ew))return e.content;let{collection:r,document:l}=mhe(e.createCollection);return k.createElement(k.Fragment,null,k.createElement(lhe,null,k.createElement(Ew.Provider,{value:l},e.content)),k.createElement(dhe,{render:e.children,collection:r}))}function dhe({collection:e,render:t}){return t(e)}function phe(e,t,r){let l=Qw(),s=k.useRef(l);s.current=l;let c=k.useCallback(()=>s.current?r():t(),[t,r]);return che.useSyncExternalStore(e,c)}const hhe=typeof k.useSyncExternalStore=="function"?k.useSyncExternalStore:phe;function mhe(e){let[t]=k.useState(()=>new ahe(e?.()||new rhe)),r=k.useCallback(h=>t.subscribe(h),[t]),l=k.useCallback(()=>{let h=t.getCollection();return t.isSSR&&t.resetAfterSSR(),h},[t]),s=k.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:hhe(r,l,s),document:t}}const rM=k.createContext(null);function vhe(e){var t;return t=class extends ux{},t.type=e,t}function ek(e,t,r,l,s,c){typeof e=="string"&&(e=vhe(e));let h=k.useCallback(b=>{b?.setProps(t,r,e,l,c)},[t,r,l,c,e]),m=k.useContext(rM);if(m){let b=m.ownerDocument.nodesByProps.get(t);return b||(b=m.ownerDocument.createElement(e.type),b.setProps(t,r,e,l,c),m.appendChild(b),m.ownerDocument.updateCollection(),m.ownerDocument.nodesByProps.set(t,b)),s?k.createElement(rM.Provider,{value:b},s):null}return k.createElement(e.type,{ref:h},s)}function tk(e,t){let r=({node:s})=>t(s.props,s.props.ref,s),l=k.forwardRef((s,c)=>{let h=k.useContext(Q2);if(!k.useContext(J9)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(s,c)}return ek(e,s,c,"children"in s?s.children:null,null,b=>k.createElement(Q2.Provider,{value:h},k.createElement(r,{node:b})))});return l.displayName=t.name,l}function ghe(e,t,r=nk){let l=({node:c})=>t(c.props,c.props.ref,c),s=k.forwardRef((c,h)=>{let m=r(c);var b;return(b=ek(e,c,h,null,m,E=>k.createElement(l,{node:E})))!==null&&b!==void 0?b:k.createElement(k.Fragment,null)});return s.displayName=t.name,s}function nk(e){return qO({...e,addIdAndValue:!0})}const Tq=k.createContext(null);function LO(e){let t=k.useContext(Tq),r=(t?.dependencies||[]).concat(e.dependencies),l=e.idScope||t?.idScope,s=nk({...e,idScope:l,dependencies:r});return k.useContext(Ew)&&(s=k.createElement(yhe,null,s)),t=k.useMemo(()=>({dependencies:r,idScope:l}),[l,...r]),k.createElement(Tq.Provider,{value:t},s)}function yhe({children:e}){let t=k.useContext(Ew),r=k.useMemo(()=>k.createElement(Ew.Provider,{value:null},k.createElement(J9.Provider,{value:!0},e)),[e]);return Qw()?k.createElement(rM.Provider,{value:t},r):ws.createPortal(r,t)}const rk={CollectionRoot({collection:e,renderDropIndicator:t}){return _q(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return _q(e,t,r)}};function _q(e,t,r){return qO({items:t?e.getChildren(t.key):e,dependencies:[r],children(l){let s=l.render(l);return!r||l.type!=="item"?s:k.createElement(k.Fragment,null,r({type:"item",key:l.key,dropPosition:"before"}),s,bhe(e,l,r))}})}function bhe(e,t,r){let l=t.key,s=e.getKeyAfter(l),c=s!=null?e.getItem(s):null;for(;c!=null&&c.type!=="item";)s=e.getKeyAfter(c.key),c=s!=null?e.getItem(s):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 b=t;for(;b&&(!c||b.parentKey!==c.parentKey&&c.level<b.level);){let E=r({type:"item",key:b.key,dropPosition:"after"});k.isValidElement(E)&&m.push(k.cloneElement(E,{key:`${b.key}-after`})),b=b.parentKey!=null?e.getItem(b.parentKey):null}}return m}const jO=k.createContext(rk);function xhe(e,t){let{elementType:r="button",isDisabled:l,onPress:s,onPressStart:c,onPressEnd:h,onPressUp:m,onPressChange:b,preventFocusOnPress:E,allowFocusWhenDisabled:C,onClick:S,href:R,target:M,rel:q,type:N="button"}=e,L;r==="button"?L={type:N,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}:L={role:"button",href:r==="a"&&!l?R:void 0,target:r==="a"?M:void 0,type:r==="input"?N:void 0,disabled:r==="input"?l:void 0,"aria-disabled":!l||r==="input"?void 0:l,rel:r==="a"?q:void 0};let{pressProps:P,isPressed:U}=DO({onPressStart:c,onPressEnd:h,onPressChange:b,onPress:s,onPressUp:m,onClick:S,isDisabled:l,preventFocusOnPress:E,ref:t}),{focusableProps:I}=Tpe(e,t);C&&(I.tabIndex=l?-1:I.tabIndex);let Y=Fl(I,P,ox(e,{labelable:!0}));return{isPressed:U,buttonProps:Fl(L,Y,{"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 zO=new WeakMap;function aM(e,t){var r;let{id:l}=(r=zO.get(e))!==null&&r!==void 0?r:{};if(!l)throw new Error("Unknown list");return`${l}-${Ehe(t)}`}function Ehe(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var ak={};ak={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 lk={};lk={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 ok={};ok={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 ik={};ik={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 uk={};uk={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 sk={};sk={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 ck={};ck={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 fk={};fk={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 dk={};dk={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 pk={};pk={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 hk={};hk={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 mk={};mk={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 vk={};vk={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 gk={};gk={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 yk={};yk={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 bk={};bk={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 xk={};xk={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 Ek={};Ek={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 Sk={};Sk={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 Ck={};Ck={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 wk={};wk={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 Rk={};Rk={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 Tk={};Tk={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 _k={};_k={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 Ak={};Ak={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 Dk={};Dk={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 Mk={};Mk={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 Ok={};Ok={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 Nk={};Nk={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 $k={};$k={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 Pk={};Pk={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 qk={};qk={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 Lk={};Lk={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 jk={};jk={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 X_={};X_={"ar-AE":ak,"bg-BG":lk,"cs-CZ":ok,"da-DK":ik,"de-DE":uk,"el-GR":sk,"en-US":ck,"es-ES":fk,"et-EE":dk,"fi-FI":pk,"fr-FR":hk,"he-IL":mk,"hr-HR":vk,"hu-HU":gk,"it-IT":yk,"ja-JP":bk,"ko-KR":xk,"lt-LT":Ek,"lv-LV":Sk,"nb-NO":Ck,"nl-NL":wk,"pl-PL":Rk,"pt-BR":Tk,"pt-PT":_k,"ro-RO":Ak,"ru-RU":Dk,"sk-SK":Mk,"sl-SI":Ok,"sr-SP":Nk,"sv-SE":$k,"tr-TR":Pk,"uk-UA":qk,"zh-CN":Lk,"zh-TW":jk};function She(e){return e&&e.__esModule?e.default:e}function Che(e,t){let{getRowText:r=m=>{var b,E,C,S;return(S=(b=(E=t.collection).getTextValue)===null||b===void 0?void 0:b.call(E,m))!==null&&S!==void 0?S:(C=t.collection.getItem(m))===null||C===void 0?void 0:C.textValue}}=e,l=Y_(She(X_),"@react-aria/grid"),s=t.selectionManager.rawSelection,c=k.useRef(s),h=nu(()=>{var m;if(!t.selectionManager.isFocused||s===c.current){c.current=s;return}let b=Aq(s,c.current),E=Aq(c.current,s),C=t.selectionManager.selectionBehavior==="replace",S=[];if(t.selectionManager.selectedKeys.size===1&&C){let R=t.selectionManager.selectedKeys.keys().next().value;if(R!=null&&t.collection.getItem(R)){let M=r(R);M&&S.push(l.format("selectedItem",{item:M}))}}else if(b.size===1&&E.size===0){let R=b.keys().next().value;if(R!=null){let M=r(R);M&&S.push(l.format("selectedItem",{item:M}))}}else if(E.size===1&&b.size===0){let R=E.keys().next().value;if(R!=null&&t.collection.getItem(R)){let M=r(R);M&&S.push(l.format("deselectedItem",{item:M}))}}t.selectionManager.selectionMode==="multiple"&&(S.length===0||s==="all"||s.size>1||c.current==="all"||((m=c.current)===null||m===void 0?void 0:m.size)>1)&&S.push(s==="all"?l.format("selectedAll"):l.format("selectedCount",{count:s.size})),S.length>0&&K2(S.join(" ")),c.current=s});Ode(()=>{if(t.selectionManager.isFocused)h();else{let m=requestAnimationFrame(h);return()=>cancelAnimationFrame(m)}},[s,t.selectionManager.isFocused])}function Aq(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 whe(e){return e&&e.__esModule?e.default:e}function Rhe(e){let t=Y_(whe(X_),"@react-aria/grid"),r=xpe(),l=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,s=k.useMemo(()=>{let h=e.selectionManager.selectionMode,m=e.selectionManager.selectionBehavior,b;return l&&(b=t.format("longPressToSelect")),m==="replace"&&h!=="none"&&e.hasItemActions?b:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,l]);return x9(s)}function The(e){return e&&e.__esModule?e.default:e}function _he(e,t){let{key:r}=e,l=t.selectionManager,s=Om(),c=!t.selectionManager.canSelectItem(r),h=t.selectionManager.isSelected(r),m=()=>l.toggleSelection(r);const b=Y_(The(X_),"@react-aria/grid");return{checkboxProps:{id:s,"aria-label":b.format("select"),isSelected:h,isDisabled:c,onChange:m}}}function Ahe(e,t,r){let{isVirtualized:l,keyboardDelegate:s,layoutDelegate:c,onAction:h,disallowTypeAhead:m,linkBehavior:b="action",keyboardNavigationBehavior:E="arrow",escapeKeyBehavior:C="clearSelection",shouldSelectOnPressUp:S}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:R}=Gpe({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:s,layoutDelegate:c,isVirtualized:l,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:b,disallowTypeAhead:m,autoFocus:e.autoFocus,escapeKeyBehavior:C}),M=Om(e.id);zO.set(t,{id:M,onAction:h,linkBehavior:b,keyboardNavigationBehavior:E,shouldSelectOnPressUp:S});let q=Rhe({selectionManager:t.selectionManager,hasItemActions:!!h}),N=jpe(r,{isDisabled:t.collection.size!==0}),L=ox(e,{labelable:!0}),P=Fl(L,{role:"grid",id:M,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:N?-1:0}:R,q);return l&&(P["aria-rowcount"]=t.collection.size,P["aria-colcount"]=1),Che({},t),{gridProps:P}}const Dq={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Dhe(e,t,r){var l,s;let{node:c,isVirtualized:h}=e,{direction:m}=Zw(),{onAction:b,linkBehavior:E,keyboardNavigationBehavior:C,shouldSelectOnPressUp:S}=zO.get(t),R=ode(),M=k.useRef(null),q=()=>{var xe;r.current!==null&&(M.current!=null&&c.key!==M.current||!(!((xe=r.current)===null||xe===void 0)&&xe.contains(document.activeElement)))&&$c(r.current)},N={},L=e.hasChildItems,P=t.selectionManager.isLink(c.key);if(c!=null&&"expandedKeys"in t){var U,I;let xe=(U=(I=t.collection).getChildren)===null||U===void 0?void 0:U.call(I,c.key);L=L||[...xe??[]].length>1,b==null&&!P&&t.selectionManager.selectionMode==="none"&&L&&(b=()=>t.toggleKey(c.key));let B=L?t.expandedKeys.has(c.key):void 0,Z=1;if(c.level>0&&c?.parentKey!=null){let te=t.collection.getItem(c.parentKey);if(te){var Y,V;Z=[...(Y=(V=t.collection).getChildren)===null||Y===void 0?void 0:Y.call(V,te.key)].filter(re=>re.type==="item").length}}else Z=[...t.collection].filter(te=>te.level===0&&te.type==="item").length;N={"aria-expanded":B,"aria-level":c.level+1,"aria-posinset":c?.index+1,"aria-setsize":Z}}let{itemProps:F,...K}=Kpe({selectionManager:t.selectionManager,key:c.key,ref:r,isVirtualized:h,shouldSelectOnPressUp:e.shouldSelectOnPressUp||S,onAction:b||!((l=c.props)===null||l===void 0)&&l.onAction?I_((s=c.props)===null||s===void 0?void 0:s.onAction,b?()=>b(c.key):void 0):void 0,focus:q,linkBehavior:E}),Q=xe=>{if(!xe.currentTarget.contains(xe.target)||!r.current||!document.activeElement)return;let B=Lc(r.current);if(B.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===r.current){if(xe.key===Dq.expand[m]&&t.selectionManager.focusedKey===c.key&&L&&!t.expandedKeys.has(c.key)){t.toggleKey(c.key),xe.stopPropagation();return}else if(xe.key===Dq.collapse[m]&&t.selectionManager.focusedKey===c.key&&L&&t.expandedKeys.has(c.key)){t.toggleKey(c.key),xe.stopPropagation();return}}switch(xe.key){case"ArrowLeft":if(C==="arrow"){let te=m==="rtl"?B.nextNode():B.previousNode();if(te)xe.preventDefault(),xe.stopPropagation(),$c(te),Tg(te,{containingElement:Fb(r.current)});else if(xe.preventDefault(),xe.stopPropagation(),m==="rtl")$c(r.current),Tg(r.current,{containingElement:Fb(r.current)});else{B.currentNode=r.current;let be=Mq(B);be&&($c(be),Tg(be,{containingElement:Fb(r.current)}))}}break;case"ArrowRight":if(C==="arrow"){let te=m==="rtl"?B.previousNode():B.nextNode();if(te)xe.preventDefault(),xe.stopPropagation(),$c(te),Tg(te,{containingElement:Fb(r.current)});else if(xe.preventDefault(),xe.stopPropagation(),m==="ltr")$c(r.current),Tg(r.current,{containingElement:Fb(r.current)});else{B.currentNode=r.current;let be=Mq(B);be&&($c(be),Tg(be,{containingElement:Fb(r.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!xe.altKey&&r.current.contains(xe.target)){var Z;xe.stopPropagation(),xe.preventDefault(),(Z=r.current.parentElement)===null||Z===void 0||Z.dispatchEvent(new KeyboardEvent(xe.nativeEvent.type,xe.nativeEvent))}break}},he=xe=>{if(M.current=c.key,xe.target!==r.current){NO()||t.selectionManager.setFocusedKey(c.key);return}},de=xe=>{if(!(!xe.currentTarget.contains(xe.target)||!r.current||!document.activeElement))switch(xe.key){case"Tab":if(C==="tab"){let B=Lc(r.current,{tabbable:!0});B.currentNode=document.activeElement,(xe.shiftKey?B.previousNode():B.nextNode())&&xe.stopPropagation()}}},W=Ade(c.props),se=K.hasAction?W:{},le=Fl(F,se,{role:"row",onKeyDownCapture:Q,onKeyDown:de,onFocus:he,"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?`${aM(t,c.key)} ${R}`:void 0,id:aM(t,c.key)});if(h){let{collection:xe}=t,B=[...xe];le["aria-rowindex"]=B.find(Z=>Z.type==="section")?[...xe.getKeys()].filter(Z=>{var te;return((te=xe.getItem(Z))===null||te===void 0?void 0:te.type)!=="section"}).findIndex(Z=>Z===c.key)+1:c.index+1}let ae={role:"gridcell","aria-colindex":1};return{rowProps:{...Fl(le,N)},gridCellProps:ae,descriptionProps:{id:R},...K}}function Mq(e){let t=null,r=null;do r=e.lastChild(),r&&(t=r);while(r);return t}function Mhe(e,t){let{key:r}=e;const{checkboxProps:l}=_he(e,t);return{checkboxProps:{...l,"aria-labelledby":`${l.id} ${aM(t,r)}`}}}function Ohe(e,t,r){let{gridProps:l}=Ahe(e,t,r);return l.role="treegrid",{gridProps:l}}var zk={};zk={collapse:"طي",expand:"تمديد"};var Bk={};Bk={collapse:"Свиване",expand:"Разширяване"};var kk={};kk={collapse:"Sbalit",expand:"Roztáhnout"};var Uk={};Uk={collapse:"Skjul",expand:"Udvid"};var Ik={};Ik={collapse:"Reduzieren",expand:"Erweitern"};var Hk={};Hk={collapse:"Σύμπτυξη",expand:"Ανάπτυξη"};var Vk={};Vk={expand:"Expand",collapse:"Collapse"};var Fk={};Fk={collapse:"Contraer",expand:"Ampliar"};var Kk={};Kk={collapse:"Ahenda",expand:"Laienda"};var Gk={};Gk={collapse:"Pienennä",expand:"Laajenna"};var Yk={};Yk={collapse:"Réduire",expand:"Développer"};var Xk={};Xk={collapse:"כווץ",expand:"הרחב"};var Qk={};Qk={collapse:"Sažmi",expand:"Proširi"};var Zk={};Zk={collapse:"Összecsukás",expand:"Kibontás"};var Wk={};Wk={collapse:"Comprimi",expand:"Espandi"};var Jk={};Jk={collapse:"折りたたむ",expand:"展開"};var eU={};eU={collapse:"접기",expand:"펼치기"};var tU={};tU={collapse:"Sutraukti",expand:"Išskleisti"};var nU={};nU={collapse:"Sakļaut",expand:"Izvērst"};var rU={};rU={collapse:"Skjul",expand:"Utvid"};var aU={};aU={collapse:"Samenvouwen",expand:"Uitvouwen"};var lU={};lU={collapse:"Zwiń",expand:"Rozwiń"};var oU={};oU={collapse:"Recolher",expand:"Expandir"};var iU={};iU={collapse:"Colapsar",expand:"Expandir"};var uU={};uU={collapse:"Restrângeți",expand:"Extindeți"};var sU={};sU={collapse:"Свернуть",expand:"Развернуть"};var cU={};cU={collapse:"Zbaliť",expand:"Rozbaliť"};var fU={};fU={collapse:"Strni",expand:"Razširi"};var dU={};dU={collapse:" Skupi",expand:"Proširi"};var pU={};pU={collapse:"Dölj",expand:"Expandera"};var hU={};hU={collapse:"Daralt",expand:"Genişlet"};var mU={};mU={collapse:"Згорнути",expand:"Розгорнути"};var vU={};vU={collapse:"折叠",expand:"扩展"};var gU={};gU={collapse:"收合",expand:"展開"};var yU={};yU={"ar-AE":zk,"bg-BG":Bk,"cs-CZ":kk,"da-DK":Uk,"de-DE":Ik,"el-GR":Hk,"en-US":Vk,"es-ES":Fk,"et-EE":Kk,"fi-FI":Gk,"fr-FR":Yk,"he-IL":Xk,"hr-HR":Qk,"hu-HU":Zk,"it-IT":Wk,"ja-JP":Jk,"ko-KR":eU,"lt-LT":tU,"lv-LV":nU,"nb-NO":rU,"nl-NL":aU,"pl-PL":lU,"pt-BR":oU,"pt-PT":iU,"ro-RO":uU,"ru-RU":sU,"sk-SK":cU,"sl-SI":fU,"sr-SP":dU,"sv-SE":pU,"tr-TR":hU,"uk-UA":mU,"zh-CN":vU,"zh-TW":gU};function Nhe(e){return e&&e.__esModule?e.default:e}function bU(e,t,r){let{node:l}=e,s=Dhe(e,t,r),c=s.rowProps["aria-expanded"]===!0,h=Y_(Nhe(yU),"@react-aria/tree"),m=Mde({"aria-label":c?h.format("collapse"):h.format("expand"),"aria-labelledby":s.rowProps.id}),b={onPress:()=>{s.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{...s,expandButtonProps:b}}const $he=k.createContext(null),xU=k.createContext({}),Phe=ohe(function(t,r){[t,r]=_9(t,r,xU);let l=t,{isPending:s}=l,{buttonProps:c,isPressed:h}=xhe(t,r);c=qhe(c,s);let{focusProps:m,isFocused:b,isFocusVisible:E}=s_(t),{hoverProps:C,isHovered:S}=I9({...t,isDisabled:t.isDisabled||s}),R={isHovered:S,isPressed:(l.isPressed||h)&&!s,isFocused:b,isFocusVisible:E,isDisabled:t.isDisabled||!1,isPending:s??!1},M=ix({...t,values:R,defaultClassName:"react-aria-Button"}),q=Om(c.id),N=Om(),L=c["aria-labelledby"];s&&(L?L=`${L} ${N}`:c["aria-label"]&&(L=`${q} ${N}`));let P=k.useRef(s);k.useEffect(()=>{let I={"aria-labelledby":L||q};(!P.current&&b&&s||P.current&&b&&!s)&&K2(I,"assertive"),P.current=s},[s,b,L,q]);let U=ox(t,{global:!0});return delete U.onClick,k.createElement("button",{...Fl(U,M,c,m,C),type:c.type==="submit"&&s?"button":c.type,id:q,ref:r,"aria-labelledby":L,slot:t.slot||void 0,"aria-disabled":s?"true":c["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":R.isPressed||void 0,"data-hovered":S||void 0,"data-focused":b||void 0,"data-pending":s||void 0,"data-focus-visible":E||void 0},k.createElement($he.Provider,{value:{id:N}},M.children))});function qhe(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 Yf extends Set{constructor(t,r,l){super(t),t instanceof Yf?(this.anchorKey=r??t.anchorKey,this.currentKey=l??t.currentKey):(this.anchorKey=r??null,this.currentKey=l??null)}}function Lhe(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function jhe(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:l,selectionBehavior:s="toggle",disabledBehavior:c="all"}=e,h=k.useRef(!1),[,m]=k.useState(!1),b=k.useRef(null),E=k.useRef(null),[,C]=k.useState(null),S=k.useMemo(()=>Oq(e.selectedKeys),[e.selectedKeys]),R=k.useMemo(()=>Oq(e.defaultSelectedKeys,new Yf),[e.defaultSelectedKeys]),[M,q]=_O(S,R,e.onSelectionChange),N=k.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[L,P]=k.useState(s);s==="replace"&&L==="toggle"&&typeof M=="object"&&M.size===0&&P("replace");let U=k.useRef(s);return k.useEffect(()=>{s!==U.current&&(P(s),U.current=s)},[s]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:L,setSelectionBehavior:P,get isFocused(){return h.current},setFocused(I){h.current=I,m(I)},get focusedKey(){return b.current},get childFocusStrategy(){return E.current},setFocusedKey(I,Y="first"){b.current=I,E.current=Y,C(I)},selectedKeys:M,setSelectedKeys(I){(l||!Lhe(I,M))&&q(I)},disabledKeys:N,disabledBehavior:c}}function Oq(e,t){return e?e==="all"?"all":new Yf(e):t}class BO{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 s=this.collection.getItem(l);(!t||s&&XD(this.collection,s,t)<0)&&(t=s)}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 s=this.collection.getItem(l);(!t||s&&XD(this.collection,s,t)>0)&&(t=s)}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 Yf([r],r,r);else{let h=this.state.selectedKeys;var s;let m=(s=h.anchorKey)!==null&&s!==void 0?s:r;l=new Yf(h,m,r);var c;for(let b of this.getKeyRange(m,(c=h.currentKey)!==null&&c!==void 0?c:r))l.delete(b);for(let b of this.getKeyRange(r,m))this.canSelectItem(b)&&l.add(b)}this.state.setSelectedKeys(l)}getKeyRange(t,r){let l=this.collection.getItem(t),s=this.collection.getItem(r);return l&&s?XD(this.collection,l,s)<=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 s=[],c=t;for(;c!=null;){let h=this.collection.getItem(c);if(h&&(h.type==="item"||h.type==="cell"&&this.allowsCellSelection)&&s.push(c),c===r)return s;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 Yf(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 Yf([r],r,r):new Yf;this.state.setSelectedKeys(l)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Yf;for(let l of t){let s=this.getKey(l);if(s!=null&&(r.add(s),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=l=>{for(;l!=null;){if(this.canSelectItem(l)){var s;let h=this.collection.getItem(l);h?.type==="item"&&t.push(l);var c;h?.hasChildNodes&&(this.allowsCellSelection||h.type!=="item")&&r((c=(s=Wpe(Zpe(h,this.collection)))===null||s===void 0?void 0:s.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 Yf)}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 BO(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,r,l){this.collection=t,this.state=r;var s;this.allowsCellSelection=(s=l?.allowsCellSelection)!==null&&s!==void 0?s:!1,this._isSelectAll=null,this.layoutDelegate=l?.layoutDelegate||null}}class zhe{*[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 b of m.childNodes)l(b)};for(let m of t)l(m);let s=null,c=0;for(let[m,b]of this.keyMap)s?(s.nextKey=m,b.prevKey=s.key):(this.firstKey=m,b.prevKey=void 0),b.type==="item"&&(b.index=c++),s=b,s.nextKey=void 0;var h;this.lastKey=(h=s?.key)!==null&&h!==void 0?h:null}}function Bhe(e){let{onExpandedChange:t}=e,[r,l]=_O(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),s=jhe(e),c=k.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),h=Qpe(e,k.useCallback(b=>new zhe(b,{expandedKeys:r}),[r]),null);return k.useEffect(()=>{s.focusedKey!=null&&!h.getItem(s.focusedKey)&&s.setFocusedKey(null)},[h,s.focusedKey]),{collection:h,expandedKeys:r,disabledKeys:c,toggleKey:b=>{l(khe(r,b))},setExpandedKeys:l,selectionManager:new BO(h,s)}}function khe(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}const Q_=k.createContext({}),EU=k.createContext(null),Uhe=k.forwardRef(function(t,r){let{render:l}=k.useContext(EU);return k.createElement(k.Fragment,null,l(t,r))});function Ihe(e,t){var r;let l=e?.renderDropIndicator,s=e==null||(r=e.isVirtualDragging)===null||r===void 0?void 0:r.call(e),c=k.useCallback(h=>{if(s||t?.isDropTarget(h))return l?l(h):k.createElement(Uhe,{target:h})},[t?.target,s,l]);return e?.useDropIndicator?c:void 0}function Hhe(e,t,r){var l,s;let c=e.focusedKey,h=null;if(!(t==null||(l=t.isVirtualDragging)===null||l===void 0)&&l.call(t)&&(r==null||(s=r.target)===null||s===void 0?void 0:s.type)==="item"&&(h=r.target.key,r.target.dropPosition==="after")){let S=r.collection.getKeyAfter(h),R=null;if(S!=null){var m,b;let M=(b=(m=r.collection.getItem(h))===null||m===void 0?void 0:m.level)!==null&&b!==void 0?b:0;for(;S;){let q=r.collection.getItem(S);if(!q)break;if(q.type!=="item"){S=r.collection.getKeyAfter(S);continue}var E;if(((E=q.level)!==null&&E!==void 0?E:0)<=M)break;R=S,S=r.collection.getKeyAfter(S)}}var C;h=(C=S??R)!==null&&C!==void 0?C:h}return k.useMemo(()=>new Set([c,h].filter(S=>S!=null)),[c,h])}const Vhe=k.createContext(null);function Fhe(e){let t=k.useRef({});return k.createElement(Vhe.Provider,{value:t},e.children)}const Khe=k.createContext({isSelected:!1}),Nq=10,$q=5;class Ghe{setup(t,r,l){this.delegate=t,this.state=r,this.direction=l}getDropTargetFromPoint(t,r,l){let s=this.delegate.getDropTargetFromPoint(t,r,l);return!s||s.type==="root"?s:this.resolveDropTarget(s,t,r,l)}resolveDropTarget(t,r,l,s){let c=this.pointerTracking,h=l-c.lastY,m=r-c.lastX,b=c.yDirection,E=c.xDirection;if(Math.abs(h)>$q&&(b=h>0?"down":"up",c.yDirection=b,c.lastY=l),Math.abs(m)>Nq&&(E=m>0?"right":"left",c.xDirection=E,c.lastX=r),t.dropPosition==="before"){let R=this.state.collection.getKeyBefore(t.key);if(R!=null){let M={type:"item",key:R,dropPosition:"after"};s(M)&&(t=M)}}let C=this.getPotentialTargets(t,s);if(C.length===0)return{type:"root"};let S;return C.length>1?S=this.selectTarget(C,t,r,l,b,E):(S=C[0],c.boundaryContext=null),S}getPotentialTargets(t,r){if(t.dropPosition==="on")return[t];let l=t,s=this.state.collection,c=s.getItem(l.key);for(;c&&c?.type!=="item"&&c.nextKey!=null;)l.key=c.nextKey,c=s.getItem(c.nextKey);let h=[l];if(c&&c.hasChildNodes&&this.state.expandedKeys.has(c.key)&&s.getChildren&&l.dropPosition==="after"){let E=null;for(let C of s.getChildren(c.key))if(C.type==="item"){E=C;break}if(E){const C={type:"item",key:E.key,dropPosition:"before"};return r(C)?[C]:[]}}if(c?.nextKey!=null)return[t];let m=c?.parentKey,b=[];for(;m;){let E=s.getItem(m),C=E?.nextKey?s.getItem(E.nextKey):null;if(!C||C.parentKey!==m){let R={type:"item",key:m,dropPosition:"after"};if(r(R)&&b.push(R),C)break}m=E?.parentKey}if(b.length>0&&h.push(...b),h.length===1){let E=s.getKeyAfter(l.key),C=E?s.getItem(E):null;if(E!=null&&C&&c&&C.level!=null&&c.level!=null&&C.level>c.level){let S={type:"item",key:E,dropPosition:"before"};if(r(S))return[S]}}return h.filter(r)}selectTarget(t,r,l,s,c,h){if(t.length<2)return t[0];let m=this.pointerTracking,b=this.state.collection.getItem(r.key),E=b?.parentKey;if(!E)return t[0];if(!m.boundaryContext||m.boundaryContext.parentKey!==E){let q=m.yDirection==="up"?t.length-1:0;m.boundaryContext={parentKey:E,preferredTargetIndex:q,lastSwitchY:s,lastSwitchX:l}}let C=m.boundaryContext,S=Math.abs(l-C.lastSwitchX);if(Math.abs(s-C.lastSwitchY)>$q&&c){let q=C.preferredTargetIndex||0;c==="down"&&q===0?C.preferredTargetIndex=t.length-1:c==="up"&&q===t.length-1&&(C.preferredTargetIndex=0),m.xDirection=null}if(S>Nq&&h){let q=C.preferredTargetIndex||0;h==="left"?this.direction==="ltr"?q<t.length-1&&(C.preferredTargetIndex=q+1,C.lastSwitchX=l):q>0&&(C.preferredTargetIndex=q-1,C.lastSwitchX=l):h==="right"&&(this.direction==="ltr"?q>0&&(C.preferredTargetIndex=q-1,C.lastSwitchX=l):q<t.length-1&&(C.preferredTargetIndex=q+1,C.lastSwitchX=l)),m.yDirection=null}let M=Math.max(0,Math.min(C.preferredTargetIndex||0,t.length-1));return t[M]}constructor(){this.delegate=null,this.state=null,this.direction="ltr",this.pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null}}}class Yhe{*[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(s=>s.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(s=>s.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),s=l?.firstChildKey!=null?r.get(l.firstChildKey):null;for(;s;)yield s,s=s.nextKey!=null?r.get(s.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:s,keyMap:c,itemCount:h}=eme(r,{expandedKeys:l});this.flattenedRows=s,this.keyMap=c,this.itemCount=h}}const Xhe=k.createContext(null),kO=k.createContext(null),Qhe=k.forwardRef(function(t,r){return[t,r]=_9(t,r,Xhe),k.createElement(fhe,{content:k.createElement(LO,t)},l=>k.createElement(Zhe,{props:t,collection:l,treeRef:r}))}),Pq={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Zhe({props:e,collection:t,treeRef:r}){const{dragAndDropHooks:l}=e;let{direction:s}=Zw(),c=M9({usage:"search",sensitivity:"base"}),h=!!l?.useDraggableCollectionState,m=!!l?.useDroppableCollectionState,b=k.useRef(h),E=k.useRef(m);k.useEffect(()=>{b.current!==h&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),E.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:C="none",expandedKeys:S,defaultExpandedKeys:R,onExpandedChange:M,disabledBehavior:q="all"}=e,{CollectionRoot:N,isVirtualized:L,layoutDelegate:P,dropTargetDelegate:U}=k.useContext(jO),[I,Y]=_O(S?qq(S):void 0,R?qq(R):new Set,M),V=k.useMemo(()=>new Yhe({collection:t,expandedKeys:I}),[t,I]),F=Bhe({...e,selectionMode:C,expandedKeys:I,onExpandedChange:Y,collection:V,children:void 0,disabledBehavior:q}),{gridProps:K}=Ohe({...e,isVirtualized:L,layoutDelegate:P},F,r),Q,he,de,W=!1,se=null,le=k.useRef(null);if(h&&l){Q=l.useDraggableCollectionState({collection:F.collection,selectionManager:F.selectionManager,preview:l.renderDragPreview?le:void 0}),l.useDraggableCollection({},Q,r);let ce=l.DragPreview;se=l.renderDragPreview?k.createElement(ce,{ref:le},l.renderDragPreview):null}let[ae]=k.useState(()=>new Ghe);if(m&&l){he=l.useDroppableCollectionState({collection:F.collection,selectionManager:F.selectionManager});let ce=l.dropTargetDelegate||U||new l.ListDropTargetDelegate(F.collection,r,{direction:s});ae.setup(ce,F,s);let De=new Y9({collection:F.collection,collator:c,ref:r,disabledKeys:F.selectionManager.disabledKeys,disabledBehavior:F.selectionManager.disabledBehavior,direction:s,layoutDelegate:P});de=l.useDroppableCollection({keyboardDelegate:De,dropTargetDelegate:ae,onDropActivate:Ke=>{if(Ke.target.type==="item"){var _e;let Je=Ke.target.key,ie=F.collection.getItem(Je),ke=I!=="all"&&I.has(Je);ie&&ie.hasChildNodes&&(!ke||!(l==null||(_e=l.isVirtualDragging)===null||_e===void 0)&&_e.call(l))&&F.toggleKey(Je)}},onKeyDown:Ke=>{let _e=he?.target;if(_e&&_e.type==="item"&&_e.dropPosition==="on"){let Je=F.collection.getItem(_e.key);(Ke.key===Pq.expand[s]&&Je?.hasChildNodes&&!F.expandedKeys.has(_e.key)||Ke.key===Pq.collapse[s]&&Je?.hasChildNodes&&F.expandedKeys.has(_e.key))&&F.toggleKey(_e.key)}}},he,r);let je=he.getDropOperation;he.getDropOperation=Ke=>{let{target:_e,isInternal:Je}=Ke;var ie;let ke=(ie=Q?.draggingKeys)!==null&&ie!==void 0?ie:new Set;if(Je&&_e.type==="item"&&ke.size>0){if(ke.has(_e.key)&&_e.dropPosition==="on")return"cancel";let Ee=_e.key;for(;Ee!=null;){let Ae=F.collection.getItem(Ee),ot=Ae?.parentKey;if(ot!=null&&ke.has(ot))return"cancel";Ee=ot??null}}return je(Ke)},W=he.isDropTarget({type:"root"})}let xe=!!(h&&!Q?.isDisabled),{focusProps:B,isFocused:Z,isFocusVisible:te}=s_(),be={isEmpty:F.collection.size===0,isFocused:Z,isFocusVisible:te,isDropTarget:W,selectionMode:F.selectionManager.selectionMode,allowsDragging:!!xe,state:F},re=ix({className:e.className,style:e.style,defaultClassName:"react-aria-Tree",values:be}),oe=null;if(F.collection.size===0&&e.renderEmptyState){let{isEmpty:ce,...De}=be,je=e.renderEmptyState({...De}),Ke={"aria-level":1};oe=k.createElement("div",{role:"row",style:{display:"contents"},...Ke},k.createElement("div",{role:"gridcell",style:{display:"contents"}},je))}let ue=ox(e,{global:!0});return k.createElement(k.Fragment,null,k.createElement(Mpe,null,k.createElement("div",{...Fl(ue,re,K,B,de?.collectionProps),ref:r,slot:e.slot||void 0,"data-empty":F.collection.size===0||void 0,"data-focused":Z||void 0,"data-drop-target":W||void 0,"data-focus-visible":te||void 0,"data-selection-mode":F.selectionManager.selectionMode==="none"?void 0:F.selectionManager.selectionMode,"data-allows-dragging":!!xe||void 0},k.createElement(R9,{values:[[kO,F],[Q_,{dragAndDropHooks:l,dragState:Q,dropState:he}],[EU,{render:tme}]]},m&&k.createElement(ame,null),k.createElement(Fhe,null,k.createElement(N,{collection:F.collection,persistedKeys:Hhe(F.selectionManager,l,he),scrollRef:r,renderDropIndicator:Ihe(l,he)}))),oe)),se)}class SU extends ux{}SU.type="content";const Whe=tk(SU,function(t){let r=k.useContext(CU),l=ix({children:t.children,values:r});return k.createElement(jO.Provider,{value:rk},l.children)}),CU=k.createContext(null);class wU extends ux{}wU.type="item";const Jhe=ghe(wU,(e,t,r)=>{var l;let s=k.useContext(kO);t=K_(t);let{dragAndDropHooks:c,dragState:h,dropState:m}=k.useContext(Q_),{rowProps:b,gridCellProps:E,expandButtonProps:C,descriptionProps:S,...R}=bU({node:r,shouldSelectOnPressUp:!!h},s,t),M=b["aria-expanded"]===!0,q=e.hasChildItems||((l=[...s.collection.getChildren(r.key)])===null||l===void 0?void 0:l.length)>1,N=b["aria-level"]||1,{hoverProps:L,isHovered:P}=I9({isDisabled:!R.allowsSelection&&!R.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{isFocusVisible:U,focusProps:I}=s_(),{isFocusVisible:Y,focusProps:V}=s_({within:!0}),{checkboxProps:F}=Mhe({key:r.key},s),K=null;h&&c&&(K=c.useDraggableItem({key:r.key,hasDragButton:!0},h));let Q=null,he=k.useRef(null),de=k.useRef(null),W=k.useRef(null),{visuallyHiddenProps:se}=PO();m&&c&&(Q=c.useDropIndicator({target:{type:"item",key:r.key,dropPosition:"on"},activateButtonRef:W},m,de));let le=h&&h.isDragging(r.key),ae=Q?.isDropTarget,xe=s.selectionManager.selectionMode,B=s.selectionManager.selectionBehavior,Z=k.useMemo(()=>({...R,isHovered:P,isFocusVisible:U,isExpanded:M,hasChildItems:q,level:N,selectionMode:xe,selectionBehavior:B,isFocusVisibleWithin:Y,state:s,id:r.key,allowsDragging:!!h,isDragging:le,isDropTarget:ae}),[R,P,U,M,q,N,Y,s,r.key,h,le,ae,B,xe]),te=ix({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-TreeItem",defaultStyle:{"--tree-item-level":N},values:Z});k.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]),k.useEffect(()=>{q&&!he.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 be=k.useRef(null);k.useEffect(()=>{h&&!be.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 re=qO({items:s.collection.getChildren(r.key),children:ce=>{switch(ce.type){case"content":return ce.render(ce);case"loader":case"item":return k.createElement(k.Fragment,null);default:throw new Error("Unsupported element type in TreeRow: "+ce.type)}}}),oe=Om(),ue=ox(e,{global:!0});return delete ue.id,delete ue.onClick,k.createElement(k.Fragment,null,Q&&!Q.isHidden&&k.createElement("div",{role:"row","aria-level":b["aria-level"],"aria-expanded":b["aria-expanded"],"aria-label":Q.dropIndicatorProps["aria-label"]},k.createElement("div",{role:"gridcell","aria-colindex":1,style:{display:"contents"}},k.createElement("div",{role:"button",...se,...Q.dropIndicatorProps,ref:de}),b["aria-expanded"]!=null?k.createElement("div",{role:"button",...se,id:oe,"aria-label":C["aria-label"],"aria-labelledby":`${oe} ${b.id}`,tabIndex:-1,ref:W}):null)),k.createElement("div",{...Fl(ue,b,I,L,V,K?.dragProps),...te,ref:t,"data-expanded":q&&M||void 0,"data-has-child-items":q||void 0,"data-level":N,"data-selected":R.isSelected||void 0,"data-disabled":R.isDisabled||void 0,"data-hovered":P||void 0,"data-focused":R.isFocused||void 0,"data-focus-visible":U||void 0,"data-pressed":R.isPressed||void 0,"data-selection-mode":s.selectionManager.selectionMode==="none"?void 0:s.selectionManager.selectionMode,"data-allows-dragging":!!h||void 0,"data-dragging":le||void 0,"data-drop-target":ae||void 0},k.createElement("div",{...E,style:{display:"contents"}},k.createElement(R9,{values:[[Kfe,{slots:{selection:F}}],[xU,{slots:{[w9]:{},chevron:{...C,ref:he},drag:{...K?.dragButtonProps,ref:be,style:{pointerEvents:"none"}}}}],[CU,{...Z}],[Khe,{isSelected:R.isSelected}]]},re))))});tk(Q9,function(t,r,l){let{isVirtualized:s}=k.useContext(jO),c=k.useContext(kO),{isLoading:h,onLoadMore:m,scrollOffset:b,...E}=t,C=k.useRef(null),S=k.useMemo(()=>({onLoadMore:m,collection:c?.collection,sentinelRef:C,scrollOffset:b}),[m,b,c?.collection]);qde(S,C),r=K_(r);let{rowProps:R,gridCellProps:M}=bU({node:l},c,r),q=R["aria-level"]||1,N={role:"row","aria-level":R["aria-level"]},L=ix({...E,id:void 0,children:l.rendered,defaultClassName:"react-aria-TreeLoader",values:{level:q}}),P={};return s&&(P={display:"contents"}),k.createElement(k.Fragment,null,k.createElement("div",{style:{position:"relative",width:0,height:0},inert:Lde(!0)},k.createElement("div",{"data-testid":"loadMoreSentinel",ref:C,style:{position:"absolute",height:1,width:1}})),h&&L.children&&k.createElement("div",{ref:r,...Fl(ox(t),N),...L,"data-level":q},k.createElement("div",{...M,style:P},L.children)))});function qq(e){return e?e==="all"?"all":new Set(e):new Set}function eme(e,t){let{expandedKeys:r=new Set}=t,l=new Map,s=[],c=0,h=new Map,m=b=>{if(b.type==="item"||b.type==="loader"){let E=b?.parentKey,C={...b};E!=null?([...e.getChildren(E)][0].type!=="item"&&(C.index=b?.index!=null?b?.index-1:0),b.type==="loader"&&(C.level=b.level+1),l.set(C.key,C)):l.set(b.key,b);let S=l.get(b.key)||b;(S.level===0||S.parentKey!=null&&r.has(S.parentKey)&&h.get(S.parentKey))&&(S.type==="item"&&c++,s.push(S),h.set(S.key,!0))}else b.type!==null&&l.set(b.key,b);for(let E of e.getChildren(b.key))m(E)};for(let b of e)m(b);return{flattenedRows:s,keyMap:l,itemCount:c}}function tme(e,t){var r;t=K_(t);let{dragAndDropHooks:l,dropState:s}=k.useContext(Q_),c=k.useRef(null),{dropIndicatorProps:h,isHidden:m,isDropTarget:b}=l.useDropIndicator(e,s,c);if(m)return null;let E=s&&e.target.type==="item"?(((r=s.collection.getItem(e.target.key))===null||r===void 0?void 0:r.level)||0)+1:1;return k.createElement(rme,{...e,dropIndicatorProps:h,isDropTarget:b,ref:t,buttonRef:c,level:E})}function nme(e,t){let{dropIndicatorProps:r,isDropTarget:l,buttonRef:s,level:c,...h}=e,{visuallyHiddenProps:m}=PO(),b=ix({...h,defaultClassName:"react-aria-DropIndicator",defaultStyle:{position:"relative","--tree-item-level":c},values:{isDropTarget:l}});return k.createElement("div",{...b,role:"row","aria-level":c,ref:t,"data-drop-target":l||void 0},k.createElement("div",{role:"gridcell"},k.createElement("div",{...m,role:"button",...r,ref:s}),b.children))}const rme=k.forwardRef(nme);function ame(){let{dragAndDropHooks:e,dropState:t}=k.useContext(Q_),r=k.useRef(null),{dropIndicatorProps:l}=e.useDropIndicator({target:{type:"root"}},t,r),s=t.isDropTarget({type:"root"}),{visuallyHiddenProps:c}=PO();return!s&&l["aria-hidden"]?null:k.createElement("div",{role:"row","aria-hidden":l["aria-hidden"],style:{position:"absolute"}},k.createElement("div",{role:"gridcell"},k.createElement("div",{role:"button",...c,...l,ref:r})))}var lme=/\s+/g,ome=e=>typeof e!="string"||!e?e:e.replace(lme," ").trim(),c_=(...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 s=typeof l;if(s==="string"||s==="number"||s==="bigint"){if(s==="number"&&l!==l)return;t.push(String(l))}else if(s==="object"){const c=Object.keys(l);for(let h=0,m=c.length;h<m;h++){const b=c[h];l[b]&&t.push(b)}}};for(let l=0,s=e.length;l<s;l++){const c=e[l];c!=null&&r(c)}return t.length>0?ome(t.join(" ")):void 0},Lq=e=>e===!1?"false":e===!0?"true":e===0?"0":e,ku=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},ime=(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 s=0;s<r.length;s++){const c=r[s];if(!l.includes(c)||e[c]!==t[c])return!1}return!0},ume=(e,t)=>{for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const l=t[r];r in e?e[r]=c_(e[r],l):e[r]=l}return e},RU=(e,t)=>{for(let r=0;r<e.length;r++){const l=e[r];Array.isArray(l)?RU(l,t):l&&t.push(l)}},TU=(...e)=>{const t=[];RU(e,t);const r=[];for(let l=0;l<t.length;l++)t[l]&&r.push(t[l]);return r},lM=(e,t)=>{const r={};for(const l in e){const s=e[l];if(l in t){const c=t[l];Array.isArray(s)||Array.isArray(c)?r[l]=TU(c,s):typeof s=="object"&&typeof c=="object"&&s&&c?r[l]=lM(s,c):r[l]=c+" "+s}else r[l]=s}for(const l in t)l in e||(r[l]=t[l]);return r},sme={twMerge:!0,twMergeConfig:{}};function cme(){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 Cm=cme(),fme=e=>{const t=(l,s)=>{const{extend:c=null,slots:h={},variants:m={},compoundVariants:b=[],compoundSlots:E=[],defaultVariants:C={}}=l,S={...sme,...s},R=c?.base?c_(c.base,l?.base):l?.base,M=c?.variants&&!ku(c.variants)?lM(m,c.variants):m,q=c?.defaultVariants&&!ku(c.defaultVariants)?{...c.defaultVariants,...C}:C;!ku(S.twMergeConfig)&&!ime(S.twMergeConfig,Cm.cachedTwMergeConfig)&&(Cm.didTwMergeConfigChange=!0,Cm.cachedTwMergeConfig=S.twMergeConfig);const N=ku(c?.slots),L=ku(h)?{}:{base:c_(l?.base,N&&c?.base),...h},P=N?L:ume({...c?.slots},ku(L)?{base:l?.base}:L),U=ku(c?.compoundVariants)?b:TU(c?.compoundVariants,b),I=V=>{if(ku(M)&&ku(h)&&N)return e(R,V?.class,V?.className)(S);if(U&&!Array.isArray(U))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof U}`);if(E&&!Array.isArray(E))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof E}`);const F=(ae,xe=M,B=null,Z=null)=>{const te=xe[ae];if(!te||ku(te))return null;const be=Z?.[ae]??V?.[ae];if(be===null)return null;const re=Lq(be);if(typeof re=="object")return null;const oe=q?.[ae],ue=re??Lq(oe);return te[ue||"false"]},K=()=>{if(!M)return null;const ae=Object.keys(M),xe=[];for(let B=0;B<ae.length;B++){const Z=F(ae[B],M);Z&&xe.push(Z)}return xe},Q=(ae,xe)=>{if(!M||typeof M!="object")return null;const B=[];for(const Z in M){const te=F(Z,M,ae,xe),be=ae==="base"&&typeof te=="string"?te:te&&te[ae];be&&B.push(be)}return B},he={};for(const ae in V){const xe=V[ae];xe!==void 0&&(he[ae]=xe)}const de=(ae,xe)=>{const B=typeof V?.[ae]=="object"?{[ae]:V[ae]?.initial}:{};return{...q,...he,...B,...xe}},W=(ae=[],xe)=>{const B=[],Z=ae.length;for(let te=0;te<Z;te++){const{class:be,className:re,...oe}=ae[te];let ue=!0;const ce=de(null,xe);for(const De in oe){const je=oe[De],Ke=ce[De];if(Array.isArray(je)){if(!je.includes(Ke)){ue=!1;break}}else{if((je==null||je===!1)&&(Ke==null||Ke===!1))continue;if(Ke!==je){ue=!1;break}}}ue&&(be&&B.push(be),re&&B.push(re))}return B},se=ae=>{const xe=W(U,ae);if(!Array.isArray(xe))return xe;const B={},Z=e;for(let te=0;te<xe.length;te++){const be=xe[te];if(typeof be=="string")B.base=Z(B.base,be)(S);else if(typeof be=="object")for(const re in be)B[re]=Z(B[re],be[re])(S)}return B},le=ae=>{if(E.length<1)return null;const xe={},B=de(null,ae);for(let Z=0;Z<E.length;Z++){const{slots:te=[],class:be,className:re,...oe}=E[Z];if(!ku(oe)){let ue=!0;for(const ce in oe){const De=B[ce],je=oe[ce];if(De===void 0||(Array.isArray(je)?!je.includes(De):je!==De)){ue=!1;break}}if(!ue)continue}for(let ue=0;ue<te.length;ue++){const ce=te[ue];xe[ce]||(xe[ce]=[]),xe[ce].push([be,re])}}return xe};if(!ku(h)||!N){const ae={};if(typeof P=="object"&&!ku(P)){const xe=e;for(const B in P)ae[B]=Z=>{const te=se(Z),be=le(Z);return xe(P[B],Q(B,Z),te?te[B]:void 0,be?be[B]:void 0,Z?.class,Z?.className)(S)}}return ae}return e(R,K(),W(U),V?.class,V?.className)(S)},Y=()=>{if(!(!M||typeof M!="object"))return Object.keys(M)};return I.variantKeys=Y(),I.extend=c,I.base=R,I.slots=P,I.variants=M,I.defaultVariants=q,I.compoundSlots=E,I.compoundVariants=U,I};return{tv:t,createTV:l=>(s,c)=>t(s,c?lM(l,c):l)}},dme=e=>ku(e)?qH:Jq({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),pme=(e,t)=>{const r=c_(e);return!r||!(t?.twMerge??!0)?r:((!Cm.cachedTwMerge||Cm.didTwMergeConfigChange)&&(Cm.didTwMergeConfigChange=!1,Cm.cachedTwMerge=dme(Cm.cachedTwMergeConfig)),Cm.cachedTwMerge(r)||void 0)},hme=(...e)=>t=>pme(e,t),{tv:_U}=fme(hme);const mme=_U({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"}}}),AU=({className:e,...t})=>O.jsx(Qhe,{"data-slot":"tree",className:T9(e,(r,l)=>mme({...l,className:r})),...t,children:t.children}),vme=_U({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"}}}),DU=({className:e,...t})=>O.jsx(Jhe,{"data-slot":"tree-item","data-key":t.id,className:T9(e,(r,l)=>vme({...l,className:r})),...t,children:t.children}),MU=e=>O.jsx(Whe,{"data-slot":"tree-item-content",...e,"data-key":e.key,children:O.jsx("div",{className:"flex items-center gap-x-1",children:e.children})}),OU=()=>O.jsx(Phe,{"data-slot":"tree-item-chevron",className:"shrink-0 relative",slot:"chevron",children:O.jsx(Rw,{className:"size-5","data-slot":"icon"})}),NU=e=>O.jsx("span",{"data-slot":"tree-item-label",...e});function gme({items:e,...t}){const r=l=>O.jsxs(DU,{id:l.id,textValue:l.title,children:[O.jsxs(MU,{children:[l.children?.length?O.jsx(OU,{}):null,O.jsx(NU,{children:l.title})]}),l.children?.length?O.jsx(LO,{items:l.children,children:r}):null]},l.id);return O.jsx(AU,{items:e,...t,children:e.map(l=>r(l))})}exports.AlertDialog=nG;exports.AutoComplete=_Y;exports.AutoCompleteDialog=RY;exports.AutoCompleteEmpty=S_;exports.AutoCompleteGroup=b8;exports.AutoCompleteInput=x_;exports.AutoCompleteItem=sw;exports.AutoCompleteList=E_;exports.AutoCompleteRoot=Dw;exports.AutoCompleteSeparator=TY;exports.AutoCompleteShortcut=x8;exports.Avatar=rte;exports.BackgroundImage=ate;exports.BaseButton=K7;exports.Button=hi;exports.Calendar=SL;exports.Card=rae;exports.CardContent=iae;exports.CardDescription=oae;exports.CardFooter=uae;exports.CardHeader=aae;exports.CardTitle=lae;exports.Center=sae;exports.Checkbox=cae;exports.Collection=LO;exports.Combobox=fae;exports.DOTS=Dg;exports.DatePicker=dae;exports.Dialog=SK;exports.DialogClose=r2;exports.DialogContent=v_;exports.DialogDescription=vM;exports.DialogFooter=hM;exports.DialogHeader=pM;exports.DialogOverlay=j7;exports.DialogPortal=L7;exports.DialogRoot=m_;exports.DialogTitle=mM;exports.DialogTrigger=dM;exports.Divider=CL;exports.Dropzone=hae;exports.EmptyState=gae;exports.Field=yae;exports.FileType=sl;exports.FileTypeGroups=mae;exports.Form=Fae;exports.FormControl=FL;exports.FormDescription=KL;exports.FormField=Kae;exports.FormItem=HL;exports.FormLabel=VL;exports.FormMessage=GL;exports.Heading=NL;exports.Input=ej;exports.Kbd=ile;exports.KbdGroup=ule;exports.Label=$w;exports.Loader=cle;exports.Menu=mse;exports.MenuCheckboxItem=Pz;exports.MenuContent=Nz;exports.MenuGroup=dse;exports.MenuItem=$z;exports.MenuLabel=Lz;exports.MenuPortal=pse;exports.MenuRadioGroup=hse;exports.MenuRadioItem=qz;exports.MenuRoot=_z;exports.MenuSeparator=jz;exports.MenuShortcut=zz;exports.MenuSub=Dz;exports.MenuSubContent=Oz;exports.MenuSubTrigger=Mz;exports.MenuTrigger=Az;exports.MultiSelect=zse;exports.NumberInput=Bse;exports.Pagination=kse;exports.Password=Use;exports.Popover=Lse;exports.PopoverContent=Yw;exports.PopoverRoot=Kw;exports.PopoverTrigger=Gw;exports.Select=Ise;exports.SelectContent=LB;exports.SelectGroup=OB;exports.SelectItem=zB;exports.SelectLabel=jB;exports.SelectRoot=MB;exports.SelectScrollDownButton=qB;exports.SelectScrollUpButton=PB;exports.SelectSeparator=Uce;exports.SelectTrigger=$B;exports.SelectValue=NB;exports.Show=w2;exports.Skeleton=Ice;exports.Stack=Hce;exports.Stepper=Fce;exports.StepperContainer=kB;exports.StepperContent=HB;exports.StepperList=UB;exports.StepperTrigger=IB;exports.Switch=Kce;exports.TABLE_PAGE_SIZES=AT;exports.TabContent=tfe;exports.TabList=Jce;exports.TabTrigger=efe;exports.Table=Xce;exports.TableBody=KB;exports.TableCaption=Yce;exports.TableCell=YB;exports.TableFooter=Gce;exports.TableHead=GB;exports.TableHeader=FB;exports.TablePagination=Qce;exports.TableRoot=VB;exports.TableRow=U2;exports.Tabs=Wce;exports.Tag=q2;exports.Textarea=rfe;exports.ThemeProvider=CK;exports.Timeline=lfe;exports.TimelineItemContent=WB;exports.TimelineItemDot=ZB;exports.TimelineListItem=QB;exports.TimelineRoot=XB;exports.Toast=JB;exports.ToastIcons=t9;exports.Toaster=ufe;exports.Tooltip=Ffe;exports.TooltipContent=m9;exports.TooltipProvider=d9;exports.TooltipRoot=p9;exports.TooltipTrigger=h9;exports.Tree=gme;exports.TreeItem=DU;exports.TreeItemContent=MU;exports.TreeItemIndicator=OU;exports.TreeItemLabel=NU;exports.TreeRoot=AU;exports.UploadAcceptedFiles=DL;exports.UploadContent=_L;exports.UploadItem=OL;exports.UploadRejectedFiles=ML;exports.UploadRoot=RL;exports.UploadTrigger=TL;exports.click=ete;exports.cn=Fe;exports.createSafeContext=Mw;exports.ensureReactElement=DY;exports.extractInitials=E8;exports.getFormData=MY;exports.mergeRefs=AY;exports.monthNames=C2;exports.tagVariants=kz;exports.toast=mfe;exports.twMerge=e7;exports.type=tte;exports.useArray=fle;exports.useAsync=dle;exports.useClickOutside=ple;exports.useClipboard=hle;exports.useControllableState=br;exports.useDebouncedCallback=mle;exports.useDebouncedValue=vle;exports.useDisclosure=gle;exports.useDocumentTitle=yle;exports.useEventListener=tj;exports.useFocusTrap=kle;exports.useForm=lle;exports.useFormField=Lw;exports.useHotkey=nj;exports.useHover=wle;exports.useIsVisible=Rle;exports.useLocalStorage=Tle;exports.useMediaQuery=_le;exports.useMemoizedFn=Ale;exports.useMutation=Dle;exports.useObject=Mle;exports.usePagination=YM;exports.usePortal=Ole;exports.usePreventCloseWindow=Nle;exports.useRangePagination=rj;exports.useSelection=$le;exports.useStep=Ple;exports.useTheme=k7;exports.useThemeProps=Tw;exports.useToastStore=vO;exports.useToggle=aj;exports.weeksDays=EL;
|