PageSourceSearch

https://www.hitube.io/_next/static/chunks/pages/_app-102b3a3fbafec831.js

js hitube.io collected 2026-10-05 05:23:41 UTC 958,537 bytes, 18 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{30242:function(e,t,n){var r={"./ar/Common":[80356,356],"./ar/Common.json":[80356,356],"./ar/Header":[52903,2903],"./ar/Header.json":[52903,2903],"./ar/HomePage":[98328,8328],"./ar/HomePage.json":[98328,8328],"./ar/about-us":[98913,8913],"./ar/about-us.json":[98913,8913],"./ar/android-apk":[29827,9827],"./ar/android-apk.json":[29827,9827],"./ar/changelog":[21464,1464],"./ar/changelog.json":[21464,1464],"./ar/download-posts-from-instagram":[45775,5775],"./ar/download-posts-from-instagram.json":[45775,5775],"./ar/download-story-tiktok":[28437,8437],"./ar/download-story-tiktok.json":[28437,8437],"./ar/facebook-photo-download":[77618,7618],"./ar/facebook-photo-download.json":[77618,7618],"./ar/facebook-private-video-download":[15525,5525],"./ar/facebook-private-video-download.json":[15525,5525],"./ar/facebook-reels-download":[60419,419],"./ar/facebook-reels-download.json":[60419,419],"./ar/facebook-story-download":[32167,2167],"./ar/facebook-story-download.json":[32167,2167],"./ar/facebook-video-download":[49944,9944],"./ar/facebook-video-download.json":[49944,9944],"./ar/instagram-audio-download":[7153,7153],"./ar/instagram-audio-download.json":[7153,7153],"./ar/instagram-mp4":[48737,8737],"./ar/instagram-mp4.json":[48737,8737],"./ar/instagram-photo-download":[26437,6437],"./ar/instagram-photo-download.json":[26437,6437],"./ar/instagram-profile-downloader":[71790,1790],"./ar/instagram-profile-downloader.json":[71790,1790],"./ar/instagram-profile-viewer":[41528,1528],"./ar/instagram-profile-viewer.json":[41528,1528],"./ar/instagram-reel-download":[77425,7425],"./ar/instagram-reel-download.json":[77425,7425],"./ar/instagram-story-download":[23516,3516],"./ar/instagram-story-download-hd":[38710,8710],"./ar/instagram-story-download-hd.json":[38710,8710],"./ar/instagram-story-download.json":[23516,3516],"./ar/instagram-story-viewer":[97580,7580],"./ar/instagram-story-viewer.json":[97580,7580],"./ar/instagram-video-download":[63800,3800],"./ar/instagram-video-download.json":[63800,3800],"./ar/pinterest-gif-download":[29280,9280],"./ar/pinterest-gif-download.json":[29280,9280],"./ar/pinterest-image-download":[83645,8334],"./ar/pinterest-image-download.json":[83645,8334],"./ar/pinterest-video-download":[73735,3735],"./ar/pinterest-video-download.json":[73735,3735],"./ar/tiktok-audio-download":[51279,1279],"./ar/tiktok-audio-download.json":[51279,1279],"./ar/tiktok-downloader-hd":[44344,4344],"./ar/tiktok-downloader-hd.json":[44344,4344],"./ar/tiktok-mp4-download":[26461,6461],"./ar/tiktok-mp4-download.json":[26461,6461],"./ar/tiktok-video-download":[23636,3636],"./ar/tiktok-video-download.json":[23636,3636],"./ar/x-twitter-gif-download":[19804,9804],"./ar/x-twitter-gif-download.json":[19804,9804],"./ar/x-twitter-photo-download":[80921,921],"./ar/x-twitter-photo-download.json":[80921,921],"./ar/x-twitter-video-download":[75337,5337],"./ar/x-twitter-video-download.json":[75337,5337],"./az/Common":[45806,5806],"./az/Common.json":[45806,5806],"./az/Header":[24224,5142],"./az/Header.json":[24224,5142],"./az/HomePage":[24196,4196],"./az/HomePage.json":[24196,4196],"./az/about-us":[67749,7749],"./az/about-us.json":[67749,7749],"./az/android-apk":[60238,8013],"./az/android-apk.json":[60238,8013],"./az/changelog":[55427,5427],"./az/changelog.json":[55427,5427],"./az/download-posts-from-instagram":[86828,6828],"./az/download-posts-from-instagram.json":[86828,6828],"./az/download-story-tiktok":[10398,398],"./az/download-story-tiktok.json":[10398,398],"./az/facebook-photo-download":[21880,1880],"./az/facebook-photo-download.json":[21880,1880],"./az/facebook-private-video-download":[32617,2617],"./az/facebook-private-video-download.json":[32617,2617],"./az/facebook-reels-download":[30217,217],"./az/facebook-reels-download.json":[30217,217],"./az/facebook-story-download":[86870,6870],"./az/facebook-story-download.json":[86870,6870],"./az/facebook-video-download":[47108,7108],"./az/facebook-video-download.json":[47108,7108],"./az/instagram-audio-download":[64249,4249],"./az/instagram-audio-download.json":[64249,4249],"./az/instagram-mp4":[80093,93],"./az/instagram-mp4.json":[80093,93],"./az/instagram-photo-download":[41481,1481],"./az/instagram-photo-download.json":[41481,1481],"./az/instagram-profile-downloader":[11426,1426],"./az/instagram-profile-downloader.json":[11426,1426],"./az/instagram-profile-viewer":[34213,4213],"./az/instagram-profile-viewer.json":[34213,4213],"./az/instagram-reel-download":[85779,5779],"./az/instagram-reel-download.json":[85779,5779],"./az/instagram-story-download":[65642,5642],"./az/instagram-story-download-hd":[54110,4039],"./az/instagram-story-download-hd.json":[54110,4039],"./az/instagram-story-download.json":[65642,5642],"./az/instagram-story-viewer":[52502,2502],"./az/instagram-story-viewer.json":[52502,2502],"./az/instagram-video-download":[94726,4726],"./az/instagram-video-download.json":[94726,4726],"./az/pinterest-gif-download":[74064,4064],"./az/pinterest-gif-download.json":[74064,4064],"./az/pinterest-image-download":[54912,4912],"./az/pinterest-image-download.json":[54912,4912],"./az/pinterest-video-download":[79011,9011],"./az/pinterest-video-download.json":[79011,9011],"./az/tiktok-audio-download":[49456,9456],"./az/tiktok-audio-download.json":[49456,9456],"./az/tiktok-downloader-hd":[47532,7532],"./az/tiktok-downloader-hd.json":[47532,7532],"./az/tiktok-mp4-download":[28312,8312],"./az/tiktok-mp4-download.json":[28312,8312],"./az/tiktok-video-download":[92980,2980],"./az/tiktok-video-download.json":[92980,2980],"./az/x-twitter-gif-d
1ownload":[80173,173],"./az/x-twitter-gif-download.json":[80173,173],"./az/x-twitter-photo-download":[18505,8505],"./az/x-twitter-photo-download.json":[18505,8505],"./az/x-twitter-video-download":[52118,2118],"./az/x-twitter-video-download.json":[52118,2118],"./en/Common":[67355,7355],"./en/Common.json":[67355,7355],"./en/Header":[64504,4504],"./en/Header.json":[64504,4504],"./en/HomePage":[93875,3875],"./en/HomePage.json":[93875,3875],"./en/about-us":[76187,6187],"./en/about-us.json":[76187,6187],"./en/android-apk":[28325,8325],"./en/android-apk.json":[28325,8325],"./en/changelog":[51661,1661],"./en/changelog.json":[51661,1661],"./en/download-posts-from-instagram":[47667,7667],"./en/download-posts-from-instagram.json":[47667,7667],"./en/download-story-tiktok":[98257,8257],"./en/download-story-tiktok.json":[98257,8257],"./en/facebook-photo-download":[58465,8465],"./en/facebook-photo-download.json":[58465,8465],"./en/facebook-private-video-download":[90302,302],"./en/facebook-private-video-download.json":[90302,302],"./en/facebook-reels-download":[23775,3775],"./en/facebook-reels-download.json":[23775,3775],"./en/facebook-story-download":[77035,7035],"./en/facebook-story-download.json":[77035,7035],"./en/facebook-video-download":[13164,3164],"./en/facebook-video-download.json":[13164,3164],"./en/instagram-audio-download":[56732,6732],"./en/instagram-audio-download.json":[56732,6732],"./en/instagram-mp4":[20746,746],"./en/instagram-mp4.json":[20746,746],"./en/instagram-photo-download":[78928,8928],"./en/instagram-photo-download.json":[78928,8928],"./en/instagram-profile-downloader":[44270,4270],"./en/instagram-profile-downloader.json":[44270,4270],"./en/instagram-profile-viewer":[83293,3293],"./en/instagram-profile-viewer.json":[83293,3293],"./en/instagram-reel-download":[60530,530],"./en/instagram-reel-download.json":[60530,530],"./en/instagram-story-download":[94809,4809],"./en/instagram-story-download-hd":[98281,8281],"./en/instagram-story-download-hd.json":[98281,8281],"./en/instagram-story-download.json":[94809,4809],"./en/instagram-story-viewer":[37691,7691],"./en/instagram-story-viewer.json":[37691,7691],"./en/instagram-video-download":[23050,3050],"./en/instagram-video-download.json":[23050,3050],"./en/pinterest-gif-download":[10947,947],"./en/pinterest-gif-download.json":[10947,947],"./en/pinterest-image-download":[34110,4110],"./en/pinterest-image-download.json":[34110,4110],"./en/pinterest-video-download":[70413,413],"./en/pinterest-video-download.json":[70413,413],"./en/tiktok-audio-download":[65915,5915],"./en/tiktok-audio-download.json":[65915,5915],"./en/tiktok-downloader-hd":[95694,5694],"./en/tiktok-downloader-hd.json":[95694,5694],"./en/tiktok-mp4-download":[29999,9999],"./en/tiktok-mp4-download.json":[29999,9999],"./en/tiktok-video-download":[30281,281],"./en/tiktok-video-download.json":[30281,281],"./en/x-twitter-gif-download":[83926,3926],"./en/x-twitter-gif-download.json":[83926,3926],"./en/x-twitter-photo-download":[12742,2742],"./en/x-twitter-photo-download.json":[12742,2742],"./en/x-twitter-video-download":[78048,8048],"./en/x-twitter-video-download.json":[78048,8048],"./es/Common":[80822,822],"./es/Common.json":[80822,822],"./es/Header":[78725,8725],"./es/Header.json":[78725,8725],"./es/HomePage":[65010,5010],"./es/HomePage.json":[65010,5010],"./es/about-us":[10361,361],"./es/about-us.json":[10361,361],"./es/android-apk":[53666,3666],"./es/android-apk.json":[53666,3666],"./es/changelog":[46538,6538],"./es/changelog.json":[46538,6538],"./es/download-posts-from-instagram":[82131,2131],"./es/download-posts-from-instagram.json":[82131,2131],"./es/download-story-tiktok":[54435,4435],"./es/download-story-tiktok.json":[54435,4435],"./es/facebook-photo-download":[82698,2698],"./es/facebook-photo-download.json":[82698,2698],"./es/facebook-private-video-download":[43030,3030],"./es/facebook-private-video-download.json":[43030,3030],"./es/facebook-reels-download":[92006,3695],"./es/facebook-reels-download.json":[92006,3695],"./es/facebook-story-download":[42043,2043],"./es/facebook-story-download.json":[42043,2043],"./es/facebook-video-download":[6345,6345],"./es/facebook-video-download.json":[6345,6345],"./es/instagram-audio-download":[13063,3063],"./es/instagram-audio-download.json":[13063,3063],"./es/instagram-mp4":[73645,3645],"./es/instagram-mp4.json":[73645,3645],"./es/instagram-photo-download":[1102,1102],"./es/instagram-photo-download.json":[1102,1102],"./es/instagram-profile-downloader":[42117,2117],"./es/instagram-profile-downloader.json":[42117,2117],"./es/instagram-profile-viewer":[95536,5536],"./es/instagram-profile-viewer.json":[95536,5536],"./es/instagram-reel-download":[29922,9922],"./es/instagram-reel-download.json":[29922,9922],"./es/instagram-story-download":[99154,9154],"./es/instagram-story-download-hd":[56288,6288],"./es/instagram-story-download-hd.json":[56288,6288],"./es/instagram-story-download.json":[99154,9154],"./es/instagram-story-viewer":[4669,4669],"./es/instagram-story-viewer.json":[4669,4669],"./es/instagram-video-download":[64618,4618],"./es/instagram-video-download.json":[64618,4618],"./es/pinterest-gif-download":[77840,7840],"./es/pinterest-gif-download.json":[77840,7840],"./es/pinterest-image-download":[54820,5591],"./es/pinterest-image-download.json":[54820,5591],"./es/pinterest-video-download":[85397,5397],"./es/pinterest-video-download.json":[85397,5397],"./es/tiktok-audio-download":[6083,6083],"./es/tiktok-audio-download.json":[6083,6083],"./es/tiktok-downloader-hd":[28289,8289],"./es/tiktok-downloader-hd.json":[28289,8289],"./es/tiktok-mp4-download":[51157,1157],"./es/tiktok-mp4-download.json":[51157,1157],"./es/tiktok-video-download":[73277,3277],"./es/tiktok-video-download.json":[73277,3277],"./es/x-twitter-gif-d
1ownload":[21870,1870],"./es/x-twitter-gif-download.json":[21870,1870],"./es/x-twitter-photo-download":[82022,2022],"./es/x-twitter-photo-download.json":[82022,2022],"./es/x-twitter-video-download":[69585,9585],"./es/x-twitter-video-download.json":[69585,9585],"./fr/Common":[29531,9531],"./fr/Common.json":[29531,9531],"./fr/Header":[51056,1056],"./fr/Header.json":[51056,1056],"./fr/HomePage":[2576,2576],"./fr/HomePage.json":[2576,2576],"./fr/about-us":[45511,5511],"./fr/about-us.json":[45511,5511],"./fr/android-apk":[59201,9201],"./fr/android-apk.json":[59201,9201],"./fr/changelog":[92663,2663],"./fr/changelog.json":[92663,2663],"./fr/download-posts-from-instagram":[88443,8443],"./fr/download-posts-from-instagram.json":[88443,8443],"./fr/download-story-tiktok":[76838,6838],"./fr/download-story-tiktok.json":[76838,6838],"./fr/facebook-photo-download":[83257,3257],"./fr/facebook-photo-download.json":[83257,3257],"./fr/facebook-private-video-download":[31293,1293],"./fr/facebook-private-video-download.json":[31293,1293],"./fr/facebook-reels-download":[13622,3622],"./fr/facebook-reels-download.json":[13622,3622],"./fr/facebook-story-download":[52379,2379],"./fr/facebook-story-download.json":[52379,2379],"./fr/facebook-video-download":[26576,6576],"./fr/facebook-video-download.json":[26576,6576],"./fr/instagram-audio-download":[68687,8687],"./fr/instagram-audio-download.json":[68687,8687],"./fr/instagram-mp4":[14741,4741],"./fr/instagram-mp4.json":[14741,4741],"./fr/instagram-photo-download":[54970,4970],"./fr/instagram-photo-download.json":[54970,4970],"./fr/instagram-profile-downloader":[18941,8941],"./fr/instagram-profile-downloader.json":[18941,8941],"./fr/instagram-profile-viewer":[78021,8021],"./fr/instagram-profile-viewer.json":[78021,8021],"./fr/instagram-reel-download":[78373,8373],"./fr/instagram-reel-download.json":[78373,8373],"./fr/instagram-story-download":[7784,7784],"./fr/instagram-story-download-hd":[76662,6662],"./fr/instagram-story-download-hd.json":[76662,6662],"./fr/instagram-story-download.json":[7784,7784],"./fr/instagram-story-viewer":[49309,9309],"./fr/instagram-story-viewer.json":[49309,9309],"./fr/instagram-video-download":[78874,8874],"./fr/instagram-video-download.json":[78874,8874],"./fr/pinterest-gif-download":[54660,4660],"./fr/pinterest-gif-download.json":[54660,4660],"./fr/pinterest-image-download":[10342,342],"./fr/pinterest-image-download.json":[10342,342],"./fr/pinterest-video-download":[60109,109],"./fr/pinterest-video-download.json":[60109,109],"./fr/tiktok-audio-download":[57154,7154],"./fr/tiktok-audio-download.json":[57154,7154],"./fr/tiktok-downloader-hd":[64966,4966],"./fr/tiktok-downloader-hd.json":[64966,4966],"./fr/tiktok-mp4-download":[43211,3211],"./fr/tiktok-mp4-download.json":[43211,3211],"./fr/tiktok-video-download":[41859,1859],"./fr/tiktok-video-download.json":[41859,1859],"./fr/x-twitter-gif-download":[89655,9655],"./fr/x-twitter-gif-download.json":[89655,9655],"./fr/x-twitter-photo-download":[45026,5026],"./fr/x-twitter-photo-download.json":[45026,5026],"./fr/x-twitter-video-download":[3172,3172],"./fr/x-twitter-video-download.json":[3172,3172],"./id/Common":[72813,2813],"./id/Common.json":[72813,2813],"./id/Header":[46889,6889],"./id/Header.json":[46889,6889],"./id/HomePage":[60130,130],"./id/HomePage.json":[60130,130],"./id/about-us":[86229,6229],"./id/about-us.json":[86229,6229],"./id/android-apk":[11987,1987],"./id/android-apk.json":[11987,1987],"./id/changelog":[87215,7215],"./id/changelog.json":[87215,7215],"./id/download-posts-from-instagram":[68756,8756],"./id/download-posts-from-instagram.json":[68756,8756],"./id/download-story-tiktok":[33474,3474],"./id/download-story-tiktok.json":[33474,3474],"./id/facebook-photo-download":[62111,3425],"./id/facebook-photo-download.json":[62111,3425],"./id/facebook-private-video-download":[55932,5932],"./id/facebook-private-video-download.json":[55932,5932],"./id/facebook-reels-download":[35852,5852],"./id/facebook-reels-download.json":[35852,5852],"./id/facebook-story-download":[2539,2539],"./id/facebook-story-download.json":[2539,2539],"./id/facebook-video-download":[64266,4266],"./id/facebook-video-download.json":[64266,4266],"./id/instagram-audio-download":[12473,2473],"./id/instagram-audio-download.json":[12473,2473],"./id/instagram-mp4":[75597,5597],"./id/instagram-mp4.json":[75597,5597],"./id/instagram-photo-download":[51188,1188],"./id/instagram-photo-download.json":[51188,1188],"./id/instagram-profile-downloader":[38237,8237],"./id/instagram-profile-downloader.json":[38237,8237],"./id/instagram-profile-viewer":[48663,8663],"./id/instagram-profile-viewer.json":[48663,8663],"./id/instagram-reel-download":[97658,7658],"./id/instagram-reel-download.json":[97658,7658],"./id/instagram-story-download":[2532,2532],"./id/instagram-story-download-hd":[75569,5569],"./id/instagram-story-download-hd.json":[75569,5569],"./id/instagram-story-download.json":[2532,2532],"./id/instagram-story-viewer":[59397,9397],"./id/instagram-story-viewer.json":[59397,9397],"./id/instagram-video-download":[15602,5602],"./id/instagram-video-download.json":[15602,5602],"./id/pinterest-gif-download":[85208,5208],"./id/pinterest-gif-download.json":[85208,5208],"./id/pinterest-image-download":[70019,19],"./id/pinterest-image-download.json":[70019,19],"./id/pinterest-video-download":[77363,7363],"./id/pinterest-video-download.json":[77363,7363],"./id/tiktok-audio-download":[75833,5833],"./id/tiktok-audio-download.json":[75833,5833],"./id/tiktok-downloader-hd":[70689,689],"./id/tiktok-downloader-hd.json":[70689,689],"./id/tiktok-mp4-download":[57738,7738],"./id/tiktok-mp4-download.json":[57738,7738],"./id/tiktok-video-download":[94993,4993],"./id/tiktok-video-download.json":[94993,4993],"./id/x-twitter-gif-d
1ownload":[25226,5226],"./id/x-twitter-gif-download.json":[25226,5226],"./id/x-twitter-photo-download":[5900,5900],"./id/x-twitter-photo-download.json":[5900,5900],"./id/x-twitter-video-download":[99658,9658],"./id/x-twitter-video-download.json":[99658,9658],"./pt/Common":[56428,6428],"./pt/Common.json":[56428,6428],"./pt/Header":[22126,2126],"./pt/Header.json":[22126,2126],"./pt/HomePage":[2992,2992],"./pt/HomePage.json":[2992,2992],"./pt/about-us":[42715,2715],"./pt/about-us.json":[42715,2715],"./pt/android-apk":[57657,7657],"./pt/android-apk.json":[57657,7657],"./pt/changelog":[85487,5487],"./pt/changelog.json":[85487,5487],"./pt/download-posts-from-instagram":[52336,2336],"./pt/download-posts-from-instagram.json":[52336,2336],"./pt/download-story-tiktok":[65180,5180],"./pt/download-story-tiktok.json":[65180,5180],"./pt/facebook-photo-download":[49542,9542],"./pt/facebook-photo-download.json":[49542,9542],"./pt/facebook-private-video-download":[56135,6135],"./pt/facebook-private-video-download.json":[56135,6135],"./pt/facebook-reels-download":[12895,2895],"./pt/facebook-reels-download.json":[12895,2895],"./pt/facebook-story-download":[81736,1736],"./pt/facebook-story-download.json":[81736,1736],"./pt/facebook-video-download":[77096,7096],"./pt/facebook-video-download.json":[77096,7096],"./pt/instagram-audio-download":[82487,2487],"./pt/instagram-audio-download.json":[82487,2487],"./pt/instagram-mp4":[32111,2111],"./pt/instagram-mp4.json":[32111,2111],"./pt/instagram-photo-download":[73794,3794],"./pt/instagram-photo-download.json":[73794,3794],"./pt/instagram-profile-downloader":[14882,4882],"./pt/instagram-profile-downloader.json":[14882,4882],"./pt/instagram-profile-viewer":[9600,9600],"./pt/instagram-profile-viewer.json":[9600,9600],"./pt/instagram-reel-download":[77445,8545],"./pt/instagram-reel-download.json":[77445,8545],"./pt/instagram-story-download":[96717,6717],"./pt/instagram-story-download-hd":[70251,251],"./pt/instagram-story-download-hd.json":[70251,251],"./pt/instagram-story-download.json":[96717,6717],"./pt/instagram-story-viewer":[1973,1973],"./pt/instagram-story-viewer.json":[1973,1973],"./pt/instagram-video-download":[33304,3304],"./pt/instagram-video-download.json":[33304,3304],"./pt/pinterest-gif-download":[95520,5520],"./pt/pinterest-gif-download.json":[95520,5520],"./pt/pinterest-image-download":[33426,3426],"./pt/pinterest-image-download.json":[33426,3426],"./pt/pinterest-video-download":[2006,2006],"./pt/pinterest-video-download.json":[2006,2006],"./pt/tiktok-audio-download":[13602,3602],"./pt/tiktok-audio-download.json":[13602,3602],"./pt/tiktok-downloader-hd":[18330,8330],"./pt/tiktok-downloader-hd.json":[18330,8330],"./pt/tiktok-mp4-download":[7417,7417],"./pt/tiktok-mp4-download.json":[7417,7417],"./pt/tiktok-video-download":[22307,2307],"./pt/tiktok-video-download.json":[22307,2307],"./pt/x-twitter-gif-download":[6488,6488],"./pt/x-twitter-gif-download.json":[6488,6488],"./pt/x-twitter-photo-download":[84934,4934],"./pt/x-twitter-photo-download.json":[84934,4934],"./pt/x-twitter-video-download":[19577,9577],"./pt/x-twitter-video-download.json":[19577,9577],"./ru/Common":[41909,1909],"./ru/Common.json":[41909,1909],"./ru/Header":[16941,6941],"./ru/Header.json":[16941,6941],"./ru/HomePage":[14865,4865],"./ru/HomePage.json":[14865,4865],"./ru/about-us":[77398,7398],"./ru/about-us.json":[77398,7398],"./ru/android-apk":[96121,6121],"./ru/android-apk.json":[96121,6121],"./ru/changelog":[65545,5545],"./ru/changelog.json":[65545,5545],"./ru/download-posts-from-instagram":[92052,2052],"./ru/download-posts-from-instagram.json":[92052,2052],"./ru/download-story-tiktok":[25228,5228],"./ru/download-story-tiktok.json":[25228,5228],"./ru/facebook-photo-download":[46004,6004],"./ru/facebook-photo-download.json":[46004,6004],"./ru/facebook-private-video-download":[82728,2728],"./ru/facebook-private-video-download.json":[82728,2728],"./ru/facebook-reels-download":[73298,3298],"./ru/facebook-reels-download.json":[73298,3298],"./ru/facebook-story-download":[49708,9708],"./ru/facebook-story-download.json":[49708,9708],"./ru/facebook-video-download":[45982,5982],"./ru/facebook-video-download.json":[45982,5982],"./ru/instagram-audio-download":[62115,2115],"./ru/instagram-audio-download.json":[62115,2115],"./ru/instagram-mp4":[7866,7866],"./ru/instagram-mp4.json":[7866,7866],"./ru/instagram-photo-download":[55837,5837],"./ru/instagram-photo-download.json":[55837,5837],"./ru/instagram-profile-downloader":[79516,9516],"./ru/instagram-profile-downloader.json":[79516,9516],"./ru/instagram-profile-viewer":[30038,38],"./ru/instagram-profile-viewer.json":[30038,38],"./ru/instagram-reel-download":[30643,643],"./ru/instagram-reel-download.json":[30643,643],"./ru/instagram-story-download":[18337,8337],"./ru/instagram-story-download-hd":[87212,7212],"./ru/instagram-story-download-hd.json":[87212,7212],"./ru/instagram-story-download.json":[18337,8337],"./ru/instagram-story-viewer":[35747,5747],"./ru/instagram-story-viewer.json":[35747,5747],"./ru/instagram-video-download":[39833,9833],"./ru/instagram-video-download.json":[39833,9833],"./ru/pinterest-gif-download":[50290,290],"./ru/pinterest-gif-download.json":[50290,290],"./ru/pinterest-image-download":[62212,9646],"./ru/pinterest-image-download.json":[62212,9646],"./ru/pinterest-video-download":[72795,2795],"./ru/pinterest-video-download.json":[72795,2795],"./ru/tiktok-audio-download":[73311,3311],"./ru/tiktok-audio-download.json":[73311,3311],"./ru/tiktok-downloader-hd":[6234,6234],"./ru/tiktok-downloader-hd.json":[6234,6234],"./ru/tiktok-mp4-download":[14390,4390],"./ru/tiktok-mp4-download.json":[14390,4390],"./ru/tiktok-video-download":[51715,1715],"./ru/tiktok-video-download.json":[51715,1715],"./ru/x-twitter-gif-d
1ownload":[3749,3749],"./ru/x-twitter-gif-download.json":[3749,3749],"./ru/x-twitter-photo-download":[31669,1669],"./ru/x-twitter-photo-download.json":[31669,1669],"./ru/x-twitter-video-download":[20751,751],"./ru/x-twitter-video-download.json":[20751,751],"./th/Common":[49293,9293],"./th/Common.json":[49293,9293],"./th/Header":[41276,1276],"./th/Header.json":[41276,1276],"./th/HomePage":[93354,3354],"./th/HomePage.json":[93354,3354],"./th/about-us":[76181,6181],"./th/about-us.json":[76181,6181],"./th/android-apk":[36161,6161],"./th/android-apk.json":[36161,6161],"./th/changelog":[97222,7222],"./th/changelog.json":[97222,7222],"./th/download-posts-from-instagram":[45255,9924],"./th/download-posts-from-instagram.json":[45255,9924],"./th/download-story-tiktok":[84535,4535],"./th/download-story-tiktok.json":[84535,4535],"./th/facebook-photo-download":[38665,8665],"./th/facebook-photo-download.json":[38665,8665],"./th/facebook-private-video-download":[43175,3175],"./th/facebook-private-video-download.json":[43175,3175],"./th/facebook-reels-download":[42478,2478],"./th/facebook-reels-download.json":[42478,2478],"./th/facebook-story-download":[74812,4812],"./th/facebook-story-download.json":[74812,4812],"./th/facebook-video-download":[24395,4395],"./th/facebook-video-download.json":[24395,4395],"./th/instagram-audio-download":[76359,7445],"./th/instagram-audio-download.json":[76359,7445],"./th/instagram-mp4":[28559,8559],"./th/instagram-mp4.json":[28559,8559],"./th/instagram-photo-download":[68898,8898],"./th/instagram-photo-download.json":[68898,8898],"./th/instagram-profile-downloader":[9828,9828],"./th/instagram-profile-downloader.json":[9828,9828],"./th/instagram-profile-viewer":[39435,9435],"./th/instagram-profile-viewer.json":[39435,9435],"./th/instagram-reel-download":[47622,7622],"./th/instagram-reel-download.json":[47622,7622],"./th/instagram-story-download":[73882,3882],"./th/instagram-story-download-hd":[56320,6320],"./th/instagram-story-download-hd.json":[56320,6320],"./th/instagram-story-download.json":[73882,3882],"./th/instagram-story-viewer":[61535,1535],"./th/instagram-story-viewer.json":[61535,1535],"./th/instagram-video-download":[44983,4983],"./th/instagram-video-download.json":[44983,4983],"./th/pinterest-gif-download":[6502,6502],"./th/pinterest-gif-download.json":[6502,6502],"./th/pinterest-image-download":[83348,3348],"./th/pinterest-image-download.json":[83348,3348],"./th/pinterest-video-download":[50626,626],"./th/pinterest-video-download.json":[50626,626],"./th/tiktok-audio-download":[81599,1599],"./th/tiktok-audio-download.json":[81599,1599],"./th/tiktok-downloader-hd":[32184,2184],"./th/tiktok-downloader-hd.json":[32184,2184],"./th/tiktok-mp4-download":[35435,5435],"./th/tiktok-mp4-download.json":[35435,5435],"./th/tiktok-video-download":[61207,1207],"./th/tiktok-video-download.json":[61207,1207],"./th/x-twitter-gif-download":[50642,642],"./th/x-twitter-gif-download.json":[50642,642],"./th/x-twitter-photo-download":[88924,8924],"./th/x-twitter-photo-download.json":[88924,8924],"./th/x-twitter-video-download":[33744,3744],"./th/x-twitter-video-download.json":[33744,3744],"./tr/Common":[42212,2212],"./tr/Common.json":[42212,2212],"./tr/Header":[83906,3906],"./tr/Header.json":[83906,3906],"./tr/HomePage":[37623,7623],"./tr/HomePage.json":[37623,7623],"./tr/about-us":[69243,9243],"./tr/about-us.json":[69243,9243],"./tr/android-apk":[79169,9169],"./tr/android-apk.json":[79169,9169],"./tr/changelog":[91315,1315],"./tr/changelog.json":[91315,1315],"./tr/download-posts-from-instagram":[65789,5789],"./tr/download-posts-from-instagram.json":[65789,5789],"./tr/download-story-tiktok":[52442,2442],"./tr/download-story-tiktok.json":[52442,2442],"./tr/facebook-photo-download":[89818,9818],"./tr/facebook-photo-download.json":[89818,9818],"./tr/facebook-private-video-download":[27403,7403],"./tr/facebook-private-video-download.json":[27403,7403],"./tr/facebook-reels-download":[36049,6049],"./tr/facebook-reels-download.json":[36049,6049],"./tr/facebook-story-download":[64048,4048],"./tr/facebook-story-download.json":[64048,4048],"./tr/facebook-video-download":[52746,2746],"./tr/facebook-video-download.json":[52746,2746],"./tr/instagram-audio-download":[3387,3387],"./tr/instagram-audio-download.json":[3387,3387],"./tr/instagram-mp4":[47863,7863],"./tr/instagram-mp4.json":[47863,7863],"./tr/instagram-photo-download":[71
1529,1529],"./tr/instagram-photo-download.json":[71529,1529],"./tr/instagram-profile-downloader":[12221,2221],"./tr/instagram-profile-downloader.json":[12221,2221],"./tr/instagram-profile-viewer":[19341,9341],"./tr/instagram-profile-viewer.json":[19341,9341],"./tr/instagram-reel-download":[60955,955],"./tr/instagram-reel-download.json":[60955,955],"./tr/instagram-story-download":[63222,3222],"./tr/instagram-story-download-hd":[90158,158],"./tr/instagram-story-download-hd.json":[90158,158],"./tr/instagram-story-download.json":[63222,3222],"./tr/instagram-story-viewer":[53084,3084],"./tr/instagram-story-viewer.json":[53084,3084],"./tr/instagram-video-download":[28673,8673],"./tr/instagram-video-download.json":[28673,8673],"./tr/pinterest-gif-download":[92811,2811],"./tr/pinterest-gif-download.json":[92811,2811],"./tr/pinterest-image-download":[15573,5573],"./tr/pinterest-image-download.json":[15573,5573],"./tr/pinterest-video-download":[47663,7663],"./tr/pinterest-video-download.json":[47663,7663],"./tr/tiktok-audio-download":[98512,8512],"./tr/tiktok-audio-download.json":[98512,8512],"./tr/tiktok-downloader-hd":[55394,5394],"./tr/tiktok-downloader-hd.json":[55394,5394],"./tr/tiktok-mp4-download":[63451,3451],"./tr/tiktok-mp4-download.json":[63451,3451],"./tr/tiktok-video-download":[63919,3919],"./tr/tiktok-video-download.json":[63919,3919],"./tr/x-twitter-gif-download":[9855,9855],"./tr/x-twitter-gif-download.json":[9855,9855],"./tr/x-twitter-photo-download":[14604,4604],"./tr/x-twitter-photo-download.json":[14604,4604],"./tr/x-twitter-video-download":[65199,5199],"./tr/x-twitter-video-download.json":[65199,5199],"./vi/Common":[87890,7890],"./vi/Common.json":[87890,7890],"./vi/Header":[95259,5259],"./vi/Header.json":[95259,5259],"./vi/HomePage":[68887,8887],"./vi/HomePage.json":[68887,8887],"./vi/about-us":[11816,1816],"./vi/about-us.json":[11816,1816],"./vi/android-apk":[39094,9094],"./vi/android-apk.json":[39094,9094],"./vi/changelog":[35020,5020],"./vi/changelog.json":[35020,5020],"./vi/download-posts-from-instagram":[39508,9508],"./vi/download-posts-from-instagram.json":[39508,9508],"./vi/download-story-tiktok":[54273,4273],"./vi/download-story-tiktok.json":[54273,4273],"./vi/facebook-photo-download":[17195,7195],"./vi/facebook-photo-download.json":[17195,7195],"./vi/facebook-private-video-download":[30369,369],"./vi/facebook-private-video-download.json":[30369,369],"./vi/facebook-reels-download":[92915,2915],"./vi/facebook-reels-download.json":[92915,2915],"./vi/facebook-story-download":[98717,8717],"./vi/facebook-story-download.json":[98717,8717],"./vi/facebook-video-download":[57108,288],"./vi/facebook-video-download.json":[57108,288],"./vi/instagram-audio-download":[72999,2999],"./vi/instagram-audio-download.json":[72999,2999],"./vi/instagram-mp4":[37986,7986],"./vi/instagram-mp4.json":[37986,7986],"./vi/instagram-photo-download":[41370,1370],"./vi/instagram-photo-download.json":[41370,1370],"./vi/instagram-profile-downloader":[29997,9997],"./vi/instagram-profile-downloader.json":[29997,9997],"./vi/instagram-profile-viewer":[34694,4694],"./vi/instagram-profile-viewer.json":[34694,4694],"./vi/instagram-reel-download":[18925,8925],"./vi/instagram-reel-download.json":[18925,8925],"./vi/instagram-story-download":[14852,4852],"./vi/instagram-story-download-hd":[64475,4475],"./vi/instagram-story-download-hd.json":[64475,4475],"./vi/instagram-story-download.json":[14852,4852],"./vi/instagram-story-viewer":[22404,2404],"./vi/instagram-story-viewer.json":[22404,2404],"./vi/instagram-video-download":[27200,7200],"./vi/instagram-video-download.json":[27200,7200],"./vi/pinterest-gif-download":[34550,4550],"./vi/pinterest-gif-download.json":[34550,4550],"./vi/pinterest-image-download":[74463,4463],"./vi/pinterest-image-download.json":[74463,4463],"./vi/pinterest-video-download":[37350,7350],"./vi/pinterest-video-download.json":[37350,7350],"./vi/tiktok-audio-download":[33610,3610],"./vi/tiktok-audio-download.json":[33610,3610],"./vi/tiktok-downloader-hd":[27903,7903],"./vi/tiktok-downloader-hd.json":[27903,7903],"./vi/tiktok-mp4-download":[40593,593],"./vi/tiktok-mp4-download.json":[40593,593],"./vi/tiktok-video-download":[7232,7232],"./vi/tiktok-video-download.json":[7232,7232],"./vi/x-twitter-gif-d
1ownload":[16010,6010],"./vi/x-twitter-gif-download.json":[16010,6010],"./vi/x-twitter-photo-download":[90749,749],"./vi/x-twitter-photo-download.json":[90749,749],"./vi/x-twitter-video-download":[87296,7296],"./vi/x-twitter-video-download.json":[87296,7296]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n.t(o,19)})}o.keys=function(){return Object.keys(r)},o.id=30242,e.exports=o},71539:function(e,t,n){var r={"./ar/Common.json":[80356,356],"./ar/Header.json":[52903,2903],"./ar/HomePage.json":[98328,8328],"./ar/about-us.json":[98913,8913],"./ar/android-apk.json":[29827,9827],"./ar/changelog.json":[21464,1464],"./ar/download-posts-from-instagram.json":[45775,5775],"./ar/download-story-tiktok.json":[28437,8437],"./ar/facebook-photo-download.json":[77618,7618],"./ar/facebook-private-video-download.json":[15525,5525],"./ar/facebook-reels-download.json":[60419,419],"./ar/facebook-story-download.json":[32167,2167],"./ar/facebook-video-download.json":[49944,9944],"./ar/instagram-audio-download.json":[7153,7153],"./ar/instagram-mp4.json":[48737,8737],"./ar/instagram-photo-download.json":[26437,6437],"./ar/instagram-profile-downloader.json":[71790,1790],"./ar/instagram-profile-viewer.json":[41528,1528],"./ar/instagram-reel-download.json":[77425,7425],"./ar/instagram-story-download-hd.json":[38710,8710],"./ar/instagram-story-download.json":[23516,3516],"./ar/instagram-story-viewer.json":[97580,7580],"./ar/instagram-video-download.json":[63800,3800],"./ar/pinterest-gif-download.json":[29280,9280],"./ar/pinterest-image-download.json":[83645,8334],"./ar/pinterest-video-download.json":[73735,3735],"./ar/tiktok-audio-download.json":[51279,1279],"./ar/tiktok-downloader-hd.json":[44344,4344],"./ar/tiktok-mp4-download.json":[26461,6461],"./ar/tiktok-video-download.json":[23636,3636],"./ar/x-twitter-gif-download.json":[19804,9804],"./ar/x-twitter-photo-download.json":[80921,921],"./ar/x-twitter-video-download.json":[75337,5337],"./az/Common.json":[45806,5806],"./az/Header.json":[24224,5142],"./az/HomePage.json":[24196,4196],"./az/about-us.json":[67749,7749],"./az/android-apk.json":[60238,8013],"./az/changelog.json":[55427,5427],"./az/download-posts-from-instagram.json":[86828,6828],"./az/download-story-tiktok.json":[10398,398],"./az/facebook-photo-download.json":[21880,1880],"./az/facebook-private-video-download.json":[32617,2617],"./az/facebook-reels-download.json":[30217,217],"./az/facebook-story-download.json":[86870,6870],"./az/facebook-video-download.json":[47108,7108],"./az/instagram-audio-download.json":[64249,4249],"./az/instagram-mp4.json":[80093,93],"./az/instagram-photo-download.json":[41481,1481],"./az/instagram-profile-downloader.json":[11426,1426],"./az/instagram-profile-viewer.json":[34213,4213],"./az/instagram-reel-download.json":[85779,5779],"./az/instagram-story-download-hd.json":[54110,4039],"./az/instagram-story-download.json":[65642,5642],"./az/instagram-story-viewer.json":[52502,2502],"./az/instagram-video-download.json":[94726,4726],"./az/pinterest-gif-download.json":[74064,4064],"./az/pinterest-image-download.json":[54912,4912],"./az/pinterest-video-download.json":[79011,9011],"./az/tiktok-audio-download.json":[49456,9456],"./az/tiktok-downloader-hd.json":[47532,7532],"./az/tiktok-mp4-download.json":[28312,8312],"./az/tiktok-video-download.json":[92980,2980],"./az/x-twitter-gif-download.json":[80173,173],"./az/x-twitter-photo-download.json":[18505,8505],"./az/x-twitter-video-download.json":[52118,2118],"./en/Common.json":[67355,7355],"./en/Header.json":[64504,4504],"./en/HomePage.json":[93875,3875],"./en/about-us.json":[76187,6187],"./en/android-apk.json":[28325,8325],"./en/changelog.json":[51661,1661],"./en/download-posts-from-instagram.json":[47667,7667],"./en/download-story-tiktok.json":[98257,8257],"./en/facebook-photo-download.json":[58465,8465],"./en/facebook-private-video-download.json":[90302,302],"./en/facebook-reels-download.json":[23775,3775],"./en/facebook-story-download.json":[77035,7035],"./en/facebook-video-download.json":[13164,3164],"./en/instagram-audio-download.json":[56732,6732],"./en/instagram-mp4.json":[20746,746],"./en/instagram-photo-download.json":[78928,8928],"./en/instagram-profile-downloader.json":[44270,4270],"./en/instagram-profile-viewer.json":[83293,3293],"./en/instagram-reel-download.json":[60530,530],"./en/instagram-story-download-hd.json":[98281,8281],"./en/instagram-story-download.json":[94809,4809],"./en/instagram-story-viewer.json":[37691,7691],"./en/instagram-video-download.json":[23050,3050],"./en/pinterest-gif-download.json":[10947,947],"./en/pinterest-image-download.json":[34110,4110],"./en/pinterest-video-download.json":[70413,413],"./en/tiktok-audio-download.json":[65915,5915],"./en/tiktok-downloader-hd.json":[95694,5694],"./en/tiktok-mp4-download.json":[29999,9999],"./en/tiktok-video-download.json":[30281,281],"./en/x-twitter-gif-d
1ownload.json":[83926,3926],"./en/x-twitter-photo-download.json":[12742,2742],"./en/x-twitter-video-download.json":[78048,8048],"./es/Common.json":[80822,822],"./es/Header.json":[78725,8725],"./es/HomePage.json":[65010,5010],"./es/about-us.json":[10361,361],"./es/android-apk.json":[53666,3666],"./es/changelog.json":[46538,6538],"./es/download-posts-from-instagram.json":[82131,2131],"./es/download-story-tiktok.json":[54435,4435],"./es/facebook-photo-download.json":[82698,2698],"./es/facebook-private-video-download.json":[43030,3030],"./es/facebook-reels-download.json":[92006,3695],"./es/facebook-story-download.json":[42043,2043],"./es/facebook-video-download.json":[6345,6345],"./es/instagram-audio-download.json":[13063,3063],"./es/instagram-mp4.json":[73645,3645],"./es/instagram-photo-download.json":[1102,1102],"./es/instagram-profile-downloader.json":[42117,2117],"./es/instagram-profile-viewer.json":[95536,5536],"./es/instagram-reel-download.json":[29922,9922],"./es/instagram-story-download-hd.json":[56288,6288],"./es/instagram-story-download.json":[99154,9154],"./es/instagram-story-viewer.json":[4669,4669],"./es/instagram-video-download.json":[64618,4618],"./es/pinterest-gif-download.json":[77840,7840],"./es/pinterest-image-download.json":[54820,5591],"./es/pinterest-video-download.json":[85397,5397],"./es/tiktok-audio-download.json":[6083,6083],"./es/tiktok-downloader-hd.json":[28289,8289],"./es/tiktok-mp4-download.json":[51157,1157],"./es/tiktok-video-download.json":[73277,3277],"./es/x-twitter-gif-download.json":[21870,1870],"./es/x-twitter-photo-download.json":[82022,2022],"./es/x-twitter-video-download.json":[69585,9585],"./fr/Common.json":[29531,9531],"./fr/Header.json":[51056,1056],"./fr/HomePage.json":[2576,2576],"./fr/about-us.json":[45511,5511],"./fr/android-apk.json":[59201,9201],"./fr/changelog.json":[92663,2663],"./fr/download-posts-from-instagram.json":[88443,8443],"./fr/download-story-tiktok.json":[76838,6838],"./fr/facebook-photo-download.json":[83257,3257],"./fr/facebook-private-video-download.json":[31293,1293],"./fr/facebook-reels-download.json":[13622,3622],"./fr/facebook-story-download.json":[52379,2379],"./fr/facebook-video-download.json":[26576,6576],"./fr/instagram-audio-download.json":[68687,8687],"./fr/instagram-mp4.json":[14741,4741],"./fr/instagram-photo-download.json":[54970,4970],"./fr/instagram-profile-downloader.json":[18941,8941],"./fr/instagram-profile-viewer.json":[78021,8021],"./fr/instagram-reel-download.json":[78373,8373],"./fr/instagram-story-download-hd.json":[76662,6662],"./fr/instagram-story-download.json":[7784,7784],"./fr/instagram-story-viewer.json":[49309,9309],"./fr/instagram-video-download.json":[78874,8874],"./fr/pinterest-gif-download.json":[54660,4660],"./fr/pinterest-image-download.json":[10342,342],"./fr/pinterest-video-download.json":[60109,109],"./fr/tiktok-audio-download.json":[57154,7154],"./fr/tiktok-downloader-hd.json":[64966,4966],"./fr/tiktok-mp4-download.json":[43211,3211],"./fr/tiktok-video-download.json":[41859,1859],"./fr/x-twitter-gif-download.json":[89655,9655],"./fr/x-twitter-photo-download.json":[45026,5026],"./fr/x-twitter-video-download.json":[3172,3172],"./id/Common.json":[72813,2813],"./id/Header.json":[46889,6889],"./id/HomePage.json":[60130,130],"./id/about-us.json":[86229,6229],"./id/android-apk.json":[11987,1987],"./id/changelog.json":[87215,7215],"./id/download-posts-from-instagram.json":[68756,8756],"./id/download-story-tiktok.json":[33474,3474],"./id/facebook-photo-download.json":[62111,3425],"./id/facebook-private-video-download.json":[55932,5932],"./id/facebook-reels-download.json":[35852,5852],"./id/facebook-story-download.json":[2539,2539],"./id/facebook-video-download.json":[64266,4266],"./id/instagram-audio-download.json":[12473,2473],"./id/instagram-mp4.json":[75597,5597],"./id/instagram-photo-download.json":[51188,1188],"./id/instagram-profile-downloader.json":[38237,8237],"./id/instagram-profile-viewer.json":[48663,8663],"./id/instagram-reel-download.json":[97658,7658],"./id/instagram-story-download-hd.json":[75569,5569],"./id/instagram-story-download.json":[2532,2532],"./id/instagram-story-viewer.json":[59397,9397],"./id/instagram-video-download.json":[15602,5602],"./id/pinterest-gif-download.json":[85208,5208],"./id/pinterest-image-download.json":[70019,19],"./id/pinterest-video-download.json":[77363,7363],"./id/tiktok-audio-download.json":[75833,5833],"./id/tiktok-downloader-hd.json":[70689,689],"./id/tiktok-mp4-download.json":[57738,7738],"./id/tiktok-video-download.json":[94993,4993],"./id/x-twitter-gif-d
1ownload.json":[25226,5226],"./id/x-twitter-photo-download.json":[5900,5900],"./id/x-twitter-video-download.json":[99658,9658],"./pt/Common.json":[56428,6428],"./pt/Header.json":[22126,2126],"./pt/HomePage.json":[2992,2992],"./pt/about-us.json":[42715,2715],"./pt/android-apk.json":[57657,7657],"./pt/changelog.json":[85487,5487],"./pt/download-posts-from-instagram.json":[52336,2336],"./pt/download-story-tiktok.json":[65180,5180],"./pt/facebook-photo-download.json":[49542,9542],"./pt/facebook-private-video-download.json":[56135,6135],"./pt/facebook-reels-download.json":[12895,2895],"./pt/facebook-story-download.json":[81736,1736],"./pt/facebook-video-download.json":[77096,7096],"./pt/instagram-audio-download.json":[82487,2487],"./pt/instagram-mp4.json":[32111,2111],"./pt/instagram-photo-download.json":[73794,3794],"./pt/instagram-profile-downloader.json":[14882,4882],"./pt/instagram-profile-viewer.json":[9600,9600],"./pt/instagram-reel-download.json":[77445,8545],"./pt/instagram-story-download-hd.json":[70251,251],"./pt/instagram-story-download.json":[96717,6717],"./pt/instagram-story-viewer.json":[1973,1973],"./pt/instagram-video-download.json":[33304,3304],"./pt/pinterest-gif-download.json":[95520,5520],"./pt/pinterest-image-download.json":[33426,3426],"./pt/pinterest-video-download.json":[2006,2006],"./pt/tiktok-audio-download.json":[13602,3602],"./pt/tiktok-downloader-hd.json":[18330,8330],"./pt/tiktok-mp4-download.json":[7417,7417],"./pt/tiktok-video-download.json":[22307,2307],"./pt/x-twitter-gif-download.json":[6488,6488],"./pt/x-twitter-photo-download.json":[84934,4934],"./pt/x-twitter-video-download.json":[19577,9577],"./ru/Common.json":[41909,1909],"./ru/Header.json":[16941,6941],"./ru/HomePage.json":[14865,4865],"./ru/about-us.json":[77398,7398],"./ru/android-apk.json":[96121,6121],"./ru/changelog.json":[65545,5545],"./ru/download-posts-from-instagram.json":[92052,2052],"./ru/download-story-tiktok.json":[25228,5228],"./ru/facebook-photo-download.json":[46004,6004],"./ru/facebook-private-video-download.json":[82728,2728],"./ru/facebook-reels-download.json":[73298,3298],"./ru/facebook-story-download.json":[49708,9708],"./ru/facebook-video-download.json":[45982,5982],"./ru/instagram-audio-download.json":[62115,2115],"./ru/instagram-mp4.json":[7866,7866],"./ru/instagram-photo-download.json":[55837,5837],"./ru/instagram-profile-downloader.json":[79516,9516],"./ru/instagram-profile-viewer.json":[30038,38],"./ru/instagram-reel-download.json":[30643,643],"./ru/instagram-story-download-hd.json":[87212,7212],"./ru/instagram-story-download.json":[18337,8337],"./ru/instagram-story-viewer.json":[35747,5747],"./ru/instagram-video-download.json":[39833,9833],"./ru/pinterest-gif-download.json":[50290,290],"./ru/pinterest-image-download.json":[62212,9646],"./ru/pinterest-video-download.json":[72795,2795],"./ru/tiktok-audio-download.json":[73311,3311],"./ru/tiktok-downloader-hd.json":[6234,6234],"./ru/tiktok-mp4-download.json":[14390,4390],"./ru/tiktok-video-download.json":[51715,1715],"./ru/x-twitter-gif-download.json":[3749,3749],"./ru/x-twitter-photo-download.json":[31669,1669],"./ru/x-twitter-video-download.json":[20751,751],"./th/Common.json":[49293,9293],"./th/Header.json":[41276,1276],"./th/HomePage.json":[93354,3354],"./th/about-us.json":[76181,6181],"./th/android-apk.json":[36161,6161],"./th/changelog.json":[97222,7222],"./th/download-posts-from-instagram.json":[45255,9924],"./th/download-story-tiktok.json":[84535,4535],"./th/facebook-photo-download.json":[38665,8665],"./th/facebook-private-video-download.json":[43175,3175],"./th/facebook-reels-download.json":[42478,2478],"./th/facebook-story-download.json":[74812,4812],"./th/facebook-video-download.json":[24395,4395],"./th/instagram-audio-download.json":[76359,7445],"./th/instagram-mp4.json":[28559,8559],"./th/instagram-photo-download.json":[68898,8898],"./th/instagram-profile-downloader.json":[9828,9828],"./th/instagram-profile-viewer.json":[39435,9435],"./th/instagram-reel-download.json":[47622,7622],"./th/instagram-story-download-hd.json":[56320,6320],"./th/instagram-story-download.json":[73882,3882],"./th/instagram-story-viewer.json":[61535,1535],"./th/instagram-video-download.json":[44983,4983],"./th/pinterest-gif-download.json":[6502,6502],"./th/pinterest-image-download.json":[83348,3348],"./th/pinterest-video-download.json":[50626,626],"./th/tiktok-audio-download.json":[81599,1599],"./th/tiktok-downloader-hd.json":[32184,2184],"./th/tiktok-mp4-download.json":[35435,5435],"./th/tiktok-video-download.json":[61207,1207],"./th/x-twitter-gif-d
1ownload.json":[50642,642],"./th/x-twitter-photo-download.json":[88924,8924],"./th/x-twitter-video-download.json":[33744,3744],"./tr/Common.json":[42212,2212],"./tr/Header.json":[83906,3906],"./tr/HomePage.json":[37623,7623],"./tr/about-us.json":[69243,9243],"./tr/android-apk.json":[79169,9169],"./tr/changelog.json":[91315,1315],"./tr/download-posts-from-instagram.json":[65789,5789],"./tr/download-story-tiktok.json":[52442,2442],"./tr/facebook-photo-download.json":[89818,9818],"./tr/facebook-private-video-download.json":[27403,7403],"./tr/facebook-reels-download.json":[36049,6049],"./tr/facebook-story-download.json":[64048,4048],"./tr/facebook-video-download.json":[52746,2746],"./tr/instagram-audio-download.json":[3387,3387],"./tr/instagram-mp4.json":[47863,7863],"./tr/instagram-photo-download.json":[71529,1529],"./tr/instagram-profile-downloader.json":[12221,2221],"./tr/instagram-profile-viewer.json":[19341,9341],"./tr/instagram-reel-download.json":[60955,955],"./tr/instagram-story-download-hd.json":[90158,158],"./tr/instagram-story-download.json":[63222,3222],"./tr/instagram-story-viewer.json":[53084,3084],"./tr/instagram-video-download.json":[28673,8673],"./tr/pinterest-gif-download.json":[92811,2811],"./tr/pinterest-image-download.json":[15573,5573],"./tr/pinterest-video-download.json":[47663,7663],"./tr/tiktok-audio-download.json":[98512,8512],"./tr/tiktok-downloader-hd.json":[55394,5394],"./tr/tiktok-mp4-download.json":[63451,3451],"./tr/tiktok-video-download.json":[63919,3919],"./tr/x-twitter-gif-download.json":[9855,9855],"./tr/x-twitter-photo-download.json":[14604,4604],"./tr/x-twitter-video-download.json":[65199,5199],"./vi/Common.json":[87890,7890],"./vi/Header.json":[95259,5259],"./vi/HomePage.json":[68887,8887],"./vi/about-us.json":[11816,1816],"./vi/android-apk.json":[39094,9094],"./vi/changelog.json":[35020,5020],"./vi/download-posts-from-instagram.json":[39508,9508],"./vi/download-story-tiktok.json":[54273,4273],"./vi/facebook-photo-download.json":[17195,7195],"./vi/facebook-private-video-download.json":[30369,369],"./vi/facebook-reels-download.json":[92915,2915],"./vi/facebook-story-download.json":[98717,8717],"./vi/facebook-video-download.json":[57108,288],"./vi/instagram-audio-download.json":[72999,2999],"./vi/instagram-mp4.json":[37986,7986],"./vi/instagram-photo-download.json":[41370,1370],"./vi/instagram-profile-downloader.json":[29997,9997],"./vi/instagram-profile-viewer.json":[34694,4694],"./vi/instagram-reel-download.json":[18925,8925],"./vi/instagram-story-download-hd.json":[64475,4475],"./vi/instagram-story-download.json":[14852,4852],"./vi/instagram-story-viewer.json":[22404,2404],"./vi/instagram-video-download.json":[27200,7200],"./vi/pinterest-gif-download.json":[34550,4550],"./vi/pinterest-image-download.json":[74463,4463],"./vi/pinterest-video-download.json":[37350,7350],"./vi/tiktok-audio-download.json":[33610,3610],"./vi/tiktok-downloader-hd.json":[27903,7903],"./vi/tiktok-mp4-download.json":[40593,593],"./vi/tiktok-video-download.json":[7232,7232],"./vi/x-twitter-gif-download.json":[16010,6010],"./vi/x-twitter-photo-download.json":[90749,749],"./vi/x-twitter-video-download.json":[87296,7296]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n.t(o,19)})}o.keys=function(){return Object.keys(r)},o.id=71539,e.exports=o},79638:function(e,t,n){"use strict";var r,o=n(92343);"function"==typeof o.createContext&&(r=(0,o.createContext)({t:function(e){return Array.isArray(e)?e[0]:e},lang:""})),t.Z=r},88799:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e){var t=e.config,n=e.allNamespaces,o=e.pluralRules,l=e.lang,u=t.logger,d=void 0===u?s:u,c=t.allowEmptyStrings,f=void 0===c||c,p=function(e,n){return Array.isArray(e)?e.map(function(e){return p(e,n)}):e instanceof Object?function e(t){var n=t.obj,r=t.query,o=t.config,i=t.lang;
1return r&&0!==Object.keys(r).length&&Object.keys(n).forEach(function(t){n[t]instanceof Object&&e({obj:n[t],query:r,config:o,lang:i}),"string"==typeof n[t]&&(n[t]=a({text:n[t],query:r,config:o,lang:i}))}),n}({obj:e,query:n,config:t,lang:l}):a({text:e,query:n,config:t,lang:l})},m=function(e,a,s){void 0===e&&(e="");var l,u=Array.isArray(e)?e[0]:e,c=t.nsSeparator,g=t.loggerEnvironment,h=void 0===g?"browser":g,v=function(e,t){if(!t)return{i18nKey:e};var n=e.indexOf(t);return n<0?{i18nKey:e}:{namespace:e.slice(0,n),i18nKey:e.slice(n+t.length)}}(u,void 0===c?":":c),y=v.i18nKey,b=v.namespace,w=void 0===b?null!==(l=null==s?void 0:s.ns)&&void 0!==l?l:t.defaultNS:b,x=w&&n[w]||{},E=function(e,t,n,r,o){if(!o||"number"!=typeof o.count)return n;var a="".concat(n,"_").concat(o.count);if(void 0!==i(t,a,r))return a;var s="".concat(n,"_").concat(e.select(o.count));if(void 0!==i(t,s,r))return s;var l="".concat(n,".").concat(o.count);if(void 0!==i(t,l,r))return l;var u="".concat(n,".").concat(e.select(o.count));return void 0!==i(t,u,r)?u:n}(o,x,y,t,a),k=i(x,E,t,s),T="object"==typeof k?JSON.parse(JSON.stringify(k)):k,C=void 0===T||"object"==typeof T&&!Object.keys(T).length||""===T&&!f,P="string"==typeof(null==s?void 0:s.fallback)?[s.fallback]:(null==s?void 0:s.fallback)||[];if(C&&("both"===h||h===("undefined"==typeof window?"node":"browser"))&&d({namespace:w,i18nKey:y}),C&&Array.isArray(P)&&P.length){var j=P[0],S=P.slice(1);if("string"==typeof j)return m(j,a,r(r({},s),{fallback:S}))}return C&&s&&s.hasOwnProperty("default")&&!(null==P?void 0:P.length)?s.default?p(s.default,a):s.default:C?u:p(T,a)};return m}function i(e,t,n,r){void 0===t&&(t=""),void 0===r&&(r={returnObjects:!1});var o=(n||{}).keySeparator,i=void 0===o?".":o,a=i?t.split(i):[t];if(t===i&&r.returnObjects)return e;var s=a.reduce(function(e,t){if("string"==typeof e)return{};var n=e[t];return n||("string"==typeof n?n:{})},e);if("string"==typeof s||s instanceof Object&&r.returnObjects)return s}function a(e){var t=e.text,n=e.query,r=e.config,o=e.lang;if(!t||!n)return t||"";var i=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},a=r.interpolation||{},s=a.format,l=void 0===s?null:s,u=a.prefix,d=void 0===u?"{{":u,c=a.suffix,f=void 0===c?"}}":c,p=""===f?"":"(?:[\\s,]+([\\w-]*))?\\s*".concat(i(f));return Object.keys(n).reduce(function(e,t){var r=RegExp("".concat(i(d),"\\s*").concat(t).concat(p),"gm");return e.replace(r,function(e,r){return r&&l?l(n[t],r,o):n[t]})},t)}function s(e){e.namespace,e.i18nKey}},82882:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92343),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function i(e,t){return"string"!=typeof t?e:function(n,r,i){return e(n,r,o({ns:t},i))}}var a=n(79638),s=n(88799),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function u(e){var t=globalThis.__NEXT_TRANSLATE__;return((null==t?void 0:t.config)?function(e){var t,n=null!==(t=globalThis.__NEXT_TRANSLATE__)&&void 0!==t?t:{},r=n.lang,o=n.namespaces,a=n.config,l=a.localesToIgnore||["default"],u=!r||l.includes(r);return{t:i((0,s.Z)({config:a,allNamespaces:o,pluralRules:new Intl.PluralRules(u?void 0:r),lang:r}),e),lang:r}}:function(e){var t=(0,r.useContext)(a.Z);return(0,r.useMemo)(function(){return l(l({},t),{t:i(t.t,e)})},[t,e])})(e)}},70844:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],u=new o((a+s)*3/4-s),d=0,c=s>0?a-4:a;for(n=0;n<c;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[d++]=t>>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[d++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[d++]=t>>
18&255,u[d++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a<s;a+=16383)i.push(function(e,t,r){for(var o,i=[],a=t;a<r;a+=3)i.push(n[(o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*!
2 * The buffer module from node.js, for the browser.
3 *
4 * @author   Feross Aboukhadijeh <https://feross.org>
5 * @license  MIT
6 */var r=n(675),o=n(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return function(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),s.prototype),r}(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var o=function(e){if(s.isBuffer(e)){var t,n=0|f(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),a(e<0?0:0|f(e))}function c(e){for(var t=e.length<0?0:0|f(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(o)return r?-1:C(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=A[e[i]];return o}(this,t,n);case"utf8":case"utf-8":return y(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}(this,t,n);case"base64":return o=t,i=n,0===o&&i===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}(this,t,n);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function h(e,t,n,r,o){var i;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;
vendor: 13,652 bytes, line 6
6a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var d=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===d?0:i-d)){if(-1===d&&(d=i),i-d+1===l)return d*a}else -1!==d&&(i-=i-d),d=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var c=!0,f=0;f<l;f++)if(u(e,i+f)!==u(t,f)){c=!1;break}if(c)return i}return -1}function y(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,u=e[o],d=null,c=u>239?4:u>223?3:u>191?2:1;if(o+c<=n)switch(c){case 1:u<128&&(d=u);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&u)<<6|63&i)>127&&(d=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(d=l)}null===d?(d=65533,c=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|1023&d),r.push(d),o+=c}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function b(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function x(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function E(e,t,n,r,i){return t=+t,n>>>=0,i||x(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function k(e,t,n,r,i){return t=+t,n>>>=0,i||x(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return d(e)},s.allocUnsafeSlow=function(e){return d(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=s.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(L(i,Uint8Array)&&(i=s.from(i)),!s.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?y(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,l=Math.min(i,a),u=this.slice(r,o),d=e.slice(t,n),c=0;c<l;++c)if(u[c]!==d[c]){i=u[c],a=d[c];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return h(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return h(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,l,u,d,c,f,p,m,g,h=this.length-t;if((void 0===n||n>h)&&(n=h),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var v=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[n+a]=s}return a}(this,e,t,n);case"utf8":case"utf-8":return l=t,u=n,S(C(e,this.length-l),this,l,u);case"ascii":return d=t,c=n,S(P(e),this,d,c);case"latin1":case"binary":return o=this,i=e,a=t,s=n,S(P(i),o,a,s);case"base64":return f=t,p=n,S(j(e),this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m=t,g=n,S(function(e,t){for(var n,r,o=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o.push(n%256),o.push(r);return o}(e,this.length-m),this,m,g);default:if(v)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),v=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;w(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;w(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);w(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);w(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return E(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return E(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return k(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return k(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var i=o-1;i>=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},s.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=s.isBuffer(e)?e:s.from(e,r),l=a.length;
6if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=a[o%l]}return this};var T=/[^+/0-9A-Za-z-_]/g;function C(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function P(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function S(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,u=l>>1,d=-7,c=n?o-1:0,f=n?-1:1,p=e[t+c];for(c+=f,i=p&(1<<-d)-1,p>>=-d,d+=s;d>0;i=256*i+e[t+c],c+=f,d-=8);for(a=i&(1<<-d)-1,i>>=-d,d+=r;d>0;a=256*a+e[t+c],c+=f,d-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=u}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,u=8*i-o-1,d=(1<<u)-1,c=d>>1,f=23===o?5960464477539062e-23:0,p=r?0:i-1,m=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+c>=1?t+=f/l:t+=f*Math.pow(2,1-c),t*l>=2&&(a++,l/=2),a+c>=d?(s=0,a=d):a+c>=1?(s=(t*l-1)*Math.pow(2,o),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=m,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[n+p]=255&a,p+=m,a/=256,u-=8);e[n+p-m]|=128*g}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(72);e.exports=o}()},85279:function(e,t,n){e.exports=n(59547)},35284:function(e,t,n){e.exports=n(89492)},89532:function(e,t,n){e.exports=n(20873)},15600:function(e,t,n){e.exports=n(63918)},45818:function(e,t,n){e.exports=n(68257)},77604:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,d=-1;function c(){u&&r&&(u=!1,r.length?l=r.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=s(c);u=!0;for(var t=l.length;t;){for(r=l,l=[];++d<t;)r&&r[d].run();d=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},21324:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",u="string",d="major",c="model",f="name",p="type",m="vendor",g="version",h="architecture",v="console",y="mobile",b="tablet",w="smarttv",x="wearable",E="embedded",k="Amazon",T="Apple",C="ASUS",P="BlackBerry",j="Browser",S="Chrome",L="Firefox",A="Google",M="Huawei",N="Microsoft",D="Motorola",K="Opera",B="Samsung",I="Sharp",F="Sony",R="Xiaomi",O="Zebra",z="Facebook",_="Chromium OS",W="Mac OS",H=" Browser",V=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},U=function(e,t){return typeof e===u&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},q=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},X=function(e,t){for(var n,r,o,s,u,d,c=0;c<t.length&&!u;){var f=t[c],p=t[c+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(o=0;o<p.length;o++)d=u[++r],typeof(s=p[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,d):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=d?d.replace(s[1],s[2]):void 0:this[s[0]]=d?s[1].call(this,d,s[2]):void 0:4===s.length&&(this[s[0]]=d?s[3].call(this,d.replace(s[1],s[2])):void 0):this[s]=d||i;c+=2}},Z=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(U(t[n][r],e))return"?"===n?i:n}else if(U(t[n],e))return"?"===n?i:n;return t.hasOwnProperty("*")?t["*"]:e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,K+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[f,K+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[f,K]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+j]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[f,"Smart Lenovo "+j]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+j],g],[/\bfocus\/([\w\.]+)/i],[g,[f,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+j]],[/fxios\/([-\w\.]+)/i],[g,[f,L]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360"+H]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+H],g],[/samsungbrowser\/([\w\.]+)/i],[g,[f,B+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,z],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.
vendor: 4,534 bytes, line 6
6+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,S+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,S+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+j]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,Z,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/(wolvic)\/([\w\.]+)/i],[f,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[f,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,G]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[m,B],[p,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[m,B],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[m,T],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[m,T],[p,b]],[/(macintosh);/i],[c,[m,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[m,I],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[m,M],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[m,M],[p,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[c,/_/g," "],[m,R],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[m,R],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[m,"OPPO"],[p,y]],[/\b(opd2\d{3}a?) bui/i],[c,[m,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[m,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[m,"Realme"],[p,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[m,D],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[m,D],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[m,"LG"],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[m,"LG"],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[m,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[m,"Nokia"],[p,y]],[/(pixel c)\b/i],[c,[m,A],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[m,A],[p,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[m,F],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[m,F],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[m,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[m,k],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)
vendor: 5,811 bytes, line 6
6/g,"Fire Phone $1"],[m,k],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[c,m,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[m,P],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[m,C],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[m,C],[p,y]],[/(nexus 9)/i],[c,[m,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[c,/_/g," "],[p,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[m,"TCL"],[p,b]],[/(itel) ((\w+))/i],[[m,G],c,[p,Z,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[m,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[m,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[m,"Ulefone"],[p,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[m,"Nothing"],[p,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,c,[p,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,c,[p,b]],[/(surface duo)/i],[c,[m,N],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[m,"Fairphone"],[p,y]],[/(u304aa)/i],[c,[m,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[c,[m,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[c,[m,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[c,[m,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[c,[m,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[m,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[c,[m,"NuVision"],[p,b]],[/\b(k88) b/i],[c,[m,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[c,[m,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[c,[m,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[c,[m,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[c,[m,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],c,[p,b]],[/\b(ns-?\w{0,9}) b/i],[c,[m,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[m,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],c,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],c,[p,y]],[/\b(ph-1) /i],[c,[m,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[m,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[c,[m,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[c,[m,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[c,[m,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[m,c,[p,y]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[m,N],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[m,O],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[m,O],[p,y]],[/smart-tv.+(samsung)/i],[m,[p,w]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[m,B],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,"LG"],[p,w]],[/(apple) ?tv/i],[m,[c,T+" TV"],[p,w]],[/crkey/i],[[c,S+"cast"],[m,A],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[c,[m,k],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[m,I],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[c,[m,F],[p,w]],[/(mitv-\w{5}) bui/i],[c,[m,R],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[m,c,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,q],[c,q],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,c,[p,v]],[/droid.+; (shield) bui/i],[c,[m,"Nvidia"],[p,v]],[/(playstation [345portablevi]+)/i],[c,[m,F],[p,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[m,N],[p,v]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[c,[m,B],[p,x]],[/((pebble))app/i],[m,c,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[m,T],[p,x]],[/droid.+; (glass) \d/i],[c,[m,A],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[c,[m,O],[p,x]],[/(quest( \d| pro)?)/i],[c,[m,z],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[p,E]],[/(aeobc)\b/i],[c,[m,k],[p,E]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,y]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[g,Z,Y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Z,Y],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,P]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
6 rv:.+ gecko\/([\w\.]+)/i],[g,[f,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,S+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,_],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},Q=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof Q))return new Q(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:i,w=t?V(J,t):J,x=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=i,t[g]=i,X.call(t,r,w.browser),t[d]=typeof(e=t[g])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i,x&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[h]=i,X.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[m]=i,e[c]=i,e[p]=i,X.call(e,r,w.device),x&&!e[p]&&v&&v.mobile&&(e[p]=y),x&&"Macintosh"==e[c]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[c]="iPad",e[p]=b),e},this.getEngine=function(){var e={};return e[f]=i,e[g]=i,X.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=i,e[g]=i,X.call(e,r,w.os),x&&!e[f]&&v&&v.platform&&"Unknown"!=v.platform&&(e[f]=v.platform.replace(/chrome os/i,_).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?q(e,500):e,this},this.setUA(r),this};Q.VERSION="1.0.39",Q.BROWSER=$([f,g,d]),Q.CPU=$([h]),Q.DEVICE=$([c,m,p,v,y,w,b,x,E]),Q.ENGINE=Q.OS=$([f,g]),typeof t!==s?(e.exports&&(t=e.exports=Q),t.UAParser=Q):n.amdO?i!==(r=(function(){return Q}).call(t,n,t,e))&&(e.exports=r):typeof o!==s&&(o.UAParser=Q);var ee=typeof o!==s&&(o.jQuery||o.Zepto);if(ee&&!ee.ua){var et=new Q;ee.ua=et.getResult(),ee.ua.get=function(){return et.getUA()},ee.ua.set=function(e){et.setUA(e);var t=et.getResult();for(var n in t)ee.ua[n]=t[n]}}}("object"==typeof window?window:this)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(19517)}])},64685:function(e,t,n){"use strict";let r;n.d(t,{fi:function(){return tz},zF:function(){return tk},Ab:function(){return o},A5:function(){return t_},qU:function(){return tP},BY:function(){return eD},qv:function(){return e$},eC:function(){return ec},Ch:function(){return ey},G$:function(){return h},cu:function(){return ef},eT:function(){return tE},no:function(){return eg},tq:function(){return R},gb:function(){return ed},F9:function(){return tL},Y8:function(){return eA},Ev:function(){return $},eq:function(){return tF},k7:function(){return H},n5:function(){return tC},Y7:function(){return tT},Co:function(){return V}});var o={};n.r(o),n.d(o,{cj:function(){return eI},jo:function(){return e_},a0:function(){return eW},Jo:function(){return eO},j3:function(){return eF},O5:function(){return eR},_E:function(){return ez},ub:function(){return eB},Bv:function(){return eK}});var i=n(97419),a=n(82882),s=n(38231),l=n(92343),u=n(35284),d=n.n(u),c=n(57386),f=n.n(c);let p=e=>(0,s.sI)(e.originalUrl,e.url),m=e=>(0,s.sI)(e.originalCover,e.cover)||(0,s.sI)(e.originalUrl,e.url);var g=e=>{let{items:t,sessionURI:n,sessionID:r,sourceRes:o,resolveSourceURI:u,labels:c,listClassName:g="fbList"}=e,{t:h}=(0,a.Z)(),v=(0,l.useRef)(null),[y,b]=(0,l.useState)({});(0,l.useEffect)(()=>{(null==t?void 0:t.length)&&((0,s.j)({action:"show_container",url:n,session_id:r,...null==o?void 0:o.trackCount}),window.requestAnimationFrame(()=>{let e=v.current;e&&window.scrollTo({top:e.offsetTop,behavior:"smooth"})}))},[t,n,r,o]);let w={HD:h("download-hd"),SD:h("download-sd")},x=e=>{var t;let n=(0,s.Wq)(e.type);return(e.tag?null!==(t=w[e.tag])&&void 0!==t?t:e.tag:void 0)||("AUDIO"===n?h("download-audio"):"VIDEO"===n?e.tag?"".concat(h("download-video")," (").concat(e.tag,")"):h("download-video"):"gif"===e.type&&c.gif?c.gif:"IMAGE"===n?h("download-photo"):h("download-btn"))},E=e=>{let t=(0,s.Wq)(e.type);return"IMAGE"===t?"gif"===e.type&&c.gif?c.gif:c.image:"AUDIO"===t?c.audio:c.video},k=(e,t)=>{let o=y[t]||0,a=o>0&&o<100;return(0,i.jsx)(e$,{progress:o,children:(0,i.jsxs)("div",{className:f()("flex items-center justify-center p-4 bg-theme-content-btn-color text-white text-pc_tittle font-bold text-center rounded-2xl cursor-pointer shadow-sm"),onClick:()=>
6{if(a)return;let o=p(e),i=(0,s.EX)(u(o,{sessionID:r}),o);(0,s.j)({action:"download",NSPointGTM_INLINE:!0,url:n,session_id:r,download_url:i}),b(e=>({...e,[t]:.01})),(0,s.ox)({url:i,fileType:e.type,index:t},(e,t)=>{let{index:n}=t;if(null===e){b({});return}if(0===e){b(e=>{let t={...e};return delete t[n],t});return}b(t=>({...t,[n]:e}))})},children:[(0,i.jsx)(d(),{src:"/assets/icons/ic_download.png",width:24,height:24,alt:"ic_download",className:f()("mr-2",a&&"opacity-0")}),(0,i.jsx)("span",{children:x(e)}),e.size&&(0,i.jsx)("span",{className:"px-3 py-1 ml-4 rounded-full bg-[rgba(255,255,255,0.12)] text-sm font-bold",children:e.size})]})},t)};return(0,i.jsx)("div",{ref:v,className:g,children:t.map((e,t)=>{var o;let a=p(e),l=m(e);return(0,i.jsx)(ey,{onExpose:()=>{(0,s.j)({action:"show",url:n,session_id:r})},children:(0,i.jsxs)("div",{className:"flex items-center relative w-full mb-6 max-sm:flex-col",children:[(0,i.jsx)("div",{className:"flex max-sm:w-full",children:"VIDEO"===(0,s.Wq)(e.type)?(0,i.jsx)(tT,{poster:u(l,{sessionID:r}),url:u(a,{sessionID:r})}):"AUDIO"===(0,s.Wq)(e.type)?(0,i.jsx)(tk,{url:u(a,{sessionID:r})}):(0,i.jsx)(tE,{url:u(l,{sessionID:r})})}),(0,i.jsxs)("div",{className:"ml-8 flex-1 max-sm:ml-0 max-sm:w-full",children:[(0,i.jsxs)("div",{className:"flex justify-between max-sm:my-4",children:[(0,i.jsxs)("div",{className:"flex items-center justify-start",children:["IMAGE"===(0,s.Wq)(e.type)?(0,i.jsx)(d(),{src:"/assets/icons/ic_image.png",width:24,height:24,alt:"ic_image"}):"AUDIO"===(0,s.Wq)(e.type)?(0,i.jsx)(d(),{src:"/assets/icons/ic_audio.png",width:24,height:24,alt:"ic_audio"}):(0,i.jsx)(d(),{src:"/assets/icons/ic_video.png",width:24,height:24,alt:"ic_video"}),(0,i.jsx)("p",{className:"ml-2 text-lg font-bold",children:E(e)})]}),(0,i.jsx)("span",{className:f()("text-lg font-bold rounded-lg py-1 px-2",{"text-6A70FF bg-DCDDFF":"AUDIO"===(0,s.Wq)(e.type)||"VIDEO"===(0,s.Wq)(e.type),"text-1AD69E bg-CAF9EB":"IMAGE"===(0,s.Wq)(e.type)}),children:(0,s.Wq)(e.type)})]}),(0,i.jsx)("div",{className:"mt-8 grid box-border grid-cols-2 gap-8 max-sm:mt-0 max-sm:grid-cols-1 max-sm:gap-4",children:(null===(o=e.videoList)||void 0===o?void 0:o.length)?e.videoList.map((e,n)=>k(e,"".concat(t,"_").concat(n))):k(e,t)})]})]})},"item-".concat(t))})})},h=e=>{let{data:t}=e,{t:n}=(0,a.Z)(),{fbBos:r,sessionURI:o,sessionID:l,sourceRes:u}=t;return(0,i.jsx)(g,{items:r,sessionURI:o,sessionID:l,sourceRes:u,resolveSourceURI:s.X4,labels:{video:n("download-fb-video"),image:n("download-fb-image"),audio:n("download-fb-audio")}})},v=()=>(0,i.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[(0,i.jsx)("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),y=n(19387),[b,w]=(0,y.k)({name:"AvatarGroupContext",strict:!1}),x=n(87996),E=n(55847),k=n(78014),T=(0,E.tv)({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...k.Dh],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...k.z6,"flex","items-center","justify-center"],name:[...k.z6,"font-normal","text-center","text-inherit"],icon:[...k.z6,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:x.J.solid.default},primary:{base:x.J.solid.primary},secondary:{base:x.J.solid.secondary},success:{base:x.J.solid.success},warning:{base:x.J.solid.warning},danger:{base:x.J.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 rtl:data-[hover=true]:translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3 rtl:data-[focus-visible=true]:translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}},disableAnimation:{true:{base:"transition-none",img:"transition-none"},false:{}}}
6,defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});(0,E.tv)({slots:{base:"flex items-center justify-center h-auto w-max",count:"hover:-translate-x-0"},variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var C=n(23690),P=n(81195),j=n(46579),S=n(22164),L=n(33357),A=n(98787),M=n(98583),N=n(47283),D=n(73635);function K(e={}){let{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:a,sizes:s,ignoreFallback:u}=e,[d,c]=(0,l.useState)("pending");(0,l.useEffect)(()=>{c(n?"loading":"pending")},[n]);let f=(0,l.useRef)(),p=(0,l.useCallback)(()=>{if(!n)return;m();let e=new Image;e.src=n,a&&(e.crossOrigin=a),r&&(e.srcset=r),s&&(e.sizes=s),t&&(e.loading=t),e.onload=e=>{m(),c("loaded"),null==o||o(e)},e.onerror=e=>{m(),c("failed"),null==i||i(e)},f.current=e},[n,a,r,s,o,i,t]),m=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return(0,D.G)(()=>{if(!u)return"loading"===d&&p(),()=>{m()}},[d,p,u]),u?"loaded":d}var B=n(1264),I=n(53615),F=(0,I.Gp)((e,t)=>{let{Component:n,ImgComponent:r,src:o,icon:a=(0,i.jsx)(v,{}),alt:s,classNames:u,slots:d,name:c,showFallback:f,fallback:p,getInitials:m,getAvatarProps:g,getImageProps:h}=function(e={}){var t,n,r,o,i,a,s;let u=(0,C.w)(),d=w(),c=!!d,{as:f,ref:p,src:m,name:g,icon:h,classNames:v,fallback:y,alt:b=g||"avatar",imgRef:x,color:E=null!=(t=null==d?void 0:d.color)?t:"default",radius:k=null!=(n=null==d?void 0:d.radius)?n:"full",size:D=null!=(r=null==d?void 0:d.size)?r:"md",isBordered:I=null!=(o=null==d?void 0:d.isBordered)&&o,isDisabled:F=null!=(i=null==d?void 0:d.isDisabled)&&i,isFocusable:R=!1,getInitials:O=L.e,ignoreFallback:z=!1,showFallback:_=!1,ImgComponent:W="img",imgProps:H,className:V,onError:$,...U}=e,G=f||"span",q=(0,j.gy)(p),X=(0,j.gy)(x),{isFocusVisible:Z,isFocused:Y,focusProps:J}=(0,N.F)(),{isHovered:Q,hoverProps:ee}=(0,B.X)({isDisabled:F}),et=null!=(s=null!=(a=e.disableAnimation)?a:null==u?void 0:u.disableAnimation)&&s,en="loaded"===K({src:m,onError:$,ignoreFallback:z}),er="string"==typeof W,eo=(!m||!en)&&_,ei=(0,l.useMemo)(()=>{var e;return T({color:E,radius:k,size:D,isBordered:I,isDisabled:F,isInGroup:c,disableAnimation:et,isInGridGroup:null!=(e=null==d?void 0:d.isGrid)&&e})},[E,k,D,I,F,et,c,null==d?void 0:d.isGrid]),ea=(0,A.W)(null==v?void 0:v.base,V),es=(0,l.useMemo)(()=>R||"button"===f,[R,f]),el=(0,l.useCallback)((e={})=>({ref:q,tabIndex:es?0:-1,"data-hover":(0,M.PB)(Q),"data-focus":(0,M.PB)(Y),"data-focus-visible":(0,M.PB)(Z),className:ei.base({class:(0,A.W)(ea,null==e?void 0:e.className)}),...(0,P.d)(U,ee,es?J:{})}),[es,ei,ea,J,U]),eu=(0,l.useCallback)((e={})=>({ref:X,src:m,"data-loaded":(0,M.PB)(en),className:ei.img({class:null==v?void 0:v.img}),...(0,P.d)(H,e,(0,S.z)({disableAnimation:et},{enabled:er}))}),[ei,en,H,et,m,X,er]);return{Component:G,ImgComponent:W,src:m,alt:b,icon:h,name:g,imgRef:X,slots:ei,classNames:v,fallback:y,isImgLoaded:en,showFallback:eo,ignoreFallback:z,getInitials:O,getAvatarProps:el,getImageProps:eu}}({...e,ref:t}),y=(0,l.useMemo)(()=>!f&&o?null:p?(0,i.jsx)("div",{"aria-label":s,className:d.fallback({class:null==u?void 0:u.fallback}),role:"img",children:p}):c?(0,i.jsx)("span",{"aria-label":s,className:d.name({class:null==u?void 0:u.name}),role:"img",children:m(c)}):(0,i.jsx)("span",{"aria-label":s,className:d.icon({class:null==u?void 0:u.icon}),role:"img",children:a}),[f,o,p,c,u]);return(0,i.jsxs)(n,{...g(),children:[o&&(0,i.jsx)(r,{...h(),alt:s}),y]})});F.displayName="NextUI.Avatar";var R=e=>{let{data:t}=e,{t:n}=(0,a.Z)(),{userName:r,profilePreviewUrl:o,biography:u,profileThumbnail:c,introduce:p,insBos:m,showProfile:g,sessionURI:h,sessionID:v,sourceRes:y,resolveSourceURI:b=s.fm}=t,w=(0,l.useRef)(null),[x,E]=(0,l.useState)({}),k=(e,t)=>{let r=x[t]||0,o=r>0&&r<100;return(0,i.jsx)(e$,{progress:r,children:(0,i.jsxs)("div",{className:f()("flex items-center justify-center p-4 bg-theme-content-btn-color text-white text-pc_tittle font-bold text-center rounded-2xl cursor-pointer shadow-sm"),onClick:()=>
6{if(o)return;let n=(0,s.sI)(e.originalUrl,e.url),r=(0,s.EX)(b(n,{sessionID:v}),n);(0,s.j)({action:"download",NSPointGTM_INLINE:!0,url:h,session_id:v,download_url:r}),E(e=>({...e,[t]:.01})),(0,s.ox)({url:r,fileType:e.type,index:t},(e,t)=>{let{index:n}=t;if(null===e){E({});return}if(0===e){E(e=>{let t={...e};return delete t[n],t});return}E(t=>({...t,[n]:e}))})},children:[(0,i.jsx)(d(),{src:"/assets/icons/ic_download.png",width:24,height:24,alt:"ic_download",className:f()("mr-2",o&&"opacity-0")}),(0,i.jsx)("p",{children:"AUDIO"===(0,s.Wq)(e.type)?n("download-audio"):"VIDEO"===(0,s.Wq)(e.type)?n("download-video"):"IMAGE"===(0,s.Wq)(e.type)?n("download-photo"):n("download-btn")})]})},t)};return(0,l.useEffect)(()=>{if(t&&(t.profilePreviewUrl||t.insBos.length)){let e={action:"show_container",url:h,session_id:v,...y.trackCount};(0,s.j)(e),window.requestAnimationFrame(()=>{let e=w.current;if(e){let t=null==e?void 0:e.offsetTop;window.scrollTo({top:t,behavior:"smooth"})}})}},[t]),(0,i.jsx)(l.Fragment,{children:(0,i.jsxs)("div",{ref:w,className:"sssgramList",children:[g&&o&&(0,i.jsxs)("div",{className:"flex items-center my-12 max-sm:m
6y-8 max-sm:flex-col",children:[(0,i.jsx)(F,{src:b(o,{sessionID:v}),className:"w-[120px] h-[120px] mr-[1.125rem] flex-shrink-0"}),(0,i.jsxs)("div",{className:"flex flex-col flex-1 max-sm:w-full",children:[(0,i.jsxs)("div",{className:"flex flex-col max-sm:text-center",children:[(0,i.jsx)("p",{className:"text-pc_tittle font-bold",children:r}),(0,i.jsx)("p",{className:"text-pc_body text-777C8E font-normal my-2",children:u})]}),(0,i.jsx)(ey,{className:"w-2/4 max-sm:w-full",onExpose:()=>{(0,s.j)({action:"show",url:h,session_id:v,...y.trackCount})},children:(0,i.jsxs)("a",{className:"box-border text-button text-white rounded-2xl font-bold bg-theme-download-btn-color p-4 flex items-center justify-center shadow-sm relative max-sm:w-full",href:(0,s.EX)(b(o,{sessionID:v}),o),download:!0,onClick:()=>{(0,s.j)({action:"download",NSPointGTM_INLINE:!0,session_id:v,url:h,download_url:(0,s.EX)(b(o,{sessionID:v}),o)})},children:[(0,i.jsx)(d(),{src:"/assets/icons/ic_download.png",width:24,height:24,alt:"ic_download",className:"mr-2"}),n("download-avatar")]})})]})]}),(0,i.jsx)("div",{className:"grid grid-cols-3 gap-8 mt-12 max-sm:mt-6 max-sm:grid-cols-1 max-sm:gap-4",children:(null==m?void 0:m.map((e,t)=>(0,i.jsxs)("div",{className:"dl-wrapper max-sm:mb-4",children:[(0,i.jsx)("div",{className:"video-info",children:e.author||p||e.desc?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(tC,{avatarUrl:b((0,s.sI)(e.originalThumb,e.thumb||c),{sessionID:v}),title:e.author||p,desc:e.desc})}):null}),(0,i.jsx)("div",{className:"media_box",children:"VIDEO"===(0,s.Wq)(e.type)?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(tT,{poster:b((0,s.sI)(e.originalCover,e.cover),{sessionID:v}),url:b((0,s.sI)(e.originalUrl,e.url),{sessionID:v})})}):"AUDIO"===(0,s.Wq)(e.type)?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(tk,{url:b((0,s.sI)(e.originalUrl,e.url),{sessionID:v})})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(tE,{url:b((0,s.sI)(e.originalCover,e.cover),{sessionID:v})})})}),(0,i.jsx)(ey,{onExpose:()=>{(0,s.j)({action:"show",url:h,session_id:v,...y.trackCount})},children:k(e,t)},t)]},t)))||null})]})})};let O=e=>/^https?:\/\//i.test(e),z=(e,t)=>e?O(e)?e:(0,s.fm)(e,{sessionID:t}):"",_=(e,t)=>{let n=z(e,t);return!n||O(e)?n:"".concat(n,"&status=download")},W=[{label:"download-no-watermark",value:"withoutWaterMarkMp4",downloadType:"mp4"},{label:"download-mp4-hd",value:"waterMarkMp4",downloadType:"mp4"},{label:"download-mp3-hd",value:"mp3",downloadType:"mp3"},{label:"download-dp",value:"thumb",downloadType:"png"}];var H=e=>{let{data:t}=e,{t:n}=(0,a.Z)(),[r,o]=(0,l.useState)({}),{sessionID:u,sessionURI:c,sourceRes:p}=t,m=(0,l.useRef)(null),g=e=>{let t={action:"download",NSPointGTM_INLINE:!0,session_id:u,url:c,...e};(0,s.j)(t)},h=(e,t)=>{if(null===e){o({});return}if(0===e){o(e=>{let n={...e};return delete n[t],n});return}o(n=>({...n,[t]:e}))};(0,l.useEffect)(()=>{if(t){let e={action:"show_container",url:c,session_id:u,...p.trackCount};(0,s.j)(e),window.requestAnimationFrame(()=>{let e=m.current;if(e){let t=null==e?void 0:e.offsetTop;window.scrollTo({top:t,behavior:"smooth"})}})}},[t]);let v=(e,t)=>{let{e:a,i:l}=t,c=r[a.value]||0,p=c>0&&c<100;return e[a.value]&&(0,i.jsx)(e$,{progress:c,children:(0,i.jsxs)("div",{className:f()("flex items-center justify-center p-4 bg-theme-content-btn-color text-white text-pc_tittle font-bold text-center rounded-2xl cursor-pointer shadow-sm"),onClick:()=>{if(p)return;let{value:t,downloadType:n}=a,r=_(e[t],u);g({download_url:r}),o(e=>({...e,[t]:.01})),(0,s.ox)({url:r,fileType:n,index:t},(e,t)=>{let{index:n}=t;h(e,n)})},children:[(0,i.jsx)(d(),{src:"/assets/icons/ic_download.png",width:24,height:24,alt:"ic_download",className:f()("mr-2",p&&"opacity-0")}),(0,i.jsx)("p",{children:n(a.label)})]},l)},l)||null};return(0,i.jsx)("div",{ref:m,className:"tiktokSiteList",children:(0,i.jsxs)(ey,{onExpose:()=>{(0,s.j)({action:"show",url:c,session_id:u})},children:[(0,i.jsxs)("div",{className:"flex items-center relative w-full mb-6 max-sm:flex-col",children:[(0,i.jsx)("div",{className:"flex justify-center items-center",children:t.withoutWaterMarkMp4?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(tT,{poster:z(t.cover,u),url:z(t.withoutWaterMarkMp4,u)})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(tE,{url:z(t.cover,u)})})}),(0,i.jsxs)("div",{className:"ml-8 flex-1 max-sm:ml-0 max-sm:w-full",children:[(0,i.jsx)(tC,{title:t.author,desc:t.desc,avatarSlot:(0,i.jsx)(F,{src:z(t.thumb,u),className:"w-20 h-20 mr-4 flex-shrink-0"}
6),className:"max-sm:my-4"}),(0,i.jsx)("div",{className:"mt-8 grid box-border grid-cols-2 gap-8 max-sm:mt-0 max-sm:grid-cols-1 max-sm:gap-4",children:W.map((e,n)=>(0,i.jsx)(i.Fragment,{children:v(t,{e,i:n})}))})]})]}),t.pics&&t.pics.length>0?(0,i.jsx)("div",{className:"pics-list grid grid-cols-3 gap-8 max-sm:grid-cols-1 max-sm:gap-4",children:t.pics.map((e,t)=>{let a="pics_".concat(t),l=r["".concat(a)]||0,c=l>0&&l<100;return(0,i.jsxs)("div",{className:"pic-item",children:[(0,i.jsx)("div",{className:"flex justify-center items-center w-312px h-312px max-sm:w-full",children:(0,i.jsx)(tE,{url:z(e,u)})}),(0,i.jsx)(e$,{progress:l,children:(0,i.jsxs)("div",{className:f()("flex mt-4 items-center justify-center p-4 bg-theme-content-btn-color text-white text-pc_tittle font-bold text-center rounded-2xl cursor-pointer shadow-sm"),onClick:()=>{if(c)return;let t=_(e,u);g({download_url:t}),o(e=>({...e,[a]:.1})),(0,s.ox)({url:t,fileType:"png",index:a},(e,t)=>{let{index:n}=t;h(e,n)})},children:[(0,i.jsx)(d(),{src:"/assets/icons/ic_download.png",width:24,height:24,alt:"ic_download",className:f()("mr-2",c&&"opacity-0")}),(0,i.jsx)("p",{children:n("download-btn")})]})},t)]})})}):null]},"item-tiktoksite")})},V=e=>{let{data:t}=e,{t:n}=(0,a.Z)(),{insBos:r,sessionURI:o,sessionID:l,sourceRes:u}=t;return(0,i.jsx)(g,{items:r,sessionURI:o,sessionID:l,sourceRes:u,resolveSourceURI:s.jj,labels:{video:n("download-video"),image:n("download-photo"),audio:n("download-audio")},listClassName:"xList"})},$=e=>{let{data:t}=e,{t:n}=(0,a.Z)(),{insBos:r,sessionURI:o,sessionID:l,sourceRes:u}=t;return(0,i.jsx)(g,{items:r,sessionURI:o,sessionID:l,sourceRes:u,resolveSourceURI:s.Rn,labels:{video:n("download-video"),image:n("download-photo"),audio:n("download-audio"),gif:n("download-photo")},listClassName:"pinList"})},U=(0,E.tv)({slots:{base:"flex flex-col justify-center gap-1 max-w-fit items-center",label:"",svgWrapper:"relative block",svg:"z-0 relative overflow-hidden",track:"h-full stroke-default-300/50",indicator:"h-full stroke-current",value:"absolute font-normal inset-0 flex items-center justify-center"},variants:{color:{default:{svg:"text-default-400"},primary:{svg:"text-primary"},secondary:{svg:"text-secondary"},success:{svg:"text-success"},warning:{svg:"text-warning"},danger:{svg:"text-danger"}},size:{sm:{svg:"w-8 h-8",label:"text-small",value:"text-[0.5rem]"},md:{svg:"w-10 h-10",label:"text-small",value:"text-[0.55rem]"},lg:{svg:"w-12 h-12",label:"text-medium",value:"text-[0.6rem]"}},isIndeterminate:{true:{svg:"animate-spinner-ease-spin"}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:{},false:{indicator:"transition-all !duration-500"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1},compoundVariants:[{disableAnimation:!0,isIndeterminate:!1,class:{svg:"!transition-none motion-reduce:transition-none"}}]}),G=n(75668),q=n(95416);let X=new Set(["id"]),Z=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Y=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),J=/^(data-.*)$/;var Q=n(45761);"undefined"!=typeof window&&window.document&&window.document.createElement;let ee=new Map;var et=n(92074),en=n(58175),er=n(35077);let eo=new Map,ei=!1;try{ei="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(e){}let ea=!1;try{ea="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(e){}let es={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class el{format(e){let t="";if(t=ei||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,n){if("auto"===t)return e.format(n);{if("never"===t)return e.format(Math.abs(n));let r=!1;if("always"===t?r=n>0||Object.is(n,0):"exceptZero"===t&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),!r)return e.format(n);{let t=e.format(-n),r=e.format(n),o=t.replace(r,"").replace(/\u200e|\u061C/,"");return 1!=[...o].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(r,"!!!").replace(o,"+").replace("!!!",r)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!ea){var n;let{unit:e,unitDisplay:r="short",locale:o}=this.resolvedOptions();if(!e)return t;let i=null===(n=es[e])||void 0===n?void 0:n[r];t+=i[o]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return ei||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),ea||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),"unit"===t.style&&!ea){var r;let{unit:e,unitDisplay:n="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!(null===(r=es[e])||void 0===r?void 0:r[n]))throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((e,t)=>
6e[0]<t[0]?-1:1).join():"");if(eo.has(o))return eo.get(o);let i=new Intl.NumberFormat(e,t);return eo.set(o,i),i}(e,t),this.options=t}}var eu=(0,I.Gp)((e,t)=>{let{Component:n,slots:r,classNames:o,label:a,showValueLabel:s,getProgressBarProps:u,getLabelProps:d,getSvgProps:c,getIndicatorProps:f,getTrackProps:p}=function(e){var t,n,r;let o=(0,C.w)(),[i,a]=(0,I.oe)(e,U.variantKeys),{ref:s,as:u,id:d,className:c,classNames:f,label:p,valueLabel:m,value:g,minValue:h=0,maxValue:v=100,strokeWidth:y,showValueLabel:b=!1,formatOptions:w={style:"percent"},...x}=i,E=(0,j.gy)(s),k=(0,A.W)(null==f?void 0:f.base,c),[,T]=function(e={}){let{rerender:t=!1,delay:n=0}=e,r=(0,l.useRef)(!1),[o,i]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{r.current=!0;let e=null;return t&&(n>0?e=setTimeout(()=>{i(!0)},n):i(!0)),()=>{r.current=!1,t&&i(!1),e&&clearTimeout(e)}},[t]),[(0,l.useCallback)(()=>r.current,[]),o]}({rerender:!0,delay:100}),S=(null==(t=e.isIndeterminate)||t)&&void 0===g,L=null!=(r=null!=(n=e.disableAnimation)?n:null==o?void 0:o.disableAnimation)&&r,{progressBarProps:N,labelProps:D}=function(e){let{value:t=0,minValue:n=0,maxValue:r=100,valueLabel:o,isIndeterminate:i,formatOptions:a={style:"percent"}}=e,s=function(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(X.has(t)||n&&Z.has(t)||r&&Y.has(t)||(null==o?void 0:o.has(t))||J.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0}),{labelProps:u,fieldProps:d}=(0,en.N)({...e,labelElementType:"span"}),c=((t=(0,Q.uZ)(t,n,r))-n)/(r-n),f=function(e={}){let{locale:t}=(0,er.j)();return(0,l.useMemo)(()=>new el(t,e),[t,e])}(a);if(!i&&!o){let e="percent"===a.style?c:t;o=f.format(e)}return{progressBarProps:function(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,et.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=ee.get(e);if(n)return n.forEach(e=>e(t)),t;let r=ee.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}(s,{...d,"aria-valuenow":i?void 0:t,"aria-valuemin":n,"aria-valuemax":r,"aria-valuetext":i?void 0:o,role:"progressbar"}),labelProps:u}}({id:d,label:p,value:g,minValue:h,maxValue:v,valueLabel:m,formatOptions:w,isIndeterminate:S,"aria-labelledby":e["aria-labelledby"],"aria-label":e["aria-label"]}),K=(0,l.useMemo)(()=>U({...a,disableAnimation:L,isIndeterminate:S}),[(0,G.Xx)(a),L,S]),B=!!L||T,F=y||("sm"===e.size?2:3),R=16-F,O=2*R*Math.PI,z=O-(0,l.useMemo)(()=>B?S?.25:g?(0,q.Ez)((g-h)/(v-h),1):0:0,[B,g,h,v,S])*O,_=(0,l.useCallback)((t={})=>({ref:E,"data-indeterminate":(0,M.PB)(S),"data-disabled":(0,M.PB)(e.isDisabled),className:K.base({class:k}),...(0,P.d)(N,x,t)}),[E,K,S,e.isDisabled,k,N,x]),W=(0,l.useCallback)((e={})=>({className:K.label({class:null==f?void 0:f.label}),...(0,P.d)(D,e)}),[K,f,D]),H=(0,l.useCallback)((e={})=>({viewBox:"0 0 32 32",fill:"none",strokeWidth:F,className:K.svg({class:null==f?void 0:f.svg}),...e}),[F,K,f]),V=(0,l.useCallback)((e={})=>({cx:16,cy:16,r:R,role:"presentation",strokeDasharray:`${O} ${O}`,strokeDashoffset:z,transform:"rotate(-90 16 16)",strokeLinecap:"round",className:K.indicator({class:null==f?void 0:f.indicator}),...e}),[K,f,z,O,R]),$=(0,l.useCallback)((e={})=>({cx:16,cy:16,r:R,role:"presentation",strokeDasharray:`${O} ${O}`,strokeDashoffset:0,transform:"rotate(-90 16 16)",strokeLinecap:"round",className:K.track({class:null==f?void 0:f.track}),...e}),[K,f,O,R]);return{Component:u||"div",domRef:E,slots:K,classNames:f,label:p,showValueLabel:b,getProgressBarProps:_,getLabelProps:W,getSvgProps:H,getIndicatorProps:V,getTrackProps:$}}({ref:t,...e}),m=u();return(0,i.jsxs)(n,{...m,children:[(0,i.jsxs)("div",{className:r.svgWrapper({class:null==o?void 0:o.svgWrapper}),children:[(0,i.jsxs)("svg",{...c(),children:[(0,i.jsx)("circle",{...p()}),(0,i.jsx)("circle",{...f()})]}),s&&(0,i.jsx)("span",{className:r.value({class:null==o?void 0:o.value}),children:m["aria-valuetext"]})]}),a&&(0,i.jsx)("span",{...d(),children:a})]})});eu.displayName="NextUI.CircularProgress";var ed=()=>{let{t:e}=(0,a.Z)(),[t]=(0,l.useState)({timer:null,count:0}),[n,r]=(0,l.useState)(0);return(0,l.useEffect)(()=>(t.timer=setInterval(()=>{if(40===t.count)return clearInterval(t.timer);if(t.count++,t.count<15)r(e=>e+6);else{let e=Math.round(90+.4*t.count);r(e<100?e:99)}},200),()=>clearInterval(t.timer)),[]),(0,i.jsxs)("div",{className:"loading-wrapper flex items-center",children:[(0,i.jsx)(eu,{classNames:{svg:"w-6 h-6 drop-shadow-md",indicator:"stroke-white",track:"stroke-white/10",value:"text-3xl font-semibold text-white"},strokeWidth:4}),(0,i.jsxs)("span",{className:"loading-progress ml-4 text-pc_body max-sm:text-m_body",children:[e("loading")," ",n,"%"]})]})};function ec(e){let{tips:t}=e,{t:n}=(0,a.Z)();return(0,i.jsxs)("div",{className:"flex w-fit items-center justify-center py-2 px-4 bg-FFC2C2 border border-solid border-FF3F56 text-FF3F56 box-border rounded-2xl",children:[(0,i.jsx)(d(),{alt:"",src:"/assets/icons/ic_error_danger.png",layout:"fixed",height:24,width:24}),(0,i.jsx)("p",{className:"ml-4 text-pc_body max-sm:text-m_body font-normal",children:n(t)})]})}var ef=e=>{var t;let{dom:n,key:r,className:o="",src:a,style:s,priority:u}=e,d={flexShrink:0,objectFit:"contain",maxWidth:"fit-content",...s},c=a||(null==n?void 0:null===(t=n.props)||void 0===t?void 0:t.src),f=l.isValidElement(n)?l.cloneElement(n,{...n.props,style:{...n.props.style||{},...d},className:"".concat(n.props.className||""," ").concat(o),key:r,priority:u,src:c}):n;return(0,i.jsx)(i.Fragment,{children:f})},ep=(0,E.tv)({slots:{wrapper:"relative shadow-black/5",zoomedWrapper:"relative overflow-hidden rounded-inherit",img:"relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",blurredImg:["absolute","z-0","inset-0","w-full","h-full","object-cover","filter","blur-lg","scale-105","saturate-150","opacity-30","translate-y-1"]}
6,variants:{radius:{none:{},sm:{},md:{},lg:{},full:{}},shadow:{none:{wrapper:"shadow-none",img:"shadow-none"},sm:{wrapper:"shadow-small",img:"shadow-small"},md:{wrapper:"shadow-medium",img:"shadow-medium"},lg:{wrapper:"shadow-large",img:"shadow-large"}},isZoomed:{true:{img:["object-cover","transform","hover:scale-125"]}},showSkeleton:{true:{wrapper:["group","relative","overflow-hidden","bg-content3 dark:bg-content2"],img:"opacity-0"}},disableAnimation:{true:{img:"transition-none"},false:{img:"transition-transform-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{radius:"lg",shadow:"none",isZoomed:!1,isBlurred:!1,showSkeleton:!1},compoundVariants:[{showSkeleton:!0,disableAnimation:!1,class:{wrapper:["before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2"]}}],compoundSlots:[{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"none",class:"rounded-none"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"full",class:"rounded-full"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"sm",class:"rounded-small"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"md",class:"rounded-md"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"lg",class:"rounded-large"}]}),em=(0,I.Gp)((e,t)=>{let{Component:n,domRef:r,slots:o,classNames:a,isBlurred:s,isZoomed:u,fallbackSrc:d,removeWrapper:c,disableSkeleton:f,getImgProps:p,getWrapperProps:m,getBlurredImgProps:g}=function(e){var t,n;let r=(0,C.w)(),[o,i]=(0,I.oe)(e,ep.variantKeys),{ref:a,as:s,src:u,className:d,classNames:c,loading:f,isBlurred:p,fallbackSrc:m,isLoading:g,disableSkeleton:h=!!m,removeWrapper:v=!1,onError:y,onLoad:b,srcSet:w,sizes:x,crossOrigin:E,...k}=o,T=K({src:u,loading:f,onError:y,onLoad:b,ignoreFallback:!1,srcSet:w,sizes:x,crossOrigin:E}),P=null!=(n=null!=(t=e.disableAnimation)?t:null==r?void 0:r.disableAnimation)&&n,S="loaded"===T&&!g,L="loading"===T||g,N=e.isZoomed,D=(0,j.gy)(a),{w:B,h:F}=(0,l.useMemo)(()=>({w:o.width?"number"==typeof o.width?`${o.width}px`:o.width:"fit-content",h:o.height?"number"==typeof o.height?`${o.height}px`:o.height:"auto"}),[null==o?void 0:o.width,null==o?void 0:o.height]),R=(!u||!S)&&!!m,O=L&&!h,z=(0,l.useMemo)(()=>ep({...i,disableAnimation:P,showSkeleton:O}),[(0,G.Xx)(i),P,O]),_=(0,A.W)(d,null==c?void 0:c.img),W=(0,l.useCallback)(()=>{let e=R?{backgroundImage:`url(${m})`}:{};return{className:z.wrapper({class:null==c?void 0:c.wrapper}),style:{...e,maxWidth:B}}},[z,R,m,null==c?void 0:c.wrapper]),H=(0,l.useCallback)(()=>({src:u,"aria-hidden":(0,M.PB)(!0),className:z.blurredImg({class:null==c?void 0:c.blurredImg})}),[z,u,null==c?void 0:c.blurredImg]);return{Component:s||"img",domRef:D,slots:z,classNames:c,isBlurred:p,disableSkeleton:h,fallbackSrc:m,removeWrapper:v,isZoomed:N,isLoading:L,getImgProps:(e={})=>{let t=(0,A.W)(_,null==e?void 0:e.className);return{src:u,ref:D,"data-loaded":(0,M.PB)(S),className:z.img({class:t}),loading:f,srcSet:w,sizes:x,crossOrigin:E,...k,style:{...(null==k?void 0:k.height)&&{height:F},...e.style,...k.style}}},getWrapperProps:W,getBlurredImgProps:H}}({...e,ref:t}),h=(0,i.jsx)(n,{ref:r,...p()});if(c)return h;let v=(0,i.jsx)("div",{className:o.zoomedWrapper({class:null==a?void 0:a.zoomedWrapper}),children:h});return s?(0,i.jsxs)("div",{...m(),children:[u?v:h,(0,l.cloneElement)(h,g())]}):u||!f||d?(0,i.jsxs)("div",{...m(),children:[" ",u?v:h]}):h});em.displayName="NextUI.Image";var eg=e=>{let{alt:t="icons",className:n="",src:r,width:o,height:a,style:s,priority:u,...d}=e,[c,p]=(0,l.useState)(!1);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(em,{src:r,alt:t,width:o,className:f()("object-cover transition-opacity duration-500 w-full h-full",{[c?"animate-fade-show":"opacity-0"]:!0,["aspect-[".concat(o,"/").concat(a,"]")]:!0,[n]:!0}),style:s,onLoad:()=>p(!0),...d})})}
6,eh=n(53974),ev=n(45145),ey=e=>{let{children:t,onExpose:n,className:r}=e,o=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=new IntersectionObserver(t=>{t[0].isIntersecting&&(n(),e.unobserve(o.current))},{rootMargin:"0px",threshold:.3});return o.current&&e.observe(o.current),()=>{e.disconnect()}},[]),(0,i.jsx)("div",{className:r,ref:o,children:t})};let eb={successList:{labelKey:"ads-4k-download",trackLabel:"resultSingleBottom"},listBulk:{labelKey:"ads-bulk-download",trackLabel:"resultListBottom"}};var ew=e=>{let{variant:t}=e,{t:n}=(0,a.Z)("Common"),r=eb[t],o=(0,eh.XF)(ev.nj[t]),l=n(r.labelKey);return(0,i.jsx)(ey,{className:"fixed bottom-0 left-0 right-0 z-20 box-border w-full rounded-tl-[10px] rounded-tr-[10px] bg-white px-5 pt-2 pb-[calc(8px+env(safe-area-inset-bottom))] shadow-[0px_-3px_5px_rgba(123,78,117,0.25)]",onExpose:()=>{(0,s.j)({action:"ads_impression",type:t,entry_source:r.trackLabel})},children:(0,i.jsxs)("a",{href:o,suppressHydrationWarning:!0,"aria-label":l,onClick:()=>{(0,s.j)({action:"downloading",NSPointGTM_INLINE:!0,url:o,type:t,entry_source:r.trackLabel})},className:"relative flex h-16 w-full items-center justify-center overflow-hidden rounded-lg bg-gradient-to-r from-[#AD6AFF] to-[#6A70FF] text-white no-underline active:scale-[0.97] active:opacity-90",children:[(0,i.jsxs)("span",{className:"flex items-center justify-center gap-2.5",children:[(0,i.jsx)("img",{src:"/assets/ads/ic-download-search.svg",alt:"",width:25,height:25,"aria-hidden":"true",className:"shrink-0"}),(0,i.jsx)("span",{className:"whitespace-nowrap text-center text-base font-bold capitalize leading-[25px]",children:l})]}),(0,i.jsx)("span",{className:"pointer-events-none absolute right-0 top-0 flex items-center justify-center rounded-bl-lg rounded-br-lg rounded-tr-lg bg-[#FFCD22] px-2.5 py-1 text-center text-sm font-normal leading-5 text-[#2F2F2F]",children:n("ads-bulk-download-icon-desc")})]})})},ex=n(91926);let eE="parseWaitingPopup",ek="parseWaiting",eT="parseWaiting",eC="/assets/ads/float.png",eP=!1,ej=()=>{if(eP)return;eP=!0,new window.Image().src=eC;let e=document.createElement("link");e.rel="preload",e.as="image",e.href=eC,document.head.appendChild(e)},eS=()=>"undefined"!=typeof performance?performance.now():Date.now(),eL=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",className:"block shrink-0",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5656 6.5657C18.8781 6.25328 18.8781 5.74675 18.5656 5.43433C18.2532 5.12191 17.7467 5.12191 17.4343 5.43433L12 10.8686L6.56564 5.43433C6.25322 5.12191 5.74669 5.12191 5.43427 5.43433C5.12185 5.74675 5.12185 6.25328 5.43427 6.5657L10.8686 12L5.43427 17.4343C5.12185 17.7467 5.12185 18.2533 5.43427 18.5657C5.74669 18.8781 6.25322 18.8781 6.56564 18.5657L12 13.1314L17.4343 18.5657C17.7467 18.8781 18.2532 18.8781 18.5656 18.5657C18.8781 18.2533 18.8781 17.7467 18.5656 17.4343L13.1313 12L18.5656 6.5657Z",fill:"white"})});var eA=e=>{let{open:t,sessionId:n,onClose:r}=e,{t:o}=(0,a.Z)("Common"),u=(0,l.useRef)(""),d=(0,l.useRef)(0),c=(0,l.useRef)(!1);(0,l.useEffect)(()=>{ej()},[]),(0,l.useEffect)(()=>{if(!t||"undefined"==typeof document)return;let{overflow:e}=document.body.style,{overflow:n}=document.documentElement.style;return document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden",()=>{document.body.style.overflow=e,document.documentElement.style.overflow=n}},[t]),(0,l.useEffect)(()=>{if(!t||!n)return;let e="".concat(n,":").concat(eT);u.current!==e&&(u.current=e,d.current=eS(),c.current=!1,(0,s.j)({action:"ads_impression",session_id:n,type:"ParseWaitingModal",entry_source:eT}))},[t,n]),(0,l.useEffect)(()=>{!t&&n&&u.current&&!c.current&&(c.current=!0,(0,s.j)({action:"popup_close",session_id:n,popup_id:eE,popup_type:ek,close_source:"parseComplete",stay_duration:Math.max(0,Math.round(eS()-d.current))}))},[t,n]);let f=()=>{!c.current&&n&&(c.current=!0,(0,s.j)({action:"popup_close",session_id:n,popup_id:eE,popup_type:ek,close_source:"closeButton",stay_duration:Math.max(0,Math.round(eS()-d.current))})),r()};if(!t||"undefined"==typeof document)return null;let p=o("recommend-auto-open"),m=o("recommend-auto-tagline");return(0,ex.createPortal)((0,i.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center overflow-hidden overscroll-none bg-black/50 px-4",role:"presentation",onKeyDown:e=>{"Escape"===e.key&&f()},children:(0,i.jsxs)("div",{className:"flex flex-col items-center gap-2",role:"dialog","aria-modal":"true","aria-label":p,children:[(0,i.jsxs)("div",{className:"w-[335px] max-w-full overflow-hidden rounded-[10px]",children:[(0,i.jsx)("div",{className:"h-[136px] overflow-hidden rounded-t-[10px]",children:(0,i.jsx)("img",{src:eC,alt:"",width:335,height:136,className:"block h-full w-full object-cover","aria-hidden":!0})}),(0,i.jsxs)("div",{className:"flex flex-col gap-2 bg-white px-5 py-10 text-center",children:[(0,i.jsx)("p",{className:"text-sm font-bold leading-5 text-[#171717]",children:p}),(0,i.jsx)("p",{className:"text-sm font-normal leading-5 text-[#333]",children:m})]})]}),(0,i.jsx)("button",{type:"button",className:"flex cursor-pointer items-center justify-center rounded-full p-2.5 outline-none transition-opacity hover:opacity-80 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-black/50","aria-label":"Close",onClick:f,children:(0,i.jsx)(eL,{})})]})}),document.body)},eM=n(34596),eN=n(26313),eD=()=>{let e=(0,eN.w)(),[t,n]=(0,l.useState)(!1),[r,o]=(0,l.useState)(0),a=()=>{window.scrollY>100?n(!0):n(!1)};(0,l.useEffect)(()=>(window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}),[]),(0,l.useEffect)(()=>{e&&ej()},[e]),(0,l.useEffect)(()=>(0,eM.vx)(o),[]);let s=r>1?"listBulk":1===r?"successList":null;return(0,i.jsxs)(i.Fragment,{children:[e&&(s?(0,i.jsx)(ew,{variant:s}):(0,i.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-20 bg-white p-2.5",style:{boxShadow:"0px -2px 5px rgba(180, 180, 180, 0.25)"},children:(0,i.jsx)(tz,{type:"DiversionModule"})})),t&&(0,i.jsx)("div",{className:f()("bg-white fixed right-4 z-20 cursor-pointer",e?s?"bottom-[calc(80px+env(safe-area-inset-bottom)+12px)]":"bottom-[82px]":"bottom-4"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:(0,i.jsx)(eK,{})})]})};let eK=()=>(0,i.jsxs)("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-theme-scrolltop-btn-color absolute bottom-0 right-0",children:[(0,i.jsxs)("g",{filter:"url
6(#filter0_d_1183_25132)",children:[(0,i.jsx)("circle",{cx:"28",cy:"26",r:"23",fill:"white",className:"stroke-theme-scrolltop-btn-color",strokeWidth:"2"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2929 30.7071C19.6834 31.0976 20.3166 31.0976 20.7071 30.7071L28 23.4142L35.2929 30.7071C35.6834 31.0976 36.3166 31.0976 36.7071 30.7071C37.0976 30.3166 37.0976 29.6834 36.7071 29.2929L28.7071 21.2929C28.3166 20.9024 27.6834 20.9024 27.2929 21.2929L19.2929 29.2929C18.9024 29.6834 18.9024 30.3166 19.2929 30.7071Z",className:"fill-theme-scrolltop-btn-color"})]}),(0,i.jsx)("defs",{children:(0,i.jsxs)("filter",{id:"filter0_d_1183_25132",x:"0",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dx:"2",dy:"4"}),(0,i.jsx)("feGaussianBlur",{stdDeviation:"3"}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.669414 0 0 0 0 0.705037 0 0 0 0 0.734722 0 0 0 0.25 0"}),(0,i.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1183_25132"}),(0,i.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1183_25132",result:"shape"})]})})]}),eB=()=>(0,i.jsxs)("svg",{"aria-label":"logo",width:"138",height:"46",viewBox:"0 0 138 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"16",y:"8",width:"30",height:"30",rx:"15",fill:"white"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.1548 16.5845C27.9292 16.4064 34.1172 16.4057 36.8955 16.5845C39.9028 16.7787 40.2535 18.4973 40.2759 22.9939C40.2535 27.4985 39.8997 29.2099 36.8955 29.4032C34.1172 29.5821 27.93 29.5814 25.1548 29.4032C22.1475 29.2091 21.7968 27.4905 21.7744 22.9939C21.7968 18.4893 22.1506 16.7779 25.1548 16.5845ZM29.698 19.141C29.698 18.937 29.8633 18.7717 30.0672 18.7717H32.0937C32.2976 18.7717 32.4629 18.937 32.4629 19.141V23.9557H33.7193C34.0208 23.9557 34.1718 24.3203 33.9586 24.5335L31.3196 27.1725C31.1874 27.3046 30.9731 27.3046 30.841 27.1725L28.202 24.5335C27.9888 24.3203 28.1398 23.9557 28.4413 23.9557H29.698V19.141Z",fill:"#6A70FF"}),(0,i.jsx)("path",{d:"M121.823 25.6839C121.823 25.7212 121.823 25.7709 121.823 25.833C121.823 25.8952 121.816 25.9697 121.804 26.0567C121.804 26.1437 121.804 26.212 121.804 26.2617C121.804 26.3114 121.804 26.3487 121.804 26.3736H113.752C114.05 27.7155 114.945 28.3865 116.436 28.3865C117.306 28.3865 118.132 27.8584 118.915 26.8022L121.618 28.3865C121.071 29.3433 120.319 30.0888 119.362 30.6231C118.903 30.8592 118.412 31.0394 117.89 31.1636C117.38 31.3003 116.84 31.3686 116.268 31.3686C114.442 31.3686 112.994 30.8343 111.926 29.7657C110.857 28.6971 110.323 27.2371 110.323 25.3857C110.323 23.6586 110.876 22.2358 111.982 21.1175C113.075 19.9868 114.473 19.4214 116.175 19.4214C117.989 19.4214 119.4 20.0179 120.406 21.2107C121.35 22.3415 121.823 23.8325 121.823 25.6839ZM113.883 23.9506H118.225C117.84 22.8695 117.144 22.329 116.138 22.329C115.082 22.329 114.33 22.8695 113.883 23.9506Z",fill:"white"}),(0,i.jsx)("path",{d:"M109.123 25.3857C109.123 26.9886 108.663 28.3741 107.744 29.5421C106.749 30.7598 105.457 31.3686 103.867 31.3686C102.401 31.3686 101.17 30.8778 100.176 29.8962V31.089H96.7842V16.8121H100.232V20.7261C100.456 20.5273 100.704 20.3534 100.978 20.2043C101.264 20.0551 101.568 19.9185 101.891 19.7942C102.214 19.6575 102.531 19.5643 102.842 19.5146C103.152 19.4525 103.457 19.4214 103.755 19.4214C105.37 19.4214 106.681 20.0241 107.688 21.2294C108.644 22.3725 109.123 23.758 109.123 25.3857ZM105.675 25.3112C105.675 24.5656 105.414 23.9319 104.892 23.41C104.37 22.8882 103.73 22.6272 102.972 22.6272C102.164 22.6272 101.487 22.882 100.941 23.3914C100.406 23.8884 100.139 24.5532 100.139 25.3857C100.139 26.2804 100.412 26.9886 100.959 27.5105C101.506 28.0324 102.227 28.2933 103.121 28.2933C103.941 28.2933 104.581 27.9951 105.041 27.3987C105.463 26.8644 105.675 26.1685 105.675 25.3112Z",fill:"white"}),(0,i.jsx)("path",{d:"M94.4599 19.6451V26.4295C94.4599 28.0448 93.9629 29.28
612 92.9688 30.1385C92.0245 30.9586 90.7322 31.3687 89.092 31.3687C87.4519 31.3687 86.1596 30.9338 85.2153 30.064C84.2088 29.1445 83.7056 27.8895 83.7056 26.299V19.6451H87.1723V26.2058C87.1723 26.8147 87.3463 27.2993 87.6942 27.6596C88.0421 28.0075 88.5205 28.1815 89.1293 28.1815C89.7258 28.1815 90.1979 28.02 90.5458 27.6969C90.8938 27.3614 91.0677 26.8955 91.0677 26.299V19.6451H94.4599Z",fill:"white"}),(0,i.jsx)("path",{d:"M82.4919 19.6451V22.8136H80.6467V31.089H77.1614V22.795H76.0244V19.6451H77.1614V16.8121H80.6467V19.6451H82.4919Z",fill:"white"}),(0,i.jsx)("path",{d:"M75.2215 16.7003C75.2215 17.2967 75.0102 17.7999 74.5878 18.21C74.1777 18.62 73.6745 18.825 73.0781 18.825C72.5313 18.825 72.0467 18.6262 71.6243 18.2286C71.2266 17.8061 71.0278 17.3091 71.0278 16.7375C71.0278 16.1535 71.2329 15.6565 71.6429 15.2465C72.0529 14.8364 72.5437 14.6314 73.1153 14.6314C73.6869 14.6314 74.1839 14.8302 74.6064 15.2278C75.0164 15.6379 75.2215 16.1287 75.2215 16.7003ZM74.8301 19.6451V31.0891H71.3633V19.6451H74.8301Z",fill:"white"}),(0,i.jsx)("path",{d:"M75.2215 16.7003C75.2215 17.2967 75.0102 17.7999 74.5878 18.21C74.1777 18.62 73.6745 18.825 73.0781 18.825C72.5313 18.825 72.0467 18.6262 71.6243 18.2286C71.2266 17.8061 71.0278 17.3091 71.0278 16.7375C71.0278 16.1535 71.2329 15.6565 71.6429 15.2465C72.0529 14.8364 72.5437 14.6314 73.1153 14.6314C73.6869 14.6314 74.1839 14.8302 74.6064 15.2278C75.0164 15.6379 75.2215 16.1287 75.2215 16.7003Z",fill:"white"}),(0,i.jsx)("path",{d:"M68.6741 16.8121V31.089H64.9464V25.2925H59.7277V31.089H56V16.8121H59.7277V22.1799H64.9464V16.8121H68.6741Z",fill:"white"})]}),eI=()=>(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C3 5.44772 3.44772 5 4 5H20C20.5523 5 21 5.44772 21 6C21 6.55228 20.5523 7 20 7H4C3.44772 7 3 6.55228 3 6ZM3 12C3 11.4477 3.44772 11 4 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H4C3.44772 13 3 12.5523 3 12ZM4 17C3.44772 17 3 17.4477 3 18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18C21 17.4477 20.5523 17 20 17H4Z",fill:"white"})}),eF=()=>(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7071 7.70711C18.0976 7.31658 18.0976 6.68342 17.7071 6.29289C17.3166 5.90237 16.6834 5.90237 16.2929 6.29289L12 10.5858L7.70711 6.29289C7.31658 5.90237 6.68342 5.90237 6.29289 6.29289C5.90237 6.68342 5.90237 7.31658 6.29289 7.70711L10.5858 12L6.29289 16.2929C5.90237 16.6834 5.90237 17.3166 6.29289 17.7071C6.68342 18.0976 7.31658 18.0976 7.70711 17.7071L12 13.4142L16.2929 17.7071C16.6834 18.0976 17.3166 18.0976 17.7071 17.7071C18.0976 17.3166 18.0976 16.6834 17.7071 16.2929L13.4142 12L17.7071 7.70711Z",fill:"white"})}),eR=e=>{let{className:t="w-4 h-4",fill:n="white"}=e;return(0,i.jsx)("svg",{"aria-label":"switch language button",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.908 18.5868C13.5228 19.0105 13.1384 19.342 12.8 19.5943V12.8H16.1762C16.005 15.6272 14.939 17.4527 13.908 18.5868ZM20.3624 12.8C20.0526 16.0791 17.8578 18.8095 14.8731 19.8958C14.9459 19.8209 15.0189 19.7434 15.0918 19.6632C16.3654 18.2623 17.6033 16.0665 17.7788 12.8H20.3624ZM20.3624 11.2H17.7788C17.6033 7.93353 16.3654 5.73771 15.0918 4.33685C15.0189 4.25662 14.9459 4.17909 14.8732 4.10422C17.8578 5.19053 20.0526 7.92088 20.3624 11.2ZM12.8 11.2H16.1762C16.005 8.37283 14.939 6.54727 13.908 5.41315C13.5228 4.98946 13.1384 4.65804 12.8 4.40571V11.2ZM11.2 19.5943V12.8H7.82381C7.99502 15.6272 9.06099 17.4527 10.092 18.5868C10.4772 19.0105 10.8616 19.342 11.2 19.5943ZM9.12685 19.8958C6.14225 18.8095 3.9474 16.0791 3.6376 12.8H6.2212C6.39672 16.0665 7.63461 18.2623 8.90817 19.6632C8.98111 19.7434 9.05407 19.8209 9.12685 19.8958ZM7.82381 11.2H11.2V4.40571C10.8616 4.65804 10.4772 4.98946 10.092 5.41315C9.06099 6.54727 7.99502 8.37283 7.82381 11.2ZM9.12684 4.10422C9.05407 4.17909 8.98111 4.25662 8.90817 4.33685C7.63461 5.73771 6.39672 7.93353 6.2212 11.2H3.6376C3.9474 7.92088 6.14224 5.19053 9.12684 4.10422ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:n})})},eO=()=>(0,i.jsxs)("svg",{width:"312",height:"312",viewBox:"0 0 312 312",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{width:"312",height:"312",rx:"16",className:"fill-c_audio_outside_color"}),(0,i.jsx)("circle",{cx:"156",cy:"156",r:"115",fill:"white",fillOpacity:"0.3"}),(0,i.jsx)("circle",{cx:"156.5",cy:"155.5",r:"90.5",fill:"#F6F9FF",fillOpacity:"0.8"}),(0,i.jsxs)("mask",{id:"mask0_1190_25301",maskUnits:"userSpaceOnUse",x:"88",y:"88",width:"136",height:"136",children:[(0,i.jsx)("path",{d:"M156 217.664C190.058 217.664 217.666 190.056 217.666 155.998C217.666 121.939 190.058 94.3311 156 94.3311C121.941 94.3311 94.333 121.939 94.333 155.998C94.333 190.056 121.941 217.664 156 217.664Z",fill:"white",stroke:"white",strokeWidth:"12.3333"}),(0,i.jsx)("path",{d:"M174.5 137.499V174.499M193 149.832V162.165M137.5 137.499V174.499M119 149.832V162.165M156 125.165V186.832",stroke:"black",strokeWidth:"12.3333",strokeLinecap:"round"})]}),(0,i.jsx)("g",{mask:"url(#mask0_1190_25301)",children:(0,i.jsx)("path",{d:"M82 81.999H230V229.999H82V81.999Z",className:"fill-c_audio_inside_color"})})]}),ez=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-303441 hover:text-theme-color",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4345 6.56567C12.1221 6.25325 12.1221 5.74672 12.4345 5.4343C12.74
669 5.12188 13.2535 5.12188 13.5659 5.4343L19.5659 11.4343C19.8783 11.7467 19.8783 12.2532 19.5659 12.5657L13.5659 18.5657C13.2535 18.8781 12.7469 18.8781 12.4345 18.5657C12.1221 18.2532 12.1221 17.7467 12.4345 17.4343L17.0688 12.8H5.0002C4.55837 12.8 4.2002 12.4418 4.2002 12C4.2002 11.5582 4.55837 11.2 5.0002 11.2H17.0688L12.4345 6.56567Z",fill:"currentColor"})}),e_=e=>{let{className:t="w-4 h-4",fill:n="#6A70FF"}=e;return(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"".concat(t),children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7071 7.29289C20.3166 6.90237 19.6834 6.90237 19.2929 7.29289L12 14.5858L4.70711 7.29289C4.31658 6.90237 3.68342 6.90237 3.29289 7.29289C2.90237 7.68342 2.90237 8.31658 3.29289 8.70711L11.2929 16.7071C11.6834 17.0976 12.3166 17.0976 12.7071 16.7071L20.7071 8.70711C21.0976 8.31658 21.0976 7.68342 20.7071 7.29289Z",fill:n})})},eW=e=>{let{className:t="w-4 h-4",fill:n="#6A70FF"}=e;return(0,i.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"".concat(t),children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.29289 17.2071C3.68342 17.5976 4.31658 17.5976 4.70711 17.2071L12 9.91421L19.2929 17.2071C19.6834 17.5976 20.3166 17.5976 20.7071 17.2071C21.0976 16.8166 21.0976 16.1834 20.7071 15.7929L12.7071 7.79289C12.3166 7.40237 11.6834 7.40237 11.2929 7.79289L3.29289 15.7929C2.90237 16.1834 2.90237 16.8166 3.29289 17.2071Z",fill:n})})};var eH=e=>{let{progress:t}=e;return(0,i.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(270deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.00) 100%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:"24px",width:"".concat(100,"%")},children:(0,i.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(270deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.00) 100%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:"24px",width:"".concat(t,"%")}})})},eV=n(32922),e$=e=>{let{progress:t,children:n,maxProgress:r=100}=e;return(0,i.jsxs)("div",{className:"w-full relative",children:[n,t>0&&t!==r&&(0,i.jsxs)("div",{className:"flex items-center absolute left-0 top-0 right-0 bottom-0",children:[(0,i.jsx)(eV.A,{isLoading:!0,variant:"light",spinner:(0,i.jsxs)("svg",{className:"animate-spin h-5 w-5 text-white",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("circle",{className:"opacity-5",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,i.jsx)("path",{className:"opacity-100",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor",stroke:"white"})]})}),(0,i.jsx)(eH,{progress:t})]})]})},eU=n(24553),eG=n(92309),eq=n(33443),eX=n(62766),eZ=n(6784),eY=n(20016);function eJ(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function eQ(e,t){let n=e;for(eJ(n,t)&&(n=n.parentElement);n&&!eJ(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}let e0="undefined"!=typeof document&&window.visualViewport,e1=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),e4=0;function e3(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function e2(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function e5(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=eQ(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,r=e.getBoundingClientRect().top;r>n+e.clientHeight&&(t.scrollTop+=r-n)}e=t.parentElement}}function e6(e){return e instanceof HTMLInputElement&&!e1.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var e8=n(12790),e7=n(38106),e9=(0,E.tv)({slots:{wrapper:["flex","w-screen","h-[100dvh]","fixed","inset-0","z-50","overflow-x-auto","justify-center","h-[--visual-viewport-height]"],base:["flex","flex-col","relative","bg-white","z-50","w-full","box-border","bg-content1","outline-none","mx-1","my-1","sm:mx-6","sm:my-16"],backdrop:"z-50",header:"flex py-4 px-6 flex-initial text-large font-semibold",body:"flex flex-1 flex-col gap-3 px-6 py-2",footer:"flex flex-row gap-2 px-6 py-4 justify-end",closeButton:["absolute","appearance-none","outline-none","select-none","top-1","right-1","rtl:left-1","rtl:right-[unset]","p-2","text-foreground-500","rounded-full","hover:bg-default-100","active:bg-default-200","tap-highlight-transparent",...k.Dh]},variants:{size:{xs:{base:"max-w-xs"},sm:{base:"max-w-sm"},md:{base:"max-w-md"},lg:{base:"max-w-lg"},xl:{base:"max-w-xl"},"2xl":{base:"max-w-2xl"},"3xl":{base:"max-w-3xl"},"4xl":{base:"max-w-4xl"},"5xl":{base:"max-w-5xl"},full:{base:"my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},placement:{auto:{wrapper:"items-end sm:items-center"},center:{wrapper:"items-center sm:items-center"},top:{wrapper:"items-start sm:items-start"},"top-center":{wrapper:"items-start sm:items-center"},bottom:{wrapper:"items-end sm:items-end"},"bottom-center":{wrapper:"items-end sm:items-center"}},shadow:{sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},backdrop:{transparent:{backdrop:"hidden"},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-md backdrop-saturate-150 bg-overlay/30"}},scrollBehavior:{normal:{base:"overflow-y-hidden"},inside:{base:"max-h-[calc(100%_-_8rem)]",body:"overflow-y-auto"},outside:{wrapper:"items-start sm:items-start overflow-y-auto",base:"my-16"}},disableAnimation:{false:{wrapper:["[--scale-enter:100%]","[--scale-exit:100%]","[--slide-enter:0px]","[--slide-exit:80px]","sm:[--scale-enter:100%]","sm:[--scale-exit:103%]","sm:[--slide-enter:0px]","sm:[--slide-exit:0px]"]}}},defaultVariants:{size:"md",radius:"lg",shadow:"sm",placement:"auto",backdrop:"opaque",scrollBehavior:"normal"},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"w-screen h-screen fixed inset-0"}}]}),te=n(54298),tt=n(94301),tn=n(52486),[tr,to]=(0,y.k)({name:"ModalContext",errorMessage:"useModalContext: `
6context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"}),ti=n(46814),ta=(0,I.Gp)((e,t)=>{let{children:n,...o}=e,a=function(e){var t,n,o;let i=(0,C.w)(),[a,s]=(0,I.oe)(e,e9.variantKeys),{ref:u,as:d,className:c,classNames:f,isOpen:p,defaultOpen:m,onOpenChange:g,motionProps:h,closeButton:v,isDismissable:y=!0,hideCloseButton:b=!1,shouldBlockScroll:w=!0,portalContainer:x,isKeyboardDismissDisabled:E=!1,onClose:k,...T}=a,S=(0,j.gy)(u),L=(0,l.useRef)(null),[D,K]=(0,l.useState)(!1),[B,F]=(0,l.useState)(!1),R=null!=(n=null!=(t=e.disableAnimation)?t:null==i?void 0:i.disableAnimation)&&n,O=(0,l.useId)(),z=(0,l.useId)(),_=(0,l.useId)(),W=function(e){let[t,n]=(0,tt.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),r=(0,l.useCallback)(()=>{n(!0)},[n]),o=(0,l.useCallback)(()=>{n(!1)},[n]),i=(0,l.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:i}}({isOpen:p,defaultOpen:m,onOpenChange:e=>{null==g||g(e),e||null==k||k()}}),{modalProps:H,underlayProps:V}=function(e={shouldBlockScroll:!0},t,n){let{overlayProps:o,underlayProps:i}=(0,eq.I)({...e,isOpen:t.isOpen,onClose:t.close},n);return!function(e={}){let{isDisabled:t}=e;(0,eX.b)(()=>{if(!t){let e,t,n,o,i;return 1==++e4&&(r=(0,eZ.gn)()?(n=null,o=()=>{if(n)return;let e=window.pageXOffset,t=window.pageYOffset;n=(0,eY.t)(e2(window,"scroll",()=>{window.scrollTo(0,0)}),e3(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),e3(document.documentElement,"overflow","hidden"),e3(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},i=(0,eY.t)(e2(document,"touchstart",n=>{((e=eQ(n.target,!0))!==document.documentElement||e!==document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(t=e3(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),e2(document,"touchmove",t=>{if(!e||e===document.documentElement||e===document.body){t.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()},{passive:!1,capture:!0}),e2(document,"touchend",e=>{let n=e.target;e6(n)&&n!==document.activeElement&&(e.preventDefault(),o(),n.style.transform="translateY(-2000px)",n.focus(),requestAnimationFrame(()=>{n.style.transform=""})),t&&t()},{passive:!1,capture:!0}),e2(document,"focus",e=>{let t=e.target;e6(t)&&(o(),t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",e0&&(e0.height<window.innerHeight?requestAnimationFrame(()=>{e5(t)}):e0.addEventListener("resize",()=>e5(t),{once:!0}))}))},!0)),()=>{null==t||t(),null==n||n(),i()}):(0,eY.t)(e3(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),e3(document.documentElement,"overflow","hidden"))),()=>{0==--e4&&r()}}},[t])}({isDisabled:!t.isOpen||!e.shouldBlockScroll}),(0,e8.Bq)(),(0,l.useEffect)(()=>{if(t.isOpen&&n.current)return(0,e7.R)([n.current])},[t.isOpen,n]),{modalProps:(0,P.d)(o),underlayProps:i}}({isDismissable:y,shouldBlockScroll:w,isKeyboardDismissDisabled:E},W,S),{buttonProps:$}=(0,te.j)({onPress:W.close},L),{isFocusVisible:U,focusProps:q}=(0,N.F)(),X=(0,A.W)(null==f?void 0:f.base,c),Z=(0,l.useMemo)(()=>e9({...s,disableAnimation:R}),[(0,G.Xx)(s),R]),Y=(0,l.useCallback)((e={})=>({className:Z.backdrop({class:null==f?void 0:f.backdrop}),onClick:()=>W.close(),...V,...e}),[Z,f,V]);return{Component:d||"section",slots:Z,domRef:S,headerId:z,bodyId:_,motionProps:h,classNames:f,isDismissable:y,closeButton:v,hideCloseButton:b,portalContainer:x,shouldBlockScroll:w,backdrop:null!=(o=e.backdrop)?o:"opaque",isOpen:W.isOpen,onClose:W.close,disableAnimation:R,setBodyMounted:F,setHeaderMounted:K,getDialogProps:(e={},t=null)=>({ref:(0,tn.l)(t,S),...(0,P.d)(H,T,e),className:Z.base({class:(0,A.W)(X,e.className)}),id:O,"data-open":(0,M.PB)(W.isOpen),"data-dismissable":(0,M.PB)(y),"aria-modal":(0,M.PB)(!0),"aria-labelledby":D?z:void 0,"aria-describedby":B?_:void 0}),getBackdropProps:Y,getCloseButtonProps:()=>({role:"button",tabIndex:0,"aria-label":"Close","data-focus-visible":(0,M.PB)(U),className:Z.closeButton({class:null==f?void 0:f.closeButton}),...(0,P.d)($,q)})}}({...o,ref:t}),s=(0,i.jsx)(e8.aV,{portalContainer:a.portalContainer,children:n});return(0,i.jsx)(tr,{value:a,children:a.disableAnimation&&a.isOpen?s:(0,i.jsx)(ti.M,{children:a.isOpen?s:null})})});ta.displayName="NextUI.Modal";var ts=n(27202),tl={enter:{scale:"var(--scale-enter)",y:"var(--slide-enter)",opacity:1,transition:{scale:{duration:.4,ease:ts.Lj.ease},opacity:{duration:.4,ease:ts.Lj.ease},y:{type:"spring",bounce:0,duration:.6}}},exit:{scale:"var(--scale-exit)",y:"var(--slide-exit)",opacity:0,transition:{duration:.3,ease:ts.Lj.ease}}},tu=n(55982),td=e=>{let{isSelected:t,isIndeterminate:n,disableAnimation:r,...o}=e;
6return(0,i.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...o,children:(0,i.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})},tc=n(52033),tf=n(42109),tp=n(50518),tm=n(47985),tg=n(31704);let th="undefined"!=typeof document&&window.visualViewport;function tv(){return{width:th&&(null==th?void 0:th.width)||window.innerWidth,height:th&&(null==th?void 0:th.height)||window.innerHeight}}var ty=(0,I.Gp)((e,t)=>{let{as:n,children:r,role:o="dialog",...a}=e,{Component:s,domRef:u,slots:d,classNames:c,motionProps:f,backdrop:p,closeButton:m,hideCloseButton:g,disableAnimation:h,getDialogProps:v,getBackdropProps:y,getCloseButtonProps:b,onClose:w}=to(),x=function(){let e=(0,tg.Av)(),[t,n]=(0,l.useState)(()=>e?{width:0,height:0}:tv());return(0,l.useEffect)(()=>{let e=()=>{n(e=>{let t=tv();return t.width===e.width&&t.height===e.height?e:t})};return th?th.addEventListener("resize",e):window.addEventListener("resize",e),()=>{th?th.removeEventListener("resize",e):window.removeEventListener("resize",e)}},[]),t}(),{dialogProps:E}=(0,tm.R)({role:o},u),k=(0,l.isValidElement)(m)?(0,l.cloneElement)(m,b()):(0,i.jsx)("button",{...b(),children:(0,i.jsx)(td,{})}),T=(0,l.useCallback)(e=>{"Tab"===e.key&&e.nativeEvent.isComposing&&(e.stopPropagation(),e.preventDefault())},[]),C=v((0,P.d)(E,a)),j=(0,i.jsxs)(n||s||"div",{...C,onKeyDown:(0,eU.t)(C.onKeyDown,T),children:[(0,i.jsx)(tu.U,{onDismiss:w}),!g&&k,"function"==typeof r?r(w):r,(0,i.jsx)(tu.U,{onDismiss:w})]}),S=(0,l.useMemo)(()=>"transparent"===p?null:h?(0,i.jsx)("div",{...y()}):(0,i.jsx)(tc.X,{features:tf.H,children:(0,i.jsx)(tp.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:ts.y7.fade,...y()})}),[p,h,y]),L={"--visual-viewport-height":x.height+"px"},A=h?(0,i.jsx)("div",{className:d.wrapper({class:null==c?void 0:c.wrapper}),"data-slot":"wrapper",style:L,children:j}):(0,i.jsx)(tc.X,{features:tf.H,children:(0,i.jsx)(tp.m.div,{animate:"enter",className:d.wrapper({class:null==c?void 0:c.wrapper}),"data-slot":"wrapper",exit:"exit",initial:"exit",variants:tl,...f,style:L,children:j})});return(0,i.jsxs)("div",{tabIndex:-1,children:[S,A]})});ty.displayName="NextUI.ModalContent";var tb=(0,I.Gp)((e,t)=>{let{as:n,children:r,className:o,...a}=e,{slots:s,classNames:u,bodyId:d,setBodyMounted:c}=to(),f=(0,j.gy)(t);return(0,l.useEffect)(()=>(c(!0),()=>c(!1)),[c]),(0,i.jsx)(n||"div",{ref:f,className:s.body({class:(0,A.W)(null==u?void 0:u.body,o)}),id:d,...a,children:r})});tb.displayName="NextUI.ModalBody";var tw=(0,I.Gp)((e,t)=>{let{as:n,children:r,className:o,...a}=e,{slots:s,classNames:l}=to(),u=(0,j.gy)(t);return(0,i.jsx)(n||"footer",{ref:u,className:s.footer({class:(0,A.W)(null==l?void 0:l.footer,o)}),...a,children:r})});tw.displayName="NextUI.ModalFooter";let tx=e=>{let[t,n]=(0,l.useState)(e),r=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{r.current=!1,n(e)},[e]),{src:t,handleError:()=>{e&&!r.current&&(r.current=!0,n(""),requestAnimationFrame(()=>{n(e)}))}}};var tE=e=>{let{url:t,style:n,className:r=""}=e,{t:o}=(0,a.Z)(),{isOpen:s,onOpen:u,onClose:c}=function(e={}){let{id:t,defaultOpen:n,isOpen:r,onClose:o,onOpen:i,onChange:a=()=>{}}=e,s=(0,eG.W)(i),u=(0,eG.W)(o),[d,c]=function(e,t,n){let[r,o]=(0,l.useState)(e||t),i=(0,l.useRef)(void 0!==e),a=void 0!==e;(0,l.useEffect)(()=>{let e=i.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),i.current=a},[a]);let s=a?e:r,u=(0,l.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(s,e)&&n(e,...t),a||(s=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...o)=>{let i=e(a?s:n,...o);return(r(i,...t),a)?n:i})):(a||o(e),r(e,...t))},[a,s,n]);return[s,u]}(r,n||!1,a),f=(0,l.useId)(),p=t||f,m=void 0!==r,g=(0,l.useCallback)(()=>{m||c(!1),null==u||u()},[m,u]),h=(0,l.useCallback)(()=>{m||c(!0),null==s||s()},[m,s]),v=(0,l.useCallback)(()=>{(d?g:h)()},[d,h,g]);return{isOpen:!!d,onOpen:h,onClose:g,onOpenChange:v,isControlled:m,getButtonProps:(e={})=>({...e,"aria-expanded":d,"aria-controls":p,onClick:(0,eU.t)(e.onClick,v)}),getDisclosureProps:(e={})=>({...e,hidden:!d,id:p})}}(),f=tx(t),p=tx(t);return(0,i.jsxs)("div",{className:"relative w-312px h-312px m-auto my-4 max-sm:w-full",children:[(0,i.jsx)("img",{className:"w-full h-full object-cover rounded-2xl ".concat(r),width:312,height:312,alt:"Preview",src:f.src,style:n,loading:"lazy",decoding:"async",onError:f.handleError}),(0,i.jsxs)("div",{className:"flex items-center absolute bottom-4 right-4 rounded-3xl border border-solid border-white bg-black opacity-50 text-white text-pc_body_medium py-2 px-4 cursor-pointer",onClick:()=>u(),children:[(0,i.jsx)(d(),{className:"mr-2",layout:"fixed",width:16,height:16,alt:"Preview",src:"/assets/icons/ic_fullscreen.png"}),(0,i.jsx)("span",{children:o("download-view")})]}),(0,i.jsx)(ta,{size:"full",isOpen:s,onClose:c,children:(0,i.jsx)(ty,{children:e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tb,{className:"overflow-y-auto",children:(0,i.jsx)("img",{className:"w-full p-4 box-border object-cover",style:{aspectRatio:"1/1"},alt:"Preview",src:p.src,loading:"lazy",decoding:"async",onError:p.handleError})}),(0,i.jsx)(tw,{children:(0,i.jsx)(eV.A,{color:"danger",onPress:e,children:"Close"})})]})})})]})},tk=e=>{let{url:t}=e,{t:n}=(0,a.Z)(),r=(0,l.useRef)(null),[o,s]=(0,l.useState)(!1);(0,l.useEffect)(()=>{var e;return null==r||null===(e=r.current)||void 0===e||e.addEventListener("ended",u),()=>{var e;null==r||null===(e=r.current)||void 0===e||e.removeEventListener("ended",u)}},[]);let u=()=>{s(!1)};return(0,i.jsxs)("div",{className:"relative rounded-2xl m-auto",children:[(0,i.jsx)(eO,{}),(0,i.jsxs)("audio",{ref:r,controls:!1,children:[(0,i.jsx)("source",{src:t,type:"audio/mpeg"}),"Your browser does not support the audio tag."]}),(0,i.jsx)("div",{className:"action-viewer copy-prohibited",onClick:()=>{let e=r.current;e&&(e.paused||e.ended?e.play():e.pause(),s(!(e.paused||e.ended)))},children:(0,i.jsxs)("div",{className:"flex items-center absolute bottom-4 right-4 rounded-3xl border border-solid border-white bg-black opacity-50 text-white text-pc_body_medium py-2 px-4 cursor-pointer",children:[o?(0,i.jsx)(d(),{src:"/assets/icons/ic_pause_filled.png",alt:"Audio pause",width:16,height:16}):(0,i.jsx)(d(),{src:"/assets/icons/ic_play_filled.png",alt:"Audio play",width:16,height:16}),(0,i.jsx)("span",{className:"ml-2 block",children:n("download-play")})]})})]})},tT=e=>{let{url:t,poster:n,style:r,className:o=""}=e,a=(0,l.useRef)(null);return(0,i.jsx)("div",{className:"relative m-auto w-312px h-312px my-4 max-sm:w-full ".concat(o),style:r,children:(0,i.jsxs)("video",{className:"w-full h-full object-cover m-auto rounded-2xl overflow-hidden  max-sm:w-full max-sm:h-full",ref:a,controls:!0,poster:n,children:[(0,i.jsx)("source",{src:t,type:"video/mp4"}),"Your browser does not support the video tag."]})})},tC=e=>{let{title:t,desc:n,avatarUrl:r,className:o="",style:a,children:s,avatarSlot:l}=e;return(0,i.jsxs)("div",{className:"flex items-center justify-start ".concat(o),children:[l||(0,i.jsx)(F,{src:r,className:"w-[80px] h-[80px] mr-4 flex-shrink-0",style:a}),(0,i.jsxs)("div",{className:"flex flex-col flex-1 max-sm:w-full",children:[(0,i.jsxs)("div",{className:"flex flex-col",children:[(0,i.jsx)("p",{className:"text-pc_tittle font-bold text-303441",children:t||""}),(0,i.jsx)("p",{className:"text-pc_body text-777C8E font-normal mt-2 line-clamp-2",children:n||""})]}),s]})]})},tP=e=>{let{label:t,style:n,className:r="",type:o}=e,a=(0,eh.XF)(ev.nj[o]);return(0,i.jsxs)("a",{href:a,suppressHydrationWarning:!0,onClick:()=>{(0,s.j)({action:"downloading",NSPointGTM_INLINE:!0,url:a,type:o})},"aria-label":t,className:"bg-theme-diversion-btn-color text-button w-2/4 box-border py-4 max-sm:w-full inline-flex items-center justify-center rounded-full ".concat(r),style:n,children:[(0,i.jsx)(d(),{alt:"download",width:36,height:36,src:"/assets/recommend/ic_download.png",className:"mr-2"}),(0,i.jsx)("span",{className:"text-white text-button font-bold",children:t})]})},tj=n(85279),tS=n.n(tj),tL=e=>{let{title:t}=e;return(0,i.jsx)(tS(),{children:(0,i.jsx)("meta",{property:"og:image:alt",content:t})})},tA=n(89532),tM=n.n(tA);
6let tN={"x-twitter-photo-download-link":"x-twitter-photo-download","x-twitter-gif-download-link":"x-twitter-gif-download","pinterest-image-download-link":"pinterest-image-download"},tD=(e,t)=>{let n=tN[e.toLowerCase()];return n?"en"===t?"/".concat(n):"/".concat(t,"/").concat(n):"#"},tK=/<([a-zA-Z0-9-]+-link)>([\s\S]*?)<(?:\/\1|\1)>/gi,tB=(e,t,n)=>{t&&t.split("\n").forEach((t,r)=>{r>0&&e.push((0,i.jsx)("br",{},"".concat(n,"-br-").concat(r))),t&&e.push(t)})},tI=(e,t)=>{let n;let r=[],o=0,a=0,s=new RegExp(tK.source,tK.flags);for(;null!==(n=s.exec(e));){n.index>o&&tB(r,e.slice(o,n.index),"seg-".concat(o));let l=n[1],u=n[2],d=tD(l,t);r.push((0,i.jsx)(tM(),{href:d,className:"text-theme-color hover:underline",children:u},"link-".concat(a))),a+=1,o=s.lastIndex}return o<e.length&&tB(r,e.slice(o),"seg-".concat(o)),r};var tF=e=>{let{content:t,style:n,className:r=""}=e,{lang:o}=(0,a.Z)();return(0,i.jsx)("p",{className:"text-pc_body break-words text-777C8E max-sm:text-m_body max-sm:w-full ".concat(r),style:n,children:tI(t,o)})};let tR=()=>(0,i.jsx)("span",{className:"size-5 shrink-0 animate-spin rounded-full border-2 border-white/30 border-t-white","aria-hidden":"true"}),tO=()=>(0,i.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"shrink-0",children:[(0,i.jsx)("path",{d:"M7 9.33333L3.5 5.83333L4.44167 4.89167L6.41667 6.86667V1.75H7.58333V6.86667L9.55833 4.89167L10.5 5.83333L7 9.33333Z",fill:"#8C919E"}),(0,i.jsx)("path",{d:"M2.91667 11.6667H11.0833V12.8333H2.91667V11.6667Z",fill:"#8C919E"})]});var tz=e=>{let{type:t="DiversionModule"}=e,{t:n}=(0,a.Z)("Common"),r=(0,eh.XF)(ev.nj[t]),[o,u]=(0,l.useState)(!1),d=(0,l.useRef)(null);(0,l.useEffect)(()=>()=>{d.current&&clearTimeout(d.current)},[]);let c=n("common_ads_bottom_tagline");return(0,i.jsxs)("div",{className:"flex w-full min-w-0 items-center justify-between gap-2.5",children:[(0,i.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2.5",children:[(0,i.jsx)("div",{className:"size-12 shrink-0 overflow-hidden rounded-[9.375px]",children:(0,i.jsx)("img",{src:"/assets/ads/app-logo-bottom.svg",alt:n("common_ads_app_name"),width:48,height:48,className:"block size-full object-contain"})}),(0,i.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,i.jsx)("p",{className:"truncate capitalize text-base font-bold leading-6 text-[#2F2F2F]",children:n("common_ads_app_name")}),(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)("div",{className:"h-3 w-[63px] shrink-0",children:(0,i.jsx)("img",{src:"/assets/ads/stars-bottom.svg",alt:"5 star rating",className:"block size-full object-contain"})}),(0,i.jsxs)("div",{className:"flex shrink-0 items-center gap-0.5",children:[(0,i.jsx)("span",{className:"whitespace-nowrap text-xs leading-4 text-[#8C919E]",children:n("common_ads_app_social_proof")}),(0,i.jsx)(tO,{})]})]}),(0,i.jsx)("p",{className:"truncate capitalize text-xs leading-4 text-[#8C919E]",children:n("common_ads_bottom_button")})]})]}),(0,i.jsx)("a",{href:r,suppressHydrationWarning:!0,"aria-label":c,"aria-busy":o,onClick:e=>{if(o){e.preventDefault();return}u(!0),d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{u(!1),d.current=null},3e3),(0,s.j)({action:"downloading",NSPointGTM_INLINE:!0,url:r,type:t})},className:"flex h-12 w-[120px] shrink-0 items-center justify-center rounded-[64px] bg-gradient-to-r from-[#AD6AFF] to-[#6A70FF] px-5 text-base font-bold capitalize leading-6 text-white whitespace-nowrap transition-opacity ".concat(o?"pointer-events-none opacity-70":""),children:o?(0,i.jsx)(tR,{}):c})]})},t_=()=>{let{t:e,lang:t}=(0,a.Z)("Common"),[n,r]=(0,l.useState)("pc");(0,l.useEffect)(()=>{r((0,s.yM)())},[]);let o=(0,s.L3)({website:"hitube",position:"content",system:n,language:t});return(0,i.jsx)(ey,{className:"bot-diversion-wrap w-full bg-white",onExpose:()=>{(0,s.j)({action:"ads_impression",type:"telegram_bot",entry_source:"content",url:o})},children:(0,i.jsx)("div",{className:"mx-auto w-full max-w-content px-5 py-6",children:(0,i.jsxs)("a",{href:o,target:"_blank",rel:"noopener noreferrer",suppressHydrationWarning:!0,"aria-label":"".concat(e("tg_desc1")," ").concat(e("tg_desc2")),tabIndex:0,onClick:()=>{(0,s.j)({action:"click_ads",type:"telegram_bot",entry_source:"content",url:o})},className:"bot-diversion mx-auto flex w-full max-w-[620px] cursor-pointer items-center justify-between gap-2.5 rounded-xl border border-solid border-[#a1c5ff] bg-[#eaf2ff] px-5 py-2.5 no-underline max-sm:gap-1 max-sm:bg-[#dae9ff] max-sm:p-2.5",children:[(0,i.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-[11px] max-sm:gap-1",children:[(0,i.jsx)("img",{src:"/assets/bot/telegram.svg",alt:"",width:32,height:32,className:"size-8 shrink-0 max-sm:hidden","aria-hidden":"true"}),(0,i.jsx)("img",{src:"/assets/bot/telegram-mobile.svg",alt:"",width:24,height:24,className:"hidden size-6 shrink-0 max-sm:block","aria-hidden":"true"}),(0,i.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,i.jsxs)("p",{className:"m-0 text-base leading-5 max-sm:hidden",children:[(0,i.jsxs)("span",{className:"font-bold text-[#5349e8]",children:[e("tg_desc1")," "]}),(0,i.jsx)("span",{className:"underline text-[#4d90ff]",children:e("tg_desc2")})]}),(0,i.jsxs)("p",{className:"m-0 hidden text-xs leading-5 max-sm:block",children:[(0,i.jsx)("span",{className:"block font-bold text-[#5349e8]",children:e("tg_desc1")}),(0,i.jsx)("span",{className:"block underline text-[#4d90ff]",children:e("tg_desc2")})]})]})]}),(0,i.jsx)("img",{src:"/assets/bot/ic-right.svg",alt:"",width:24,height:24,className:"size-6 shrink-0 max-sm:hidden","aria-hidden":"true"}),(0,i.jsx)("img",{src:"/assets/bot/ic-arrow-right.svg",alt:"",width:24,height:24,className:"hidden size-6 shrink-0 max-sm:block","aria-hidden":"true"})]})})})}},53974:function(e,t,n){"use strict";n.d(t,{R:function(){return b},XF:function(){return w}});var r=n(97419),o=n(92343),i=n(15600);let a=()=>
6{if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID().replace(/-/g,"");let e="";for(let t=0;t<32;t+=1)e+=Math.floor(16*Math.random()).toString(16);return e},s=e=>!("string"!=typeof e||!e.trim()||e.includes("请先初始化SDK")),l=()=>{var e,t,n;return null===(n=window.sa)||void 0===n?void 0:null===(t=n.store)||void 0===t?void 0:null===(e=t.getDistinctId)||void 0===e?void 0:e.call(t)},u=async function(e){let{getAnonymousId:t=l,maxWaitMs:n=3500,pollMs:r=100,sleep:o=e=>new Promise(t=>setTimeout(t,e))}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Date.now()+n;for(;Date.now()<i;){let e=t();if(s(e))return e;await o(r)}let a=t();return s(a)?a:e},d=e=>{let t=e.split(":")[0].trim().toLowerCase();if(!t)return"";if(/^\d{1,3}(\.\d{1,3}){3}$/.test(t)||!t.includes("."))return t;let n=t.split(".").filter(Boolean);return n.length<=2?t:n.slice(-2).join(".")},c=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Date.now(),o=new URL("https://api.glcaapi.com/configServer/getApkInfo");return o.searchParams.set("latest_landing_page_host",d(t.landingPageHost)),o.searchParams.set("st_utm_source","Direct"),o.searchParams.set("landing_id",t.landingId),o.searchParams.set("landing_time",String(r)),o.searchParams.set("anonymous_id",n),o.searchParams.set("apk_info",t.apkInfo),o.searchParams.set("ext_field_2",e),o.toString()},f=e=>{if("string"!=typeof e||!e.trim())return null;try{let t=new URL(e);return"https:"===t.protocol?t.toString():null}catch(e){return null}},p=async(e,t)=>{let{context:n,fetcher:r=fetch,timeoutMs:o=5e3}=t,i=await n.anonymousId,a=Date.now(),s=new AbortController,l=setTimeout(()=>s.abort(),o);try{var u;let t=await r(c(e,n,i,a),{cache:"no-store",signal:s.signal});if(!t.ok)return null;let o=await t.json();if(0!==o.code)return null;return f(null===(u=o.data)||void 0===u?void 0:u.apkDownloadUrl)}catch(e){return null}finally{clearTimeout(l)}},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(e,t)=>p(e,{context:t}),t=new Map;return{load(n,r){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!o)return Promise.resolve(null);let i=t.get(n);if(i)return i;
6let a=Promise.resolve().then(()=>e(n,r)).catch(()=>null);return t.set(n,a),a}}},{TRACK_SETS:g,DynamicPackag:h}=n(71769).default,v=(e=>{var t;let n=null!==(t=new URL(e).pathname.split("/").pop())&&void 0!==t?t:"";return"".concat("https://d2zfax1dcjhc44.cloudfront.net/webapk/snaptube/release/").concat(n)})(h.baseApkUrl),y=(0,o.createContext)({}),b=e=>{let{children:t,value:s}=e,{locale:l}=(0,i.useRouter)(),[d,c]=(0,o.useState)({}),[f]=(0,o.useState)(()=>m()),p=(0,o.useRef)(null),v=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=document.querySelector("html"),t="ar"===l?"rtl":"ltr";return null==e||e.setAttribute("dir",t),l&&(null==e||e.setAttribute("lang",l)),g.switchFlagUV&&Promise.all([n.e(6958),n.e(1098)]).then(n.bind(n,71098)).then(e=>{e.default()}),()=>{}},[l]);let b=(0,o.useCallback)(()=>(p.current||(p.current=a()),p.current),[]),w=(0,o.useCallback)(()=>{if(!v.current){let e=b();v.current=u(e)}return v.current},[b]),x=(0,o.useCallback)(e=>{if(!e||!h.switchFlag)return;let t={landingPageHost:window.location.host,landingId:b(),apkInfo:h.baseApkUrl,anonymousId:w()};f.load(e,t,!0).then(t=>{t&&c(n=>n[e]===t?n:{...n,[e]:t})})},[w,b,f]),E=(0,o.useMemo)(()=>({...s,apkDownloadUrls:d,fetchApkUrl:x}),[s,d,x]);return(0,r.jsx)(y.Provider,{value:E,children:t})},w=e=>{let{apkDownloadUrls:t,fetchApkUrl:n}=(0,o.useContext)(y);return((0,o.useEffect)(()=>{null==n||n(e)},[e,n]),null==t?void 0:t[e])?t[e]:v}},26313:function(e,t,n){"use strict";n.d(t,{w:function(){return r.Z}}),n(92343);var r=n(42635)},42635:function(e,t,n){"use strict";var r=n(92343),o=n(38231);t.Z=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t((0,o.ny)())},[]),e}},50818:function(e,t,n){"use strict";let r=n(45337),o=n(88026).SheetsConfig.reduce((e,t)=>{var n;let{path:r,sheetName:o}=t,i=r||"/".concat(o);return e[i]=e[r]||[],"*"!==i||(null===(n=e[i])||void 0===n?void 0:n.length)||e[i].push("index"),e[i].push(o),e},{});["pinterest-video-download","pinterest-image-download","pinterest-gif-download","x-twitter-video-download","x-twitter-photo-download","x-twitter-gif-download","download-story-tiktok"].forEach(e=>{let t="/".concat(e);o[t]&&!o[t].includes("HomePage")&&o[t].push("HomePage")}),e.exports={i18n:{...r.i18n},pages:o,loadLocaleFrom:(e,t)=>n(71539)("./".concat(e,"/").concat(t,".json")).then(e=>e.default),defaultNS:"Common",logBuild:!1}},96679:function(e,t,n){"use strict";let r,o,i;n.d(t,{fR:function(){return yt},gO:function(){return i$},BY:function(){return dA},ZS:function(){return ya},RF:function(){return ys},Z0:function(){return f1},mO:function(){return yr},fH:function(){return iq},$_:function(){return L},Du:function(){return dg},zV:function(){return iV},r5:function(){return dK},Rv:function(){return dM},Ar:function(){return iG},aV:function(){return iJ},nv:function(){return iY},f3:function(){return yi},t4:function(){return dL},Qz:function(){return yo},Cj:function(){return dN},oK:function(){return iX},qK:function(){return dD},Rg:function(){return iQ},n4:function(){return iZ},JW:function(){return yn}});var a,s,l,u,d,c,f,p,m,g,h,v,y,b={};n.r(b),n.d(b,{hasBrowserEnv:function(){return lF},hasStandardBrowserEnv:function(){return lO},hasStandardBrowserWebWorkerEnv:function(){return lz},navigator:function(){return lR},origin:function(){return l_}});var w=n(97419),x=n(89532),E=n.n(x),k=n(92343),T=n(82882),C=n(57386),P=n.n(C),j=n(64685);let S=e=>{let{section:t}=e;return(0,w.jsx)(w.Fragment,{children:t.children.map(e=>(0,w.jsx)(E(),{href:e.link,children:(0,w.jsx)("p",{className:"text-pc_body font-normal py-2 text-B6BAC6 hover:text-theme-color max-sm:text-m_body break-words",children:e.label})},e.label))})};function L(){let{t:e}=(0,T.Z)("Header"),[t,n]=(0,k.useState)(0),r=(t,n)=>({label:e("footer-title-".concat(t)),children:n.map(n=>({label:e("footer-list-".concat(t,"-").concat(n)),link:e("footer-url-".concat(t,"-").concat(n))}))}),o=[r(1,[1,2,3,4,5,6,7,8,9,10,11]),r(2,[1,2,3,4,5]),r(3,[1,2,3,4,5]),r(4,[1,2,3]),r(5,[1,2,3]),r(6,[1,2,3])],i=[{sections:[r(1,[1,2,3,4,5,6,7,8,9,10,11])]},{sections:[r(2,[1,2,3,4,5]),r(4,[1,2,3])]},{sections:[r(3,[1,2,3,4,5]),r(5,[1,2,3])]},{sections:[r(6,[1,2,3])]}];return(0,w.jsxs)("div",{className:"py-12 max-w-wrapper w-full mx-auto px-4 sm:px-6 max-sm:py-6 max-sm:px-6",children:[(0,w.jsx)("div",{className:"hidden sm:grid grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-8 pt-[30px] pb-[60px]",children:i.map((e,t)=>(0,w.jsx)("div",{className:"flex flex-col min-w-0",children:e.sections.map((e,t)=>(0,w.jsxs)("div",{className:P()("flex flex-col min-w-0",{"mt-8":t>0}),children:[(0,w.jsx)("div",{className:"text-pc_body_medium font-semibold text-white py-3.5 w-full",children:e.label}),(0,w.jsx)(S,{section:e})]},e.label))},t))}),(0,w.jsx)("div",{className:"flex flex-col gap-0 pb-0 pt-[30px] sm:hidden",children:o.map((e,r)=>(0,w.jsxs)("div",{className:P()("flex flex-col min-w-0",{"border-b":r!==o.length-1}),children:[(0,w.jsxs)("div",{className:"text-m_body_medium font-semibold text-white py-3.5 flex flex-row justify-between w-full",onClick:()=>n(r),children:[e.label,(0,w.jsx)("div",{children:t===r?(0,w.jsx)(j.Ab.a0,{}):(0,w.jsx)(j.Ab.jo,{})})]}),(0,w.jsx)("div",{className:"grid ".concat(t===r?"grid-rows-[1fr]":"grid-rows-[0fr]"),style:{transition:"all 200ms"},children:(0,w.jsx)("div",{className:"overflow-hidden",children:(0,w.jsx)(S,{section:e})})})]},r))}),(0,w.jsxs)("div",{className:"py-[20px] text-left font-normal text-pc_body text-B6BAC6 border-t max-sm:text-m_body",children:[e("Common:Copyright")," \xa9 ",new Date().getFullYear()," Hitube"]})]})}
6var A=n(19387),[M,N]=(0,A.k)({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),D={enter:{height:"calc(100vh - var(--navbar-height))",transition:{duration:.3,easings:"easeOut"}},exit:{height:0,transition:{duration:.25,easings:"easeIn"}}},K=n(53615),B=n(46579),I=n(98787),F=n(98583),R=n(46814),O=n(52033),z=n(42109),_=n(50518),W=n(81195),H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function V(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var $="right-scroll-bar-position",U="width-before-scroll-bar";function G(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var q="undefined"!=typeof window?k.useLayoutEffect:k.useEffect,X=new WeakMap,Z=(void 0===d&&(d={}),(void 0===c&&(c=function(e){return e}),f=[],p=!1,m={read:function(){if(p)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return f.length?f[f.length-1]:null},useMedium:function(e){var t=c(e,p);return f.push(t),function(){f=f.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(p=!0;f.length;){var t=f;f=[],t.forEach(e)}f={push:function(t){return e(t)},filter:function(){return f}}},assignMedium:function(e){p=!0;var t=[];if(f.length){var n=f;f=[],n.forEach(e),t=f}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),f={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),f}}}}).options=H({async:!0,ssr:!1},d),m),Y=function(){},J=k.forwardRef(function(e,t){var n,r,o,i,a=k.useRef(null),s=k.useState({onScrollCapture:Y,onWheelCapture:Y,onTouchMoveCapture:Y}),l=s[0],u=s[1],d=e.forwardProps,c=e.children,f=e.className,p=e.removeScrollBar,m=e.enabled,g=e.shards,h=e.sideCar,v=e.noIsolation,y=e.inert,b=e.allowPinchZoom,w=e.as,x=e.gapMode,E=V(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(n=[a,t],r=function(e){return n.forEach(function(t){return G(t,e)})},(o=(0,k.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,q(function(){var e=X.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||G(e,null)}),r.forEach(function(e){t.has(e)||G(e,o)})}X.set(i,n)},[n]),i),C=H(H({},E),l);return k.createElement(k.Fragment,null,m&&k.createElement(h,{sideCar:Z,removeScrollBar:p,shards:g,noIsolation:v,inert:y,setCallbacks:u,allowPinchZoom:!!b,lockRef:a,gapMode:x}),d?k.cloneElement(k.Children.only(c),H(H({},C),{ref:T})):k.createElement(void 0===w?"div":w,H({},C,{className:f,ref:T}),c))});J.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},J.classNames={fullWidth:U,zeroRight:$};var Q=function(e){var t=e.sideCar,n=V(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return k.createElement(r,H({},n))};Q.isSideCarExport=!0;var ee=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=v||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},et=function(){var e=ee();return function(t,n){k.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},en=function(){var e=et();return function(t){return e(t.styles,t.dynamic),null}},er={left:0,top:0,right:0,gap:0},eo=function(e){return parseInt(e||"",10)||0},ei=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eo(n),eo(r),eo(o)]},ea=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return er;var t=ei(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},es=en(),el="data-scroll-locked",eu=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(el,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";
6")].filter(Boolean).join(""),"\n  }\n  \n  .").concat($," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(U," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat($," .").concat($," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(U," .").concat(U," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(el,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},ed=function(){var e=parseInt(document.body.getAttribute(el)||"0",10);return isFinite(e)?e:0},ec=function(){k.useEffect(function(){return document.body.setAttribute(el,(ed()+1).toString()),function(){var e=ed()-1;e<=0?document.body.removeAttribute(el):document.body.setAttribute(el,e.toString())}},[])},ef=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;ec();var i=k.useMemo(function(){return ea(o)},[o]);return k.createElement(es,{styles:eu(i,!t,o,n?"":"!important")})},ep=!1;if("undefined"!=typeof window)try{var em=Object.defineProperty({},"passive",{get:function(){return ep=!0,!0}});window.addEventListener("test",em,em),window.removeEventListener("test",em,em)}catch(e){ep=!1}var eg=!!ep&&{passive:!1},eh=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},ev=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ey(e,r)){var o=eb(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ey=function(e,t){return"v"===e?eh(t,"overflowY"):eh(t,"overflowX")},eb=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ew=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*r,l=n.target,u=t.contains(l),d=!1,c=s>0,f=0,p=0;do{var m=eb(e,l),g=m[0],h=m[1]-m[2]-a*g;(g||h)&&ey(e,l)&&(f+=h,p+=g),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return c&&(o&&1>Math.abs(f)||!o&&s>f)?d=!0:!c&&(o&&1>Math.abs(p)||!o&&-s>p)&&(d=!0),d},ex=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eE=function(e){return[e.deltaX,e.deltaY]},ek=function(e){return e&&"current"in e?e.current:e},eT=0,eC=[],eP=(g=function(e){var t=k.useRef([]),n=k.useRef([0,0]),r=k.useRef(),o=k.useState(eT++)[0],i=k.useState(en)[0],a=k.useRef(e);k.useEffect(function(){a.current=e},[e]),k.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ek),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=k.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=ex(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],d=e.target,c=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===c&&"range"===d.type)return!1;var f=ev(c,d);if(!f)return!0;if(f?o=c:(o="v"===c?"h":"v",f=ev(c,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var p=r.current||o;return ew(p,t,e,"h"===p?l:u,!0)},[]),l=k.useCallback(function(e){if(eC.length&&eC[eC.length-1]===i){var n="deltaY"in e?eE(e):ex(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(ek).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=k.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=k.useCallback(function(e){n.current=ex(e),r.current=void 0},[]),c=k.useCallback(function(t){u(t.type,eE(t),t.target,s(t,e.lockRef.current))},[]),f=k.useCallback(function(t){u(t.type,ex(t),t.target,s(t,e.lockRef.current))},[]);k.useEffect(function(){return eC.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:f}),document.addEventListener("wheel",l,eg),document.addEventListener("touchmove",l,eg),document.addEventListener("touchstart",d,eg),function(){eC=eC.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,eg),document.removeEventListener("touchmove",l,eg),document.removeEventListener("touchstart",d,eg)}},[]);var p=e.removeScrollBar,m=e.inert;return k.createElement(k.Fragment,null,m?k.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?k.createElement(ef,{gapMode:e.gapMode}):null)},Z.useMedium(g),Q),ej=k.forwardRef(function(e,t){return k.createElement(J,H({},e,{ref:t,sideCar:eP}))});ej.classNames=J.classNames;var eS=n(12790),eL=(0,K.Gp)((e,t)=>{var n,r;let{className:o,children:i,portalContainer:a,motionProps:s,style:l,...u}=e,d=(0,B.gy)(t),{slots:c,isMenuOpen:f,height:p,disableAnimation:m,classNames:g}=N(),h=(0,I.W)(null==g?void 0:g.menu,o),v=(0,k.useCallback)(({children:e})=>
6(0,w.jsx)(ej,{forwardProps:!0,enabled:f,removeScrollBar:!1,children:e}),[f]),y=m?(0,w.jsx)(v,{children:(0,w.jsx)("ul",{ref:d,className:null==(n=c.menu)?void 0:n.call(c,{class:h}),"data-open":(0,F.PB)(f),style:{"--navbar-height":"number"==typeof p?`${p}px`:p},...u,children:i})}):(0,w.jsx)(R.M,{mode:"wait",children:f?(0,w.jsx)(O.X,{features:z.H,children:(0,w.jsx)(v,{children:(0,w.jsx)(_.m.ul,{ref:d,layoutScroll:!0,animate:"enter",className:null==(r=c.menu)?void 0:r.call(c,{class:h}),"data-open":(0,F.PB)(f),exit:"exit",initial:"exit",style:{"--navbar-height":"number"==typeof p?`${p}px`:p,...l},variants:D,...(0,W.d)(s,u),children:i})})}):null});return(0,w.jsx)(eS.aV,{portalContainer:a,children:y})});eL.displayName="NextUI.NavbarMenu";var eA=n(27202),eM={visible:{y:0,transition:{ease:eA.Lj.easeOut}},hidden:{y:"-100%",transition:{ease:eA.Lj.easeIn}}},eN=n(23690),eD=n(55847),eK=n(78014),eB=(0,eD.tv)({slots:{base:["flex","z-40","w-full","h-auto","items-center","justify-center","data-[menu-open=true]:border-none"],wrapper:["z-40","flex","px-6","gap-4","w-full","flex-row","relative","flex-nowrap","items-center","justify-between","h-[var(--navbar-height)]"],toggle:["group","flex","items-center","justify-center","w-6","h-full","outline-none","rounded-small","tap-highlight-transparent",...eK.Dh],srOnly:["sr-only"],toggleIcon:["w-full","h-full","pointer-events-none","flex","flex-col","items-center","justify-center","text-inherit","group-data-[pressed=true]:opacity-70","transition-opacity","before:content-['']","before:block","before:h-px","before:w-6","before:bg-current","before:transition-transform","before:duration-150","before:-translate-y-1","before:rotate-0","group-data-[open=true]:before:translate-y-px","group-data-[open=true]:before:rotate-45","after:content-['']","after:block","after:h-px","after:w-6","after:bg-current","after:transition-transform","after:duration-150","after:translate-y-1","after:rotate-0","group-data-[open=true]:after:translate-y-0","group-data-[open=true]:after:-rotate-45"],brand:["flex","basis-0","flex-row","flex-grow","flex-nowrap","justify-start","bg-transparent","items-center","no-underline","text-medium","whitespace-nowrap","box-border"],content:["flex","gap-4","h-full","flex-row","flex-nowrap","items-center","data-[justify=start]:justify-start","data-[justify=start]:flex-grow","data-[justify=start]:basis-0","data-[justify=center]:justify-center","data-[justify=end]:justify-end","data-[justify=end]:flex-grow","data-[justify=end]:basis-0"],item:["text-medium","whitespace-nowrap","box-border","list-none","data-[active=true]:font-semibold"],menu:["z-30","px-6","pt-2","fixed","flex","max-w-full","top-[var(--navbar-height)]","inset-x-0","bottom-0","w-screen","flex-col","gap-2","overflow-y-auto"],menuItem:["text-large","data-[active=true]:font-semibold"]},variants:{position:{static:{base:"static"},sticky:{base:"sticky top-0 inset-x-0"}},maxWidth:{sm:{wrapper:"max-w-[640px]"},md:{wrapper:"max-w-[768px]"},lg:{wrapper:"max-w-[1024px]"},xl:{wrapper:"max-w-[1280px]"},"2xl":{wrapper:"max-w-[1536px]"},full:{wrapper:"max-w-full"}},hideOnScroll:{true:{base:["sticky","top-0","inset-x-0"]}},isBordered:{true:{base:["border-b","border-divider"]}},isBlurred:{false:{base:"bg-background",menu:"bg-background"},true:{base:["backdrop-blur-lg","data-[menu-open=true]:backdrop-blur-xl","backdrop-saturate-150","bg-background/70"],menu:["backdrop-blur-xl","backdrop-saturate-150","bg-background/70"]}},disableAnimation:{true:{menu:["hidden","h-[calc(100dvh_-_var(--navbar-height))]","data-[open=true]:flex"]}}},defaultVariants:{maxWidth:"lg",position:"sticky",isBlurred:!0}}),eI=n(75668),eF="undefined"!=typeof window;function eR(e){return eF?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var eO=e=>{let{elementRef:t,delay:n=30,callback:r,isEnabled:o}=e,i=(0,k.useRef)(o?eR(null==t?void 0:t.current):{x:0,y:0}),a=(0,k.useRef)(null),s=(0,k.useCallback)(()=>{let e=eR(null==t?void 0:t.current);"function"==typeof r&&r({prevPos:i.current,currPos:e}),i.current=e,a.current=null},[r,t]);return(0,k.useEffect)(()=>{if(!o)return;let e=()=>{n?(a.current&&clearTimeout(a.current),a.current=setTimeout(s,n)):s()},r=(null==t?void 0:t.current)||window;return r.addEventListener("scroll",e),()=>{r.removeEventListener("scroll",e),a.current&&(clearTimeout(a.current),a.current=null)}},[null==t?void 0:t.current,n,s,o]),i.current},ez=(e,t)=>{var n;let r=[];return[null==(n=k.Children.map(e,e=>(0,k.isValidElement)(e)&&e.type===t?(r.push(e),null):e))?void 0:n.filter(
6Boolean),r.length>=0?r:void 0]},e_=(0,K.Gp)((e,t)=>{let{children:n,...r}=e,o=function(e){var t,n;let r=(0,eN.w)(),[o,i]=(0,K.oe)(e,eB.variantKeys),{ref:a,as:s,parentRef:l,height:u="4rem",shouldHideOnScroll:d=!1,disableScrollHandler:c=!1,onScrollPositionChange:f,isMenuOpen:p,isMenuDefaultOpen:m,onMenuOpenChange:g=()=>{},motionProps:h,className:v,classNames:y,...b}=o,w=null!=(n=null!=(t=e.disableAnimation)?t:null==r?void 0:r.disableAnimation)&&n,x=(0,B.gy)(a),E=(0,k.useRef)(0),T=(0,k.useRef)(0),[C,P]=(0,k.useState)(!1),[j,S]=function(e,t,n){let[r,o]=(0,k.useState)(e||t),i=(0,k.useRef)(void 0!==e),a=void 0!==e;(0,k.useEffect)(()=>{let e=i.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),i.current=a},[a]);let s=a?e:r,l=(0,k.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(s,e)&&n(e,...t),a||(s=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...o)=>{let i=e(a?s:n,...o);return(r(i,...t),a)?n:i})):(a||o(e),r(e,...t))},[a,s,n]);return[s,l]}(p,null!=m&&m,(0,k.useCallback)(e=>{g(e||!1)},[g])),L=()=>{if(x.current){let e=x.current.offsetWidth;e!==E.current&&(E.current=e)}};!function(e){let{ref:t,onResize:n}=e;(0,k.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{let t=new window.ResizeObserver(e=>{e.length&&n()});return t.observe(e),()=>{e&&t.unobserve(e)}}}},[n,t])}({ref:x,onResize:()=>{var e;(null==(e=x.current)?void 0:e.offsetWidth)!==E.current&&(L(),S(!1))}}),(0,k.useEffect)(()=>{var e;L(),T.current=(null==(e=x.current)?void 0:e.offsetHeight)||0},[]);let A=(0,k.useMemo)(()=>eB({...i,disableAnimation:w,hideOnScroll:d}),[(0,eI.Xx)(i),w,d]),M=(0,I.W)(null==y?void 0:y.base,v);return eO({elementRef:l,isEnabled:d||!c,callback:({prevPos:e,currPos:t})=>{null==f||f(t.y),d&&P(n=>{let r=t.y>e.y&&t.y>T.current;return r!==n?r:n})}}),{Component:s||"nav",slots:A,domRef:x,height:u,isHidden:C,disableAnimation:w,shouldHideOnScroll:d,isMenuOpen:j,classNames:y,setIsMenuOpen:S,motionProps:h,getBaseProps:(e={})=>({...(0,W.d)(b,e),"data-hidden":(0,F.PB)(C),"data-menu-open":(0,F.PB)(j),ref:x,className:A.base({class:(0,I.W)(M,null==e?void 0:e.className)}),style:{"--navbar-height":"number"==typeof u?`${u}px`:u,...null==b?void 0:b.style,...null==e?void 0:e.style}}),getWrapperProps:(e={})=>({...e,"data-menu-open":(0,F.PB)(j),className:A.wrapper({class:(0,I.W)(null==y?void 0:y.wrapper,null==e?void 0:e.className)})})}}({...r,ref:t}),i=o.Component,[a,s]=ez(n,eL),l=(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("header",{...o.getWrapperProps(),children:a}),s]});return(0,w.jsx)(M,{value:o,children:o.shouldHideOnScroll?(0,w.jsx)(O.X,{features:z.H,children:(0,w.jsx)(_.m.nav,{animate:o.isHidden?"hidden":"visible",initial:!1,variants:eM,...(0,W.d)(o.getBaseProps(),o.motionProps),children:l})}):(0,w.jsx)(i,{...o.getBaseProps(),children:l})})});e_.displayName="NextUI.Navbar";var eW=n(24553),eH=n(54298),eV=n(94301);function e$(e={}){let{isReadOnly:t}=e,[n,r]=(0,eV.z)(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:n,setSelected:function(e){t||r(e)},toggle:function(){t||r(!n)}}}var eU=n(47283),eG=n(1264),eq=(0,K.Gp)((e,t)=>{var n;let{as:r,icon:o,className:i,onChange:a,autoFocus:s,srOnlyText:l,...u}=e,d=(0,B.gy)(t),{slots:c,classNames:f,isMenuOpen:p,setIsMenuOpen:m}=N(),g=e$({...u,isSelected:p,onChange:e=>{null==a||a(e),m(e)}}),{buttonProps:h,isPressed:v}=function(e,t,n){let{isSelected:r}=t,{isPressed:o,buttonProps:i}=(0,eH.j)({...e,onPress:(0,eW.t)(t.toggle,e.onPress)},n);return{isPressed:o,buttonProps:(0,W.d)(i,{"aria-pressed":r})}}(e,g,d),{isFocusVisible:y,focusProps:b}=(0,eU.F)({autoFocus:s}),{isHovered:x,hoverProps:E}=(0,eG.X)({}),T=(0,I.W)(null==f?void 0:f.toggle,i),C=(0,k.useMemo)(()=>"function"==typeof o?o(null!=p&&p):o||(0,w.jsx)("span",{className:c.toggleIcon({class:null==f?void 0:f.toggleIcon})}
6),[o,p,c.toggleIcon,null==f?void 0:f.toggleIcon]),P=(0,k.useMemo)(()=>l||(g.isSelected?"close navigation menu":"open navigation menu"),[l,p]);return(0,w.jsxs)(r||"button",{ref:d,className:null==(n=c.toggle)?void 0:n.call(c,{class:T}),"data-focus-visible":(0,F.PB)(y),"data-hover":(0,F.PB)(x),"data-open":(0,F.PB)(p),"data-pressed":(0,F.PB)(v),...(0,W.d)(h,b,E,u),children:[(0,w.jsx)("span",{className:c.srOnly(),children:P}),C]})});eq.displayName="NextUI.NavbarMenuToggle";var eX=(0,K.Gp)((e,t)=>{var n;let{as:r,className:o,children:i,justify:a="start",...s}=e,l=(0,B.gy)(t),{slots:u,classNames:d}=N(),c=(0,I.W)(null==d?void 0:d.content,o);return(0,w.jsx)(r||"ul",{ref:l,className:null==(n=u.content)?void 0:n.call(u,{class:c}),"data-justify":a,...s,children:i})});eX.displayName="NextUI.NavbarContent";var[eZ,eY]=(0,A.k)({name:"DropdownContext",errorMessage:"useDropdownContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Dropdown />`"}),eJ={};eJ={"ar-AE":{longPressMessage:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}`},"bg-BG":{longPressMessage:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}`},"cs-CZ":{longPressMessage:`Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku`},"da-DK":{longPressMessage:`Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen`},"de-DE":{longPressMessage:`Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen`},"el-GR":{longPressMessage:`\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}`},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa`},"et-EE":{longPressMessage:`Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool`},"fi-FI":{longPressMessage:`Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli`},"fr-FR":{longPressMessage:`Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.`},"he-IL":{longPressMessage:`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}`},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz`},"it-IT":{longPressMessage:`Premere a lungo o premere Alt + Freccia gi\xf9 per aprire il menu`},"ja-JP":{longPressMessage:`\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}`},"ko-KR":{longPressMessage:`\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}`},"lt-LT":{longPressMessage:`Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.`},"lv-LV":{longPressMessage:`Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a`},"nb-NO":{longPressMessage:`Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen`},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:`Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu`},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:`Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul`},"ru-RU":{longPressMessage:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}`},"sk-SK":{longPressMessage:`Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol`},"sl-SI":{longPressMessage:`Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol`},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:`H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn`}
6,"tr-TR":{longPressMessage:`Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n`},"uk-UA":{longPressMessage:`\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}`},"zh-CN":{longPressMessage:`\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}`},"zh-TW":{longPressMessage:`\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}`}};let eQ="undefined"!=typeof document?k.useLayoutEffect:()=>{};var e0=n(31704);let e1=!!("undefined"!=typeof window&&window.document&&window.document.createElement),e4=new Map;function e3(e){let[t,n]=(0,k.useState)(e),r=(0,k.useRef)(null),o=(0,e0.gP)(t),i=(0,k.useCallback)(e=>{r.current=e},[]);return e1&&(e4.has(o)&&!e4.get(o).includes(i)?e4.set(o,[...e4.get(o),i]):e4.set(o,[i])),eQ(()=>()=>{e4.delete(o)},[o]),(0,k.useEffect)(()=>{let e=r.current;e&&(r.current=null,n(e))}),o}var e2=n(86535);function e5(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function e6(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function e8(e){let t=null;return()=>(null==t&&(t=e()),t)}let e7=e8(function(){return e6(/^Mac/i)}),e9=e8(function(){return e6(/^iPhone/i)}),te=e8(function(){return e6(/^iPad/i)||e7()&&navigator.maxTouchPoints>1}),tt=e8(function(){return e9()||te()});e8(function(){return e7()||tt()});let tn=e8(function(){return e5(/AppleWebKit/i)&&!tr()}),tr=e8(function(){return e5(/Chrome/i)}),to=e8(function(){return e5(/Android/i)}),ti=e8(function(){return e5(/Firefox/i)}),ta=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},ts=e=>e&&"window"in e&&e.window===e?e:ta(e).defaultView||window,tl=new Map,tu=new Set;function td(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=tl.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),tl.delete(n.target)),0===tl.size)){for(let e of tu)e();tu.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=tl.get(n.target);r||(r=new Set,tl.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?td():document.addEventListener("DOMContentLoaded",td));let tc="default",tf="",tp=new WeakMap;function tm(e){if(tt()){if("default"===tc){let t=ta(e);tf=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}tc="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(tp.set(e,e.style.userSelect),e.style.userSelect="none")}function tg(e){if(tt())"disabled"===tc&&(tc="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===tc){let t=ta(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=tf||""),tf="",tc="default"}},requestAnimationFrame(()=>{0===tl.size?t():tu.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&tp.has(e)){let t=tp.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),tp.delete(e)}}let th=k.createContext({register:()=>{}});th.displayName="PressResponderContext";var tv=n(59700),ty=n(74619),tb=n(59043);function tw(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}var tx=n(92074);function tE(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=tw(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=e4.get(e);
6if(n)return n.forEach(e=>e(t)),t;let r=e4.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}function tk(){let e=(0,k.useRef)(new Map),t=(0,k.useCallback)((t,n,r,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,r,o)},[]),n=(0,k.useCallback)((t,n,r,o)=>{var i;let a=(null===(i=e.current.get(r))||void 0===i?void 0:i.fn)||r;t.removeEventListener(n,a,o),e.current.delete(r)},[]),r=(0,k.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,k.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function tT(e){let t=(0,k.useRef)(null);return eQ(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}function tC(e){if(function(){if(null==tP){tP=!1;try{document.createElement("div").focus({get preventScroll(){return tP=!0,!0}})}catch(e){}}return tP}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}let tP=null;function tj(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;ti()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(e7()?i=!0:a=!0);let u=tn()&&e7()&&!te()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});tj.isOpening=n,tC(e),e.dispatchEvent(u),tj.isOpening=!1}function tS(e){return 0===e.mozInputSource&&!!e.isTrusted||(to()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}tj.isOpening=!1;var tL=new WeakMap;class tA{continuePropagation(){(0,tb._)(this,tL,!1)}get shouldStopPropagation(){return(0,tv._)(this,tL)}constructor(e,t,n,r){var o;(0,ty._)(this,tL,{writable:!0,value:void 0}),(0,tb._)(this,tL,!0);let i=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let tM=Symbol("linkClicked");function tN(e){return"A"===e.tagName&&e.hasAttribute("href")}function tD(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof ts(t).HTMLInputElement&&!tW(t,n)||t instanceof ts(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&tN(t))&&"Enter"!==n)}function tK(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function tB(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function tI(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function tF(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function tR(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function tO(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!tN(e))}function tz(e,t){return e instanceof HTMLInputElement?!tW(e,t):tO(e)}let t_=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tW(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:t_.has(e.type)}let tH=0,tV=new Map,t$=new WeakMap;var tU=(0,eD.tv)({base:["w-full","p-1","min-w-[200px]"]});function tG(...e){return t=>
6{e.forEach(e=>(function(e,t){if(null!=e){if((0,F.mf)(e)){e(t);return}try{e.current=t}catch(n){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}})(e,t))}}(0,eD.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","outline-none","cursor-pointer","tap-highlight-transparent","data-[pressed=true]:opacity-70",...eK.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal truncate",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:"border-small border-transparent hover:border-default data-[hover=true]:bg-default-100"},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{}}},defaultVariants:{variant:"solid",color:"default"},compoundVariants:[{variant:"solid",color:"default",class:{base:"data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"solid",color:"primary",class:{base:"data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"solid",color:"secondary",class:{base:"data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"solid",color:"success",class:{base:"data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"solid",color:"warning",class:{base:"data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"solid",color:"danger",class:{base:"data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"shadow",color:"default",class:{base:"data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"shadow",color:"primary",class:{base:"data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"shadow",color:"secondary",class:{base:"data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"shadow",color:"success",class:{base:"data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"shadow",color:"warning",class:{base:"data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"shadow",color:"danger",class:{base:"data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"bordered",color:"default",class:{base:"data-[hover=true]:border-default"}},{variant:"bordered",color:"primary",class:{base:"data-[hover=true]:border-primary data-[hover=true]:text-primary"}},{variant:"bordered",color:"secondary",class:{base:"data-[hover=true]:border-secondary data-[hover=true]:text-secondary"}},{variant:"bordered",color:"success",class:{base:"data-[hover=true]:border-success data-[hover=true]:text-success"}},{variant:"bordered",color:"warning",class:{base:"data-[hover=true]:border-warning data-[hover=true]:text-warning"}},{variant:"bordered",color:"danger",class:{base:"data-[hover=true]:border-danger data-[hover=true]:text-danger"}},{variant:"flat",color:"default",class:{base:"data-[hover=true]:bg-default/40 data-[hover=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{base:"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary"}},{variant:"flat",color:"secondary",class:{base:"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary"}},{variant:"flat",color:"success",class:{base:"data-[hover=true]:bg-success/20 data-[hover=true]:text-success "}},{variant:"flat",color:"warning",class:{base:"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning"}},{variant:"flat",color:"danger",class:{base:"data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger"}},{variant:"faded",color:"default",class:{base:"data-[hover=true]:text-default-foreground"}},{variant:"faded",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"faded",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"faded",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"faded",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"faded",color:"danger",class:{base:"data-[hover=true]:text-danger"}},{variant:"light",color:"default",class:{base:"data-[hover=true]:text-default-500"}},{variant:"light",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"light",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"light",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"light",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"light",color:"danger",class:{base:"data-[hover=true]:text-danger"}}]}),(0,eD.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}}),(0,eD.tv)({base:"w-full flex flex-col gap-0.5 p-1"});
6var tq=(e,t,n)=>{let r=null==t?void 0:t.current;if(!r||!r.contains(e)){let e=document.querySelectorAll("body > span[data-focus-scope-start]"),t=[];if(e.forEach(e=>{t.push(e.nextElementSibling)}),1===t.length)return n.close(),!1}return!r||!r.contains(e)},tX=(e,t)=>{if(e){let n=Array.isArray(e.children)?e.children:[...(null==e?void 0:e.items)||[]];if(n&&n.length)return n.find(e=>{if(e.key===t)return e})||{}}return null},tZ=(e,t,n)=>{let r=n||tX(e,t);return r&&r.props&&"closeOnSelect"in r.props?r.props.closeOnSelect:null==e?void 0:e.closeOnSelect},[tY,tJ]=(0,A.k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"}),tQ=n(33443),t0=n(6784),t1=n(45761);let t4={top:"top",bottom:"top",left:"left",right:"left"},t3={top:"bottom",bottom:"top",left:"right",right:"left"},t2={top:"left",left:"top"},t5={top:"height",left:"width"},t6={width:"totalWidth",height:"totalHeight"},t8={},t7="undefined"!=typeof document&&window.visualViewport;function t9(e){let t=0,n=0,r=0,o=0,i=0,a=0,s={},l=(null==t7?void 0:t7.scale)>1;if("BODY"===e.tagName){var u,d;let l=document.documentElement;r=l.clientWidth,o=l.clientHeight,t=null!==(u=null==t7?void 0:t7.width)&&void 0!==u?u:r,n=null!==(d=null==t7?void 0:t7.height)&&void 0!==d?d:o,s.top=l.scrollTop||e.scrollTop,s.left=l.scrollLeft||e.scrollLeft,t7&&(i=t7.offsetTop,a=t7.offsetLeft)}else({width:t,height:n,top:i,left:a}=no(e)),s.top=e.scrollTop,s.left=e.scrollLeft,r=t,o=n;return(0,t0.Pf)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&l&&(s.top=0,s.left=0,i=t7.pageTop,a=t7.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:o,scroll:s,top:i,left:a}}function ne(e,t,n,r,o,i,a){let s=o.scroll[e],l=r[t5[e]],u=r.scroll[t4[e]]+i,d=l+r.scroll[t4[e]]-i,c=t-s+a[e]-r[t4[e]],f=t-s+n+a[e]-r[t4[e]];return c<u?u-c:f>d?Math.max(d-f,u-c):0}function nt(e){if(t8[e])return t8[e];let[t,n]=e.split(" "),r=t4[t]||"right",o=t2[r];t4[n]||(n="center");let i=t5[r],a=t5[o];return t8[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:i,crossSize:a},t8[e]}function nn(e,t,n,r,o,i,a,s,l,u){let{placement:d,crossPlacement:c,axis:f,crossAxis:p,size:m,crossSize:g}=r,h={};h[p]=e[p],"center"===c?h[p]+=(e[g]-n[g])/2:c!==p&&(h[p]+=e[g]-n[g]),h[p]+=i;let v=e[p]-n[g]+l+u,y=e[p]+e[g]-l-u;if(h[p]=(0,t1.uZ)(h[p],v,y),d===f){let n=s?a[m]:t[t6[m]];h[t3[f]]=Math.floor(n-e[f]+o)}else h[f]=Math.floor(e[f]+e[m]+o);return h}function nr(e,t,n,r,o,i){let{placement:a,axis:s,size:l}=i;return a===s?Math.max(0,n[s]-e[s]-e.scroll[s]+t[s]-r[s]-r[t3[s]]-o):Math.max(0,e[l]+e[s]+e.scroll[s]-t[s]-n[s]-n[l]-r[s]-r[t3[s]]-o)}function no(e){let{top:t,left:n,width:r,height:o}=e.getBoundingClientRect(),{scrollTop:i,scrollLeft:a,clientTop:s,clientLeft:l}=document.documentElement;return{top:t+i-s,left:n+a-l,width:r,height:o}}function ni(e,t){let n,r=window.getComputedStyle(e);if("fixed"===r.position){let{top:t,left:r,width:o,height:i}=e.getBoundingClientRect();n={top:t,left:r,width:o,height:i}}else{n=no(e);let r=no(t),o=window.getComputedStyle(t);r.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function na(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}let ns=new WeakMap;var nl=n(62766),nu=n(35077);let nd="undefined"!=typeof document&&window.visualViewport;var nc=e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},nf=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","to
6p-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],np=(e,t)=>{if(t.includes("-")){let[n]=t.split("-");if(n.includes(e))return!1}return!0},nm=(e,t)=>{if(t.includes("-")){let[,n]=t.split("-");return`${e}-${n}`}return e},ng=new WeakMap,nh=[],nv=n(73635),ny=n(90102),nb=n(38106),nw=n(87996),nx=(0,eD.tv)({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...eK.Dh],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:nw.J.solid.foreground},primary:{base:"before:bg-primary",content:nw.J.solid.primary},secondary:{base:"before:bg-secondary",content:nw.J.solid.secondary},success:{base:"before:bg-success",content:nw.J.solid.success},warning:{base:"before:bg-warning",content:nw.J.solid.warning},danger:{base:"before:bg-danger",content:nw.J.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]}),nE=n(52486),nk=(0,K.Gp)((e,t)=>{let{children:n,...r}=e,o=function(e){var t,n,r;let o=(0,eN.w)(),[i,a]=(0,K.oe)(e,nx.variantKeys),{as:s,ref:l,children:u,state:d,triggerRef:c,scrollRef:f,defaultOpen:p,onOpenChange:m,isOpen:g,isNonModal:h=!0,shouldFlip:v=!0,containerPadding:y=12,shouldBlockScroll:b=!1,isDismissable:w=!0,shouldCloseOnBlur:x,portalContainer:E,updatePositionDeps:T,dialogProps:C,placement:P="top",triggerType:j="dialog",showArrow:S=!1,offset:L=7,crossOffset:A=0,boundaryElement:M,isKeyboardDismissDisabled:N,shouldCloseOnInteractOutside:D,motionProps:R,className:O,classNames:z,onClose:_,...H}=i,V=(0,B.gy)(l),$=(0,k.useRef)(null),U=(0,k.useRef)(!1),G=c||$,q=null!=(n=null!=(t=e.disableAnimation)?t:null==o?void 0:o.disableAnimation)&&n,X=function(e){let[t,n]=(0,eV.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),r=(0,k.useCallback)(()=>{n(!0)},[n]),o=(0,k.useCallback)(()=>{n(!1)},[n]),i=(0,k.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:i}}({isOpen:g,defaultOpen:p,onOpenChange:e=>{null==m||m(e),e||null==_||_()}}),Z=d||X,{popoverProps:Y,underlayProps:J,placement:Q}=function(e,t){let{triggerRef:n,popoverRef:r,showArrow:o,offset:i=7,crossOffset:a=0,scrollRef:s,shouldFlip:l,boundaryElement:u,isDismissable:d=!0,shouldCloseOnBlur:c=!0,placement:f="top",containerPadding:p,shouldCloseOnInteractOutside:m,isNonModal:g,isKeyboardDismissDisabled:h,updatePositionDeps:v=[],...y}=e,b=null==g||g,{overlayProps:w,underlayProps:x}
6=(0,tQ.I)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:c,isDismissable:d,isKeyboardDismissDisabled:h,shouldCloseOnInteractOutside:m||(e=>tq(e,n,t))},r),{overlayProps:E,arrowProps:T,placement:C,updatePosition:P}=function(e){let{direction:t}=(0,nu.j)(),{arrowSize:n=0,targetRef:r,overlayRef:o,scrollRef:i=o,placement:a="bottom",containerPadding:s=12,shouldFlip:l=!0,boundaryElement:u="undefined"!=typeof document?document.body:null,offset:d=0,crossOffset:c=0,shouldUpdatePosition:f=!0,isOpen:p=!0,onClose:m,maxHeight:g,arrowBoundaryOffset:h=0}=e,[v,y]=(0,k.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),b=[f,a,o.current,r.current,i.current,s,l,u,d,c,p,t,g,h,n],w=(0,k.useRef)(null==nd?void 0:nd.scale);(0,k.useEffect)(()=>{p&&(w.current=null==nd?void 0:nd.scale)},[p]);let x=(0,k.useCallback)(()=>{var e,m;if(!1===f||!p||!o.current||!r.current||!i.current||!u||(null==nd?void 0:nd.scale)!==w.current)return;let v=o.current;!g&&o.current&&(v.style.top="0px",v.style.bottom="",v.style.maxHeight=(null!==(m=null===(e=window.visualViewport)||void 0===e?void 0:e.height)&&void 0!==m?m:window.innerHeight)+"px");let b=function(e){let t,{placement:n,targetNode:r,overlayNode:o,scrollNode:i,padding:a,shouldFlip:s,boundaryElement:l,offset:u,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=o instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!na(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!na(t);)t=t.parentElement;return t||document.documentElement}(o):document.documentElement,g=m===document.documentElement,h=window.getComputedStyle(m).position,v=g?no(r):ni(r,m);if(!g){let{marginTop:e,marginLeft:t}=window.getComputedStyle(r);v.top+=parseInt(e,10)||0,v.left+=parseInt(t,10)||0}let y=no(o),b={top:parseInt((t=window.getComputedStyle(o)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};y.width+=b.left+b.right,y.height+=b.top+b.bottom;let w={top:i.scrollTop,left:i.scrollLeft,width:i.scrollWidth,height:i.scrollHeight},x=t9(l),E=t9(m),k="BODY"===l.tagName?no(m):ni(m,l);return"HTML"===m.tagName&&"BODY"===l.tagName&&(E.scroll.top=0,E.scroll.left=0),function(e,t,n,r,o,i,a,s,l,u,d,c,f,p,m,g){let h=nt(e),{size:v,crossAxis:y,crossSize:b,placement:w,crossPlacement:x}=h,E=nn(t,s,n,h,d,c,u,f,m,g),k=d,T=nr(s,u,t,o,i+d,h);if(a&&r[v]>T){let e=nt(`${t3[w]} ${x}`),r=nn(t,s,n,e,d,c,u,f,m,g);nr(s,u,t,o,i+d,e)>T&&(h=e,E=r,k=d)}let C="bottom";"top"===h.axis?"top"===h.placement?C="top":"bottom"===h.placement&&(C="bottom"):"top"===h.crossAxis&&("top"===h.crossPlacement?C="bottom":"bottom"===h.crossPlacement&&(C="top"));let P=ne(y,E[y],n[b],s,l,i,u);E[y]+=P;let j=function(e,t,n,r,o,i,a,s){let l=r?n.height:t[t6.height],u=null!=e.top?n.top+e.top:n.top+(l-e.bottom-a),d="top"!==s?Math.max(0,t.height+t.top+t.scroll.top-u-(o.top+o.bottom+i)):Math.max(0,u+a-(t.top+t.scroll.top)-(o.top+o.bottom+i));return Math.min(t.height-2*i,d)}(E,s,u,f,o,i,n.height,C);p&&p<j&&(j=p),n.height=Math.min(n.height,j),P=ne(y,(E=nn(t,s,n,h,k,c,u,f,m,g))[y],n[b],s,l,i,u),E[y]+=P;let S={},L=t[y]+.5*t[b]-E[y],A=m/2+g,M=n[b]-m/2-g,N=t[y]-E[y]+m/2,D=t[y]+t[b]-E[y]-m/2,K=(0,t1.uZ)(L,N,D);return S[y]=(0,t1.uZ)(K,A,M),{position:E,maxHeight:j,arrowOffsetLeft:S.left,arrowOffsetTop:S.top,placement:h.placement}}(n,v,y,w,b,a,s,x,E,k,u,d,!!h&&"static"!==h,c,f,p)}({placement:"rtl"===t?a.replace("start","right").replace("end","left"):a.replace("start","left").replace("end","right"),overlayNode:o.current,targetNode:r.current,scrollNode:i.current,padding:s,shouldFlip:l,boundaryElement:u,offset:d,crossOffset:c,maxHeight:g,arrowSize:n,arrowBoundaryOffset:h});v.style.top="",v.style.bottom="",Object.keys(b.position).forEach(e=>v.style[e]=b.position[e]+"px"),v.style.maxHeight=null!=b.maxHeight?b.maxHeight+"px":void 0,y(b)},b);(0,nl.b)(x,b),(0,nl.b)(()=>(window.addEventListener("resize",x,!1),()=>{window.removeEventListener("resize",x,!1)}),[x]),function(e){let{ref:t,box:n,onResize:r}=e;(0,k.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{let t=new window.ResizeObserver(e=>{e.length&&r()});return t.observe(e,{box:n}
6),()=>{e&&t.unobserve(e)}}}},[r,t,n])}({ref:o,onResize:x});let E=(0,k.useRef)(!1);(0,nl.b)(()=>{let e;let t=()=>{E.current=!0,clearTimeout(e),e=setTimeout(()=>{E.current=!1},500),x()},n=()=>{E.current&&t()};return null==nd||nd.addEventListener("resize",t),null==nd||nd.addEventListener("scroll",n),()=>{null==nd||nd.removeEventListener("resize",t),null==nd||nd.removeEventListener("scroll",n)}},[x]);let T=(0,k.useCallback)(()=>{E.current||m()},[m,E]);return!function(e){let{triggerRef:t,isOpen:n,onClose:r}=e;(0,k.useEffect)(()=>{if(!n||null===r)return;let e=e=>{let n=e.target;if(!t.current||n instanceof Node&&!n.contains(t.current))return;let o=r||ns.get(t.current);o&&o()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,r,t])}({triggerRef:r,isOpen:p,onClose:m&&T}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...v.position,maxHeight:v.maxHeight}},placement:v.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v.arrowOffsetLeft,top:v.arrowOffsetTop}},updatePosition:x}}
6({...y,shouldFlip:l,crossOffset:a,targetRef:n,overlayRef:r,isOpen:t.isOpen,scrollRef:s,boundaryElement:u,containerPadding:p,placement:nf(f),offset:o?i+3:i,onClose:b?t.close:()=>{}});return(0,nv.G)(()=>{v.length&&P()},v),(0,k.useEffect)(()=>{if(t.isOpen&&!b&&r.current)return function(e,t=document.body){let n=new Set(e),r=new Set,o=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(t);let t=e=>{let t=e.parentElement;if(n.has(e)||r.has(t)&&"row"!==t.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),a=t(e);if(a===NodeFilter.FILTER_ACCEPT&&i(e),a!==NodeFilter.FILTER_REJECT){let e=o.nextNode();for(;null!=e;)i(e),e=o.nextNode()}},i=e=>{var t;let n=null!=(t=ng.get(e))?t:0;("true"!==e.getAttribute("aria-hidden")||0!==n)&&(0===n&&e.setAttribute("aria-hidden","true"),r.add(e),ng.set(e,n+1))};nh.length&&nh[nh.length-1].disconnect(),o(t);let a=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...n,...r].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),r.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?n.add(e):e instanceof Element&&o(e)}});a.observe(t,{childList:!0,subtree:!0});let s={observe(){a.observe(t,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return nh.push(s),()=>{for(let e of(a.disconnect(),r)){let t=ng.get(e);null!=t&&(1===t?(e.removeAttribute("aria-hidden"),ng.delete(e)):ng.set(e,t-1))}s===nh[nh.length-1]?(nh.pop(),nh.length&&nh[nh.length-1].observe()):nh.splice(nh.indexOf(s),1)}}([r.current])},[b,t.isOpen,r]),{popoverProps:(0,W.d)(w,E),arrowProps:T,underlayProps:x,placement:C}}({triggerRef:G,isNonModal:h,popoverRef:V,placement:P,offset:L,scrollRef:f,isDismissable:w,shouldCloseOnBlur:x,boundaryElement:M,crossOffset:A,shouldFlip:v,containerPadding:y,updatePositionDeps:T,isKeyboardDismissDisabled:N,shouldCloseOnInteractOutside:D},Z),{triggerProps:ee}=function(e,t,n){let r,{type:o}=e,{isOpen:i}=t;(0,k.useEffect)(()=>{n&&n.current&&ns.set(n.current,t.close)}),"menu"===o?r=!0:"listbox"===o&&(r="listbox");let a=(0,ny.Me)();return{triggerProps:{"aria-haspopup":r,"aria-expanded":i,"aria-controls":i?a:null,onPress:t.toggle},overlayProps:{id:a}}}({type:j},Z,G),{isFocusVisible:et,isFocused:en,focusProps:er}=(0,eU.F)(),eo=(0,k.useMemo)(()=>nx({...a}),[(0,eI.Xx)(a)]),ei=(0,I.W)(null==z?void 0:z.base,O),ea=(0,k.useCallback)((e={})=>({"data-slot":"content","data-open":(0,F.PB)(Z.isOpen),"data-arrow":(0,F.PB)(S),"data-placement":nm(Q,P),className:eo.content({class:(0,I.W)(null==z?void 0:z.content,e.className)})}),[eo,Z.isOpen,S,Q,P,z]),es=(0,k.useMemo)(()=>np(Q,P)&&Q||P,[Q,P]),el=(0,k.useCallback)(t=>{var n;let r;return"touch"===t.pointerType&&((null==e?void 0:e.backdrop)==="blur"||(null==e?void 0:e.backdrop)==="opaque")?r=setTimeout(()=>{U.current=!0},100):U.current=!0,null==(n=ee.onPress)||n.call(ee,t),()=>{clearTimeout(r)}},[null==ee?void 0:ee.onPress]),eu=(0,k.useCallback)((e={},t=null)=>{let{isDisabled:n,...r}=e;return{"data-slot":"trigger",...(0,W.d)({"aria-haspopup":"dialog"},ee,r),onPress:el,isDisabled:n,className:eo.trigger({class:(0,I.W)(null==z?void 0:z.trigger,e.className),isTriggerDisabled:n}),ref:(0,nE.l)(t,G)}},[Z,ee,el,G]),ed=(0,k.useCallback)((e={})=>({"data-slot":"backdrop",className:eo.backdrop({class:null==z?void 0:z.backdrop}),onClick:e=>{if(!U.current){e.preventDefault();return}Z.close(),U.current=!1},...J,...e}),[eo,Z.isOpen,z,J]);return(0,k.useEffect)(()=>{if(Z.isOpen&&(null==V?void 0:V.current))return(0,nb.R)([null==V?void 0:V.current])},[Z.isOpen,V]),{state:Z,Component:s||"div",children:u,classNames:z,showArrow:S,triggerRef:G,placement:es,isNonModal:h,popoverRef:V,portalContainer:E,isOpen:Z.isOpen,onClose:Z.close,disableAnimation:q,shouldBlockScroll:b,backdrop:null!=(r=e.backdrop)?r:"transparent",motionProps:R,getBackdropProps:ed,getPopoverProps:(e={})=>({ref:V,...(0,W.d)(Y,H,e),style:(0,W.d)(Y.style,H.style,e.style)}),getTriggerProps:eu,getDialogProps:(e={})=>({"data-slot":"base","data-open":(0,F.PB)(Z.isOpen),"data-focus":(0,F.PB)(en),"data-arrow":(0,F.PB)(S),"data-focus-visible":(0,F.PB)(et),"data-placement":nm(Q,P),...(0,W.d)(er,C,e),className:eo.base({class:(0,I.W)(ei)}),style:{outline:"none"}}),getContentProps:ea}}({...r,ref:t}),[i,a]=k.Children.toArray(n),s=(0,w.jsx)(eS.aV,{portalContainer:o.portalContainer,children:a});return(0,w.jsxs)(tY,{value:o,children:[i,o.disableAnimation&&o.isOpen?s:(0,w.jsx)(R.M,{children:o.isOpen?s:null})]})});nk.displayName="NextUI.Popover";var nT=e=>{let{children:t,...n}=e,r=function(e){var t;let n=(0,eN.w)(),{as:r,triggerRef:o,isOpen:i,defaultOpen:a,onOpenChange:s,isDisabled:l,type:u="menu",trigger:d="press",placement:c="bottom",closeOnSelect:f=!0,shouldBlockScroll:p=!0,classNames:m,disableAnimation:g=null!=(t=null==n?void 0:n.disableAnimation)&&t,onClose:h,className:v,...y}=e,b=(0,k.useRef)(null),w=o||b,x=(0,k.useRef)(null),E=(0,k.useRef)(null),T=function(e){let t=function(e){let[t,n]=(0,eV.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),r=(0,k.useCallback)(()=>{n(!0)},[n]),o=(0,k.useCallback)(()=>{n(!1)},[n]),i=(0,k.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:i}}(e),[n,r]=(0,k.useState)(null),[o,i]=(0,k.useState)([]),a=()=>{i([]),t.close()};return{focusStrategy:n,...t,open(e=null){r(e),t.open()}
6,toggle(e=null){r(e),t.toggle()},close(){a()},expandedKeysStack:o,openSubmenu:(e,t)=>{i(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{i(n=>n[t]===e?n.slice(0,t):n)}}}({trigger:d,isOpen:i,defaultOpen:a,onOpenChange:e=>{null==s||s(e),e||null==h||h()}}),{menuTriggerProps:C,menuProps:P}=function(e,t,n){var r;let{type:o="menu",isDisabled:i,trigger:a="press"}=e,s=e3(),{triggerProps:l,overlayProps:u}=function(e,t,n){let r,{type:o}=e,{isOpen:i}=t;(0,k.useEffect)(()=>{n&&n.current&&t$.set(n.current,t.close)}),"menu"===o?r=!0:"listbox"===o&&(r="listbox");let a=e3();return{triggerProps:{"aria-haspopup":r,"aria-expanded":i,"aria-controls":i?a:null,onPress:t.toggle},overlayProps:{id:a}}}({type:o},t,n),{longPressProps:d}=function(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:i=500,accessibilityDescription:a}=e,s=(0,k.useRef)(void 0),{addGlobalListener:l,removeGlobalListener:u}=tk(),{pressProps:d}=function(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:c,...f}=function(e){var t;let n=(0,k.useContext)(th);if(n){let{register:t,...r}=n;e=tE(r,e),t()}return t=e.ref,eQ(()=>{if(n&&n.ref&&t)return n.ref.current=t.current,()=>{n.ref&&(n.ref.current=null)}}),e}(e),[p,m]=(0,k.useState)(!1),g=(0,k.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:v}=tk(),y=tT((e,t)=>{let o=g.current;if(a||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,r){let n=new tA("pressstart",t,e);r(n),i=n.shouldStopPropagation}return n&&n(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,m(!0),i}),b=tT((e,r,i=!0)=>{let s=g.current;if(!s.didFirePressStart)return!1;s.ignoreClickAfterPress=!0,s.didFirePressStart=!1,s.isTriggeringEvent=!0;let l=!0;if(o){let t=new tA("pressend",r,e);o(t),l=t.shouldStopPropagation}if(n&&n(!1),m(!1),t&&i&&!a){let n=new tA("press",r,e);t(n),l&&(l=n.shouldStopPropagation)}return s.isTriggeringEvent=!1,l}),w=tT((e,t)=>{let n=g.current;if(a)return!1;if(i){n.isTriggeringEvent=!0;let r=new tA("pressup",t,e);return i(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),x=tT(e=>{let t=g.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&b(tI(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,v(),d||tg(t.target))}),E=tT(e=>{u&&x(e)}),T=(0,k.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(tD(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;tz(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=y(t,"keyboard");let r=t.currentTarget;h(ta(t.currentTarget),"keyup",tw(t=>{tD(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&w(tI(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&e7()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!tj.isOpening){let n=!0;if(a&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||tS(t.nativeEvent))){a||l||tC(t.currentTarget);let e=y(t,"virtual"),r=w(t,"virtual"),o=b(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;if(e.isPressed&&e.target&&tD(t,e.target)){tz(t.target,t.key)&&t.preventDefault();let n=t.target;b(tI(e.target,t),"keyboard",e.target.contains(n)),v(),"Enter"!==t.key&&tN(e.target)&&e.target.contains(n)&&!t[tM]&&(t[tM]=!0,tj(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!to()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}tR(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let s=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,a||l||tC(t.currentTarget),d||tm(e.target),s=y(t,e.pointerType),h(ta(t.currentTarget),"pointermove",n,!1),h(ta(t.currentTarget),"pointerup",r,!1),h(ta(t.currentTarget),"pointercancel",i,!1)),s&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(tR(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&tF(t,t.currentTarget)&&w(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&tF(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,y(tI(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,b(tI(e.target,t),e.pointerType,!1),E(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(tF(t,e.target)&&null!=e.pointerType?b(tI(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&b(tI(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,v(),d||tg(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&h(e.target,"touchend",o,{once:!0}))},o=e=>{tO(e.currentTarget)&&e.preventDefault()},i=e=>{x(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(tR(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=tS(t.nativeEvent)?"virtual":"mouse",a||l||tC(t.currentTarget),y(t,e.pointerType)&&t.stopPropagation(),h(ta(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=y(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=b(t,e.pointerType,!1),E(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&w(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,v(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&tF(t,e.target)&&null!=e.pointerType?b(tI(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&b(tI(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",a||l||tC(t.currentTarget),d||tm(e.target),y(tB(e.target,t),e.pointerType)&&t.stopPropagation(),h(ts(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=tK(t.nativeEvent,e.activePointerId),r=!0;n&&tF(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=y(tB(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=b
6(tB(e.target,t),e.pointerType,!1),E(tB(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=tK(t.nativeEvent,e.activePointerId),r=!0;n&&tF(n,t.currentTarget)&&null!=e.pointerType?(w(tB(e.target,t),e.pointerType),r=b(tB(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=b(tB(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!d&&tg(e.target),v()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&x(tB(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&x({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}return t},[h,a,l,v,d,x,E,b,y,w]);return(0,k.useEffect)(()=>()=>{var e;d||tg(null!==(e=g.current.target)&&void 0!==e?e:void 0)},[d]),{isPressed:s||p,pressProps:tE(f,T)}}({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),s.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};l(e.target,"contextmenu",t,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{u(e.target,"contextmenu",t)}
6,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),r&&("mouse"===e.pointerType||"touch"===e.pointerType)&&r({...e,type:"longpressend"})}});return{longPressProps:tE(d,function(e){let[t,n]=(0,k.useState)();return eQ(()=>{if(!e)return;let t=tV.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${tH++}`;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},tV.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),tV.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(o&&!t?a:void 0))}}({isDisabled:i||"longPress"!==a,accessibilityDescription:(0,e2.q)((r=eJ)&&r.__esModule?r.default:r,"@react-aria/menu").format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete l.onPress,{menuTriggerProps:{...l,..."press"===a?{onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||i||t.open("virtual"===e.pointerType?"first":null)},onPress(e){"touch"!==e.pointerType||i||t.toggle()}}:d,id:s,onKeyDown:e=>{if(!i&&("longPress"!==a||e.altKey)&&n&&n.current)switch(e.key){case"Enter":case" ":if("longPress"===a)return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...u,"aria-labelledby":s,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({type:u,trigger:d,isDisabled:l},T,w),j=(0,k.useMemo)(()=>tU({className:v}),[v]),S=e=>{(void 0===e||e)&&f&&T.close()};return{Component:r||"div",menuRef:x,menuProps:P,classNames:j,closeOnSelect:f,onClose:T.close,autoFocus:T.focusStrategy||!0,disableAnimation:g,getPopoverProps:(e={})=>{let t=(0,W.d)(y,e);return{state:T,placement:c,ref:E,disableAnimation:g,shouldBlockScroll:p,scrollRef:x,triggerRef:w,...t,classNames:{...m,...e.classNames,content:(0,I.W)(j,null==m?void 0:m.content,e.className)},shouldCloseOnInteractOutside:(null==t?void 0:t.shouldCloseOnInteractOutside)?t.shouldCloseOnInteractOutside:e=>tq(e,b,T)}},getMenuProps:(e,t=null)=>({ref:tG(t,x),menuProps:P,closeOnSelect:f,...(0,W.d)(e,{onAction:(t,n)=>{S(tZ(e,t,n))},onClose:T.close})}),getMenuTriggerProps:(e={},t=null)=>{let{onPress:n,onPressStart:r,...o}=C;return{...(0,W.d)(o,{isDisabled:l},e),ref:tG(t,b)}}}}(n),[o,i]=k.Children.toArray(t);return(0,w.jsx)(eZ,{value:r,children:(0,w.jsxs)(nk,{...r.getPopoverProps(),children:[o,i]})})};nT.displayName="NextUI.Dropdown";var nC=(0,K.Gp)((e,t)=>{var n;let{as:r,className:o,children:i,isActive:a,...s}=e,l=(0,B.gy)(t),{slots:u,classNames:d}=N(),c=(0,I.W)(null==d?void 0:d.item,o);return(0,w.jsx)(r||"li",{ref:l,className:null==(n=u.item)?void 0:n.call(u,{class:c}),"data-active":(0,F.PB)(a),...s,children:i})});nC.displayName="NextUI.NavbarItem";var nP=n(32922),nj=(0,K.Gp)((e,t)=>{let{triggerRef:n,getTriggerProps:r}=tJ(),{children:o,...i}=e,a=(0,k.useMemo)(()=>"string"==typeof o?(0,w.jsx)("p",{children:o}):k.Children.only(o),[o]),{onPress:s,isDisabled:l,...u}=(0,k.useMemo)(()=>r((0,W.d)(i,a.props),a.ref),[r,a.props,i,a.ref]),[,d]=ez(o,nP.A),{buttonProps:c}=(0,eH.j)({onPress:s,isDisabled:l},n),f=(0,k.useMemo)(()=>(null==d?void 0:d[0])!==void 0,[d]);return(0,k.cloneElement)(a,(0,W.d)(u,f?{onPress:s,isDisabled:l}:c))});nj.displayName="NextUI.PopoverTrigger";var nS=(0,K.Gp)((e,t)=>{let{getMenuTriggerProps:n}=eY(),{children:r,...o}=e;return(0,w.jsx)(nj,{...n(o),children:r})});nS.displayName="NextUI.DropdownTrigger";var nL=n(55982),nA=n(47985),nM=(0,K.Gp)((e,t)=>{let{as:n,children:r,className:o,...i}=e,{Component:a,isOpen:s,placement:l,backdrop:u,motionProps:d,disableAnimation:c,shouldBlockScroll:f,getPopoverProps:p,getDialogProps:m,getBackdropProps:g,getContentProps:h,isNonModal:v,onClose:y}=tJ(),b=(0,k.useRef)(null),{dialogProps:x,titleProps:E}=(0,nA.R)({},b),T=m({ref:b,...x,...i}),C=(0,w.jsxs)(w.Fragment,{children:[!v&&(0,w.jsx)(nL.U,{onDismiss:y}),(0,w.jsx)(n||a||"div",{...T,children:(0,w.jsx)("div",{...h({className:o}),children:"function"==typeof r?r(E):r})}),(0,w.jsx)(nL.U,{onDismiss:y})]}),P=(0,k.useMemo)(()=>"transparent"===u?null:c?(0,w.jsx)("div",{...g()}):(0,w.jsx)(O.X,{features:z.H,children:(0,w.jsx)(_.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:eA.y7.fade,...g()})}
6),[u,c,g]),j=(0,w.jsx)(ej,{enabled:f&&s,removeScrollBar:!1,children:c?C:(0,w.jsx)(O.X,{features:z.H,children:(0,w.jsx)(_.m.div,{animate:"enter",exit:"exit",initial:"initial",style:{...nc("center"===l?"top":l)},variants:eA.y7.scaleSpringOpacity,...d,children:C})})});return(0,w.jsxs)("div",{...p(),children:[P,j]})});nM.displayName="NextUI.PopoverContent";var nN=n(27816),nD=n(10585),nK=n(24703);let nB=k.createContext(null),nI=null;function nF(e){let t,n,{children:r,contain:o,restoreFocus:i,autoFocus:a}=e,s=(0,k.useRef)(null),l=(0,k.useRef)(null),u=(0,k.useRef)([]),{parentNode:d}=(0,k.useContext)(nB)||{},c=(0,k.useMemo)(()=>new nZ({scopeRef:u}),[u]);(0,nK.b)(()=>{let e=d||nY.root;if(nY.getTreeNode(e.scopeRef)&&nI&&!n$(nI,e.scopeRef)){let t=nY.getTreeNode(nI);t&&(e=t)}e.addChild(c),nY.addNode(c)},[c,d]),(0,nK.b)(()=>{let e=nY.getTreeNode(u);e&&(e.contain=!!o)},[o]),(0,nK.b)(()=>{var e;let t=null===(e=s.current)||void 0===e?void 0:e.nextSibling,n=[];for(;t&&t!==l.current;)n.push(t),t=t.nextSibling;u.current=n},[r]),(0,nK.b)(()=>{if(i||o)return;let e=u.current,t=(0,nD.r)(e?e[0]:void 0),n=e=>{let t=e.target;nH(t,u.current)?nI=u:nV(t)||(nI=null)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[u,i,o]),t=(0,k.useRef)(),n=(0,k.useRef)(),(0,nK.b)(()=>{let e=u.current;if(!o){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let r=(0,nD.r)(e?e[0]:void 0),i=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!nW(u)||e.isComposing)return;let t=r.activeElement,n=u.current;if(!n||!nH(t,n))return;let o=nq(n_(n),{tabbable:!0},n);if(!t)return;o.currentNode=t;let i=e.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,i=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),i&&nU(i,!0)},a=e=>{(!nI||n$(nI,u))&&nH(e.target,u.current)?(nI=u,t.current=e.target):nW(u)&&!nV(e.target,u)?t.current?t.current.focus():nI&&nI.current&&nG(nI.current):nW(u)&&(t.current=e.target)},s=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(r.activeElement&&nW(u)&&!nV(r.activeElement,u)){if(nI=u,r.body.contains(e.target)){var n;t.current=e.target,null===(n=t.current)||void 0===n||n.focus()}else nI.current&&nG(nI.current)}})};return r.addEventListener("keydown",i,!1),r.addEventListener("focusin",a,!1),null==e||e.forEach(e=>e.addEventListener("focusin",a,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{r.removeEventListener("keydown",i,!1),r.removeEventListener("focusin",a,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",a,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[u,o]),(0,nK.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let r=(0,k.useRef)("undefined"!=typeof document?(0,nD.r)(e.current?e.current[0]:void 0).activeElement:null);(0,nK.b)(()=>{let r=e.current,o=(0,nD.r)(r?r[0]:void 0);if(!t||n)return;let i=()=>{(!nI||n$(nI,e))&&nH(o.activeElement,e.current)&&(nI=e)};return o.addEventListener("focusin",i,!1),null==r||r.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,n]),(0,nK.b)(()=>{let r=(0,nD.r)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!nW(e)||t.isComposing)return;let n=r.activeElement;if(!nH(n,e.current))return;let o=nY.getTreeNode(e);if(!o)return;let i=o.nodeToRestore,a=nq(r.body,{tabbable:!0});a.currentNode=n;let s=t.shiftKey?a.previousNode():a.nextNode();if(i&&r.body.contains(i)&&i!==r.body||(i=void 0,o.nodeToRestore=void 0),(!s||!nH(s,e.current))&&i){a.currentNode=i;do s=t.shiftKey?a.previousNode():a.nextNode();while(nH(s,e.current));(t.preventDefault(),t.stopPropagation(),s)?nU(s,!0):nV(i)?nU(i,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}},[e,t,n]),(0,nK.b)(()=>{var n;let o=(0,nD.r)(e.current?e.current[0]:void 0);if(!t)return;let i=nY.getTreeNode(e);if(i)return i.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=nY.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(nH(o.activeElement,e.current)||o.activeElement===o.body&&function(e){let t=nY.getTreeNode(nI);for(;t&&t.scopeRef!==e;
6){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=nY.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){nU(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&nY.getTreeNode(n.scopeRef)){nG(n.scopeRef.current,!0);return}n=n.parent}}})}}},[e,t])}(u,i,o),function(e,t){let n=k.useRef(t);(0,k.useEffect)(()=>{n.current&&(nI=e,!nH((0,nD.r)(e.current?e.current[0]:void 0).activeElement,nI.current)&&e.current&&nG(e.current)),n.current=!1},[e])}(u,a),(0,k.useEffect)(()=>{let e=(0,nD.r)(u.current?u.current[0]:void 0).activeElement,t=null;if(nH(e,u.current)){for(let n of nY.traverse())n.scopeRef&&nH(e,n.scopeRef.current)&&(t=n);t===nY.getTreeNode(u)&&(nI=t.scopeRef)}},[u]),(0,nK.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=nY.getTreeNode(u))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(u===nI||n$(u,nI))&&(!r||nY.getTreeNode(r))&&(nI=r),nY.removeTreeNode(u)},[u]);let f=(0,k.useMemo)(()=>({focusNext(e={}){let t=u.current,{from:n,tabbable:r,wrap:o,accept:i}=e,a=n||(0,nD.r)(t[0]).activeElement,s=t[0].previousElementSibling,l=nq(n_(t),{tabbable:r,accept:i},t);l.currentNode=nH(a,t)?a:s;let d=l.nextNode();return!d&&o&&(l.currentNode=s,d=l.nextNode()),d&&nU(d,!0),d},focusPrevious(e={}){let t=u.current,{from:n,tabbable:r,wrap:o,accept:i}=e,a=n||(0,nD.r)(t[0]).activeElement,s=t[t.length-1].nextElementSibling,l=nq(n_(t),{tabbable:r,accept:i},t);l.currentNode=nH(a,t)?a:s;let d=l.previousNode();return!d&&o&&(l.currentNode=s,d=l.previousNode()),d&&nU(d,!0),d},focusFirst(e={}){let t=u.current,{tabbable:n,accept:r}=e,o=nq(n_(t),{tabbable:n,accept:r},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&nU(i,!0),i},focusLast(e={}){let t=u.current,{tabbable:n,accept:r}=e,o=nq(n_(t),{tabbable:n,accept:r},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&nU(i,!0),i}}),[]),p=(0,k.useMemo)(()=>({focusManager:f,parentNode:c}),[c,f]);return k.createElement(nB.Provider,{value:p},k.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),r,k.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}let nR=["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]"],nO=nR.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";nR.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let nz=nR.join(':not([hidden]):not([tabindex="-1"]),');function n_(e){return e[0].parentElement}function nW(e){let t=nY.getTreeNode(nI);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function nH(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function nV(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of nY.traverse(nY.getTreeNode(t)))if(n&&nH(e,n.current))return!0;return!1}function n$(e,t){var n;let r=null===(n=nY.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function nU(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{(0,nN.e)(e)}catch(e){}}function nG(e,t=!0){let n=e[0].previousElementSibling,r=n_(e),o=nq(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();t&&!i&&((o=nq(r=n_(e),{tabbable:!1},e)).currentNode=n,i=o.nextNode()),nU(i)}function nq(e,t,n){let r=(null==t?void 0:t.tabbable)?nz:nO,o=(0,nD.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,nD.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);
6o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||nH(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class nX{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new nZ({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&nH(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new nX;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new nZ({scopeRef:null}),this.fastMap.set(null,this.root)}}class nZ{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let nY=new nX;function nJ(e){let{isSelected:t,disableAnimation:n,...r}=e;return(0,w.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...r,children:(0,w.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:n?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var nQ=(0,eD.tv)({slots:{base:"w-full relative flex flex-col gap-1 p-1",list:"w-full flex flex-col gap-0.5 outline-none",emptyContent:["h-10","px-2","py-1.5","w-full","h-full","text-foreground-400","text-start"]}}),n0=(0,eD.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","subpixel-antialiased","outline-none","cursor-pointer","tap-highlight-transparent",...eK.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:["border-small border-transparent hover:border-default data-[hover=true]:bg-default-100","data-[selectable=true]:focus:border-default data-[selectable=true]:focus:bg-default-100"]},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},showDivider:{true:{base:["mb-1.5","after:content-['']","after:absolute","after:-bottom-1","after:left-0","after:right-0","after:h-divider","after:bg-divider"]},false:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{base:"data-[hover=true]:transition-colors"}}},defaultVariants:{variant:"solid",color:"default",showDivider:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:["data-[hover=true]:bg-default","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"solid",color:"primary",class:{base:["data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"solid",color:"secondary",class:{base:["data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"solid",color:"success",class:{base:["data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"solid",color:"warning",class:{base:["data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"solid",color:"danger",class:{base:["data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"shadow",color:"default",class:{base:["data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:shadow-default/50 data-[selectable=true]:focus:bg-default data-[selectable=true]:focus:text-default-foreground"]}},{variant:"shadow",color:"primary",class:{base:["data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:shadow-primary/30 data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"shadow",color:"secondary",class:{base:["data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:shadow-secondary/30 data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"shadow",color:"success",class:{base:["data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:shadow-success/30 data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"shadow",color:"warning",class:{base:["data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:shadow-warning/30 data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"shadow",color:"danger",class:{base:["data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:shadow-danger/30 data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"bordered",color:"default",class:{base:["data-[hover=true]:border-default","data-[selectable=true]:focus:border-default"]}},{variant:"bordered",color:"primary",class:{base:["data-[hover=true]:border-primary data-[hover=true]:text-primary","data-[selectable=true]:focus:border-primary data-[selectable=true]:focus:text-primary"]}},{variant:"bordered",color:"secondary",class:{base:["data-[hover=true]:border-secondary data-[hover=true]:text-secondary","data-[selectable=true]:focus:border-secondary data-[selectable=true]:focus:text-secondary"]}},{variant:"bordered",color:"success",class:{base:["data-[hover=true]:border-success data-[hover=true]:text-success","data-[selectable=true]:focus:border-success data-[selectable=true]:focus:text-success"]}},{variant:"bordered",color:"warning",class:{base:["data-[hover=true]:border-warning data-[hover=true]:text-warning","data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"]}},{variant:"bordered",color:"danger",class:{base:["data-[hover=true]:border-danger data-[hover=true]:text-danger","data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"]}},{variant:"flat",color:"default",class:{base:["data-[hover=true]:bg-default/40","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default/40","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"flat",color:"primary",class:{base:["data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary","data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"]}},{variant:"flat",color:"secondary",class:{base:["data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary","data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"]}},{variant:"flat",color:"success",class:{base:["data-[hover=true]:bg-success/20 data-[hover=true]:text-success","data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"]}},{variant:"flat",color:"warning",class:{base:["data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning","data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"]}},{variant:"flat",color:"danger",class:{base:["data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger","data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"]}},{variant:"faded",color:"default",class:{base:["data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"faded",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"faded",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"faded",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"faded",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"faded",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}},{variant:"light",color:"default",class:{base:["data-[hover=true]:text-default-500","data-[selectable=true]:focus:text-default-500"]}},{variant:"light",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"light",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"light",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"light",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"light",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}}]}),n1=(0,eD.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}}),n4=n(40974);function n3(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function n2(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function n5(e){let t=null;return()=>(null==t&&(t=e()),t)}let n6=n5(function(){return n2(/^Mac/i)}),n8=n5(function(){return n2(/^iPhone/i)}),n7=n5(function(){return n2(/^iPad/i)||n6()&&navigator.maxTouchPoints>1}),n9=n5(function(){return n8()||n7()}),re=n5(function(){return n6()||n9()}
6),rt=n5(function(){return n3(/AppleWebKit/i)&&!rn()}),rn=n5(function(){return n3(/Chrome/i)}),rr=n5(function(){return n3(/Android/i)}),ro=n5(function(){return n3(/Firefox/i)});function ri(e){return re()?e.altKey:e.ctrlKey}function ra(e){return n6()?e.metaKey:e.ctrlKey}var rs=n(91926);let rl=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},ru=e=>e&&"window"in e&&e.window===e?e:rl(e).defaultView||window,rd=["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]"],rc=rd.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";rd.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let rf=rd.join(':not([hidden]):not([tabindex="-1"]),');class rp{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new rm({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&function(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new rp;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new rm({scopeRef:null}),this.fastMap.set(null,this.root)}}class rm{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new rp;let rg=new Map,rh=new Set;function rv(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=rg.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),rg.delete(n.target)),0===rg.size)){for(let e of rh)e();rh.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=rg.get(n.target);r||(r=new Set,rg.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function ry(e){if(function(){if(null==rb){rb=!1;try{document.createElement("div").focus({get preventScroll(){return rb=!0,!0}})}catch(e){}}return rb}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?rv():document.addEventListener("DOMContentLoaded",rv));let rb=null;function rw(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function rx(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function rE(e){let t=null;return()=>(null==t&&(t=e()),t)}let rk=rE(function(){return rx(/^Mac/i)}),rT=rE(function(){return rx(/^iPhone/i)}),rC=rE(function(){return rx(/^iPad/i)||rk()&&navigator.maxTouchPoints>1}),rP=rE(function(){return rT()||rC()});rE(function(){return rk()||rP()}
6),rE(function(){return rw(/AppleWebKit/i)&&!rj()});let rj=rE(function(){return rw(/Chrome/i)}),rS=rE(function(){return rw(/Android/i)});rE(function(){return rw(/Firefox/i)});let rL=null,rA=new Set,rM=new Map,rN=!1,rD=!1;function rK(e,t){for(let n of rA)n(e,t)}function rB(e){rN=!0,e.metaKey||!rk()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(rL="keyboard",rK("keyboard",e))}function rI(e){rL="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(rN=!0,rK("pointer",e))}function rF(e){(0===e.mozInputSource&&e.isTrusted||(rS()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(rN=!0,rL="virtual")}function rR(e){e.target!==window&&e.target!==document&&(rN||rD||(rL="virtual",rK("virtual",e)),rN=!1,rD=!1)}function rO(){rN=!1,rD=!0}function rz(e){if("undefined"==typeof window||rM.get(ru(e)))return;let t=ru(e),n=rl(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){rN=!0,r.apply(this,arguments)},n.addEventListener("keydown",rB,!0),n.addEventListener("keyup",rB,!0),n.addEventListener("click",rF,!0),t.addEventListener("focus",rR,!0),t.addEventListener("blur",rO,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",rI,!0),n.addEventListener("pointermove",rI,!0),n.addEventListener("pointerup",rI,!0)):(n.addEventListener("mousedown",rI,!0),n.addEventListener("mousemove",rI,!0),n.addEventListener("mouseup",rI,!0)),t.addEventListener("beforeunload",()=>{r_(e)},{once:!0}),rM.set(t,{focus:r})}let r_=(e,t)=>{let n=ru(e),r=rl(e);t&&r.removeEventListener("DOMContentLoaded",t),rM.has(n)&&(n.HTMLElement.prototype.focus=rM.get(n).focus,r.removeEventListener("keydown",rB,!0),r.removeEventListener("keyup",rB,!0),r.removeEventListener("click",rF,!0),n.removeEventListener("focus",rR,!0),n.removeEventListener("blur",rO,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",rI,!0),r.removeEventListener("pointermove",rI,!0),r.removeEventListener("pointerup",rI,!0)):(r.removeEventListener("mousedown",rI,!0),r.removeEventListener("mousemove",rI,!0),r.removeEventListener("mouseup",rI,!0)),rM.delete(n))};function rW(e){let t=rl(e);if("virtual"===rL){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&ry(e)},requestAnimationFrame(()=>{0===rg.size?n():rh.add(n)})}else ry(e)}function rH(e){if(function(){if(null==rV){rV=!1;try{document.createElement("div").focus({get preventScroll(){return rV=!0,!0}})}catch(e){}}return rV}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&function(e){let t;let n=rl(void 0);"loading"!==n.readyState?rz(void 0):(t=()=>{rz(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>r_(e,t)}();let rV=null,r$=(0,k.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}(e,e=>rG(e,t))},useHref:e=>e});function rU(){return(0,k.useContext)(r$)}function rG(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;ro()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(n6()?i=!0:a=!0);let u=rt()&&n6()&&!n7()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});rG.isOpening=n,rH(e),e.dispatchEvent(u),rG.isOpening=!1}rG.isOpening=!1;let rq="undefined"!=typeof document?k.useLayoutEffect:()=>{};function rX(e){let t=(0,k.useRef)(null);return rq(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)}
6,[])}function rZ(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function rY(e,t){let n=rJ(e,t,"left"),r=rJ(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),c=e.scrollTop+parseInt(l,10),f=d+e.clientWidth,p=c+e.clientHeight;n<=a?a=n-parseInt(u,10):n+o>f&&(a+=n+o-f),r<=c?s=r-parseInt(l,10):r+i>p&&(s+=r+i-p),e.scrollLeft=a,e.scrollTop=s}function rJ(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function rQ(e,t){if(document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)rZ(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))rY(t,e);else{var n,r,o,i;let{left:a,top:s}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();(Math.abs(a-l)>1||Math.abs(s-u)>1)&&(null==t||null===(o=t.containingElement)||void 0===o||null===(r=o.scrollIntoView)||void 0===r||r.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"}))}}}function r0(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let r1=new Map;function r4(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=r0(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=r1.get(e);if(n)return n.forEach(e=>e(t)),t;let r=r1.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}function r3(e){return 0===e.mozInputSource&&!!e.isTrusted||(rr()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let r2=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},r5=e=>e&&"window"in e&&e.window===e?e:r2(e).defaultView||window,r6=null,r8=new Set,r7=new Map,r9=!1,oe=!1;function ot(e,t){for(let n of r8)n(e,t)}function on(e){r9=!0,e.metaKey||!n6()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(r6="keyboard",ot("keyboard",e))}
6function or(e){r6="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(r9=!0,ot("pointer",e))}function oo(e){r3(e)&&(r9=!0,r6="virtual")}function oi(e){e.target!==window&&e.target!==document&&(r9||oe||(r6="virtual",ot("virtual",e)),r9=!1,oe=!1)}function oa(){r9=!1,oe=!0}function os(e){if("undefined"==typeof window||r7.get(r5(e)))return;let t=r5(e),n=r2(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){r9=!0,r.apply(this,arguments)},n.addEventListener("keydown",on,!0),n.addEventListener("keyup",on,!0),n.addEventListener("click",oo,!0),t.addEventListener("focus",oi,!0),t.addEventListener("blur",oa,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",or,!0),n.addEventListener("pointermove",or,!0),n.addEventListener("pointerup",or,!0)):(n.addEventListener("mousedown",or,!0),n.addEventListener("mousemove",or,!0),n.addEventListener("mouseup",or,!0)),t.addEventListener("beforeunload",()=>{ol(e)},{once:!0}),r7.set(t,{focus:r})}let ol=(e,t)=>{let n=r5(e),r=r2(e);t&&r.removeEventListener("DOMContentLoaded",t),r7.has(n)&&(n.HTMLElement.prototype.focus=r7.get(n).focus,r.removeEventListener("keydown",on,!0),r.removeEventListener("keyup",on,!0),r.removeEventListener("click",oo,!0),n.removeEventListener("focus",oi,!0),n.removeEventListener("blur",oa,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",or,!0),r.removeEventListener("pointermove",or,!0),r.removeEventListener("pointerup",or,!0)):(r.removeEventListener("mousedown",or,!0),r.removeEventListener("mousemove",or,!0),r.removeEventListener("mouseup",or,!0)),r7.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=r2(void 0);"loading"!==n.readyState?os(void 0):(t=()=>{os(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>ol(e,t)}();let ou=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),od=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),oc=Symbol.for("react-aria.i18n.locale");function of(){let e="undefined"!=typeof window&&window[oc]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return ou.has(t.script)}let t=e.split("-")[0];return od.has(t)}(e)?"ltr":"rtl"}}let op=of(),om=new Set;function og(){for(let e of(op=of(),om))e(op)}let oh=k.createContext(null);function ov(){let e=function(){let e=(0,e0.Av)(),[t,n]=(0,k.useState)(op);return((0,k.useEffect)(()=>(0===om.size&&window.addEventListener("languagechange",og),om.add(n),()=>{om.delete(n),0===om.size&&window.removeEventListener("languagechange",og)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,k.useContext)(oh)||e}class oy{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null===(t=e.props)||void 0===t?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}getNextKey(e){for(e=this.collection.getKeyAfter(e);null!=e;){let t=this.collection.getItem(e);if("item"===t.type&&!this.isDisabled(t))return e;e=this.collection.getKeyAfter(e)}return null}getPreviousKey(e){for(e=this.collection.getKeyBefore(e);null!=e;){let t=this.collection.getItem(e);if("item"===t.type&&!this.isDisabled(t))return e;e=this.collection.getKeyBefore(e)}return null}findKey(e,t,n){let r=this.getItem(e);if(!r)return null;let o=r.getBoundingClientRect();do e=t(e),r=this.getItem(e);while(r&&n(o,r.getBoundingClientRect()));return e}isSameRow(e,t){return e.top===t.top||e.left!==t.left}isSameColumn(e,t){return e.left===t.left||e.top!==t.top}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();for(;null!=e;){let t=this.collection.getItem(e);if((null==t?void 0:t.type)==="item"&&!this.isDisabled(t))return e;e=this.collection.getKeyAfter(e)}return null}getLastKey(){let e=this.collection.getLastKey();for(;null!=e;){let t=this.collection.getItem(e);if("item"===t.type&&!this.isDisabled(t))return e;e=this.collection.getKeyBefore(e)}return null}getItem(e){return null!==e?this.ref.current.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null}getKeyPageAbove(e){let t=this.ref.current,n=this.getItem(e);if(!n)return null;if(!rZ(t))return this.getFirstKey();let r=t.getBoundingClientRect(),o=n.getBoundingClientRect();if("horizontal"===this.orientation){let i=r.x-t.scrollLeft,a=Math.max(0,o.x-i+o.width-r.width);for(;n&&o.x-i>a;
6)o=null==(n=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}else{let i=r.y-t.scrollTop,a=Math.max(0,o.y-i+o.height-r.height);for(;n&&o.y-i>a;)o=null==(n=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}return null!=e?e:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,n=this.getItem(e);if(!n)return null;if(!rZ(t))return this.getLastKey();let r=t.getBoundingClientRect(),o=n.getBoundingClientRect();if("horizontal"===this.orientation){let i=r.x-t.scrollLeft,a=Math.min(t.scrollWidth,o.x-i-o.width+r.width);for(;n&&o.x-i<a;)o=null==(n=null==(e=this.getKeyBelow(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}else{let i=r.y-t.scrollTop,a=Math.min(t.scrollHeight,o.y-i-o.height+r.height);for(;n&&o.y-i<a;)o=null==(n=null==(e=this.getKeyBelow(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}return null!=e?e:this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t||this.getFirstKey();for(;null!=r;){let t=n.getItem(r),o=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(o,e))return r;r=this.getKeyBelow(r)}return null}constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation,this.direction=t.direction,this.layout=t.layout||"stack"}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all";"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}let ob=new Map;var ow=new WeakMap,ox=n(34911),oE=n(85847);let ok=new WeakMap;var oT=n(45571),oC=n(6038),oP=n(63262),oj=n(53808);let oS=null,oL=new Set,oA=new Map,oM=!1,oN=!1;function oD(e,t){for(let n of oL)n(e,t)}function oK(e){oM=!0,e.metaKey||!(0,oC.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(oS="keyboard",oD("keyboard",e))}
6function oB(e){oS="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(oM=!0,oD("pointer",e))}function oI(e){(0,oP.Z)(e)&&(oM=!0,oS="virtual")}function oF(e){e.target!==window&&e.target!==document&&(oM||oN||(oS="virtual",oD("virtual",e)),oM=!1,oN=!1)}function oR(){oM=!1,oN=!0}function oO(e){if("undefined"==typeof window||oA.get((0,oj.k)(e)))return;let t=(0,oj.k)(e),n=(0,oj.r)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){oM=!0,r.apply(this,arguments)},n.addEventListener("keydown",oK,!0),n.addEventListener("keyup",oK,!0),n.addEventListener("click",oI,!0),t.addEventListener("focus",oF,!0),t.addEventListener("blur",oR,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",oB,!0),n.addEventListener("pointermove",oB,!0),n.addEventListener("pointerup",oB,!0)):(n.addEventListener("mousedown",oB,!0),n.addEventListener("mousemove",oB,!0),n.addEventListener("mouseup",oB,!0)),t.addEventListener("beforeunload",()=>{oz(e)},{once:!0}),oA.set(t,{focus:r})}let oz=(e,t)=>{let n=(0,oj.k)(e),r=(0,oj.r)(e);t&&r.removeEventListener("DOMContentLoaded",t),oA.has(n)&&(n.HTMLElement.prototype.focus=oA.get(n).focus,r.removeEventListener("keydown",oK,!0),r.removeEventListener("keyup",oK,!0),r.removeEventListener("click",oI,!0),n.removeEventListener("focus",oF,!0),n.removeEventListener("blur",oR,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",oB,!0),r.removeEventListener("pointermove",oB,!0),r.removeEventListener("pointerup",oB,!0)):(r.removeEventListener("mousedown",oB,!0),r.removeEventListener("mousemove",oB,!0),r.removeEventListener("mouseup",oB,!0)),oA.delete(n))};function o_(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}"undefined"!=typeof document&&function(e){let t;let n=(0,oj.r)(void 0);"loading"!==n.readyState?oO(void 0):(t=()=>{oO(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>oz(e,t)}();var oW=n(60554),oH=n(53163);class oV{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function o$(e){let t=(0,k.useRef)({isFocused:!1,observer:null});(0,oW.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,oH.i)(t=>{null==e||e(t)});return(0,k.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new oV("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let oU=new Map,oG=new Set;function oq(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=oU.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),oU.delete(n.target)),0===oU.size)){for(let e of oG)e();oG.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=oU.get(n.target);r||(r=new Set,oU.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?oq():document.addEventListener("DOMContentLoaded",oq));let oX="default",oZ="",oY=new WeakMap;function oJ(e){if(n9()){if("default"===oX){let t=r2(e);oZ=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}oX="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(oY.set(e,e.style.userSelect),e.style.userSelect="none")}function oQ(e){if(n9())"disabled"===oX&&(oX="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===oX){let t=r2(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=oZ||""),oZ="",oX="default"}},requestAnimationFrame(()=>{0===oU.size?t():oG.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&oY.has(e)){let t=
6oY.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),oY.delete(e)}}let o0=k.createContext({register:()=>{}});function o1(){let e=(0,k.useRef)(new Map),t=(0,k.useCallback)((t,n,r,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,r,o)},[]),n=(0,k.useCallback)((t,n,r,o)=>{var i;let a=(null===(i=e.current.get(r))||void 0===i?void 0:i.fn)||r;t.removeEventListener(n,a,o),e.current.delete(r)},[]),r=(0,k.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,k.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}o0.displayName="PressResponderContext";var o4=new WeakMap;class o3{continuePropagation(){(0,tb._)(this,o4,!1)}get shouldStopPropagation(){return(0,tv._)(this,o4)}constructor(e,t,n,r){var o;(0,ty._)(this,o4,{writable:!0,value:void 0}),(0,tb._)(this,o4,!0);let i=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let o2=Symbol("linkClicked");function o5(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:c,...f}=function(e){var t;let n=(0,k.useContext)(o0);if(n){let{register:t,...r}=n;e=r4(r,e),t()}return t=e.ref,rq(()=>{if(n&&n.ref&&t)return n.ref.current=t.current,()=>{n.ref&&(n.ref.current=null)}}),e}(e),[p,m]=(0,k.useState)(!1),g=(0,k.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:v}=o1(),y=rX((e,t)=>{let o=g.current;if(a||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,r){let n=new o3("pressstart",t,e);r(n),i=n.shouldStopPropagation}return n&&n(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,m(!0),i}),b=rX((e,r,i=!0)=>{let s=g.current;if(!s.didFirePressStart)return!1;s.ignoreClickAfterPress=!0,s.didFirePressStart=!1,s.isTriggeringEvent=!0;let l=!0;if(o){let t=new o3("pressend",r,e);o(t),l=t.shouldStopPropagation}if(n&&n(!1),m(!1),t&&i&&!a){let n=new o3("press",r,e);t(n),l&&(l=n.shouldStopPropagation)}return s.isTriggeringEvent=!1,l}),w=rX((e,t)=>{let n=g.current;if(a)return!1;if(i){n.isTriggeringEvent=!0;let r=new o3("pressup",t,e);return i(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),x=rX(e=>{let t=g.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&b(ie(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,v(),d||oQ(t.target))}),E=rX(e=>{u&&x(e)}),T=(0,k.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(o8(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;ii(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=y(t,"keyboard");let r=t.currentTarget;h(r2(t.currentTarget),"keyup",r0(t=>{o8(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&w(ie(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&n6()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!rG.isOpening){let n=!0;if(a&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||r3(t.nativeEvent))){a||l||rH(t.currentTarget);let e=y(t,"virtual"),r=w(t,"virtual"),o=b(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;
6if(e.isPressed&&e.target&&o8(t,e.target)){ii(t.target,t.key)&&t.preventDefault();let n=t.target;b(ie(e.target,t),"keyboard",e.target.contains(n)),v(),"Enter"!==t.key&&o6(e.target)&&e.target.contains(n)&&!t[o2]&&(t[o2]=!0,rG(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!rr()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}ir(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let s=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,a||l||rH(t.currentTarget),d||oJ(e.target),s=y(t,e.pointerType),h(r2(t.currentTarget),"pointermove",n,!1),h(r2(t.currentTarget),"pointerup",r,!1),h(r2(t.currentTarget),"pointercancel",i,!1)),s&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(ir(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&it(t,t.currentTarget)&&w(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&it(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,y(ie(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,b(ie(e.target,t),e.pointerType,!1),E(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(it(t,e.target)&&null!=e.pointerType?b(ie(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&b(ie(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,v(),d||oQ(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&h(e.target,"touchend",o,{once:!0}))},o=e=>{io(e.currentTarget)&&e.preventDefault()},i=e=>{x(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(ir(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=r3(t.nativeEvent)?"virtual":"mouse",a||l||rH(t.currentTarget),y(t,e.pointerType)&&t.stopPropagation(),h(r2(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=y(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=b(t,e.pointerType,!1),E(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&w(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,v(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&it(t,e.target)&&null!=e.pointerType?b(ie(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&b(ie(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",a||l||rH(t.currentTarget),d||oJ(e.target),y(o9(e.target,t),e.pointerType)&&t.stopPropagation(),h(r5(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=o7(t.nativeEvent,e.activePointerId),r=!0;n&&it(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=y(o9(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=b
6(o9(e.target,t),e.pointerType,!1),E(o9(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=o7(t.nativeEvent,e.activePointerId),r=!0;n&&it(n,t.currentTarget)&&null!=e.pointerType?(w(o9(e.target,t),e.pointerType),r=b(o9(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=b(o9(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!d&&oQ(e.target),v()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&x(o9(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&x({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}return t},[h,a,l,v,d,x,E,b,y,w]);return(0,k.useEffect)(()=>()=>{var e;d||oQ(null!==(e=g.current.target)&&void 0!==e?e:void 0)},[d]),{isPressed:s||p,pressProps:r4(f,T)}}function o6(e){return"A"===e.tagName&&e.hasAttribute("href")}function o8(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof r5(t).HTMLInputElement&&!is(t,n)||t instanceof r5(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&o6(t))&&"Enter"!==n)}function o7(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function o9(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function ie(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function it(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function ir(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function io(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!o6(e))}function ii(e,t){return e instanceof HTMLInputElement?!is(e,t):io(e)}let ia=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function is(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ia.has(e.type)}let il=0,iu=new Map;function id(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function ic(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}let ip={prefix:String(Math.round(1e10*Math.random())),current:0},im=(k.createContext(ip),k.createContext(!1));function ig(){return!1}function ih(){return!0}function iv(e){return()=>{}}"undefined"!=typeof window&&window.document&&window.document.createElement,new WeakMap,k.useId;var iy=n(22164),ib=(0,K.Gp)((e,t)=>{let{Component:n,slots:r,classNames:o,rendered:i,shortcut:a,description:s,isSelectable:l,isSelected:u,isDisabled:d,selectedIcon:c,startContent:f,endContent:p,disableAnimation:m,hideSelectedIcon:g,getItemProps:h,getLabelProps:v,getDescriptionProps:y,getKeyboardShortcutProps:b,getSelectedIconProps:x}=function(e){var t,n;let r=(0,eN.w)(),[o,i]=(0,K.oe)(e,n0.variantKeys),{as:a,item:s,state:l,shortcut:u,description:d,startContent:c,endContent:f,isVirtualized:p,selectedIcon:m,className:g,classNames:h,onAction:v,autoFocus:y,onClick:b,onPress:w,onPressStart:x,onPressUp:E,onPressEnd:T,onPressChange:C,hideSelectedIcon:P=!1,isReadOnly:j=!1,closeOnSelect:S,onClose:L,...A}=o,M=null!=(n=null!=(t=e.disableAnimation)?t:null==r?void 0:r.disableAnimation)&&n,N=(0,k.useRef)(null),D=a||((null==A?void 0:A.href)?"a":"li"),B="string"==typeof D,{rendered:R,key:O}=s,z=l.disabledKeys.has(O)||e.isDisabled,_="none"!==l.selectionManager.selectionMode,H=!("function"==typeof k.useSyncExternalStore?k.useSyncExternalStore(iv,ig,ih):(0,k.useContext)(im))&&"undefined"!=typeof window&&window.screen.width<=700,{isFocusVisible:V,focusProps:$}=(0,eU.F)({autoFocus:y}),{isHovered:U,isPressed:G,isFocused:q,isSelected:X,menuItemProps:Z,labelProps:Y,descriptionProps:J,keyboardShortcutProps:Q}=function(e,t,n){var r,o,i;let{key:a,closeOnSelect:s,isVirtualized:l,"aria-haspopup":u,onPressStart:d,onPressUp:c,onPress:f,onPressChange:p,onPressEnd:m,onHoverStart:g,onHoverChange:h,onHoverEnd:v,onKeyDown:y,onKeyUp:b,onFocus:w,onFocusChange:x,onBlur:E,onClick:T}=e,C=!!u,P=null!=(r=e.isDisabled)?r:t.selectionManager.isDisabled(a),j=null!=(o=e.isSelected)?o:t.selectionManager.isSelected(a),S=ow.get(t),L=t.collection.getItem(a),A=e.onClose||S.onClose,M=(0,ox.tv)(),N=t=>{var n;!C&&((null==(n=null==L?void 0:L.props)?void 0:n.onAction)&&L.props.onAction(),e.onAction?e.onAction(a,L):S.onAction&&S.onAction(a,L),t.target instanceof HTMLAnchorElement&&M.open(t.target,t,L.props.href,L.props.routerOptions))},D="menuitem";C||("single"===t.selectionManager.selectionMode?D="menuitemradio":"multiple"!==t.selectionManager.selectionMode||(D="menuitemcheckbox"));let K=(0,oE.mp)(),B=(0,oE.mp)(),I=(0,oE.mp)(),F={"aria-disabled":P||void 0,role:D,"aria-label":e["aria-label"],"aria-labelledby":K,"aria-describedby":[B,I].filter(
6Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":u,"aria-expanded":e["aria-expanded"]};"none"===t.selectionManager.selectionMode||C||(F["aria-checked"]=j),l&&(F["aria-posinset"]=null==L?void 0:L.index,F["aria-setsize"]=function(e){let t=ok.get(e);if(null!=t)return t;t=0;let n=r=>{for(let o of r)"section"===o.type?n("function"==typeof e.getChildren?e.getChildren(o.key):o.childNodes):t++};return n(e),ok.set(e,t),t}(t.collection));let{itemProps:R,isFocused:O}=function(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:i,focus:a,isDisabled:s,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:d="action"}=e,c=rU(),f=e=>{if("keyboard"===e.pointerType&&ri(e))t.toggleSelection(n);else{if("none"===t.selectionMode)return;if(t.isLink(n)){if("selection"===d){let o=t.getItemProps(n);c.open(r.current,e,o.href,o.routerOptions),t.setSelectedKeys(t.selectedKeys);return}if("override"===d||"none"===d)return}"single"===t.selectionMode?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):e&&e.shiftKey?t.extendSelection(n):"toggle"===t.selectionBehavior||e&&(ra(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?t.toggleSelection(n):t.replaceSelection(n)}};(0,k.useEffect)(()=>{n===t.focusedKey&&t.isFocused&&!i&&(a?a():document.activeElement!==r.current&&rW(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),s=s||t.isDisabled(n);let p={};i||s?s&&(p.onMouseDown=e=>{e.preventDefault()}):p={tabIndex:n===t.focusedKey?0:-1,onFocus(e){e.target===r.current&&t.setFocusedKey(n)}};let m=t.isLink(n)&&"override"===d,g=t.isLink(n)&&"selection"!==d&&"none"!==d,h=!s&&t.canSelectItem(n)&&!m,v=(l||g)&&!s,y=v&&("replace"===t.selectionBehavior?!h:!h||t.isEmpty),b=v&&h&&"replace"===t.selectionBehavior,w=y||b,x=(0,k.useRef)(null),E=w&&h,T=(0,k.useRef)(!1),C=(0,k.useRef)(!1),P=e=>{if(l&&l(),g){let o=t.getItemProps(n);c.open(r.current,e,o.href,o.routerOptions)}},j={};o?(j.onPressStart=e=>{x.current=e.pointerType,T.current=E,"keyboard"===e.pointerType&&(!w||ic())&&f(e)},u?(j.onPressUp=y?null:e=>{"keyboard"!==e.pointerType&&h&&f(e)},j.onPress=y?P:null):j.onPress=e=>{y||b&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||id())&&P(e):"keyboard"!==e.pointerType&&h&&f(e)}):(j.onPressStart=e=>{x.current=e.pointerType,T.current=E,C.current=y,h&&("mouse"===e.pointerType&&!y||"keyboard"===e.pointerType&&(!v||ic()))&&f(e)},j.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&w&&id()||"mouse"===e.pointerType&&C.current)&&(w?P(e):h&&f(e))}),p["data-key"]=n,j.preventFocusOnPress=i;let{pressProps:S,isPressed:L}=o5(j),A=b?e=>{"mouse"===x.current&&(e.stopPropagation(),e.preventDefault(),P(e))}:void 0,{longPressProps:M}=function(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:i=500,accessibilityDescription:a}=e,s=(0,k.useRef)(void 0),{addGlobalListener:l,removeGlobalListener:u}=o1(),{pressProps:d}=o5({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),s.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};l(e.target,"contextmenu",t,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{u(e.target,"contextmenu",t)}
6,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),r&&("mouse"===e.pointerType||"touch"===e.pointerType)&&r({...e,type:"longpressend"})}});return{longPressProps:r4(d,function(e){let[t,n]=(0,k.useState)();return rq(()=>{if(!e)return;let t=iu.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${il++}`;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},iu.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),iu.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(o&&!t?a:void 0))}}({isDisabled:!E,onLongPress(e){"touch"===e.pointerType&&(f(e),t.setSelectionBehavior("toggle"))}});return{itemProps:r4(p,h||y?S:{},E?M:{},{onDoubleClick:A,onDragStartCapture:e=>{"touch"===x.current&&T.current&&e.preventDefault()},onClick:t.isLink(n)?e=>{rG.isOpening||e.preventDefault()}:void 0}),isPressed:L,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:s,allowsSelection:h,hasAction:w}}({selectionManager:t.selectionManager,key:a,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:z,isPressed:_}=(0,oT.r)({onPressStart:e=>{"keyboard"===e.pointerType&&N(e),null==d||d(e)},onPress:f,onPressUp:e=>{"keyboard"!==e.pointerType&&(setTimeout(()=>{N(e)}),!C&&A&&(null!=s?s:"multiple"!==t.selectionManager.selectionMode||t.selectionManager.isLink(a))&&setTimeout(()=>{null==A||A()})),null==c||c(e)},onPressChange:p,onPressEnd:m,isDisabled:P}),{isHovered:H,hoverProps:V}=(0,eG.X)({isDisabled:P,onHoverStart(e){"pointer"!==oS||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a)),null==g||g(e)},onHoverChange:h,onHoverEnd:v}),{keyboardProps:$}={keyboardProps:(i={onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case" ":P||"none"!==t.selectionManager.selectionMode||C||!1===s||!A||A();break;case"Enter":P||!1===s||C||!A||A();break;default:C||e.continuePropagation(),null==y||y(e)}},onKeyUp:b}).isDisabled?{}:{onKeyDown:o_(i.onKeyDown),onKeyUp:o_(i.onKeyUp)}},{focusProps:U}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,i=(0,k.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),a=o$(i),s=(0,k.useCallback)(e=>{let t=(0,oj.r)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),o&&o(!0),a(e))}
6,[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?i:void 0}}}({onBlur:E,onFocus:w,onFocusChange:x}),G=(0,n4.z)(L.props);delete G.id;let q=(0,ox.eY)(L.props);return{menuItemProps:{...F,...(0,W.d)(G,q,C?{onFocus:R.onFocus}:R,z,V,$,U,{onClick:(0,eW.t)(T,z.onClick)}),tabIndex:null!=R.tabIndex?-1:void 0},labelProps:{id:K},descriptionProps:{id:B},keyboardShortcutProps:{id:I},isHovered:H,isFocused:O,isSelected:j,isPressed:_,isDisabled:P}}({key:O,onClose:L,isDisabled:z,onPress:w,onClick:b,onPressStart:x,onPressUp:E,onPressEnd:T,onPressChange:C,"aria-label":o["aria-label"],closeOnSelect:S,isVirtualized:p,onAction:v},l,N),ee=Z,et=(0,k.useMemo)(()=>n0({...i,isDisabled:z,disableAnimation:M}),[(0,eI.Xx)(i),z,M]),en=(0,I.W)(null==h?void 0:h.base,g);j&&(ee=(0,eI.Os)(ee));let er=(0,k.useCallback)((e={})=>({"aria-hidden":(0,F.PB)(!0),"data-disabled":(0,F.PB)(z),className:et.selectedIcon({class:null==h?void 0:h.selectedIcon}),...e}),[z,et,h]);return{Component:D,domRef:N,slots:et,classNames:h,isSelectable:_,isSelected:X,isDisabled:z,rendered:R,shortcut:u,description:d,startContent:c,endContent:f,selectedIcon:m,disableAnimation:M,getItemProps:(e={})=>({ref:N,...(0,W.d)(j?{}:$,(0,iy.z)(A,{enabled:B}),ee,e),"data-focus":(0,F.PB)(q),"data-selectable":(0,F.PB)(_),"data-hover":(0,F.PB)(H?U||G:U),"data-disabled":(0,F.PB)(z),"data-selected":(0,F.PB)(X),"data-pressed":(0,F.PB)(G),"data-focus-visible":(0,F.PB)(V),className:et.base({class:(0,I.W)(en,e.className)})}),getLabelProps:(e={})=>({...(0,W.d)(Y,e),className:et.title({class:null==h?void 0:h.title})}),hideSelectedIcon:P,getDescriptionProps:(e={})=>({...(0,W.d)(J,e),className:et.description({class:null==h?void 0:h.description})}),getKeyboardShortcutProps:(e={})=>({...(0,W.d)(Q,e),className:et.shortcut({class:null==h?void 0:h.shortcut})}),getSelectedIconProps:er}}(e),E=(0,k.useMemo)(()=>{let e=(0,w.jsx)(nJ,{disableAnimation:m,isSelected:u});return"function"==typeof c?c({icon:e,isSelected:u,isDisabled:d}):c||e},[c,u,d,m]);return(0,w.jsxs)(n,{...h(),children:[f,s?(0,w.jsxs)("div",{className:r.wrapper({class:null==o?void 0:o.wrapper}),children:[(0,w.jsx)("span",{...v(),children:i}),(0,w.jsx)("span",{...y(),children:s})]}):(0,w.jsx)("span",{...v(),children:i}),a&&(0,w.jsx)("kbd",{...b(),children:a}),l&&!g&&(0,w.jsx)("span",{...x(),children:E}),p]})});ib.displayName="NextUI.MenuItem";var iw=(0,eD.tv)({base:"shrink-0 bg-divider border-none",variants:{orientation:{horizontal:"w-full h-divider",vertical:"h-full w-divider"}},defaultVariants:{orientation:"horizontal"}}),ix=(0,K.Gp)((e,t)=>{let{Component:n,getDividerProps:r}=function(e){var t;let n,r;let{as:o,className:i,orientation:a,...s}=e,l=o||"hr";"hr"===l&&"vertical"===a&&(l="div");let{separatorProps:u}=(t={elementType:"string"==typeof l?l:"hr",orientation:a},r=(0,iy.z)(t,{enabled:"string"==typeof t.elementType}),("vertical"===t.orientation&&(n="vertical"),"hr"!==t.elementType)?{separatorProps:{...r,role:"separator","aria-orientation":n}}:{separatorProps:r}),d=(0,k.useMemo)(()=>iw({orientation:a,className:i}),[a,i]);return{Component:l,getDividerProps:(0,k.useCallback)((e={})=>({className:d,role:"separator","data-orientation":a,...u,...s,...e}),[d,a,u,s])}}({...e});return(0,w.jsx)(n,{ref:t,...r()})});ix.displayName="NextUI.Divider";var iE=(0,K.Gp)(({item:e,state:t,as:n,variant:r,color:o,disableAnimation:i,onAction:a,closeOnSelect:s,className:l,classNames:u,showDivider:d=!1,hideSelectedIcon:c,dividerProps:f={},itemClasses:p,title:m,...g},h)=>{let v=(0,k.useMemo)(()=>n1(),[]),y=(0,I.W)(null==u?void 0:u.base,l),b=(0,I.W)(null==u?void 0:u.divider,null==f?void 0:f.className),{itemProps:x,headingProps:E,groupProps:T}=function(e){let{heading:t,"aria-label":n}=e,r=e3();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}({heading:e.rendered,"aria-label":e["aria-label"]});return(0,w.jsxs)(n||"li",{"data-slot":"base",...(0,W.d)(x,g),className:v.base({class:y}),children:[e.rendered&&(0,w.jsx)("span",{...E,className:v.heading({class:null==u?void 0:u.heading}),"data-slot":"heading",children:e.rendered}),(0,w.jsxs)("ul",{...T,className:v.group({class:null==u?void 0:u.group}),"data-has-title":!!e.rendered,"data-slot":"group",children:[[...e.childNodes].map(e=>{let{key:n,props:l}=e,u=(0,w.jsx)(ib,{classNames:p,closeOnSelect:s,color:o,disableAnimation:i,hideSelectedIcon:c,item:e,state:t,variant:r,onAction:a,...l},n);return e.wrapper&&(u=e.wrapper(u)),u}),d&&(0,w.jsx)(ix,{as:"li",className:v.divider({class:b}),...f})]})]})});iE.displayName="NextUI.MenuSection";class ik{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){let n;this.keyMap=new Map,this.iterable=e,t=t||new Set;let r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)r(t)};for(let t of e)r(t);let o=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=o++),(n=t).nextKey=void 0;this.lastKey=null==n?void 0:n.key}}class iT extends Set{constructor(e,t,n){super(e),e instanceof iT?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=n?n:e.currentKey):(this.anchorKey=t,this.currentKey=n)}}function iC(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:i="all"}=e,a=(0,k.useRef)(!1),[,s]=(0,k.useState)(!1),l=(0,k.useRef)(null),u=(0,k.useRef)(null),[,d]=(0,k.useState)(null),c=(0,k.useMemo)(()=>iP(e.selectedKeys),[e.selectedKeys]),f=(0,k.useMemo)(()=>iP(e.defaultSelectedKeys,new iT),[e.defaultSelectedKeys]),[p,m]=(0,eV.z)(c,f,e.onSelectionChange),g=(0,k.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[h,v]=(0,k.useState)(o);"replace"===o&&"toggle"===h&&"object"==typeof p&&0===p.size&&v("replace");let y=(0,k.useRef)(o);return(0,k.useEffect)(()=>{o!==y.current&&(v(o),y.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:h,setSelectionBehavior:v,get isFocused(){return a.current},setFocused(e){a.current=e,s(e)},get focusedKey(){return l.current},get childFocusStrategy(){return u.current},setFocusedKey(e,t="first"){l.current=e,u.current=t,d(e)},selectedKeys:p,setSelectedKeys(e){(r||!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,p))&&m(e)},disabledKeys:g,disabledBehavior:i}}function iP(e,t){return e?"all"===e?"all":new iT(e):t}function ij(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function iS(e){return iL(e,0)}function iL(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}
6}function iA(e){let t;for(let n of e)t=n;return t}function iM(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...iN(e,t),t],o=[...iN(e,n),n],i=r.slice(0,o.length).findIndex((e,t)=>e!==o[t]);return -1!==i?(t=r[i],n=o[i],t.index-n.index):r.findIndex(e=>e===n)>=0?1:(o.findIndex(e=>e===t),-1)}function iN(e,t){let n=[];for(;(null==t?void 0:t.parentKey)!=null;)n.unshift(t=e.getItem(t.parentKey));return n}class iD{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){return"none"!==this.state.selectionMode&&(e=this.getKey(e),"all"===this.state.selectedKeys?this.canSelectItem(e):this.state.selectedKeys.has(e))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&0>iM(this.collection,n,e))&&(e=n)}return null==e?void 0:e.key}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&iM(this.collection,n,e)>0)&&(e=n)}return null==e?void 0:e.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"!==this.selectionMode){if("single"===this.selectionMode){this.replaceSelection(e);return}if(e=this.getKey(e),"all"===this.state.selectedKeys)t=new iT([e],e,e);else{var n,r;let o=this.state.selectedKeys,i=null!==(n=o.anchorKey)&&void 0!==n?n:e;for(let n of(t=new iT(o,i,e),this.getKeyRange(i,null!==(r=o.currentKey)&&void 0!==r?r:e)))t.delete(n);for(let n of this.getKeyRange(e,i))this.canSelectItem(n)&&t.add(n)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?0>=iM(this.collection,n,r)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var n;if(null===(n=this.layoutDelegate)||void 0===n?void 0:n.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let r=[],o=e;for(;null!=o;){let e=this.collection.getItem(o);if((e&&"item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&r.push(o),o===t)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e)){this.replaceSelection(e);return}if(null==(e=this.getKey(e)))return;let t=new iT("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);t.has(e)?t.delete(e):this.canSelectItem(e)&&(t.add(e),t.anchorKey=e,t.currentKey=e),this.disallowEmptySelection&&0===t.size||this.state.setSelectedKeys(t)}replaceSelection(e){if("none"===this.selectionMode||null==(e=this.getKey(e)))return;let t=this.canSelectItem(e)?new iT([e],e,e):new iT;this.state.setSelectedKeys(t)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new iT;for(let n of e)if(null!=(n=this.getKey(n))&&(t.add(n),"single"===this.selectionMode))break;this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=n=>{for(;null!=n;){if(this.canSelectItem(n)){let r=this.collection.getItem(n);"item"===r.type&&e.push(n),r.hasChildNodes&&(this.allowsCellSelection||"item"!==r.type)&&t(iS(ij(r,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new iT)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let n=this.collection.getItem(e);return!!n&&(null==n||null===(t=n.props)||void 0===t||!t.isDisabled)&&("cell"!==n.type||!!this.allowsCellSelection)}isDisabled(e){var t,n;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null===(n=this.collection.getItem(e))||void 0===n?void 0:null===(t=n.props)||void 0===t?void 0:t.isDisabled))}isLink(e){var t,n;return!!(null===(n=this.collection.getItem(e))||void 0===n?void 0:null===(t=n.props)||void 0===t?void 0:t.href)}getItemProps(e){var t;return null===(t=this.collection.getItem(e))||void 0===t?void 0:t.props}constructor(e,t,n){var r;this.collection=e,this.state=t,this.allowsCellSelection=null!==(r=null==n?void 0:n.allowsCellSelection)&&void 0!==r&&r,this._isSelectAll=null,this.layoutDelegate=(null==n?void 0:n.layoutDelegate)||null}}class iK{build(e,t){return this.context=t,iB(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:n}=e;if(k.isValidElement(t)&&t.type===k.Fragment)yield*this.iterateCollection({children:t.props.children,items:n});else if("function"==typeof t){if(!n)throw Error("props.children was a function but props.items is missing");for(let n of e.items)yield*this.getFullNode({value:n},{renderer:t})}else{let e=[];
6k.Children.forEach(t,t=>{e.push(t)});let n=0;for(let t of e)for(let e of this.getFullNode({element:t,index:n},{}))n++,yield e}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let o=t.value;if(null!=o){var i;let e=null!==(i=o.key)&&void 0!==i?i:o.id;if(null==e)throw Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,n,r){if(k.isValidElement(e.element)&&e.element.type===k.Fragment){let o=[];k.Children.forEach(e.element.props.children,e=>{o.push(e)});let i=e.index;for(let e of o)yield*this.getFullNode({element:e,index:i++},t,n,r);return}let o=e.element;if(!o&&e.value&&t&&t.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context))){n.index=e.index,n.parentKey=r?r.key:null,yield n;return}o=t.renderer(e.value)}if(k.isValidElement(o)){let i=o.type;if("function"!=typeof i&&"function"!=typeof i.getCollectionNode){let e="function"==typeof o.type?o.type.name:o.type;throw Error(`Unknown element <${e}> in collection.`)}let a=i.getCollectionNode(o.props,this.context),s=e.index,l=a.next();for(;!l.done&&l.value;){let i=l.value;e.index=s;let u=i.key;u||(u=i.element?null:this.getKey(o,e,t,n));let d=[...this.getFullNode({...i,key:u,index:s,wrapper:function(e,t){return e&&t?n=>e(t(n)):e||t||void 0}(e.wrapper,i.wrapper)},this.getChildState(t,i),n?`${n}${o.key}`:o.key,r)];for(let t of d){if(t.value=i.value||e.value,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${iI(t.type)}> in <${iI(r.type)}>. Only <${iI(e.type)}> is supported.`);s++,yield t}l=a.next(d)}return}if(null==e.key)return;let i=this,a={type:e.type,props:e.props,key:e.key,parentKey:r?r.key:null,value:e.value,level:r?r.level+1:0,index:e.index,rendered:e.rendered,textValue:e.textValue,"aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes,childNodes:iB(function*(){if(!e.hasChildNodes)return;let n=0;for(let r of e.childNodes())for(let e of(null!=r.key&&(r.key=`${a.key}${r.key}`),r.index=n,i.getFullNode(r,i.getChildState(t,r),a.key,a)))n++,yield e})};yield a}constructor(){this.cache=new WeakMap}}function iB(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let r of(n||(n=e()),n))t.push(r),yield r}}}function iI(e){return e[0].toUpperCase()+e.slice(1)}function iF(e,t,n){let r=(0,k.useMemo)(()=>new iK,[]),{children:o,items:i,collection:a}=e;return(0,k.useMemo)(()=>a||t(r.build({children:o,items:i},n)),[r,o,i,a,n,t])}function iR(e){let{onExpandedChange:t}=e,[n,r]=(0,eV.z)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=iC(e),i=(0,k.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=iF(e,(0,k.useCallback)(e=>new ik(e,{expandedKeys:n}),[n]),null);return(0,k.useEffect)(()=>{null==o.focusedKey||a.getItem(o.focusedKey)||o.setFocusedKey(null)},[a,o.focusedKey]),{collection:a,expandedKeys:n,disabledKeys:i,toggleKey:e=>{let t;r(((t=new Set(n)).has(e)?t.delete(e):t.add(e),t))},setExpandedKeys:r,selectionManager:new iD(a,o)}}function iO(e,t){let{Component:n,state:r,closeOnSelect:o,color:i,disableAnimation:a,hideSelectedIcon:s,hideEmptyContent:l,variant:u,onClose:d,onAction:c,topContent:f,bottomContent:p,itemClasses:m,getBaseProps:g,getListProps:h,getEmptyContentProps:v}=function(e){var t;let n=(0,eN.w)(),{as:r,ref:o,variant:i,color:a,children:s,disableAnimation:l=null!=(t=null==n?void 0:n.disableAnimation)&&t,onAction:u,closeOnSelect:d,itemClasses:c,className:f,state:p,topContent:m,bottomContent:g,hideEmptyContent:h=!1,hideSelectedIcon:v=!1,emptyContent:y="No items.",menuProps:b,onClose:w,classNames:x,...E}=e,T=r||"ul",C=(0,B.gy)(o),P="string"==typeof T,j=iR({...E,...b,children:s}),S=p||j,{menuProps:L}=function(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:o,onKeyUp:i,...a}=e;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let s=(0,n4.z)(e,{labelable:!0}),{listProps:l}=function(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:o,keyboardDelegate:i}=e,a=function(e){let{locale:t}=ov(),n=t+(e?Object.entries(e).sort((e,t)=>
6e[0]<t[0]?-1:1).join():"");if(ob.has(n))return ob.get(n);let r=new Intl.Collator(t,e);return ob.set(n,r),r}({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,l=(0,k.useMemo)(()=>i||new oy({collection:n,disabledKeys:r,disabledBehavior:s,ref:o,collator:a}),[i,n,r,o,a,s]),{collectionProps:u}=function(e){var t,n,r;let o,i,a,{selectionManager:s,keyboardDelegate:l,ref:u,autoFocus:d=!1,shouldFocusWrap:c=!1,disallowEmptySelection:f=!1,disallowSelectAll:p=!1,selectOnFocus:m="replace"===s.selectionBehavior,disallowTypeAhead:g=!1,shouldUseVirtualFocus:h,allowsTabNavigation:v=!1,isVirtualized:y,scrollRef:b=u,linkBehavior:w="action"}=e,{direction:x}=ov(),E=rU(),T=(0,k.useRef)({top:0,left:0});t="scroll",o=rX(n=y?null:()=>{T.current={top:b.current.scrollTop,left:b.current.scrollLeft}}),i=null==n,(0,k.useEffect)(()=>{if(i||!b.current)return;let e=b.current;return e.addEventListener(t,o,void 0),()=>{e.removeEventListener(t,o,r)}},[b,t,r,i,o]);let C=(0,k.useRef)(d);(0,k.useEffect)(()=>{if(C.current){let e=null;"first"===d&&(e=l.getFirstKey()),"last"===d&&(e=l.getLastKey());let t=s.selectedKeys;if(t.size){for(let n of t)if(s.canSelectItem(n)){e=n;break}}s.setFocused(!0),s.setFocusedKey(e),null!=e||h||rW(u.current)}},[]);let P=(0,k.useRef)(s.focusedKey);(0,k.useEffect)(()=>{let e=r6;if(s.isFocused&&null!=s.focusedKey&&(null==b?void 0:b.current)){let t=b.current.querySelector(`[data-key="${CSS.escape(s.focusedKey.toString())}"]`);t&&("keyboard"===e||C.current)&&(y||rY(b.current,t),"virtual"!==e&&rQ(t,{containingElement:u.current}))}s.isFocused&&null==s.focusedKey&&null!=P.current&&rW(u.current),P.current=s.focusedKey,C.current=!1},[y,b,s.focusedKey,s.isFocused,u]);let j={onKeyDown:e=>{var t,n,r,o,i,a,d,g,h,y;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!u.current.contains(e.target))return;let k=(t,n)=>{if(null!=t){if(s.isLink(t)&&"selection"===w&&m&&!ri(e)){(0,rs.flushSync)(()=>{s.setFocusedKey(t,n)});let r=b.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`),o=s.getItemProps(t);E.open(r,e,o.href,o.routerOptions);return}s.setFocusedKey(t,n),s.isLink(t)&&"override"===w||(e.shiftKey&&"multiple"===s.selectionMode?s.extendSelection(t):m&&!ri(e)&&s.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(l.getKeyBelow){e.preventDefault();let r=null!=s.focusedKey?l.getKeyBelow(s.focusedKey):null===(t=l.getFirstKey)||void 0===t?void 0:t.call(l);null==r&&c&&(r=null===(n=l.getFirstKey)||void 0===n?void 0:n.call(l,s.focusedKey)),k(r)}break;case"ArrowUp":if(l.getKeyAbove){e.preventDefault();let t=null!=s.focusedKey?l.getKeyAbove(s.focusedKey):null===(r=l.getLastKey)||void 0===r?void 0:r.call(l);null==t&&c&&(t=null===(o=l.getLastKey)||void 0===o?void 0:o.call(l,s.focusedKey)),k(t)}break;case"ArrowLeft":if(l.getKeyLeftOf){e.preventDefault();let t=l.getKeyLeftOf(s.focusedKey);null==t&&c&&(t="rtl"===x?null===(i=l.getFirstKey)||void 0===i?void 0:i.call(l,s.focusedKey):null===(a=l.getLastKey)||void 0===a?void 0:a.call(l,s.focusedKey)),k(t,"rtl"===x?"first":"last")}break;case"ArrowRight":if(l.getKeyRightOf){e.preventDefault();let t=l.getKeyRightOf(s.focusedKey);null==t&&c&&(t="rtl"===x?null===(d=l.getLastKey)||void 0===d?void 0:d.call(l,s.focusedKey):null===(g=l.getFirstKey)||void 0===g?void 0:g.call(l,s.focusedKey)),k(t,"rtl"===x?"last":"first")}break;case"Home":if(l.getFirstKey){e.preventDefault();let t=l.getFirstKey(s.focusedKey,ra(e));s.setFocusedKey(t),ra(e)&&e.shiftKey&&"multiple"===s.selectionMode?s.extendSelection(t):m&&s.replaceSelection(t)}break;case"End":if(l.getLastKey){e.preventDefault();let t=l.getLastKey(s.focusedKey,ra(e));s.setFocusedKey(t),ra(e)&&e.shiftKey&&"multiple"===s.selectionMode?s.extendSelection(t):m&&s.replaceSelection(t)}break;case"PageDown":l.getKeyPageBelow&&(e.preventDefault(),k(l.getKeyPageBelow(s.focusedKey)));break;case"PageUp":l.getKeyPageAbove&&(e.preventDefault(),k(l.getKeyPageAbove(s.focusedKey)));break;case"a":ra(e)&&"multiple"===s.selectionMode&&!0!==p&&(e.preventDefault(),s.selectAll());break;case"Escape":f||0===s.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),s.clearSelection());break;case"Tab":if(!v){if(e.shiftKey)u.current.focus();else{let e,t;let n,r,o=(h=u.current,e=(y={tabbable:!0}
6).tabbable?rf:rc,t=rl(h).createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode(t){var n;return(null==y?void 0:null===(n=y.from)||void 0===n?void 0:n.contains(t))?NodeFilter.FILTER_REJECT:t.matches(e)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=ru(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(t)&&(!(null==y?void 0:y.accept)||y.accept(t))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),(null==y?void 0:y.from)&&(t.currentNode=y.from),t);do(r=o.lastChild())&&(n=r);while(r);n&&!n.contains(document.activeElement)&&rH(n)}}}},onFocus:e=>{if(s.isFocused){e.currentTarget.contains(e.target)||s.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(s.setFocused(!0),null==s.focusedKey){var t,n;let r=e=>{null!=e&&(s.setFocusedKey(e),m&&s.replaceSelection(e))},o=e.relatedTarget;o&&e.currentTarget.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING?r(null!==(t=s.lastSelectedKey)&&void 0!==t?t:l.getLastKey()):r(null!==(n=s.firstSelectedKey)&&void 0!==n?n:l.getFirstKey())}else y||(b.current.scrollTop=T.current.top,b.current.scrollLeft=T.current.left);if(!y&&null!=s.focusedKey){let e=b.current.querySelector(`[data-key="${CSS.escape(s.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||rH(e),"keyboard"===r6&&rQ(e,{containingElement:u.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||s.setFocused(!1)},onMouseDown(e){b.current===e.target&&e.preventDefault()}},{typeSelectProps:S}=function(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=(0,k.useRef)({search:"",timeout:null}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let a=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(!a||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target))return;" "!==a||!(o.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),o.search+=a;let s=t.getKeyForSearch(o.search,n.focusedKey);null==s&&(s=t.getKeyForSearch(o.search)),null!=s&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},1e3)}:null}}}({keyboardDelegate:l,selectionManager:s});return g||(j=r4(S,j)),h||(a=null==s.focusedKey?0:-1),{collectionProps:{...j,tabIndex:a}}}({...e,ref:o,selectionManager:t,keyboardDelegate:l});return{listProps:u}}({...a,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return ow.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:(0,W.d)(s,{onKeyDown:o,onKeyUp:i},{role:"menu",...l,onKeyDown:e=>{"Escape"!==e.key&&l.onKeyDown&&l.onKeyDown(e)}})}}({...E,...b},S,C),A=(0,k.useMemo)(()=>nQ({className:f}),[f]),M=(0,I.W)(null==x?void 0:x.base,f);return{Component:T,state:S,variant:i,color:a,disableAnimation:l,onAction:u,onClose:w,topContent:m,bottomContent:g,closeOnSelect:d,className:f,itemClasses:c,getBaseProps:(e={})=>({ref:C,"data-slot":"base",className:A.base({class:M}),...(0,iy.z)(E,{enabled:P}),...e}),getListProps:(e={})=>({"data-slot":"list",className:A.list({class:null==x?void 0:x.list}),...L,...e}),hideEmptyContent:h,hideSelectedIcon:v,getEmptyContentProps:(e={})=>({children:y,className:A.emptyContent({class:null==x?void 0:x.emptyContent}),...e})}}({...e,ref:t}),y=(0,w.jsxs)(n,{...h(),children:[!r.collection.size&&!l&&(0,w.jsx)("li",{children:(0,w.jsx)("div",{...v()})}),[...r.collection].map(e=>{let t={closeOnSelect:o,color:i,disableAnimation:a,item:e,state:r,variant:u,onClose:d,onAction:c,hideSelectedIcon:s,...e.props};if("section"===e.type)return(0,w.jsx)(iE,{...t,itemClasses:m},e.key);let n=(0,w.jsx)(ib,{...t,classNames:m},e.key);return e.wrapper&&(n=e.wrapper(n)),n})]});return(0,w.jsxs)("div",{...g(),children:[f,y,p]})}var iz=(0,K.Gp)(iO);function i_(e,t){let{getMenuProps:n}=eY();return(0,w.jsx)(nM,{children:(0,w.jsx)(nF,{contain:!0,restoreFocus:!0,children:(0,w.jsx)(iz,{...n(e,t)})})})}iO.displayName="NextUI.Menu";var iW=(0,K.Gp)(i_);function iH(e){return null}i_.displayName="NextUI.DropdownMenu",iH.getCollectionNode=function*(e,t){let{childItems:n,title:r,children:o}=e,i=e.title||e.children,a=e.textValue||("string"==typeof i?i:"")||e["aria-label"]||"";a||(null==t?void 0:t.suppressTextValueWarning)||console.warn("<Item>
6 with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:i,textValue:a,"aria-label":e["aria-label"],hasChildNodes:null!=e.hasChildItems?e.hasChildItems:!!(e.childItems||e.title&&k.Children.count(e.children)>0),*childNodes(){if(n)for(let e of n)yield{type:"item",value:e};else if(r){let e=[];k.Children.forEach(o,t=>{e.push({type:"item",element:t})}),yield*e}}}};var iV=e=>{let{locales:t,lang:n,curLang:r,onSwitchLocale:o}=e,{t:i}=(0,T.Z)("Header"),a=e=>({label:i("nav-list-".concat(e,"-1")),link:i("nav-url-".concat(e,"-1"))}),s=[1,2,3].map(a),l=[4,5].map(a),u=[...s,...l],d=i("nav-menu"),[c,f]=(0,k.useState)(!1),p=()=>{f(!1)};return(0,w.jsxs)(e_,{className:"text-white bg-theme-header-color max-sm:border-0 max-sm:shadow",classNames:{wrapper:"w-full max-w-wrapper mx-auto px-4 sm:px-6 gap-2 lg:gap-4 h-header"},isBordered:!0,isMenuOpen:c,shouldHideOnScroll:!0,onMenuOpenChange:f,children:[(0,w.jsxs)("div",{className:"sm:hidden",children:[(0,w.jsx)(eq,{icon:e=>e&&(0,w.jsx)(j.Ab.j3,{})||(0,w.jsx)(j.Ab.cj,{}),"aria-label":c?"Close menu":"Open menu"}),(0,w.jsx)(eL,{children:u.map(e=>{let{label:t,link:n}=e;return(0,w.jsx)(E(),{href:n,children:(0,w.jsx)("div",{className:"p-4 text-303441",onClick:p,children:t})},t)})})]}),(0,w.jsx)(E(),{className:"flex items-center gap-[8px] mr-[30px] cursor-pointer max-sm:mr-0",href:"/",role:"button",children:(0,w.jsx)(j.Ab.ub,{})}),(0,w.jsxs)(eX,{className:"hidden sm:flex flex-1 flex-row items-center gap-3 lg:gap-5 min-w-0",children:[s.map(e=>(0,w.jsx)(E(),{href:e.link,className:"shrink-0",children:(0,w.jsx)("span",{className:"text-xs lg:text-sm text-white font-semibold whitespace-nowrap",children:e.label})},e.label)),(0,w.jsxs)(nT,{children:[(0,w.jsx)(nC,{className:"p-0 cursor-pointer shrink-0",children:(0,w.jsx)(nS,{"aria-label":d,children:(0,w.jsx)(nP.A,{disableRipple:!0,className:"p-0 bg-transparent text-white data-[hover=true]:bg-transparent min-w-0 h-auto gap-1",endContent:(0,w.jsx)(j.Ab.jo,{fill:"white"}),radius:"sm",variant:"light",children:(0,w.jsx)("span",{className:"text-xs lg:text-sm text-white font-semibold whitespace-nowrap",children:d})})})}),(0,w.jsx)(iW,{"aria-label":d,className:"text-center",itemClasses:{base:"gap-4"},children:l.map(e=>(0,w.jsx)(iH,{textValue:e.label,"aria-label":e.label,children:(0,w.jsx)(E(),{href:e.link,children:(0,w.jsx)("span",{className:"text-sm text-secondary font-semibold",children:e.label})})},e.label))})]})]}),(0,w.jsxs)(nT,{shouldBlockScroll:!0,children:[(0,w.jsx)(nS,{children:(0,w.jsxs)("div",{role:"button",className:"flex items-center cursor-pointer",children:[(0,w.jsx)("span",{"aria-label":n,className:"max-sm:hidden",children:n}),(0,w.jsx)(j.Ab.O5,{className:P()("",{"mr-2.5":"ar"===r,"ml-2.5":"ar"!==r})})]})}),(0,w.jsx)(iW,{"aria-label":"Language Actions",children:t&&t.map(e=>(0,w.jsx)(iH,{className:"text-secondary font-semibold",onClick:()=>{null==o||o(e.value)},children:e.label},e.value))||[]})]})]})},i$=e=>{let{children:t,style:n,className:r,sectionClassName:o}=e;return(0,w.jsx)("section",{className:o,children:(0,w.jsx)("article",{className:"py-12 max-w-content m-auto max-sm:w-full max-sm:py-6 max-sm:px-6 ".concat(r),style:n,children:t})})},iU=n(26313),iG=e=>{let{children:t,...n}=e,r=(0,iU.w)();return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(iV,{...n}),(0,w.jsx)("main",{children:t}),(0,w.jsx)("footer",{className:P()("m-auto bg-303441",{"pb-36":r}),children:(0,w.jsx)(L,{})}),(0,w.jsx)(j.BY,{})]})},iq=e=>{let{title:t,desc:n}=e,{lang:r}=(0,T.Z)();return(0,w.jsxs)("div",{className:"flex flex-col gap-4 py-8 max-sm:pt-2",children:[(0,w.jsx)("h1",{className:P()("font-bold text-white text-pc_headline_large max-sm:text-m_headline_large",{"text-center":"ar"!==r,"text-right":"ar"===r}),children:t}),n&&(0,w.jsx)("p",{className:P()("text-white text-pc_body_medium mt-6 max-sm:text-m_body_medium",{"text-center":"ar"!==r,"text-right":"ar"===r}),children:n})]})},iX=e=>{let{title:t,className:n="",style:r}=e,{lang:o}=(0,T.Z)();return(0,w.jsx)("h2",{className:P()("text-pc_tittle_large break-words text-black font-bold py-h2 max-sm:text-xl max-sm:py-4",{"text-center":"ar"!==o,"text-right":"ar"===o,[n]:!0}),style:r,children:t})},iZ=e=>{let{title:t,style:n,className:r=""}=e;return(0,w.jsx)("h3",{className:"text-pc_tittle break-words font-semibold text-black py-h3 max-sm:text-m_tittle max-sm:py-2 ".concat(r),style:n,children:t})},iY=e=>{let{content:t,style:n,className:r=""}=e;return(0,w.jsx)("p",{dangerouslySetInnerHTML:{__html:t.replace(/\n/g,"<br/>")},className:"text-pc_body break-words text-777C8E max-sm:text-m_body max-sm:w-full ".concat(r),style:n})},iJ=e=>{let{data:t,dots:n=!0,style:r}=e;return(0,w.jsx)(w.Fragment,{children:(0,w.jsx)("ul",{className:P()("flex flex-col list-inside gap-2 text-black max-sm:text-sm",{"list-disc":n}),style:r,children:t.map((e,t)=>(0,w.jsx)("li",{className:"text-777C8E text-pc_body font-normal max-sm:text-m_body",dangerouslySetInnerHTML:{__html:e.replace(/\n/g,"<br/>")}},t))})})},iQ=e=>{let{data:t}=e;return(0,w.jsx)("div",{className:"card-box grid grid-cols-3 gap-8 max-sm:grid-cols-1 max-sm:gap-2",children:null==t?void 0:t.map((e,t)=>
6{let{step:n,title:r,desc:o,iconNode:i}=e;return(0,w.jsxs)("div",{children:[i?(0,j.cu)({dom:i,key:t,className:"m-auto",priority:!0}):null,(0,w.jsx)("div",{className:"text-303441 text-pc_tittle font-bold mt-6",children:n}),(0,w.jsx)(iZ,{title:r}),(0,w.jsx)(iY,{content:o||""})]},t)})})},i0=n(35284),i1=n.n(i0),i4=(0,eD.tv)({slots:{base:"group flex flex-col data-[hidden=true]:hidden",label:["absolute","z-10","pointer-events-none","origin-top-left","rtl:origin-top-right","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5","file:cursor-pointer file:bg-transparent file:border-0","autofill:bg-transparent bg-clip-text"],clearButton:["p-2","-m-2","z-10","hidden","absolute","end-3","start-auto","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...eK.Dh],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-8 min-h-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-10 min-h-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-12 min-h-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pe-2 ps-2 pointer-events-auto"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6 rtl:pr-0 rtl:pl-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5 rtl:after:ml-[unset] rtl:after:mr-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dar
6k:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...eK.ID]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["!bg-danger-50","data-[hover=true]:!bg-danger-100","group-data-[focus=true]:!bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:!border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:!bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:"outside",isMultiline:!1,class:{base:"relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:start-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["start-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["start-3","end-auto","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["start-3","end-auto","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),i3=n(33357),i2=n(77604),i5={};function i6(e,t,...n){var r;let o=t?` [${t}]`:" ",i=`[Next UI]${o}: ${e}`;if("undefined"!=typeof console&&!i5[i]&&(i5[i]=!0,(null==(r=null==i2?void 0:i2.env)?void 0:r.NODE_ENV)!=="production"))return console.warn(i,n)}let i8=new Set(["id"]),i7=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i9=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ae=/^(data-.*)$/,at="undefined"!=typeof document?k.useLayoutEffect:()=>{};function an(e){let t=(0,k.useRef)(null);return at(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)}
6,[])}let ar=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},ao=e=>e&&"window"in e&&e.window===e?e:ar(e).defaultView||window;"undefined"!=typeof window&&window.document&&window.document.createElement;let ai=new Map;function aa(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=ai.get(e);if(n)return n.forEach(e=>e(t)),t;let r=ai.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}var as=n(58175),al=n(80054);let au=new Map,ad=new Set;function ac(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=au.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),au.delete(n.target)),0===au.size)){for(let e of ad)e();ad.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=au.get(n.target);r||(r=new Set,au.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function af(e){if(function(){if(null==ap){ap=!1;try{document.createElement("div").focus({get preventScroll(){return ap=!0,!0}})}catch(e){}}return ap}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?ac():document.addEventListener("DOMContentLoaded",ac));let ap=null;function am(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function ag(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function ah(e){let t=null;return()=>(null==t&&(t=e()),t)}let av=ah(function(){return ag(/^Mac/i)}),ay=ah(function(){return ag(/^iPhone/i)}),ab=ah(function(){return ag(/^iPad/i)||av()&&navigator.maxTouchPoints>1}),aw=ah(function(){return ay()||ab()});ah(function(){return av()||aw()}),ah(function(){return am(/AppleWebKit/i)&&!ax()});let ax=ah(function(){return am(/Chrome/i)}),aE=ah(function(){return am(/Android/i)});ah(function(){return am(/Firefox/i)});let ak=null,aT=new Set,aC=new Map,aP=!1,aj=!1;function aS(e,t){for(let n of aT)n(e,t)}function aL(e){aP=!0,e.metaKey||!av()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(ak="keyboard",aS("keyboard",e))}
6function aA(e){ak="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(aP=!0,aS("pointer",e))}function aM(e){(0===e.mozInputSource&&e.isTrusted||(aE()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(aP=!0,ak="virtual")}function aN(e){e.target!==window&&e.target!==document&&(aP||aj||(ak="virtual",aS("virtual",e)),aP=!1,aj=!1)}function aD(){aP=!1,aj=!0}function aK(e){if("undefined"==typeof window||aC.get(ao(e)))return;let t=ao(e),n=ar(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){aP=!0,r.apply(this,arguments)},n.addEventListener("keydown",aL,!0),n.addEventListener("keyup",aL,!0),n.addEventListener("click",aM,!0),t.addEventListener("focus",aN,!0),t.addEventListener("blur",aD,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",aA,!0),n.addEventListener("pointermove",aA,!0),n.addEventListener("pointerup",aA,!0)):(n.addEventListener("mousedown",aA,!0),n.addEventListener("mousemove",aA,!0),n.addEventListener("mouseup",aA,!0)),t.addEventListener("beforeunload",()=>{aB(e)},{once:!0}),aC.set(t,{focus:r})}let aB=(e,t)=>{let n=ao(e),r=ar(e);t&&r.removeEventListener("DOMContentLoaded",t),aC.has(n)&&(n.HTMLElement.prototype.focus=aC.get(n).focus,r.removeEventListener("keydown",aL,!0),r.removeEventListener("keyup",aL,!0),r.removeEventListener("click",aM,!0),n.removeEventListener("focus",aN,!0),n.removeEventListener("blur",aD,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",aA,!0),r.removeEventListener("pointermove",aA,!0),r.removeEventListener("pointerup",aA,!0)):(r.removeEventListener("mousedown",aA,!0),r.removeEventListener("mousemove",aA,!0),r.removeEventListener("mouseup",aA,!0)),aC.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=ar(void 0);"loading"!==n.readyState?aK(void 0):(t=()=>{aK(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>aB(e,t)}();class aI{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function aF(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let aR=k.createContext(null);function aO(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function az(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function a_(e){let t=null;return()=>(null==t&&(t=e()),t)}let aW=a_(function(){return az(/^Mac/i)}),aH=a_(function(){return az(/^iPhone/i)}),aV=a_(function(){return az(/^iPad/i)||aW()&&navigator.maxTouchPoints>1}),a$=a_(function(){return aH()||aV()});a_(function(){return aW()||a$()}),a_(function(){return aO(/AppleWebKit/i)&&!aU()});let aU=a_(function(){return aO(/Chrome/i)}),aG=a_(function(){return aO(/Android/i)});a_(function(){return aO(/Firefox/i)});let aq=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},aX=e=>e&&"window"in e&&e.window===e?e:aq(e).defaultView||window,aZ=new Set,aY=new Map,aJ=!1,aQ=!1;function a0(e,t){for(let n of aZ)n(e,t)}function a1(e){aJ=!0,e.metaKey||!aW()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||a0("keyboard",e)}function a4(e){("mousedown"===e.type||"pointerdown"===e.type)&&(aJ=!0,a0("pointer",e))}function a3(e){(0===e.mozInputSource&&e.isTrusted||(aG()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(aJ=!0)}function a2(e){e.target!==window&&e.target!==document&&(aJ||aQ||a0("virtual",e),aJ=!1,aQ=!1)}function a5(){aJ=!1,aQ=!0}function a6(e){if("undefined"==typeof window||aY.get(aX(e)))return;
6let t=aX(e),n=aq(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){aJ=!0,r.apply(this,arguments)},n.addEventListener("keydown",a1,!0),n.addEventListener("keyup",a1,!0),n.addEventListener("click",a3,!0),t.addEventListener("focus",a2,!0),t.addEventListener("blur",a5,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",a4,!0),n.addEventListener("pointermove",a4,!0),n.addEventListener("pointerup",a4,!0)):(n.addEventListener("mousedown",a4,!0),n.addEventListener("mousemove",a4,!0),n.addEventListener("mouseup",a4,!0)),t.addEventListener("beforeunload",()=>{a8(e)},{once:!0}),aY.set(t,{focus:r})}let a8=(e,t)=>{let n=aX(e),r=aq(e);t&&r.removeEventListener("DOMContentLoaded",t),aY.has(n)&&(n.HTMLElement.prototype.focus=aY.get(n).focus,r.removeEventListener("keydown",a1,!0),r.removeEventListener("keyup",a1,!0),r.removeEventListener("click",a3,!0),n.removeEventListener("focus",a2,!0),n.removeEventListener("blur",a5,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",a4,!0),r.removeEventListener("pointermove",a4,!0),r.removeEventListener("pointerup",a4,!0)):(r.removeEventListener("mousedown",a4,!0),r.removeEventListener("mousemove",a4,!0),r.removeEventListener("mouseup",a4,!0)),aY.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=aq(void 0);"loading"!==n.readyState?a6(void 0):(t=()=>{a6(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>a8(e,t)}();let a7="undefined"!=typeof document?k.useLayoutEffect:()=>{};function a9(e){let t=(0,k.useRef)(null);return a7(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}function se(e,t,n){let{validationBehavior:r,focus:o}=e;a7(()=>{if("native"===r&&(null==n?void 0:n.current)){var e;let r,o=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(o),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:{badInput:(r=e.validity).badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let i=a9(()=>{t.resetValidation()}),a=a9(e=>{var r,i;t.displayValidation.isInvalid||t.commitValidation();let a=null==n?void 0:null===(r=n.current)||void 0===r?void 0:r.form;!e.defaultPrevented&&n&&a&&function(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}(a)===n.current&&(o?o():null===(i=n.current)||void 0===i||i.focus(),a0("keyboard",null)),e.preventDefault()}),s=a9(()=>{t.commitValidation()});(0,k.useEffect)(()=>{let e=null==n?void 0:n.current;if(!e)return;let t=e.form;return e.addEventListener("invalid",a),e.addEventListener("change",s),null==t||t.addEventListener("reset",i),()=>{e.removeEventListener("invalid",a),e.removeEventListener("change",s),null==t||t.removeEventListener("reset",i)}},[n,a,s,i,r])}let st={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},sn={...st,customError:!0,valid:!1},sr={isInvalid:!1,validationDetails:st,validationErrors:[]},so=(0,k.createContext)({}),si="__formValidationState"+Date.now();function sa(e){if(e[si]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:i}=e[si];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:i}}return function(e){let{isInvalid:t,validationState:n,name:r,value:o,builtinValidation:i,validate:a,validationBehavior:s="aria"}=e;n&&(t||(t="invalid"===n));let l=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:sn}:null,u=(0,k.useMemo)(()=>sl(function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return ss(n)}return[]}(a,o)),[a,o]);
6(null==i?void 0:i.validationDetails.valid)&&(i=null);let d=(0,k.useContext)(so),c=(0,k.useMemo)(()=>r?Array.isArray(r)?r.flatMap(e=>ss(d[e])):ss(d[r]):[],[d,r]),[f,p]=(0,k.useState)(d),[m,g]=(0,k.useState)(!1);d!==f&&(p(d),g(!1));let h=(0,k.useMemo)(()=>sl(m?[]:c),[m,c]),v=(0,k.useRef)(sr),[y,b]=(0,k.useState)(sr),w=(0,k.useRef)(sr),[x,E]=(0,k.useState)(!1);return(0,k.useEffect)(()=>{if(!x)return;E(!1);let e=u||i||v.current;su(e,w.current)||(w.current=e,b(e))}),{realtimeValidation:l||h||u||i||sr,displayValidation:"native"===s?l||h||y:l||h||u||i||y,updateValidation(e){"aria"!==s||su(y,e)?v.current=e:b(e)},resetValidation(){su(sr,w.current)||(w.current=sr,b(sr)),"native"===s&&E(!1),g(!0)},commitValidation(){"native"===s&&E(!0),g(!0)}}}(e)}function ss(e){return e?Array.isArray(e)?e:[e]:[]}function sl(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:sn}:null}function su(e,t){return e===t||e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}function sd(){return(sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var sc=k.useLayoutEffect,sf=function(e){var t=k.useRef(e);return sc(function(){t.current=e}),t},sp=function(e,t){if("function"==typeof e){e(t);return}e.current=t},sm=function(e,t){var n=(0,k.useRef)();return(0,k.useCallback)(function(r){e.current=r,n.current&&sp(n.current,null),n.current=t,t&&sp(t,r)},[t])},sg={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},sh=function(e){Object.keys(sg).forEach(function(t){e.style.setProperty(t,sg[t],"important")})},sv=null,sy=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},sb=function(){},sw=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],sx=!!document.documentElement.currentStyle,sE=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=sw.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;sx&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),i=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:i}};function sk(e,t,n){var r=sf(n);k.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var sT=function(e){sk(window,"resize",e)},sC=function(e){sk(document.fonts,"loadingdone",e)},sP=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],sj=k.forwardRef(function(e,t){var n=e.cacheMeasurements,r=e.maxRows,o=e.minRows,i=e.onCh
6ange,a=void 0===i?sb:i,s=e.onHeightChange,l=void 0===s?sb:s,u=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,sP),d=void 0!==u.value,c=k.useRef(null),f=sm(c,t),p=k.useRef(0),m=k.useRef(),g=function(){var e,t,i,a,s,u,d,f,g,h,v,y=c.current,b=n&&m.current?m.current:sE(y);if(b){m.current=b;var w=(e=y.value||y.placeholder||"x",void 0===(t=o)&&(t=1),void 0===(i=r)&&(i=1/0),sv||((sv=document.createElement("textarea")).setAttribute("tabindex","-1"),sv.setAttribute("aria-hidden","true"),sh(sv)),null===sv.parentNode&&document.body.appendChild(sv),a=b.paddingSize,s=b.borderSize,d=(u=b.sizingStyle).boxSizing,Object.keys(u).forEach(function(e){sv.style[e]=u[e]}),sh(sv),sv.value=e,f=sy(sv,b),sv.value=e,f=sy(sv,b),sv.value="x",h=(g=sv.scrollHeight-a)*t,"border-box"===d&&(h=h+a+s),f=Math.max(h,f),v=g*i,"border-box"===d&&(v=v+a+s),[f=Math.min(v,f),g]),x=w[0],E=w[1];p.current!==x&&(p.current=x,y.style.setProperty("height",x+"px","important"),l(x,{rowHeight:E}))}};return k.useLayoutEffect(g),sT(g),sC(g),k.createElement("textarea",sd({},u,{onChange:function(e){d||g(),a(e)},ref:f}))}),sS=(0,K.Gp)(({style:e,minRows:t=3,maxRows:n=8,cacheMeasurements:r=!1,disableAutosize:o=!1,onHeightChange:i,...a},s)=>{let{Component:l,label:u,description:d,startContent:c,endContent:f,hasHelper:p,shouldLabelBeOutside:m,shouldLabelBeInside:g,isInvalid:h,errorMessage:v,getBaseProps:y,getLabelProps:b,getInputProps:x,getInnerWrapperProps:E,getInputWrapperProps:T,getHelperWrapperProps:C,getDescriptionProps:P,getErrorMessageProps:j}=function(e){var t,n,r,o;let i=(0,eN.w)(),[a,s]=(0,K.oe)(e,i4.variantKeys),{ref:l,as:u,type:d,label:c,baseRef:f,wrapperRef:p,description:m,className:g,classNames:h,autoFocus:v,startContent:y,endContent:b,onClear:w,onChange:x,validationState:E,validationBehavior:T=null!=(t=null==i?void 0:i.validationBehavior)?t:"aria",innerWrapperRef:C,onValueChange:P=()=>{},...j}=a,S=(0,k.useCallback)(e=>{P(null!=e?e:"")},[P]),[L,A]=(0,k.useState)(!1),M=null!=(r=null!=(n=e.disableAnimation)?n:null==i?void 0:i.disableAnimation)&&r,N=(0,B.gy)(l),D=(0,B.gy)(f),R=(0,B.gy)(p),O=(0,B.gy)(C),[z,_]=function(e,t,n){let[r,o]=(0,k.useState)(e||t),i=(0,k.useRef)(void 0!==e),a=void 0!==e;(0,k.useEffect)(()=>{let e=i.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),i.current=a},[a]);let s=a?e:r,l=(0,k.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(s,e)&&n(e,...t),a||(s=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...o)=>{let i=e(a?s:n,...o);return(r(i,...t),a)?n:i})):(a||o(e),r(e,...t))},[a,s,n]);return[s,l]}(a.value,null!=(o=a.defaultValue)?o:"",S),H=["date","time","month","week","range"].includes(d),V=!(0,F.xb)(z)||H,$=V||L,U="hidden"===d,G=e.isMultiline,q="file"===d,X=(0,I.W)(null==h?void 0:h.base,g,V?"is-filled":""),Z=(0,k.useCallback)(()=>{var e;_(""),null==w||w(),null==(e=N.current)||e.focus()},[_,w]);(0,nv.G)(()=>{N.current&&_(N.current.value)},[N.current]);let{labelProps:Y,inputProps:J,isInvalid:Q,validationErrors:ee,validationDetails:et,descriptionProps:en,errorMessageProps:er}=function(e,t){let n,r,{inputElementType:o="input",isDisabled:i=!1,isRequired:a=!1,isReadOnly:s=!1,type:l="text",validationBehavior:u="aria"}=e,[d,c]=(0,eV.z)(e.value,e.defaultValue||"",e.onChange),{focusableProps:f}=function(e,t){let{focusProps:n}=function(e){let t,n,{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e,s=(0,k.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0},[i,a]),l=(t=(0,k.useRef)({isFocused:!1,observer:null}),at(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),n=an(e=>{null==s||s(e)}),(0,k.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new aI("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();
6let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])),u=(0,k.useCallback)(e=>{let t=ar(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(o&&o(e),a&&a(!0),l(e))},[a,o,l]);return{focusProps:{onFocus:!r&&(o||a||i)?u:void 0,onBlur:!r&&(i||a)?s:void 0}}}(e),{keyboardProps:r}={keyboardProps:e.isDisabled?{}:{onKeyDown:aF(e.onKeyDown),onKeyUp:aF(e.onKeyUp)}},o=aa(n,r),i=function(e){let t=(0,k.useContext)(aR)||{};at(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}});let{ref:n,...r}=t;return r}(t),a=e.isDisabled?{}:i,s=(0,k.useRef)(e.autoFocus);return(0,k.useEffect)(()=>{s.current&&t.current&&function(e){let t=ar(e);if("virtual"===ak){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&af(e)},requestAnimationFrame(()=>{0===au.size?n():ad.add(n)})}else af(e)}(t.current),s.current=!1},[t]),{focusableProps:aa({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}(e,t),p=sa({...e,value:d}),{isInvalid:m,validationErrors:g,validationDetails:h}=p.displayValidation,{labelProps:v,fieldProps:y,descriptionProps:b,errorMessageProps:w}=function(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:i,fieldProps:a}=(0,as.N)(e),s=(0,al.mp)([!!t,!!n,r,o]),l=(0,al.mp)([!!t,!!n,r,o]);return{labelProps:i,fieldProps:a=function(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=(0,al.ur)(n,o):t[e]=void 0!==o?o:n}}return t}(a,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:s},errorMessageProps:{id:l}}}({...e,isInvalid:m,errorMessage:e.errorMessage||g}),x=function(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i8.has(t)||n&&i7.has(t)||r&&i9.has(t)||(null==o?void 0:o.has(t))||ae.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0}),E={type:l,pattern:e.pattern};return n=(0,k.useRef)(d),r=an(()=>{c&&c(n.current)}),(0,k.useEffect)(()=>{var e;let n=null==t?void 0:null===(e=t.current)||void 0===e?void 0:e.form;return null==n||n.addEventListener("reset",r),()=>{null==n||n.removeEventListener("reset",r)}},[t,r]),se(e,p,t),(0,k.useEffect)(()=>{if(t.current instanceof ao(t.current).HTMLTextAreaElement){let e=t.current;Object.defineProperty(e,"defaultValue",{get:()=>e.value,set:()=>{},configurable:!0})}},[t]),{labelProps:v,inputProps:aa(x,"input"===o&&E,{disabled:i,readOnly:s,required:a&&"native"===u,"aria-required":a&&"aria"===u||void 0,"aria-invalid":m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:d,onChange:e=>c(e.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...f,...y}),descriptionProps:b,errorMessageProps:w,isInvalid:m,validationErrors:g,validationDetails:h}}({...e,validationBehavior:T,autoCapitalize:e.autoCapitalize,value:z,"aria-label":(0,i3.x)(e["aria-label"],e.label,e.placeholder),inputElementType:G?"textarea":"input",onChange:_},N);q&&(delete J.value,delete J.onChange);let{isFocusVisible:eo,isFocused:ei,focusProps:ea}=(0,eU.F)({autoFocus:v,isTextInput:!0}),{isHovered:es,hoverProps:el}=(0,eG.X)({isDisabled:!!(null==e?void 0:e.isDisabled)}),{isHovered:eu,hoverProps:ed}=(0,eG.X)({isDisabled:!!(null==e?void 0:e.isDisabled)}),{focusProps:ec,isFocusVisible:ef}=(0,eU.F)(),{focusWithinProps:ep}
6=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=(0,k.useRef)({isFocusWithin:!1}),a=(0,k.useCallback)(e=>{i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,i]),s=o$(a),l=(0,k.useCallback)(e=>{i.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),i.current.isFocusWithin=!0,s(e))},[r,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:a}}}({onFocusWithinChange:A}),{pressProps:em}=(0,oT.r)({isDisabled:!!(null==e?void 0:e.isDisabled)||!!(null==e?void 0:e.isReadOnly),onPress:Z}),eg="invalid"===E||e.isInvalid||Q,eh=(0,k.useMemo)(()=>{var t;if(q){if(!e.labelPlacement)return"outside";if("inside"===e.labelPlacement)return i6("Input with file type doesn't support inside label. Converting to outside ..."),"outside"}return e.labelPlacement&&"inside"!==e.labelPlacement||c?null!=(t=e.labelPlacement)?t:"inside":"outside"},[e.labelPlacement,c]),ev="function"==typeof a.errorMessage?a.errorMessage({isInvalid:eg,validationErrors:ee,validationDetails:et}):a.errorMessage||(null==ee?void 0:ee.join(" ")),ey=!!w||e.isClearable,eb=!!c||!!m||!!ev,ew=!!a.placeholder,ex=!!c,eE=!!m||!!ev,ek="outside"===eh||"outside-left"===eh,eT="inside"===eh,eC=!!N.current&&(!N.current.value||""===N.current.value||!z||""===z)&&ew,eP="outside-left"===eh,ej=!!y,eS=!!ek&&("outside-left"===eh||ew||"outside"===eh&&ej),eL="outside"===eh&&!ew&&!ej,eA=(0,k.useMemo)(()=>i4({...s,isInvalid:eg,labelPlacement:eh,isClearable:ey,disableAnimation:M}),[(0,eI.Xx)(s),eg,eh,ey,ej,M]),eM=(0,k.useCallback)((t={})=>({ref:D,className:eA.base({class:X}),"data-slot":"base","data-filled":(0,F.PB)(V||ew||ej||eC||q),"data-filled-within":(0,F.PB)($||ew||ej||eC||q),"data-focus-within":(0,F.PB)(L),"data-focus-visible":(0,F.PB)(eo),"data-readonly":(0,F.PB)(e.isReadOnly),"data-focus":(0,F.PB)(ei),"data-hover":(0,F.PB)(es||eu),"data-required":(0,F.PB)(e.isRequired),"data-invalid":(0,F.PB)(eg),"data-disabled":(0,F.PB)(e.isDisabled),"data-has-elements":(0,F.PB)(eb),"data-has-helper":(0,F.PB)(eE),"data-has-label":(0,F.PB)(ex),"data-has-value":(0,F.PB)(!eC),"data-hidden":(0,F.PB)(U),...ep,...t}),[eA,X,V,ei,es,eu,eg,eE,ex,eb,eC,ej,L,eo,$,ew,ep,U,e.isReadOnly,e.isRequired,e.isDisabled]),eD=(0,k.useCallback)((e={})=>({"data-slot":"label",className:eA.label({class:null==h?void 0:h.label}),...(0,W.d)(Y,ed,e)}),[eA,eu,Y,null==h?void 0:h.label]),eK=(0,k.useCallback)((t={})=>({ref:N,"data-slot":"input","data-filled":(0,F.PB)(V),"data-filled-within":(0,F.PB)($),"data-has-start-content":(0,F.PB)(ej),"data-has-end-content":(0,F.PB)(!!b),className:eA.input({class:(0,I.W)(null==h?void 0:h.input,V?"is-filled":"")}),...(0,W.d)(ea,J,(0,iy.z)(j,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(J))}),t),"aria-readonly":(0,F.PB)(e.isReadOnly),onChange:(0,eW.t)(J.onChange,x)}),[eA,z,ea,J,j,V,$,ej,b,null==h?void 0:h.input,e.isReadOnly,e.isRequired,x]),eB=(0,k.useCallback)((e={})=>({ref:R,"data-slot":"input-wrapper","data-hover":(0,F.PB)(es||eu),"data-focus-visible":(0,F.PB)(eo),"data-focus":(0,F.PB)(ei),className:eA.inputWrapper({class:(0,I.W)(null==h?void 0:h.inputWrapper,V?"is-filled":"")}),...(0,W.d)(e,el),onClick:e=>{N.current&&e.currentTarget===e.target&&N.current.focus()},style:{cursor:"text",...e.style}}),[eA,es,eu,eo,ei,z,null==h?void 0:h.inputWrapper]),eF=(0,k.useCallback)((e={})=>({...e,ref:O,"data-slot":"inner-wrapper",onClick:e=>{N.current&&e.currentTarget===e.target&&N.current.focus()},className:eA.innerWrapper({class:(0,I.W)(null==h?void 0:h.innerWrapper,null==e?void 0:e.className)})}),[eA,null==h?void 0:h.innerWrapper]),eR=(0,k.useCallback)((e={})=>({...e,"data-slot":"main-wrapper",className:eA.mainWrapper({class:(0,I.W)(null==h?void 0:h.mainWrapper,null==e?void 0:e.className)})}),[eA,null==h?void 0:h.mainWrapper]),eO=(0,k.useCallback)((e={})=>({...e,"data-slot":"helper-wrapper",className:eA.helperWrapper({class:(0,I.W)(null==h?void 0:h.helperWrapper,null==e?void 0:e.className)})}),[eA,null==h?void 0:h.helperWrapper]),ez=(0,k.useCallback)((e={})=>({...e,...en,"data-slot":"description",className:eA.description({class:(0,I.W)(null==h?void 0:h.description,null==e?void 0:e.className)})}),[eA,null==h?void 0:h.description]),e_=(0,k.useCallback)((e={})=>({...e,...er,"data-slot":"error-message",className:eA.errorMessage({class:(0,I.W)(null==h?void 0:h.errorMessage,null==e?void 0:e.className)})}),[eA,er,null==h?void 0:h.errorMessage]),eH=(0,k.useCallback)((e={})=>({...e,role:"button",tabIndex:0,"aria-label":"clear input","data-slot":"clear-button","data-focus-visible":(0,F.PB)(ef),className:eA.clearButton({class:(0,I.W)(null==h?void 0:h.clearButton,null==e?void 0:e.className)}),...(0,W.d)(em,ec)}),[eA,ef,em,ec,null==h?void 0:h.clearButton]);return{Component:u||"div",classNames:h,domRef:N,label:c,description:m,startContent:y,endContent:b,labelPlacement:eh,isClearable:ey,hasHelper:eE,hasStartContent:ej,isLabelOutside:eS,isOutsideLeft:eP,isLabelOutsideAsPlaceholder:eL,shouldLabelBeOutside:ek,shouldLabelBeInside:eT,hasPlaceholder:ew,isInvalid:eg,errorMessage:ev,getBaseProps:eM,getLabelProps:eD,getInputProps:eK,getMainWrapperProps:eR,getInputWrapperProps:eB,getInnerWrapperProps:eF,getHelperWrapperProps:eO,getDescriptionProps:ez,getErrorMessageProps:e_,getClearButtonProps:eH}}({...a,ref:s,isMultiline:!0}),[S,L]=(0,k.useState)(t>
61),[A,M]=(0,k.useState)(!1),N=u?(0,w.jsx)("label",{...b(),children:u}):null,D=x(),R=o?(0,w.jsx)("textarea",{...D,style:(0,W.d)(D.style,null!=e?e:{})}):(0,w.jsx)(sj,{...D,cacheMeasurements:r,"data-hide-scroll":(0,F.PB)(!A),maxRows:n,minRows:t,style:(0,W.d)(D.style,null!=e?e:{}),onHeightChange:(e,r)=>{1===t&&L(e>=2*r.rowHeight),n>t&&M(e>=n*r.rowHeight),null==i||i(e,r)}}),O=(0,k.useMemo)(()=>c||f?(0,w.jsxs)("div",{...E(),children:[c,R,f]}):(0,w.jsx)("div",{...E(),children:R}),[c,D,f,E]);return(0,w.jsxs)(l,{...y(),children:[m?N:null,(0,w.jsxs)("div",{...T(),"data-has-multiple-rows":(0,F.PB)(S),children:[g?N:null,O]}),p?(0,w.jsx)("div",{...C(),children:h&&v?(0,w.jsx)("div",{...j(),children:v}):d?(0,w.jsx)("div",{...P(),children:d}):null}):null]})});sS.displayName="NextUI.Textarea";var sL=n(53974),sA=n(45145),sM=n(42635);let sN="CF-Turnstile-Token",sD={jp:"ja",kr:"ko",tw:"zh-tw"};class sK extends Error{constructor(e){super(e),this.name="TurnstileError"}}let sB=null,sI=()=>window.turnstile?Promise.resolve(window.turnstile):sB||(sB=new Promise((e,t)=>{window.__mediaTurnstileOnLoad=()=>{if(window.turnstile){e(window.turnstile);return}t(new sK("Turnstile failed to initialize"))};let n=document.createElement("script");n.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=__mediaTurnstileOnLoad",n.async=!0,n.defer=!0,n.onerror=()=>{sB=null,t(new sK("Turnstile script failed to load"))},document.head.appendChild(n)})),sF=e=>{var t;if(e)return null!==(t=sD[e])&&void 0!==t?t:e},sR=(e,t)=>{let{siteKey:n,language:r,theme:o="auto",onPopupShow:i,onPass:a}=t,s=null,l=null,u=0,d=!1,c=!1,f=(e,t)=>{if(!l||l.generation!==e)return;let n=l;l=null,n.reject(t)},p=n?sI().then(t=>{d||(s=t.render(e,{sitekey:n,action:"media_download",language:sF(r),execution:"execute",appearance:"interaction-only",theme:o,retry:"never","before-interactive-callback":()=>{c||(c=!0,null==i||i())},callback:e=>{if(!l||l.generation!==u)return;let t=l;l=null,null==a||a({interactive:c}),t.resolve(e)},"error-callback":e=>{f(u,new sK("Turnstile verification failed".concat(e?": ".concat(e):"")))},"expired-callback":()=>{f(u,new sK("Turnstile token expired"))},"timeout-callback":()=>{f(u,new sK("Turnstile timed out"))}}))}):Promise.resolve();return{execute:async()=>{if(!n)throw new sK("Missing NEXT_PUBLIC_TURNSTILE_SITE_KEY");await p;let t=window.turnstile;if(!s||!t)throw new sK("Turnstile is not ready");if(l)throw new sK("Turnstile is already running");let r=++u;return c=!1,e.hidden=!1,new Promise((n,o)=>{let i=window.setTimeout(()=>{f(r,new sK("Turnstile timed out"))},6e4),a=n=>{window.clearTimeout(i),l=null,e.hidden=!0,n(),t.reset(s)};l={generation:r,resolve:e=>{a(()=>n(e))},reject:e=>{a(()=>o(e))}},t.execute(s)})},destroy:()=>{d=!0,l=null;let e=window.turnstile;s&&e&&e.remove(s),s=null}}},sO=e=>{let{siteKey:t,language:n,theme:r="auto",onPopupShow:o,onPass:i}=e,a=(0,k.useRef)(null),s=(0,k.useRef)(null),l=(0,k.useRef)({onPopupShow:o,onPass:i});return l.current={onPopupShow:o,onPass:i},(0,k.useEffect)(()=>{let e=a.current;if(!e)return;let o=sR(e,{siteKey:t,language:n,theme:r,onPopupShow:()=>{var e,t;return null===(e=(t=l.current).onPopupShow)||void 0===e?void 0:e.call(t)},onPass:e=>{var t,n;return null===(t=(n=l.current).onPass)||void 0===t?void 0:t.call(n,e)}});return s.current=o,()=>{o.destroy(),s.current===o&&(s.current=null)}},[t,n,r]),{containerRef:a,execute:(0,k.useCallback)(()=>{let e=s.current;return e?e.execute():Promise.reject(new sK("Turnstile is not ready"))},[])}},sz=()=>{let e=0,t=!1;return{isBusy:()=>t,start:()=>t?0:(t=!0,e+=1),isCurrent:t=>e===t,finish:n=>e===n&&(t=!1,!0)}};var s_=n(38231);function sW(e,t){return function(){return e.apply(t,arguments)}}var sH=n(77604);let{toString:sV}=Object.prototype,{getPrototypeOf:s$}=Object,sU=(r=Object.create(null),e=>{let t=sV.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())}),sG=e=>(e=e.toLowerCase(),t=>sU(t)===e),sq=e=>t=>typeof t===e,{isArray:sX}=Array,sZ=sq("undefined"),sY=sG("ArrayBuffer"),sJ=sq("string"),sQ=sq("function"),s0=sq("number"),s1=e=>null!==e&&"object"==typeof e,s4=e=>{if("object"!==sU(e))return!1;let t=s$(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},s3=sG("Date"),s2=sG("File"),s5=sG("Blob"),s6=sG("FileList"),s8=sG("URLSearchParams"),[s7,s9,le,lt]=["ReadableStream","Request","Response","Headers"].map(sG);function ln(e,t,{allOwnKeys:n=!1}={}){let r,o;if(null!=e){if("object"!=typeof e&&(e=[e]),sX(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{let o;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}}function lr(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),o=r.length;for(;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}let lo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,li=e=>!sZ(e)&&e!==lo,la=(o="undefined"!=typeof Uint8Array&&s$(Uint8Array),e=>o&&e instanceof o),ls=sG("HTMLFormElement"),ll=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),lu=sG("RegExp"),ld=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};ln(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)}
6,lc="abcdefghijklmnopqrstuvwxyz",lf="0123456789",lp={DIGIT:lf,ALPHA:lc,ALPHA_DIGIT:lc+lc.toUpperCase()+lf},lm=sG("AsyncFunction"),lg=(a="function"==typeof setImmediate,s=sQ(lo.postMessage),a?setImmediate:s?(l=`axios@${Math.random()}`,u=[],lo.addEventListener("message",({source:e,data:t})=>{e===lo&&t===l&&u.length&&u.shift()()},!1),e=>{u.push(e),lo.postMessage(l,"*")}):e=>setTimeout(e)),lh="undefined"!=typeof queueMicrotask?queueMicrotask.bind(lo):void 0!==sH&&sH.nextTick||lg;var lv={isArray:sX,isArrayBuffer:sY,isBuffer:function(e){return null!==e&&!sZ(e)&&null!==e.constructor&&!sZ(e.constructor)&&sQ(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||sQ(e.append)&&("formdata"===(t=sU(e))||"object"===t&&sQ(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&sY(e.buffer)},isString:sJ,isNumber:s0,isBoolean:e=>!0===e||!1===e,isObject:s1,isPlainObject:s4,isReadableStream:s7,isRequest:s9,isResponse:le,isHeaders:lt,isUndefined:sZ,isDate:s3,isFile:s2,isBlob:s5,isRegExp:lu,isFunction:sQ,isStream:e=>s1(e)&&sQ(e.pipe),isURLSearchParams:s8,isTypedArray:la,isFileList:s6,forEach:ln,merge:function e(){let{caseless:t}=li(this)&&this||{},n={},r=(r,o)=>{let i=t&&lr(n,o)||o;s4(n[i])&&s4(r)?n[i]=e(n[i],r):s4(r)?n[i]=e({},r):sX(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ln(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(ln(t,(t,r)=>{n&&sQ(t)?e[r]=sW(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;let s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==n&&s$(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:sU,kindOfTest:sG,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(sX(e))return e;let t=e.length;if(!s0(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let r=(e&&e[Symbol.iterator]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:ls,hasOwnProperty:ll,hasOwnProp:ll,reduceDescriptors:ld,freezeMethods:e=>{ld(e,(t,n)=>{if(sQ(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(sQ(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(sX(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:lr,global:lo,isContextDefined:li,ALPHABET:lp,generateString:(e=16,t=lp.ALPHA_DIGIT)=>{let n="",{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&sQ(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(s1(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let o=sX(e)?[]:{};return ln(e,(e,t)=>{let i=n(e,r+1);sZ(i)||(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:lm,isThenable:e=>e&&(s1(e)||sQ(e))&&sQ(e.then)&&sQ(e.catch),setImmediate:lg,asap:lh};function ly(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}lv.inherits(ly,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:lv.toJSONObject(this.config),code:this.code,status:this.status}}});let lb=ly.prototype,lw={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","E
6RR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{lw[e]={value:e}}),Object.defineProperties(ly,lw),Object.defineProperty(lb,"isAxiosError",{value:!0}),ly.from=(e,t,n,r,o,i)=>{let a=Object.create(lb);return lv.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),ly.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var lx=n(70844).Buffer;function lE(e){return lv.isPlainObject(e)||lv.isArray(e)}function lk(e){return lv.endsWith(e,"[]")?e.slice(0,-2):e}function lT(e,t,n){return e?e.concat(t).map(function(e,t){return e=lk(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let lC=lv.toFlatObject(lv,{},null,function(e){return/^is[A-Z]/.test(e)});var lP=function(e,t,n){if(!lv.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=lv.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!lv.isUndefined(t[e])})).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&lv.isSpecCompliantForm(t);if(!lv.isFunction(o))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(lv.isDate(e))return e.toISOString();if(!s&&lv.isBlob(e))throw new ly("Blob is not supported. Use a Buffer instead.");return lv.isArrayBuffer(e)||lv.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):lx.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"==typeof e){if(lv.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(lv.isArray(e)&&(u=e,lv.isArray(u)&&!u.some(lE))||(lv.isFileList(e)||lv.endsWith(n,"[]"))&&(s=lv.toArray(e)))return n=lk(n),s.forEac
6h(function(e,r){lv.isUndefined(e)||null===e||t.append(!0===a?lT([n],r,i):null===a?n:n+"[]",l(e))}),!1}}return!!lE(e)||(t.append(lT(o,n,i),l(e)),!1)}let d=[],c=Object.assign(lC,{defaultVisitor:u,convertValue:l,isVisitable:lE});if(!lv.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!lv.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),lv.forEach(n,function(n,i){!0===(!(lv.isUndefined(n)||null===n)&&o.call(t,n,lv.isString(i)?i.trim():i,r,c))&&e(n,r?r.concat(i):[i])}),d.pop()}}(e),t};function lj(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function lS(e,t){this._pairs=[],e&&lP(e,this,t)}let lL=lS.prototype;function lA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lM(e,t,n){let r;if(!t)return e;let o=n&&n.encode||lA,i=n&&n.serialize;if(r=i?i(t,n):lv.isURLSearchParams(t)?t.toString():new lS(t,n).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}lL.append=function(e,t){this._pairs.push([e,t])},lL.toString=function(e){let t=e?function(t){return e.call(this,t,lj)}:lj;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class lN{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){lv.forEach(this.handlers,function(t){null!==t&&e(t)})}}var lD={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lK="undefined"!=typeof URLSearchParams?URLSearchParams:lS,lB="undefined"!=typeof FormData?FormData:null,lI="undefined"!=typeof Blob?Blob:null;let lF="undefined"!=typeof window&&"undefined"!=typeof document,lR="object"==typeof navigator&&navigator||void 0,lO=lF&&(!lR||0>["ReactNative","NativeScript","NS"].indexOf(lR.product)),lz="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,l_=lF&&window.location.href||"http://localhost";var lW={...b,isBrowser:!0,classes:{URLSearchParams:lK,FormData:lB,Blob:lI},protocols:["http","https","file","blob","url","data"]},lH=function(e){if(lv.isFormData(e)&&lv.isFunction(e.entries)){let t={};return lv.forEachEntry(e,(e,n)=>{!function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;let a=Number.isFinite(+i),s=o>=t.length;return(i=!i&&lv.isArray(r)?r.length:i,s)?lv.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n:(r[i]&&lv.isObject(r[i])||(r[i]=[]),e(t,n,r[i],o)&&lv.isArray(r[i])&&(r[i]=function(e){let t,n;let r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i]))),!a}(lv.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let lV={transitional:lD,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=lv.isObject(e);if(i&&lv.isHTMLForm(e)&&(e=new FormData(e)),lv.isFormData(e))return o?JSON.stringify(lH(e)):e;if(lv.isArrayBuffer(e)||lv.isBuffer(e)||lv.isStream(e)||lv.isFile(e)||lv.isBlob(e)||lv.isReadableStream(e))return e;if(lv.isArrayBufferView(e))return e.buffer;if(lv.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,lP(a,new lW.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return lW.isNode&&lv.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},s))).toString()}if((n=lv.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return lP(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(lv.isString(e))try{return(0,JSON.parse)(e),lv.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||lV.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(lv.isResponse(e)||lv.isReadableStream(e))return e;if(e&&lv.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw ly.from(e,ly.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lW.classes.FormData,Blob:lW.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};lv.forEach(["delete","get","head","post","put","patch"],e=>{lV.headers[e]={}});let l$=lv.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var lU=e=>{let t,n,r;let o={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&l$[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)}),o};let lG=Symbol("internals");function lq(e){return e&&String(e).trim().toLowerCase()}function lX(e){return!1===e||null==e?e:lv.isArray(e)?e.map(lX):String(e)}let lZ=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function lY(e,t,n,r,o){if(lv.isFunction(r))return r.call(this,t,n);if(o&&(t=n),lv.isString(t)){if(lv.isString(r))return -1!==t.indexOf(r);if(lv.isRegExp(r))return r.test(t)}}class lJ{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function o(e,t,n){let o=lq(t);if(!o)throw Error("header name must be a non-empty string");let i=lv.findKey(r,o);i&&void 0!==r[i]&&!0!==n&&(void 0!==n||!1===r[i])||(r[i||t]=lX(e))}let i=(e,t)=>lv.forEach(e,(e,n)=>o(e,n,t));if(lv.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(lv.isString(e)&&(e=e.trim())&&!lZ(e))i(lU(e),t);else if(lv.isHeaders(e))for(let[t,r]of e.entries())o(r,t,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=lq(e)){let n=lv.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;
6=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(lv.isFunction(t))return t.call(this,e,n);if(lv.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=lq(e)){let n=lv.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||lY(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function o(e){if(e=lq(e)){let o=lv.findKey(n,e);o&&(!t||lY(n,n[o],o,t))&&(delete n[o],r=!0)}}return lv.isArray(e)?e.forEach(o):o(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let o=t[n];(!e||lY(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){let t=this,n={};return lv.forEach(this,(r,o)=>{let i=lv.findKey(n,o);if(i){t[i]=lX(r),delete t[o];return}let a=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(o).trim();a!==o&&delete t[o],t[a]=lX(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return lv.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&lv.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[lG]=this[lG]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=lq(e);t[r]||(!function(e,t){let n=lv.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return lv.isArray(e)?e.forEach(r):r(e),this}}function lQ(e,t){let n=this||lV,r=t||n,o=lJ.from(r.headers),i=r.data;return lv.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function l0(e){return!!(e&&e.__CANCEL__)}function l1(e,t,n){ly.call(this,null==e?"canceled":e,ly.ERR_CANCELED,t,n),this.name="CanceledError"}function l4(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ly("Request failed with status code "+n.status,[ly.ERR_BAD_REQUEST,ly.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}lJ.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),lv.reduceDescriptors(lJ.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),lv.freezeMethods(lJ),lv.inherits(l1,ly,{__CANCEL__:!0});var l3=function(e,t){let n;let r=Array(e=e||10),o=Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=o[a];n||(n=l),r[i]=s,o[i]=l;let d=a,c=0;for(;d!==i;)c+=r[d++],d%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),l-n<t)return;let f=u&&l-u;return f?Math.round(1e3*c/f):void 0}},l2=function(e,t){let n,r,o=0,i=1e3/t,a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-s)))},()=>n&&a(n)]};let l5=(e,t,n=3)=>{let r=0,o=l3(50,250);return l2(n=>{let i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},l6=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},l8=e=>(...t)=>lv.asap(()=>e(...t));var l7=lW.hasStandardBrowserEnv?function(){let e;let t=lW.navigator&&/(msie|trident)/i.test(lW.navigator.userAgent),n=document.createElement("a");function r(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){let n=lv.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},l9=lW.hasStandardBrowserEnv?{write(e,t,n,r,o,i){let a=[e+"="+encodeURIComponent(t)];lv.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),lv.isString(r)&&a.push("path="+r),lv.
6isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ue(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let ut=e=>e instanceof lJ?{...e}:e;function un(e,t){t=t||{};let n={};function r(e,t,n){return lv.isPlainObject(e)&&lv.isPlainObject(t)?lv.merge.call({caseless:n},e,t):lv.isPlainObject(t)?lv.merge({},t):lv.isArray(t)?t.slice():t}function o(e,t,n){return lv.isUndefined(t)?lv.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!lv.isUndefined(t))return r(void 0,t)}function a(e,t){return lv.isUndefined(t)?lv.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}let l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(ut(e),ut(t),!0)};return lv.forEach(Object.keys(Object.assign({},e,t)),function(r){let i=l[r]||o,a=i(e[r],t[r],r);lv.isUndefined(a)&&i!==s||(n[r]=a)}),n}var ur=e=>{let t;let n=un({},e),{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=n;if(n.headers=s=lJ.from(s),n.url=lM(ue(n.baseURL,n.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),lv.isFormData(r)){if(lW.hasStandardBrowserEnv||lW.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...n].join("; "))}}if(lW.hasStandardBrowserEnv&&(o&&lv.isFunction(o)&&(o=o(n)),o||!1!==o&&l7(n.url))){let e=i&&a&&l9.read(a);e&&s.set(i,e)}return n},uo="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,o,i,a,s;let l=ur(e),u=l.data,d=lJ.from(l.headers).normalize(),{responseType:c,onUploadProgress:f,onDownloadProgress:p}=l;function m(){a&&a(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(r),l.signal&&l.signal.removeEventListener("abort",r)}let g=new XMLHttpRequest;function h(){if(!g)return;let r=lJ.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());l4(function(e){t(e),m()},function(e){n(e),m()},{data:c&&"text"!==c&&"json"!==c?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(l.method.toUpperCase(),l.url,!0),g.timeout=l.timeout,"onloadend"in g?g.onloadend=h:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(h)},g.onabort=function(){g&&(n(new ly("Request aborted",ly.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new ly("Network Error",ly.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",r=l.transitional||lD;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),n(new ly(t,r.clarifyTimeoutError?ly.ETIMEDOUT:ly.ECONNABORTED,e,g)),g=null},void 0===u&&d.setContentType(null),"setRequestHeader"in g&&lv.forEach(d.toJSON(),function(e,t){g.setRequestHeader(t,e)}),lv.isUndefined(l.withCredentials)||(g.withCredentials=!!l.withCredentials),c&&"json"!==c&&(g.responseType=l.responseType),p&&([i,s]=l5(p,!0),g.addEventListener("progress",i)),f&&g.upload&&([o,a]=l5(f),g.upload.addEventListener("progress",o),g.upload.addEventListener("loadend",a)),(l.cancelToken||l.signal)&&(r=t=>{g&&(n(!t||t.type?new l1(null,e,g):t),g.abort(),g=null)},l.cancelToken&&l.cancelToken.subscribe(r),l.signal&&(l.signal.aborted?r():l.signal.addEventListener("abort",r)));let v=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(v&&-1===lW.protocols.indexOf(v)){n(new ly("Unsupported protocol "+v+":",ly.ERR_BAD_REQUEST,e));return}g.send(u||null)})},ui=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,o=function(e){if(!n){n=!0,a();let t=e instanceof Error?e:this.reason;r.abort(t instanceof ly?t:new l1(t instanceof Error?t.message:t))}},i=t&&setTimeout(()=>{i=null,o(new ly(`timeout ${t} of ms exceeded`,ly.ETIMEDOUT))},t),a=()=>
6{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));let{signal:s}=r;return s.unsubscribe=()=>lv.asap(a),s}};let ua=function*(e,t){let n,r=e.byteLength;if(!t||r<t){yield e;return}let o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},us=async function*(e,t){for await(let n of ul(e))yield*ua(n,t)},ul=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},uu=(e,t,n,r)=>{let o;let i=us(e,t),a=0,s=e=>{!o&&(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},ud="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,uc=ud&&"function"==typeof ReadableStream,uf=ud&&("function"==typeof TextEncoder?(i=new TextEncoder,e=>i.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),up=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},um=uc&&up(()=>{let e=!1,t=new Request(lW.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ug=uc&&up(()=>lv.isReadableStream(new Response("").body)),uh={stream:ug&&(e=>e.body)};ud&&(h=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{uh[e]||(uh[e]=lv.isFunction(h[e])?t=>t[e]():(t,n)=>{throw new ly(`Response type '${e}' is not supported`,ly.ERR_NOT_SUPPORT,n)})}));let uv=async e=>{if(null==e)return 0;if(lv.isBlob(e))return e.size;if(lv.isSpecCompliantForm(e)){let t=new Request(lW.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return lv.isArrayBufferView(e)||lv.isArrayBuffer(e)?e.byteLength:(lv.isURLSearchParams(e)&&(e+=""),lv.isString(e))?(await uf(e)).byteLength:void 0},uy=async(e,t)=>{let n=lv.toFiniteNumber(e.getContentLength());return null==n?uv(t):n},ub={http:null,xhr:uo,fetch:ud&&(async e=>{let t,n,{url:r,method:o,data:i,signal:a,cancelToken:s,timeout:l,onDownloadProgress:u,onUploadProgress:d,responseType:c,headers:f,withCredentials:p="same-origin",fetchOptions:m}=ur(e);c=c?(c+"").toLowerCase():"text";let g=ui([a,s&&s.toAbortSignal()],l),h=g&&g.unsubscribe&&(()=>{g.unsubscribe()});try{if(d&&um&&"get"!==o&&"head"!==o&&0!==(n=await uy(f,i))){let e,t=new Request(r,{method:"POST",body:i,duplex:"half"});if(lv.isFormData(i)&&(e=t.headers.get("content-type"))&&f.setContentType(e),t.body){let[e,r]=l6(n,l5(l8(d)));i=uu(t.body,65536,e,r)}}lv.isString(p)||(p=p?"include":"omit");let a="credentials"in Request.prototype;t=new Request(r,{...m,signal:g,method:o.toUpperCase(),headers:f.normalize().toJSON(),body:i,duplex:"half",credentials:a?p:void 0});let s=await fetch(t),l=ug&&("stream"===c||"response"===c);if(ug&&(u||l&&h)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});let t=lv.toFiniteNumber(s.headers.get("content-length")),[n,r]=u&&l6(t,l5(l8(u),!0))||[];s=new Response(uu(s.body,65536,n,()=>{r&&r(),h&&h()}),e)}c=c||"text";let v=await uh[lv.findKey(uh,c)||"text"](s,e);return!l&&h&&h(),await new Promise((n,r)=>{l4(n,r,{data:v,headers:lJ.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:t})})}catch(n){if(h&&h(),n&&"TypeError"===n.name&&/fetch/i.test(n.message))throw Object.assign(new ly("Network Error",ly.ERR_NETWORK,e,t),{cause:n.cause||n});throw ly.from(n,n&&n.code,e,t)}})};lv.forEach(ub,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let uw=e=>`- ${e}`,ux=e=>lv.isFunction(e)||null===e||!1===e;var uE=e=>{let t,n;let{length:r}=e=lv.isArray(e)?e:[e],o={};for(let i=0;i<r;i++){let r;if(n=t=e[i],!ux(t)&&void 0===(n=ub[(r=String(t)).toLowerCase()]))throw new ly(`Unknown adapter '${r}'`);if(n)break;o[r||"#"+i]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new ly("There is no suitable adapter to dispatch the request "+(r?e.length>
61?"since :\n"+e.map(uw).join("\n"):" "+uw(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function uk(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new l1(null,e)}function uT(e){return uk(e),e.headers=lJ.from(e.headers),e.data=lQ.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),uE(e.adapter||lV.adapter)(e).then(function(t){return uk(e),t.data=lQ.call(e,e.transformResponse,t),t.headers=lJ.from(t.headers),t},function(t){return!l0(t)&&(uk(e),t&&t.response&&(t.response.data=lQ.call(e,e.transformResponse,t.response),t.response.headers=lJ.from(t.response.headers))),Promise.reject(t)})}let uC="1.7.7",uP={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uP[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let uj={};uP.transitional=function(e,t,n){function r(e,t){return"[Axios v"+uC+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new ly(r(o," has been removed"+(t?" in "+t:"")),ly.ERR_DEPRECATED);return t&&!uj[o]&&(uj[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var uS={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ly("options must be an object",ly.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),o=r.length;for(;o-- >0;){let i=r[o],a=t[i];if(a){let t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new ly("option "+i+" must be "+n,ly.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new ly("Unknown option "+i,ly.ERR_BAD_OPTION)}},validators:uP};let uL=uS.validators;class uA{constructor(e){this.defaults=e,this.interceptors={request:new lN,response:new lN}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:i,headers:a}=t=un(this.defaults,t);void 0!==o&&uS.assertOptions(o,{silentJSONParsing:uL.transitional(uL.boolean),forcedJSONParsing:uL.transitional(uL.boolean),clarifyTimeoutError:uL.transitional(uL.boolean)},!1),null!=i&&(lv.isFunction(i)?t.paramsSerializer={serialize:i}:uS.assertOptions(i,{encode:uL.function,serialize:uL.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&lv.merge(a.common,a[t.method]);a&&lv.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=lJ.concat(s,a);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let d=[];this.interceptors.response.forEach(function(e){d.push(e.fulfilled,e.rejected)});let c=0;if(!u){let e=[uT.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,d),r=e.length,n=Promise.resolve(t);c<r;)n=n.then(e[c++],e[c++]);return n}r=l.length;let f=t;for(c=0;c<r;){let e=l[c++],t=l[c++];try{f=e(f)}catch(e){t.call(this,e);break}}try{n=uT.call(this,f)}catch(e){return Promise.reject(e)}for(c=0,r=d.length;c<r;)n=n.then(d[c++],d[c++]);return n}getUri(e){return lM(ue((e=un(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}lv.forEach(["delete","get","head","options"],function(e){uA.prototype[e]=function(t,n){return this.request(un(n||{},{method:e,url:t,data:(n||{}).data}))}}),lv.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(un(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}uA.prototype[e]=t(),uA.prototype[e+"Form"]=t(!0)});class uM{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new l1(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
6subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new uM(function(t){e=t}),cancel:e}}}let uN={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(uN).forEach(([e,t])=>{uN[t]=e});let uD=function e(t){let n=new uA(t),r=sW(uA.prototype.request,n);return lv.extend(r,uA.prototype,n,{allOwnKeys:!0}),lv.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(un(t,n))},r}(lV);uD.Axios=uA,uD.CanceledError=l1,uD.CancelToken=uM,uD.isCancel=l0,uD.VERSION=uC,uD.toFormData=lP,uD.AxiosError=ly,uD.Cancel=uD.CanceledError,uD.all=function(e){return Promise.all(e)},uD.spread=function(e){return function(t){return e.apply(null,t)}},uD.isAxiosError=function(e){return lv.isObject(e)&&!0===e.isAxiosError},uD.mergeConfig=un,uD.AxiosHeaders=lJ,uD.formToJSON=e=>lH(lv.isHTMLForm(e)?new FormData(e):e),uD.getAdapter=uE,uD.HttpStatusCode=uN,uD.default=uD;let uK=uD.create({baseURL:"".concat("https://api.hitube.io"),timeout:6e4});uK.interceptors.request.use(async e=>{let t=Date.now().toString(),n=await (0,s_.HI)("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCAdf/EyIbLBxjGqmh7qLU6/CPCzru+75+82OSPZ+nf4BFvg88drpZ6KigNW0J8TNgxe6Yms1irCZNVDyu+RXsl4y/7c2KOHc4OGTzHB5fUMiMasFUvcEs2P70e6yA/sKHZfBLG1XPhlb84Ibs3nhD3W5e2SuC+4EuVkaqzN08LQIDAQAB",t);return e.headers["X-Secure-Message"]=n,e.headers["s-time"]=t,e}),(e=>{e.interceptors.response.use(e=>{let{code:t,data:n,message:r}=e.data;return 0===t?n:-1===t?Promise.reject(e.data):e.data},e=>(console.log("error-res-server: ",JSON.stringify(e.message)),Promise.reject(e)))})(uK);let uB="www.hitube.io",uI=new Set([502,503,504]),uF=e=>{var t,n;let r=String(null!==(n=e.message)&&void 0!==n?n:"");return!!("ECONNABORTED"===e.code&&/timeout/i.test(r))||"ETIMEDOUT"===e.code||(null===(t=e.response)||void 0===t?void 0:t.status)===408},uR=e=>{var t,n;if(!uD.isAxiosError(e)||"ERR_CANCELED"===e.code||uF(e))return!1;let r=null===(t=e.response)||void 0===t?void 0:t.status;if("number"==typeof r)return uI.has(r);if("ERR_NETWORK"===e.code)return!0;let o=String(null!==(n=e.message)&&void 0!==n?n:"");return!!/^network error$/i.test(o.trim())},uO=e=>{var t;if(!uD.isAxiosError(e)||!e.response)return 1e3;let n=null===(t=e.response.headers)||void 0===t?void 0:t["retry-after"];if(null==n||""===n)return 1e3;let r=Number.parseInt(String(n).trim(),10);return!Number.isFinite(r)||r<0?1e3:Math.min(1e3*r,2e3)},uz=async e=>{try{return await e()}catch(t){if(!uR(t))throw t;return await new Promise(e=>{setTimeout(e,uO(t))}),e()}},u_=(e,t)=>
6({params:{...e,hostname:uB},headers:{[sN]:t}}),uW=(e,t,n)=>uz(()=>uK.get(e,u_(t,n))),uH=(e,t)=>uW("/st-tik/ins/dlprofile",e,t),uV=(e,t)=>uW("/st-tik/tiktok/dl",e,t),u$=(e,t)=>uW("/st-tik-video/fb/dl",e,t),uU=(e,t)=>uW("/st-tik/ins/dl",e,t),uG=e=>{let t=uD.create({baseURL:e,timeout:6e4});return t.interceptors.request.use(async e=>{let t=Date.now().toString(),n=await (0,s_.HI)("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCAdf/EyIbLBxjGqmh7qLU6/CPCzru+75+82OSPZ+nf4BFvg88drpZ6KigNW0J8TNgxe6Yms1irCZNVDyu+RXsl4y/7c2KOHc4OGTzHB5fUMiMasFUvcEs2P70e6yA/sKHZfBLG1XPhlb84Ibs3nhD3W5e2SuC+4EuVkaqzN08LQIDAQAB",t);return e.headers["X-Secure-Message"]=n,e.headers["s-time"]=t,e.headers["Cache-Control"]="no-cache",e.headers.Pragma="no-cache",e}),t},uq=e=>200===e.code?{msg:e.msg,result:e.result}:Promise.reject(e);var uX=n(82600);let uZ=uG(uX.LB),uY=uG(uX.Z0),uJ=(e,t)=>({params:{...e,hostname:uB},headers:{[sN]:t}}),uQ=async(e,t)=>uq((await uz(()=>uZ.get(uX.vQ,uJ(e,t)))).data),u0=async(e,t)=>uq((await uz(()=>uY.get(uX.qJ,uJ(e,t)))).data),u1=(e,t)=>{var n;let r=null!==(n=null==e?void 0:e.trim().toLowerCase())&&void 0!==n?n:"";if("video"===r||/(mp4|webm|mov|m4v|mkv)/.test(r))return"mp4";if("audio"===r||/(m4a|mp3|aac|opus|wav|flac)/.test(r))return"mp3";if("gif"===r||/gif/.test(r))return"gif";if("image"===r||/(jpe?g|png|webp|heic|bmp|svg)/.test(r))return/png/.test(r)?"png":/webp/.test(r)?"webp":/gif/.test(r)?"gif":"jpg";let o=t.toLowerCase();return/\.(mp4|webm|mov|m4v|mkv)(\?|$)/.test(o)?"mp4":/\.(m4a|mp3|aac|opus|wav|flac)(\?|$)/.test(o)?"mp3":/\.gif(\?|$)/.test(o)?"gif":/\.png(\?|$)/.test(o)?"png":/\.webp(\?|$)/.test(o)?"webp":"jpg"},u4=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>{var t;let n=(null===(t=e.originalUrl)||void 0===t?void 0:t.trim())||e.url;return{...e,type:u1(e.type,n)}})},u3=(e,t)=>
6{var n,r;return{url:(0,s_.sI)(e.originalUrl,e.url),type:t,tag:(null===(n=e.type)||void 0===n?void 0:n.trim())||void 0,size:null!==(r=e.size)&&void 0!==r?r:void 0}},u2=e=>{var t;let n=(0,s_.sI)(e.originalCover,e.cover)||(0,s_.sI)(e.originalThumb,e.thumb)||null,r={id:e.id,url:(0,s_.sI)(e.originalUrl,e.url),type:e.type,cover:n||null,tag:e.resolution,size:void 0};return e.hasMultiResolution&&(null===(t=e.multiResolutions)||void 0===t?void 0:t.length)?{...r,videoList:e.multiResolutions.map(t=>u3(t,e.type))}:r},u5=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(u2)},u6=e=>e.trim().replace(/[\u0000-\u001F\u007F\u200B-\u200D\uFEFF]/g,""),u8=e=>{let t=u6(e);return t?t.startsWith("//")?"https:".concat(t):/^https?:\/\//i.test(t)?t:"https://".concat(t):""},u7=e=>{let t=e.toLowerCase().replace(/\.$/,"");return"pin.it"===t||"pinterest.com"===t||t.endsWith(".pinterest.com")},u9=e=>{let t;let n=u8(e);if(!n)return null;try{t=new URL(n)}catch(e){return null}return("http:"===t.protocol||"https:"===t.protocol)&&u7(t.hostname)&&"/"!==t.pathname?t.toString():null},de={regex:[/https?:\/\/www\.tiktok\.com\/@[\w\.-]+\/video\/(\d+)/g,/https?:\/\/www\.tiktok\.com\/@[\w\.-]+\/photo\/(\d+)/g,/https?:\/\/vt\.tiktok\.com\/[\w\.-]+/g,/https?:\/\/m\.tiktok\.com\/[\w\.-]+/g,/https?:\/\/www\.tiktok\.com\/[\w\.-]+/g,/https?:\/\/www?\.tiktok\.com\/@[\w\.-]+/g,/(?:\/\/|https?:\/\/)?vm\.tiktok\.com\/[A-Za-z0-9_-]+\/?.*/g]},dt={regex:[{regexp:/^((https|http)?:\/\/(?:(www|m|web|l|L|lm|zh-cn)\.)?facebook\.com\/([^/?#&]+)).*/,source_type:"facebook"},{regexp:/^((https|http)?:\/\/fb\.watch\/([^/?#&]+)).*/,source_type:"watch"}]},dn={regex:[{regexp:/instagram.com(\/s)\//,source_type:"s"},{regexp:/instagram.com(\/stories)\//,source_type:"stories"},{regexp:/instagram.com(\/reel)\//,source_type:"reel"},{regexp:/instagram.com(\/reels)\//,source_type:"reels"},{regexp:/instagram.com(\/tv)\//,source_type:"tv"},{regexp:/instagram.com(\/p)\//,source_type:"p"}]},dr={regex:[{regexp:/^((https|http)?:\/\/(?:www\.)?instagram\.com\/([^/?#&]+)).*/,source_type:"others"},{regexp:/^((https|http)?:\/\/(?:www\.)?instagram\.com\/reels\/audio\/([^/?#&]+)).*/,source_type:"reels/audio"},{regexp:/^[a-zA-Z0-9._]{1,30}$/,source_type:"profile"}]},di={regex:[/(?:https?:\/\/)?(?:www\.)?(?:x\.com|twitter\.com)\/[^/]+\/status\/\d+/]},da={regex:[/^https?:\/\/(?:[\w-]+\.)*pinterest\.com\/.+/i,/^https?:\/\/pin\.it\/.+/i,/^(?:www\.)?pinterest\.com\/.+/i,/^pin\.it\/.+/i]},ds=e=>{let t=[{...de,render:e=>(0,w.jsx)(j.k7,{data:e}),fetchApiMethod:e=>{let{sessionURI:t,sessionID:n,startTime:r,turnstileToken:o}=e;return new Promise(async(e,i)=>{try{let a=await uV({url:t,sessionid:n},o),{result:s}=a;s?e({...a,startTime:r,trackCount:{media_count:s?1:0,image_count:s&&s.thumb?1:0,video_count:s&&(s.waterMarkMp4||s.withoutWaterMarkMp4)?1:0,audio_count:s&&s.mp3?1:0}}):i(a)}catch(e){i(e)}})}},{...dt,render:e=>(0,w.jsx)(j.G$,{data:{...e}}),fetchApiMethod:e=>{let{sessionURI:t,sessionID:n,startTime:r,turnstileToken:o}=e;return new Promise(async(e,i)=>{try{let a=await u$({url:t,sessionid:n},o),{result:s}=a;if(s&&s.fbBos&&s.fbBos.length){let{multiple:t}=s,n={...s,fbBos:(0,s_.ZH)(s.fbBos,{multiple:t})};e({...{...a,result:n},startTime:r,trackCount:{media_count:s&&s.fbBos?s.fbBos.length:0,image_count:(0,s_.Ys)(s.fbBos,"image"),video_count:(0,s_.Ys)(s.fbBos,"video"),audio_count:(0,s_.Ys)(s.fbBos,"audio")}})}else i(a)}catch(e){i(e)}})}},{...dn,render:e=>(0,w.jsx)(j.tq,{data:{...e,showProfile:!1}}),fetchApiMethod:e=>{let{sessionURI:t,sessionID:n,startTime:r,turnstileToken:o}=e;return new Promise(async(e,i)=>{try{let a=await uU({url:t,sessionid:n},o),{result:s}=a;s&&s.insBos&&s.insBos.length?e({...a,startTime:r,trackCount:{media_count:s&&s.insBos?s.insBos.length:0,image_count:(0,s_.Ys)(s.insBos,"image"),video_count:(0,s_.Ys)(s.insBos,"video"),audio_count:(0,s_.Ys)(s.insBos,"audio")}}):i(a)}catch(e){i(e)}})}},{...di,render:e=>(0,w.jsx)(j.Co,{data:e}),fetchApiMethod:e=>{let{sessionURI:t,sessionID:n,startTime:r,turnstileToken:o}=e;return new Promise(async(e,i)=>{try{let a=await uQ({url:t,sessionid:n},o),{result:s}=a;if(s&&s.insBos&&s.insBos.length){let t=u5(u4(s.insBos)),n={...s,insBos:t};e({result:n,startTime:r,trackCount:{media_count:t.length,image_count:(0,s_.Ys)(t,"image"),video_count:(0,s_.Ys)(t,"video"),audio_count:(0,s_.Ys)(t,"audio")}})}else i(a)}catch(e){i(e)}})}},{...da,render:e=>(0,w.jsx)(j.Ev,{data:e}),fetchApiMethod:e=>{let{sessionURI:t,sessionID:n,startTime:r,turnstileToken:o}=e;return new Promise(async(e,i)=>{try{let a=u9(t);if(!a){i({msg:"invalid url"});return}let s=await u0({url:a,sessionid:n},o),{result:l}=s;if(l&&l.insBos&&l.insBos.length){let t=u5(u4(l.insBos)),n={...l,insBos:t};e({result:n,startTime:r,trackCount:{media_count:t.length,image_count:(0,s_.Ys)(t,"image"),video_count:(0,s_.Ys)(t,"video"),audio_count:(0,s_.Ys)(t,"audio")}})}else i(s)}catch(e){i(e)}})}},{...dr,render:e=>(0,w.jsx)(j.tq,{data:{...e,showProfile:!0}}),fetchApiMethod:e=>{let{sessionURI:t,sessionID:n,startTime:r,turnstileToken:o}=e;return new Promise(async(e,i)=>{try{let a=await uH({url:t,sessionid:n},o),{result:s}=a;s&&(s.profilePreviewUrl||s.insBos&&s.insBos.length)?e({...a,startTime:r,trackCount:{media_count:s&&s.insBos?s.insBos.length:0,image_count:(0,s_.Ys)(s.insBos,"image"),video_count:(0,s_.Ys)(s.insBos,"video"),audio_count:(0,s_.Ys)(s.insBos,"audio")}}):i(a)}catch(e){i(e)}})}}];return new Promise((n,r)=>{let o=!1;for(let{regex:r,render:i,fetchApiMethod:a,...s}of t)if(o=r.some(t=>((null==t?void 0:t.regexp)||t).test(e))){n({render:i,fetchApiMethod:a,...s});break}o||r({msg:"verification err",targetLink:e})})},dl="parseWaitingPromoLastDay",du=()=>{let e=new Date,t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r)},dd=()=>{try{return localStorage.getItem(dl)!==du()}catch(e){return!0}},dc=()=>{try{localStorage.setItem(dl,du())}catch(e){}};var df=n(34596);let dp="Paste your link here:",dm=null!==(y="0x4AAAAAAFIiskADhxSmiNXx".trim())&&void 0!==y?y:"";var dg=e=>{let{title:t,desc:n,placeholder:r,btnText:o}=e,{t:i,lang:a}=(0,T.Z)(),s=(0,sM.Z)(),l=(0,k.useRef)(""),{containerRef:u,execute:d}=sO({siteKey:dm,language:a,theme:"light",onPopupShow:()=>{(0,s_.N5)("turnstilePopupShow",{taskId:l.current})},onPass:e=>{let{interactive:t}=e;(0,s_.N5)("turnstilePass",{taskId:l.current,interactive:t})}}),c=(0,k.useRef)(sz()),f=(0,sL.XF)(sA.nj.auto),[p,m]=(0,k.useState)(""),[g,h]=(0,k.useState)(!1),[v,y]=(0,k.useState)(!1),[b,x]=(0,k.useState)(null),[E,C]=(0,k.useState)(null),[P,S]=(0,k.useState)(null),[L,A]=(0,k.useState)(!1),[M,N]=(0,k.useState)(!1),[D,K]=(0,k.useState)(""),B=(0,k.useRef)(null),I=(0,k.useRef)(()=>{});(0,k.useEffect)(()=>{(0,df.bb)(E?(0,df.uV)(E):0)},[E]),(0,k.useEffect)(()=>()=>(0,df.bb)(0),[]);let F=()=>{I.current(),I.current=()=>{}},R=()=>{let e=B.current;if(!e){N(!1);return}I.current=(0,s_.Z$)({shownAt:e,onClose:()=>{I.current=()=>{},B.current=null,N(!1)}})},O=e=>{dd()&&(dc(),K(e),B.current=Date.now(),N(!0),(0,s_.j)({action:"downloading",session_id:e,url:f,type:"ParseWaitingModal",entry_source:"parseWaiting"}),(0,s_.c8)(f))},z=e=>{c.current.finish(e)&&(h(!1),y(!1),R())},_=e=>{let t=c.current.start();if(!t)return;F();let n=(0,s_.LT)(new Date().getTime()),r=void 0!==e?e:p;if(!String(r||"").trim()){z(t);return}let o=String(r).replace(/['"]/g,"").replace(/^view-source:/i,"").match(/^\s*(\S+).*/),i=null==o?void 0:o[1];if(!i){z(t);return}(0,s_.j)({action:"start",NSPointGTM_INLINE:!0,url:i,session_id:n}),C(null),S(null),x(null),A(!1),ds(i).then(async e=>{let{render:r,fetchApiMethod:o,...a}=e;if(!c.current.isCurrent(t))return;(0,s_.j)({action:"link",url:i,session_id:n}),h(!0),y(!1),l.current=n;let u="";try{u=await d()}catch(e){if(!c.current.isCurrent(t))return;S(null),(0,s_.j)({action:"requested_fail",url:i,session_id:n,duration:0,error:(null==e?void 0:e.msg)||(null==e?void 0:e.message)||"解析失败,报错"}),x("error-failure");return}if(!c.current.isCurrent(t))return;y(!0),s&&O(n);let f=new Date().getTime();return(0,s_.j)({action:"requested",session_id:n,url:i}),o({sessionURI:i,sessionID:n,startTime:f,turnstileToken:u}).then(e=>{if(!c.current.isCurrent(t))return;let{result:o,startTime:s,trackCount:l}=e;(0,s_.j)({action:"responded",session_id:n,url:i,duration:new Date().getTime()-s,...l}),C(o),S(r({...o,sessionURI:i,sessionID:n,sourceRes:{...e},...a}))}).catch(e=>{c.current.isCurrent(t)&&(S(null),(0,s_.j)({action:"requested_fail",url:i,session_id:n,duration:new Date().getTime()-f,error:e.msg||"解析失败,报错"}),e&&"PRIVATE_URL"===e.msg?x("error-private"):x("error-failure"))})}).catch(()=>{c.current.isCurrent(t)&&((0,s_.j)({action:"link_fail",url:i,session_id:n,error:"链接类型不支持"}),x("error-invalid"),A(!0),C(null))}).finally(()=>{z(t)})},W=e=>{let t=e.trim();t&&((0,rs.flushSync)(()=>{m(t)}),_(t))},H=!!p;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(i$,{sectionClassName:"bg-theme-color",className:"text-white",children:[(0,w.jsx)(iq,{title:t,desc:n}
6),(0,w.jsxs)("div",{className:"mx-[auto] my-4 w-full max-sm:my-2 max-sm:mb-0",children:[(0,w.jsx)("div",{ref:u,className:"relative z-30 mb-3 flex justify-center"}),(0,w.jsxs)("div",{className:"flex justify-between items-center gap-y-4 max-sm:flex-col max-sm:w-full",children:[(0,w.jsxs)("div",{className:"flex w-full min-h-[72px] items-stretch overflow-hidden rounded-[16px] bg-white",children:[(0,w.jsx)("div",{className:"min-w-0 flex-1",children:(0,w.jsx)(sS,{"aria-labelledby":"search",classNames:{base:"h-full",inputWrapper:"h-full !min-h-[72px] !rounded-none !bg-white !shadow-none hover:!bg-white",input:"text-303441 px-6 caret-black place-content-center placeholder:text-777C8E placeholder:px-1 placeholder:text-pc_body_medium placeholder:font-normal text-pc_body_medium max-sm:placeholder:text-sm max-sm:px-3 max-sm:py-1"},placeholder:r||i("input-box"),isDisabled:g,value:p,"aria-describedby":"text-describedby-id",onValueChange:e=>{m(e)},onPaste:e=>{var t,n,r;if(g||c.current.isBusy())return;e.preventDefault();let o=null!==(r=null===(n=e.clipboardData)||void 0===n?void 0:null===(t=n.getData("text/plain"))||void 0===t?void 0:t.trim())&&void 0!==r?r:"";o&&W(o)}})}),(0,w.jsx)("p",{className:"hidden",id:"text-describedby-id"}),H?(0,w.jsxs)("button",{type:"button",disabled:g,"aria-label":i("input-clear"),className:"flex shrink-0 items-center gap-2.5 self-stretch bg-[#F2F2F9] px-5 ".concat(g?"cursor-not-allowed opacity-50":"cursor-pointer hover:bg-[#EAEAF4]"),onClick:()=>{g||m("")},children:[(0,w.jsx)(i1(),{src:"/assets/icons/ic_close.png",alt:"",width:26,height:26,className:"shrink-0"}),(0,w.jsx)("span",{className:"whitespace-nowrap text-base font-normal leading-6 text-[#2F2F2F]",children:i("input-clear")})]}):(0,w.jsxs)("button",{type:"button",disabled:g,"aria-label":i("input-paste"),className:"flex shrink-0 items-center gap-2.5 self-stretch bg-[#F2F2F9] px-5 ".concat(g?"cursor-not-allowed opacity-50":"cursor-pointer hover:bg-[#EAEAF4]"),onClick:()=>{if(g||c.current.isBusy())return;let e="undefined"!=typeof navigator?navigator.clipboard:null;if(!(null==e?void 0:e.readText)){let e=window.prompt(dp);e&&W(e);return}e.readText().then(e=>{e&&W(e)}).catch(()=>{let e=window.prompt(dp);e&&W(e)})},children:[(0,w.jsx)(i1(),{src:"/assets/icons/ic_copy.svg",alt:"",width:24,height:24,className:"shrink-0",unoptimized:!0}),(0,w.jsx)("span",{className:"whitespace-nowrap text-base font-normal leading-6 text-[#2F2F2F]",children:i("input-paste")})]})]}),(0,w.jsx)(nP.A,{isDisabled:g,className:"search-btn mx-2 bg-theme-download-btn-color rounded-2xl text-2xl text-white p-6 px-12 font-bold h-20 max-sm:h-60px max-sm:w-full max-sm:m-0",onClick:()=>_(),children:g?i("loading"):o||i("download-btn")})]})]}),v?(0,w.jsx)("div",{className:"p-4 m-auto flex items-center justify-center",children:(0,w.jsx)(j.gb,{})}):null]}),(0,w.jsx)(j.A5,{}),!g&&b&&L?(0,w.jsx)("div",{className:"flex justify-center my-4",children:(0,w.jsx)(j.eC,{tips:b})}):null,g||!b||L?null:(0,w.jsx)(i$,{sectionClassName:"bg-F7F8FC",className:"text-black",children:(0,w.jsx)(ys,{title:i("recommend-title"),desc:i("recommend-desc"),imageUrl:"/assets/errorScenario/1.png"})}),E&&(0,w.jsx)("div",{className:"m-auto bg-F7F8FC",children:(0,w.jsx)(i$,{className:"text-black",children:P})})||null,(0,w.jsx)(j.Y8,{open:M,sessionId:D,onClose:()=>{F(),B.current=null,N(!1)}})]})},dh=(0,eD.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...eK.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focus:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground
6/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),dv=n(21531),dy=e=>(0,w.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,w.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,w.jsx)("path",{d:"M15 3h6v6"}),(0,w.jsx)("path",{d:"M10 14L21 3"})]}),db=(0,K.Gp)((e,t)=>{let{Component:n,children:r,showAnchorIcon:o,anchorIcon:i=(0,w.jsx)(dy,{className:"flex mx-1 text-current self-center"}),getLinkProps:a}=function(e){var t,n,r,o;let i=(0,eN.w)(),[a,s]=(0,K.oe)(e,dh.variantKeys),{ref:l,as:u,children:d,anchorIcon:c,isExternal:f=!1,showAnchorIcon:p=!1,autoFocus:m=!1,className:g,onPress:h,onPressStart:v,onPressEnd:y,onClick:b,...w}=a,x=(0,B.gy)(l),E=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==i?void 0:i.disableAnimation)&&n,{linkProps:T}=function(e,t){let{elementType:n="a",onPress:r,onPressStart:o,onPressEnd:i,onClick:a,isDisabled:s,...l}=e,u={};"a"!==n&&(u={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=(0,dv.k)(e,t),{pressProps:c,isPressed:f}=(0,oT.r)({onPress:r,onPressStart:o,onPressEnd:i,isDisabled:s,ref:t}),p=(0,n4.z)(l,{labelable:!0,isLink:"a"===n}),m=(0,W.d)(d,c),g=(0,ox.tv)(),h=(0,ox.eY)(e);return{isPressed:f,linkProps:(0,W.d)(p,h,{...m,...u,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:t=>{var n;null==(n=c.onClick)||n.call(c,t),a&&a(t),!g.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&(0,ox.b0)(t.currentTarget,t)&&e.href&&(t.preventDefault(),g.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...w,onPress:h,onPressStart:v,onPressEnd:y,onClick:b,isDisabled:e.isDisabled,elementType:`${u}`},x),{isFocused:C,isFocusVisible:P,focusProps:j}=(0,eU.F)({autoFocus:m});f&&(w.rel=null!=(r=w.rel)?r:"noopener noreferrer",w.target=null!=(o=w.target)?o:"_blank");let S=(0,k.useMemo)(()=>dh({...s,disableAnimation:E,className:g}),[(0,eI.Xx)(s),E,g]);return{Component:u||"a",children:d,anchorIcon:c,showAnchorIcon:p,getLinkProps:(0,k.useCallback)(()=>({ref:x,className:S,"data-focus":(0,F.PB)(C),"data-disabled":(0,F.PB)(e.isDisabled),"data-focus-visible":(0,F.PB)(P),...(0,W.d)(j,T,w)}),[S,C,P,j,T,w])}}({ref:t,...e});return(0,w.jsx)(n,{...a(),children:(0,w.jsxs)(w.Fragment,{children:[r,o&&i]})})});db.displayName="NextUI.Link";var[dw,dx]=(0,A.k)({name:"CardContext",strict:!0,errorMessage:"useCardContext: `context` is undefined. Seems you forgot to wrap component within <Card />"}),dE=(0,eD.tv)({slots:{base:["flex","flex-col","relative","overflow-hidden","h-auto","outline-none","text-foreground","box-border","bg-content1",...eK.Dh],header:["flex","p-3","z-10","w-full","justify-start","items-center","shrink-0","overflow-inherit","color-inherit","subpixel-antialiased"],body:["relative","flex","flex-1","w-full","p-3","flex-auto","flex-col","place-content-inherit","align-items-inherit","h-auto","break-words","text-left","overflow-y-auto","subpixel-antialiased"],footer:["p-3","h-auto","flex","w-full","items-center","overflow-hidden","color-inherit","subpixel-antialiased"]},variants:{shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},radius:{none:{base:"rounded-none",header:"rounded-none",footer:"rounded-none"},sm:{base:"rounded-small",header:"rounded-t-small",footer:"rounded-b-small"},md:{base:"rounded-medium",header:"rounded-t-medium",footer:"rounded-b-medium"},lg:{base:"rounded-large",header:"rounded-t-large",footer:"rounded-b-large"}},fullWidth:{true:{base:"w-full"}},isHoverable:{true:{base:"data-[hover=true]:bg-content2 dark:data-[hover=true]:bg-content2"}},isPressable:{true:{base:"cursor-pointer"}},isBlurred:{true:{base:["bg-background/80","dark:bg-background/20","backdrop-blur-md","backdrop-saturate-150"]}}
6,isFooterBlurred:{true:{footer:["bg-background/10","backdrop-blur","backdrop-saturate-150"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:"",false:{base:"transition-transform-background motion-reduce:transition-none"}}},compoundVariants:[{isPressable:!0,class:"data-[pressed=true]:scale-[0.97] tap-highlight-transparent"}],defaultVariants:{radius:"lg",shadow:"md",fullWidth:!1,isHoverable:!1,isPressable:!1,isDisabled:!1,isFooterBlurred:!1}}),dk=n(88401),dT=n(82308),dC=(0,K.Gp)((e,t)=>{let{children:n,context:r,Component:o,isPressable:i,disableAnimation:a,disableRipple:s,getCardProps:l,getRippleProps:u}=function(e){var t,n,r,o;let i=(0,eN.w)(),[a,s]=(0,K.oe)(e,dE.variantKeys),{ref:l,as:u,children:d,onClick:c,onPress:f,autoFocus:p,className:m,classNames:g,allowTextSelectionOnPress:h=!0,...v}=a,y=(0,B.gy)(l),b=u||(e.isPressable?"button":"div"),w="string"==typeof b,x=null!=(n=null!=(t=e.disableAnimation)?t:null==i?void 0:i.disableAnimation)&&n,E=null!=(o=null!=(r=e.disableRipple)?r:null==i?void 0:i.disableRipple)&&o,T=(0,I.W)(null==g?void 0:g.base,m),{onClick:C,onClear:P,ripples:j}=(0,dk.i)(),S=e=>{x||E||!y.current||C(e)},{buttonProps:L,isPressed:A}=(0,eH.j)({onPress:f,elementType:u,isDisabled:!e.isPressable,onClick:(0,eW.t)(c,S),allowTextSelectionOnPress:h,...v},y),{hoverProps:M,isHovered:N}=(0,eG.X)({isDisabled:!e.isHoverable,...v}),{isFocusVisible:D,isFocused:R,focusProps:O}=(0,eU.F)({autoFocus:p}),z=(0,k.useMemo)(()=>dE({...s,disableAnimation:x}),[(0,eI.Xx)(s),x]),_=(0,k.useMemo)(()=>({slots:z,classNames:g,disableAnimation:x,isDisabled:e.isDisabled,isFooterBlurred:e.isFooterBlurred,fullWidth:e.fullWidth}),[z,g,e.isDisabled,e.isFooterBlurred,x,e.fullWidth]),H=(0,k.useCallback)((t={})=>({ref:y,className:z.base({class:T}),tabIndex:e.isPressable?0:-1,"data-hover":(0,F.PB)(N),"data-pressed":(0,F.PB)(A),"data-focus":(0,F.PB)(R),"data-focus-visible":(0,F.PB)(D),"data-disabled":(0,F.PB)(e.isDisabled),...(0,W.d)(e.isPressable?{...L,...O,role:"button"}:{},e.isHoverable?M:{},(0,iy.z)(v,{enabled:w}),(0,iy.z)(t))}),[y,z,T,w,e.isPressable,e.isHoverable,e.isDisabled,N,A,D,L,O,M,v]),V=(0,k.useCallback)(()=>({ripples:j,onClear:P}),[j,P]);return{context:_,domRef:y,Component:b,classNames:g,children:d,isHovered:N,isPressed:A,disableAnimation:x,isPressable:e.isPressable,isHoverable:e.isHoverable,disableRipple:E,handleClick:S,isFocusVisible:D,getCardProps:H,getRippleProps:V}}({...e,ref:t});return(0,w.jsxs)(o,{...l(),children:[(0,w.jsx)(dw,{value:r,children:n}),i&&!a&&!s&&(0,w.jsx)(dT.L,{...u()})]})});dC.displayName="NextUI.Card";var dP=(0,K.Gp)((e,t)=>{var n;let{as:r,className:o,children:i,...a}=e,s=(0,B.gy)(t),{slots:l,classNames:u}=dx(),d=(0,I.W)(null==u?void 0:u.header,o);return(0,w.jsx)(r||"div",{ref:s,className:null==(n=l.header)?void 0:n.call(l,{class:d}),...a,children:i})});dP.displayName="NextUI.CardHeader";var dj=(0,K.Gp)((e,t)=>{var n;let{as:r,className:o,children:i,...a}=e,s=(0,B.gy)(t),{slots:l,classNames:u}=dx(),d=(0,I.W)(null==u?void 0:u.body,o);return(0,w.jsx)(r||"div",{ref:s,className:null==(n=l.body)?void 0:n.call(l,{class:d}),...a,children:i})});dj.displayName="NextUI.CardBody";var dS=(0,K.Gp)((e,t)=>{var n;let{as:r,className:o,children:i,...a}=e,s=(0,B.gy)(t),{slots:l,classNames:u}=dx(),d=(0,I.W)(null==u?void 0:u.footer,o);return(0,w.jsx)(r||"div",{ref:s,className:null==(n=l.footer)?void 0:n.call(l,{class:d}),...a,children:i})});function dL(e){let{data:t}=e;return(0,w.jsx)("div",{className:"platform-box grid grid-cols-3 gap-5 max-sm:grid-cols-1",children:t.map((e,t)=>(0,w.jsx)(db,{href:e.linkUrl,children:(0,w.jsxs)(dC,{className:"py-6 px-4 h-full",children:[(0,w.jsx)(dP,{className:"flex gap-3",children:e.icon||null}),(0,w.jsx)(dj,{className:"flex-none",children:(0,w.jsxs)("div",{className:"flex items-center justify-between hover:text-theme-color",children:[(0,w.jsx)(iZ,{className:"hover:text-theme-color",style:{padding:0},title:e.title}),(0,w.jsx)(j.Ab._E,{})]})}),(0,w.jsx)(dS,{className:"flex",children:(0,w.jsx)(iY,{content:e.desc})})]})},t))})}function dA(e){let{title:t,image:n}=e;return(0,w.jsxs)("div",{className:"Collect-box flex items-center gap-6 max-sm:flex-col max-sm:items-stretch",children:[(0,w.jsx)("div",{className:"min-w-0 flex-1",children:(0,w.jsx)(iX,{title:t})}),n?(0,w.jsx)("div",{className:"h-[220px] w-[454px] shrink-0 max-sm:h-auto max-sm:w-full",children:n}):null]})}dS.displayName="NextUI.CardFooter";var dM=e=>{let{data:t,style:n}=e;return(0,w.jsx)("div",{className:"Surround-box max-sm:px-4",style:n,children:null==t?void 0:t.map((e,n)=>
6{let{title:r,desc:o}=e;return(0,w.jsxs)(k.Fragment,{children:[(0,w.jsxs)("div",{className:P()("flex max-sm:flex-col items-center w-full",{"flex-row-reverse":n%2>0}),children:[(0,w.jsx)(iZ,{title:r,className:"w-2/5 max-sm:w-full"}),(0,w.jsx)("div",{className:P()("flex justify-start w-3/5 flex-col box-border items-start mt-3 max-sm:w-full max-sm:text-base max-sm:m-auto",{"mr-8":n%2>0,"ml-8":n%2==0}),children:(0,w.jsx)(iY,{content:o})})]},"".concat(n)),n!==t.length-1&&(0,w.jsx)(ix,{className:"my-12 max-sm:my-8"})]},n)})})},dN=e=>{let{title:t,desc:n,Icons:r,imageUrl:o,apkLabel:i}=e,{t:a}=(0,T.Z)();return(0,w.jsxs)(j.Ch,{className:"Recommend-box gap-6 flex items-center max-sm:flex-col",onExpose:()=>{(0,s_.j)({action:"ads_impression",type:"Recommend",entry_source:"recommend"})},children:[(0,w.jsxs)("div",{className:"w-3/5 m-auto max-sm:w-full",children:[(0,w.jsx)(iX,{className:"text-left max-sm:text-center",title:t}),(0,w.jsx)(iY,{className:"max-sm:text-center",content:n}),(0,w.jsx)("div",{className:"grid grid-cols-4 gap-4 my-8 max-sm:",children:r.map((e,t)=>(0,w.jsxs)("div",{className:"flex flex-col items-center justify-start",children:[e.icons||(0,w.jsx)(j.no,{alt:"Recommend-img-"+t,width:72,height:72,className:"max-sm:w-14 max-sm:h-14",src:"/assets/recommend/".concat(t+1,".png")},t),(0,w.jsx)("span",{className:"text-pc_body text-777C8E font-semibold mt-2 text-center max-sm:text-xs",children:e.title})]},t))}),(0,w.jsx)(j.qU,{type:"Recommend",label:i||a("Common:download-apk")})]}),(0,w.jsx)(j.no,{className:"flex-1",alt:"recommend-icon",priority:!0,width:312,height:412,src:o})]})};function dD(e){let{data:t}=e;return(0,w.jsx)("div",{className:"platform-box grid grid-cols-3 gap-5 max-sm:grid-cols-1",children:t.map((e,t)=>(0,w.jsxs)("div",{className:"py-6 px-4 max-sm:py-0 max-sm:px-0 max-sm:mb-2",children:[(0,w.jsx)("div",{className:"flex gap-3 max-sm:justify-center",children:e.icon||null}),(0,w.jsx)(iZ,{className:"text-111111 text-pc_tittle break-words font-bold my-2 max-sm:text-m_tittle max-sm:text-center",title:e.title}),(0,w.jsx)(iY,{content:e.desc})]},"platform-".concat(e.title)))})}function dK(e){let{data:t}=e;return(0,w.jsx)("div",{className:"InstallationSteps-box flex flex-col",children:t.map((e,t)=>{let{content:n,imageIcon:r}=e;return(0,w.jsx)(k.Fragment,{children:(0,w.jsxs)("div",{className:"flex justify-between max-sm:flex-col",children:[(0,w.jsx)("div",{className:"flex flex-col",children:n.map((e,t)=>(0,w.jsx)(k.Fragment,{children:"string"==typeof e?(0,w.jsx)(iY,{content:e}):(0,w.jsx)(w.Fragment,{children:e})},t))}),r]})},t)})})}var dB=(0,eD.tv)({base:"px-2",variants:{variant:{light:"",shadow:"px-4 shadow-medium rounded-medium bg-content1",bordered:"px-4 border-medium border-divider rounded-medium",splitted:"flex flex-col gap-2"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"light",fullWidth:!0}}),dI=(0,eD.tv)({slots:{base:"",heading:"",trigger:["flex py-4 w-full h-full gap-3 outline-none items-center tap-highlight-transparent",...eK.Dh],startContent:"flex-shrink-0",indicator:"text-default-400",titleWrapper:"flex-1 flex flex-col text-start",title:"text-foreground text-large",subtitle:"text-small text-foreground-500 font-normal",content:"py-2"},variants:{variant:{splitted:{base:"px-4 bg-content1 shadow-medium rounded-medium"}},isCompact:{true:{trigger:"py-2",title:"text-medium",subtitle:"text-small",indicator:"text-medium",content:"py-1"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},hideIndicator:{true:{indicator:"hidden"}},disableAnimation:{true:{content:"hidden data-[open=true]:block"},false:{indicator:"transition-transform",trigger:"transition-opacity"}},disableIndicatorAnimation:{true:{indicator:"transition-none"},false:{indicator:"rotate-0 data-[open=true]:-rotate-90 rtl:-rotate-180 rtl:data-[open=true]:-rotate-90"}}},defaultVariants:{size:"md",radius:"lg",isDisabled:!1,hideIndicator:!1,disableIndicatorAnimation:!1}});function dF(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let dR=new Map;function dO(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=dF(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=dR.get(e);
6if(n)return n.forEach(e=>e(t)),t;let r=dR.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}let dz=new Set(["id"]),d_=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),dW=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),dH=/^(data-.*)$/,dV=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},d$=e=>e&&"window"in e&&e.window===e?e:dV(e).defaultView||window,dU=new Map,dG=new Set;function dq(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=dU.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),dU.delete(n.target)),0===dU.size)){for(let e of dG)e();dG.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=dU.get(n.target);r||(r=new Set,dU.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function dX(e){requestAnimationFrame(()=>{0===dU.size?e():dG.add(e)})}function dZ(e){if(function(){if(null==dY){dY=!1;try{document.createElement("div").focus({get preventScroll(){return dY=!0,!0}})}catch(e){}}return dY}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?dq():document.addEventListener("DOMContentLoaded",dq));let dY=null;function dJ(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function dQ(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function d0(e){let t=null;return()=>(null==t&&(t=e()),t)}let d1=d0(function(){return dQ(/^Mac/i)}),d4=d0(function(){return dQ(/^iPhone/i)}),d3=d0(function(){return dQ(/^iPad/i)||d1()&&navigator.maxTouchPoints>1}),d2=d0(function(){return d4()||d3()});d0(function(){return d1()||d2()});let d5=d0(function(){return dJ(/AppleWebKit/i)&&!d6()}),d6=d0(function(){return dJ(/Chrome/i)}),d8=d0(function(){return dJ(/Android/i)}),d7=d0(function(){return dJ(/Firefox/i)});function d9(e){return 0===e.mozInputSource&&!!e.isTrusted||(d8()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let ce=null,ct=new Set,cn=new Map,cr=!1,co=!1;function ci(e,t){for(let n of ct)n(e,t)}function ca(e){cr=!0,e.metaKey||!d1()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(ce="keyboard",ci("keyboard",e))}
6function cs(e){ce="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(cr=!0,ci("pointer",e))}function cl(e){d9(e)&&(cr=!0,ce="virtual")}function cu(e){e.target!==window&&e.target!==document&&(cr||co||(ce="virtual",ci("virtual",e)),cr=!1,co=!1)}function cd(){cr=!1,co=!0}function cc(e){if("undefined"==typeof window||cn.get(d$(e)))return;let t=d$(e),n=dV(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){cr=!0,r.apply(this,arguments)},n.addEventListener("keydown",ca,!0),n.addEventListener("keyup",ca,!0),n.addEventListener("click",cl,!0),t.addEventListener("focus",cu,!0),t.addEventListener("blur",cd,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",cs,!0),n.addEventListener("pointermove",cs,!0),n.addEventListener("pointerup",cs,!0)):(n.addEventListener("mousedown",cs,!0),n.addEventListener("mousemove",cs,!0),n.addEventListener("mouseup",cs,!0)),t.addEventListener("beforeunload",()=>{cf(e)},{once:!0}),cn.set(t,{focus:r})}let cf=(e,t)=>{let n=d$(e),r=dV(e);t&&r.removeEventListener("DOMContentLoaded",t),cn.has(n)&&(n.HTMLElement.prototype.focus=cn.get(n).focus,r.removeEventListener("keydown",ca,!0),r.removeEventListener("keyup",ca,!0),r.removeEventListener("click",cl,!0),n.removeEventListener("focus",cu,!0),n.removeEventListener("blur",cd,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",cs,!0),r.removeEventListener("pointermove",cs,!0),r.removeEventListener("pointerup",cs,!0)):(r.removeEventListener("mousedown",cs,!0),r.removeEventListener("mousemove",cs,!0),r.removeEventListener("mouseup",cs,!0)),cn.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=dV(void 0);"loading"!==n.readyState?cc(void 0):(t=()=>{cc(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>cf(e,t)}();let cp="undefined"!=typeof document?k.useLayoutEffect:()=>{};function cm(e,t){cp(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function cg(e){let t=(0,k.useRef)(null);return cp(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}class ch{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function cv(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let cy=k.createContext(null),cb="default",cw="",cx=new WeakMap;function cE(e){if(d2()){if("default"===cb){let t=dV(e);cw=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}cb="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(cx.set(e,e.style.userSelect),e.style.userSelect="none")}function ck(e){if(d2())"disabled"===cb&&(cb="restoring",setTimeout(()=>{dX(()=>{if("restoring"===cb){let t=dV(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=cw||""),cw="",cb="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&cx.has(e)){let t=cx.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),cx.delete(e)}}let cT=k.createContext({register:()=>{}});function cC(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;d7()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(d1()?i=!0:a=!0);
6let u=d5()&&d1()&&!d3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});cC.isOpening=n,dZ(e),e.dispatchEvent(u),cC.isOpening=!1}cT.displayName="PressResponderContext",cC.isOpening=!1;var cP=new WeakMap;class cj{continuePropagation(){(0,tb._)(this,cP,!1)}get shouldStopPropagation(){return(0,tv._)(this,cP)}constructor(e,t,n,r){var o;(0,ty._)(this,cP,{writable:!0,value:void 0}),(0,tb._)(this,cP,!0);let i=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let cS=Symbol("linkClicked");function cL(e){return"A"===e.tagName&&e.hasAttribute("href")}function cA(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof d$(t).HTMLInputElement&&!cO(t,n)||t instanceof d$(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&cL(t))&&"Enter"!==n)}function cM(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function cN(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function cD(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function cK(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function cB(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function cI(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!cL(e))}function cF(e,t){return e instanceof HTMLInputElement?!cO(e,t):cI(e)}let cR=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function cO(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:cR.has(e.type)}var cz=e=>
6(0,w.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:(0,w.jsx)("path",{d:"M15.5 19l-7-7 7-7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),c_=n(90846),cW=n(99034),cH=n(33550),cV=n(79274),c$=n(20302),cU=n(51811);class cG extends cW.Hg{constructor(){super(...arguments),this.values=[]}add(e){let t=c$.G.has(e)?"transform":cH.t.has(e)?(0,cV.D)(e):void 0;t&&((0,cU.y4)(this.values,t),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}var cq=(0,K.Gp)((e,t)=>{let{Component:n,HeadingComponent:r,classNames:o,slots:i,indicator:a,children:s,title:l,subtitle:u,startContent:d,isOpen:c,isDisabled:f,hideIndicator:p,keepContentMounted:m,disableAnimation:g,motionProps:h,getBaseProps:v,getHeadingProps:y,getButtonProps:b,getTitleProps:x,getSubtitleProps:E,getContentProps:T,getIndicatorProps:C}=function(e){var t,n;let r=(0,eN.w)(),{ref:o,as:i,item:a,onFocusChange:s}=e,{state:l,className:u,indicator:d,children:c,title:f,subtitle:p,startContent:m,motionProps:g,focusedKey:h,variant:v,isCompact:y=!1,classNames:b={},isDisabled:w=!1,hideIndicator:x=!1,disableAnimation:E=null!=(t=null==r?void 0:r.disableAnimation)&&t,keepContentMounted:T=!1,disableIndicatorAnimation:C=!1,HeadingComponent:P=i||"h2",onPress:j,onPressStart:S,onPressEnd:L,onPressChange:A,onPressUp:M,onClick:N,...D}=e,K=i||"div",R="string"==typeof K,O=(0,B.gy)(o),z=l.disabledKeys.has(a.key)||w,_=l.selectionManager.isSelected(a.key),{buttonProps:H,regionProps:V}=function(e,t,n){let{item:r,isDisabled:o}=e,i=r.key,a=t.selectionManager,s=(0,k.useId)(),l=(0,k.useId)(),u=t.disabledKeys.has(r.key)||o;(0,k.useEffect)(()=>{i===t.focusedKey&&document.activeElement!==n.current&&n.current&&(0,nN.e)(n.current)},[n,i,t.focusedKey]);let d=(0,k.useCallback)(e=>{a.canSelectItem(i)&&(a.select(i,e),t.toggleKey(i))},[i,a]),c=(0,k.useCallback)(e=>{"replace"===a.selectionBehavior&&a.extendSelection(e),a.setFocusedKey(e)},[a]),{buttonProps:f}=function(e,t){let n,{elementType:r="button",isDisabled:o,onPress:i,onPressStart:a,onPressEnd:s,onPressUp:l,onPressChange:u,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:g,type:h="button"}=e;n="button"===r?{type:h,disabled:o}:{role:"button",tabIndex:o?void 0:0,href:"a"===r&&o?void 0:p,target:"a"===r?m:void 0,type:"input"===r?h:void 0,disabled:"input"===r?o:void 0,"aria-disabled":o&&"input"!==r?o:void 0,rel:"a"===r?g:void 0};let{pressProps:v,isPressed:y}=function(e){let t,n,r,o,{onPress:i,onPressChange:a,onPressStart:s,onPressEnd:l,onPressUp:u,isDisabled:d,isPressed:c,preventFocusOnPress:f,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:m,ref:g,...h}=function(e){let t=(0,k.useContext)(cT);if(t){let{register:n,...r}=t;e=dO(r,e),n()}return cm(t,e.ref),e}(e),[v,y]=(0,k.useState)(!1),b=(0,k.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:w,removeAllGlobalListeners:x}=(t=(0,k.useRef)(new Map),n=(0,k.useCallback)((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,r,o)},[]),r=(0,k.useCallback)((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)},[]),o=(0,k.useCallback)(()=>{t.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]),(0,k.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}),E=cg((e,t)=>{let n=b.current;if(d||n.didFirePressStart)return!1;let r=!0;if(n.isTriggeringEvent=!0,s){let n=new cj("pressstart",t,e);s(n),r=n.shouldStopPropagation}return a&&a(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,y(!0),r}),T=cg((e,t,n=!0)=>{let r=b.current;if(!r.didFirePressStart)return!1;r.ignoreClickAfterPress=!0,r.didFirePressStart=!1,r.isTriggeringEvent=!0;let o=!0;if(l){let n=new cj("pressend",t,e);l(n),o=n.shouldStopPropagation}if(a&&a(!1),y(!1),i&&n&&!d){let n=new cj("press",t,e);i(n),o&&(o=n.shouldStopPropagation)}return r.isTriggeringEvent=!1,o}),C=cg((e,t)=>{let n=b.current;if(d)return!1;if(u){n.isTriggeringEvent=!0;let r=new cj("pressup",t,e);return u(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),P=cg(e=>{let t=b.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&T(cD(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,x(),m||ck(t.target))}),j=cg(e=>{p&&P(e)}),S=(0,k.useMemo)(()=>
6{let e=b.current,t={onKeyDown(t){if(cA(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;cF(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=E(t,"keyboard");let r=t.currentTarget;w(dV(t.currentTarget),"keyup",dF(t=>{cA(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&C(cD(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&d1()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!cC.isOpening){let n=!0;if(d&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||d9(t.nativeEvent))){d||f||dZ(t.currentTarget);let e=E(t,"virtual"),r=C(t,"virtual"),o=T(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;if(e.isPressed&&e.target&&cA(t,e.target)){cF(t.target,t.key)&&t.preventDefault();let n=t.target;T(cD(e.target,t),"keyboard",e.target.contains(n)),x(),"Enter"!==t.key&&cL(e.target)&&e.target.contains(n)&&!t[cS]&&(t[cS]=!0,cC(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!d8()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}cB(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||f||dZ(t.currentTarget),m||cE(e.target),a=E(t,e.pointerType),w(dV(t.currentTarget),"pointermove",n,!1),w(dV(t.currentTarget),"pointerup",r,!1),w(dV(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(cB(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&cK(t,t.currentTarget)&&C(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&cK(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,E(cD(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,T(cD(e.target,t),e.pointerType,!1),j(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(cK(t,e.target)&&null!=e.pointerType?T(cD(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&T(cD(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,x(),m||ck(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&w(e.target,"touchend",o,{once:!0}))},o=e=>{cI(e.currentTarget)&&e.preventDefault()},i=e=>{P(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&P(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(cB(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=d9(t.nativeEvent)?"virtual":"mouse",d||f||dZ(t.currentTarget),E(t,e.pointerType)&&t.stopPropagation(),w(dV(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=E(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=T(t,e.pointerType,!1),j(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&C(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,x(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&cK(t,e.target)&&null!=e.pointerType?T(cD(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&T(cD(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",d||f||dZ(t.currentTarget),m||cE(e.target),E(cN(e.target,t),e.pointerType)&&t.stopPropagation(),w(d$(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=cM(t.nativeEvent,e.activePointerId),r=!0;n&&cK(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=E(cN(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=T(cN(e.target,t),e.pointerType,!1),j(cN(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=cM(t.nativeEvent,e.activePointerId),r=!0;n&&cK(n,t.currentTarget)&&null!=e.pointerType?(C(cN(e.target,t),e.pointerType),r=T(cN(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=T(cN(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!m&&ck(e.target),x()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&P(cN(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&P({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&P(e)}}return t},[w,d,f,x,m,P,j,T,E,C]);return(0,k.useEffect)(()=>()=>{var e;m||ck(null!==(e=b.current.target)&&void 0!==e?e:void 0)},[m]),{isPressed:c||v,pressProps:dO(h,S)}}({onPressStart:a,onPressEnd:s,onPressChange:u,onPress:i,onPressUp:l,isDisabled:o,preventFocusOnPress:d,ref:t}),{focusableProps:b}=function(e,t){let{focusProps:n}
6=function(e){let t,n,{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e,s=(0,k.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0},[i,a]),l=(t=(0,k.useRef)({isFocused:!1,observer:null}),cp(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),n=cg(e=>{null==s||s(e)}),(0,k.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new ch("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])),u=(0,k.useCallback)(e=>{let t=dV(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(o&&o(e),a&&a(!0),l(e))},[a,o,l]);return{focusProps:{onFocus:!r&&(o||a||i)?u:void 0,onBlur:!r&&(i||a)?s:void 0}}}(e),{keyboardProps:r}={keyboardProps:e.isDisabled?{}:{onKeyDown:cv(e.onKeyDown),onKeyUp:cv(e.onKeyUp)}},o=dO(n,r),i=function(e){let t=(0,k.useContext)(cy)||{};cm(t,e);let{ref:n,...r}=t;return r}(t),a=e.isDisabled?{}:i,s=(0,k.useRef)(e.autoFocus);return(0,k.useEffect)(()=>{s.current&&t.current&&function(e){let t=dV(e);if("virtual"===ce){let n=t.activeElement;dX(()=>{t.activeElement===n&&e.isConnected&&dZ(e)})}else dZ(e)}(t.current),s.current=!1},[t]),{focusableProps:dO({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}(e,t);c&&(b.tabIndex=o?-1:b.tabIndex);let w=dO(b,v,function(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(dz.has(t)||n&&d_.has(t)||r&&dW.has(t)||(null==o?void 0:o.has(t))||dH.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0}));return{isPressed:y,buttonProps:dO(n,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{f&&(f(e),console.warn("onClick is deprecated, please use onPress"))}})}}({id:s,elementType:"button",isDisabled:u,onKeyDown:(0,k.useCallback)(e=>{let n={ArrowDown:()=>{let e=t.collection.getKeyAfter(i);if(e&&t.disabledKeys.has(e)){let n=t.collection.getKeyAfter(e);n&&c(n)}else e&&c(e)},ArrowUp:()=>{let e=t.collection.getKeyBefore(i);if(e&&t.disabledKeys.has(e)){let n=t.collection.getKeyBefore(e);n&&c(n)}else e&&c(e)},Home:()=>{let e=t.collection.getFirstKey();e&&c(e)},End:()=>{let e=t.collection.getLastKey();e&&c(e)}}[e.key];n&&(e.preventDefault(),a.canSelectItem(i)&&n(e))},[i,a]),onPress:d},n),p=t.selectionManager.isSelected(r.key);return{buttonProps:{...f,"aria-expanded":p,"aria-controls":p?l:void 0},regionProps:{id:l,role:"region","aria-labelledby":s}}}({item:a,isDisabled:z},{...l,focusedKey:h},O),{onFocus:$,onBlur:U,...G}=H,{isFocused:q,isFocusVisible:X,focusProps:Z}=(0,eU.F)({autoFocus:null==(n=a.props)?void 0:n.autoFocus}),{isHovered:Y,hoverProps:J}=(0,eG.X)({isDisabled:z}),{pressProps:Q,isPressed:ee}=(0,oT.r)({ref:O,isDisabled:z,onPress:j,onPressStart:S,onPressEnd:L,onPressChange:A,onPressUp:M}),et=(0,k.useCallback)(()=>{null==s||s(!0,a.key)},[]),en=(0,k.useCallback)(()=>{null==s||s(!1,a.key)},[]),er=(0,k.useMemo)(()=>({...b}),[(0,eI.Xx)(b)]),eo=(0,k.useMemo)(()=>dI({isCompact:y,isDisabled:z,hideIndicator:x,disableAnimation:E,disableIndicatorAnimation:C,variant:v}),[y,z,x,E,C,v]),ei=(0,I.W)(null==er?void 0:er.base,u),ea=(0,k.useCallback)((e={})=>({"data-open":(0,F.PB)(_),"data-disabled":(0,F.PB)(z),className:eo.base({class:ei}),...(0,W.d)((0,iy.z)(D,{enabled:R}),e)}),[ei,R,D,eo,a.props,_,z]),es=(0,k.useCallback)((e={})=>({"data-open":(0,F.PB)(_),"data-disabled":(0,F.PB)(z),className:eo.content({class:null==er?void 0:er.content}),...(0,W.d)(V,e)}),[eo,er,V,_,z,null==er?void 0:er.content]),el=(0,k.useCallback)((e={})=>({"aria-hidden":(0,F.PB)(!0),"data-open":(0,F.PB)(_),"data-disabled":(0,F.PB)(z),className:eo.indicator({class:null==er?void 0:er.indicator}),...e}),[eo,null==er?void 0:er.indicator,_,z,null==er?void 0:er.indicator]),eu=(0,k.useCallback)((e={})=>({"data-open":(0,F.PB)(_),"data-disabled":(0,F.PB)(z),className:eo.heading({class:null==er?void 0:er.heading}),...e}),[eo,null==er?void 0:er.heading,_,z,null==er?void 0:er.heading]),ed=(0,k.useCallback)((e={})=>({"data-open":(0,F.PB)(_),"data-disabled":(0,F.PB)(z),className:eo.title({class:null==er?void 0:er.title}),...e}),[eo,null==er?void 0:er.title,_,z,null==er?void 0:er.title]),ec=(0,k.useCallback)((e={})=>({"data-open":(0,F.PB)(_),"data-disabled":(0,F.PB)(z),className:eo.subtitle({class:null==er?void 0:er.subtitle}),...e}),[eo,er,_,z,null==er?void 0:er.subtitle]);return{Component:K,HeadingComponent:P,item:a,slots:eo,classNames:er,domRef:O,indicator:d,children:c,title:f,subtitle:p,startContent:m,isOpen:_,isDisabled:z,hideIndicator:x,keepContentMounted:T,disableAnimation:E,motionProps:g,getBaseProps:ea,getHeadingProps:eu,getButtonProps:(e={})=>{var t,n;return{ref:O,"data-open":(0,F.PB)(_),"data-focus":(0,F.PB)(q),"data-focus-visible":(0,F.PB)(X),"data-disabled":(0,F.PB)(z),"data-hover":(0,F.PB)(Y),"data-pressed":(0,F.PB)(ee),className:eo.trigger({class:null==er?void 0:er.trigger}),onFocus:(0,eI.v0)(et,$,Z.onFocus,D.onFocus,null==(t=a.props)?void 0:t.onFocus),onBlur:(0,eI.v0)(en,U,Z.onBlur,D.onBlur,null==(n=a.props)?void 0:n.onBlur),...(0,W.d)(G,J,Q,e,{onClick:(0,eW.t)(Q.onClick,N)})}},getContentProps:es,getIndicatorProps:el,getTitleProps:ed,getSubtitleProps:ec}}({...e,ref:t}),P=(0,c_.h)(()=>new cG("auto")),j=(0,k.useMemo)(()=>"function"==typeof a?a({indicator:(0,w.jsx)(cz,{}),isOpen:c,isDisabled:f}):a||null,[a,c,f])||(0,w.jsx)(cz,{}),S=(0,k.useMemo)(()=>
6{if(g)return(0,w.jsx)("div",{...T(),children:s});let e={exit:{...eA.y7.collapse.exit,overflowY:"hidden"},enter:{...eA.y7.collapse.enter,overflowY:"unset"}};return m?(0,w.jsx)(O.X,{features:z.H,children:(0,w.jsx)(_.m.section,{animate:c?"enter":"exit",exit:"exit",initial:"exit",style:{willChange:P},variants:e,onKeyDown:e=>{e.stopPropagation()},...h,children:(0,w.jsx)("div",{...T(),children:s})},"accordion-content")}):(0,w.jsx)(R.M,{initial:!1,children:c&&(0,w.jsx)(O.X,{features:z.H,children:(0,w.jsx)(_.m.section,{animate:"enter",exit:"exit",initial:"exit",style:{willChange:P},variants:e,onKeyDown:e=>{e.stopPropagation()},...h,children:(0,w.jsx)("div",{...T(),children:s})},"accordion-content")})})},[c,g,m,s,h]);return(0,w.jsxs)(n,{...v(),children:[(0,w.jsx)(r,{...y(),children:(0,w.jsxs)("button",{...b(),children:[d&&(0,w.jsx)("div",{className:i.startContent({class:null==o?void 0:o.startContent}),children:d}),(0,w.jsxs)("div",{className:i.titleWrapper({class:null==o?void 0:o.titleWrapper}),children:[l&&(0,w.jsx)("span",{...x(),children:l}),u&&(0,w.jsx)("span",{...E(),children:u})]}),!p&&j&&(0,w.jsx)("span",{...C(),children:j})]})}),S]})});function cX(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function cZ(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function cY(e){let t=null;return()=>(null==t&&(t=e()),t)}cq.displayName="NextUI.AccordionItem";let cJ=cY(function(){return cZ(/^Mac/i)}),cQ=cY(function(){return cZ(/^iPhone/i)}),c0=cY(function(){return cZ(/^iPad/i)||cJ()&&navigator.maxTouchPoints>1}),c1=cY(function(){return cQ()||c0()}),c4=cY(function(){return cJ()||c1()}),c3=cY(function(){return cX(/AppleWebKit/i)&&!c2()}),c2=cY(function(){return cX(/Chrome/i)});cY(function(){return cX(/Android/i)});let c5=cY(function(){return cX(/Firefox/i)});function c6(e){return c4()?e.altKey:e.ctrlKey}function c8(e){return cJ()?e.metaKey:e.ctrlKey}let c7=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},c9=e=>e&&"window"in e&&e.window===e?e:c7(e).defaultView||window,fe=["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]"],ft=fe.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";fe.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let fn=fe.join(':not([hidden]):not([tabindex="-1"]),');class fr{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new fo({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&function(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new fr;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new fo({scopeRef:null}),this.fastMap.set(null,this.root)}}class fo{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new fr;let fi=new Map,fa=new Set;function fs(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=fi.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),fi.delete(n.target)),0===fi.size)){for(let e of fa)e();fa.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=fi.get(n.target);r||(r=new Set,fi.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function fl(e){if(function(){if(null==fu){fu=!1;try{document.createElement("div").focus({get preventScroll(){return fu=!0,!0}})}catch(e){}}return fu}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?fs():document.addEventListener("DOMContentLoaded",f
6s));let fu=null;function fd(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function fc(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function ff(e){let t=null;return()=>(null==t&&(t=e()),t)}let fp=ff(function(){return fc(/^Mac/i)}),fm=ff(function(){return fc(/^iPhone/i)}),fg=ff(function(){return fc(/^iPad/i)||fp()&&navigator.maxTouchPoints>1}),fh=ff(function(){return fm()||fg()});ff(function(){return fp()||fh()}),ff(function(){return fd(/AppleWebKit/i)&&!fv()});let fv=ff(function(){return fd(/Chrome/i)}),fy=ff(function(){return fd(/Android/i)});ff(function(){return fd(/Firefox/i)});let fb=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},fw=e=>e&&"window"in e&&e.window===e?e:fb(e).defaultView||window,fx=null,fE=new Set,fk=new Map,fT=!1,fC=!1;function fP(e,t){for(let n of fE)n(e,t)}function fj(e){fT=!0,e.metaKey||!fp()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(fx="keyboard",fP("keyboard",e))}
6function fS(e){fx="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(fT=!0,fP("pointer",e))}function fL(e){(0===e.mozInputSource&&e.isTrusted||(fy()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(fT=!0,fx="virtual")}function fA(e){e.target!==window&&e.target!==document&&(fT||fC||(fx="virtual",fP("virtual",e)),fT=!1,fC=!1)}function fM(){fT=!1,fC=!0}function fN(e){if("undefined"==typeof window||fk.get(fw(e)))return;let t=fw(e),n=fb(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){fT=!0,r.apply(this,arguments)},n.addEventListener("keydown",fj,!0),n.addEventListener("keyup",fj,!0),n.addEventListener("click",fL,!0),t.addEventListener("focus",fA,!0),t.addEventListener("blur",fM,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",fS,!0),n.addEventListener("pointermove",fS,!0),n.addEventListener("pointerup",fS,!0)):(n.addEventListener("mousedown",fS,!0),n.addEventListener("mousemove",fS,!0),n.addEventListener("mouseup",fS,!0)),t.addEventListener("beforeunload",()=>{fD(e)},{once:!0}),fk.set(t,{focus:r})}let fD=(e,t)=>{let n=fw(e),r=fb(e);t&&r.removeEventListener("DOMContentLoaded",t),fk.has(n)&&(n.HTMLElement.prototype.focus=fk.get(n).focus,r.removeEventListener("keydown",fj,!0),r.removeEventListener("keyup",fj,!0),r.removeEventListener("click",fL,!0),n.removeEventListener("focus",fA,!0),n.removeEventListener("blur",fM,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",fS,!0),r.removeEventListener("pointermove",fS,!0),r.removeEventListener("pointerup",fS,!0)):(r.removeEventListener("mousedown",fS,!0),r.removeEventListener("mousemove",fS,!0),r.removeEventListener("mouseup",fS,!0)),fk.delete(n))};function fK(e){let t=c7(e);if("virtual"===fx){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&fl(e)},requestAnimationFrame(()=>{0===fi.size?n():fa.add(n)})}else fl(e)}"undefined"!=typeof document&&function(e){let t;let n=fb(void 0);"loading"!==n.readyState?fN(void 0):(t=()=>{fN(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>fD(e,t)}();let fB=(0,k.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}(e,e=>fI(e,t))},useHref:e=>e});function fI(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;c5()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(cJ()?i=!0:a=!0);let u=c3()&&cJ()&&!c0()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});fI.isOpening=n,fl(e),e.dispatchEvent(u),fI.isOpening=!1}fI.isOpening=!1;let fF="undefined"!=typeof document?k.useLayoutEffect:()=>{};function fR(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function fO(e,t){let n=fz(e,t,"left"),r=fz(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),c=e.scrollTop+parseInt(l,10),f=d+e.clientWidth,p=c+e.clientHeight;n<=a?a=n-parseInt(u,10):n+o>f&&(a+=n+o-f),r<=c?s=r-parseInt(l,10):r+i>p&&(s+=r+i-p),e.scrollLeft=a,e.scrollTop=s}function fz(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function f_(e,t){if(document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)fR(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))fO(t,e);else{var n,r,o,i;let{left:a,top:s}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();(Math.abs(a-l)>1||Math.abs(s-u)>1)&&(null==t||null===(o=t.containingElement)||void 0===o||null===(r=o.scrollIntoView)||void 0===r||r.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"}))}}}"undefined"!=typeof window&&window.document&&window.document.createElement;let fW=new Map;class fH{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null===(t=e.props)||void 0===t?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}getNextKey(e){for(e=this.collection.getKeyAfter(e);null!=e;){let t=this.collection.getItem(e);if("item"===t.type&&!this.isDisabled(t))return e;e=this.collection.getKeyAfter(e)}return null}getPreviousKey(e){for(e=this.collection.getKeyBefore(e);null!=e;){let t=this.collection.getItem(e);if("item"===t.type&&!this.isDisabled(t))return e;e=this.collection.getKeyBefore(e)}return null}findKey(e,t,n){let r=this.getItem(e);if(!r)return null;let o=r.getBoundingClientRect();do e=t(e),r=this.getItem(e);while(r&&n(o,r.getBoundingClientRect()));return e}isSameRow(e,t){return e.top===t.top||e.left!==t.left}isSameColumn(e,t){return e.left===t.left||e.top!==t.top}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}
6getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){return"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();for(;null!=e;){let t=this.collection.getItem(e);if((null==t?void 0:t.type)==="item"&&!this.isDisabled(t))return e;e=this.collection.getKeyAfter(e)}return null}getLastKey(){let e=this.collection.getLastKey();for(;null!=e;){let t=this.collection.getItem(e);if("item"===t.type&&!this.isDisabled(t))return e;e=this.collection.getKeyBefore(e)}return null}getItem(e){return null!==e?this.ref.current.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null}getKeyPageAbove(e){let t=this.ref.current,n=this.getItem(e);if(!n)return null;if(!fR(t))return this.getFirstKey();let r=t.getBoundingClientRect(),o=n.getBoundingClientRect();if("horizontal"===this.orientation){let i=r.x-t.scrollLeft,a=Math.max(0,o.x-i+o.width-r.width);for(;n&&o.x-i>a;)o=null==(n=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}else{let i=r.y-t.scrollTop,a=Math.max(0,o.y-i+o.height-r.height);for(;n&&o.y-i>a;)o=null==(n=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}return null!=e?e:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,n=this.getItem(e);if(!n)return null;if(!fR(t))return this.getLastKey();let r=t.getBoundingClientRect(),o=n.getBoundingClientRect();if("horizontal"===this.orientation){let i=r.x-t.scrollLeft,a=Math.min(t.scrollWidth,o.x-i-o.width+r.width);for(;n&&o.x-i<a;)o=null==(n=null==(e=this.getKeyBelow(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}else{let i=r.y-t.scrollTop,a=Math.min(t.scrollHeight,o.y-i-o.height+r.height);for(;n&&o.y-i<a;)o=null==(n=null==(e=this.getKeyBelow(e))?null:this.getItem(e))?void 0:n.getBoundingClientRect()}return null!=e?e:this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t||this.getFirstKey();for(;null!=r;){let t=n.getItem(r),o=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(o,e))return r;r=this.getKeyBelow(r)}return null}constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation,this.direction=t.direction,this.layout=t.layout||"stack"}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all";"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}let fV=new Map;function f$(e){let{locale:t}=(0,nu.j)(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(fV.has(n))return fV.get(n);let r=new Intl.Collator(t,e);return fV.set(n,r),r}var fU=n(46089);let fG=(0,k.createContext)(null);var fq=n(19826),fX=n(87968);let fZ=e=>!e.isLayoutDirty&&e.willUpdate(!1),fY=e=>!0===e,fJ=e=>fY(!0===e)||"id"===e,fQ=({children:e,id:t,inherit:n=!0})=>{let r=(0,k.useContext)(fU.p),o=(0,k.useContext)(fG),[i,a]=function(){let e=function(){let e=(0,k.useRef)(!1);return(0,fq.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,n]=(0,k.useState)(0),r=(0,k.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,k.useCallback)(()=>fX.Wi.postRender(r),[r]),t]}(),s=(0,k.useRef)(null),l=r.id||o;null===s.current&&(fJ(n)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:fY(n)&&r.group||function(){let e=new Set,t=new WeakMap,n=()=>e.forEach(fZ);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);let o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}()});let u=(0,k.useMemo)(()=>({...s.current,forceRender:i}),[a]);return(0,w.jsx)(fU.p.Provider,{value:u,children:e})};var f0=(0,K.Gp)((e,t)=>
6{let{Component:n,values:r,state:o,isSplitted:i,showDivider:a,getBaseProps:s,disableAnimation:l,handleFocusChanged:u,itemClasses:d,dividerProps:c}=function(e){var t;let n=(0,eN.w)(),{ref:r,as:o,className:i,items:a,variant:s,motionProps:l,expandedKeys:u,disabledKeys:d,selectedKeys:c,children:f,defaultExpandedKeys:p,selectionMode:m="single",selectionBehavior:g="toggle",keepContentMounted:h=!1,disallowEmptySelection:v,defaultSelectedKeys:y,onExpandedChange:b,onSelectionChange:w,dividerProps:x={},isCompact:E=!1,isDisabled:T=!1,showDivider:C=!0,hideIndicator:P=!1,disableAnimation:j=null!=(t=null==n?void 0:n.disableAnimation)&&t,disableIndicatorAnimation:S=!1,itemClasses:L,...A}=e,[M,N]=(0,k.useState)(null),D=o||"div",K="string"==typeof D,I=(0,B.gy)(r),F=(0,k.useMemo)(()=>dB({variant:s,className:i}),[s,i]),R={children:(0,k.useMemo)(()=>{let e=[];return k.Children.map(f,t=>{var n;if(k.isValidElement(t)&&"string"!=typeof(null==(n=t.props)?void 0:n.children)){let n=k.cloneElement(t,{hasChildItems:!1});e.push(n)}else e.push(t)}),e},[f]),items:a},O={expandedKeys:u,defaultExpandedKeys:p,onExpandedChange:b},z=iR({disabledKeys:d,selectedKeys:c,selectionMode:m,selectionBehavior:g,disallowEmptySelection:v,defaultSelectedKeys:null!=y?y:p,onSelectionChange:w,...R,...O});z.selectionManager.setFocusedKey=e=>{N(e)};let{accordionProps:_}=function(e,t,n){let{listProps:r}=function(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:o,keyboardDelegate:i}=e,a=f$({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,l=(0,k.useMemo)(()=>i||new fH({collection:n,disabledKeys:r,disabledBehavior:s,ref:o,collator:a}),[i,n,r,o,a,s]),{collectionProps:u}=function(e){var t,n,r;let o,i,a,{selectionManager:s,keyboardDelegate:l,ref:u,autoFocus:d=!1,shouldFocusWrap:c=!1,disallowEmptySelection:f=!1,disallowSelectAll:p=!1,selectOnFocus:m="replace"===s.selectionBehavior,disallowTypeAhead:g=!1,shouldUseVirtualFocus:h,allowsTabNavigation:v=!1,isVirtualized:y,scrollRef:b=u,linkBehavior:w="action"}=e,{direction:x}=(0,nu.j)(),E=(0,k.useContext)(fB),T=(0,k.useRef)({top:0,left:0});t="scroll",o=function(e){let t=(0,k.useRef)(null);return fF(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(n=y?null:()=>{T.current={top:b.current.scrollTop,left:b.current.scrollLeft}}),i=null==n,(0,k.useEffect)(()=>{if(i||!b.current)return;let e=b.current;return e.addEventListener(t,o,void 0),()=>{e.removeEventListener(t,o,r)}},[b,t,r,i,o]);let C=(0,k.useRef)(d);(0,k.useEffect)(()=>{if(C.current){let e=null;"first"===d&&(e=l.getFirstKey()),"last"===d&&(e=l.getLastKey());let t=s.selectedKeys;if(t.size){for(let n of t)if(s.canSelectItem(n)){e=n;break}}s.setFocused(!0),s.setFocusedKey(e),null!=e||h||fK(u.current)}},[]);let P=(0,k.useRef)(s.focusedKey);(0,k.useEffect)(()=>{let e=fx;if(s.isFocused&&null!=s.focusedKey&&(null==b?void 0:b.current)){let t=b.current.querySelector(`[data-key="${CSS.escape(s.focusedKey.toString())}"]`);t&&("keyboard"===e||C.current)&&(y||fO(b.current,t),"virtual"!==e&&f_(t,{containingElement:u.current}))}s.isFocused&&null==s.focusedKey&&null!=P.current&&fK(u.current),P.current=s.focusedKey,C.current=!1},[y,b,s.focusedKey,s.isFocused,u]);let j={onKeyDown:e=>{var t,n,r,o,i,a,d,g,h,y;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!u.current.contains(e.target))return;let k=(t,n)=>{if(null!=t){if(s.isLink(t)&&"selection"===w&&m&&!c6(e)){(0,rs.flushSync)(()=>{s.setFocusedKey(t,n)});let r=b.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`),o=s.getItemProps(t);E.open(r,e,o.href,o.routerOptions);return}s.setFocusedKey(t,n),s.isLink(t)&&"override"===w||(e.shiftKey&&"multiple"===s.selectionMode?s.extendSelection(t):m&&!c6(e)&&s.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(l.getKeyBelow){e.preventDefault();let r=null!=s.focusedKey?l.getKeyBelow(s.focusedKey):null===(t=l.getFirstKey)||void 0===t?void 0:t.call(l);null==r&&c&&(r=null===(n=l.getFirstKey)||void 0===n?void 0:n.call(l,s.focusedKey)),k(r)}break;case"ArrowUp":if(l.getKeyAbove){e.preventDefault();let t=null!=s.focusedKey?l.getKeyAbove(s.focusedKey):null===(r=l.getLastKey)||void 0===r?void 0:r.call(l);null==t&&c&&(t=null===(o=l.getLastKey)||void 0===o?void 0:o.call(l,s.focusedKey)),k(t)}break;case"ArrowLeft":if(l.getKeyLeftOf){e.preventDefault();let t=l.getKeyLeftOf(s.focusedKey);null==t&&c&&(t="rtl"===x?null===(i=l.getFirstKey)||void 0===i?void 0:i.call(l,s.focusedKey):null===(a=l.getLastKey)||void 0===a?void 0:a.call(l,s.focusedKey)),k(t,"rtl"===x?"first":"last")}break;case"ArrowRight":if(l.getKeyRightOf){e.preventDefault();let t=l.getKeyRightOf(s.focusedKey);null==t&&c&&(t="rtl"===x?null===(d=l.getLastKey)||void 0===d?void 0:d.call(l,s.focusedKey):null===(g=l.getFirstKey)||void 0===g?void 0:g.call(l,s.focusedKey)),k(t,"rtl"===x?"last":"first")}break;case"Home":if(l.getFirstKey){e.preventDefault();let t=l.getFirstKey(s.focusedKey,c8(e));s.setFocusedKey(t),c8(e)&&e.shiftKey&&"multiple"===s.selectionMode?s.extendSelection(t):m&&s.replaceSelection(t)}break;case"End":if(l.getLastKey){e.preventDefault();let t=l.getLastKey(s.focusedKey,c8(e));s.setFocusedKey(t),c8(e)&&e.shiftKey&&"multiple"===s.selectionMode?s.extendSelection(t):m&&s.replaceSelection(t)}break;case"PageDown":l.getKeyPageBelow&&(e.preventDefault(),k(l.getKeyPageBelow(s.focusedKey)));break;case"PageUp":l.getKeyPageAbove&&(e.preventDefault(),k(l.getKeyPageAbove(s.focusedKey)));break;case"a":c8(e)&&"multiple"===s.selectionMode&&!0!==p&&(e.preventDefault(),s.selectAll());break;case"Escape":f||0===s.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),s.clearSelection());break;case"Tab":if(!v){if(e.shiftKey)u.current.focus();else{let e,t;let n,r,o=(h=u.current,e=(y={tabbable:!0}).tabbable?fn:ft,t=c7(h).createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode(t){var n;return(null==y?void 0:null===(n=y.from)||void 0===n?void 0:n.contains(t))?NodeFilter.FILTER_REJECT:t.matches(e)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=c9(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}
6=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(t)&&(!(null==y?void 0:y.accept)||y.accept(t))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),(null==y?void 0:y.from)&&(t.currentNode=y.from),t);do(r=o.lastChild())&&(n=r);while(r);n&&!n.contains(document.activeElement)&&fl(n)}}}},onFocus:e=>{if(s.isFocused){e.currentTarget.contains(e.target)||s.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(s.setFocused(!0),null==s.focusedKey){var t,n;let r=e=>{null!=e&&(s.setFocusedKey(e),m&&s.replaceSelection(e))},o=e.relatedTarget;o&&e.currentTarget.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING?r(null!==(t=s.lastSelectedKey)&&void 0!==t?t:l.getLastKey()):r(null!==(n=s.firstSelectedKey)&&void 0!==n?n:l.getFirstKey())}else y||(b.current.scrollTop=T.current.top,b.current.scrollLeft=T.current.left);if(!y&&null!=s.focusedKey){let e=b.current.querySelector(`[data-key="${CSS.escape(s.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||fl(e),"keyboard"===fx&&f_(e,{containingElement:u.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||s.setFocused(!1)},onMouseDown(e){b.current===e.target&&e.preventDefault()}},{typeSelectProps:S}=function(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=(0,k.useRef)({search:"",timeout:null}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let a=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(!a||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target))return;" "!==a||!(o.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),o.search+=a;let s=t.getKeyForSearch(o.search,n.focusedKey);null==s&&(s=t.getKeyForSearch(o.search)),null!=s&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},1e3)}:null}}}({keyboardDelegate:l,selectionManager:s});return g||(j=function(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=fW.get(e);if(n)return n.forEach(e=>e(t)),t;let r=fW.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}(S,j)),h||(a=null==s.focusedKey?0:-1),{collectionProps:{...j,tabIndex:a}}}({...e,ref:o,selectionManager:t,keyboardDelegate:l});return{listProps:u}}({...e,...t,allowsTabNavigation:!0,disallowSelectAll:!0,ref:n});return delete r.onKeyDownCapture,{accordionProps:{...r,tabIndex:void 0}}}({...R,...O},z,I);return{Component:D,values:(0,k.useMemo)(()=>({state:z,focusedKey:M,motionProps:l,isCompact:E,isDisabled:T,hideIndicator:P,disableAnimation:j,keepContentMounted:h,disableIndicatorAnimation:S}),[M,E,T,P,c,j,h,null==z?void 0:z.expandedKeys.values,S,z.expandedKeys.size,z.disabledKeys.size,l]),state:z,focusedKey:M,getBaseProps:(0,k.useCallback)((e={})=>({ref:I,className:F,"data-orientation":"vertical",...(0,W.d)(_,(0,iy.z)(A,{enabled:K}),e)}),[]),isSplitted:"splitted"===s,classNames:F,showDivider:C,dividerProps:x,disableAnimation:j,handleFocusChanged:(0,k.useCallback)((e,t)=>{e&&N(t)},[]),itemClasses:L}}({...e,ref:t}),f=(0,k.useCallback)((e,t)=>u(e,t),[u]),p=(0,k.useMemo)(()=>[...o.collection].map((t,n)=>{let s={...d,...t.props.classNames||{}};return(0,w.jsxs)(k.Fragment,{children:[(0,w.jsx)(cq,{item:t,variant:e.variant,onFocusChange:f,...r,...t.props,classNames:s}),!t.props.hidden&&!i&&a&&n<o.collection.size-1&&(0,w.jsx)(ix,{...c})]},t.key)}),[r,d,f,i,a,o.collection]);return(0,w.jsx)(n,{...s(),children:l?p:(0,w.jsx)(fQ,{children:p})})});function f1(e){let{title:t,faqs:n}=e;return(0,w.jsxs)("div",{className:"flex justify-between max-sm:flex-col max-sm:items-center",children:[(0,w.jsxs)("div",{className:"flex flex-col mr-8 max-sm:mr-0 max-sm:mb-8",children:[(0,w.jsx)(j.no,{className:"mb-4 max-sm:m-auto",src:"/assets/FAQ/_.png",width:132,priority:!0,height:84,alt:"FAQ"}),(0,w.jsx)(iX,{style:{textAlign:"left"},title:t,className:"max-sm:text-center"})]}),(0,w.jsx)(f0,{className:"w-3/5 max-sm:w-full",children:null==n?void 0:n.map((e,t)=>(0,w.jsx)(iH,{HeadingComponent:"h3",classNames:{title:"text-pc_tittle font-bold text-303441 py-2",content:"py-4"},"aria-label":e.question,title:e.question,children:(0,w.jsx)(j.eq,{content:e.answer},t)},t))})]})}f0.displayName="NextUI.Accordion";let f4=new WeakMap;function f3(e){return"string"==typeof e?e.replace(/\s*/g,""):""+e}function f2(e,t,n){let r=f4.get(e);if(!r)throw Error("Unknown grid");return`${r}-${f3(t)}-${f3(n)}`}function f5(e,t){return[...e.collection.rowHeaderColumnKeys].map(n=>f2(e,t,n)).join(" ")}var f6={};function f8(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function f7(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function f9(e){let t=null;return()=>(null==t&&(t=e()),t)}f6={"ar-AE":{ascending:`\u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,ascendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,columnSize:e=>`${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,descending:`\u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`,descendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`,resizerDescription:`\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} \u{645}\u{641}\u{62A}\u{627}\u{62D} Enter \u{644}\u{628}\u{62F}\u{621} \u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{627}\u{644}\u{62D}\u{62C}\u{645}`,select:`\u{62A}\u{62D}\u{62F}\u{64A}\u{62F}`,selectAll:`\u{62A}\u{62D}\u{62F}\u{64A}\u{62F} \u{627}\u{644}\u{643}\u{644}`,sortable:`\u{639}\u{645}\u{648}\u{62F} \u{642}\u{627}\u{628}\u{644} \u{644}\u{644}\u{62A}\u{631}\u{62A}\u{64A}\u{628}`},"bg-BG":{ascending:`\u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449}`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}
6`,descending:`\u{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449}`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432} \u{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,resizerDescription:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{201E}Enter\u{201C}, \u{437}\u{430} \u{434}\u{430} \u{437}\u{430}\u{43F}\u{43E}\u{447}\u{43D}\u{435}\u{442}\u{435} \u{434}\u{430} \u{43F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{44F}\u{432}\u{430}\u{442}\u{435}`,select:`\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435}`,selectAll:`\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435} \u{432}\u{441}\u{438}\u{447}\u{43A}\u{43E}`,sortable:`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{449}\u{430} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430}`},"cs-CZ":{ascending:`vzestupn\u{11B}`,ascendingSort:e=>`\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixel\u{16F}`,descending:`sestupn\u{11B}`,descendingSort:e=>`\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,resizerDescription:`Stisknut\xedm kl\xe1vesy Enter za\u{10D}nete m\u{11B}nit velikost`,select:"Vybrat",selectAll:`Vybrat v\u{161}e`,sortable:`sloupec s mo\u{17E}nost\xed \u{159}azen\xed`},"da-DK":{ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,resizerDescription:`Tryk p\xe5 Enter for at \xe6ndre st\xf8rrelse`,select:`V\xe6lg`,selectAll:`V\xe6lg alle`,sortable:"sorterbar kolonne"},"de-DE":{ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:`Eingabetaste zum Starten der Gr\xf6\xdfen\xe4nderung dr\xfccken`,select:`Ausw\xe4hlen`,selectAll:`Alles ausw\xe4hlen`,sortable:"sortierbare Spalte"},"el-GR":{ascending:`\u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1}`,ascendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,columnSize:e=>`${e.value} pixel`,descending:`\u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1}`,descendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,resizerDescription:`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Enter \u{3B3}\u{3B9}\u{3B1} \u{3AD}\u{3BD}\u{3B1}\u{3C1}\u{3BE}\u{3B7} \u{3C4}\u{3B7}\u{3C2} \u{3B1}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE}\u{3C2} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2}`,select:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,selectAll:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3CC}\u{3BB}\u{3C9}\u{3BD}`,sortable:`\u{3A3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} \u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE}\u{3C2}`},"en-US":{select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",desce
6nding:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"},"es-ES":{ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} p\xedxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"},"et-EE":{ascending:`t\xf5usev j\xe4rjestus`,ascendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,columnSize:e=>`${e.value} pikslit`,descending:`laskuv j\xe4rjestus`,descendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:`Vali k\xf5ik`,sortable:"sorditav veerg"},"fi-FI":{ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,columnSize:e=>`${e.value} pikseli\xe4`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,resizerDescription:`Aloita koon muutos painamalla Enter-n\xe4pp\xe4int\xe4`,select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"},"fr-FR":{ascending:"croissant",ascendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,columnSize:e=>`${e.value}\xa0pixels`,descending:`d\xe9croissant`,descendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,resizerDescription:`Appuyez sur Entr\xe9e pour commencer le redimensionnement.`,select:`S\xe9lectionner`,selectAll:`S\xe9lectionner tout`,sortable:"colonne triable"},"he-IL":{ascending:`\u{5E2}\u{5D5}\u{5DC}\u{5D4}`,ascendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,columnSize:e=>`${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,descending:`\u{5D9}\u{5D5}\u{5E8}\u{5D3}`,descendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5D9}\u{5D5}\u{5E8}\u{5D3}`,resizerDescription:`\u{5D4}\u{5E7}\u{5E9} Enter \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E9}\u{5E0}\u{5D5}\u{5EA} \u{5D0}\u{5EA} \u{5D4}\u{5D2}\u{5D5}\u{5D3}\u{5DC}`,select:`\u{5D1}\u{5D7}\u{5E8}`,selectAll:`\u{5D1}\u{5D7}\u{5E8} \u{5D4}\u{5DB}\u{5D5}\u{5DC}`,sortable:`\u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} \u{5E9}\u{5E0}\u{5D9}\u{5EA}\u{5DF} \u{5DC}\u{5DE}\u{5D9}\u{5D9}\u{5DF}`},"hr-HR":{ascending:`rastu\u{107}i`,ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:`padaju\u{107}i`,descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,resizerDescription:`Pritisnite Enter da biste zapo\u{10D}eli promenu veli\u{10D}ine`,select:"Odaberite",selectAll:"Odaberite sve",sortable:`stupac koji se mo\u{17E}e razvrstati`},"hu-HU":{ascending:`n\xf6vekv\u{151}`,ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,columnSize:e=>`${e.value} k\xe9ppont`,descending:`cs\xf6kken\u{151}`,descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,resizerDescription:`Nyomja le az Enter billenty\u{171}t az \xe1tm\xe9retez\xe9s megkezd\xe9s\xe9hez`,select:`Kijel\xf6l\xe9s`,selectAll:`\xd6sszes kijel\xf6l\xe9se`,sortable:`rendezend\u{151} oszlop`},"it-IT":{ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"},"ja-JP":{ascending:`\u{6607}\u{9806}`,ascendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,columnSize:e=>`${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}
6`,descending:`\u{964D}\u{9806}`,descendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,resizerDescription:`Enter \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{3066}\u{30B5}\u{30A4}\u{30BA}\u{5909}\u{66F4}\u{3092}\u{958B}\u{59CB}`,select:`\u{9078}\u{629E}`,selectAll:`\u{3059}\u{3079}\u{3066}\u{9078}\u{629E}`,sortable:`\u{4E26}\u{3079}\u{66FF}\u{3048}\u{53EF}\u{80FD}\u{306A}\u{5217}`},"ko-KR":{ascending:`\u{C624}\u{B984}\u{CC28}\u{C21C}`,ascendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,columnSize:e=>`${e.value} \u{D53D}\u{C140}`,descending:`\u{B0B4}\u{B9BC}\u{CC28}\u{C21C}`,descendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,resizerDescription:`\u{D06C}\u{AE30} \u{C870}\u{C815}\u{C744} \u{C2DC}\u{C791}\u{D558}\u{B824}\u{BA74} Enter\u{B97C} \u{B204}\u{B974}\u{C138}\u{C694}.`,select:`\u{C120}\u{D0DD}`,selectAll:`\u{BAA8}\u{B450} \u{C120}\u{D0DD}`,sortable:`\u{C815}\u{B82C} \u{AC00}\u{B2A5}\u{D55C} \u{C5F4}`},"lt-LT":{ascending:`did\u{117}jan\u{10D}ia tvarka`,ascendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,columnSize:e=>`${e.value} piks.`,descending:`ma\u{17E}\u{117}jan\u{10D}ia tvarka`,descendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,resizerDescription:`Paspauskite \u{201E}Enter\u{201C}, kad prad\u{117}tum\u{117}te keisti dyd\u{12F}`,select:"Pasirinkti",selectAll:`Pasirinkti visk\u{105}`,sortable:"rikiuojamas stulpelis"},"lv-LV":{ascending:`augo\u{161}\u{101} sec\u{12B}b\u{101}`,ascendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,columnSize:e=>`${e.value} pikse\u{13C}i`,descending:`dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,descendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,resizerDescription:`Nospiediet Enter, lai s\u{101}ktu izm\u{113}ru main\u{12B}\u{161}anu`,select:`Atlas\u{12B}t`,selectAll:`Atlas\u{12B}t visu`,sortable:`k\u{101}rtojam\u{101} kolonna`},"nb-NO":{ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,resizerDescription:`Trykk p\xe5 Enter for \xe5 starte st\xf8rrelsesendring`,select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"},"nl-NL":{ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"},"pl-PL":{ascending:`rosn\u{105}co`,ascendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:`malej\u{105}co`,descendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,resizerDescription:`Naci\u{15B}nij Enter, aby rozpocz\u{105}\u{107} zmienianie rozmiaru`,select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:`kolumna z mo\u{17C}liwo\u{15B}ci\u{105} sortowania`},"pt-BR":{ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:`Pressione Enter para come\xe7ar a redimensionar`,select:"Selecionar",selectAll:"Selecionar tudo",sortable:`coluna classific\xe1vel`},"pt-PT":{ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value}
6 pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:`Coluna orden\xe1vel`},"ro-RO":{ascending:`cresc\u{103}toare`,ascendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,columnSize:e=>`${e.value} pixeli`,descending:`descresc\u{103}toare`,descendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,resizerDescription:`Ap\u{103}sa\u{21B}i pe Enter pentru a \xeencepe redimensionarea`,select:"Selectare",selectAll:`Selectare total\u{103}`,sortable:`coloan\u{103} sortabil\u{103}`},"ru-RU":{ascending:`\u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{435}`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,descending:`\u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{435}`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,resizerDescription:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{43A}\u{43B}\u{430}\u{432}\u{438}\u{448}\u{443} Enter \u{434}\u{43B}\u{44F} \u{43D}\u{430}\u{447}\u{430}\u{43B}\u{430} \u{438}\u{437}\u{43C}\u{435}\u{43D}\u{435}\u{43D}\u{438}\u{44F} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{43E}\u{432}`,select:`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{442}\u{44C}`,selectAll:`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{442}\u{44C} \u{432}\u{441}\u{435}`,sortable:`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{443}\u{435}\u{43C}\u{44B}\u{439} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446}`},"sk-SK":{ascending:"vzostupne",ascendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,columnSize:e=>`Po\u{10D}et pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,resizerDescription:`Stla\u{10D}en\xedm kl\xe1vesu Enter za\u{10D}nete zmenu ve\u{13E}kosti`,select:`Vybra\u{165}`,selectAll:`Vybra\u{165} v\u{161}etko`,sortable:`zoradite\u{13E}n\xfd st\u{13A}pec`},"sl-SI":{ascending:`nara\u{161}\u{10D}ajo\u{10D}e`,ascendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:`padajo\u{10D}e`,descendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,resizerDescription:`Pritisnite tipko Enter da za\u{10D}nete spreminjati velikost`,select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"},"sr-SP":{ascending:`rastu\u{107}i`,ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,columnSize:e=>`${e.value} piksela`,descending:`padaju\u{107}i`,descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,resizerDescription:`Pritisnite Enter da biste zapo\u{10D}eli promenu veli\u{10D}ine`,select:"Izaberite",selectAll:"Izaberite sve",sortable:`kolona koja se mo\u{17E}e sortirati`},"sv-SE":{ascending:"stigande",ascendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,resizerDescription:`Tryck p\xe5 Retur f\xf6r att b\xf6rja \xe4ndra storlek`,select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"}
6,"tr-TR":{ascending:`artan s\u{131}rada`,ascendingSort:e=>`${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,columnSize:e=>`${e.value} piksel`,descending:`azalan s\u{131}rada`,descendingSort:e=>`${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,resizerDescription:`Yeniden boyutland\u{131}rmak i\xe7in Enter'a bas\u{131}n`,select:`Se\xe7`,selectAll:`T\xfcm\xfcn\xfc Se\xe7`,sortable:`S\u{131}ralanabilir s\xfctun`},"uk-UA":{ascending:`\u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{438}\u{439}`,ascendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,columnSize:e=>`${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,descending:`\u{43D}\u{438}\u{437}\u{445}\u{456}\u{434}\u{43D}\u{438}\u{439}`,descendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{43D}\u{438}\u{437}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,resizerDescription:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Enter, \u{449}\u{43E}\u{431} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{438} \u{437}\u{43C}\u{456}\u{43D}\u{443} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440}\u{443}`,select:`\u{412}\u{438}\u{431}\u{440}\u{430}\u{442}\u{438}`,selectAll:`\u{412}\u{438}\u{431}\u{440}\u{430}\u{442}\u{438} \u{432}\u{441}\u{435}`,sortable:`\u{441}\u{43E}\u{440}\u{442}\u{443}\u{432}\u{430}\u{43B}\u{44C}\u{43D}\u{438}\u{439} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{435}\u{446}\u{44C}`},"zh-CN":{ascending:`\u{5347}\u{5E8F}`,ascendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`\u{964D}\u{5E8F}`,descendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,resizerDescription:`\u{6309}\u{201C}\u{8F93}\u{5165}\u{201D}\u{952E}\u{5F00}\u{59CB}\u{8C03}\u{6574}\u{5927}\u{5C0F}\u{3002}`,select:`\u{9009}\u{62E9}`,selectAll:`\u{5168}\u{9009}`,sortable:`\u{53EF}\u{6392}\u{5E8F}\u{7684}\u{5217}`},"zh-TW":{ascending:`\u{905E}\u{589E}`,ascendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`\u{905E}\u{6E1B}
6`,descendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,resizerDescription:`\u{6309} Enter \u{9375}\u{4EE5}\u{958B}\u{59CB}\u{8ABF}\u{6574}\u{5927}\u{5C0F}`,select:`\u{9078}\u{53D6}`,selectAll:`\u{5168}\u{9078}`,sortable:`\u{53EF}\u{6392}\u{5E8F}\u{7684}\u{6B04}`}};let pe=f9(function(){return f7(/^Mac/i)}),pt=f9(function(){return f7(/^iPhone/i)}),pn=f9(function(){return f7(/^iPad/i)||pe()&&navigator.maxTouchPoints>1}),pr=f9(function(){return pt()||pn()});f9(function(){return pe()||pr()});let po=f9(function(){return f8(/AppleWebKit/i)&&!pi()}),pi=f9(function(){return f8(/Chrome/i)}),pa=f9(function(){return f8(/Android/i)}),ps=f9(function(){return f8(/Firefox/i)}),pl="undefined"!=typeof document?k.useLayoutEffect:()=>{},pu=0,pd=new Map;function pc(e){let[t,n]=(0,k.useState)();return pl(()=>{if(!e)return;let t=pd.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${pu++}`;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},pd.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),pd.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function pf(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}let pp=!!("undefined"!=typeof window&&window.document&&window.document.createElement),pm=new Map;function pg(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=pf(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=pm.get(e);if(n)return n.forEach(e=>e(t)),t;let r=pm.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}let ph=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},pv=e=>e&&"window"in e&&e.window===e?e:ph(e).defaultView||window,py=new Map,pb=new Set;function pw(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=py.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),py.delete(n.target)),0===py.size)){for(let e of pb)e();pb.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=py.get(n.target);r||(r=new Set,py.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function px(e){requestAnimationFrame(()=>{0===py.size?e():pb.add(e)})}function pE(e){if(function(){if(null==pk){pk=!1;try{document.createElement("div").focus({get preventScroll(){return pk=!0,!0}})}catch(e){}}return pk}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?pw():document.addEventListener("DOMContentLoaded",pw));let pk=null;function pT(e){return 0===e.mozInputSource&&!!e.isTrusted||(pa()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let pC=null,pP=new Set,pj=new Map,pS=!1,pL=!1;function pA(e,t){for(let n of pP)n(e,t)}function pM(e){pS=!0,e.metaKey||!pe()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(pC="keyboard",pA("keyboard",e))}
6function pN(e){pC="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(pS=!0,pA("pointer",e))}function pD(e){pT(e)&&(pS=!0,pC="virtual")}function pK(e){e.target!==window&&e.target!==document&&(pS||pL||(pC="virtual",pA("virtual",e)),pS=!1,pL=!1)}function pB(){pS=!1,pL=!0}function pI(e){if("undefined"==typeof window||pj.get(pv(e)))return;let t=pv(e),n=ph(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){pS=!0,r.apply(this,arguments)},n.addEventListener("keydown",pM,!0),n.addEventListener("keyup",pM,!0),n.addEventListener("click",pD,!0),t.addEventListener("focus",pK,!0),t.addEventListener("blur",pB,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",pN,!0),n.addEventListener("pointermove",pN,!0),n.addEventListener("pointerup",pN,!0)):(n.addEventListener("mousedown",pN,!0),n.addEventListener("mousemove",pN,!0),n.addEventListener("mouseup",pN,!0)),t.addEventListener("beforeunload",()=>{pF(e)},{once:!0}),pj.set(t,{focus:r})}let pF=(e,t)=>{let n=pv(e),r=ph(e);t&&r.removeEventListener("DOMContentLoaded",t),pj.has(n)&&(n.HTMLElement.prototype.focus=pj.get(n).focus,r.removeEventListener("keydown",pM,!0),r.removeEventListener("keyup",pM,!0),r.removeEventListener("click",pD,!0),n.removeEventListener("focus",pK,!0),n.removeEventListener("blur",pB,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",pN,!0),r.removeEventListener("pointermove",pN,!0),r.removeEventListener("pointerup",pN,!0)):(r.removeEventListener("mousedown",pN,!0),r.removeEventListener("mousemove",pN,!0),r.removeEventListener("mouseup",pN,!0)),pj.delete(n))};function pR(e,t){pl(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function pO(e){let t=(0,k.useRef)(null);return pl(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}"undefined"!=typeof document&&function(e){let t;let n=ph(void 0);"loading"!==n.readyState?pI(void 0):(t=()=>{pI(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>pF(e,t)}();class pz{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function p_(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let pW=k.createContext(null),pH=new WeakMap,pV=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},p$=e=>e&&"window"in e&&e.window===e?e:pV(e).defaultView||window,pU=["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]"],pG=pU.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";pU.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let pq=pU.join(':not([hidden]):not([tabindex="-1"]),');function pX(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function pZ(e,t,n){let r=(null==t?void 0:t.tabbable)?pq:pG,o=pV(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=p$(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}
6=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||pX(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class pY{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new pJ({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&pX(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new pY;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new pJ({scopeRef:null}),this.fastMap.set(null,this.root)}}class pJ{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new pY;let pQ=new Map,p0=new Set;function p1(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=pQ.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),pQ.delete(n.target)),0===pQ.size)){for(let e of p0)e();p0.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=pQ.get(n.target);r||(r=new Set,pQ.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function p4(e){if(function(){if(null==p3){p3=!1;try{document.createElement("div").focus({get preventScroll(){return p3=!0,!0}})}catch(e){}}return p3}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?p1():document.addEventListener("DOMContentLoaded",p1));let p3=null;function p2(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function p5(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function p6(e){let t=null;return()=>(null==t&&(t=e()),t)}let p8=p6(function(){return p5(/^Mac/i)}),p7=p6(function(){return p5(/^iPhone/i)}),p9=p6(function(){return p5(/^iPad/i)||p8()&&navigator.maxTouchPoints>1}),me=p6(function(){return p7()||p9()});p6(function(){return p8()||me()}),p6(function(){return p2(/AppleWebKit/i)&&!mt()});let mt=p6(function(){return p2(/Chrome/i)}),mn=p6(function(){return p2(/Android/i)});p6(function(){return p2(/Firefox/i)});let mr=null,mo=new Set,mi=new Map,ma=!1,ms=!1;function ml(e,t){for(let n of mo)n(e,t)}function mu(e){ma=!0,e.metaKey||!p8()&&e.altKey||e.ctrlKey||"Control"
6===e.key||"Shift"===e.key||"Meta"===e.key||(mr="keyboard",ml("keyboard",e))}function md(e){mr="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(ma=!0,ml("pointer",e))}function mc(e){(0===e.mozInputSource&&e.isTrusted||(mn()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(ma=!0,mr="virtual")}function mf(e){e.target!==window&&e.target!==document&&(ma||ms||(mr="virtual",ml("virtual",e)),ma=!1,ms=!1)}function mp(){ma=!1,ms=!0}function mm(e){if("undefined"==typeof window||mi.get(p$(e)))return;let t=p$(e),n=pV(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ma=!0,r.apply(this,arguments)},n.addEventListener("keydown",mu,!0),n.addEventListener("keyup",mu,!0),n.addEventListener("click",mc,!0),t.addEventListener("focus",mf,!0),t.addEventListener("blur",mp,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",md,!0),n.addEventListener("pointermove",md,!0),n.addEventListener("pointerup",md,!0)):(n.addEventListener("mousedown",md,!0),n.addEventListener("mousemove",md,!0),n.addEventListener("mouseup",md,!0)),t.addEventListener("beforeunload",()=>{mg(e)},{once:!0}),mi.set(t,{focus:r})}let mg=(e,t)=>{let n=p$(e),r=pV(e);t&&r.removeEventListener("DOMContentLoaded",t),mi.has(n)&&(n.HTMLElement.prototype.focus=mi.get(n).focus,r.removeEventListener("keydown",mu,!0),r.removeEventListener("keyup",mu,!0),r.removeEventListener("click",mc,!0),n.removeEventListener("focus",mf,!0),n.removeEventListener("blur",mp,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",md,!0),r.removeEventListener("pointermove",md,!0),r.removeEventListener("pointerup",md,!0)):(r.removeEventListener("mousedown",md,!0),r.removeEventListener("mousemove",md,!0),r.removeEventListener("mouseup",md,!0)),mi.delete(n))};function mh(e){let t=pV(e);if("virtual"===mr){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&p4(e)},requestAnimationFrame(()=>{0===pQ.size?n():p0.add(n)})}else p4(e)}function mv(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function my(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function mb(e,t){if(document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)mv(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))!function(e,t){let n=my(e,t,"left"),r=my(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),c=e.scrollTop+parseInt(l,10),f=d+e.clientWidth,p=c+e.clientHeight;n<=a?a=n-parseInt(u,10):n+o>f&&(a+=n+o-f),r<=c?s=r-parseInt(l,10):r+i>p&&(s+=r+i-p),e.scrollLeft=a,e.scrollTop=s}(t,e);else{var n,r,o,i;let{left:a,top:s}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();(Math.abs(a-l)>1||Math.abs(s-u)>1)&&(null==t||null===(o=t.containingElement)||void 0===o||null===(r=o.scrollIntoView)||void 0===r||r.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"}))}}}function mw(e,t){let n=e;for(mv(n,t)&&(n=n.parentElement);n&&!mv(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function mx(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}"undefined"!=typeof document&&function(e){let t;let n=pV(void 0);"loading"!==n.readyState?mm(void 0):(t=()=>{mm(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>mg(e,t)}();let mE="undefined"!=typeof document?k.useLayoutEffect:()=>{},mk=!!("undefined"!=typeof window&&window.document&&window.document.createElement),mT=new Map;function mC(e){let[t,n]=(0,k.useState)(e),r=(0,k.useRef)(null),o=(0,e0.gP)(t),i=(0,k.useCallback)(e=>{r.current=e},[]);return mk&&(mT.has(o)&&!mT.get(o).includes(i)?mT.set(o,[...mT.get(o),i]):mT.set(o,[i])),mE(()=>()=>{mT.delete(o)}
6,[o]),(0,k.useEffect)(()=>{let e=r.current;e&&(r.current=null,n(e))}),o}function mP(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=mx(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=mT.get(e);if(n)return n.forEach(e=>e(t)),t;let r=mT.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}function mj(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function mS(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function mL(e){let t=null;return()=>(null==t&&(t=e()),t)}let mA=mL(function(){return mS(/^Mac/i)}),mM=mL(function(){return mS(/^iPhone/i)}),mN=mL(function(){return mS(/^iPad/i)||mA()&&navigator.maxTouchPoints>1}),mD=mL(function(){return mM()||mN()}),mK=mL(function(){return mA()||mD()}),mB=mL(function(){return mj(/AppleWebKit/i)&&!mI()}),mI=mL(function(){return mj(/Chrome/i)}),mF=mL(function(){return mj(/Android/i)}),mR=mL(function(){return mj(/Firefox/i)});function mO(e){return mK()?e.altKey:e.ctrlKey}function mz(e){return mA()?e.metaKey:e.ctrlKey}let m_=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},mW=e=>e&&"window"in e&&e.window===e?e:m_(e).defaultView||window,mH=new Map,mV=new Set;function m$(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=mH.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),mH.delete(n.target)),0===mH.size)){for(let e of mV)e();mV.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=mH.get(n.target);r||(r=new Set,mH.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function mU(e){requestAnimationFrame(()=>{0===mH.size?e():mV.add(e)})}function mG(e){if(function(){if(null==mq){mq=!1;try{document.createElement("div").focus({get preventScroll(){return mq=!0,!0}})}catch(e){}}return mq}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?m$():document.addEventListener("DOMContentLoaded",m$));let mq=null;function mX(e){return 0===e.mozInputSource&&!!e.isTrusted||(mF()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let mZ=null,mY=new Set,mJ=new Map,mQ=!1,m0=!1;function m1(e,t){for(let n of mY)n(e,t)}function m4(e){mQ=!0,e.metaKey||!mA()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(mZ="keyboard",m1("keyboard",e))}
6function m3(e){mZ="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(mQ=!0,m1("pointer",e))}function m2(e){mX(e)&&(mQ=!0,mZ="virtual")}function m5(e){e.target!==window&&e.target!==document&&(mQ||m0||(mZ="virtual",m1("virtual",e)),mQ=!1,m0=!1)}function m6(){mQ=!1,m0=!0}function m8(e){if("undefined"==typeof window||mJ.get(mW(e)))return;let t=mW(e),n=m_(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){mQ=!0,r.apply(this,arguments)},n.addEventListener("keydown",m4,!0),n.addEventListener("keyup",m4,!0),n.addEventListener("click",m2,!0),t.addEventListener("focus",m5,!0),t.addEventListener("blur",m6,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",m3,!0),n.addEventListener("pointermove",m3,!0),n.addEventListener("pointerup",m3,!0)):(n.addEventListener("mousedown",m3,!0),n.addEventListener("mousemove",m3,!0),n.addEventListener("mouseup",m3,!0)),t.addEventListener("beforeunload",()=>{m7(e)},{once:!0}),mJ.set(t,{focus:r})}let m7=(e,t)=>{let n=mW(e),r=m_(e);t&&r.removeEventListener("DOMContentLoaded",t),mJ.has(n)&&(n.HTMLElement.prototype.focus=mJ.get(n).focus,r.removeEventListener("keydown",m4,!0),r.removeEventListener("keyup",m4,!0),r.removeEventListener("click",m2,!0),n.removeEventListener("focus",m5,!0),n.removeEventListener("blur",m6,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",m3,!0),r.removeEventListener("pointermove",m3,!0),r.removeEventListener("pointerup",m3,!0)):(r.removeEventListener("mousedown",m3,!0),r.removeEventListener("mousemove",m3,!0),r.removeEventListener("mouseup",m3,!0)),mJ.delete(n))};function m9(e){let t=m_(e);if("virtual"===mZ){let n=t.activeElement;mU(()=>{t.activeElement===n&&e.isConnected&&mG(e)})}else mG(e)}"undefined"!=typeof document&&function(e){let t;let n=m_(void 0);"loading"!==n.readyState?m8(void 0):(t=()=>{m8(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>m7(e,t)}();let ge=(0,k.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}(e,e=>gn(e,t))},useHref:e=>e});function gt(){return(0,k.useContext)(ge)}function gn(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;mR()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(mA()?i=!0:a=!0);let u=mB()&&mA()&&!mN()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});gn.isOpening=n,mG(e),e.dispatchEvent(u),gn.isOpening=!1}function gr(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}gn.isOpening=!1,"undefined"!=typeof window&&window.document&&window.document.createElement;let go=new Map;function gi(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=gr(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=go.get(e);if(n)return n.forEach(e=>e(t)),t;let r=go.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}let ga="default",gs="",gl=new WeakMap;function gu(e){if(mD()){if("default"===ga){let t=m_(e);gs=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ga="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(gl.set(e,e.style.userSelect),e.style.userSelect="none")}function gd(e){if(mD())"disabled"===ga&&(ga="restoring",setTimeout(()=>{mU(()=>
6{if("restoring"===ga){let t=m_(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=gs||""),gs="",ga="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&gl.has(e)){let t=gl.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),gl.delete(e)}}let gc=k.createContext({register:()=>{}});gc.displayName="PressResponderContext";let gf="undefined"!=typeof document?k.useLayoutEffect:()=>{};function gp(){let e=(0,k.useRef)(new Map),t=(0,k.useCallback)((t,n,r,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,r,o)},[]),n=(0,k.useCallback)((t,n,r,o)=>{var i;let a=(null===(i=e.current.get(r))||void 0===i?void 0:i.fn)||r;t.removeEventListener(n,a,o),e.current.delete(r)},[]),r=(0,k.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,k.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function gm(e){let t=(0,k.useRef)(null);return gf(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}var gg=new WeakMap;class gh{continuePropagation(){(0,tb._)(this,gg,!1)}get shouldStopPropagation(){return(0,tv._)(this,gg)}constructor(e,t,n,r){var o;(0,ty._)(this,gg,{writable:!0,value:void 0}),(0,tb._)(this,gg,!0);let i=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let gv=Symbol("linkClicked");function gy(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:c,...f}=function(e){var t;let n=(0,k.useContext)(gc);if(n){let{register:t,...r}=n;e=gi(r,e),t()}return t=e.ref,gf(()=>{if(n&&n.ref&&t)return n.ref.current=t.current,()=>{n.ref&&(n.ref.current=null)}}),e}(e),[p,m]=(0,k.useState)(!1),g=(0,k.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:v}=gp(),y=gm((e,t)=>{let o=g.current;if(a||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,r){let n=new gh("pressstart",t,e);r(n),i=n.shouldStopPropagation}return n&&n(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,m(!0),i}),b=gm((e,r,i=!0)=>{let s=g.current;if(!s.didFirePressStart)return!1;s.ignoreClickAfterPress=!0,s.didFirePressStart=!1,s.isTriggeringEvent=!0;let l=!0;if(o){let t=new gh("pressend",r,e);o(t),l=t.shouldStopPropagation}if(n&&n(!1),m(!1),t&&i&&!a){let n=new gh("press",r,e);t(n),l&&(l=n.shouldStopPropagation)}return s.isTriggeringEvent=!1,l}),w=gm((e,t)=>{let n=g.current;if(a)return!1;if(i){n.isTriggeringEvent=!0;let r=new gh("pressup",t,e);return i(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),x=gm(e=>{let t=g.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&b(gk(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,v(),d||gd(t.target))}),E=gm(e=>{u&&x(e)}),T=(0,k.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(gw(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;gj(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=y(t,"keyboard");let r=t.currentTarget;h(m_(t.currentTarget),"keyup",gr(t=>{gw(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&w(gk(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&mA()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!gn.isOpening){let n=!0;if(a&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||mX(t.nativeEvent))){a||l||mG(t.currentTarget);let e=y(t,"virtual"),r=w(t,"virtual"),o=b(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;
6if(e.isPressed&&e.target&&gw(t,e.target)){gj(t.target,t.key)&&t.preventDefault();let n=t.target;b(gk(e.target,t),"keyboard",e.target.contains(n)),v(),"Enter"!==t.key&&gb(e.target)&&e.target.contains(n)&&!t[gv]&&(t[gv]=!0,gn(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!mF()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}gC(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let s=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,a||l||mG(t.currentTarget),d||gu(e.target),s=y(t,e.pointerType),h(m_(t.currentTarget),"pointermove",n,!1),h(m_(t.currentTarget),"pointerup",r,!1),h(m_(t.currentTarget),"pointercancel",i,!1)),s&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(gC(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&gT(t,t.currentTarget)&&w(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&gT(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,y(gk(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,b(gk(e.target,t),e.pointerType,!1),E(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(gT(t,e.target)&&null!=e.pointerType?b(gk(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&b(gk(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,v(),d||gd(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&h(e.target,"touchend",o,{once:!0}))},o=e=>{gP(e.currentTarget)&&e.preventDefault()},i=e=>{x(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(gC(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=mX(t.nativeEvent)?"virtual":"mouse",a||l||mG(t.currentTarget),y(t,e.pointerType)&&t.stopPropagation(),h(m_(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=y(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=b(t,e.pointerType,!1),E(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&w(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,v(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&gT(t,e.target)&&null!=e.pointerType?b(gk(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&b(gk(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",a||l||mG(t.currentTarget),d||gu(e.target),y(gE(e.target,t),e.pointerType)&&t.stopPropagation(),h(mW(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=gx(t.nativeEvent,e.activePointerId),r=!0;n&&gT(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=y(gE(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=b
6(gE(e.target,t),e.pointerType,!1),E(gE(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=gx(t.nativeEvent,e.activePointerId),r=!0;n&&gT(n,t.currentTarget)&&null!=e.pointerType?(w(gE(e.target,t),e.pointerType),r=b(gE(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=b(gE(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!d&&gd(e.target),v()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&x(gE(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&x({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}return t},[h,a,l,v,d,x,E,b,y,w]);return(0,k.useEffect)(()=>()=>{var e;d||gd(null!==(e=g.current.target)&&void 0!==e?e:void 0)},[d]),{isPressed:s||p,pressProps:gi(f,T)}}function gb(e){return"A"===e.tagName&&e.hasAttribute("href")}function gw(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof mW(t).HTMLInputElement&&!gL(t,n)||t instanceof mW(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&gb(t))&&"Enter"!==n)}function gx(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function gE(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function gk(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function gT(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function gC(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function gP(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!gb(e))}function gj(e,t){return e instanceof HTMLInputElement?!gL(e,t):gP(e)}let gS=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function gL(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:gS.has(e.type)}let gA=0,gM=new Map;function gN(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:i,focus:a,isDisabled:s,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:d="action"}=e,c=gt(),f=e=>{if("keyboard"===e.pointerType&&mO(e))t.toggleSelection(n);else{if("none"===t.selectionMode)return;if(t.isLink(n)){if("selection"===d){let o=t.getItemProps(n);c.open(r.current,e,o.href,o.routerOptions),t.setSelectedKeys(t.selectedKeys);return}if("override"===d||"none"===d)return}"single"===t.selectionMode?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):e&&e.shiftKey?t.extendSelection(n):"toggle"===t.selectionBehavior||e&&(mz(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?t.toggleSelection(n):t.replaceSelection(n)}};(0,k.useEffect)(()=>{n===t.focusedKey&&t.isFocused&&!i&&(a?a():document.activeElement!==r.current&&m9(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),s=s||t.isDisabled(n);let p={};i||s?s&&(p.onMouseDown=e=>{e.preventDefault()}):p={tabIndex:n===t.focusedKey?0:-1,onFocus(e){e.target===r.current&&t.setFocusedKey(n)}};let m=t.isLink(n)&&"override"===d,g=t.isLink(n)&&"selection"!==d&&"none"!==d,h=!s&&t.canSelectItem(n)&&!m,v=(l||g)&&!s,y=v&&("replace"===t.selectionBehavior?!h:!h||t.isEmpty),b=v&&h&&"replace"===t.selectionBehavior,w=y||b,x=(0,k.useRef)(null),E=w&&h,T=(0,k.useRef)(!1),C=(0,k.useRef)(!1),P=e=>{if(l&&l(),g){let o=t.getItemProps(n);c.open(r.current,e,o.href,o.routerOptions)}},j={};o?(j.onPressStart=e=>{x.current=e.pointerType,T.current=E,"keyboard"===e.pointerType&&(!w||g
6K())&&f(e)},u?(j.onPressUp=y?null:e=>{"keyboard"!==e.pointerType&&h&&f(e)},j.onPress=y?P:null):j.onPress=e=>{y||b&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||gD())&&P(e):"keyboard"!==e.pointerType&&h&&f(e)}):(j.onPressStart=e=>{x.current=e.pointerType,T.current=E,C.current=y,h&&("mouse"===e.pointerType&&!y||"keyboard"===e.pointerType&&(!v||gK()))&&f(e)},j.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&w&&gD()||"mouse"===e.pointerType&&C.current)&&(w?P(e):h&&f(e))}),p["data-key"]=n,j.preventFocusOnPress=i;let{pressProps:S,isPressed:L}=gy(j),A=b?e=>{"mouse"===x.current&&(e.stopPropagation(),e.preventDefault(),P(e))}:void 0,{longPressProps:M}=function(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:i=500,accessibilityDescription:a}=e,s=(0,k.useRef)(void 0),{addGlobalListener:l,removeGlobalListener:u}=gp(),{pressProps:d}=gy({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),s.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};l(e.target,"contextmenu",t,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{u(e.target,"contextmenu",t)}
6,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),r&&("mouse"===e.pointerType||"touch"===e.pointerType)&&r({...e,type:"longpressend"})}});return{longPressProps:gi(d,function(e){let[t,n]=(0,k.useState)();return gf(()=>{if(!e)return;let t=gM.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${gA++}`;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},gM.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),gM.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(o&&!t?a:void 0))}}({isDisabled:!E,onLongPress(e){"touch"===e.pointerType&&(f(e),t.setSelectionBehavior("toggle"))}});return{itemProps:gi(p,h||y?S:{},E?M:{},{onDoubleClick:A,onDragStartCapture:e=>{"touch"===x.current&&T.current&&e.preventDefault()},onClick:t.isLink(n)?e=>{gn.isOpening||e.preventDefault()}:void 0}),isPressed:L,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:s,allowsSelection:h,hasAction:w}}function gD(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function gK(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}function gB(e,t,n){var r;let{node:o,isVirtualized:i,focusMode:a="child",shouldSelectOnPressUp:s,onAction:l}=e,{direction:u}=(0,nu.j)(),{keyboardDelegate:d,actions:{onCellAction:c}}=pH.get(t),f=(0,k.useRef)(null),p=()=>{let e=pZ(n.current);if("child"===a){if(n.current.contains(document.activeElement)&&n.current!==document.activeElement)return;let r="last"===t.selectionManager.childFocusStrategy?gI(e):e.firstChild();if(r){mh(r);return}}(null==f.current||o.key===f.current)&&n.current.contains(document.activeElement)||mh(n.current)},{itemProps:m,isPressed:g}=gN({selectionManager:t.selectionManager,key:o.key,ref:n,isVirtualized:i,focus:p,shouldSelectOnPressUp:s,onAction:c?()=>c(o.key):l,isDisabled:0===t.collection.size}),h=mP(m,{role:"gridcell",onKeyDownCapture:e=>{if(!e.currentTarget.contains(e.target)||t.isKeyboardNavigationDisabled)return;let r=pZ(n.current);switch(r.currentNode=document.activeElement,e.key){case"ArrowLeft":{let t="rtl"===u?r.nextNode():r.previousNode();if("child"===a&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)mh(t),mb(t,{containingElement:mw(n.current)});else{if(d.getKeyLeftOf(o.key)!==o.key){n.current.parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}"cell"===a&&"rtl"===u?(mh(n.current),mb(n.current,{containingElement:mw(n.current)})):(r.currentNode=n.current,(t="rtl"===u?r.firstChild():gI(r))&&(mh(t),mb(t,{containingElement:mw(n.current)})))}break}case"ArrowRight":{let t="rtl"===u?r.previousNode():r.nextNode();if("child"===a&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)mh(t),mb(t,{containingElement:mw(n.current)});else{if(d.getKeyRightOf(o.key)!==o.key){n.current.parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}"cell"===a&&"ltr"===u?(mh(n.current),mb(n.current,{containingElement:mw(n.current)})):(r.currentNode=n.current,(t="rtl"===u?gI(r):r.firstChild())&&(mh(t),mb(t,{containingElement:mw(n.current)})))}break}case"ArrowUp":case"ArrowDown":!e.altKey&&n.current.contains(e.target)&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}},onFocus:e=>{if(f.current=o.key,e.target!==n.current){"pointer"!==mr||t.selectionManager.setFocusedKey(o.key);return}requestAnimationFrame(()=>{"child"===a&&document.activeElement===n.current&&p()})}});return i&&(h["aria-colindex"]=(null!==(r=o.colIndex)&&void 0!==r?r:o.index)+1),s&&null!=h.tabIndex&&null==h.onPointerDown&&(h.onPointerDown=e=>{let t=e.currentTarget,n=t.getAttribute("tabindex");t.removeAttribute("tabindex"),requestAnimationFrame(()=>{t.setAttribute("tabindex",n)})}),{gridCellProps:h,isPressed:g}}function gI(e){let t,n;do(n=e.lastChild())&&(t=n);while(n);return t}let gF="default",gR="",gO=new WeakMap;function gz(e){if(pr()){if("default"===gF){let t=ph(e);gR=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}gF="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(gO.set(e,e.style.userSelect),e.style.userSelect="none")}function g_(e){if(pr())"disabled"===gF&&(gF="restoring",setTimeout(()=>{px(()=>
6{if("restoring"===gF){let t=ph(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=gR||""),gR="",gF="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&gO.has(e)){let t=gO.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),gO.delete(e)}}let gW=k.createContext({register:()=>{}});function gH(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;ps()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(pe()?i=!0:a=!0);let u=po()&&pe()&&!pn()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});gH.isOpening=n,pE(e),e.dispatchEvent(u),gH.isOpening=!1}gW.displayName="PressResponderContext",gH.isOpening=!1;var gV=new WeakMap;class g${continuePropagation(){(0,tb._)(this,gV,!1)}get shouldStopPropagation(){return(0,tv._)(this,gV)}constructor(e,t,n,r){var o;(0,ty._)(this,gV,{writable:!0,value:void 0}),(0,tb._)(this,gV,!0);let i=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let gU=Symbol("linkClicked");function gG(e){return"A"===e.tagName&&e.hasAttribute("href")}function gq(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof pv(t).HTMLInputElement&&!g3(t,n)||t instanceof pv(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&gG(t))&&"Enter"!==n)}function gX(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function gZ(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function gY(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function gJ(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function gQ(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function g0(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!gG(e))}function g1(e,t){return e instanceof HTMLInputElement?!g3(e,t):g0(e)}let g4=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function g3(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:g4.has(e.type)}function g2(e,t,n){var r,o,i;let a;let{node:s}=e,l=s.props.allowsSorting,{gridCellProps:u}=gB({...e,focusMode:"child"},t,n),d=s.props.isSelectionCell&&"single"===t.selectionManager.selectionMode,{pressProps:c}=function(e){let t,n,r,o,{onPress:i,onPressChange:a,onPressStart:s,onPressEnd:l,onPressUp:u,isDisabled:d,isPressed:c,preventFocusOnPress:f,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:m,ref:g,...h}=function(e){let t=(0,k.useContext)(gW);if(t){let{register:n,...r}=t;e=pg(r,e),n()}return pR(t,e.ref),e}(e),[v,y]=(0,k.useState)(!1),b=(0,k.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:w,removeAllGlobalListeners:x}=(t=(0,k.useRef)(new Map),n=(0,k.useCallback)((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,r,o)},[]),r=(0,k.useCallback)((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)},[]),o=(0,k.useCallback)(()=>{t.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]),(0,k.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}),E=pO((e,t)=>{let n=b.current;if(d||n.didFirePressStart)return!1;let r=!0;if(n.isTriggeringEvent=!0,s){let n=new g$("pressstart",t,e);s(n),r=n.shouldStopPropagation}return a&&a(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,y(!0),r}),T=pO((e,t,n=!0)=>{let r=b.current;if(!r.didFirePressStart)return!1;r.ignoreClickAfterPress=!0,r.didFirePressStart=!1,r.isTriggeringEvent=!0;let o=!0;if(l){let n=new g$("pressend",t,e);l(n),o=n.shouldStopPropagation}if(a&&a(!1),y(!1),i&&n&&!d){let n=new g$("press",t,e);i(n),o&&(o=n.shouldStopPropagation)}return r.isTriggeringEvent=!1,o}),C=pO((e,t)=>{let n=b.current;if(d)return!1;if(u){n.isTriggeringEvent=!0;let r=new g$("pressup",t,e);return u(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),P=pO(e=>{let t=b.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&T(gY(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,x(),m||g_(t.target))}),j=pO(e=>{p&&P(e)}),S=(0,k.useMemo)(()=>{let e=b.current,t={onKeyDown(t){if(gq(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;g1(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=E(t,"keyboard");let r=t.currentTarget;w(ph(t.currentTarget),"keyup",pf(t=>{gq(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&C(gY(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&pe()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!gH.isOpening){let n=!0;if(d&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||pT(t.nativeEvent))){d||f||pE(t.currentTarget);let e=E(t,"virtual"),r=C(t,"virtual"),o=T(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;
6if(e.isPressed&&e.target&&gq(t,e.target)){g1(t.target,t.key)&&t.preventDefault();let n=t.target;T(gY(e.target,t),"keyboard",e.target.contains(n)),x(),"Enter"!==t.key&&gG(e.target)&&e.target.contains(n)&&!t[gU]&&(t[gU]=!0,gH(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!pa()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}gQ(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||f||pE(t.currentTarget),m||gz(e.target),a=E(t,e.pointerType),w(ph(t.currentTarget),"pointermove",n,!1),w(ph(t.currentTarget),"pointerup",r,!1),w(ph(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(gQ(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&gJ(t,t.currentTarget)&&C(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&gJ(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,E(gY(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,T(gY(e.target,t),e.pointerType,!1),j(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(gJ(t,e.target)&&null!=e.pointerType?T(gY(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&T(gY(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,x(),m||g_(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&w(e.target,"touchend",o,{once:!0}))},o=e=>{g0(e.currentTarget)&&e.preventDefault()},i=e=>{P(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&P(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(gQ(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=pT(t.nativeEvent)?"virtual":"mouse",d||f||pE(t.currentTarget),E(t,e.pointerType)&&t.stopPropagation(),w(ph(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=E(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=T(t,e.pointerType,!1),j(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&C(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,x(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&gJ(t,e.target)&&null!=e.pointerType?T(gY(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&T(gY(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",d||f||pE(t.currentTarget),m||gz(e.target),E(gZ(e.target,t),e.pointerType)&&t.stopPropagation(),w(pv(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=gX(t.nativeEvent,e.activePointerId),r=!0;n&&gJ(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=E(gZ(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=T(gZ(e.target,t),e.pointerType,!1),j(gZ(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=gX(t.nativeEvent,e.activePointerId),r=!0;n&&gJ(n,t.currentTarget)&&null!=e.pointerType?(C(gZ(e.target,t),e.pointerType),r=T(gZ(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=T(gZ(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!m&&g_(e.target),x()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&P(gZ(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&P({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&P(e)}}return t},[w,d,f,x,m,P,j,T,E,C]);return(0,k.useEffect)(()=>()=>{var e;m||g_(null!==(e=b.current.target)&&void 0!==e?e:void 0)},[m]),{isPressed:c||v,pressProps:pg(h,S)}}({isDisabled:!l||d,onPress(){t.sort(s.key)},ref:n}),{focusableProps:f}=function(e,t){let{focusProps:n}
6=function(e){let t,n,{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e,s=(0,k.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0},[i,a]),l=(t=(0,k.useRef)({isFocused:!1,observer:null}),pl(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),n=pO(e=>{null==s||s(e)}),(0,k.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new pz("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])),u=(0,k.useCallback)(e=>{let t=ph(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(o&&o(e),a&&a(!0),l(e))},[a,o,l]);return{focusProps:{onFocus:!r&&(o||a||i)?u:void 0,onBlur:!r&&(i||a)?s:void 0}}}(e),{keyboardProps:r}={keyboardProps:e.isDisabled?{}:{onKeyDown:p_(e.onKeyDown),onKeyUp:p_(e.onKeyUp)}},o=pg(n,r),i=function(e){let t=(0,k.useContext)(pW)||{};pR(t,e);let{ref:n,...r}=t;return r}(t),a=e.isDisabled?{}:i,s=(0,k.useRef)(e.autoFocus);return(0,k.useEffect)(()=>{s.current&&t.current&&function(e){let t=ph(e);if("virtual"===pC){let n=t.activeElement;px(()=>{t.activeElement===n&&e.isConnected&&pE(e)})}else pE(e)}(t.current),s.current=!1},[t]),{focusableProps:pg({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}({},n),p=null,m=(null===(r=t.sortDescriptor)||void 0===r?void 0:r.column)===s.key,g=null===(o=t.sortDescriptor)||void 0===o?void 0:o.direction;s.props.allowsSorting&&!pa()&&(p=m?g:"none");let h=(0,e2.q)((i=f6)&&i.__esModule?i.default:i,"@react-aria/table");l&&(a=`${h.format("sortable")}`,m&&g&&pa()&&(a=`${a}, ${h.format(g)}`));let v=pc(a),y=0===t.collection.size;return(0,k.useEffect)(()=>{y&&t.selectionManager.focusedKey===s.key&&t.selectionManager.setFocusedKey(null)},[y,t.selectionManager,s.key]),{columnHeaderProps:{...pg(u,c,f,v,y&&{tabIndex:-1}),role:"columnheader",id:function(e,t){let n=f4.get(e);if(!n)throw Error("Unknown grid");return`${n}-${f3(t)}`}(t,s.key),"aria-colspan":s.colspan&&s.colspan>1?s.colspan:null,"aria-sort":p}}}var g5={};function g6(e){let{isSelected:t,disableAnimation:n,...r}=e;return(0,w.jsx)("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...r,children:(0,w.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!n&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function g8(e){let{isSelected:t,disableAnimation:n,...r}=e;return(0,w.jsx)("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...r,children:(0,w.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function g7(e){let{isIndeterminate:t,...n}=e;return(0,w.jsx)(t?g8:g6,{...n})}g5={"ar-AE":{deselectedItem:e=>`${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{64B}\u{627} \u{644}\u{644}\u{62F}\u{62E}\u{648}\u{644} \u{625}\u{644}\u{649} \u{648}\u{636}\u{639} \u{627}\u{644}\u{62A}\u{62D}\u{62F}\u{64A}\u{62F}.`,select:`\u{62A}\u{62D}\u{62F}\u{64A}\u{62F}`,selectedAll:`\u{62C}\u{645}\u{64A}\u{639} \u{627}\u{644}\u{639}\u{646}\u{627}\u{635}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}\u{629}.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{644}\u{645} \u{64A}\u{62A}\u{645} \u{62A}\u{62D}\u{62F}\u{64A}\u{62F} \u{639}\u{646}\u{627}\u{635}\u{631}`,one:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,other:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`})}.`,selectedItem:e=>`${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`},"bg-BG":{deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{438} \u{437}\u{430}\u{434}\u{440}\u{44A}\u{436}\u{442}\u{435} \u{437}\u{430} \u{434}\u{430} \u{432}\u{43B}\u{435}\u{437}\u{435}\u{442}\u{435} \u{432} \u{438}\u{437}\u{431}\u{438}\u{440}\u{430}\u{442}\u{435}\u{43B}\u{435}\u{43D} \u{440}\u{435}\u{436}\u{438}\u{43C}.`,select:`\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435}`,selectedAll:`\u{412}\u{441}\u{438}\u{447}\u{43A}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438} \u{441}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}.`,selectedCount:(e,t)=>
6`${t.plural(e.count,{"=0":`\u{41D}\u{44F}\u{43C}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`,one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,selectedItem:e=>`${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`},"cs-CZ":{deselectedItem:e=>`Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect:`Dlouh\xfdm stisknut\xedm p\u{159}ejdete do re\u{17E}imu v\xfdb\u{11B}ru.`,select:"Vybrat",selectedAll:`Vybr\xe1ny v\u{161}echny polo\u{17E}ky.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nevybr\xe1ny \u{17E}\xe1dn\xe9 polo\u{17E}ky`,one:()=>`Vybr\xe1na ${t.number(e.count)} polo\u{17E}ka`,other:()=>`Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`})}.`,selectedItem:e=>`Vybr\xe1na polo\u{17E}ka ${e.item}.`},"da-DK":{deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:`V\xe6lg`,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.`},"de-DE":{deselectedItem:e=>`${e.item} nicht ausgew\xe4hlt.`,longPressToSelect:`Gedr\xfcckt halten, um Auswahlmodus zu \xf6ffnen.`,select:`Ausw\xe4hlen`,selectedAll:`Alle Elemente ausgew\xe4hlt.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Keine Elemente ausgew\xe4hlt`,one:()=>`${t.number(e.count)} Element ausgew\xe4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\xe4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\xe4hlt.`},"el-GR":{deselectedItem:e=>`\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect:`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3BC}\u{3C0}\u{3B5}\u{3AF}\u{3C4}\u{3B5} \u{3C3}\u{3B5} \u{3BB}\u{3B5}\u{3B9}\u{3C4}\u{3BF}\u{3C5}\u{3C1}\u{3B3}\u{3AF}\u{3B1} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}\u{3C2}.`,select:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,selectedAll:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} \u{3CC}\u{3BB}\u{3B1} \u{3C4}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`,one:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,selectedItem:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`},"en-US":{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."},"es-ES":{deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:`Mantenga pulsado para abrir el modo de selecci\xf3n.`,select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Ning\xfan elemento seleccionado`,one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`},"et-EE":{deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:`Valikure\u{17E}iimi sisenemiseks vajutage pikalt.`,select:"Vali",selectedAll:`K\xf5ik \xfcksused valitud.`,selectedCount:(e,t)=>
6`${t.plural(e.count,{"=0":`\xdcksusi pole valitud`,one:()=>`${t.number(e.count)} \xfcksus valitud`,other:()=>`${t.number(e.count)} \xfcksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`},"fi-FI":{deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:`Siirry valintatilaan painamalla pitk\xe4\xe4n.`,select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Ei yht\xe4\xe4n kohdetta valittu`,one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`},"fr-FR":{deselectedItem:e=>`${e.item} non s\xe9lectionn\xe9.`,longPressToSelect:`Appuyez de mani\xe8re prolong\xe9e pour passer en mode de s\xe9lection.`,select:`S\xe9lectionner`,selectedAll:`Tous les \xe9l\xe9ments s\xe9lectionn\xe9s.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Aucun \xe9l\xe9ment s\xe9lectionn\xe9`,one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,selectedItem:e=>`${e.item} s\xe9lectionn\xe9.`},"he-IL":{deselectedItem:e=>`${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect:`\u{5D4}\u{5E7}\u{5E9}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5DC}\u{5DB}\u{5E0}\u{5D9}\u{5E1}\u{5D4} \u{5DC}\u{5DE}\u{5E6}\u{5D1} \u{5D1}\u{5D7}\u{5D9}\u{5E8}\u{5D4}.`,select:`\u{5D1}\u{5D7}\u{5E8}`,selectedAll:`\u{5DB}\u{5DC} \u{5D4}\u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD}`,one:()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,selectedItem:e=>`${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`},"hr-HR":{deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:`Dugo pritisnite za ulazak u na\u{10D}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.`},"hu-HU":{deselectedItem:e=>`${e.item} nincs kijel\xf6lve.`,longPressToSelect:`Nyomja hosszan a kijel\xf6l\xe9shez.`,select:`Kijel\xf6l\xe9s`,selectedAll:`Az \xf6sszes elem kijel\xf6lve.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Egy elem sincs kijel\xf6lve`,one:()=>`${t.number(e.count)} elem kijel\xf6lve`,other:()=>`${t.number(e.count)} elem kijel\xf6lve`})}.`,selectedItem:e=>`${e.item} kijel\xf6lve.`},"it-IT":{deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:`Premi a lungo per passare alla modalit\xe0 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.`},"ja-JP":{deselectedItem:e=>`${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect:`\u{9577}\u{62BC}\u{3057}\u{3057}\u{3066}\u{9078}\u{629E}\u{30E2}\u{30FC}\u{30C9}\u{3092}\u{958B}\u{304D}\u{307E}\u{3059}\u{3002}`,select:`\u{9078}\u{629E}`,selectedAll:`\u{3059}\u{3079}\u{3066}\u{306E}\u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{9805}\u{76EE}\u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}`,one:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,other:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`})}\u{3002}`,selectedItem:e=>`${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`},"ko-KR":{deselectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect:`\u{C120}\u{D0DD} \u{BAA8}\u{B4DC}\u{B85C} \u{B4E4}\u{C5B4}\u{AC00}\u{B824}\u{BA74} \u{AE38}\u{AC8C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,select:`\u{C120}\u{D0DD}`,selectedAll:`\u{BAA8}\u{B4E0} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}
6.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{C120}\u{D0DD}\u{B41C} \u{D56D}\u{BAA9}\u{C774} \u{C5C6}\u{C2B5}\u{B2C8}\u{B2E4}`,one:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`})}.`,selectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`},"lt-LT":{deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:`Nor\u{117}dami \u{12F}jungti pasirinkimo re\u{17E}im\u{105}, paspauskite ir palaikykite.`,select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nepasirinktas n\u{117} vienas elementas`,one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta element\u{173}: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`},"lv-LV":{deselectedItem:e=>`Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect:`Ilgi turiet nospiestu. lai iesl\u{113}gtu atlases re\u{17E}\u{12B}mu.`,select:`Atlas\u{12B}t`,selectedAll:`Atlas\u{12B}ti visi vienumi.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nav atlas\u{12B}ts neviens vienums`,one:()=>`Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\u{12B}ts vienums ${e.item}.`},"nb-NO":{deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:`Bruk et langt trykk for \xe5 g\xe5 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.`},"nl-NL":{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.`},"pl-PL":{deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:`Naci\u{15B}nij i przytrzymaj, aby wej\u{15B}\u{107} do trybu wyboru.`,select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nie zaznaczono \u{17C}adnych element\xf3w`,one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych element\xf3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`},"pt-BR":{deselectedItem:e=>`${e.item} n\xe3o selecionado.`,longPressToSelect:`Mantenha pressionado para entrar no modo de sele\xe7\xe3o.`,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.`},"pt-PT":{deselectedItem:e=>`${e.item} n\xe3o selecionado.`,longPressToSelect:`Prima continuamente para entrar no modo de sele\xe7\xe3o.`,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.`},"ro-RO":{deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:`Ap\u{103}sa\u{21B}i lung pentru a intra \xeen 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.`},"ru-RU":{deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{434}\u{43B}\u{44F} \u{432}\u{445}\u{43E}\u{434}\u{430} \u{432} \u{440}\u{435}\u{436}\u{438}\u{43C} \u{432}\u{44B}\u{431}\u{43E}\u{440}\u{430}.`,select:`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{442}\u{44C}`,selectedAll:`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{44B} \u{432}\u{441}\u{435} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{44B}.`,selectedCount:(e,t)=>
6`${t.plural(e.count,{"=0":`\u{41D}\u{435}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`,one:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,other:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`},"sk-SK":{deselectedItem:e=>`Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect:`Dlh\u{161}\xedm stla\u{10D}en\xedm prejdite do re\u{17E}imu v\xfdberu.`,select:`Vybra\u{165}`,selectedAll:`V\u{161}etky vybrat\xe9 polo\u{17E}ky.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{17D}iadne vybrat\xe9 polo\u{17E}ky`,one:()=>`${t.number(e.count)} vybrat\xe1 polo\u{17E}ka`,other:()=>`Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\xe9 polo\u{17E}ky: ${e.item}.`},"sl-SI":{deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:`Za izbirni na\u{10D}in pritisnite in dlje \u{10D}asa dr\u{17E}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.`},"sr-SP":{deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:`Dugo pritisnite za ulazak u re\u{17E}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.`},"sv-SE":{deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:`Tryck l\xe4nge n\xe4r du vill \xf6ppna v\xe4ljarl\xe4ge.`,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.`},"tr-TR":{deselectedItem:e=>`${e.item} se\xe7ilmedi.`,longPressToSelect:`Se\xe7im moduna girmek i\xe7in uzun bas\u{131}n.`,select:`Se\xe7`,selectedAll:`T\xfcm \xf6geler se\xe7ildi.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Hi\xe7bir \xf6ge se\xe7ilmedi`,one:()=>`${t.number(e.count)} \xf6ge se\xe7ildi`,other:()=>`${t.number(e.count)} \xf6ge se\xe7ildi`})}.`,selectedItem:e=>`${e.item} se\xe7ildi.`},"uk-UA":{deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`\u{412}\u{438}\u{43A}\u{43E}\u{43D}\u{430}\u{439}\u{442}\u{435} \u{434}\u{43E}\u{432}\u{433}\u{435} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{43D}\u{43D}\u{44F}, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{439}\u{442}\u{438} \u{432} \u{440}\u{435}\u{436}\u{438}\u{43C} \u{432}\u{438}\u{431}\u{43E}\u{440}\u{443}.`,select:`\u{412}\u{438}\u{431}\u{440}\u{430}\u{442}\u{438}`,selectedAll:`\u{423}\u{441}\u{456} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{416}\u{43E}\u{434}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,one:()=>`${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,other:()=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`},"zh-CN":{deselectedItem:e=>`\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect:`\u{957F}\u{6309}\u{4EE5}\u{8FDB}\u{5165}\u{9009}\u{62E9}\u{6A21}\u{5F0F}\u{3002}`,select:`\u{9009}\u{62E9}`,selectedAll:`\u{5DF2}\u{9009}\u{62E9}\u{6240}\u{6709}\u{9879}\u{76EE}\u{3002}`,selectedCount:(e,t)=>
6`${t.plural(e.count,{"=0":`\u{672A}\u{9009}\u{62E9}\u{9879}\u{76EE}`,one:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,other:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`},"zh-TW":{deselectedItem:e=>`\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect:`\u{9577}\u{6309}\u{4EE5}\u{9032}\u{5165}\u{9078}\u{64C7}\u{6A21}\u{5F0F}\u{3002}`,select:`\u{9078}\u{53D6}`,selectedAll:`\u{5DF2}\u{9078}\u{53D6}\u{6240}\u{6709}\u{9805}\u{76EE}\u{3002}`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`\u{672A}\u{9078}\u{53D6}\u{4EFB}\u{4F55}\u{9805}\u{76EE}`,one:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,other:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`}};var[g9,he]=(0,A.k)({name:"CheckboxGroupContext",strict:!1}),ht=(0,eD.tv)({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2 select-none",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...eK.ID],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2 rtl:ml-2 rtl:mr-[unset]","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2 rtl:ml-2 rtl:mr-[unset]","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2 rtl:ml-2 rtl:mr-[unset]","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1}});(0,eD.tv)({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",de
6scription:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1}});var hn=n(92309);function hr(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let ho=new Map;function hi(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=hr(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=ho.get(e);if(n)return n.forEach(e=>e(t)),t;let r=ho.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}let ha=new Set(["id"]),hs=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),hl=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),hu=/^(data-.*)$/,hd="undefined"!=typeof document?k.useLayoutEffect:()=>{};function hc(e){let t=(0,k.useRef)(null);return hd(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}let hf=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},hp=e=>e&&"window"in e&&e.window===e?e:hf(e).defaultView||window,hm=new Map,hg=new Set;function hh(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=hm.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),hm.delete(n.target)),0===hm.size)){for(let e of hg)e();hg.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=hm.get(n.target);r||(r=new Set,hm.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function hv(e){requestAnimationFrame(()=>{0===hm.size?e():hg.add(e)})}function hy(e){if(function(){if(null==hb){hb=!1;try{document.createElement("div").focus({get preventScroll(){return hb=!0,!0}})}catch(e){}}return hb}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?hh():document.addEventListener("DOMContentLoaded",hh));let hb=null;function hw(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function hx(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function hE(e){let t=null;return()=>(null==t&&(t=e()),t)}let hk=hE(function(){return hx(/^Mac/i)}),hT=hE(function(){return hx(/^iPhone/i)}),hC=hE(function(){return hx(/^iPad/i)||hk()&&navigator.maxTouchPoints>1}),hP=hE(function(){return hT()||hC()});hE(function(){return hk()||hP()});let hj=hE(function(){return hw(/AppleWebKit/i)&&!hS()}),hS=hE(function(){return hw(/Chrome/i)}),hL=hE(function(){return hw(/Android/i)}),hA=hE(function(){return hw(/Firefox/i)});function hM(e){return 0===e.mozInputSource&&!!e.isTrusted||(hL()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let hN=null,hD=new Set,hK=new Map,hB=!1,hI=!1;function hF(e,t){for(let n of hD)n(e,t)}function hR(e){hB=!0,e.metaKey||!hk()&&e.altKey||e.ctrlKey||"Control"
6===e.key||"Shift"===e.key||"Meta"===e.key||(hN="keyboard",hF("keyboard",e))}function hO(e){hN="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(hB=!0,hF("pointer",e))}function hz(e){hM(e)&&(hB=!0,hN="virtual")}function h_(e){e.target!==window&&e.target!==document&&(hB||hI||(hN="virtual",hF("virtual",e)),hB=!1,hI=!1)}function hW(){hB=!1,hI=!0}function hH(e){if("undefined"==typeof window||hK.get(hp(e)))return;let t=hp(e),n=hf(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){hB=!0,r.apply(this,arguments)},n.addEventListener("keydown",hR,!0),n.addEventListener("keyup",hR,!0),n.addEventListener("click",hz,!0),t.addEventListener("focus",h_,!0),t.addEventListener("blur",hW,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",hO,!0),n.addEventListener("pointermove",hO,!0),n.addEventListener("pointerup",hO,!0)):(n.addEventListener("mousedown",hO,!0),n.addEventListener("mousemove",hO,!0),n.addEventListener("mouseup",hO,!0)),t.addEventListener("beforeunload",()=>{hV(e)},{once:!0}),hK.set(t,{focus:r})}let hV=(e,t)=>{let n=hp(e),r=hf(e);t&&r.removeEventListener("DOMContentLoaded",t),hK.has(n)&&(n.HTMLElement.prototype.focus=hK.get(n).focus,r.removeEventListener("keydown",hR,!0),r.removeEventListener("keyup",hR,!0),r.removeEventListener("click",hz,!0),n.removeEventListener("focus",h_,!0),n.removeEventListener("blur",hW,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",hO,!0),r.removeEventListener("pointermove",hO,!0),r.removeEventListener("pointerup",hO,!0)):(r.removeEventListener("mousedown",hO,!0),r.removeEventListener("mousemove",hO,!0),r.removeEventListener("mouseup",hO,!0)),hK.delete(n))};function h$(e,t){hd(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}"undefined"!=typeof document&&function(e){let t;let n=hf(void 0);"loading"!==n.readyState?hH(void 0):(t=()=>{hH(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>hV(e,t)}();class hU{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function hG(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let hq=k.createContext(null),hX="default",hZ="",hY=new WeakMap;function hJ(e){if(hP()){if("default"===hX){let t=hf(e);hZ=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}hX="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(hY.set(e,e.style.userSelect),e.style.userSelect="none")}function hQ(e){if(hP())"disabled"===hX&&(hX="restoring",setTimeout(()=>{hv(()=>{if("restoring"===hX){let t=hf(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=hZ||""),hZ="",hX="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&hY.has(e)){let t=hY.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),hY.delete(e)}}let h0=k.createContext({register:()=>{}});function h1(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}=t;hA()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(hk()?i=!0:a=!0);let u=hj()&&hk()&&!hC()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});h1.isOpening=n,hy(e),e.dispatchEvent(u),h1.isOpening=!1}h0.displayName="PressResponderContext",h1.isOpening=!1;var h4=new WeakMap;class h3{continuePropagation(){(0,tb._)(this,h4,!1)}get shouldStopPropagation(){return(0,tv._)(this,h4)}constructor(e,t,n,r){var o;(0,ty._)(this,h4,{writable:!0,value:void 0}),(0,tb._)(this,h4,!0);let i=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),a&&(null!=u&&null!=d?(s=u-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let h2=Symbol("linkClicked");function h5(e){let t,n,r,o,{onPress:i,onPressChange:a,onPressStart:s,onPressEnd:l,onPressUp:u,isDisabled:d,isPressed:c,preventFocusOnPress:f,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:m,ref:g,...h}=function(e){let t=(0,k.useContext)(h0);if(t){let{register:n,...r}=t;e=hi(r,e),n()}return h$(t,e.ref),e}(e),[v,y]=(0,k.useState)(!1),b=(0,k.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:w,removeAllGlobalListeners:x}=(t=(0,k.useRef)(new Map),n=(0,k.useCallback)((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,r,o)},[]),r=(0,k.useCallback)((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)},[]),o=(0,k.useCallback)(()=>{t.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]),(0,k.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}),E=hc((e,t)=>{let n=b.current;if(d||n.didFirePressStart)return!1;let r=!0;if(n.isTriggeringEvent=!0,s){let n=new h3("pressstart",t,e);s(n),r=n.shouldStopPropagation}return a&&a(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,y(!0),r}),T=hc((e,t,n=!0)=>{let r=b.current;if(!r.didFirePressStart)return!1;r.ignoreClickAfterPress=!0,r.didFirePressStart=!1,r.isTriggeringEvent=!0;let o=!0;if(l){let n=new h3("pressend",t,e);l(n),o=n.shouldStopPropagation}if(a&&a(!1),y(!1),i&&n&&!d){let n=new h3("press",t,e);i(n),o&&(o=n.shouldStopPropagation)}return r.isTriggeringEvent=!1,o}),C=hc((e,t)=>{let n=b.current;if(d)return!1;if(u){n.isTriggeringEvent=!0;let r=new h3("pressup",t,e);return u(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),P=hc(e=>{let t=b.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&T(ve(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,x(),m||hQ(t.target))}),j=hc(e=>{p&&P(e)}),S=(0,k.useMemo)(()=>{let e=b.current,t={onKeyDown(t){if(h8(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;vo(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=E(t,"keyboard");let r=t.currentTarget;w(hf(t.currentTarget),"keyup",hr(t=>{h8(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&C(ve(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&hk()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!h1.isOpening){let n=!0;if(d&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||hM(t.nativeEvent))){d||f||hy(t.currentTarget);let e=E(t,"virtual"),r=C(t,"virtual"),o=T(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;
6if(e.isPressed&&e.target&&h8(t,e.target)){vo(t.target,t.key)&&t.preventDefault();let n=t.target;T(ve(e.target,t),"keyboard",e.target.contains(n)),x(),"Enter"!==t.key&&h6(e.target)&&e.target.contains(n)&&!t[h2]&&(t[h2]=!0,h1(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!hL()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}vn(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||f||hy(t.currentTarget),m||hJ(e.target),a=E(t,e.pointerType),w(hf(t.currentTarget),"pointermove",n,!1),w(hf(t.currentTarget),"pointerup",r,!1),w(hf(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(vn(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&vt(t,t.currentTarget)&&C(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&vt(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,E(ve(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,T(ve(e.target,t),e.pointerType,!1),j(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(vt(t,e.target)&&null!=e.pointerType?T(ve(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&T(ve(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,x(),m||hQ(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&w(e.target,"touchend",o,{once:!0}))},o=e=>{vr(e.currentTarget)&&e.preventDefault()},i=e=>{P(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&P(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(vn(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=hM(t.nativeEvent)?"virtual":"mouse",d||f||hy(t.currentTarget),E(t,e.pointerType)&&t.stopPropagation(),w(hf(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=E(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=T(t,e.pointerType,!1),j(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&C(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,x(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&vt(t,e.target)&&null!=e.pointerType?T(ve(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&T(ve(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",d||f||hy(t.currentTarget),m||hJ(e.target),E(h9(e.target,t),e.pointerType)&&t.stopPropagation(),w(hp(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=h7(t.nativeEvent,e.activePointerId),r=!0;n&&vt(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=E(h9(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=T(h9(e.target,t),e.pointerType,!1),j(h9(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=h7(t.nativeEvent,e.activePointerId),r=!0;n&&vt(n,t.currentTarget)&&null!=e.pointerType?(C(h9(e.target,t),e.pointerType),r=T(h9(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=T(h9(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!m&&hQ(e.target),x()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&P(h9(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&P({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&P(e)}}return t},[w,d,f,x,m,P,j,T,E,C]);return(0,k.useEffect)(()=>()=>{var e;m||hQ(null!==(e=b.current.target)&&void 0!==e?e:void 0)},[m]),{isPressed:c||v,pressProps:hi(h,S)}}function h6(e){return"A"===e.tagName&&e.hasAttribute("href")}function h8(e,t){let{key:n,code:r}=e,o=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof hp(t).HTMLInputElement&&!va(t,n)||t instanceof hp(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&h6(t))&&"Enter"!==n)}function h7(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function h9(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function ve(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function vt(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiu
6sY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function vn(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function vr(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!h6(e))}function vo(e,t){return e instanceof HTMLInputElement?!va(e,t):vr(e)}let vi=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function va(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:vi.has(e.type)}function vs(e,t,n){let r=sa({...e,value:t.isSelected}),{isInvalid:o,validationErrors:i,validationDetails:a}=r.displayValidation,{labelProps:s,inputProps:l,isSelected:u,isPressed:d,isDisabled:c,isReadOnly:f}=function(e,t,n){var r,o;let i,a,{isDisabled:s=!1,isReadOnly:l=!1,value:u,name:d,children:c,"aria-label":f,"aria-labelledby":p,validationState:m="valid",isInvalid:g}=e;null!=c||null!=f||null!=p||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:h,isPressed:v}=h5({isDisabled:s}),{pressProps:y,isPressed:b}=h5({isDisabled:s||l,onPress(){t.toggle()}}),{focusableProps:w}=function(e,t){let{focusProps:n}=function(e){let t,n,{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e,s=(0,k.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0},[i,a]),l=(t=(0,k.useRef)({isFocused:!1,observer:null}),hd(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),n=hc(e=>{null==s||s(e)}),(0,k.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new hU("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])),u=(0,k.useCallback)(e=>{let t=hf(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(o&&o(e),a&&a(!0),l(e))},[a,o,l]);return{focusProps:{onFocus:!r&&(o||a||i)?u:void 0,onBlur:!r&&(i||a)?s:void 0}}}(e),{keyboardProps:r}={keyboardProps:e.isDisabled?{}:{onKeyDown:hG(e.onKeyDown),onKeyUp:hG(e.onKeyUp)}},o=hi(n,r),i=function(e){let t=(0,k.useContext)(hq)||{};h$(t,e);let{ref:n,...r}=t;return r}(t),a=e.isDisabled?{}:i,s=(0,k.useRef)(e.autoFocus);return(0,k.useEffect)(()=>{s.current&&t.current&&function(e){let t=hf(e);if("virtual"===hN){let n=t.activeElement;hv(()=>{t.activeElement===n&&e.isConnected&&hy(e)})}else hy(e)}(t.current),s.current=!1},[t]),{focusableProps:hi({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}(e,n),x=hi(h,w),E=function(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(ha.has(t)||n&&hs.has(t)||r&&hl.has(t)||(null==o?void 0:o.has(t))||hu.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0});return r=t.isSelected,o=t.setSelected,i=(0,k.useRef)(r),a=hc(()=>{o&&o(i.current)}),(0,k.useEffect)(()=>{var e;let t=null==n?void 0:null===(e=n.current)||void 0===e?void 0:e.form;return null==t||t.addEventListener("reset",a),()=>{null==t||t.removeEventListener("reset",a)}},[n,a]),{labelProps:hi(y,{onClick:e=>e.preventDefault()}),inputProps:hi(E,{"aria-invalid":g||"invalid"===m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":l||void 0,onChange:e=>{e.stopPropagation(),t.setSelected(e.target.checked)},disabled:s,...null==u?{}:{value:u},name:d,type:"checkbox",...x}),isSelected:t.isSelected,isPressed:v||b,isDisabled:s,isReadOnly:l,isInvalid:g||"invalid"===m}}({...e,isInvalid:o},t,n);se(e,r,n);let{isIndeterminate:p,isRequired:m,validationBehavior:g="aria"}=e;return(0,k.useEffect)(()=>{n.current&&(n.current.indeterminate=!!p)}),{labelProps:s,inputProps:{...l,checked:u,"aria-required":m&&"aria"===g||void 0,required:m&&"native"===g},isSelected:u,isPressed:d,isDisabled:c,isReadOnly:f,isInvalid:o,validationErrors:i,validationDetail
6s:a}}let vl=new WeakMap;"undefined"!=typeof window&&window.document&&window.document.createElement;let vu=new Map,vd="undefined"!=typeof document?k.useLayoutEffect:()=>{};class vc{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}let vf={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 vp(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...i}=e,{visuallyHiddenProps:a}=function(e={}){let{style:t,isFocusable:n}=e,[r,o]=(0,k.useState)(!1),{focusWithinProps:i}=function(e){let t,n,{isDisabled:r,onBlurWithin:o,onFocusWithin:i,onFocusWithinChange:a}=e,s=(0,k.useRef)({isFocusWithin:!1}),l=(0,k.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,o&&o(e),a&&a(!1))},[o,a,s]),u=(t=(0,k.useRef)({isFocused:!1,observer:null}),vd(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),n=function(e){let t=(0,k.useRef)(null);return vd(()=>{t.current=e},[e]),(0,k.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(e=>{null==l||l(e)}),(0,k.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new vc("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])),d=(0,k.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(i&&i(e),a&&a(!0),s.current.isFocusWithin=!0,u(e))},[i,a,u]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}({isDisabled:!n,onFocusWithinChange:e=>o(e)}),a=(0,k.useMemo)(()=>r?t:t?{...vf,...t}:vf,[r]);return{visuallyHiddenProps:{...i,style:a}}}(e);return k.createElement(n,function(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,tx.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=vu.get(e);if(n)return n.forEach(e=>e(t)),t;let r=vu.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}(i,a),t)}var vm=(0,K.Gp)((e,t)=>{let{Component:n,children:r,icon:o=(0,w.jsx)(g7,{}),getBaseProps:i,getWrapperProps:a,getInputProps:s,getIconProps:l,getLabelProps:u}=function(e={}){var t,n,r,o,i,a,s,l;let u=(0,eN.w)(),d=he(),c=!!d,{as:f,ref:p,value:m="",children:g,icon:h,name:v,isRequired:y,isReadOnly:b=!1,autoFocus:w=!1,isSelected:x,size:E=null!=(t=null==d?void 0:d.size)?t:"md",color:T=null!=(n=null==d?void 0:d.color)?n:"primary",radius:C=null==d?void 0:d.radius,lineThrough:P=null!=(r=null==d?void 0:d.lineThrough)&&r,isDisabled:j=null!=(o=null==d?void 0:d.isDisabled)&&o,disableAnimation:S=null!=(a=null!=(i=null==d?void 0:d.disableAnimation)?i:null==u?void 0:u.disableAnimation)&&a,validationState:L,isInvalid:A=L?"invali
6d"===L:null!=(s=null==d?void 0:d.isInvalid)&&s,isIndeterminate:M=!1,validationBehavior:N=null!=(l=null==d?void 0:d.validationBehavior)?l:"aria",defaultSelected:D,classNames:K,className:B,onValueChange:R,...O}=e;d&&F.Ts&&(x&&i6("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),D&&i6("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));let z=(0,k.useRef)(null),_=(0,k.useRef)(null),H=e.onChange;c&&(H=(0,eW.t)(()=>{d.groupState.resetValidation()},H));let V=(0,k.useId)(),$=(0,k.useMemo)(()=>({name:v,value:m,children:g,autoFocus:w,defaultSelected:D,validationBehavior:N,isIndeterminate:M,isRequired:y,isInvalid:A,isSelected:x,isDisabled:j,isReadOnly:b,"aria-label":(0,i3.x)(O["aria-label"],g),"aria-labelledby":O["aria-labelledby"]||V,onChange:R}),[m,v,V,g,w,A,M,j,b,x,D,N,O["aria-label"],O["aria-labelledby"],R]),U=e$($),{inputProps:G,isSelected:q,isDisabled:X,isReadOnly:Z,isPressed:Y}=c?function(e,t,n){var r,o;let i=function(e={}){let{isReadOnly:t}=e,[n,r]=(0,eV.z)(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:n,setSelected:function(e){t||r(e)},toggle:function(){t||r(!n)}}}({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(n){n?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(n)}}),{name:a,descriptionId:s,errorMessageId:l,validationBehavior:u}=vl.get(t);u=null!==(r=e.validationBehavior)&&void 0!==r?r:u;let{realtimeValidation:d}=sa({...e,value:i.isSelected,name:void 0,validationBehavior:"aria"}),c=(0,k.useRef)(sr),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};(0,k.useEffect)(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,m="native"===u?t.displayValidation:p,g=vs({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||a,isRequired:null!==(o=e.isRequired)&&void 0!==o?o:t.isRequired,validationBehavior:u,[si]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(e){c.current=e,f()}}},i,n);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?l:null,s].filter(Boolean).join(" ")||void 0}}}({...$},d.groupState,_):vs({...$},U,_),J=X||Z,[Q,ee]=(0,k.useState)(!1),{pressProps:et}=(0,oT.r)({isDisabled:J,onPressStart(e){"keyboard"!==e.pointerType&&ee(!0)},onPressEnd(e){"keyboard"!==e.pointerType&&ee(!1)}}),en=!J&&(Q||Y),{hoverProps:er,isHovered:eo}=(0,eG.X)({isDisabled:G.disabled}),{focusProps:ei,isFocused:ea,isFocusVisible:es}=(0,eU.F)({autoFocus:G.autoFocus}),el=(0,k.useMemo)(()=>ht({color:T,size:E,radius:C,isInvalid:A,lineThrough:P,isDisabled:X,disableAnimation:S}),[T,E,C,A,P,X,S]);(0,nv.G)(()=>{if(!_.current)return;let e=!!_.current.checked;U.setSelected(e)},[_.current]);let eu=(0,hn.W)(H),ed=(0,k.useCallback)(e=>{if(Z||X){e.preventDefault();return}null==eu||eu(e)},[Z,X,eu]),ec=(0,I.W)(null==K?void 0:K.base,B),ef=(0,k.useCallback)(()=>({ref:z,className:el.base({class:ec}),"data-disabled":(0,F.PB)(X),"data-selected":(0,F.PB)(q||M),"data-invalid":(0,F.PB)(A),"data-hover":(0,F.PB)(eo),"data-focus":(0,F.PB)(ea),"data-pressed":(0,F.PB)(en),"data-readonly":(0,F.PB)(G.readOnly),"data-focus-visible":(0,F.PB)(es),"data-indeterminate":(0,F.PB)(M),...(0,W.d)(er,et,O)}),[el,ec,X,q,M,A,eo,ea,en,G.readOnly,es,er,et,O]),ep=(0,k.useCallback)((e={})=>({...e,"aria-hidden":!0,className:(0,I.W)(el.wrapper({class:(0,I.W)(null==K?void 0:K.wrapper,null==e?void 0:e.className)}))}),[el,null==K?void 0:K.wrapper]),em=(0,k.useCallback)(()=>({ref:tG(_,p),...(0,W.d)(G,ei),onChange:(0,eW.t)(G.onChange,ed)}),[G,ei,ed]),eg=(0,k.useCallback)(()=>({id:V,className:el.label({class:null==K?void 0:K.label})}),[el,null==K?void 0:K.label,X,q,A]),eh=(0,k.useCallback)(()=>({isSelected:q,isIndeterminate:M,disableAnimation:S,className:el.icon({class:null==K?void 0:K.icon})}),[el,null==K?void 0:K.icon,q,M,S]);return{Component:f||"label",icon:h,children:g,isSelected:q,isDisabled:X,isInvalid:A,isFocused:ea,isHovered:eo,isFocusVisible:es,getBaseProps:ef,getWrapperProps:ep,getInputProps:em,getLabelProps:eg,getIconProps:eh}}({...e,ref:t}),d="function"==typeof o?o(l()):(0,k.cloneElement)(o,l());return(0,w.jsxs)(n,{...i(),children:[(0,w.jsx)(vp,{elementType:"span",children:(0,w.jsx)("input",{...s()})}),(0,w.jsx)("span",{...a(),children:d}),r&&(0,w.jsx)("span",{...u(),children:r})]})});vm.displayName="NextUI.Checkbox";var vg=(0,K.Gp)((e,t)=>{var n,r;let{as:o,className:i,node:a,slots:s,state:l,selectionMode:u,color:d,checkboxesProps:c,disableAnimation:f,classNames:p,...m}=e,g=o||"th",h="string"==typeof g,v=(0,B.gy)(t),{columnHeaderProps:y}=g2({node:a},l,v),{isFocusVisible:b,focusProps:x}=(0,eU.F)(),{checkboxProps:E}=function(e){var t;let{isEmpty:n,isSelectAll:r,selectionMode:o}=e.selectionManager;return{checkboxProps:{"aria-label":(0,e2.q)((t=f6)&&t.__esModule?t.default:t,"@react-aria/table").format("single"===o?"select":"selectAll"),isSelected:r,isDisabled:"multiple"!==o||0===e.collection.size,isIndeterminate:!n&&!r,onChange:()=>e.selectionManager.toggleSelectAll()}}}(l),k=(0,I.W)(null==p?void 0:p.th,i,null==(n=a.props)?void 0:n.className),{onChange:T,...C}=E;return(0,w.jsx)(g,{ref:v,"data-focus-visible":(0,F.PB)(b),...(0,W.d)(y,x,(0,iy.z)(a.props,{enabled:h}),(0,iy.z)(m,{enabled:h})),className:null==(r=s.th)?void 0:r.call(s,{class:k}),children:"single"===u?(0,w.jsx)(vp,{children:E["aria-label"]}):(0,w.jsx)(vm,{color:d,disableAnimation:f,onValueChange:T,...(0,W.d)(c,C)})})});
6vg.displayName="NextUI.TableSelectAllCheckbox";class vh{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){var e;return null===(e=[...this.rows][0])||void 0===e?void 0:e.key}getLastKey(){var e;let t=[...this.rows];return null===(e=t[t.length-1])||void 0===e?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){let t;this.keyMap=new Map,this.keyMap=new Map,this.columnCount=null==e?void 0:e.columnCount,this.rows=[];let n=t=>{let o,i=this.keyMap.get(t.key);e.visitNode&&(t=e.visitNode(t)),this.keyMap.set(t.key,t);let a=new Set;for(let e of t.childNodes)"cell"===e.type&&null==e.parentKey&&(e.parentKey=t.key),a.add(e.key),o?(o.nextKey=e.key,e.prevKey=o.key):e.prevKey=null,n(e),o=e;if(o&&(o.nextKey=null),i)for(let e of i.childNodes)a.has(e.key)||r(e)},r=e=>{for(let t of(this.keyMap.delete(e.key),e.childNodes))this.keyMap.get(t.key)===t&&r(t)};e.items.forEach((e,r)=>{let o={level:0,key:"row-"+r,type:"row",value:void 0,hasChildNodes:!0,childNodes:[...e.childNodes],rendered:void 0,textValue:void 0,...e};t?(t.nextKey=o.key,o.prevKey=t.key):o.prevKey=null,this.rows.push(o),n(o),t=o}),t&&(t.nextKey=null)}}let vv="row-header-column-"+Math.random().toString(36).slice(2),vy="row-header-column-"+Math.random().toString(36).slice(2);for(;vv===vy;)vy="row-header-column-"+Math.random().toString(36).slice(2);class vb extends vh{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){var e;return null===(e=iS(this.body.childNodes))||void 0===e?void 0:e.key}getLastKey(){var e;return null===(e=iA(this.body.childNodes))||void 0===e?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys;if(n){let e=[];for(let r of t.childNodes){let t=this.columns[r.index];if(n.has(t.key)&&r.textValue&&e.push(r.textValue),e.length===n.size)break}return e.join(" ")}return""}constructor(e,t,n){let r,o=new Set,i=[];if(null==n?void 0:n.showSelectionCheckboxes){let e={type:"column",key:vv,value:null,textValue:"",level:0,index:(null==n?void 0:n.showDragButtons)?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(e)}if(null==n?void 0:n.showDragButtons){let e={type:"column",key:vy,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(e)}let a=[],s=new Map,l=e=>{switch(e.type){case"body":r=e;break;case"column":s.set(e.key,e),!e.hasChildNodes&&(i.push(e),e.props.isRowHeader&&o.add(e.key));break;case"item":a.push(e);return}for(let t of e.childNodes)l(t)};for(let t of e)l(t);let u=function(e,t){if(0===t.length)return[];let n=[],r=new Map;for(let o of t){let t=o.parentKey,i=[o];for(;t;){let n=e.get(t);if(!n)break;if(r.has(n)){n.colspan++;let{column:e,index:t}=r.get(n);if(t>i.length)break;for(let n=t;n<i.length;n++)e.splice(n,0,null);for(let t=i.length;t<e.length;t++)e[t]&&r.has(e[t])&&(r.get(e[t]).index=t)}else n.colspan=1,i.push(n),r.set(n,{column:i,index:i.length-1});t=n.parentKey}n.push(i),o.index=n.length-1}let o=Math.max(...n.map(e=>e.length)),i=Array(o).fill(0).map(()=>[]),a=0;for(let e of n){let t=o-1;for(let n of e){if(n){let e=i[t],r=e.reduce((e,t)=>e+t.colspan,0);if(r<a){let o={type:"placeholder",key:"placeholder-"+n.key,colspan:a-r,index:r,value:null,rendered:null,level:t,hasChildNodes:!1,childNodes:[],textValue:null};e.length>0&&(e[e.length-1].nextKey=o.key,o.prevKey=e[e.length-1].key),e.push(o)}e.length>0&&(e[e.length-1].nextKey=n.key,n.prevKey=e[e.length-1].key),n.level=t,n.colIndex=a,e.push(n)}t--}a++}let s=0;for(let e of i){let n=e.reduce((e,t)=>
6e+t.colspan,0);if(n<t.length){let r={type:"placeholder",key:"placeholder-"+e[e.length-1].key,colspan:t.length-n,index:n,value:null,rendered:null,level:s,hasChildNodes:!1,childNodes:[],textValue:null,prevKey:e[e.length-1].key};e.push(r)}s++}return i.map((e,t)=>({type:"headerrow",key:"headerrow-"+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:null}))}(s,i);u.forEach((e,t)=>a.splice(t,0,e)),super({columnCount:i.length,items:a,visitNode:e=>(e.column=i[e.index],e)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=o,this.body=r,this.headerRows=u,this._size=[...r.childNodes].length,0===this.rowHeaderColumnKeys.size&&this.rowHeaderColumnKeys.add(this.columns.find(e=>{var t,n;return!(null===(t=e.props)||void 0===t?void 0:t.isDragButtonCell)&&!(null===(n=e.props)||void 0===n?void 0:n.isSelectionCell)}).key)}}let vw={ascending:"descending",descending:"ascending"};class vx{getItemRect(e){let t=this.ref.current,n=null!=e?t.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null;if(!n)return null;let r=t.getBoundingClientRect(),o=n.getBoundingClientRect();return{x:o.left-r.left+t.scrollLeft,y:o.top-r.top+t.scrollTop,width:o.width,height:o.height}}getContentSize(){let e=this.ref.current;return{width:e.scrollWidth,height:e.scrollHeight}}getVisibleRect(){let e=this.ref.current;return{x:e.scrollLeft,y:e.scrollTop,width:e.offsetWidth,height:e.offsetHeight}}constructor(e){this.ref=e}}class vE{isCell(e){return"cell"===e.type}isRow(e){return"row"===e.type||"item"===e.type}isDisabled(e){var t;return"all"===this.disabledBehavior&&((null===(t=e.props)||void 0===t?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findPreviousKey(e,t){let n=null!=e?this.collection.getKeyBefore(e):this.collection.getLastKey();for(;null!=n;){let e=this.collection.getItem(n);if(!this.isDisabled(e)&&(!t||t(e)))return n;n=this.collection.getKeyBefore(n)}}findNextKey(e,t){let n=null!=e?this.collection.getKeyAfter(e):this.collection.getFirstKey();for(;null!=n;){let e=this.collection.getItem(n);if(!this.isDisabled(e)&&(!t||t(e)))return n;n=this.collection.getKeyAfter(n)}}getKeyBelow(e){let t=this.collection.getItem(e);if(t&&(this.isCell(t)&&(e=t.parentKey),null!=(e=this.findNextKey(e,e=>"item"===e.type)))){if(this.isCell(t))return iL(ij(this.collection.getItem(e),this.collection),t.index).key;if("row"===this.focusMode)return e}}getKeyAbove(e){let t=this.collection.getItem(e);if(t&&(this.isCell(t)&&(e=t.parentKey),null!=(e=this.findPreviousKey(e,e=>"item"===e.type)))){if(this.isCell(t))return iL(ij(this.collection.getItem(e),this.collection),t.index).key;if("row"===this.focusMode)return e}}getKeyRightOf(e){let t=this.collection.getItem(e);if(t){if(this.isRow(t)){let e=ij(t,this.collection);return"rtl"===this.direction?iA(e).key:iS(e).key}if(this.isCell(t)){let n=ij(this.collection.getItem(t.parentKey),this.collection),r="rtl"===this.direction?iL(n,t.index-1):iL(n,t.index+1);return r?r.key:"row"===this.focusMode?t.parentKey:"rtl"===this.direction?this.getFirstKey(e):this.getLastKey(e)}}}getKeyLeftOf(e){let t=this.collection.getItem(e);if(t){if(this.isRow(t)){let e=ij(t,this.collection);return"rtl"===this.direction?iS(e).key:iA(e).key}if(this.isCell(t)){let n=ij(this.collection.getItem(t.parentKey),this.collection),r="rtl"===this.direction?iL(n,t.index+1):iL(n,t.index-1);return r?r.key:"row"===this.focusMode?t.parentKey:"rtl"===this.direction?this.getLastKey(e):this.getFirstKey(e)}}}getFirstKey(e,t){let n;if(null!=e){if(!(n=this.collection.getItem(e)))return;if(this.isCell(n)&&!t)return iS(ij(this.collection.getItem(n.parentKey),this.collection)).key}return(null!=(e=this.findNextKey(null,e=>"item"===e.type))&&n&&this.isCell(n)&&t||"cell"===this.focusMode)&&(e=iS(ij(this.collection.getItem(e),this.collection)).key),e}getLastKey(e,t){let n;if(null!=e){if(!(n=this.collection.getItem(e)))return;if(this.isCell(n)&&!t)return iA(ij(this.collection.getItem(n.parentKey),this.collection)).key}return(null!=(e=this.findPreviousKey(null,e=>"item"===e.type))&&n&&this.isCell(n)&&t||"cell"===this.focusMode)&&(e=iA(ij(this.collection.getItem(e),this.collection)).key),e}getKeyPageAbove(e){let t=this.layoutDelegate.getItemRect(e);
6if(!t)return null;let n=Math.max(0,t.y+t.height-this.layoutDelegate.getVisibleRect().height);for(;t&&t.y>n;)e=this.getKeyAbove(e),t=this.layoutDelegate.getItemRect(e);return e}getKeyPageBelow(e){let t=this.layoutDelegate.getItemRect(e);if(!t)return null;let n=this.layoutDelegate.getVisibleRect().height,r=Math.min(this.layoutDelegate.getContentSize().height,t.y+n);for(;t&&t.y+t.height<r;){let n=this.getKeyBelow(e);if(null==n)break;t=this.layoutDelegate.getItemRect(n),e=n}return e}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=null!=t?t:this.getFirstKey(),o=n.getItem(r);"cell"===o.type&&(r=o.parentKey);let i=!1;for(;null!=r;){let t=n.getItem(r);if(t.textValue){let n=t.textValue.slice(0,e.length);if(0===this.collator.compare(n,e)){if(this.isRow(t)&&"cell"===this.focusMode)return iS(ij(t,this.collection)).key;return t.key}}null!=(r=this.findNextKey(r,e=>"item"===e.type))||i||(r=this.getFirstKey(),i=!0)}return null}constructor(e){this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||"all",this.direction=e.direction,this.collator=e.collator,this.layoutDelegate=e.layoutDelegate||(e.layout?new vk(e.layout):new vx(e.ref)),this.focusMode=e.focusMode||"row"}}class vk{getContentSize(){return this.layout.getContentSize()}getItemRect(e){var t;return(null===(t=this.layout.getLayoutInfo(e))||void 0===t?void 0:t.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(e){this.layout=e}}class vT extends vE{isCell(e){return"cell"===e.type||"rowheader"===e.type||"column"===e.type}getKeyBelow(e){let t=this.collection.getItem(e);if(t){if("column"===t.type){let e=iS(ij(t,this.collection));if(e)return e.key;let n=this.getFirstKey();if(null==n)return;return iL(ij(this.collection.getItem(n),this.collection),t.index).key}return super.getKeyBelow(e)}}getKeyAbove(e){let t=this.collection.getItem(e);if(!t)return;if("column"===t.type){let e=this.collection.getItem(t.parentKey);return e&&"column"===e.type?e.key:void 0}let n=super.getKeyAbove(e);return null!=n&&"headerrow"!==this.collection.getItem(n).type?n:this.isCell(t)?this.collection.columns[t.index].key:this.collection.columns[0].key}findNextColumnKey(e){let t=this.findNextKey(e.key,e=>"column"===e.type);if(null!=t)return t;for(let t of ij(this.collection.headerRows[e.level],this.collection))if("column"===t.type)return t.key}findPreviousColumnKey(e){let t=this.findPreviousKey(e.key,e=>"column"===e.type);if(null!=t)return t;let n=[...ij(this.collection.headerRows[e.level],this.collection)];for(let e=n.length-1;e>=0;e--){let t=n[e];if("column"===t.type)return t.key}}getKeyRightOf(e){let t=this.collection.getItem(e);if(t)return"column"===t.type?"rtl"===this.direction?this.findPreviousColumnKey(t):this.findNextColumnKey(t):super.getKeyRightOf(e)}getKeyLeftOf(e){let t=this.collection.getItem(e);if(t)return"column"===t.type?"rtl"===this.direction?this.findNextColumnKey(t):this.findPreviousColumnKey(t):super.getKeyLeftOf(e)}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=null!=t?t:this.getFirstKey();if(null==r)return null;let o=n.getItem(r);"cell"===o.type&&(r=o.parentKey);let i=!1;for(;null!=r;){let a=n.getItem(r);for(let r of ij(a,this.collection)){let i=n.columns[r.index];if(n.rowHeaderColumnKeys.has(i.key)&&r.textValue){let i=r.textValue.slice(0,e.length);if(0===this.collator.compare(i,e))return"cell"===(null!=t?n.getItem(t):o).type?r.key:a.key}}null!=(r=this.getKeyBelow(r))||i||(r=this.getFirstKey(),i=!0)}return null}}let vC=null;function vP(e,t="assertive",n=7e3){vC?vC.announce(e,t,n):(vC=new vj,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)?vC.announce(e,t,n):setTimeout(()=>{(null==vC?void 0:vC.isAttached())&&(null==vC||vC.announce(e,t,n))},100))}class vj{isAttached(){var e;return null===(e=this.node)||void 0===e?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){var r,o;
6if(!this.node)return;let i=document.createElement("div");"object"==typeof e?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",e["aria-labelledby"])):i.textContent=e,"assertive"===t?null===(r=this.assertiveLog)||void 0===r||r.appendChild(i):null===(o=this.politeLog)||void 0===o||o.appendChild(i),""!==e&&setTimeout(()=>{i.remove()},n)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"undefined"!=typeof document&&(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))}}function vS(e,t){let n=new Set;if("all"===e||"all"===t)return n;for(let r of e.keys())t.has(r)||n.add(r);return n}let vL=0,vA=new Map,vM=new Set(["id"]),vN=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),vD=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),vK=/^(data-.*)$/,vB=["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]"],vI=vB.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";vB.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let vF=vB.join(':not([hidden]):not([tabindex="-1"]),');class vR{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new vO({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&function(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new vR;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new vO({scopeRef:null}),this.fastMap.set(null,this.root)}}class vO{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}function vz(e,t,n,r){let o=gm(n),i=null==n;(0,k.useEffect)(()=>{if(i||!e.current)return;let n=e.current;return n.addEventListener(t,o,r),()=>{n.removeEventListener(t,o,r)}},[e,t,r,i,o])}function v_(e,t){let n=vW(e,t,"left"),r=vW(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),c=e.scrollTop+parseInt(l,10),f=d+e.clientWidth,p=c+e.clientHeight;n<=a?a=n-parseInt(u,10):n+o>f&&(a+=n+o-f),r<=c?s=r-parseInt(l,10):r+i>p&&(s+=r+i-p),e.scrollLeft=a,e.scrollTop=s}function vW(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function vH(e,t){if(document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)(function(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r})(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))v_(t,e);else{var n,r,o,i;let{left:a,top:s}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();(Math.abs(a-l)>1||Math.abs(s-u)>1)&&(null==t||null===(o=t.containingElement)||void 0===o||null===(r=o.scrollIntoView)||void 0===r||r.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"}))}}}
6new vR;var vV=(0,eD.tv)({slots:{base:"flex flex-col relative gap-4",wrapper:["p-4","z-0","flex","flex-col","relative","justify-between","gap-4","shadow-small","bg-content1","overflow-auto"],table:"min-w-full h-auto",thead:"[&>tr]:first:rounded-lg",tbody:"",tr:["group","outline-none",...eK.Dh],th:["group","px-3","h-10","text-start","align-middle","bg-default-100","whitespace-nowrap","text-foreground-500","text-tiny","font-semibold","first:rounded-s-lg","last:rounded-e-lg","outline-none","data-[sortable=true]:cursor-pointer","data-[hover=true]:text-foreground-400",...eK.Dh],td:["py-2","px-3","relative","align-middle","whitespace-normal","text-small","font-normal","outline-none","[&>*]:z-1","[&>*]:relative",...eK.Dh,"before:content-['']","before:absolute","before:z-0","before:inset-0","before:opacity-0","data-[selected=true]:before:opacity-100","group-data-[disabled=true]:text-foreground-300","group-data-[disabled=true]:cursor-not-allowed"],tfoot:"",sortIcon:["ms-2","mb-px","opacity-0","text-inherit","inline-block","transition-transform-opacity","data-[visible=true]:opacity-100","group-data-[hover=true]:opacity-100","data-[direction=ascending]:rotate-180"],emptyWrapper:"text-foreground-400 align-middle text-center h-40",loadingWrapper:"absolute inset-0 flex items-center justify-center"},variants:{color:{default:{td:"before:bg-default/60 data-[selected=true]:text-default-foreground"},primary:{td:"before:bg-primary/20 data-[selected=true]:text-primary"},secondary:{td:"before:bg-secondary/20 data-[selected=true]:text-secondary"},success:{td:"before:bg-success/20 data-[selected=true]:text-success-600 dark:data-[selected=true]:text-success"},warning:{td:"before:bg-warning/20 data-[selected=true]:text-warning-600 dark:data-[selected=true]:text-warning"},danger:{td:"before:bg-danger/20 data-[selected=true]:text-danger dark:data-[selected=true]:text-danger-500"}},layout:{auto:{table:"table-auto"},fixed:{table:"table-fixed"}},radius:{none:{wrapper:"rounded-none"},sm:{wrapper:"rounded-small"},md:{wrapper:"rounded-medium"},lg:{wrapper:"rounded-large"}},shadow:{none:{wrapper:"shadow-none"},sm:{wrapper:"shadow-small"},md:{wrapper:"shadow-medium"},lg:{wrapper:"shadow-large"}},hideHeader:{true:{thead:"hidden"}},isStriped:{true:{td:["group-data-[odd=true]:before:bg-default-100","group-data-[odd=true]:before:opacity-100","group-data-[odd=true]:before:-z-10"]}},isCompact:{true:{td:"py-1"},false:{}},isHeaderSticky:{true:{thead:"sticky top-0 z-20 [&>tr]:first:shadow-small"}},isSelectable:{true:{tr:"cursor-default",td:["group-aria-[selected=false]:group-data-[hover=true]:before:bg-default-100","group-aria-[selected=false]:group-data-[hover=true]:before:opacity-70"]}},isMultiSelectable:{true:{td:["group-data-[first=true]:first:before:rounded-ts-lg","group-data-[first=true]:last:before:rounded-te-lg","group-data-[middle=true]:before:rounded-none","group-data-[last=true]:first:before:rounded-bs-lg","group-data-[last=true]:last:before:rounded-be-lg"]},false:{td:["first:before:rounded-s-lg","last:before:rounded-e-lg"]}},fullWidth:{true:{base:"w-full",wrapper:"w-full",table:"w-full"}},align:{start:{th:"text-start",td:"text-start"},center:{th:"text-center",td:"text-center"},end:{th:"text-end",td:"text-end"}}}
6,defaultVariants:{layout:"auto",shadow:"sm",radius:"lg",color:"default",isCompact:!1,hideHeader:!1,isStriped:!1,fullWidth:!0,align:"start"},compoundVariants:[{isStriped:!0,color:"default",class:{td:"group-data-[odd=true]:data-[selected=true]:before:bg-default/60"}},{isStriped:!0,color:"primary",class:{td:"group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"}},{isStriped:!0,color:"secondary",class:{td:"group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"}},{isStriped:!0,color:"success",class:{td:"group-data-[odd=true]:data-[selected=true]:before:bg-success/20"}},{isStriped:!0,color:"warning",class:{td:"group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"}},{isStriped:!0,color:"danger",class:{td:"group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"}}]});function v$(e,t,n){let{gridCellProps:r,isPressed:o}=gB(e,t,n),i=e.node.column.key;return t.collection.rowHeaderColumnKeys.has(i)&&(r.role="rowheader",r.id=f2(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:o}}var vU=(0,K.Gp)((e,t)=>{var n,r,o;let{as:i,className:a,node:s,rowKey:l,slots:u,state:d,classNames:c,...f}=e,p=i||"td",m=(0,B.gy)(t),{gridCellProps:g}=v$({node:s},d,m),h=(0,I.W)(null==c?void 0:c.td,a,null==(n=s.props)?void 0:n.className),{isFocusVisible:v,focusProps:y}=(0,eU.F)(),b=d.selectionManager.isSelected(l),x=(0,k.useMemo)(()=>{let e=typeof s.rendered;return"object"!==e&&"function"!==e?(0,w.jsx)("span",{children:s.rendered}):s.rendered},[s.rendered]),E=(null==(r=s.column)?void 0:r.props)||{};return(0,w.jsx)(p,{ref:m,"data-focus-visible":(0,F.PB)(v),"data-selected":(0,F.PB)(b),...(0,W.d)(g,y,(0,iy.z)(s.props,{enabled:"string"==typeof p}),f),className:null==(o=u.td)?void 0:o.call(u,{align:E.align,class:h}),children:x})});vU.displayName="NextUI.TableCell";var vG=(0,K.Gp)((e,t)=>{var n,r;let{as:o,className:i,node:a,rowKey:s,slots:l,state:u,color:d,disableAnimation:c,checkboxesProps:f,selectionMode:p,classNames:m,...g}=e,h=o||"td",v=(0,B.gy)(t),{gridCellProps:y}=v$({node:a},u,v),{isFocusVisible:b,focusProps:x}=(0,eU.F)(),{checkboxProps:E}=function(e,t){let{key:n}=e,{checkboxProps:r}=function(e,t){var n;let{key:r}=e,o=t.selectionManager,i=mC(),a=!t.selectionManager.canSelectItem(r),s=t.selectionManager.isSelected(r);return{checkboxProps:{id:i,"aria-label":(0,e2.q)((n=g5)&&n.__esModule?n.default:n,"@react-aria/grid").format("select"),isSelected:s,isDisabled:a,onChange:()=>o.toggleSelection(r)}}}(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${f5(t,n)}`}}}({key:(null==a?void 0:a.parentKey)||a.key},u),k=(0,I.W)(null==m?void 0:m.td,i,null==(n=a.props)?void 0:n.className),{onChange:T,...C}=E,P=u.selectionManager.isSelected(s);return(0,w.jsx)(h,{ref:v,"data-focus-visible":(0,F.PB)(b),"data-selected":(0,F.PB)(P),...(0,W.d)(y,x,(0,iy.z)(a.props,{enabled:"string"==typeof h}),g),className:null==(r=l.td)?void 0:r.call(l,{class:k}),children:"single"===p?(0,w.jsx)(vp,{children:E["aria-label"]}):(0,w.jsx)(vm,{color:d,disableAnimation:c,onValueChange:T,...(0,W.d)(f,C)})})});vG.displayName="NextUI.TableCheckboxCell";var vq=(0,K.Gp)((e,t)=>{var n,r;let{as:o,className:i,children:a,node:s,slots:l,state:u,isSelectable:d,classNames:c,...f}=e,p=o||((null==e?void 0:e.href)?"a":"tr"),m=(0,B.gy)(t),{rowProps:g}=function(e,t,n){var r;let{node:o,isVirtualized:i}=e,{rowProps:a,...s}=function(e,t,n){var r,o;let{node:i,isVirtualized:a,shouldSelectOnPressUp:s,onAction:l}=e,{actions:u}=pH.get(t),d=u.onRowAction?()=>u.onRowAction(i.key):l,{itemProps:c,...f}=gN({selectionManager:t.selectionManager,key:i.key,ref:n,isVirtualized:a,shouldSelectOnPressUp:s,onAction:d||(null==i?void 0:null===(r=i.props)||void 0===r?void 0:r.onAction)?mx(null==i?void 0:null===(o=i.props)||void 0===o?void 0:o.onAction,d):void 0,isDisabled:0===t.collection.size}),p=t.selectionManager.isSelected(i.key),m={role:"row","aria-selected":"none"!==t.selectionManager.selectionMode?p:void 0,"aria-disabled":f.isDisabled||void 0,...c};return a&&(m["aria-rowindex"]=i.index+1),{rowProps:m,...f}}(e,t,n),{direction:l}=(0,nu.j)();return i?a["aria-rowindex"]=o.index+1+t.collection.headerRows.length:delete a["aria-rowindex"],{rowProps:{...pg(
6a,{},s.hasAction?{"data-href":(r=o.props).href,"data-target":r.target,"data-rel":r.rel,"data-download":r.download,"data-ping":r.ping,"data-referrer-policy":r.referrerPolicy}:{}),"aria-labelledby":f5(t,o.key)},...s}}({node:s},u,m),h=(0,I.W)(null==c?void 0:c.tr,i,null==(n=s.props)?void 0:n.className),{isFocusVisible:v,focusProps:y}=(0,eU.F)(),b=u.disabledKeys.has(s.key),x=u.selectionManager.isSelected(s.key),{isHovered:E,hoverProps:T}=(0,eG.X)({isDisabled:b}),{isFirst:C,isLast:P,isMiddle:j,isOdd:S}=(0,k.useMemo)(()=>{let e=s.key===u.collection.getFirstKey(),t=s.key===u.collection.getLastKey();return{isFirst:e,isLast:t,isMiddle:!e&&!t,isOdd:null!=s&&!!s.index&&(s.index+1)%2==0}},[s,u.collection]);return(0,w.jsx)(p,{ref:m,"data-disabled":(0,F.PB)(b),"data-first":(0,F.PB)(C),"data-focus-visible":(0,F.PB)(v),"data-hover":(0,F.PB)(E),"data-last":(0,F.PB)(P),"data-middle":(0,F.PB)(j),"data-odd":(0,F.PB)(S),"data-selected":(0,F.PB)(x),...(0,W.d)(g,y,d?T:{},(0,iy.z)(s.props,{enabled:"string"==typeof p}),f),className:null==(r=l.tr)?void 0:r.call(l,{class:h}),children:a})});function vX(){return{rowGroupProps:{role:"rowgroup"}}}vq.displayName="NextUI.TableRow";var vZ=(0,K.Gp)((e,t)=>{var n;let r,o;let{as:i,className:a,slots:s,state:l,collection:u,isSelectable:d,color:c,disableAnimation:f,checkboxesProps:p,selectionMode:m,classNames:g,...h}=e,v=i||"tbody",y=(0,B.gy)(t),{rowGroupProps:b}=vX(),x=(0,I.W)(null==g?void 0:g.tbody,a),E=null==u?void 0:u.body.props,T=(null==E?void 0:E.isLoading)||(null==E?void 0:E.loadingState)==="loading"||(null==E?void 0:E.loadingState)==="loadingMore",C=(0,k.useMemo)(()=>[...u.body.childNodes].map(e=>(0,w.jsx)(vq,{classNames:g,isSelectable:d,node:e,slots:s,state:l,children:[...e.childNodes].map(t=>t.props.isSelectionCell?(0,w.jsx)(vG,{checkboxesProps:p,classNames:g,color:c,disableAnimation:f,node:t,rowKey:e.key,selectionMode:m,slots:s,state:l},t.key):(0,w.jsx)(vU,{classNames:g,node:t,rowKey:e.key,slots:s,state:l},t.key))},e.key)),[u.body.childNodes,g,d,s,l]);return 0===u.size&&E.emptyContent&&(r=(0,w.jsx)("tr",{role:"row",children:(0,w.jsx)("td",{className:null==s?void 0:s.emptyWrapper({class:null==g?void 0:g.emptyWrapper}),colSpan:u.columnCount,role:"gridcell",children:!T&&E.emptyContent})})),T&&E.loadingContent&&(o=(0,w.jsxs)("tr",{role:"row",children:[(0,w.jsx)("td",{className:null==s?void 0:s.loadingWrapper({class:null==g?void 0:g.loadingWrapper}),colSpan:u.columnCount,role:"gridcell",children:E.loadingContent}),r||0!==u.size?null:(0,w.jsx)("td",{className:null==s?void 0:s.emptyWrapper({class:null==g?void 0:g.emptyWrapper})})]})),(0,w.jsxs)(v,{ref:y,...(0,W.d)(b,(0,iy.z)(E,{enabled:"string"==typeof v}),h),className:null==(n=s.tbody)?void 0:n.call(s,{class:x}),"data-empty":(0,F.PB)(0===u.size),"data-loading":(0,F.PB)(T),children:[C,o,r]})});vZ.displayName="NextUI.TableBody";var vY=({strokeWidth:e=1.5,...t})=>
6(0,w.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:e,viewBox:"0 0 24 24",width:"1em",...t,children:(0,w.jsx)("path",{d:"m6 9 6 6 6-6"})}),vJ=(0,K.Gp)((e,t)=>{var n,r,o,i,a;let{as:s,className:l,state:u,node:d,slots:c,classNames:f,...p}=e,m=s||"th",g=(0,B.gy)(t),{columnHeaderProps:h}=g2({node:d},u,g),v=(0,I.W)(null==f?void 0:f.th,l,null==(n=d.props)?void 0:n.className),{isFocusVisible:y,focusProps:b}=(0,eU.F)(),{isHovered:x,hoverProps:E}=(0,eG.X)({}),{hideHeader:k,align:T,...C}=d.props,P=C.allowsSorting;return(0,w.jsxs)(m,{ref:g,colSpan:d.colspan,"data-focus-visible":(0,F.PB)(y),"data-hover":(0,F.PB)(x),"data-sortable":(0,F.PB)(P),...(0,W.d)(h,b,(0,iy.z)(C,{enabled:"string"==typeof m}),P?E:{},p),className:null==(r=c.th)?void 0:r.call(c,{align:T,class:v}),children:[k?(0,w.jsx)(vp,{children:d.rendered}):d.rendered,P&&(0,w.jsx)(vY,{"aria-hidden":"true",className:null==(o=c.sortIcon)?void 0:o.call(c,{class:null==f?void 0:f.sortIcon}),"data-direction":null==(i=u.sortDescriptor)?void 0:i.direction,"data-visible":(0,F.PB)((null==(a=u.sortDescriptor)?void 0:a.column)===d.key),strokeWidth:3})]})});vJ.displayName="NextUI.TableColumnHeader";var vQ=(0,K.Gp)((e,t)=>{var n,r;let{as:o,className:i,children:a,node:s,slots:l,classNames:u,state:d,...c}=e,f=o||"tr",p=(0,B.gy)(t),{rowProps:m}=function(e,t,n){let{node:r,isVirtualized:o}=e,i={role:"row"};return o&&(i["aria-rowindex"]=r.index+1),{rowProps:i}}({node:s},0,0),g=(0,I.W)(null==u?void 0:u.tr,i,null==(n=s.props)?void 0:n.className);return(0,w.jsx)(f,{ref:p,...(0,W.d)(m,(0,iy.z)(s.props,{enabled:"string"==typeof f}
6),c),className:null==(r=l.tr)?void 0:r.call(l,{class:g}),children:a})});vQ.displayName="NextUI.TableHeaderRow";var v0=(0,K.Gp)((e,t)=>{var n;let{as:r,className:o,children:i,slots:a,classNames:s,...l}=e,u=(0,B.gy)(t),{rowGroupProps:d}=vX(),c=(0,I.W)(null==s?void 0:s.thead,o);return(0,w.jsx)(r||"thead",{ref:u,className:null==(n=a.thead)?void 0:n.call(a,{class:c}),...(0,W.d)(d,l),children:i})});v0.displayName="NextUI.TableRowGroup";var v1={px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},v4=(0,eD.tv)({base:"w-px h-px inline-block",variants:{isInline:{true:"inline-block",false:"block"}},defaultVariants:{isInline:!1}}),v3=e=>{var t;return null!=(t=v1[e])?t:e},v2=(0,K.Gp)((e,t)=>{let{Component:n,getSpacerProps:r}=function(e){let[t,n]=(0,K.oe)(e,v4.variantKeys),{as:r,className:o,x:i=1,y:a=1,...s}=t,l=(0,k.useMemo)(()=>v4({...n,className:o}),[(0,eI.Xx)(n),o]),u=v3(i),d=v3(a);return{Component:r||"span",getSpacerProps:(e={})=>({...e,...s,"aria-hidden":(0,F.PB)(!0),className:(0,I.W)(l,e.className),style:{...e.style,...s.style,marginLeft:u,marginTop:d}})}}({...e});return(0,w.jsx)(n,{ref:t,...r()})});v2.displayName="NextUI.Spacer";var v5=(0,K.Gp)((e,t)=>{let{BaseComponent:n,Component:r,collection:o,values:i,topContent:a,topContentPlacement:s,bottomContentPlacement:l,bottomContent:u,removeWrapper:d,getBaseProps:c,getWrapperProps:f,getTableProps:p}=function(e){var t;let n=(0,eN.w)(),[r,o]=(0,K.oe)(e,vV.variantKeys),{ref:i,as:a,baseRef:s,children:l,className:u,classNames:d,layoutNode:c,removeWrapper:f=!1,disableAnimation:p=null!=(t=null==n?void 0:n.disableAnimation)&&t,selectionMode:m="none",topContentPlacement:g="inside",bottomContentPlacement:h="inside",selectionBehavior:v="none"===m?null:"toggle",disabledBehavior:y="selection",showSelectionCheckboxes:b="multiple"===m&&"replace"!==v,BaseComponent:w="div",checkboxesProps:x,topContent:E,bottomContent:T,onRowAction:C,onCellAction:P,...j}=r,S=a||"table",L="string"==typeof S,A=(0,B.gy)(i),M=(0,B.gy)(s),N=function(e){let[t,n]=(0,k.useState)(!1),{selectionMode:r="none",showSelectionCheckboxes:o,showDragButtons:i}=e,a=(0,k.useMemo)(()=>({showSelectionCheckboxes:o&&"none"!==r,showDragButtons:i,selectionMode:r,columns:[]}),[e.children,o,r,i]),s=iF(e,(0,k.useCallback)(e=>new vb(e,null,a),[a]),a),{disabledKeys:l,selectionManager:u}=function(e){let{collection:t,focusMode:n}=e,r=e.UNSAFE_selectionState||iC(e),o=(0,k.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=r.setFocusedKey;r.setFocusedKey=(e,r)=>{if("cell"===n&&null!=e){let n=t.getItem(e);if((null==n?void 0:n.type)==="item"){var o,a;let i=ij(n,t);e="last"===r?null===(o=iA(i))||void 0===o?void 0:o.key:null===(a=iS(i))||void 0===a?void 0:a.key}}i(e,r)};let a=(0,k.useMemo)(()=>new iD(t,r),[t,r]),s=(0,k.useRef)(null);return(0,k.useEffect)(()=>{if(null!=r.focusedKey&&!t.getItem(r.focusedKey)){let e;let n=s.current.getItem(r.focusedKey),o=null!=n.parentKey&&("cell"===n.type||"rowheader"===n.type||"column"===n.type)?s.current.getItem(n.parentKey):n,i=s.current.rows,l=t.rows,u=i.length-l.length,d=Math.min(u>1?Math.max(o.index-u+1,0):o.index,l.length-1);for(;d>=0;){if(!a.isDisabled(l[d].key)&&"headerrow"!==l[d].type){e=l[d];break}d<l.length-1?d++:(d>o.index&&(d=o.index),d--)}if(e){let i=e.hasChildNodes?[...ij(e,t)]:[],a=e.hasChildNodes&&o!==n&&n.index<i.length?i[n.index].key:e.key;r.setFocusedKey(a)}else r.setFocusedKey(null)}s.current=t},[t,a,r,r.focusedKey]),{collection:t,disabledKeys:o,isKeyboardNavigationDisabled:!1,selectionManager:a}}({...e,collection:s,disabledBehavior:e.disabledBehavior||"selection"});return{collection:s,disabledKeys:l,selectionManager:u,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor,isKeyboardNavigationDisabled:0===s.size||t,setKeyboardNavigationDisabled:n,sort(t,n){var r;e.onSortChange({column:t,direction:null!=n?n:(null===(r=e.sortDescriptor)||void 0===r?void 0:r.column)===t?vw[e.sortDescriptor.direction]:"ascending"})}}}({...e,children:l,showSelectionCheckboxes:b}),{collection:D}=N,{gridProps:F}=function(e,t,n){var r;let{keyboardDelegate:o,isVirtualized:i,layout:a}=e,s=f$({usage:"search",sensitivity:"base"}),{direction:l}=(0,nu.j)(),u=t.selectionManager.disabledBehavior,d=(0,k.useMemo)(()=>o||new vT({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:u,ref:n,direction:l,collator:s,layout:a}),[o,t.collection,t.disabledKeys,u,n,l,s,a]),c=function(e){let[t,n]=(0,k.useState)(e),r=(0,k.useRef)(null),o=(0,e0.gP)(t),i=(0,k.useCallback)(e=>{r.current=e},[]);return pp&&(pm.has(o)&&!pm.get(o).includes(i)?pm.set(o,[...pm.get(o),i]):pm.set(o,[i])),pl(()=>()=>{pm.delete(o)}
6,[o]),(0,k.useEffect)(()=>{let e=r.current;e&&(r.current=null,n(e))}),o}(e.id);f4.set(t,c);let{gridProps:f}=function(e,t,n){var r,o;let i,a,s,{isVirtualized:l,keyboardDelegate:u,focusMode:d,scrollRef:c,getRowText:f,onRowAction:p,onCellAction:m}=e,{selectionManager:g}=t;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let h=f$({usage:"search",sensitivity:"base"}),{direction:v}=(0,nu.j)(),y=t.selectionManager.disabledBehavior,b=(0,k.useMemo)(()=>u||new vE({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:y,ref:n,direction:v,collator:h,focusMode:d}),[u,t.collection,t.disabledKeys,y,n,v,h,d]),{collectionProps:w}=function(e){let t,{selectionManager:n,keyboardDelegate:r,ref:o,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:s=!1,disallowSelectAll:l=!1,selectOnFocus:u="replace"===n.selectionBehavior,disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=o,linkBehavior:g="action"}=e,{direction:h}=(0,nu.j)(),v=gt(),y=(0,k.useRef)({top:0,left:0});vz(m,"scroll",p?null:()=>{y.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let b=(0,k.useRef)(i);(0,k.useEffect)(()=>{if(b.current){let e=null;"first"===i&&(e=r.getFirstKey()),"last"===i&&(e=r.getLastKey());let t=n.selectedKeys;if(t.size){for(let r of t)if(n.canSelectItem(r)){e=r;break}}n.setFocused(!0),n.setFocusedKey(e),null!=e||c||m9(o.current)}},[]);let w=(0,k.useRef)(n.focusedKey);(0,k.useEffect)(()=>{if(n.isFocused&&null!=n.focusedKey&&(n.focusedKey!==w.current||b.current)&&(null==m?void 0:m.current)){let e=mZ,t=o.current.querySelector(`[data-key="${CSS.escape(n.focusedKey.toString())}"]`);if(!t)return;("keyboard"===e||b.current)&&(v_(m.current,t),"virtual"!==e&&vH(t,{containingElement:o.current}))}!c&&n.isFocused&&null==n.focusedKey&&null!=w.current&&m9(o.current),w.current=n.focusedKey,b.current=!1}),vz(o,"react-aria-focus-scope-restore",e=>{e.preventDefault(),n.setFocused(!0)});let x={onKeyDown:e=>{var t,i,d,c,p,y,b,w,x,E,k,T,C,P;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!o.current.contains(e.target))return;let j=(t,r)=>{if(null!=t){if(n.isLink(t)&&"selection"===g&&u&&!mO(e)){(0,rs.flushSync)(()=>{n.setFocusedKey(t,r)});let o=m.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`),i=n.getItemProps(t);v.open(o,e,i.href,i.routerOptions);return}n.setFocusedKey(t,r),n.isLink(t)&&"override"===g||(e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):u&&!mO(e)&&n.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(r.getKeyBelow){let o=null!=n.focusedKey?null===(t=r.getKeyBelow)||void 0===t?void 0:t.call(r,n.focusedKey):null===(i=r.getFirstKey)||void 0===i?void 0:i.call(r);null==o&&a&&(o=null===(d=r.getFirstKey)||void 0===d?void 0:d.call(r,n.focusedKey)),null!=o&&(e.preventDefault(),j(o))}break;case"ArrowUp":if(r.getKeyAbove){let t=null!=n.focusedKey?null===(c=r.getKeyAbove)||void 0===c?void 0:c.call(r,n.focusedKey):null===(p=r.getLastKey)||void 0===p?void 0:p.call(r);null==t&&a&&(t=null===(y=r.getLastKey)||void 0===y?void 0:y.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),j(t))}break;case"ArrowLeft":if(r.getKeyLeftOf){let t=null===(b=r.getKeyLeftOf)||void 0===b?void 0:b.call(r,n.focusedKey);null==t&&a&&(t="rtl"===h?null===(w=r.getFirstKey)||void 0===w?void 0:w.call(r,n.focusedKey):null===(x=r.getLastKey)||void 0===x?void 0:x.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),j(t,"rtl"===h?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){let t=null===(E=r.getKeyRightOf)||void 0===E?void 0:E.call(r,n.focusedKey);null==t&&a&&(t="rtl"===h?null===(k=r.getLastKey)||void 0===k?void 0:k.call(r,n.focusedKey):null===(T=r.getFirstKey)||void 0===T?void 0:T.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),j(t,"rtl"===h?"last":"first"))}break;case"Home":if(r.getFirstKey){e.preventDefault();let t=r.getFirstKey(n.focusedKey,mz(e));n.setFocusedKey(t),mz(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):u&&n.replaceSelection(t)}break;case"End":if(r.getLastKey){e.preventDefault();let t=r.getLastKey(n.focusedKey,mz(e));n.setFocusedKey(t),mz(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):u&&n.replaceSelection(t)}break;case"PageDown":if(r.getKeyPageBelow){let t=r.getKeyPageBelow(n.focusedKey);null!=t&&(e.preventDefault(),j(t))}break;case"PageUp":if(r.getKeyPageAbove){let t=r.getKeyPageAbove(n.focusedKey);null!=t&&(e.preventDefault(),j(t))}break;case"a":mz(e)&&"multiple"===n.selectionMode&&!0!==l&&(e.preventDefault(),n.selectAll());break;case"Escape":s||0===n.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),n.clearSelection());break;case"Tab":if(!f){if(e.shiftKey)o.current.focus();else{let e,t;let n,r,i=(C=o.current,e=(P={tabbable:!0}).tabbable?vF:vI,t=m_(C).createTreeWalker(C,NodeFilter.SHOW_ELEMENT,{acceptNode(t){var n;return(null==P?void 0:null===(n=P.from)||void 0===n?void 0:n.contains(t))?NodeFilter.FILTER_REJECT:t.matches(e)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=mW(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}
6=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(t)&&(!(null==P?void 0:P.accept)||P.accept(t))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),(null==P?void 0:P.from)&&(t.currentNode=P.from),t);do(r=i.lastChild())&&(n=r);while(r);n&&!n.contains(document.activeElement)&&mG(n)}}}},onFocus:e=>{if(n.isFocused){e.currentTarget.contains(e.target)||n.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(n.setFocused(!0),null==n.focusedKey){var t,i;let o=e=>{null!=e&&(n.setFocusedKey(e),u&&n.replaceSelection(e))},a=e.relatedTarget;a&&e.currentTarget.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?o(null!==(t=n.lastSelectedKey)&&void 0!==t?t:r.getLastKey()):o(null!==(i=n.firstSelectedKey)&&void 0!==i?i:r.getFirstKey())}else p||(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(null!=n.focusedKey){let e=m.current.querySelector(`[data-key="${CSS.escape(n.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||mG(e),"keyboard"===mZ&&vH(e,{containingElement:o.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||n.setFocused(!1)},onMouseDown(e){m.current===e.target&&e.preventDefault()}},{typeSelectProps:E}=function(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=(0,k.useRef)({search:"",timeout:null}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let a=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(!a||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target))return;" "!==a||!(o.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),o.search+=a;let s=t.getKeyForSearch(o.search,n.focusedKey);null==s&&(s=t.getKeyForSearch(o.search)),null!=s&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},1e3)}:null}}}({keyboardDelegate:r,selectionManager:n});return d||(x=gi(E,x)),c||(t=null==n.focusedKey?0:-1),{collectionProps:{...x,tabIndex:t}}}({ref:n,selectionManager:g,keyboardDelegate:b,isVirtualized:l,scrollRef:c}),x=mC(e.id);pH.set(t,{keyboardDelegate:b,actions:{onRowAction:p,onCellAction:m}});let E=(r={selectionManager:g,hasItemActions:!!(p||m)},i=(0,e2.q)((o=g5)&&o.__esModule?o.default:o,"@react-aria/grid"),s=("pointer"===(a=function(){mm();let[e,t]=(0,k.useState)(mr);return(0,k.useEffect)(()=>{let e=()=>{t(mr)};return mo.add(e),()=>{mo.delete(e)}},[]),(0,e0.Av)()?null:e}())||"virtual"===a||null==a)&&"undefined"!=typeof window&&"ontouchstart"in window,function(e){let[t,n]=(0,k.useState)();return mE(()=>{if(!e)return;let t=vA.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${vL++}`;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},vA.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),vA.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}((0,k.useMemo)(()=>{let e,t=r.selectionManager.selectionMode,n=r.selectionManager.selectionBehavior;return s&&(e=i.format("longPressToSelect")),"replace"===n&&"none"!==t&&r.hasItemActions?e:void 0},[r.selectionManager.selectionMode,r.selectionManager.selectionBehavior,r.hasItemActions,i,s]))),T=function(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(vM.has(t)||n&&vN.has(t)||r&&vD.has(t)||(null==o?void 0:o.has(t))||vK.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0}),C=(0,k.useCallback)(e=>{if(g.isFocused){e.currentTarget.contains(e.target)||g.setFocused(!1);return}e.currentTarget.contains(e.target)&&g.setFocused(!0)},[g]),P=(0,k.useMemo)(()=>({onBlur:w.onBlur,onFocus:C}),[C,w.onBlur]),j=function(e,t){let n=null==t?void 0:t.isDisabled,[r,o]=(0,k.useState)(!1);return mE(()=>{if((null==e?void 0:e.current)&&!n){let t=()=>{e.current&&o(!!pZ(e.current,{tabbable:!0}).nextNode())};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{n.disconnect()}}}),!n&&r}(n,{isDisabled:0!==t.collection.size}),S=mP(T,{role:"grid",id:x,"aria-multiselectable":"multiple"===g.selectionMode?"true":void 0},t.isKeyboardNavigationDisabled?P:w,0===t.collection.size&&{tabIndex:j?-1:0},E);return l&&(S["aria-rowcount"]=t.collection.size,S["aria-colcount"]=t.collection.columnCount),!function(e,t){var n;let{getRowText:r=e=>{var n,r,o,i;return null!==(i=null===(n=(r=t.collection).getTextValue)||void 0===n?void 0:n.call(r,e))&&void 0!==i?i:null===(o=t.collection.getItem(e))||void 0===o?void 0:o.textValue}}=e,o=(0,e2.q)((n=g5)&&n.__esModule?n.default:n,"@react-aria/grid"),i=t.selectionManager.rawSelection,a=(0,k.useRef)(i);!function(e,t){let n=(0,k.useRef)(!0),r=(0,k.useRef)(null);(0,k.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,k.useEffect)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}(()=>{var e;if(!t.selectionManager.isFocused){a.current=i;return}let n=vS(i,a.current),s=vS(a.current,i),l="replace"===t.selectionManager.selectionBehavior,u=[];if(1===t.selectionManager.selectedKeys.size&&l){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let e=r(t.selectionManager.selectedKeys.keys().next().value);e&&u.push(o.format("selectedItem",{item:e}))}}else if(1===n.size&&0===s.size){let e=r(n.keys().next().value);e&&u.push(o.format("selectedItem",{item:e}))}else if(1===s.size&&0===n.size&&t.collection.getItem(s.keys().next().value)){let e=r(s.keys().next().value);e&&u.push(o.format("deselectedItem",{item:e}))}"multiple"===t.selectionManager.selectionMode&&(0===u.length||"all"===i||i.size>1||"all"===a.current||(null===(e=a.current)||void 0===e?void 0:e.size)>1)&&u.push("all"===i?o.format("selectedAll"):o.format("selectedCount",{count:i.size})),u.length>0&&vP(u.join(" ")),a.current=i},[i])}({getRowText:f},t),{gridProps:S}}({...e,id:c,keyboardDelegate:d},t,n);i&&(f["aria-rowcount"]=t.collection.size+t.collection.headerRows.length);
6let{column:p,direction:m}=t.sortDescriptor||{},g=(0,e2.q)((r=f6)&&r.__esModule?r.default:r,"@react-aria/table"),h=(0,k.useMemo)(()=>{var e;let n=null===(e=t.collection.columns.find(e=>e.key===p))||void 0===e?void 0:e.textValue;return m&&p?g.format(`${m}Sort`,{columnName:n}):void 0},[m,p,t.collection.columns]),v=pc(h);return!function(e,t){let n=(0,k.useRef)(!0),r=(0,k.useRef)(null);(0,k.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,k.useEffect)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}(()=>{vP(h,"assertive",500)},[h]),{gridProps:pg(f,v,{"aria-describedby":[v["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")})}}({...e,layout:c},N,A),R="none"!==m,O="multiple"===m,z=(0,k.useMemo)(()=>vV({...o,isSelectable:R,isMultiSelectable:O}),[(0,eI.Xx)(o),R,O]),_=(0,I.W)(null==d?void 0:d.base,u),H=(0,k.useMemo)(()=>{var t;return{state:N,slots:z,isSelectable:R,collection:D,classNames:d,color:null==e?void 0:e.color,disableAnimation:p,checkboxesProps:x,isHeaderSticky:null!=(t=null==e?void 0:e.isHeaderSticky)&&t,selectionMode:m,selectionBehavior:v,disabledBehavior:y,showSelectionCheckboxes:b,onRowAction:C,onCellAction:P}},[z,N,D,R,d,m,v,x,y,p,b,null==e?void 0:e.color,null==e?void 0:e.isHeaderSticky,C,P]);return{BaseComponent:w,Component:S,children:l,state:N,collection:D,values:H,topContent:E,bottomContent:T,removeWrapper:f,topContentPlacement:g,bottomContentPlacement:h,getBaseProps:(0,k.useCallback)(e=>({...e,ref:M,className:z.base({class:(0,I.W)(_,null==e?void 0:e.className)})}),[_,z]),getWrapperProps:(0,k.useCallback)(e=>({...e,ref:M,className:z.wrapper({class:(0,I.W)(null==d?void 0:d.wrapper,null==e?void 0:e.className)})}),[null==d?void 0:d.wrapper,z]),getTableProps:(0,k.useCallback)(e=>({...(0,W.d)(F,(0,iy.z)(j,{enabled:L}),e),onKeyDownCapture:void 0,ref:A,className:z.table({class:(0,I.W)(null==d?void 0:d.table,null==e?void 0:e.className)})}),[null==d?void 0:d.table,L,z,F,j])}}({...e,ref:t}),m=(0,k.useCallback)(({children:e})=>d?e:(0,w.jsx)(n,{...f(),children:e}),[d,f]);return(0,w.jsxs)("div",{...c(),children:["outside"===s&&a,(0,w.jsx)(m,{children:(0,w.jsxs)(w.Fragment,{children:["inside"===s&&a,(0,w.jsxs)(r,{...p(),children:[(0,w.jsxs)(v0,{classNames:i.classNames,slots:i.slots,children:[o.headerRows.map(e=>(0,w.jsx)(vQ,{classNames:i.classNames,node:e,slots:i.slots,state:i.state,children:[...e.childNodes].map(e=>{var t;return(null==(t=null==e?void 0:e.props)?void 0:t.isSelectionCell)?(0,w.jsx)(vg,{checkboxesProps:i.checkboxesProps,classNames:i.classNames,color:i.color,disableAnimation:i.disableAnimation,node:e,selectionMode:i.selectionMode,slots:i.slots,state:i.state},null==e?void 0:e.key):(0,w.jsx)(vJ,{classNames:i.classNames,node:e,slots:i.slots,state:i.state},null==e?void 0:e.key)})},null==e?void 0:e.key)),(0,w.jsx)(v2,{as:"tr",tabIndex:-1,y:1})]}),(0,w.jsx)(vZ,{checkboxesProps:i.checkboxesProps,classNames:i.classNames,collection:i.collection,color:i.color,disableAnimation:i.disableAnimation,isSelectable:i.isSelectable,selectionMode:i.selectionMode,slots:i.slots,state:i.state})]}),"inside"===l&&u]})}),"outside"===l&&u]})});function v6(e){return null}function v8(e){return null}function v7(e){return null}function v9(e){return null}function ye(e){return null}v5.displayName="NextUI.Table",v6.getCollectionNode=function*(e,t){let{children:n,columns:r}=e;if(t.columns=[],"function"==typeof n){if(!r)throw Error("props.children was a function but props.columns is missing");for(let e of r)yield{type:"column",value:e,renderer:n}}else{let e=[];k.Children.forEach(n,t=>{e.push({type:"column",element:t})}),yield*e}},v8.getCollectionNode=function*(e,t){let{title:n,children:r,childColumns:o}=e,i=n||r,a=e.textValue||("string"==typeof i?i:"")||e["aria-label"],s=yield{type:"column",hasChildNodes:!!o||n&&k.Children.count(r)>0,rendered:i,textValue:a,props:e,*childNodes(){if(o)for(let e of o)yield{type:"column",value:e};else if(n){let e=[];k.Children.forEach(r,t=>{e.push({type:"column",element:t})}),yield*e}},shouldInvalidate:e=>(l(e),!1)},l=e=>{for(let t of s)t.hasChildNodes||e.columns.push(t)};l(t)},v7.getCollectionNode=function*(e){let{children:t,items:n}=e;yield{type:"body",hasChildNodes:!0,props:e,*childNodes(){if("function"==typeof t){if(!n)throw Error("props.children was a function but props.items is missing");for(let e of n)yield{type:"item",value:e,renderer:t}}else{let e=[];
6k.Children.forEach(t,t=>{e.push({type:"item",element:t})}),yield*e}}}},v9.getCollectionNode=function*(e,t){let{children:n,textValue:r,UNSTABLE_childItems:o}=e;yield{type:"item",props:e,textValue:r,"aria-label":e["aria-label"],hasChildNodes:!0,*childNodes(){if(t.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),t.showSelectionCheckboxes&&"none"!==t.selectionMode&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),"function"==typeof n){for(let e of t.columns)yield{type:"cell",element:n(e.key),key:e.key};if(o)for(let e of o)yield{type:"item",value:e}}else{let e=[],r=[];if(k.Children.forEach(n,n=>{if(n.type===v9){if(e.length<t.columns.length)throw Error("All of a Row's child Cells must be positioned before any child Rows.");r.push({type:"item",element:n})}else e.push({type:"cell",element:n})}),e.length!==t.columns.length)throw Error(`Cell count must match column count. Found ${e.length} cells and ${t.columns.length} columns.`);yield*e,yield*r}},shouldInvalidate:e=>e.columns.length!==t.columns.length||e.columns.some((e,n)=>e.key!==t.columns[n].key)||e.showSelectionCheckboxes!==t.showSelectionCheckboxes||e.showDragButtons!==t.showDragButtons||e.selectionMode!==t.selectionMode}},ye.getCollectionNode=function*(e){let{children:t}=e,n=e.textValue||("string"==typeof t?t:"")||e["aria-label"]||"";yield{type:"cell",props:e,rendered:t,textValue:n,"aria-label":e["aria-label"],hasChildNodes:!1}};var yt=e=>{let{data:t}=e;return(0,w.jsxs)(v5,{classNames:{wrapper:"flex mt-12 max-sm:mt-8 max-sm:p-0",tr:"px-6",td:"py-4 ",base:""},isStriped:!0,hideHeader:!0,"aria-label":"table",children:[(0,w.jsxs)(v6,{children:[(0,w.jsx)(v8,{children:"''"}),(0,w.jsx)(v8,{children:"''"})]}),(0,w.jsx)(v7,{children:t.map((e,t)=>(0,w.jsx)(v9,{children:e.map((e,t)=>(0,w.jsx)(ye,{children:(0,w.jsxs)("div",{className:"flex items-center justify-start",children:[e.iconNode?(0,j.cu)({dom:e.iconNode,key:t,className:"mr-2"}):null,(0,w.jsx)("p",{children:e.td})]})},t))},t))})]})},yn=e=>{let{data:t,style:n,iconStyle:r}=e;return(0,w.jsx)("div",{className:"Sites-box grid grid-cols-8 gap-10 max-sm:grid-cols-3 max-sm:gap-5 max-sm:px-2",style:n,children:null==t?void 0:t.map((e,t)=>{let{name:n,iconNode:r}=e;return(0,w.jsxs)("div",{className:P()("flex flex-col justify-center items-center text-center"),children:[r?(0,j.cu)({dom:r,key:t,className:"mb-2"}):null,(0,w.jsx)(iY,{content:n})]},t)})})};function yr(e){let{data:t}=e;return(0,w.jsx)("div",{className:"FeatureRecommendation-box grid grid-cols-3 gap-10 mt-8 max-sm:grid-cols-1 max-sm:gap-5 max-sm:mt-0",children:t.map((e,t)=>(0,w.jsx)(nP.A,{size:"lg",variant:"bordered",className:"hover:border-theme-color",children:(0,w.jsx)(db,{className:"text-pc_tittle py-4 text-6B6F7E font-medium max-sm:text-m_tittle hover:text-theme-color",isExternal:!0,href:e.linkUrl,children:e.label})},t))})}function yo(e){let{data:t}=e;return(0,w.jsx)("div",{className:"grid grid-cols-2 max-sm:grid-cols-1",children:null==t?void 0:t.map((e,t)=>{let{title:n,list:r,dots:o=!0,style:i}=e;return(0,w.jsxs)("div",{className:"flex flex-col mr-8",children:[(0,w.jsx)(iZ,{title:n,style:i}),(0,w.jsx)(iJ,{data:r,dots:o})]},t)})})}function yi(e){let{data:t,style:n,pClassname:r="",tClassname:o="",classname:i=""}=e,{lang:a}=(0,T.Z)();return(0,w.jsx)("div",{className:i,style:n,children:null==t?void 0:t.map((e,t)=>{let{title:n,desc:i}=e;return(0,w.jsxs)("div",{className:"flex flex-col mb-12 max-sm:mb-6",children:[n&&(0,w.jsx)(iX,{title:n,className:P()("",{"!text-left":"ar"!==a,"!text-right":"ar"===a,[o]:!0})}),"string"==typeof i?(0,w.jsx)(iY,{content:i,className:r}):(0,w.jsx)(w.Fragment,{children:i.map((e,t)=>(0,w.jsx)(k.Fragment,{children:"string"==typeof e?(0,w.jsx)(iY,{className:"mb-4  ".concat(r),content:e}):(0,w.jsx)(w.Fragment,{children:e})},t))})]},t)})})}var ya=e=>{let{data:t}=e;return(0,w.jsx)(w.Fragment,{children:null==t?void 0:t.map((e,n)=>{let{title:r,desc:o,list:i,iconNode:a}=e;return(0,w.jsxs)("div",{className:P()("flex mb-4 max-sm:flex-col items-center w-full",{"mb-0":n==t.length-1,"flex-row-reverse":n%2>0}),children:[(0,w.jsxs)("div",{className:"text-303441 w-3/5 break-words text-pc_tittle max-sm:text-m_tittle max-sm:w-full max-sm:mb-4 ",children:[(0,w.jsx)(iX,{title:r}),(0,w.jsx)(iY,{className:"mb-4",content:o}),(0,w.jsx)(iJ,{data:i})]}),(0,w.jsx)("div",{className:P()("flex justify-start flex-1 flex-col box-border items-start mt-3 max-sm:w-full max-sm:text-base max-sm:m-auto",{"mr-8":n%2>0,"ml-8":n%2==0}),children:a||null})]},"".concat(n))})})},ys=e=>{let{title:t,desc:n,imageUrl:r,apkLabel:o}=e,{t:i}=(0,T.Z)();return(0,w.jsxs)(j.Ch,{className:"Error-Scenario-box flex flex-col items-center",onExpose:()=>{(0,s_.j)({action:"ads_impression",type:"error",entry_source:"errorScenario"})},children:[(0,w.jsxs)("div",{className:"Error-Scenario-text",children:[(0,w.jsx)(iX,{title:t}),(0,w.jsx)(iY,{className:"text-center",content:n})]}
6),(0,w.jsx)(j.qU,{className:"my-12 max-sm:my-8",type:"error",label:o||i("Common:download-apk")}),(0,w.jsx)(j.no,{alt:"Error-Scenario-icon",priority:!0,width:312,height:412,src:r})]})}},45337:function(e){"use strict";e.exports={i18n:{defaultLocale:"en",locales:["en","es","ar","fr","id","pt","ru","tr","th","vi","az"]},ns:["Common"],defaultNS:"Common"}},95905:function(e,t){"use strict";var n,r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return c},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return d},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let a="refresh",s="navigate",l="restore",u="server-patch",d="prefetch",c="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(i=r||(r={})).fresh="fresh",i.reusable="reusable",i.expired="expired",i.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4528:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let r=n(12136);function o(e,t,o,i){{let a=n(15933).normalizeLocalePath,s=n(85480).detectDomainLocale,l=t||a(e,o).detectedLocale,u=s(i,void 0,l);if(u){let t="http"+(u.http?"":"s")+"://",n=l===u.defaultLocale?"":"/"+l;return""+t+u.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48043:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(74448),o=n(68874),i=n(97419),a=o._(n(92343)),s=r._(n(91926)),l=r._(n(59547)),u=n(14942),d=n(58194),c=n(86795);n(23721);
6let f=n(58858),p=r._(n(44618)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,n,r,o,i,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,o=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function h(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:o,height:s,width:l,decoding:u,className:d,style:c,fetchPriority:f,placeholder:p,loading:m,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:E,sizesInput:k,onLoad:T,onError:C,...P}=e;return(0,i.jsx)("img",{...P,...h(f),loading:m,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:d,style:c,sizes:o,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(C&&(e.src=e.src),e.complete&&g(e,p,b,w,x,v,k))},[n,p,b,w,x,C,v,k,t]),onLoad:e=>{g(e.currentTarget,p,b,w,x,v,k)},onError:e=>{E(!0),"empty"!==p&&x(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...h(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(c.ImageConfigContext),o=(0,a.useMemo)(()=>{let e=m||r||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,g=(0,a.useRef)(s);(0,a.useEffect)(()=>{g.current=s},[s]);let h=(0,a.useRef)(l);(0,a.useEffect)(()=>{h.current=l},[l]);let[b,w]=(0,a.useState)(!1),[x,E]=(0,a.useState)(!1),{props:k,meta:T}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:o,blurComplete:b,showAltText:x});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{...k,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:w,setShowAltText:E,sizesInput:e.sizes,ref:t}),T.priority?(0,i.jsx)(y,{isAppRouter:!n,imgAttributes:k}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let r=n(74448),o=n(97419),i=r._(n(92343)),a=n(72127),s=n(61762),l=n(79251),u=n(70560),d=n(53743),c=n(58858),f=n(25167),p=n(81867),m=n(4528),g=n(82079),h=n(95905),v=new Set;function y(e,t,n,r,o,i){if(i||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>i?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=i.default.forwardRef(function(e,t){let n,r;let{href:l,as:v,children:w,prefetch:x=null,passHref:E,replace:k,shallow:T,scroll:C,locale:P,onClick:j,onMouseEnter:S,onTouchStart:L,legacyBehavior:A=!1,...M}=e;n=w,A&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let N=i.default.useContext(c.RouterContext),D=i.default.useContext(f.AppRouterContext),K=null!=N?N:D,B=!N,I=!1!==x,F=null===x?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:R,as:O}=i.default.useMemo(()=>
6{if(!N){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(N,l,!0);return{href:e,as:v?(0,a.resolveHref)(N,v):t||e}},[N,l,v]),z=i.default.useRef(R),_=i.default.useRef(O);A&&(r=i.default.Children.only(n));let W=A?r&&"object"==typeof r&&r.ref:t,[H,V,$]=(0,p.useIntersection)({rootMargin:"200px"}),U=i.default.useCallback(e=>{(_.current!==O||z.current!==R)&&($(),_.current=O,z.current=R),H(e),W&&("function"==typeof W?W(e):"object"==typeof W&&(W.current=e))},[O,W,R,$,H]);i.default.useEffect(()=>{K&&V&&I&&y(K,R,O,{locale:P},{kind:F},B)},[O,R,V,P,I,null==N?void 0:N.locale,K,B,F]);let G={ref:U,onClick(e){A||"function"!=typeof j||j(e),A&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),K&&!e.defaultPrevented&&function(e,t,n,r,o,a,l,u,d){let{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!d&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};d?i.default.startTransition(f):f()}(e,K,R,O,k,T,C,P,B)},onMouseEnter(e){A||"function"!=typeof S||S(e),A&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),K&&(I||!B)&&y(K,R,O,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:F},B)},onTouchStart:function(e){A||"function"!=typeof L||L(e),A&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),K&&(I||!B)&&y(K,R,O,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:F},B)}};if((0,u.isAbsoluteUrl)(O))G.href=O;else if(!A||E||"a"===r.type&&!("href"in r.props)){let e=void 0!==P?P:null==N?void 0:N.locale,t=(null==N?void 0:N.isLocaleDomain)&&(0,m.getDomainLocale)(O,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales);G.href=t||(0,g.addBasePath)((0,d.addLocale)(O,e,null==N?void 0:N.defaultLocale))}return A?i.default.cloneElement(r,G):(0,o.jsx)("a",{...M,...G,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15933:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(97529).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(92343),o=n(99876),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!i,[d,c]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(u||d)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},s.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!d){let e=(0,o.requestIdleCallback)(()=>c(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,n,t,d,f.current]),[p,d,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
6dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14942:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(23721);let r=n(99489),o=n(58194);function i(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:d,sizes:c,unoptimized:f=!1,priority:p=!1,loading:m,className:g,quality:h,width:v,height:y,fill:b=!1,style:w,overrideSrc:x,onLoad:E,onLoadingComplete:k,placeholder:T="empty",blurDataURL:C,fetchPriority:P,layout:j,objectFit:S,objectPosition:L,lazyBoundary:A,lazyRoot:M,...N}=e,{imgConf:D,showAltText:K,blurComplete:B,defaultLoader:I}=t,F=D||o.imageConfigDefault;if("allSizes"in F)s=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t);s={...F,allSizes:e,deviceSizes:t}}if(void 0===I)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let R=N.loader||I;delete N.loader,delete N.srcSet;let O="__next_img_default"in R;if(O){if("custom"===s.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=R;R=t=>{let{config:n,...r}=t;return e(r)}}if(j){"fill"===j&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[j];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[j];t&&!c&&(c=t)}let z="",_=a(v),W=a(y);if("object"==typeof(n=d)&&(i(n)||void 0!==n.src)){let e=i(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,C=C||e.blurDataURL,z=e.src,!b){if(_||W){if(_&&!W){let t=_/e.width;W=Math.round(e.height*t)}else if(!_&&W){let t=W/e.height;_=Math.round(e.width*t)}}else _=e.width,W=e.height}}let H=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:z)||d.startsWith("data:")||d.startsWith("blob:"))&&(f=!0,H=!1),s.unoptimized&&(f=!0),O&&d.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),p&&(P="high");let V=a(h),$=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:L}:{},K?{}:{color:"transparent"},w),U=B||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:_,heightInt:W,blurWidth:l,blurHeight:u,blurDataURL:C||"",objectFit:$.objectFit})+'")':'url("'+T+'")',G=U?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:U}:{},q=function(e){let{config:t,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,a),d=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:i,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:i,width:l[d]})}}({config:s,src:d,unoptimized:f,width:_,quality:V,sizes:c,loader:R});return{props:{...N,loading:H?"lazy":m,fetchPriority:P,width:_,height:W,decoding:"async",className:g,style:{...$,...G},sizes:q.sizes,srcSet:q.srcSet,src:x||q.src},meta:{unoptimized:f,priority:p,placeholder:T,fill:b}}}},99489:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=r?40*r:t,l=o?40*o:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
6ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},89492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(74448),o=n(14942),i=n(48043),a=r._(n(44618));function s(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=i.Image},44618:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:o}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},34596:function(e,t,n){"use strict";n.d(t,{bb:function(){return o},uV:function(){return a},vx:function(){return i}});let r=new Set;function o(e){r.forEach(t=>t(e))}function i(e){return r.add(e),()=>{r.delete(e)}}function a(e){if(!e||"object"!=typeof e)return 0;if(Array.isArray(e.insBos)&&e.insBos.length>0)return e.insBos.length;if(Array.isArray(e.fbBos)&&e.fbBos.length>0)return e.fbBos.length;
6if(Array.isArray(e.pics)){let t=e.pics.filter(Boolean).length;if(t>0)return t}return 1}},45145:function(e,t,n){"use strict";n.d(t,{Sy:function(){return d},VZ:function(){return y},WC:function(){return c},nj:function(){return v},wm:function(){return u}});var r=n(21324),o=n.n(r),i=n(36776);let a=["www.baidu.com","m.baidu","m.sm.cn","so.com","sogou.com","youdao.com","google.","yahoo.com","bing.com","ask.com"];function s(e){if(!e)return"";try{let t=e.match(/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)/);return t?t[1]:""}catch(e){return""}}let l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:36,t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length;for(var o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*r));return t};function u(){try{let e=localStorage.getItem("_randomId");if(e)return e;let t=l();return localStorage.setItem("_randomId",t),t}catch(e){}return l()}function d(){try{let e=localStorage.getItem("_timestamp");if(e)return e;let t=new Date().getTime();return localStorage.setItem("_timestamp",String(t)),t}catch(e){}return new Date().getTime()}let c=e=>{let t={},n=function(e){return decodeURIComponent(e.replace(/\+/g," "))},r=String(e).substring(1).split("&");for(let e in r){let o=r[e].split("=");o.length>1&&(t[n(o[0])]=n(o[1]))}return t},f=()=>{let e=c(location.search),t={};for(let n of["campaignid","network","placement","target","keyword","matchtype","adposition","extensionid","adsetid","adid","site_source_name","spread_platform","spread_id"]){let r=e[n];r&&(t[n]=r)}return t},p=()=>{let e=c(location.search).source_type;if(e)return e;let t=document.referrer;if(t){let e=s(t);for(let t=0,n=a.length;t<n;t++){let n=a[t];if(e.indexOf(n)>-1)return"Search"}}return"Direct"},m=e=>{let t=e.split("/").filter(Boolean),n=t[t.length-1];return/\.html$/.test(e)?n.replace(/\.html/,""):!n||["ar","es","fr","tr","hi","th","id","vi","ur","bn","sw","ha","ph","ms","he","fa","ru","en","vn","pt"].includes(n)?"Snaptube":"links"===n?"download music":n||""},g=()=>{let e=i.Z.get("stExp");if(!e||!e.includes("_"))return"";let[t,n]=e.split("_");return"#".concat(t,".!").concat(n,"#")},h=()=>{let e=i.Z.get("_gaexp");return e?e.replace(/GAX1\.\d+\./g,"").split("!").filter(e=>!e.split(".")[2].startsWith("x")).reduce((e,t)=>{let[n,r,o]=t.split(".");return e+"#".concat(n,".!").concat(o,"#")},""):""},v={DiversionModule:"bottom-banner",error:"fail-android",Recommend:"content-banner",auto:"auto",successList:"sucess-list-android",listBulk:"sucess-list-bulk-btn-android"},y=e=>{let t=new(o()),n=!!t&&!!t.getDevice&&"Huawei"===t.getDevice().vendor,r=location.href||"",i=document.referrer,a=f();return{packing_status:"Dynamic",is_huawei:n,mark:"NewLink",source_type:p(),pagewords:m(location.pathname),latest_referrer_url:i,latest_referrer_host:s(i),latest_landing_page_url:r,latest_landing_page_host:s(r),ga_test_id:h(),custom_test_id:g(),ext_field_2:e||"",...a}}},82600:function(e,t,n){"use strict";n.d(t,{LB:function(){return r},Z0:function(){return o},ke:function(){return l},qJ:function(){return a},vK:function(){return s},vQ:function(){return i}});let r="https://api.twikite.com",o="https://api.pinpea.com",i="/st-tik/x/dl2",a="/st-tik/pinterest/dl",s="/st-tik/token",l="/st-tik/token"},38231:function(e,t,n){"use strict";n.d(t,{EX:function(){return C},HI:function(){return E},Is:function(){return d},L3:function(){return U},LT:function(){return M},N5:function(){return w},Rn:function(){return A},Wq:function(){return W},X4:function(){return j},Y4:function(){return c},Ys:function(){return _},Z$:function(){return N},ZH:function(){return H},c8:function(){return R},fm:function(){return P},ig:function(){return u},j:function(){return x},jj:function(){return L},ny:function(){return V},ox:function(){return O},sI:function(){return T},yM:function(){return $}});var r=n(36776),o=n(71769),i=n(82600),a=n(45145);let{TRACK_SETS:s,MEDIA_STAIC_CDN:l}=o.default,u=e=>l.switchFlag?"".concat(l.HOST).concat(l.FILEASSET).concat(e):e,d=(e,t,n)=>1===e?t:u(n("home-step".concat(e,"-img"))),c=e=>u(e("home-bookmark-img"));function f(e){if(!e)return"";try{let t=e.match(/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)/);return t?t[1]:""}catch(e){return""}}let p=[],m=null,g=()=>{var e;return"function"==typeof(null===(e=window.sa)||void 0===e?void 0:e.track)},h=()=>{m&&(clearInterval(m),m=null)},v=()=>
6!!g()&&(p.splice(0).forEach(e=>{let{eventName:t,payload:n}=e;window.sa.track(t,n)}),!0),y=()=>{if(m)return;let e=Date.now();m=setInterval(()=>{let t=v(),n=Date.now()-e>=5e3;!t&&n&&p.splice(0),(t||n)&&h()},100)},b=(e,t)=>{if(p.push({eventName:t,payload:e}),v()){h();return}y()},w=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!s.switchFlag)return;let r={task_id:null!==(t=n.taskId)&&void 0!==t?t:""};"turnstilePass"===e&&(r.arg_bool=!!n.interactive),b(r,e)},x=e=>{var t;let{eventName:n,...o}=e;if(o.NSPointGTM_INLINE&&(window.dataLayer=window.dataLayer||[]).push({event:o.action}),!s.switchFlag)return;if(!s.event)throw Error("configs/project_config.js>>>>未配置「 TRACK_SETS.event 」埋点事件~");let i=(0,a.VZ)(),l=(0,a.WC)();b({...o,referrer_url:document.referrer,referrer_host:f(document.referrer),web_url:window.location.href,web_host:f(window.location.href),path:location.pathname,lang:document.documentElement.lang,landing_id:(0,a.wm)(),landing_time:(0,a.Sy)(),utm_content:JSON.stringify(i),utm_source:l.utm_source,utm_campaign:l.utm_campaign,utm_medium:l.utm_medium,utm_term:l.utm_term,ga_client_id:null===(t=window.gaGlobal)||void 0===t?void 0:t.vid,fbc:r.Z.get("_fbc"),fbp:r.Z.get("_fbp")},n||s.event)},E=async(e,t)=>{let r=new(await n.e(1044).then(n.bind(n,1044))).JSEncrypt;return r.setPublicKey(e),r.encrypt(t)},k=e=>/^https?:\/\//i.test(e),T=(e,t)=>(null==e?void 0:e.trim())||(null==t?void 0:t.trim())||"",C=(e,t)=>e?k(t)||k(e)?e:"".concat(e,"&status=download"):"",P=(e,t)=>{let{sessionID:n}=t;return e?k(e)?e:"".concat("https://api.hitube.io","/st-tik/token/").concat(e,"?sessionid=").concat(n,"&wh=").concat(encodeURIComponent(window.location.host)):""},j=(e,t)=>{let{sessionID:n}=t;return e?k(e)?e:"".concat("https://api.hitube.io","/st-tik-video/token/").concat(e,"?sessionid=").concat(n,"&wh=").concat(encodeURIComponent(window.location.host)):""},S=(e,t,n,r)=>{if(!n)return"";if(/^https?:\/\//i.test(n))return n;let o=t.startsWith("/")?t:"/".concat(t);return"".concat(e).concat(o,"/").concat(n,"?sessionid=").concat(r,"&wh=").concat(encodeURIComponent(window.location.host))},L=(e,t)=>{let{sessionID:n}=t;return S(i.LB,i.vK,e,n)},A=(e,t)=>{let{sessionID:n}=t;return S(i.Z0,i.ke,e,n)},M=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;for(var n="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=r.length,i=0;i<t;i++)n+=r.charAt(Math.floor(Math.random()*o));return"hitube.io_".concat(n,"_").concat(e)},N=e=>{let{shownAt:t,onClose:n,minStayMs:r=5e3}=e;if(!t)return n(),()=>{};let o=r-(Date.now()-t);if(o<=0)return n(),()=>{};let i=setTimeout(n,o);return()=>clearTimeout(i)},D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(()=>{function e(e){return e.toString().padStart(2,"0")}let t=new Date,n=t.getFullYear(),r=e(t.getMonth()+1),o=e(t.getDate()),i=e(t.getHours()),a=e(t.getMinutes()),s=e(t.getSeconds());return"".concat(n,"_").concat(r,"_").concat(o,"_").concat(i,"_").concat(a,"_").concat(s)})(),r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",o="",i=r.length;for(let e=0;e<t;e++)o+=r.charAt(Math.floor(Math.random()*i));return"Hitube_".concat(o,"_").concat(n,".").concat(e)},K=new Map,B=e=>void 0!==e.index&&null!==e.index?e.index:e.url,I=e=>{let t=K.get(e);void 0!==t&&(cancelAnimationFrame(t),K.delete(e))},F=(e,t)=>{if(!e||"undefined"==typeof document)return;let n=document.createElement("a");n.href=e,n.rel="noopener noreferrer",n.download="apk"===t?"Click_me_to_install_SnapTube_tube_hitube.apk":D(t),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n)},R=e=>{if(!e||"undefined"==typeof document)return;let t=document.createElement("a");t.href=e,t.rel="noopener noreferrer",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)},O=(e,t)=>{let{url:n,fileType:r}=e;if(!n){null==t||t(null,{...e});return}let o=B(e);I(o),F(n,r);let i=performance.now();null==t||t(.01,{...e});let a=n=>{let r=n-i;if(r>=2e3){K.delete(o),null==t||t(0,{...e});return}null==t||t(Math.min(99,r/2e3*100),{...e});let s=requestAnimationFrame(a);K.set(o,s)},s=requestAnimationFrame(a);K.set(o,s)},z={video:["mp4","m4v"],image:["jpg","png","jpeg","gif","bmp","webp","heic"],audio:["mp3","m4a","wav","wma","aac","flac"]},_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.length?e.reduce((e,n)=>{let{type:r}=n;return(z[t]||[]).includes(r)&&e++,e},0):0},W=e=>{for(let t in z)if(z[t].includes(e))return t.toLocaleUpperCase();return null},H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],{multiple:t}=arguments.length>1?arguments[1]:void 0;if(!e.length)return[];let{imgList:n,videoList:r,audioList:o,anotherList:i}=e.reduce((e,t)=>
6{let{type:n}=t;return z.video.includes(n)?e.videoList.push(t):z.audio.includes(n)?e.audioList.push(t):z.image.includes(n)?e.imgList.push(t):e.anotherList.push(t),e},{imgList:[],videoList:[],audioList:[],anotherList:[]}),a=r;return!t&&r.length&&(a=[{...r[0],videoList:[...r]}]),[...a,...n,...i,...o]},V=()=>/android/i.test(window.navigator.userAgent),$=()=>{let e=window.navigator.userAgent;return/android/i.test(e)?"android":/iPhone|iPad|iPod/i.test(e)?"ios":/Macintosh/i.test(e)?"mac":"pc"},U=e=>{let{website:t,position:n,system:r,language:o}=e,i=[t,n,r,o].join("_");return"https://t.me/snaptube_video_download_bot?start=".concat(i)}},19517:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return J}});var r=n(97419),o=n(50818),i=n.n(o),a=n(92343),s=n(15600),l=n(79638),u=n(88799),d=n(82882),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},f=(0,a.createContext)({ns:{},config:{}});function p(e){var t,n,r=e.lang,o=e.namespaces,i=e.children,p=e.config,m=(0,d.Z)().lang,g=(0,s.useRouter)()||{},h=g.locale,v=g.defaultLocale,y=(0,a.useContext)(f),b=c(c(c({},"undefined"==typeof window?{}:(null===(n=null===(t=window.__NEXT_DATA__)||void 0===t?void 0:t.props)||void 0===n?void 0:n.__namespaces)||{}),y.ns),void 0===o?{}:o),w=r||m||h||v||"",x=c(c({},y.config),void 0===p?{}:p),E=x.localesToIgnore||["default"],k=!w||E.includes(w),T=new Intl.PluralRules(k?void 0:w),C=(0,u.Z)({config:x,allNamespaces:b,pluralRules:T,lang:w});return a.createElement(l.Z.Provider,{value:{lang:w,t:C}},a.createElement(f.Provider,{value:{ns:b,config:x}},i))}var m=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},g=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},h=function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function v(e){return e.reduce(function(e,t){return e.concat(t)},[])}var y=n(77604),b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},w=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},x=function(){return(x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},E=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},k=n(23690);
6let T=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),C=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function P(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return T.has(t.script)}let t=e.split("-")[0];return C.has(t)}var j=n(31704);let S=Symbol.for("react-aria.i18n.locale");function L(){let e="undefined"!=typeof window&&window[S]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:P(e)?"rtl":"ltr"}}let A=L(),M=new Set;function N(){for(let e of(A=L(),M))e(A)}let D=a.createContext(null);function K(e){let{locale:t,children:n}=e,r=function(){let e=(0,j.Av)(),[t,n]=(0,a.useState)(A);return((0,a.useEffect)(()=>(0===M.size&&window.addEventListener("languagechange",N),M.add(n),()=>{M.delete(n),0===M.size&&window.removeEventListener("languagechange",N)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}(),o=a.useMemo(()=>t?{locale:t,direction:P(t)?"rtl":"ltr"}:r,[r,t]);return a.createElement(D.Provider,{value:o},n)}var B=n(34911);n(91926);let I=a.createContext(null);function F(e){let{children:t}=e,n=(0,a.useContext)(I),[r,o]=(0,a.useState)(0),i=(0,a.useMemo)(()=>({parent:n,modalCount:r,addModal(){o(e=>e+1),n&&n.addModal()},removeModal(){o(e=>e-1),n&&n.removeModal()}}),[n,r]);return a.createElement(I.Provider,{value:i},t)}function R(e){let t;let{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,a.useContext)(I))&&t.modalCount>0||null}};return a.createElement("div",{"data-overlay-container":!0,...e,...n})}function O(e){return a.createElement(F,null,a.createElement(R,e))}var z=n(67353),_=({children:e,navigate:t,useHref:n,disableAnimation:o=!1,disableRipple:i=!1,skipFramerMotionAnimations:s=o,validationBehavior:l="aria",locale:u="en-US",defaultDates:d,createCalendar:c,...f})=>{let p=e;t&&(p=(0,r.jsx)(B.pG,{navigate:t,useHref:n,children:p}));let m=(0,a.useMemo)(()=>(o&&s&&(z.c.skipAnimations=!0),{createCalendar:c,defaultDates:d,disableAnimation:o,disableRipple:i,validationBehavior:l}),[c,null==d?void 0:d.maxDate,null==d?void 0:d.minDate,o,i,l]);return(0,r.jsx)(k.a,{value:m,children:(0,r.jsx)(K,{locale:u,children:(0,r.jsx)(O,{...f,children:p})})})},W=n(85279),H=n.n(W),V=n(45818),$=n.n(V),U=n(96679),G=n(53974);let q={en:"English",es:"Espa\xf1ol",pt:"Portugu\xeas",ar:"العربية",fr:"Fran\xe7ais",tr:"T\xfcrk\xe7e",id:"Indonesia",th:"ไทย",bn:"বাংলা",hi:"हिन्दी / Hindī",ru:"Русский",vi:"Tiếng Việt",az:"Azərbaycanca"};var X=n(45337),Z=n.n(X);n(60687),n(71784);let Y=e=>{let{children:t}=e,{lang:n}=(0,d.Z)(),{locales:o}=Z().i18n,i=(0,s.useRouter)(),{asPath:a,locale:l,defaultLocale:u}=i,c=l===u?"".concat(a.length>1?a:""):"/".concat(l).concat(a.length>1?a:""),f="https://www.hitube.io".concat(c);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(H(),{children:[(0,r.jsx)("link",{rel:"canonical",href:f}),(0,r.jsx)("meta",{property:"og:url",content:f}),(0,r.jsx)("meta",{property:"og:image",content:"https://www.hitube.io/media.png"}),null==o?void 0:o.map(e=>(0,r.jsx)("link",{rel:"alternate",href:"https://www.hitube.io".concat(e===u?"".concat(a.length>1?a:""):"/".concat(e).concat(a.length>1?a:"")),hrefLang:e},e)),(0,r.jsx)("meta",{name:"viewport",content:"viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,"}),(0,r.jsx)("meta",{name:"google-site-verification",content:"DizMPRPAUbffcBk7_efKn0W4HzZzX7ul8sbcK04IrbQ"}),(0,r.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,r.jsx)("link",{rel:"apple-touch-icon",href:"/assets/logo.png"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico",type:"image/x-icon"})]}),(0,r.jsx)($(),{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=G-3PL08RP91V",strategy:"afterInteractive",onLoad:()=>{function e(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];window.dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],e("js",new Date),e("config","G-3PL08RP91V")}}),(0,r.jsx)($(),{async:!0,strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n          new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n          j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
6j.src=\n          'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n          })(window,document,'script','dataLayer','GTM-NW6KNB5M');"}}),(0,r.jsx)(G.R,{value:{locales:o,curLang:n,lang:q[n]},children:(0,r.jsx)(U.Ar,{locales:o.map(e=>({label:q[e],value:e})),curLang:n,lang:q[n],onSwitchLocale:e=>{i.push(i.pathname,i.asPath,{locale:e})},children:t})})]})};var J=function(e,t){var r=this;function o(n){var r,o,i=t.defaultLocale;return a.createElement(p,{lang:(null===(r=n.pageProps)||void 0===r?void 0:r.__lang)||n.__lang||i,namespaces:(null===(o=n.pageProps)||void 0===o?void 0:o.__namespaces)||n.__namespaces,config:t},a.createElement(e,x({},n)))}return void 0===t&&(t={}),t.isLoader||!1===t.loader||console.warn('\uD83D\uDEA8 [next-translate] You can remove the "appWithI18n" HoC on the _app.js, unless you set "loader: false" in your i18n config file.'),"function"==typeof t.staticsHoc&&t.staticsHoc(o,e),"undefined"==typeof window?n.g.i18nConfig=t:window.i18nConfig=t,t.skipInitialProps||(o.getInitialProps=function(o){var i,a,s;return i=void 0,a=void 0,s=function(){var r,i,a;return E(this,function(s){switch(s.label){case 0:if(r=x(x({},o.ctx||{}),o||{}),i={pageProps:{}},!e.getInitialProps)return[3,2];return[4,e.getInitialProps(o)];case 1:i=s.sent()||{},s.label=2;case 2:return a=[x({},i)],[4,function(e){var t,r,o,i,a,s;return void 0===e&&(e={}),o=this,i=void 0,a=void 0,s=function(){var o,i,a,s,l,u,d;return w(this,function(c){switch(c.label){case 0:var f;if(i=(o=b(b({},("undefined"==typeof window?n.g:window).i18nConfig),e)).localesToIgnore||["default"],a=(null===(t=o.req)||void 0===t?void 0:t.locale)||o.locale||(null===(r=o.router)||void 0===r?void 0:r.locale)||o.defaultLocale||"",!o.pathname)return console.warn('\uD83D\uDEA8 [next-translate] You forgot to pass the "pathname" inside "loadNamespaces" configuration'),[2,{__lang:a}];if(i.includes(a))return[2,{__lang:a}];return o.loaderName||!1===o.loader||console.warn('\uD83D\uDEA8 [next-translate] You can remove the "loadNamespaces" helper, unless you set "loader: false" in your i18n config file.'),void 0===(f=o.pathname.replace(/\/index$/,""))&&(f=""),s=(f.length>1&&f.endsWith("/")?f.slice(0,-1):f)||"/",[4,function(e,t,n){var r=e.pages,o=void 0===r?{}:r;return m(this,void 0,void 0,function(){var e,r,i,a,s,l,u,d=this;return g(this,function(c){switch(c.label){case 0:return e="rgx:",r=function(e){return m(d,void 0,void 0,function(){return g(this,function(t){return[2,"function"==typeof e?e(n):e||[]]})})},i=Object.keys(o).reduce(function(n,i){return i.substring(0,e.length)===e&&new RegExp(i.replace(e,"")).test(t)&&n.push(r(o[i])),n},[]),a=[[]],[4,r(o["*"])];case 1:return s=[h.apply(void 0,a.concat([c.sent(),!0]))],[4,r(o[t])];case 2:return l=[h.apply(void 0,s.concat([c.sent(),!0]))],u=v,[4,Promise.all(i)];case 3:return[2,h.apply(void 0,l.concat([u.apply(void 0,[c.sent()]),!0]))]}})})}(o,s,o)];case 1:return l=c.sent(),u=function(){return Promise.resolve({})},[4,Promise.all(l.map(function(e){return"function"==typeof o.loadLocaleFrom?o.loadLocaleFrom(a,e).catch(function(){return{}}):u(a,e)}))];case 2:return d=c.sent()||[],function(e,t){var n=t.page,r=t.lang,o=t.namespaces;if(!1!==e.logBuild&&"undefined"==typeof window){var i=null==y.env.NODE_DISABLE_COLORS&&null==y.env.NO_COLOR&&"dumb"!==y.env.TERM&&"0"!==y.env.FORCE_COLOR,a=function(e){return i?"\x1b[36m".concat(e,"\x1b[0m"):e};console.log(a("next-translate"),"- compiled page:",a(n),"- locale:",a(r),"- namespaces:",a(o.join(", ")),"- used loader:",a(e.loaderName||"-"))}}(o,{page:s,lang:a,namespaces:l}),[2,{__lang:a,__namespaces:l.reduce(function(e,t,n){return e[t]=d[n]||null,e},{})}]}})},new(a||(a=Promise))(function(e,t){function n(e){try{l(s.next(e))}catch(e){t(e)}}function r(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):((o=t.value)instanceof a?o:new a(function(e){e(o)})).then(n,r)}l((s=s.apply(o,i||[])).next())})}(x(x(x({},r),t),{loaderName:"getInitialProps"}))];case 3:return[2,x.apply(void 0,a.concat([s.sent()]))]}})},new(a||(a=Promise))(function(e,t){function n(e){try{l(s.next(e))}catch(e){t(e)}}function o(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof a?r:new a(function(e){e(r)})).then(n,o)}l((s=s.apply(r,i||[])).next())})}),o}(function(e){let{Component:t,pageProps:n}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(_,{children:(0,r.jsx)(Y,{children:(0,r.jsx)(t,{...n})})})})},{...i(),isLoader:!0,skipInitialProps:!0,loadLocaleFrom:i()&&i().loadLocaleFrom||((e,t)=>n(30242)("./".concat(e,"/").concat(t)).then(e=>e.default))})},88026:function(e){"use strict";e.exports={SheetsConfig:[{sheetIndex:5,path:"*",sheetName:"Header"},{sheetIndex:6,path:"*",sheetName:"Common"},{sheetIndex:7,path:"/",sheetName:"HomePage"},{sheetIndex:8,sheetName:"instagram-photo-download"},{sheetIndex:9,sheetName:"instagram-story-download"},{sheetIndex:10,sheetName:"instagram-reel-download"},{sheetIndex:11,sheetName:"instagram-video-download"},{sheetIndex:12,sheetName:"instagram-story-viewer"},{sheetIndex:13,sheetName:"instagram-profile-viewer"},{sheetIndex:14,sheetName:"instagram-audio-download"},{sheetIndex:15,sheetName:"instagram-mp4"},{sheetIndex:16,sheetName:"instagram-profile-downloader"},{sheetIndex:17,sheetName:"instagram-story-download-hd"},{sheetIndex:18,sheetName:"download-posts-from-instagram"},{sheetIndex:19,sheetName:"facebook-photo-download"},{sheetIndex:20,sheetName:"facebook-story-download"},{sheetIndex:21,sheetName:"facebook-video-download"},{sheetIndex:22,sheetName:"facebook-private-video-download"},{sheetIndex:23,sheetName:"facebook-reels-download"},{sheetIndex:24,sheetName:"tiktok-video-download"},{sheetIndex:25,sheetName:"tiktok-downloader-hd"},{sheetIndex:26,sheetName:"tiktok-audio-download"},{sheetIndex:27,sheetName:"tiktok-mp4-download"},{sheetIndex:28,sheetName:"about-us"},{sheetIndex:29,sheetName:"android-apk"},{sheetIndex:30,sheetName:"changelog"},{sheetIndex:31,sheetName:"pinterest-video-download"},{sheetIndex:32,sheetName:"pinterest-image-download"},{sheetIndex:33,sheetName:"pinterest-gif-download"},{sheetIndex:34,sheetName:"x-twitter-video-download"},{sheetIndex:35,sheetName:"x-twitter-photo-download"}
6,{sheetIndex:36,sheetName:"x-twitter-gif-download"},{sheetIndex:37,sheetName:"download-story-tiktok"}]}},60687:function(){},71784:function(){},57386:function(e,t){var n;/*!
7	Copyright (c) 2018 Jed Watson.
8	Licensed under the MIT License (MIT), see
9	http://jedwatson.github.io/classnames
10*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}(n)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},32922:function(e,t,n){"use strict";n.d(t,{A:function(){return S}});var[r,o]=(0,n(19387).k)({name:"ButtonGroupContext",strict:!1}),i=n(23690),a=n(98583),s=n(92343),l=n(47283),u=n(24553),d=n(81195),c=n(46579),f=n(22164),p=n(87996),m=n(55847),g=n(78014),h=(0,m.tv)({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...g.Dh],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:p.J.solid.default},{variant:"solid",color:"primary",class:p.J.solid.primary},{variant:"solid",color:"secondary",class:p.J.solid.secondary},{variant:"solid",color:"success",class:p.J.solid.success},{variant:"solid",color:"warning",class:p.J.solid.warning},{variant:"solid",color:"danger",class:p.J.solid.danger},{variant:"shadow",color:"default",class:p.J.shadow.default},{variant:"shadow",color:"primary",class:p.J.shadow.primary},{variant:"shadow",color:"secondary",class:p.J.shadow.secondary},{variant:"shadow",color:"success",class:p.J.shadow.success},{variant:"shadow",color:"warning",class:p.J.shadow.warning},{variant:"shadow",color:"danger",class:p.J.shadow.danger},{variant:"bordered",color:"default",class:p.J.bordered.default},{variant:"bordered",color:"primary",class:p.J.bordered.primary},{variant:"bordered",color:"secondary",class:p.J.bordered.secondary},{variant:"bordered",color:"success",class:p.J.bordered.success},{variant:"bordered",color:"warning",class:p.J.bordered.warning},{variant:"bordered",color:"danger",class:p.J.bordered.danger},{variant:"flat",color:"default",class:p.J.flat.default},{variant:"flat",color:"primary",class:p.J.flat.primary},{variant:"flat",color:"secondary",class:p.J.flat.secondary},{variant:"flat",color:"success",class:p.J.flat.success},{variant:"flat",color:"warning",class:p.J.flat.warning},{variant:"flat",color:"danger",class:p.J.flat.danger},{variant:"faded",color:"default",class:p.J.faded.default},{variant:"faded",color:"primary",class:p.J.faded.primary},{variant:"faded",color:"secondary",class:p.J.faded.secondary}
10,{variant:"faded",color:"success",class:p.J.faded.success},{variant:"faded",color:"warning",class:p.J.faded.warning},{variant:"faded",color:"danger",class:p.J.faded.danger},{variant:"light",color:"default",class:[p.J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[p.J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[p.J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[p.J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[p.J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[p.J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[p.J.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[p.J.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[p.J.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[p.J.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[p.J.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[p.J.ghost.danger,"data-[hover=true]:!bg-danger !text-danger-foreground"]},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:g.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:g.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:g.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:g.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:g.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:g.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});(0,m.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var v=n(54298),y=n(1264),b=n(88401),w=n(53615),x=(0,m.tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"}
10,lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),E=n(75668),k=n(98787),T=n(97419),C=(0,w.Gp)((e,t)=>{let{slots:n,classNames:r,label:o,getSpinnerProps:i}=function(e){let[t,n]=(0,w.oe)(e,x.variantKeys),{children:r,className:o,classNames:i,label:a,...l}=t,u=(0,s.useMemo)(()=>x({...n}),[(0,E.Xx)(n)]),d=(0,k.W)(null==i?void 0:i.base,o),c=a||r,f=(0,s.useMemo)(()=>c&&"string"==typeof c?c:l["aria-label"]?"":"Loading",[r,c,l["aria-label"]]),p=(0,s.useCallback)(()=>({"aria-label":f,className:u.base({class:d}),...l}),[f,u,d,l]);return{label:c,slots:u,classNames:i,getSpinnerProps:p}}({...e});return(0,T.jsxs)("div",{ref:t,...i(),children:[(0,T.jsxs)("div",{className:n.wrapper({class:null==r?void 0:r.wrapper}),children:[(0,T.jsx)("i",{className:n.circle1({class:null==r?void 0:r.circle1})}),(0,T.jsx)("i",{className:n.circle2({class:null==r?void 0:r.circle2})})]}),o&&(0,T.jsx)("span",{className:n.label({class:null==r?void 0:r.label}),children:o})]})});C.displayName="NextUI.Spinner";var P=n(82308),j=(0,w.Gp)((e,t)=>{let{Component:n,domRef:r,children:p,styles:m,spinnerSize:g,spinner:w=(0,T.jsx)(C,{color:"current",size:g}),spinnerPlacement:x,startContent:E,endContent:k,isLoading:j,disableRipple:S,getButtonProps:L,getRippleProps:A,isIconOnly:M}=function(e){var t,n,r,p,m,g,w,x,E;let k=o(),T=(0,i.w)(),C=!!k,{ref:P,as:j,children:S,startContent:L,endContent:A,autoFocus:M,className:N,spinner:D,isLoading:K=!1,disableRipple:B=!1,fullWidth:I=null!=(t=null==k?void 0:k.fullWidth)&&t,radius:F=null==k?void 0:k.radius,size:R=null!=(n=null==k?void 0:k.size)?n:"md",color:O=null!=(r=null==k?void 0:k.color)?r:"default",variant:z=null!=(p=null==k?void 0:k.variant)?p:"solid",disableAnimation:_=null!=(g=null!=(m=null==k?void 0:k.disableAnimation)?m:null==T?void 0:T.disableAnimation)&&g,isDisabled:W=null!=(w=null==k?void 0:k.isDisabled)&&w,isIconOnly:H=null!=(x=null==k?void 0:k.isIconOnly)&&x,spinnerPlacement:V="start",onPress:$,onClick:U,...G}=e,q=j||"button",X="string"==typeof q,Z=(0,c.gy)(P),Y=null!=(E=B||(null==T?void 0:T.disableRipple))?E:_,{isFocusVisible:J,isFocused:Q,focusProps:ee}=(0,l.F)({autoFocus:M}),et=W||K,en=(0,s.useMemo)(()=>h({size:R,color:O,variant:z,radius:F,fullWidth:I,isDisabled:et,isInGroup:C,disableAnimation:_,isIconOnly:H,className:N}),[R,O,z,F,I,et,C,H,_,N]),{onClick:er,onClear:eo,ripples:ei}=(0,b.i)(),ea=(0,s.useCallback)(e=>{Y||et||_||!Z.current||er(e)},[Y,et,_,Z,er]),{buttonProps:es,isPressed:el}=(0,v.j)({elementType:j,isDisabled:et,onPress:$,onClick:(0,u.t)(U,ea),...G},Z),{isHovered:eu,hoverProps:ed}=(0,y.X)({isDisabled:et}),ec=(0,s.useCallback)((e={})=>({"data-disabled":(0,a.PB)(et),"data-focus":(0,a.PB)(Q),"data-pressed":(0,a.PB)(el),"data-focus-visible":(0,a.PB)(J),"data-hover":(0,a.PB)(eu),"data-loading":(0,a.PB)(K),...(0,d.d)(es,ee,ed,(0,f.z)(G,{enabled:X}),(0,f.z)(e))}),[K,et,Q,el,X,J,eu,es,ee,ed,G]),ef=e=>(0,s.isValidElement)(e)?(0,s.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ep=ef(L);return{Component:q,children:S,domRef:Z,spinner:D,styles:en,startContent:ep,endContent:ef(A),isLoading:K,spinnerPlacement:V,spinnerSize:(0,s.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[R],[R]),disableRipple:Y,getButtonProps:ec,getRippleProps:(0,s.useCallback)(()=>({ripples:ei,onClear:eo}),[ei,eo]),isIconOnly:H}}({...e,ref:t});return(0,T.jsxs)(n,{ref:r,className:m,...L(),children:[E,j&&"start"===x&&w,j&&M?null:p,j&&"end"===x&&w,k,!S&&(0,T.jsx)(P.L,{...A()})]})});j.displayName="NextUI.Button";var S=j},27202:function(e,t,n){"use strict";n.d(t,{Lj:function(){return r},y7:function(){return o}});var r={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]};r.easeOut,r.easeIn;var o={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:r.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:r.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:r.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:r.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:r.ease}},exit:{opacity:0,transition:{duration:.3,ease:r.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}}},22164:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoF
10ocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),o=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),i=/^(data-.*)$/,a=/^(aria-.*)$/,s=/^(on[A-Z].*)$/;function l(e,t={}){let{labelable:n=!0,enabled:l=!0,propNames:u,omitPropNames:d,omitEventNames:c,omitDataProps:f,omitEventProps:p}=t,m={};if(!l)return e;for(let t in e)!((null==d?void 0:d.has(t))||(null==c?void 0:c.has(t))&&s.test(t)||s.test(t)&&!o.has(t)||f&&i.test(t)||p&&s.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&a.test(t)||(null==u?void 0:u.has(t))||i.test(t))||s.test(t))&&(m[t]=e[t]);return m}},19387:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(92343);function o(e={}){let{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=e,i=r.createContext(void 0);return i.displayName=o,[i.Provider,function e(){var o;let a=r.useContext(i);if(!a&&t){let t=Error(n);throw t.name="ContextError",null==(o=Error.captureStackTrace)||o.call(Error,t,e),t}return a},i]}},46579:function(e,t,n){"use strict";n.d(t,{gy:function(){return o}});var r=n(92343);function o(e){let t=(0,r.useRef)(null);return(0,r.useImperativeHandle)(e,()=>t.current),t}"undefined"!=typeof window&&window.document&&window.document.createElement},88401:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(75668),o=n(92343);function i(e={}){let[t,n]=(0,o.useState)([]);return{ripples:t,onClick:(0,o.useCallback)(e=>{let t=e.currentTarget,o=Math.max(t.clientWidth,t.clientHeight),i=t.getBoundingClientRect();n(t=>[...t,{key:(0,r.QI)(t.length.toString()),size:o,x:e.clientX-i.left-o/2,y:e.clientY-i.top-o/2}])},[]),onClear:(0,o.useCallback)(e=>{n(t=>t.filter(t=>t.key!==e))},[]),...e}}},82308:function(e,t,n){"use strict";n.d(t,{L:function(){return d}});var r=n(52033),o=n(42109),i=n(46814),a=n(50518),s=n(95416),l=n(97419),u=e=>{let{ripples:t=[],motionProps:n,color:u="currentColor",style:d,onClear:c}=e;return(0,l.jsx)(l.Fragment,{children:t.map(e=>{let t=(0,s.uZ)(.01*e.size,.2,e.size>100?.75:.5);return(0,l.jsx)(r.X,{features:o.H,children:(0,l.jsx)(i.M,{mode:"popLayout",children:(0,l.jsx)(a.m.span,{animate:{transform:"scale(2)",opacity:0}
10,className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:u,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:`${e.size}px`,height:`${e.size}px`,...d},transition:{duration:t},onAnimationComplete:()=>{c(e.key)},...n})})},e.key)})})};u.displayName="NextUI.Ripple";var d=u},98787:function(e,t,n){"use strict";function r(...e){for(var t,n,o=0,i="";o<e.length;)(t=e[o++])&&(n=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(t))&&(i&&(i+=" "),i+=n);return i}n.d(t,{W:function(){return r}})},33357:function(e,t,n){"use strict";n.d(t,{e:function(){return r},x:function(){return o}});var r=e=>(null==e?void 0:e.length)<=4?e:null==e?void 0:e.slice(0,3),o=(...e)=>{let t=" ";for(let n of e)if("string"==typeof n&&n.length>0){t=n;break}return t}},98583:function(e,t,n){"use strict";n.d(t,{PB:function(){return l},Ts:function(){return r},mf:function(){return s},xb:function(){return a}});var r=!1;function o(e){return Array.isArray(e)}function i(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!o(e)}function a(e){return o(e)?o(e)&&0===e.length:i(e)?i(e)&&0===Object.keys(e).length:null==e||""===e}function s(e){return"function"==typeof e}var l=e=>e?"true":void 0},95416:function(e,t,n){"use strict";function r(e,t,n){return Math.min(Math.max(e,t),n)}function o(e,t=100){return Math.min(Math.max(e,0),t)}n.d(t,{Ez:function(){return o},uZ:function(){return r}})},75668:function(e,t,n){"use strict";function r(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function o(e){return`${e}-${Math.floor(1e6*Math.random())}`}function i(e){for(let t in e)t.startsWith("on")&&delete e[t];return e}function a(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}n.d(t,{Os:function(){return i},QI:function(){return o},Xx:function(){return a},v0:function(){return r}})},53615:function(e,t,n){"use strict";n.d(t,{Gp:function(){return o},oe:function(){return i}});var r=n(92343);function o(e){return(0,r.forwardRef)(e)}var i=(e,t,n=!0)=>{if(!t)return[e,{}];let r=t.reduce((t,n)=>n in e?{...t,[n]:e[n]}:t,{});return n?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,n)=>({...t,[n]:e[n]}),{}),r]:[e,r]}},23690:function(e,t,n){"use strict";n.d(t,{a:function(){return r},w:function(){return o}});var[r,o]=(0,n(19387).k)({name:"ProviderContext",strict:!1})},87996:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-700",secondary:"bg-secondary/20 text-secondary-700",success:"bg-success/20 text-success-800 dark:text-success",warning:"bg-warning/20 text-warning-800 dark:text-warning",danger:"bg-danger/20 text-danger-800 dark:text-danger-500",foreground:"bg-foreground
10/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},55847:function(e,t,n){"use strict";n.d(t,{tv:function(){return en}});var r=["small","medium","large"],o={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:r,borderRadius:r},classGroups:{shadow:[{shadow:r}],"font-size":[{text:["tiny",...r]}],"bg-image":["bg-stripe-gradient"]}},i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=e=>!e||"object"!=typeof e||0===Object.keys(e).length,s=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function l(e){let t=[];return function e(t,n){t.forEach(function(t){Array.isArray(t)?e(t,n):n.push(t)})}(e,t),t}var u=(...e)=>l(e).filter(Boolean),d=(e,t)=>{let n={},r=Object.keys(e),o=Object.keys(t);for(let i of r)if(o.includes(i)){let r=e[i],o=t[i];"object"==typeof r&&"object"==typeof o?n[i]=d(r,o):Array.isArray(r)||Array.isArray(o)?n[i]=u(o,r):n[i]=o+" "+r}else n[i]=e[i];for(let e of o)r.includes(e)||(n[e]=t[e]);return n},c=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,f=/^\[(.+)\]$/;function p(e,t){var n=e;return t.split("-").forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}var m=/\s+/;function g(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){if("string"==typeof t)return t;for(var n,r="",o=0;o<t.length;o++)t[o]&&(n=e(t[o]))&&(r&&(r+=" "),r+=n);return r}(e))&&(r&&(r+=" "),r+=t);return r}function h(){for(var e,t,n,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=function(r){var i=o[0];return t=(e=function(e){var t,n,r,o,i,a,s,l,u,d,c;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):o(e,t)}}}(e.cacheSize),splitModifiers:(n=1===(t=e.separator||":").length,r=t[0],o=t.length,function(e){for(var i,a=[],s=0,l=0,u=0;u<e.length;u++){var d=e[u];if(0===s){if(d===r&&(n||e.slice(u,u+o)===t)){a.push(e.slice(l,u)),l=u+o;continue}if("/"===d){i=u;continue}}"["===d?s++:"]"===d&&s--}var c=0===a.length?e:e.substring(l),f=c.startsWith("!"),p=f?c.substring(1):c;return{modifiers:a,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:i&&i>l?i-l:void 0}}),...(l=e.theme,u=e.prefix,d={nextPart:new Map,validators:[]},(c=Object.entries(e.classGroups),u?c.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):c).forEach(function(e){var t=e[0];(function e(t,n,r,o){t.forEach(function(t){if("string"==typeof t){(""===t?n:p(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(o),n,r,o);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(function(t){var i=t[0];e(t[1],p(n,i),r,o)})})})(e[1],d,t,l)}),i=e.conflictingClassGroups,s=void 0===(a=e.conflictingClassGroupModifiers)?{}:a,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,n){if(0===t.length)return n.classGroupId;var r=t[0],o=n.nextPart.get(r),i=o?e(t.slice(1),o):void 0;if(i)return i;if(0!==n.validators.length){var a=t.join("-");return n.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(t,d)||function(e){if(f.test(e)){var t=f.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var n=i[e]||[];return t&&s[e]?[].concat(n,s[e]):n}})}}(o.slice(1).reduce(function(e,t){return t(e)},i()))).cache.get,n=e.cache.set,a=s,s(r)};function s(r){var o,i,a,s,l,u=t(r);if(u)return u;var d=(i=(o=e).splitModifiers,a=o.getClassGroupId,s=o.getConflictingClassGroupIds,l=new Set,r.trim().split(m).map(function(e){var t=i(e),n=t.modifiers,r
10=t.hasImportantModifier,o=t.baseClassName,s=t.maybePostfixModifierPosition,l=a(s?o.substring(0,s):o),u=!!s;if(!l){if(!s||!(l=a(o)))return{isTailwindClass:!1,originalClassName:e};u=!1}var d=(function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t})(n).join(":");return{isTailwindClass:!0,modifierId:r?d+"!":d,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,o=t+n;return!l.has(o)&&(l.add(o),s(n,r).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return n(r,d),d}return function(){return a(g.apply(null,arguments))}}function v(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var y=/^\[(?:([a-z-]+):)?(.+)\]$/i,b=/^\d+\/\d+$/,w=new Set(["px","full","screen"]),x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\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$/,k=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function T(e){return A(e)||w.has(e)||b.test(e)||C(e)}function C(e){return F(e,"length",R)}function P(e){return F(e,"size",O)}function j(e){return F(e,"position",O)}function S(e){return F(e,"url",z)}function L(e){return F(e,"number",A)}function A(e){return!Number.isNaN(Number(e))}function M(e){return e.endsWith("%")&&A(e.slice(0,-1))}function N(e){return _(e)||F(e,"number",_)}function D(e){return y.test(e)}function K(){return!0}function B(e){return x.test(e)}function I(e){return F(e,"",W)}function F(e,t,n){var r=y.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function R(e){return E.test(e)}function O(){return!1}function z(e){return e.startsWith("url(")}function _(e){return Number.isInteger(Number(e))}function W(e){return k.test(e)}function H(){var e=v("colors"),t=v("spacing"),n=v("blur"),r=v("brightness"),o=v("borderColor"),i=v("borderRadius"),a=v("borderSpacing"),s=v("borderWidth"),l=v("contrast"),u=v("grayscale"),d=v("hueRotate"),c=v("invert"),f=v("gap"),p=v("gradientColorStops"),m=v("gradientColorStopPositions"),g=v("inset"),h=v("margin"),y=v("opacity"),b=v("padding"),w=v("saturate"),x=v("scale"),E=v("sepia"),k=v("skew"),F=v("space"),R=v("translate"),O=function(){return["auto","contain","none"]},z=function(){return["auto","hidden","clip","visible","scroll"]},_=function(){return["auto",D,t]},W=function(){return[D,t]},H=function(){return["",T]},V=function(){return["auto",A,D]},$=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},G=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},q=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",D]},Z=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},Y=function(){return[A,L]},J=function(){return[A,D]};return{cacheSize:500,theme:{colors:[K],spacing:[T],blur:["none","",B,D],brightness:Y(),borderColor:[e],borderRadius:["none","","full",B,D],borderSpacing:W(),borderWidth:H(),contrast:Y(),grayscale:X(),hueRotate:J(),invert:X(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[M,C],inset:_(),margin:_(),opacity:Y(),padding:W(),saturate:Y(),scale:Y(),sepia:X(),skew:J(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",D]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"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"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat($(),[D])}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}
vendor: 4,575 bytes, line 10
10],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",N]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",D]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",N]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",N]},D]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[N]},D]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",D]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",D]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(q())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(q(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(q(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",D,t]}],"min-w":[{"min-w":["min","max","fit",D,T]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[B]},B,D]}],h:[{h:[D,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",D,T]}],"max-h":[{"max-h":[D,t,"min","max","fit"]}],"font-size":[{text:["base",B,C]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",L]}],"font-family":[{font:[K]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",D]}],"line-clamp":[{"line-clamp":["none",A,L]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,T]}],"list-image":[{"list-image":["none",D]}],"list-style-type":[{list:["none","disc","decimal",D]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",T]}],"underline-offset":[{"underline-offset":["auto",D,T]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",D]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",D]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat($(),[j])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",P]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},S]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}
10],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(U(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 6,342 bytes, line 10
10],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[D,T]}],"outline-w":[{outline:[T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,I]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":G()}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",B,D]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[w]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",D]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",D]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",D]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[N,D]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",D]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",D]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",D]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,L]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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-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-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"],"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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var V=h(H),$=Object.prototype.hasOwnProperty,U=new Set(["string","number","boolean"]),G={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},q=e=>e||void 0,X=(...e)=>
10q(l(e).filter(Boolean).join(" ")),Z=null,Y={},J=!1,Q=(...e)=>t=>t.twMerge?((!Z||J)&&(J=!1,Z=a(Y)?V:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?h.apply(void 0,[H,e].concat(n)):h.apply(void 0,[function(){return function(e,t){for(var n in t)(function e(t,n,r){if(!$.call(t,n)||U.has(typeof r)||null===r){t[n]=r;return}if(Array.isArray(r)&&Array.isArray(t[n])){t[n]=t[n].concat(r);return}if("object"==typeof r&&"object"==typeof t[n]){if(null===t[n]){t[n]=r;return}for(var o in r)e(t[n],o,r[o])}})(e,n,t[n]);return e}(H(),e)}].concat(n))}(Y)),q(Z(X(e)))):X(e),ee=(e,t)=>{for(let n in t)e.hasOwnProperty(n)?e[n]=X(e[n],t[n]):e[n]=t[n];return e},et=(e,t)=>{let{extend:n=null,slots:r={},variants:o={},compoundVariants:l=[],compoundSlots:f=[],defaultVariants:p={}}=e,m={...G,...t},g=null!=n&&n.base?X(n.base,null==e?void 0:e.base):null==e?void 0:e.base,h=null!=n&&n.variants&&!a(n.variants)?d(o,n.variants):o,v=null!=n&&n.defaultVariants&&!a(n.defaultVariants)?{...n.defaultVariants,...p}:p;a(m.twMergeConfig)||s(m.twMergeConfig,Y)||(J=!0,Y=m.twMergeConfig);let y=a(null==n?void 0:n.slots),b=a(r)?{}:{base:X(null==e?void 0:e.base,y&&(null==n?void 0:n.base)),...r},w=y?b:ee({...null==n?void 0:n.slots},a(b)?{base:null==e?void 0:e.base}:b),x=e=>{if(a(h)&&a(r)&&y)return Q(g,null==e?void 0:e.class,null==e?void 0:e.className)(m);if(l&&!Array.isArray(l))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof l}`);if(f&&!Array.isArray(f))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof f}`);let t=(e,t,n=[],r)=>{let o=n;if("string"==typeof t)o=o.concat(c(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))o=o.concat(t.reduce((t,n)=>t.concat(`${e}:${n}`),[]));else if("object"==typeof t&&"string"==typeof r){for(let n in t)if(t.hasOwnProperty(n)&&n===r){let i=t[n];if(i&&"string"==typeof i){let t=c(i);o[r]?o[r]=o[r].concat(t.split(" ").map(t=>`${e}:${t}`)):o[r]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(i)&&i.length>0&&(o[r]=i.reduce((t,n)=>t.concat(`${e}:${n}`),[]))}}return o},o=(n,r=h,o=null,s=null)=>{var l;let u=r[n];if(!u||a(u))return null;let d=null!=(l=null==s?void 0:s[n])?l:null==e?void 0:e[n];if(null===d)return null;let c=i(d),f=Array.isArray(m.responsiveVariants)&&m.responsiveVariants.length>0||!0===m.responsiveVariants,p=null==v?void 0:v[n],g=[];if("object"==typeof c&&f)for(let[e,n]of Object.entries(c)){let r=u[n];if("initial"===e){p=n;continue}Array.isArray(m.responsiveVariants)&&!m.responsiveVariants.includes(e)||(g=t(e,r,g,o))}let y=u[c]||u[i(p)];return"object"==typeof g&&"string"==typeof o&&g[o]?ee(g,y):g.length>0?(g.push(y),g):y},s=(e,t)=>{if(!h||"object"!=typeof h)return null;let n=[];for(let r in h){let i=o(r,h,e,t),a="base"===e&&"string"==typeof i?i:i&&i[e];a&&(n[n.length]=a)}return n},d={};for(let t in e)void 0!==e[t]&&(d[t]=e[t]);let p=(t,n)=>{var r;let o="object"==typeof(null==e?void 0:e[t])?{[t]:null==(r=e[t])?void 0:r.initial}:{};return{...v,...d,...o,...n}},b=(e=[],t)=>{let n=[];for(let{class:r,className:o,...i}of e){let e=!0;for(let[n,r]of Object.entries(i)){let o=p(n,t);if(Array.isArray(r)){if(!r.includes(o[n])){e=!1;break}}else if(o[n]!==r){e=!1;break}}e&&(r&&n.push(r),o&&n.push(o))}return n},x=e=>{let t=b(l,e);return u(b(null==n?void 0:n.compoundVariants,e),t)},E=e=>{let t=x(e);if(!Array.isArray(t))return t;let n={};for(let e of t)if("string"==typeof e&&(n.base=Q(n.base,e)(m)),"object"==typeof e)for(let[t,r]of Object.entries(e))n[t]=Q(n[t],r)(m);return n},k=e=>{if(f.length<1)return null;let t={};for(let{slots:n=[],class:r,className:o,...i}of f){if(!a(i)){let t=!0;for(let n of Object.keys(i)){let r=p(n,e)[n];if(void 0===r||(Array.isArray(i[n])?!i[n].includes(r):i[n]!==r)){t=!1;break}}if(!t)continue}for(let e of n)t[e]=t[e]||[],t[e].push([r,o])}return t};if(!a(r)||!y){let e={};if("object"==typeof w&&!a(w))for(let t of Object.keys(w))e[t]=e=>{var n,r;return Q(w[t],s(t,e),(null!=(n=E(e))?n:[])[t],(null!=(r=k(e))?r:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(m)};return e}return Q(g,h?Object.keys(h).map(e=>o(e,h)):null,x(),null==e?void 0:e.class,null==e?void 0:e.className)(m)};return x.variantKeys=(()=>
10{if(!(!h||"object"!=typeof h))return Object.keys(h)})(),x.extend=n,x.base=g,x.slots=w,x.variants=h,x.defaultVariants=v,x.compoundSlots=f,x.compoundVariants=l,x},en=(e,t)=>{var n,r,i;return et(e,{...t,twMerge:null==(n=null==t?void 0:t.twMerge)||n,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(r=null==t?void 0:t.twMergeConfig)?void 0:r.theme,...o.theme},classGroups:{...null==(i=null==t?void 0:t.twMergeConfig)?void 0:i.classGroups,...o.classGroups}}})}},78014:function(e,t,n){"use strict";n.d(t,{Dh:function(){return r},ID:function(){return o},Zs:function(){return a},z6:function(){return i}});var r=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],o=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],i=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],a={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]}},54298:function(e,t,n){"use strict";n.d(t,{j:function(){return s}});var r=n(81195),o=n(40974),i=n(21531),a=n(45571);function s(e,t){let n,{elementType:s="button",isDisabled:l,onPress:u,onPressStart:d,onPressEnd:c,onPressChange:f,preventFocusOnPress:p,allowFocusWhenDisabled:m,onClick:g,href:h,target:v,rel:y,type:b="button",allowTextSelectionOnPress:w}=e;n="button"===s?{type:b,disabled:l}:{role:"button",tabIndex:l?void 0:0,href:"a"===s&&l?void 0:h,target:"a"===s?v:void 0,type:"input"===s?b:void 0,disabled:"input"===s?l:void 0,"aria-disabled":l&&"input"!==s?l:void 0,rel:"a"===s?y:void 0};let{pressProps:x,isPressed:E}=(0,a.r)({onPressStart:d,onPressEnd:c,onPressChange:f,onPress:u,isDisabled:l,preventFocusOnPress:p,allowTextSelectionOnPress:w,ref:t}),{focusableProps:k}=(0,i.k)(e,t);m&&(k.tabIndex=l?-1:k.tabIndex);let T=(0,r.d)(k,x,(0,o.z)(e,{labelable:!0}));return{isPressed:E,buttonProps:(0,r.d)(n,T,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==g||g(e)}})}}},92309:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(92343),o=n(73635);function i(e,t=[]){let n=(0,r.useRef)(e);return(0,o.G)(()=>{n.current=e}),(0,r.useCallback)((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)},t)}},73635:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(92343),o=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},47985:function(e,t,n){"use strict";n.d(t,{R:function(){return V}});var r=n(92343);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{};function i(e){let t=(0,r.useRef)(null);return o(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}var a=n(31704);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map,u=new Set(["id"]),d=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),c=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),f=/^(data-.*)$/,p=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},m=e=>e&&"window"in e&&e.window===e?e:p(e).defaultView||window,g=new Map,h=new Set;function v(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=g.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),g.delete(n.target)),0===g.size)){for(let e of h)e();h.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=g.get(n.target);r||(r=new Set,g.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function y(e){if(function(){if(null==b){b=!1;try{document.createElement("div").focus({get preventScroll(){return b=!0,!0}})}catch(e){}}return b}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?v():document.addEventListener("DOMContentLoaded",v));let b=null;function w(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function x(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function E(e){let t=null;return()=>(null==t&&(t=e()),t)}let k=E(function(){return x(/^Mac/i)}),T=E(function(){return x(/^iPhone/i)}),C=E(function(){return x(/^iPad/i)||k()&&navigator.maxTouchPoints>1}),P=E(function(){return T()||C()});E(function(){return k()||P()}
10),E(function(){return w(/AppleWebKit/i)&&!j()});let j=E(function(){return w(/Chrome/i)}),S=E(function(){return w(/Android/i)});E(function(){return w(/Firefox/i)});let L=null,A=new Set,M=new Map,N=!1,D=!1;function K(e,t){for(let n of A)n(e,t)}function B(e){N=!0,e.metaKey||!k()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(L="keyboard",K("keyboard",e))}function I(e){L="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(N=!0,K("pointer",e))}function F(e){(0===e.mozInputSource&&e.isTrusted||(S()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(N=!0,L="virtual")}function R(e){e.target!==window&&e.target!==document&&(N||D||(L="virtual",K("virtual",e)),N=!1,D=!1)}function O(){N=!1,D=!0}function z(e){if("undefined"==typeof window||M.get(m(e)))return;let t=m(e),n=p(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){N=!0,r.apply(this,arguments)},n.addEventListener("keydown",B,!0),n.addEventListener("keyup",B,!0),n.addEventListener("click",F,!0),t.addEventListener("focus",R,!0),t.addEventListener("blur",O,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",I,!0),n.addEventListener("pointermove",I,!0),n.addEventListener("pointerup",I,!0)):(n.addEventListener("mousedown",I,!0),n.addEventListener("mousemove",I,!0),n.addEventListener("mouseup",I,!0)),t.addEventListener("beforeunload",()=>{_(e)},{once:!0}),M.set(t,{focus:r})}let _=(e,t)=>{let n=m(e),r=p(e);t&&r.removeEventListener("DOMContentLoaded",t),M.has(n)&&(n.HTMLElement.prototype.focus=M.get(n).focus,r.removeEventListener("keydown",B,!0),r.removeEventListener("keyup",B,!0),r.removeEventListener("click",F,!0),n.removeEventListener("focus",R,!0),n.removeEventListener("blur",O,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",I,!0),r.removeEventListener("pointermove",I,!0),r.removeEventListener("pointerup",I,!0)):(r.removeEventListener("mousedown",I,!0),r.removeEventListener("mousemove",I,!0),r.removeEventListener("mouseup",I,!0)),M.delete(n))};function W(e){let t=p(e);if("virtual"===L){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&y(e)},requestAnimationFrame(()=>{0===g.size?n():h.add(n)})}else y(e)}"undefined"!=typeof document&&function(e){let t;let n=p(void 0);"loading"!==n.readyState?z(void 0):(t=()=>{z(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>_(e,t)}(),n(91926);let H=r.createContext(null);function V(e,t){let n,p,{role:m="dialog"}=e,g=function(e=[]){let t=function(e){let[t,n]=(0,r.useState)(void 0),i=(0,r.useRef)(null),u=(0,a.gP)(t),d=(0,r.useCallback)(e=>{i.current=e},[]);return s&&(l.has(u)&&!l.get(u).includes(d)?l.set(u,[...l.get(u),d]):l.set(u,[d])),o(()=>()=>{l.delete(u)},[u]),(0,r.useEffect)(()=>{let e=i.current;e&&(i.current=null,n(e))}),u}(),[n,u]=function(e){let[t,n]=(0,r.useState)(e),a=(0,r.useRef)(null),s=i(()=>{if(!a.current)return;let e=a.current.next();if(e.done){a.current=null;return}t===e.value?s():n(e.value)});o(()=>{a.current&&s()});let l=i(e=>{a.current=e(t),s()});return[t,l]}(t),d=(0,r.useCallback)(()=>{u(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,u]);return o(d,[t,d,...e]),n}();g=e["aria-label"]?void 0:g;let h=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{if(t.current&&!t.current.contains(document.activeElement)){W(t.current);let e=setTimeout(()=>{document.activeElement===t.current&&(h.current=!0,t.current&&(t.current.blur(),W(t.current)),h.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),o(()=>{null==p||p(!0)},[p=null==(n=(0,r.useContext)(H))?void 0:n.setContain]),{dialogProps:{...function(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(u.has(t)||n&&d.has(t)||r&&c.has(t)||(null==o?void 0:o.has(t))||f.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0}),role:m,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||g,onBlur:e=>{h.current&&e.stopPropagation()}},titleProps:{id:g}}}},27816:function(e,t,n){"use strict";n.d(t,{e:function(){return d}});var r=n(10585);let o=new Map,i=new Set;function a(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=o.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),o.delete(n.target)),0===o.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=o.get(n.target);r||(r=new Set,o.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){if(function(){if(null==l){l=!1;try{document.createElement("div").focus({get preventScroll(){return l=!0,!0}})}catch(e){}}return l}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a));let l=null;var u=n(37218);function d(e){let t=(0,r.r)(e);if("virtual"===(0,u.Jz)()){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&s(e)},requestAnimationFrame(()=>{0===o.size?n():i.add(n)})}else s(e)}},47283:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var r=n(37218),o=n(31540),i=n(29235),a=n(92343);function s(e={}){let{autoFocus:t=!1,isTextInput:n,within:s}=e,l=(0,a.useRef)({isFocused:!1,isFocusVisible:t||(0,r.E)()}),[u,d]=(0,a.useState)(!1),[c,f]=(0,a.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),p=(0,a.useCallback)(()=>f(l.current.isFocused&&l.current.isFocusVisible),[]),m=(0,a.useCallback)(e=>{l.current.isFocused=e,d(e),p()},[p]);(0,r.mG)(e=>{l.current.isFocusVisible=e,p()},[],{isTextInput:n});let{focusProps:g}=(0,o.K)({isDisabled:s,onFocusChange:m}),{focusWithinProps:h}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,s=(0,a.useRef)({isFocusWithin:!1}),l=(0,a.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,s]),u=(0,i.d)(l),d=(0,a.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),s.current.isFocusWithin=!0,u(e))},[r,o,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}
10:{focusWithinProps:{onFocus:d,onBlur:l}}}({isDisabled:!s,onFocusWithinChange:m});return{isFocused:u,isFocusVisible:c,focusProps:s?h:g}}},21531:function(e,t,n){"use strict";n.d(t,{k:function(){return f}});var r=n(27816),o=n(24703),i=n(92343);"undefined"!=typeof window&&window.document&&window.document.createElement;let a=new Map;var s=n(92074);function l(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,s.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=a.get(e);if(n)return n.forEach(e=>e(t)),t;let r=a.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}var u=n(31540);function d(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}let c=i.createContext(null);function f(e,t){let{focusProps:n}=(0,u.K)(e),{keyboardProps:a}={keyboardProps:e.isDisabled?{}:{onKeyDown:d(e.onKeyDown),onKeyUp:d(e.onKeyUp)}},s=l(n,a),f=function(e){let t=(0,i.useContext)(c)||{};(0,o.b)(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}});let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:f,m=(0,i.useRef)(e.autoFocus);return(0,i.useEffect)(()=>{m.current&&t.current&&(0,r.e)(t.current),m.current=!1},[t]),{focusableProps:l({...s,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},31540:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(29235),o=n(92343),i=n(10585);function a(e){let{isDisabled:t,onFocus:n,onBlur:a,onFocusChange:s}=e,l=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return a&&a(e),s&&s(!1),!0},[a,s]),u=(0,r.d)(l),d=(0,o.useCallback)(e=>{let t=(0,i.r)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),s&&s(!0),u(e))},[s,n,u]);return{focusProps:{onFocus:!t&&(n||s||a)?d:void 0,onBlur:!t&&(a||s)?l:void 0}}}},37218:function(e,t,n){"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Jz:function(){return L},E:function(){return S},mG:function(){return M}});let a=i(function(){return o(/^Mac/i)}),s=i(function(){return o(/^iPhone/i)}),l=i(function(){return o(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=i(function(){return s()||l()});i(function(){return a()||u()}),i(function(){return r(/AppleWebKit/i)&&!d()});let d=i(function(){return r(/Chrome/i)}),c=i(function(){return r(/Android/i)});i(function(){return r(/Firefox/i)});var f=n(10585),p=n(92343);let m=null,g=new Set,h=new Map,v=!1,y=!1,b={Tab:!0,Escape:!0};function w(e,t){for(let n of g)n(e,t)}function x(e){v=!0,e.metaKey||!a()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(m="keyboard",w("keyboard",e))}
10function E(e){m="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(v=!0,w("pointer",e))}function k(e){(0===e.mozInputSource&&e.isTrusted||(c()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(v=!0,m="virtual")}function T(e){e.target!==window&&e.target!==document&&(v||y||(m="virtual",w("virtual",e)),v=!1,y=!1)}function C(){v=!1,y=!0}function P(e){if("undefined"==typeof window||h.get((0,f.k)(e)))return;let t=(0,f.k)(e),n=(0,f.r)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){v=!0,r.apply(this,arguments)},n.addEventListener("keydown",x,!0),n.addEventListener("keyup",x,!0),n.addEventListener("click",k,!0),t.addEventListener("focus",T,!0),t.addEventListener("blur",C,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",E,!0),n.addEventListener("pointermove",E,!0),n.addEventListener("pointerup",E,!0)):(n.addEventListener("mousedown",E,!0),n.addEventListener("mousemove",E,!0),n.addEventListener("mouseup",E,!0)),t.addEventListener("beforeunload",()=>{j(e)},{once:!0}),h.set(t,{focus:r})}let j=(e,t)=>{let n=(0,f.k)(e),r=(0,f.r)(e);t&&r.removeEventListener("DOMContentLoaded",t),h.has(n)&&(n.HTMLElement.prototype.focus=h.get(n).focus,r.removeEventListener("keydown",x,!0),r.removeEventListener("keyup",x,!0),r.removeEventListener("click",k,!0),n.removeEventListener("focus",T,!0),n.removeEventListener("blur",C,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",E,!0),r.removeEventListener("pointermove",E,!0),r.removeEventListener("pointerup",E,!0)):(r.removeEventListener("mousedown",E,!0),r.removeEventListener("mousemove",E,!0),r.removeEventListener("mouseup",E,!0)),h.delete(n))};function S(){return"pointer"!==m}function L(){return m}"undefined"!=typeof document&&function(e){let t;let n=(0,f.r)(void 0);"loading"!==n.readyState?P(void 0):(t=()=>{P(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>j(e,t)}();let A=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function M(e,t,n){P(),(0,p.useEffect)(()=>{let t=(t,r)=>{(function(e,t,n){var r;let o="undefined"!=typeof window?(0,f.k)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?(0,f.k)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,f.k)(null==n?void 0:n.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?(0,f.k)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof o&&!A.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof i||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof s&&!b[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(S())};return g.add(t),()=>{g.delete(t)}},t)}},29235:function(e,t,n){"use strict";n.d(t,{d:function(){return a}});var r=n(92343),o=n(24703);class i{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,o.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,r.useRef)(null);return(0,o.b)(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,r.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new i("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();
10let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}},10585:function(e,t,n){"use strict";n.d(t,{k:function(){return o},r:function(){return r}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},24703:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(92343);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},35077:function(e,t,n){"use strict";n.d(t,{j:function(){return p}});let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),o=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var i=n(92343),a=n(31704);let s=Symbol.for("react-aria.i18n.locale");function l(){let e="undefined"!=typeof window&&window[s]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return o.has(t)}(e)?"ltr":"rtl"}}let u=l(),d=new Set;function c(){for(let e of(u=l(),d))e(u)}let f=i.createContext(null);function p(){let e=function(){let e=(0,a.Av)(),[t,n]=(0,i.useState)(u);return((0,i.useEffect)(()=>(0===d.size&&window.addEventListener("languagechange",c),d.add(n),()=>{d.delete(n),0===d.size&&window.removeEventListener("languagechange",c)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,i.useContext)(f)||e}},86535:function(e,t,n){"use strict";let r;n.d(t,{q:function(){return p}});var o=n(35077);let i=Symbol.for("react-aria.i18n.locale"),a=Symbol.for("react-aria.i18n.strings");class s{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){if(t[e])return t[e];let r=Intl.Locale?new Intl.Locale(e).language:e.split("-")[0];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[i];if(void 0===r){let e=window[a];if(!e)return null;for(let n in r={},e)r[n]=new s({[t]:e[n]},t)}let n=null==r?void 0:r[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}let l=new Map,u=new Map;class d{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let o=this.locale+":"+n,i=l.get(o);return i||(i=new Intl.PluralRules(this.locale,{type:n}),l.set(o,i)),"function"==typeof(r=t[i.select(e)]||t.other)?r():r}number(e){let t=u.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),u.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}var c=n(92343);let f=new WeakMap;function p(e,t){let n,{locale:r}=(0,o.j)(),i=t&&s.getGlobalDictionaryForPackage(t)||((n=f.get(e))||(n=new s(e),f.set(e,n)),n);return(0,c.useMemo)(()=>new d(r,i),[r,i])}},1264:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(92343);let o=!1,i=0;function a(){o=!0,setTimeout(()=>{o=!1},50)}function s(e){"touch"===e.pointerType&&a()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",a),i++,()=>{--i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",a))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:a}
10=e,[s,u]=(0,r.useState)(!1),d=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:c,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(d.pointerType=r,a||"touch"===r||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let o=e.currentTarget;d.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(d.pointerType="",d.target=null,"touch"===t||!d.isHovered)return;d.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(s.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{d.ignoreEmulatedMouseEvents||o||e(t,"mouse"),d.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:s,triggerHoverEnd:r}},[t,n,i,a,d]);return(0,r.useEffect)(()=>{a&&f({currentTarget:d.target},d.pointerType)},[a]),{hoverProps:c,isHovered:s}}},45571:function(e,t,n){"use strict";n.d(t,{r:function(){return M}});var r=n(6038),o=n(53808);let i=new Map,a=new Set;function s(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=i.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),i.delete(n.target)),0===i.size)){for(let e of a)e();a.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=i.get(n.target);r||(r=new Set,i.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?s():document.addEventListener("DOMContentLoaded",s));let l="default",u="",d=new WeakMap;function c(e){if((0,r.gn)()){if("default"===l){let t=(0,o.r)(e);u=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}l="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(d.set(e,e.style.userSelect),e.style.userSelect="none")}function f(e){if((0,r.gn)())"disabled"===l&&(l="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===l){let t=(0,o.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=u||""),u="",l="default"}},requestAnimationFrame(()=>{0===i.size?t():a.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&d.has(e)){let t=d.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),d.delete(e)}}var p=n(92343);let m=p.createContext({register:()=>{}});m.displayName="PressResponderContext";var g=n(59700),h=n(74619),v=n(59043);function y(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let b=new Map;var w=n(92074);function x(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=y(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,w.Z)(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=b.get(e);if(n)return n.forEach(e=>e(t)),t;let r=b.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}var E=n(60554),k=n(53163);function T(e){if(function(){if(null==C){C=!1;try{document.createElement("div").focus({get preventScroll(){return C=!0,!0}})}catch(e){}}return C}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}let C=null;function P(e,t,n=!0){var o,i;let{metaKey:a,ctrlKey:s,altKey:l,shiftKey:u}=t;(0,r.vU)()&&(null===(i=window.event)||void 0===i?void 0:null===(o=i.type)||void 0===o?void 0:o.startsWith("key"))&&"_blank"===e.target&&((0,r.V5)()?a=!0:s=!0);let d=(0,r.Pf)()&&(0,r.V5)()&&!(0,r.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:s,altKey:l,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:s,altKey:l,shiftKey:u,bubbles:!0,cancelable:!0});P.isOpening=n,T(e),e.dispatchEvent(d),P.isOpening=!1}P.isOpening=!1;var j=n(63262),S=new WeakMap;class L{continuePropagation(){(0,v._)(this,S,!1)}get shouldStopPropagation(){return(0,g._)(this,S)}constructor(e,t,n){(0,h._)(this,S,{writable:!0,value:void 0}),(0,v._)(this,S,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}let A=Symbol("linkClicked");function M(e){let t,n,i,a,{onPress:s,onPressChange:l,onPressStart:u,onPressEnd:d,onPressUp:g,isDisabled:h,isPressed:v,preventFocusOnPress:b,shouldCancelOnPointerExit:w,allowTextSelectionOnPress:C,ref:S,...M}=function(e){var t;let n=(0,p.useContext)(m);if(n){let{register:t,...r}=n;e=x(r,e),t()}return t=e.ref,(0,E.b)(()=>
10{if(n&&n.ref&&t)return n.ref.current=t.current,()=>{n.ref&&(n.ref.current=null)}}),e}(e),[O,z]=(0,p.useState)(!1),_=(0,p.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:W,removeAllGlobalListeners:H}=(t=(0,p.useRef)(new Map),n=(0,p.useCallback)((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,r,o)},[]),i=(0,p.useCallback)((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)},[]),a=(0,p.useCallback)(()=>{t.current.forEach((e,t)=>{i(e.eventTarget,e.type,t,e.options)})},[i]),(0,p.useEffect)(()=>a,[a]),{addGlobalListener:n,removeGlobalListener:i,removeAllGlobalListeners:a}),V=(0,k.i)((e,t)=>{let n=_.current;if(h||n.didFirePressStart)return!1;let r=!0;if(n.isTriggeringEvent=!0,u){let n=new L("pressstart",t,e);u(n),r=n.shouldStopPropagation}return l&&l(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,z(!0),r}),$=(0,k.i)((e,t,n=!0)=>{let r=_.current;if(!r.didFirePressStart)return!1;r.ignoreClickAfterPress=!0,r.didFirePressStart=!1,r.isTriggeringEvent=!0;let o=!0;if(d){let n=new L("pressend",t,e);d(n),o=n.shouldStopPropagation}if(l&&l(!1),z(!1),s&&n&&!h){let n=new L("press",t,e);s(n),o&&(o=n.shouldStopPropagation)}return r.isTriggeringEvent=!1,o}),U=(0,k.i)((e,t)=>{let n=_.current;if(h)return!1;if(g){n.isTriggeringEvent=!0;let r=new L("pressup",t,e);return g(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),G=(0,k.i)(e=>{let t=_.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&$(B(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,H(),C||f(t.target))}),q=(0,k.i)(e=>{w&&G(e)}),X=(0,p.useMemo)(()=>{let e=_.current,t={onKeyDown(t){if(D(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var i;R(t.target,t.key)&&t.preventDefault();let a=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,a=V(t,"keyboard");let r=t.currentTarget;W((0,o.r)(t.currentTarget),"keyup",y(t=>{D(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&U(B(e.target,t),"keyboard")},n),!0)}a&&t.stopPropagation(),t.metaKey&&(0,r.V5)()&&(null===(i=e.metaKeyEvents)||void 0===i||i.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!P.isOpening){let n=!0;if(h&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,j.Z)(t.nativeEvent))){h||b||T(t.currentTarget);let e=V(t,"virtual"),r=U(t,"virtual"),o=$(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,o;if(e.isPressed&&e.target&&D(t,e.target)){R(t.target,t.key)&&t.preventDefault();let n=t.target;$(B(e.target,t),"keyboard",e.target.contains(n)),H(),"Enter"!==t.key&&N(e.target)&&e.target.contains(n)&&!t[A]&&(t[A]=!0,P(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,j.c)(t.nativeEvent)){e.pointerType="virtual";return}F(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,h||b||T(t.currentTarget),C||c(e.target),a=V(t,e.pointerType),W((0,o.r)(t.currentTarget),"pointermove",n,!1),W((0,o.r)(t.currentTarget),"pointerup",r,!1),W((0,o.r)(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(F(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&I(t,t.currentTarget)&&U(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&I(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,V(B(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,$(B(e.target,t),e.pointerType,!1),q(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(I(t,e.target)&&null!=e.pointerType?$(B(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&$(B(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,H(),C||f(e.target))},i=e=>{G(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&G(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(F(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,j.Z)(t.nativeEvent)?"virtual":"mouse",h||b||T(t.currentTarget),V(t,e.pointerType)&&t.stopPropagation(),W((0,o.r)(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=V(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=$(t,e.pointerType,!1),q(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&U(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,H(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&I(t,e.target)&&null!=e.pointerType?$(B(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&$(B(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",h||b||T(t.currentTarget),C||c(e.target),V(t,e.pointerType)&&t.stopPropagation(),W((0,o.k)(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=K(t.nativeEvent,e.activePointerId),r=!0;n&&I(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=V(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=$(t,e.pointerType,!1),q(t)),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=K(t.nativeEvent,e.activePointerId),r=!0;n&&I(n,t.currentTarget)&&null!=e.pointerType?(U(t,e.pointerType),r=$(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=$(t,e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!C&&f(e.target),H()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&G(t))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&G({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&G(e)}}return t},[W,h,b,H,C,G,q,$,V,U]);return(0,p.useEffect)(()=>()=>{var e;C||f(null!==(e=_.current.target)&&void 0!==e?e:void 0)},[C]),{isPressed:v||O,pressProps:x(M,X)}}function N(e){return"A"===e.tagName&&e.hasAttribute("href")}function D(e,t){let{key:n,code:r}=e,i=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,o.k)(t).HTMLInputElement&&!z(t,n)||t instanceof(0,o.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&N(t))&&"Enter"!==n)}function K(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function B(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function I(e,t){let n,r,o=t.getBoundingClientRect(),i=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiu
10sY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function F(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function R(e,t){return e instanceof HTMLInputElement?!z(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!N(e)}let O=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function z(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:O.has(e.type)}},53808:function(e,t,n){"use strict";n.d(t,{k:function(){return o},r:function(){return r}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},63262:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},c:function(){return i}});var r=n(6038);function o(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,r.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,r.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},6038:function(e,t,n){"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Dt:function(){return f},Pf:function(){return d},V5:function(){return a},gn:function(){return u},vU:function(){return p},zc:function(){return l}});let a=i(function(){return o(/^Mac/i)}),s=i(function(){return o(/^iPhone/i)}),l=i(function(){return o(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=i(function(){return s()||l()});i(function(){return a()||u()});let d=i(function(){return r(/AppleWebKit/i)&&!c()}),c=i(function(){return r(/Chrome/i)}),f=i(function(){return r(/Android/i)}),p=i(function(){return r(/Firefox/i)})},53163:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(60554),o=n(92343);function i(e){let t=(0,o.useRef)(null);return(0,r.b)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},60554:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(92343);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},58175:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(80054);function o(e){let{id:t,label:n,"aria-labelledby":o,"aria-label":i,labelElementType:a="label"}=e;t=(0,r.Me)(t);let s=(0,r.Me)(),l={};return n?(o=o?`${s} ${o}`:s,l={id:s,htmlFor:"label"===a?t:void 0}):o||i||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:l,fieldProps:function(e,t){let{id:n,"aria-label":o,"aria-labelledby":i}=e;return n=(0,r.Me)(n),i&&o?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),{id:n,"aria-label":o,"aria-labelledby":i}}({id:t,"aria-label":i,"aria-labelledby":o})}}},80054:function(e,t,n){"use strict";n.d(t,{ur:function(){return d},Me:function(){return u},mp:function(){return c}});var r=n(92343);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{};function i(e){let t=(0,r.useRef)(null);return o(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}var a=n(31704);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,n]=(0,r.useState)(e),i=(0,r.useRef)(null),u=(0,a.gP)(t),d=(0,r.useCallback)(e=>{i.current=e},[]);return s&&(l.has(u)&&!l.get(u).includes(d)?l.set(u,[...l.get(u),d]):l.set(u,[d])),o(()=>()=>{l.delete(u)},[u]),(0,r.useEffect)(()=>{let e=i.current;e&&(i.current=null,n(e))}),u}function d(e,t){if(e===t)return e;let n=l.get(e);
10if(n)return n.forEach(e=>e(t)),t;let r=l.get(t);return r?(r.forEach(t=>t(e)),e):t}function c(e=[]){let t=u(),[n,a]=function(e){let[t,n]=(0,r.useState)(e),a=(0,r.useRef)(null),s=i(()=>{if(!a.current)return;let e=a.current.next();if(e.done){a.current=null;return}t===e.value?s():n(e.value)});o(()=>{a.current&&s()});let l=i(e=>{a.current=e(t),s()});return[t,l]}(t),s=(0,r.useCallback)(()=>{a(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,a]);return o(s,[t,s,...e]),n}},55982:function(e,t,n){"use strict";n.d(t,{U:function(){return f}});var r={};r={"ar-AE":{dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":{dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:`Schlie\xdfen`},"el-GR":{dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:`L\xf5peta`},"fi-FI":{dismiss:`Hylk\xe4\xe4`},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:`Elutas\xedt\xe1s`},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":{dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:`Ner\u{101}d\u{12B}t`},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":{dismiss:`Zru\u{161}i\u{165}`},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":{dismiss:`\u{53D6}\u{6D88}`},"zh-TW":{dismiss:`\u{95DC}\u{9589}`}};var o=n(92343),i=n(90102),a=n(86535),s=n(20016),l=n(92074),u=n(93188);let d={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 c(e){let{children:t,elementType:n="div",isFocusable:r,style:a,...c}=e,{visuallyHiddenProps:f}=function(e={}){let{style:t,isFocusable:n}=e,[r,i]=(0,o.useState)(!1),{focusWithinProps:a}=(0,u.L)({isDisabled:!n,onFocusWithinChange:e=>i(e)}),s=(0,o.useMemo)(()=>r?t:t?{...d,...t}:d,[r]);return{visuallyHiddenProps:{...a,style:s}}}(e);return o.createElement(n,function(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,s.t)(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=(0,l.Z)(n,o):"id"===e&&n&&o?t.id=(0,i.ur)(n,o):t[e]=void 0!==o?o:n}}return t}(c,f),t)}function f(e){var t;let{onDismiss:n,...s}=e,l=function(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=(0,i.Me)(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),r||o||!t||(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}(s,(0,a.q)((t=r)&&t.__esModule?t.default:t,"@react-aria/overlays").format("dismiss"));return o.createElement(c,null,o.createElement("button",{...l,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}},12790:function(e,t,n){"use strict";n.d(t,{aV:function(){return f},Bq:function(){return p}});var r=n(92343);let o=(0,r.createContext)({}),i=r.createContext({register:()=>{}});function a({children:e}){let t=(0,r.useMemo)(()=>({register:()=>{}}),[]);return r.createElement(i.Provider,{value:t},e)}i.displayName="PressResponderContext";var s=n(67143),l=n(91926),u=n(31704),d=n(62766);let c=r.createContext(null);function f(e){var t;let n=(0,u.Av)(),{portalContainer:i=n?null:document.body,isExiting:d}=e,[f,p]=(0,r.useState)(!1),m=(0,r.useMemo)(()=>({contain:f,setContain:p}),[f,p]),{getContainer:g}=null!==(t=(0,r.useContext)(o))&&void 0!==t?t:{};if(!e.portalContainer&&g&&(i=g()),!i)return null;let h=e.children;return e.disableFocusManagement||(h=r.createElement(s.MT,{restoreFocus:!0,contain:f&&!d},h)),h=r.createElement(c.Provider,{value:m},r.createElement(a,null,h)),l.createPortal(h,i)}function p(){let e=(0,r.useContext)(c),t=null==e?void 0:e.setContain;(0,d.b)(()=>{null==t||t(!0)},[t])}},38106:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});let r=new WeakMap,o=[];function i(e,t=document.body){let n=new Set(e),i=new Set,a=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(t);let t=e=>{if(n.has(e)||i.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),o=t(e);if(o===NodeFilter.FILTER_ACCEPT&&s(e),o!==NodeFilter.FILTER_REJECT){let e=r.nextNode();for(;null!=e;)s(e),e=r.nextNode()}},s=e=>{var t;let n=null!==(t=r.get(e))&&void 0!==t?t:0;("true"!==e.getAttribute("aria-hidden")||0!==n)&&(0===n&&e.setAttribute("aria-hidden","true"),i.add(e),r.set(e,n+1))};o.length&&o[o.length-1].disconnect(),a(t);let l=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...n,...i].some(e=>
10e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),i.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?n.add(e):e instanceof Element&&a(e)}});l.observe(t,{childList:!0,subtree:!0});let u={observe(){l.observe(t,{childList:!0,subtree:!0})},disconnect(){l.disconnect()}};return o.push(u),()=>{for(let e of(l.disconnect(),i)){let t=r.get(e);1===t?(e.removeAttribute("aria-hidden"),r.delete(e)):r.set(e,t-1)}u===o[o.length-1]?(o.pop(),o.length&&o[o.length-1].observe()):o.splice(o.indexOf(u),1)}}},33443:function(e,t,n){"use strict";n.d(t,{I:function(){return d}});var r=n(67143),o=n(92343),i=n(9179),a=n(71117);function s(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}var l=n(93188);let u=[];function d(e,t){let{onClose:n,shouldCloseOnBlur:d,isOpen:c,isDismissable:f=!1,isKeyboardDismissDisabled:p=!1,shouldCloseOnInteractOutside:m}=e;(0,o.useEffect)(()=>(c&&u.push(t),()=>{let e=u.indexOf(t);e>=0&&u.splice(e,1)}),[c,t]);let g=()=>{u[u.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:l}=e,u=(0,o.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),d=(0,i.i)(e=>{n&&s(e,t)&&(l&&l(e),u.current.isPointerDown=!0)}),c=(0,i.i)(e=>{n&&n(e)});(0,o.useEffect)(()=>{let e=u.current;if(r)return;let n=t.current,o=(0,a.r)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&s(n,t)&&c(n),e.isPointerDown=!1};return o.addEventListener("pointerdown",d,!0),o.addEventListener("pointerup",n,!0),()=>{o.removeEventListener("pointerdown",d,!0),o.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&s(n,t)&&c(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&s(n,t)&&c(n),e.isPointerDown=!1};return o.addEventListener("mousedown",d,!0),o.addEventListener("mouseup",n,!0),o.addEventListener("touchstart",d,!0),o.addEventListener("touchend",r,!0),()=>{o.removeEventListener("mousedown",d,!0),o.removeEventListener("mouseup",n,!0),o.removeEventListener("touchstart",d,!0),o.removeEventListener("touchend",r,!0)}}},[t,r,d,c])}({ref:t,onInteractOutside:f&&c?e=>{(!m||m(e.target))&&(u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault()),g())}:null,onInteractOutsideStart:e=>{(!m||m(e.target))&&u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:h}=(0,l.L)({isDisabled:!d,onBlurWithin:e=>{!(!e.relatedTarget||(0,r.cW)(e.relatedTarget))&&(!m||m(e.relatedTarget))&&n()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||p||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),g())},...h},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}},67143:function(e,t,n){"use strict";n.d(t,{MT:function(){return S},cW:function(){return I}});var r=n(71117);let o=new Map,i=new Set;function a(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=o.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),o.delete(n.target)),0===o.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=o.get(n.target);r||(r=new Set,o.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){if(function(){if(null==l){l=!1;try{document.createElement("div").focus({get preventScroll(){return l=!0,!0}})}catch(e){}}return l}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a));let l=null;var u=n(6784),d=n(92343);let c=null,f=new Set,p=new Map,m=!1,g=!1;function h(e,t){for(let n of f)n(e,t)}function v(e){m=!0,e.metaKey||!(0,u.V5)()&&e.altKey||e.ctrlKey||"Control"
10===e.key||"Shift"===e.key||"Meta"===e.key||(c="keyboard",h("keyboard",e))}function y(e){c="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(m=!0,h("pointer",e))}function b(e){(0===e.mozInputSource&&e.isTrusted||((0,u.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(m=!0,c="virtual")}function w(e){e.target!==window&&e.target!==document&&(m||g||(c="virtual",h("virtual",e)),m=!1,g=!1)}function x(){m=!1,g=!0}function E(e){if("undefined"==typeof window||p.get((0,r.k)(e)))return;let t=(0,r.k)(e),n=(0,r.r)(e),o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){m=!0,o.apply(this,arguments)},n.addEventListener("keydown",v,!0),n.addEventListener("keyup",v,!0),n.addEventListener("click",b,!0),t.addEventListener("focus",w,!0),t.addEventListener("blur",x,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",y,!0),n.addEventListener("pointermove",y,!0),n.addEventListener("pointerup",y,!0)):(n.addEventListener("mousedown",y,!0),n.addEventListener("mousemove",y,!0),n.addEventListener("mouseup",y,!0)),t.addEventListener("beforeunload",()=>{k(e)},{once:!0}),p.set(t,{focus:o})}let k=(e,t)=>{let n=(0,r.k)(e),o=(0,r.r)(e);t&&o.removeEventListener("DOMContentLoaded",t),p.has(n)&&(n.HTMLElement.prototype.focus=p.get(n).focus,o.removeEventListener("keydown",v,!0),o.removeEventListener("keyup",v,!0),o.removeEventListener("click",b,!0),n.removeEventListener("focus",w,!0),n.removeEventListener("blur",x,!1),"undefined"!=typeof PointerEvent?(o.removeEventListener("pointerdown",y,!0),o.removeEventListener("pointermove",y,!0),o.removeEventListener("pointerup",y,!0)):(o.removeEventListener("mousedown",y,!0),o.removeEventListener("mousemove",y,!0),o.removeEventListener("mouseup",y,!0)),p.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=(0,r.r)(void 0);"loading"!==n.readyState?E(void 0):(t=()=>{E(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>k(e,t)}();var T=n(62766);let C=d.createContext(null),P="react-aria-focus-scope-restore",j=null;function S(e){let t,n,{children:o,contain:i,restoreFocus:a,autoFocus:s}=e,l=(0,d.useRef)(null),u=(0,d.useRef)(null),c=(0,d.useRef)([]),{parentNode:f}=(0,d.useContext)(C)||{},p=(0,d.useMemo)(()=>new V({scopeRef:c}),[c]);(0,T.b)(()=>{let e=f||$.root;if($.getTreeNode(e.scopeRef)&&j&&!F(j,e.scopeRef)){let t=$.getTreeNode(j);t&&(e=t)}e.addChild(p),$.addNode(p)},[p,f]),(0,T.b)(()=>{let e=$.getTreeNode(c);e&&(e.contain=!!i)},[i]),(0,T.b)(()=>{var e;let t=null===(e=l.current)||void 0===e?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==u.current;)n.push(t),t.addEventListener(P,r),t=t.nextSibling;return c.current=n,()=>{for(let e of n)e.removeEventListener(P,r)}},[o]),(0,T.b)(()=>{if(a||i)return;let e=c.current,t=(0,r.r)(e?e[0]:void 0),n=e=>{let t=e.target;K(t,c.current)?j=c:B(t)||(j=null)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[c,a,i]),t=(0,d.useRef)(void 0),n=(0,d.useRef)(void 0),(0,T.b)(()=>{let e=c.current;if(!i){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let o=(0,r.r)(e?e[0]:void 0),a=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!D(c)||e.isComposing)return;let t=o.activeElement,n=c.current;if(!n||!K(t,n))return;let r=W(N(n),{tabbable:!0},n);if(!t)return;r.currentNode=t;let i=e.shiftKey?r.previousNode():r.nextNode();i||(r.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,i=e.shiftKey?r.previousNode():r.nextNode()),e.preventDefault(),i&&R(i,!0)},s=e=>{(!j||F(j,c))&&K(e.target,c.current)?(j=c,t.current=e.target):D(c)&&!B(e.target,c)?t.current?t.current.focus():j&&j.current&&z(j.current):D(c)&&(t.current=e.target)},l=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(o.activeElement&&D(c)&&!B(o.activeElement,c)){if(j=c,o.body.contains(e.target)){var n;t.current=e.target,null===(n=t.current)||void 0===n||n.focus()}else j.current&&z(j.current)}})};return o.addEventListener("keydown",a,!1),o.addEventListener("focusin",s,!1),null==e||e.forEach(e
10=>e.addEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",l,!1)),()=>{o.removeEventListener("keydown",a,!1),o.removeEventListener("focusin",s,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",l,!1))}},[c,i]),(0,T.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let o=(0,d.useRef)("undefined"!=typeof document?(0,r.r)(e.current?e.current[0]:void 0).activeElement:null);(0,T.b)(()=>{let o=e.current,i=(0,r.r)(o?o[0]:void 0);if(!t||n)return;let a=()=>{(!j||F(j,e))&&K(i.activeElement,e.current)&&(j=e)};return i.addEventListener("focusin",a,!1),null==o||o.forEach(e=>e.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),null==o||o.forEach(e=>e.removeEventListener("focusin",a,!1))}},[e,n]),(0,T.b)(()=>{let o=(0,r.r)(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!D(e)||t.isComposing)return;let n=o.activeElement;if(!K(n,e.current))return;let r=$.getTreeNode(e);if(!r)return;let i=r.nodeToRestore,a=W(o.body,{tabbable:!0});a.currentNode=n;let s=t.shiftKey?a.previousNode():a.nextNode();if(i&&o.body.contains(i)&&i!==o.body||(i=void 0,r.nodeToRestore=void 0),(!s||!K(s,e.current))&&i){a.currentNode=i;do s=t.shiftKey?a.previousNode():a.nextNode();while(K(s,e.current));(t.preventDefault(),t.stopPropagation(),s)?R(s,!0):B(i)?R(i,!0):n.blur()}};return n||o.addEventListener("keydown",i,!0),()=>{n||o.removeEventListener("keydown",i,!0)}},[e,t,n]),(0,T.b)(()=>{var n;let i=(0,r.r)(e.current?e.current[0]:void 0);if(!t)return;let a=$.getTreeNode(e);if(a)return a.nodeToRestore=null!==(n=o.current)&&void 0!==n?n:void 0,()=>{let n=$.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(K(i.activeElement,e.current)||i.activeElement===i.body&&function(e){let t=$.getTreeNode(j);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=$.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){_(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&$.getTreeNode(n.scopeRef)){_(O(n.scopeRef.current,!0));return}n=n.parent}}})}}},[e,t])}(c,a,i),function(e,t){let n=d.useRef(t);(0,d.useEffect)(()=>{n.current&&(j=e,!K((0,r.r)(e.current?e.current[0]:void 0).activeElement,j.current)&&e.current&&z(e.current)),n.current=!1},[e])}(c,s),(0,d.useEffect)(()=>{let e=(0,r.r)(c.current?c.current[0]:void 0).activeElement,t=null;if(K(e,c.current)){for(let n of $.traverse())n.scopeRef&&K(e,n.scopeRef.current)&&(t=n);t===$.getTreeNode(c)&&(j=t.scopeRef)}},[c]),(0,T.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=$.getTreeNode(c))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(c===j||F(c,j))&&(!r||$.getTreeNode(r))&&(j=r),$.removeTreeNode(c)},[c]);let m=(0,d.useMemo)(()=>({focusNext(e={}){let t=c.current,{from:n,tabbable:o,wrap:i,accept:a}=e,s=n||(0,r.r)(t[0]).activeElement,l=t[0].previousElementSibling,u=W(N(t),{tabbable:o,accept:a},t);u.currentNode=K(s,t)?s:l;let d=u.nextNode();return!d&&i&&(u.currentNode=l,d=u.nextNode()),d&&R(d,!0),d},focusPrevious(e={}){let t=c.current,{from:n,tabbable:o,wrap:i,accept:a}=e,s=n||(0,r.r)(t[0]).activeElement,l=t[t.length-1].nextElementSibling,u=W(N(t),{tabbable:o,accept:a},t);u.currentNode=K(s,t)?s:l;let d=u.previousNode();return!d&&i&&(u.currentNode=l,d=u.previousNode()),d&&R(d,!0),d},focusFirst(e={}){let t=c.current,{tabbable:n,accept:r}=e,o=W(N(t),{tabbable:n,accept:r},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&R(i,!0),i},focusLast(e={}){let t=c.current,{tabbable:n,accept:r}=e,o=W(N(t),{tabbable:n,accept:r},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&R(i,!0),i}}),[]),g=(0,d.useMemo)(()=>({focusManager:m,parentNode:p}),[p,m]);return d.createElement(C.Provider,{value:g},d.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),o,d.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}let L=["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]"],A=L.join(":not([hidden]),")+",[tabindex]:not
10([disabled]):not([hidden])";L.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let M=L.join(':not([hidden]):not([tabindex="-1"]),');function N(e){return e[0].parentElement}function D(e){let t=$.getTreeNode(j);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function K(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function B(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of $.traverse($.getTreeNode(t)))if(n&&K(e,n.current))return!0;return!1}function I(e){return B(e,j)}function F(e,t){var n;let r=null===(n=$.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function R(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{!function(e){let t=(0,r.r)(e);if("virtual"===c){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&s(e)},requestAnimationFrame(()=>{0===o.size?n():i.add(n)})}else s(e)}(e)}catch(e){}}function O(e,t=!0){let n=e[0].previousElementSibling,r=N(e),o=W(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();return t&&!i&&((o=W(r=N(e),{tabbable:!1},e)).currentNode=n,i=o.nextNode()),i}function z(e,t=!0){R(O(e,t))}function _(e){e.dispatchEvent(new CustomEvent(P,{bubbles:!0,cancelable:!0}))&&R(e)}function W(e,t,n){let o=(null==t?void 0:t.tabbable)?M:A,i=(0,r.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var i;return(null==t?void 0:null===(i=t.from)||void 0===i?void 0:i.contains(e))?NodeFilter.FILTER_REJECT:e.matches(o)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,r.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:o}=e.style,i="none"!==n&&"hidden"!==o&&"collapse"!==o;if(i){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);i="none"!==n&&"hidden"!==r&&"collapse"!==r}return i}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||K(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(i.currentNode=t.from),i}class H{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new V({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&K(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new H;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new V({scopeRef:null}),this.fastMap.set(null,this.root)}}class V{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let $=new H},93188:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(92343),o=n(62766),i=n(9179);class a{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function s(e){let t,n,{isDisabled:s,onBlurWithin:l,onFocusWithin:u,onFocusWithinChange:d}=e,c=(0,r.useRef)({isFocusWithin:!1}),f=(0,r.useCallback)(e=>{c.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(c.current.isFocusWithin=!1,l&&l(e),d&&d(!1))},[l,d,c]),p=(t=(0,r.useRef)({isFocused:!1,observer:null}),(0,o.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),n=(0,i.i)(e=>{null==f||f(e)}),(0,r.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new a("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();
10let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])),m=(0,r.useCallback)(e=>{c.current.isFocusWithin||document.activeElement!==e.target||(u&&u(e),d&&d(!0),c.current.isFocusWithin=!0,p(e))},[u,d,p]);return s?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:f}}}},20016:function(e,t,n){"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{t:function(){return r}})},71117:function(e,t,n){"use strict";n.d(t,{k:function(){return o},r:function(){return r}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},6784:function(e,t,n){"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Dt:function(){return f},Pf:function(){return d},V5:function(){return a},gn:function(){return u}});let a=i(function(){return o(/^Mac/i)}),s=i(function(){return o(/^iPhone/i)}),l=i(function(){return o(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=i(function(){return s()||l()});i(function(){return a()||u()});let d=i(function(){return r(/AppleWebKit/i)&&!c()}),c=i(function(){return r(/Chrome/i)}),f=i(function(){return r(/Android/i)});i(function(){return r(/Firefox/i)})},9179:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(62766),o=n(92343);function i(e){let t=(0,o.useRef)(null);return(0,r.b)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},90102:function(e,t,n){"use strict";n.d(t,{Me:function(){return l},ur:function(){return u}});var r=n(62766),o=n(92343),i=n(31704);let a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),s=new Map;function l(e){let[t,n]=(0,o.useState)(e),l=(0,o.useRef)(null),u=(0,i.gP)(t),d=(0,o.useCallback)(e=>{l.current=e},[]);return a&&(s.has(u)&&!s.get(u).includes(d)?s.set(u,[...s.get(u),d]):s.set(u,[d])),(0,r.b)(()=>()=>{s.delete(u)},[u]),(0,o.useEffect)(()=>{let e=l.current;e&&(l.current=null,n(e))}),u}function u(e,t){if(e===t)return e;let n=s.get(e);if(n)return n.forEach(e=>e(t)),t;let r=s.get(t);return r?(r.forEach(t=>t(e)),e):t}},62766:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(92343);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},31704:function(e,t,n){"use strict";n.d(t,{Av:function(){return p},gP:function(){return u}});var r=n(92343);let o={prefix:String(Math.round(1e10*Math.random())),current:0},i=r.createContext(o),a=r.createContext(!1),s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(p()),i=n?"react-aria":`react-aria${o.prefix}`;return e||`${i}-${t}`}:function(e){let t=(0,r.useContext)(i);t!==o||s||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 n=function(e=!1){let t=(0,r.useContext)(i),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,a;let e=null===(a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===a?void 0:null===(o=a.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),a=`react-aria${t.prefix}`;return e||`${a}-${n}`};function d(){return!1}function c(){return!0}function f(e){return()=>{}}function p(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,d,c):(0,r.useContext)(a)}},24553:function(e,t,n){"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{t:function(){return r}})},40974:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});let r=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;function s(e,t={}){let{labelable:n,isLink:s,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&o.has(t)||s&&i.has(t)||(null==l?void 0:l.has(t))||a.test(t))&&(u[t]=e[t]);return u}},81195:function(e,t,n){"use strict";n.d(t,{d:function(){return a}});var r=n(24553),o=n(85847),i=n(92074);function a(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let a=e[n];for(let e in a){let n=t[e],s=a[e];"function"==typeof n&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,r.t)(n,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof s?t[e]=(0,i.Z)(n,s):"id"===e&&n&&s?t.id=(0,o.ur)(n,s):t[e]=void 0!==s?s:n}}return t}},52486:function(e,t,n){"use strict";function r(...e){return 1===e.length?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}n.d(t,{l:function(){return r}})},34911:function(e,t,n){"use strict";n.d(t,{pG:function(){return u},b0:function(){return c},eY:function(){return m},tv:function(){return d}});let r=null;function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function a(){return i(/^Mac/i)}var s=n(92343);let l=(0,s.createContext)({isNative:!0,open:function(e,t){p(e,e=>f(e,t))},useHref:e=>e});function u(e){let{children:t,navigate:n,useHref:r}=e,o=(0,s.useMemo)(()=>({isNative:!1,open:(e,t,r,o)=>{p(e,e=>{c(e,t)?n(r,o):f(e,t)})},useHref:r||(e=>e)}),[n,r]);return s.createElement(l.Provider,{value:o},t)}function d(){return(0,s.useContext)(l)}function c(e,t){let n=e.getAttribute("target");return(!n||"_self"===n)&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function f(e,t,n=!0){var s,l;let{metaKey:u,ctrlKey:d,altKey:c,shiftKey:p}=t;o(/Firefox/i)&&(null===(l=window.event)||void 0===l?void 0:null===(s=l.type)||void 0===s?void 0:s.startsWith("key"))&&"_blank"===e.target&&(a()?u=!0:d=!0);
10let m=o(/AppleWebKit/i)&&!o(/Chrome/i)&&a()&&!(i(/^iPad/i)||a()&&navigator.maxTouchPoints>1)?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:u,ctrlKey:d,altKey:c,shiftKey:p}):new MouseEvent("click",{metaKey:u,ctrlKey:d,altKey:c,shiftKey:p,bubbles:!0,cancelable:!0});f.isOpening=n,function(e){if(function(){if(null==r){r=!1;try{document.createElement("div").focus({get preventScroll(){return r=!0,!0}})}catch(e){}}return r}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}(e),e.dispatchEvent(m),f.isOpening=!1}function p(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function m(e){let t=d();return{href:(null==e?void 0:e.href)?t.useHref(null==e?void 0:e.href):void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}f.isOpening=!1},85847:function(e,t,n){"use strict";n.d(t,{ur:function(){return u},mp:function(){return d}});var r=n(92343);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{};function i(e){let t=(0,r.useRef)(null);return o(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}var a=n(31704);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(e,t){if(e===t)return e;let n=l.get(e);if(n)return n(t),t;let r=l.get(t);return r?(r(e),e):t}function d(e=[]){let t=function(e){let[t,n]=(0,r.useState)(void 0),i=(0,r.useRef)(null),u=(0,a.gP)(t),d=(0,r.useCallback)(e=>{i.current=e},[]);return s&&l.set(u,d),o(()=>()=>{l.delete(u)},[u]),(0,r.useEffect)(()=>{let e=i.current;e&&(i.current=null,n(e))}),u}(),[n,u]=function(e){let[t,n]=(0,r.useState)(e),a=(0,r.useRef)(null),s=i(()=>{if(!a.current)return;let e=a.current.next();if(e.done){a.current=null;return}t===e.value?s():n(e.value)});o(()=>{a.current&&s()});let l=i(e=>{a.current=e(t),s()});return[t,l]}(t),d=(0,r.useCallback)(()=>{u(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,u]);return o(d,[t,d,...e]),n}},45761:function(e,t,n){"use strict";function r(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}n.d(t,{uZ:function(){return r}})},94301:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(92343);function o(e,t,n){let[o,i]=(0,r.useState)(e||t),a=(0,r.useRef)(void 0!==e),s=void 0!==e;(0,r.useEffect)(()=>{let e=a.current;e!==s&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s},[s]);let l=s?e:o,u=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(l,e)&&n(e,...t),s||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((n,...o)=>{let i=e(s?l:n,...o);return(r(i,...t),s)?n:i})):(s||i(e),r(e,...t))},[s,l,n]);return[l,u]}},92074:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}
10else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r}},33550:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r=new Set(["opacity","clipPath","filter","transform"])},70691:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r="data-"+(0,n(79274).D)("framerAppearId")},9697:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{H:function(){return r}})},48515:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},46814:function(e,t,n){"use strict";n.d(t,{M:function(){return v}});var r=n(97419),o=n(92343),i=n(33797),a=n(90846),s=n(61874);class l extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let n=(0,o.useId)(),i=(0,o.useRef)(null),a=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:u}=(0,o.useContext)(s._);return(0,o.useInsertionEffect)(()=>{let{width:e,height:r,top:o,left:s}=a.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;let l=document.createElement("style");return u&&(l.nonce=u),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
11          [data-motion-pop-id="${n}"] {
12            position: absolute !important;
13            width: ${e}px !important;
14            height: ${r}px !important;
15            top: ${o}px !important;
16            left: ${s}px !important;
17          }
18        `),()=>{document.head.removeChild(l)}},[t]),(0,r.jsx)(l,{isPresent:t,childRef:i,sizeRef:a,children:o.cloneElement(e,{ref:i})})}let d=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:l,presenceAffectsLayout:d,mode:f})=>{let p=(0,a.h)(c),m=(0,o.useId)(),g=(0,o.useCallback)(e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;s&&s()},[p,s]),h=(0,o.useMemo)(()=>({id:m,initial:t,isPresent:n,custom:l,onExitComplete:g,register:e=>(p.set(e,!1),()=>p.delete(e))}),d?[Math.random(),g]:[n,g]);return(0,o.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[n]),o.useEffect(()=>{n||p.size||!s||s()},[n]),"popLayout"===f&&(e=(0,r.jsx)(u,{isPresent:n,children:e})),(0,r.jsx)(i.O.Provider,{value:h,children:e})};function c(){return new Map}var f=n(46089),p=n(81004);let m=e=>e.key||"";function g(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}var h=n(19826);let v=({children:e,exitBeforeEnter:t,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:u="sync"})=>{(0,p.k)(!t,"Replace exitBeforeEnter with mode='wait'");let c=(0,o.useMemo)(()=>g(e),[e]),v=c.map(m),y=(0,o.useRef)(!0),b=(0,o.useRef)(c),w=(0,a.h)(()=>new Map),[x,E]=(0,o.useState)(c),[k,T]=(0,o.useState)(c);(0,h.L)(()=>{y.current=!1,b.current=c;for(let e=0;e<k.length;e++){let t=m(k[e]);v.includes(t)?w.delete(t):!0!==w.get(t)&&w.set(t,!1)}},[k,v.length,v.join("-")]);let C=[];if(c!==x){let e=[...c];for(let t=0;t<k.length;t++){let n=k[t],r=m(n);v.includes(r)||(e.splice(t,0,n),C.push(n))}"wait"===u&&C.length&&(e=C),T(g(e)),E(c);return}let{forceRender:P}=(0,o.useContext)(f.p);return(0,r.jsx)(r.Fragment,{children:k.map(e=>{let t=m(e),o=c===k||v.includes(t);return(0,r.jsx)(d,{isPresent:o,initial:(!y.current||!!i)&&void 0,custom:o?void 0:n,presenceAffectsLayout:l,mode:u,onExitComplete:o?void 0:()=>{if(!w.has(t))return;w.set(t,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(null==P||P(),T(b.current),s&&s())},children:e},t)})})}},52033:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(97419),o=n(92343),i=n(63539),a=n(99886);function s({children:e,features:t,strict:n=!1}){let[,s]=(0,o.useState)(!l(t)),u=(0,o.useRef)(void 0);if(!l(t)){let{renderer:e,...n}=t;u.current=e,(0,a.K)(n)}return(0,o.useEffect)(()=>
18{l(t)&&t().then(({renderer:e,...t})=>{(0,a.K)(t),u.current=e,s(!0)})},[]),(0,r.jsx)(i.u.Provider,{value:{renderer:u.current,strict:n},children:e})}function l(e){return"function"==typeof e}},46089:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});let r=(0,n(92343).createContext)({})},63539:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});let r=(0,n(92343).createContext)({strict:!1})},61874:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});let r=(0,n(92343).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},33797:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=(0,n(92343).createContext)(null)},79031:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67353);let o=["read","resolveKeyframes","update","preRender","render","postRender"];function i(e,t){let n=!1,i=!0,a={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,l=o.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1,i=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,o=!1,a=!1)=>{let s=a&&r?t:n;return o&&i.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(a=e,r){o=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(s),r=!1,o&&(o=!1,l.process(e))}};return l}(s),e),{}),{read:u,resolveKeyframes:d,update:c,preRender:f,render:p,postRender:m}=l,g=()=>{let o=r.c.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=i?1e3/60:Math.max(Math.min(o-a.timestamp,40),1),a.timestamp=o,a.isProcessing=!0,u.process(a),d.process(a),c.process(a),f.process(a),p.process(a),m.process(a),a.isProcessing=!1,n&&t&&(i=!1,e(g))},h=()=>{n=!0,i=!0,a.isProcessing||e(g)};return{schedule:o.reduce((e,t)=>{let r=l[t];return e[t]=(e,t=!1,o=!1)=>(n||h(),r.schedule(e,t,o)),e},{}),cancel:e=>{for(let t=0;t<o.length;t++)l[o[t]].cancel(e)},state:a,steps:l}}},87968:function(e,t,n){"use strict";n.d(t,{Pn:function(){return i},Wi:function(){return o},w0:function(){return a}});var r=n(55785);let{schedule:o,cancel:i,state:a,steps:s}=(0,n(79031).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},36393:function(e,t,n){"use strict";let r;n.d(t,{X:function(){return s}});var o=n(67353),i=n(87968);function a(){r=void 0}let s={now:()=>(void 0===r&&s.set(i.w0.isProcessing||o.c.useManualTiming?i.w0.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(a)}}},38139:function(e,t,n){"use strict";n.d(t,{featureDefinitions:function(){return o}});let r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},o={};for(let e in r)o[e]={isEnabled:t=>r[e].some(e=>!!t[e])}},99886:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(38139);function o(e){for(let t in e)r.featureDefinitions[t]={...r.featureDefinitions[t],...e[t]}}},70089:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});let r={};var o=n(20302);function i(e,{layout:t,layoutId:n}){return o.G.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r[e]||"opacity"===e)}},50518:function(e,t,n){"use strict";n.d(t,{m:function(){return U}});var r,o=n(97419),i=n(92343),a=n(61874);let s=(0,i.createContext)({});var l=n(33797),u=n(19826),d=n(63539),c=n(70691);let{schedule:f,cancel:p}=(0,n(79031).Z)(queueMicrotask,!1);function m(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let g=(0,i.createContext)({});var h=n(65893),v=n(4825);function y(e){return Array.isArray(e)?e.join(" "):e}var b=n(99886),w=n(87074),x=n(46089);let E=Symbol.for("motionComponentSymbol");var k=n(38139),T=n(17901),C=n(63813),P=n(3622),j=n(9697),S=n(1302),L=n(90846),A=n(88983),M=n(13482);let N=e=>(t,n)=>{let r=(0,i.useContext)(s),o=(0,i.useContext)(l.O),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){let a={latestValues:function(e,t,n,r){let o={},i=r(e,{});for(let e in i)o[e]=function(e){let t=(0,M.i)(e)?e.get():e;return(0,A.p)(t)?t.toValue():t}(i[e]);let{initial:a,animate:s}=e,l=(0,v.G)(e),u=(0,v.M)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let d=!!n&&!1===n.initial,c=(d=d||!1===a)?s:a;if(c&&"boolean"!=typeof c&&!(0,j.H)(c)){let t=Array.isArray(c)?c:[c];for(let n=0;n<t.length;n++){let r=(0,S.o)(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a})(e,t,r,o);return n?a():(0,L.h)(a)},D=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),K=()=>({...D(),attrs:{}});var B=n(76715),I=n(42384),F=n(87968);let R={useVisualState:N({scrapeMotionValuesFromProps:P.U,createRenderState:K,onMount:(e,t,{renderState:n,latestValues:r})=>{F.Wi.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),F.Wi.render(()=>{(0,B.i)(n,r,(0,I.a)(t.tagName),e.transformTemplate),(0,C.K)(t,n)})}})},O={useVisualState:N({scrapeMotionValuesFromProps:n(60261).U,createRenderState:D})};var z=n(70089),_=n(90899);function W(e,t,n){for(let r in t)(0,M.i)(t[r])||(0,z.j)(r,n)||(e[r]=t[r])}let H=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function V(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||H.has(e)}let $=e=>!V(e);try{(r=require("@emotion/is-prop-valid").default)&&($=e=>e.startsWith("on")?!V(e):r(e))}catch(e){}let U=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}(function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:p}){e&&(0,b.K)(e);let T=(0,i.forwardRef)(function(e,b){var E;let T;let C={...(0,i.useContext)(a._),...e,layoutId:function({layoutId:e}){let t=(0,i.useContext)(x.p).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:P}=C,j=function(e){let{initial:t,animate:n}=function(e,t){if((0,v.G)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,h.$)(t)?t:void 0,animate:(0,h.$)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(s));return(0,i.useMemo)(()=>({initial:t,animate:n}),[y(t),y(n)])}(e),S=r(e,P);if(!P&&w.j){(0,i.useContext)(d.u).strict;let e=function(e){let{drag:t,layout:n}=k.featureDefinitions;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
18(C);T=e.MeasureLayout,j.visualElement=function(e,t,n,r,o){var p,h;let{visualElement:v}=(0,i.useContext)(s),y=(0,i.useContext)(d.u),b=(0,i.useContext)(l.O),w=(0,i.useContext)(a._).reducedMotion,x=(0,i.useRef)();r=r||y.renderer,!x.current&&r&&(x.current=r(e,{visualState:t,parent:v,props:n,presenceContext:b,blockInitialAnimation:!!b&&!1===b.initial,reducedMotionConfig:w}));let E=x.current,k=(0,i.useContext)(g);E&&!E.projection&&o&&("html"===E.type||"svg"===E.type)&&function(e,t,n,r){let{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&m(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(x.current,n,o,k);let T=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{E&&T.current&&E.update(n,b)});let C=n[c.M],P=(0,i.useRef)(!!C&&!(null===(p=window.MotionHandoffIsComplete)||void 0===p?void 0:p.call(window,C))&&(null===(h=window.MotionHasOptimisedAnimation)||void 0===h?void 0:h.call(window,C)));return(0,u.L)(()=>{E&&(T.current=!0,window.MotionIsMounted=!0,E.updateFeatures(),f.render(E.render),P.current&&E.animationState&&E.animationState.animateChanges())}),(0,i.useEffect)(()=>{E&&(!P.current&&E.animationState&&E.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,C)}),P.current=!1))}),E}(p,S,C,t,e.ProjectionNode)}return(0,o.jsxs)(s.Provider,{value:j,children:[T&&j.visualElement?(0,o.jsx)(T,{visualElement:j.visualElement,...C}):null,n(p,e,(E=j.visualElement,(0,i.useCallback)(e=>{e&&S.mount&&S.mount(e),E&&(e?E.mount(e):E.unmount()),b&&("function"==typeof b?b(e):m(b)&&(b.current=e))},[E])),S,P,j.visualElement)]})});return T[E]=p,T}({...(0,T.q)(e)?R:O,preloadedFeatures:void 0,useRender:function(e=!1){return(t,n,r,{latestValues:o},a)=>{let s=((0,T.q)(t)?function(e,t,n,r){let o=(0,i.useMemo)(()=>{let n=K();return(0,B.i)(n,t,(0,I.a)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};W(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return W(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let n=D();return(0,_.r)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,o,a,t),l=function(e,t,n){let r={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&($(o)||!0===n&&V(o)||!t&&!V(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),u=t!==i.Fragment?{...l,...s,ref:r}:{},{children:d}=n,c=(0,i.useMemo)(()=>(0,M.i)(d)?d.get():d,[d]);return(0,i.createElement)(t,{...u,children:c})}}(t),createVisualElement:void 0,Component:e})})},42109:function(e,t,n){"use strict";n.d(t,{H:function(){return nP}});var r=n(9697),o=n(48515);function i(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var a=n(65893),s=n(1302);function l(e,t,n){let r=e.getProps();return(0,s.o)(r,t,void 0!==n?n:r.custom,e)}var u=n(44848),d=n(20302);let c=e=>1e3*e,f=e=>e/1e3,p={type:"spring",stiffness:500,damping:25,restSpeed:10},m=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),g={type:"keyframes",duration:.8},h={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},v=(e,{keyframes:t})=>t.length>2?g:d.G.has(e)?e.startsWith("scale")?m(t[1]):p:h;function y(e,t){return e?e[t]||e.default||e:void 0}var b=n(67353);let w={current:!1},x=e=>null!==e;function E(e,{repeat:t,repeatType:n="loop"},r){let o=e.filter(x),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}var k=n(87968),T=n(55785);let C=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function P(e,t,n,r){if(e===t&&n===r)return T.Z;let o=t=>(function(e,t,n,r,o){let i,a;let s=0;
18do(i=C(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a;while(Math.abs(i)>1e-7&&++s<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:C(o(e),t,r)}let j=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,S=e=>t=>1-e(1-t),L=P(.33,1.53,.69,.99),A=S(L),M=j(A),N=e=>(e*=2)<1?.5*A(e):.5*(2-Math.pow(2,-10*(e-1))),D=e=>1-Math.sin(Math.acos(e)),K=S(D),B=j(D),I=e=>/^0[^.\s]+$/u.test(e);var F=n(81004);let R=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var O=n(76262);let z=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var _=n(45903),W=n(44427);let H=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),V=e=>e===_.Rx||e===W.px,$=(e,t)=>parseFloat(e.split(", ")[t]),U=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let o=r.match(/^matrix3d\((.+)\)$/u);if(o)return $(o[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?$(t[1],e):0}},G=new Set(["x","y","z"]),q=d._.filter(e=>!G.has(e)),X={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:U(4,13),y:U(5,14)};X.translateX=X.x,X.translateY=X.y;let Z=e=>t=>t.test(e),Y=[_.Rx,W.px,W.aQ,W.RW,W.vw,W.vh,{test:e=>"auto"===e,parse:e=>e}],J=e=>Y.find(Z(e)),Q=new Set,ee=!1,et=!1;function en(){if(et){let e=Array.from(Q).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return q.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}et=!1,ee=!1,Q.forEach(e=>e.complete()),Q.clear()}function er(){Q.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(et=!0)})}class eo{constructor(e,t,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Q.add(this),ee||(ee=!0,k.Wi.read(er),k.Wi.resolveKeyframes(en))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o]){if(0===o){let o=null==r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){let r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Q.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Q.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var ei=n(65611);let ea=e=>Math.round(1e5*e)/1e5,es=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,el=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eu=(e,t)=>n=>!!("string"==typeof n&&el.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),ed=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[o,i,a,s]=r.match(es);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ec=e=>(0,ei.u)(0,255,e),ef={..._.Rx,transform:e=>Math.round(ec(e))},ep={test:eu("rgb","red"),parse:ed("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ef.transform(e)+", "+ef.transform(t)+", "+ef.transform(n)+", "+ea(_.Fq.transform(r))+")"},em={test:eu("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
18a:o?parseInt(o,16)/255:1}},transform:ep.transform},eg={test:eu("hsl","hue"),parse:ed("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+W.aQ.transform(ea(t))+", "+W.aQ.transform(ea(n))+", "+ea(_.Fq.transform(r))+")"},eh={test:e=>ep.test(e)||em.test(e)||eg.test(e),parse:e=>ep.test(e)?ep.parse(e):eg.test(e)?eg.parse(e):em.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ep.transform(e):eg.transform(e)},ev=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ey="number",eb="color",ew=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ex(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[],i=0,a=t.replace(ew,e=>(eh.test(e)?(r.color.push(i),o.push(eb),n.push(eh.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(ey),n.push(parseFloat(e))),++i,"${}")).split("${}");return{values:n,split:a,indexes:r,types:o}}function eE(e){return ex(e).values}function ek(e){let{split:t,types:n}=ex(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){let t=n[i];t===ey?o+=ea(e[i]):t===eb?o+=eh.transform(e[i]):o+=e[i]}return o}}let eT=e=>"number"==typeof e?0:e,eC={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(es))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ev))||void 0===n?void 0:n.length)||0)>0},parse:eE,createTransformer:ek,getAnimatableNone:function(e){let t=eE(e);return ek(e)(t.map(eT))}},eP=new Set(["brightness","contrast","saturate","opacity"]);function ej(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(es)||[];if(!r)return e;let o=n.replace(r,""),i=eP.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}let eS=/\b([a-z-]*)\(.*?\)/gu,eL={...eC,getAnimatableNone:e=>{let t=e.match(eS);return t?t.map(ej).join(" "):e}},eA={...n(23283).j,color:eh,backgroundColor:eh,outlineColor:eh,fill:eh,stroke:eh,borderColor:eh,borderTopColor:eh,borderRightColor:eh,borderBottomColor:eh,borderLeftColor:eh,filter:eL,WebkitFilter:eL},eM=e=>eA[e];function eN(e,t){let n=eM(e);return n!==eL&&(n=eC),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let eD=new Set(["auto","none","0"]);class eK extends eo{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,O.t)(r))){let o=function e(t,n,r=1){(0,F.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[o,i]=function(e){let t=z.exec(e);if(!t)return[,];let[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(t);if(!o)return;let a=window.getComputedStyle(n).getPropertyValue(o);if(a){let e=a.trim();return R(e)?parseFloat(e):e}return(0,O.t)(i)?e(i,n,r+1):i}(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!H.has(n)||2!==e.length)return;let[r,o]=e,i=J(r),a=J(o);if(i!==a){if(V(i)&&V(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||I(r))&&n.push(t)}n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){let t=e[o];"string"==typeof t&&!eD.has(t)&&ex(t).values.length&&(r=e[o]),o++}if(r&&n)for(let o of t)e[o]=eN(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=X[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);let i=r.length-1,a=r[i];r[i]=X[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
18h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}function eB(e){return"function"==typeof e}var eI=n(36393);let eF=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eC.test(e)||"0"===e)&&!e.startsWith("url("));class eR{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=eI.X.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(er(),en()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=eI.X.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;let i=e[e.length-1],a=eF(o,t),s=eF(i,t);return(0,F.K)(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||eB(n))&&r)}(e,n,r,o)){if(w.current||!i){null==s||s(E(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var eO=n(87447);function ez(e,t,n){let r=Math.max(t-5,0);return(0,eO.R)(n-e(r),t-r)}function e_(e,t){return e*Math.sqrt(1-t*t)}let eW=["duration","bounce"],eH=["stiffness","damping","mass"];function eV(e,t){return t.some(t=>void 0!==e[t])}function e$({keyframes:e,restDelta:t,restSpeed:n,...r}){let o;let i=e[0],a=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:d,duration:p,velocity:m,isResolvedFromDuration:g}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!eV(e,eH)&&eV(e,eW)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;(0,F.K)(e<=c(10),"Spring duration must be 10 seconds or less");let a=1-t;a=(0,ei.u)(.05,1,a),e=(0,ei.u)(.01,10,f(e)),a<1?(o=t=>{let r=t*a,o=r*e;return .001-(r-n)/e_(t,a)*Math.exp(-o)},i=t=>{let r=t*a*e,i=Math.pow(a,2)*Math.pow(t,2)*e,s=e_(Math.pow(t,2),a);return(r*n+n-i)*Math.exp(-r)*(-o(t)+.001>0?-1:1)/s}):(o=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),i=t=>e*e*(n-t)*Math.exp(-t*e));let s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=c(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-f(r.velocity||0)}),h=m||0,v=u/(2*Math.sqrt(l*d)),y=a-i,b=f(Math.sqrt(l/d)),w=5>Math.abs(y);if(n||(n=w?.01:2),t||(t=w?.005:.5),v<1){let e=e_(b,v);o=t=>a-Math.exp(-v*b*t)*((h+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===v)o=e=>a-Math.exp(-b*e)*(y+(h+b*y)*e);else{let e=b*Math.sqrt(v*v-1);o=t=>{let n=Math.exp(-v*b*t),r=Math.min(e*t,300);return a-n*((h+v*b*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}return{calculatedDuration:g&&p||null,next:e=>{let r=o(e);if(g)s.done=e>=p;else{let i=0;v<1&&(i=0===e?c(h):ez(o,e,r));let l=Math.abs(i)<=n,u=Math.abs(a-r)<=t;s.done=l&&u}return s.value=s.done?a:r,s}}}function eU({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:d}){let c,f;let p=e[0],m={done:!1,value:p},g=e=>void 0!==s&&e<s||void 0!==l&&e>l,h=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=n*t,y=p+v,b=void 0===a?y:a(y);b!==y&&(v=b-p);let w=e=>-v*Math.exp(-e/r),x=e=>b+w(e),E=e=>{let t=w(e),n=x(e);m.done=Math.abs(t)<=u,m.value=m.done?b:n},k=e=>{g(m.value)&&(c=e,f=e$({keyframes:[m.value,h(m.value)],velocity:ez(x,e,m.value),damping:o,stiffness:i,restDelta:u,restSpeed:d}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==c||(t=!0,E(e),k(e)),void 0!==c&&e>=c)?f.next(e-c):(t||E(e),m)}}}let eG=P(.42,0,1,1),eq=P(0,0,.58,1),eX=P(.42,0,.58,1),eZ=e=>Array.isArray(e)&&"number"!=typeof e[0],eY=e=>Array.isArray(e)&&"number"==typeof e[0],eJ={linear:T.Z,easeIn:eG,easeInOut:eX,easeOut:eq,circIn:D,circInOut:B,circOut:K,backIn:A,backInOut:M,backOut:L,anticipate:N},eQ=e=>{if(eY(e)){(0,F.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,o]=e;return P(t,n,r,o)}return"string"==typeof e?((0,F.k)(void 0!==eJ[e],`Invalid easing type '${e}'`),eJ[e]):e},e0=(e,t)=>n=>t(e(n)),e1=(...e)=>e.reduce(e0),e4=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}
18,e3=(e,t,n)=>e+(t-e)*n;function e2(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function e5(e,t){return n=>n>0?t:e}let e6=(e,t,n)=>{let r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},e8=[em,ep,eg],e7=e=>e8.find(t=>t.test(e));function e9(e){let t=e7(e);if((0,F.K)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===eg&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=e2(s,r,e+1/3),i=e2(s,r,e),a=e2(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(n)),n}let te=(e,t)=>{let n=e9(e),r=e9(t);if(!n||!r)return e5(e,t);let o={...n};return e=>(o.red=e6(n.red,r.red,e),o.green=e6(n.green,r.green,e),o.blue=e6(n.blue,r.blue,e),o.alpha=e3(n.alpha,r.alpha,e),ep.transform(o))},tt=new Set(["none","hidden"]);function tn(e,t){return n=>e3(e,t,n)}function tr(e){return"number"==typeof e?tn:"string"==typeof e?(0,O.t)(e)?e5:eh.test(e)?te:ta:Array.isArray(e)?to:"object"==typeof e?eh.test(e)?te:ti:e5}function to(e,t){let n=[...e],r=n.length,o=e.map((e,n)=>tr(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function ti(e,t){let n={...e,...t},r={};for(let o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=tr(e[o])(e[o],t[o]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let ta=(e,t)=>{let n=eC.createTransformer(t),r=ex(e),o=ex(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?tt.has(e)&&!o.values.length||tt.has(t)&&!r.values.length?tt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e:e1(to(function(e,t){var n;let r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],s=e.indexes[a][o[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[i]=l,o[a]++}return r}(r,o),o.values),n):((0,F.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),e5(e,t))};function ts(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?e3(e,t,n):tr(e)(e,t)}function tl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let o=eZ(r)?r.map(eQ):eQ(r),i={done:!1,value:t[0]},a=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){let i=e.length;if((0,F.k)(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],o=n||ts,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);t&&(i=e1(Array.isArray(t)?t[n]||T.Z:t,i)),r.push(i)}return r}(t,r,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=e4(e[n],e[n+1],t);return a[n](r)};return n?t=>l((0,ei.u)(e[0],e[i-1],t)):l}((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let o=e4(0,t,r);e.push(e3(n,1,o))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(o)?o:t.map(()=>o||eX).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}let tu=e=>{let t=({timestamp:t})=>e(t);return{start:()=>k.Wi.update(t,!0),stop:()=>(0,k.Pn)(t),now:()=>k.w0.isProcessing?k.w0.timestamp:eI.X.now()}},td={decay:eU,inertia:eU,tween:tl,keyframes:tl,spring:e$},tc=e=>e/100;class tf extends eR{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:o}=this.options,i=(null==r?void 0:r.KeyframeResolver)||eo;this.resolver=new i(o,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n;let{type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a,velocity:s=0}=this.options,l=eB(r)?r:td[r]||tl;l!==tl&&"number"!=typeof e[0]&&(t=e1(tc,ts(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:d}=u,c=d+i;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:d,resolvedDuration:c,totalDuration:c*(o+1)-i}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:d}=n;if(null===this.startTime)return o.next(0);let{delay:c,repeat:f,repeatType:p,repeatDelay:m,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let h=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?h<0:h>u;this.currentTime=Math.max(h,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=o;if(f){let e=Math.min(this.currentTime,u)/d,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,f+1))%2&&("reverse"===p?(n=1-n,m&&(n-=m/d)):"mirror"===p&&(b=i)),y=(0,ei.u)(0,1,n)*d}let w=v?{done:!1,value:s[0]}:b.next(y);a&&(w.value=a(w.value));let{done:x}=w;v||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return k&&void 0!==r&&(w.value=E(s,this.options,r)),g&&g(w.value),k&&this.finish(),w}get duration(){let{resolved:e}=this;return e?f(e.calculatedDuration):0}
18get time(){return f(this.currentTime)}set time(e){e=c(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=f(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tu,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}var tp=n(33550);let tm=(e,t)=>{let n="",r=Math.max(Math.round(t/10),2);for(let t=0;t<r;t++)n+=e(e4(0,r-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};function tg(e){let t;return()=>(void 0===t&&(t=e()),t)}let th={linearEasing:void 0},tv=function(e,t){let n=tg(e);return()=>{var e;return null!==(e=th[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
18,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),ty=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ty([0,.65,.55,1]),circOut:ty([.55,0,1,.45]),backIn:ty([.31,.01,.66,-.59]),backOut:ty([.33,1.53,.69,.99])};function tw(e,t){e.timeline=t,e.onfinish=null}let tx=tg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tE={anticipate:N,backInOut:M,circInOut:B};class tk extends eR{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new eK(o,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:o=300,times:i,ease:a,type:s,motionValue:l,name:u,startTime:d}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof a&&tv()&&a in tE&&(a=tE[a]),eB((r=this.options).type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&tv()||!t||"string"==typeof t&&(t in tb||tv())||eY(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,d=function(e,t){let n=new tf({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},o=[],i=0;for(;!r.done&&i<2e4;)o.push((r=n.sample(i)).value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,u);1===(e=d.keyframes).length&&(e[1]=e[0]),o=d.duration,i=d.times,a=d.ease,s="keyframes"}let c=function(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){let u={[t]:n};l&&(u.offset=l);let d=function e(t,n){if(t)return"function"==typeof t&&tv()?tm(t,n):eY(t)?ty(t):Array.isArray(t)?t.map(t=>e(t,n)||tb.easeOut):tb[t]}(s,o);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:o,times:i,ease:a});return c.startTime=null!=d?d:this.calcStartTime(),this.pendingTimeline?(tw(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;l.set(E(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:o,times:i,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return f(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return f(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=c(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return T.Z;let{animation:n}=t;tw(n,e)}else this.pendingTimeline=e;return T.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:o,ease:i,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,d=new tf({...u,keyframes:n,duration:r,type:o,ease:i,times:a,isGenerator:!0}),f=c(this.time);e.setWithVelocity(d.sample(f-10).value,d.sample(f).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;return tx()&&n&&tp.t.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
18date&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}}let tT=tg(()=>void 0!==window.ScrollTimeline);class tC{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>tT()&&n.attachTimeline?n.attachTimeline(e):t(n));return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let tP=(e,t,n,r={},o,i)=>a=>{let s=y(r,e)||{},l=s.delay||r.delay||0,{elapsed:u=0}=r;u-=c(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...d}){return!!Object.keys(d).length}(s)&&(d={...d,...v(e,d)}),d.duration&&(d.duration=c(d.duration)),d.repeatDelay&&(d.repeatDelay=c(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let f=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(f=!0)),(w.current||b.c.skipAnimations)&&(f=!0,d.duration=0,d.delay=0),f&&!i&&void 0!==t.get()){let e=E(d.keyframes,s);if(void 0!==e)return k.Wi.update(()=>{d.onUpdate(e),d.onComplete()}),new tC([])}return!i&&tk.supports(d)?new tk(d):new tf(d)};var tj=n(88983),tS=n(99034),tL=n(70691),tA=n(13482);function tM(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...u}=t;r&&(a=r);let c=[],f=o&&e.animationState&&e.animationState.getState()[o];for(let t in u){let r=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=u[t];if(void 0===o||f&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(f,t))continue;let s={delay:n,...y(a||{},t)},l=!1;if(window.MotionHandoffAnimation){let n=e.props[tL.M];if(n){let e=window.MotionHandoffAnimation(n,t,k.Wi);null!==e&&(s.startTime=e,l=!0)}}!function(e,t){let n=e.getValue("willChange");(0,tA.i)(n)&&n.add&&n.add(t)}(e,t),r.start(tP(t,r,o,e.shouldReduceMotion&&d.G.has(t)?{type:!1}:s,e,l));let p=r.animation;p&&c.push(p)}return s&&Promise.all(c).then(()=>{k.Wi.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...o}=l(e,t)||{};for(let t in o={...o,...n}){let n=(0,tj.Y)(o[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,tS.BX)(n))}}(e,s)})}),c}function tN(e,t,n={}){var r;let o=l(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);let a=o?()=>Promise.all(tM(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,o=1,i){let a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(tD).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(tN(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:u}=i;if(!u)return Promise.all([a(),s(n.delay)]);{let[e,t]="beforeChildren"===u?[a,s]:[s,a];return e().then(()=>t())}}function tD(e,t){return e.sortNodePosition(t)}let tK=u.V.length,tB=[...u.e].reverse(),tI=u.e.length;function tF(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tR(){return{animate:tF(!0),whileInView:tF(),whileHover:tF(),whileTap:tF(),whileDrag:tF(),whileFocus:tF(),exit:tF()}}class tO{constructor(e){this.isMounted=!1,this.node=e}update(){}}
18class tz extends tO{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>tN(e,t,n)));else if("string"==typeof t)r=tN(e,t,n);else{let o="function"==typeof t?l(e,t,n.custom):t;r=Promise.all(tM(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=tR(),s=!0,d=t=>(n,r)=>{var o;let i=l(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function c(l){let{props:c}=e,f=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<tK;e++){let r=u.V[e],o=t.props[r];((0,a.$)(o)||!1===o)&&(n[r]=o)}return n}(e.parent)||{},p=[],m=new Set,g={},h=1/0;for(let t=0;t<tI;t++){var v;let u=tB[t],y=n[u],b=void 0!==c[u]?c[u]:f[u],w=(0,a.$)(b),x=u===l?y.isActive:null;!1===x&&(h=t);let E=b===f[u]&&b!==c[u]&&w;if(E&&s&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...g},!y.isActive&&null===x||!b&&!y.prevProp||(0,r.H)(b)||"boolean"==typeof b)continue;let k=(v=y.prevProp,"string"==typeof b?b!==v:!!Array.isArray(b)&&!i(b,v)),T=k||u===l&&y.isActive&&!E&&w||t>h&&w,C=!1,P=Array.isArray(b)?b:[b],j=P.reduce(d(u),{});!1===x&&(j={});let{prevResolvedValues:S={}}=y,L={...S,...j},A=t=>{T=!0,m.has(t)&&(C=!0,m.delete(t)),y.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in L){let t=j[e],n=S[e];if(!g.hasOwnProperty(e))((0,o.C)(t)&&(0,o.C)(n)?i(t,n):t===n)?void 0!==t&&m.has(e)?A(e):y.protectedKeys[e]=!0:null!=t?A(e):m.add(e)}y.prevProp=b,y.prevResolvedValues=j,y.isActive&&(g={...g,...j}),s&&e.blockInitialAnimation&&(T=!1);let M=!(E&&k)||C;T&&M&&p.push(...P.map(e=>({animation:e,options:{type:u}})))}if(m.size){let t={};m.forEach(n=>{let r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=r?r:null}),p.push({animation:t})}let y=!!p.length;return s&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),s=!1,y?t(p):Promise.resolve()}return{animateChanges:c,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let i=c(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=tR(),s=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,r.H)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let t_=0;class tW extends tO{constructor(){super(...arguments),this.id=t_++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function tH(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let tV=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function t$(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let tU=e=>t=>tV(t)&&e(t,t$(t));function tG(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let tq=tG("dragHorizontal"),tX=tG("dragVertical");function tZ(){let e=function(e){let t=!1;if("y"===e)t=tX();else if("x"===e)t=tq();else{let e=tq(),n=tX();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}(!0);return!e||(e(),!1)}function tY(e,t){var n,r,o;let i=t?"pointerenter":"pointerleave",a=t?"onHoverStart":"onHoverEnd";return n=e.current,r=(n,r)=>{if("touch"===n.pointerType||tZ())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t);let i=o[a];i&&k.Wi.postRender(()=>i(n,r))},o={passive:!e.getProps()[a]},tH(n,i,tU(r),o)}class tJ extends tO{mount(){this.unmount=e1(tY(this.node,!0),tY(this.node,!1))}unmount(){}}
18class tQ extends tO{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=e1(tH(this.node.current,"focus",()=>this.onFocus()),tH(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let t0=(e,t)=>!!t&&(e===t||t0(e,t.parentElement));function t1(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,t$(n))}class t4 extends tO{constructor(){super(...arguments),this.removeStartListeners=T.Z,this.removeEndListeners=T.Z,this.removeAccessibleListeners=T.Z,this.startPointerPress=(e,t)=>{var n,r,o,i,a,s,l,u;if(this.isPressing)return;this.removeEndListeners();let d=this.node.getProps(),c=(n=window,r="pointerup",o=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps(),i=o||t0(this.node.current,e.target)?n:r;i&&k.Wi.update(()=>i(e,t))},i={passive:!(d.onTap||d.onPointerUp)},tH(n,r,tU(o),i)),f=(a=window,s="pointercancel",l=(e,t)=>this.cancelPress(e,t),u={passive:!(d.onTapCancel||d.onPointerCancel)},tH(a,s,tU(l),u));this.removeEndListeners=e1(c,f),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=tH(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tH(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&t1("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&k.Wi.postRender(()=>n(e,t))})}),t1("down",(e,t)=>{this.startPress(e,t)}))}),t=tH(this.node.current,"blur",()=>{this.isPressing&&t1("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=e1(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&k.Wi.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tZ()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&k.Wi.postRender(()=>n(e,t))}mount(){var e,t,n,r;let o=this.node.getProps(),i=(e=o.globalTapTarget?window:this.node.current,t="pointerdown",n=this.startPointerPress,r={passive:!(o.onTapStart||o.onPointerStart)},tH(e,t,tU(n),r)),a=tH(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=e1(i,a)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let t3=new WeakMap,t2=new WeakMap,t5=e=>{let t=t3.get(e.target);t&&t(e)},t6=e=>{e.forEach(t5)},t8={some:0,all:1};class t7 extends tO{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:t8[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;t2.has(n)||t2.set(n,{});let r=t2.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(t6,{root:e,...t})),r[o]}(t);return t3.set(e,n),r.observe(e),()=>{t3.delete(e),r.unobserve(e)}}(this.node.current,i,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var t9=n(92343),ne=n(90899),nt=n(60261),nn=n(77347),nr=n(87074);let no={current:null},ni={current:!1};
18var na=n(43509),ns=n(4825),nl=n(38139);let nu=new WeakMap,nd=[...Y,eh,eC],nc=e=>nd.find(Z(e)),nf=()=>({min:0,max:0}),np=()=>({x:nf(),y:nf()}),nm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ng{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eo,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=eI.X.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,k.Wi.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,ns.G)(t),this.isVariantNode=(0,ns.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==s[e]&&(0,tA.i)(t)&&t.set(s[e],!1)}}mount(e){this.current=e,nu.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),ni.current||function(){if(ni.current=!0,nr.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>no.current=e.matches;e.addListener(t),t()}else no.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||no.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in nu.delete(this.current),this.projection&&this.projection.unmount(),(0,k.Pn)(this.notifyUpdate),(0,k.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=d.G.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&k.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{o(),i(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in nl.featureDefinitions){let t=nl.featureDefinitions[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):np()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<nm.length;t++){let n=nm[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let o=t[r],i=n[r];if((0,tA.i)(o))e.addValue(r,o);else if((0,tA.i)(i))e.addValue(r,(0,tS.BX)(o,{owner:e}));else if(i!==o){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(r);e.addValue(r,(0,tS.BX)(void 0!==t?t:o,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
18addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,tS.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(R(r)||I(r))?r=parseFloat(r):!nc(r)&&eC.test(t)&&(r=eN(e,t)),this.setBaseTarget(e,(0,tA.i)(r)?r.get():r)),(0,tA.i)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let o=(0,s.o)(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(n=o[e])}if(r&&void 0!==n)return n;let o=this.getBaseTargetFromProps(this.props,e);return void 0===o||(0,tA.i)(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new na.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class nh extends ng{constructor(){super(...arguments),this.KeyframeResolver=eK}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class nv extends nh{constructor(){super(...arguments),this.type="html",this.renderInstance=nn.N}readValueFromInstance(e,t){if(d.G.has(t)){let e=eM(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,O.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}build(e,t,n){(0,ne.r)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,nt.U)(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,tA.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var ny=n(3622),nb=n(76715),nw=n(79274),nx=n(18975),nE=n(63813),nk=n(42384);class nT extends nh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=np}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(d.G.has(t)){let e=eM(t);return e&&e.default||0}return t=nx.s.has(t)?t:(0,nw.D)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,ny.U)(e,t,n)}
18build(e,t,n){(0,nb.i)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,nE.K)(e,t,n,r)}mount(e){this.isSVGTag=(0,nk.a)(e.tagName),super.mount(e)}}var nC=n(17901);let nP={renderer:(e,t)=>(0,nC.q)(e)?new nT(t):new nv(t,{allowProjection:e!==t9.Fragment}),animation:{Feature:tz},exit:{Feature:tW},inView:{Feature:t7},tap:{Feature:t4},focus:{Feature:tQ},hover:{Feature:tJ}}},79274:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},76262:function(e,t,n){"use strict";n.d(t,{f:function(){return o},t:function(){return a}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),o=r("--"),i=r("var(--"),a=e=>!!i(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},17901:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});let r=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function o(e){if("string"!=typeof e||e.includes("-"));else if(r.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},23283:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var r=n(45903),o=n(44427);let i={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px},a={rotate:o.RW,rotateX:o.RW,rotateY:o.RW,rotateZ:o.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:o.RW,skewX:o.RW,skewY:o.RW,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:r.Fq,originX:o.$C,originY:o.$C,originZ:o.px},s={...r.Rx,transform:Math.round},l={...i,...a,zIndex:s,size:o.px,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:s}},90899:function(e,t,n){"use strict";n.d(t,{r:function(){return u}});var r=n(20302);let o=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var i=n(23283);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=r._.length;var l=n(76262);function u(e,t,n){let{style:u,vars:d,transformOrigin:c}=e,f=!1,p=!1;for(let e in t){let n=t[e];if(r.G.has(e)){f=!0;continue}if((0,l.f)(e)){d[e]=n;continue}{let t=o(n,i.j[e]);e.startsWith("origin")?(p=!0,c[e]=t):u[e]=t}}if(!t.transform&&(f||n?u.transform=function(e,t,n){let l="",u=!0;for(let d=0;d<s;d++){let s=r._[d],c=e[s];if(void 0===c)continue;let f=!0;if(!(f="number"==typeof c?c===(s.startsWith("scale")?1:0):0===parseFloat(c))||n){let e=o(c,i.j[s]);if(!f){u=!1;let t=a[s]||s;l+=`${t}(${e}) `}n&&(t[s]=e)}}return l=l.trim(),n?l=n(t,u?"":l):u&&(l="none"),l}(t,e.transform,n):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:n=0}=c;u.transformOrigin=`${e} ${t} ${n}`}}},77347:function(e,t,n){"use strict";function r(e,{style:t,vars:n},r,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(r)),n)e.style.setProperty(i,n[i])}n.d(t,{N:function(){return r}})},60261:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(70089),o=n(13482);function i(e,t,n){var i;let{style:a}=e,s={};for(let l in a)((0,o.i)(a[l])||t.style&&(0,o.i)(t.style[l])||(0,r.j)(l,e)||(null===(i=null==n?void 0:n.getValue(l))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[l]=a[l]);return s}},20302:function(e,t,n){"use strict";n.d(t,{G:function(){return o},_:function(){return r}});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(r)},76715:function(e,t,n){"use strict";n.d(t,{i:function(){return l}});var r=n(90899),o=n(44427);function i(e,t,n){return"string"==typeof e?e:o.px.transform(t+n*e)}let a={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:n,attrScale:l,originX:u,originY:d,pathLength:c,pathSpacing:f=1,pathOffset:p=0,...m}
18,g,h){if((0,r.r)(e,m,h),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:v,style:y,dimensions:b}=e;v.transform&&(b&&(y.transform=v.transform),delete v.transform),b&&(void 0!==u||void 0!==d||y.transform)&&(y.transformOrigin=function(e,t,n){let r=i(t,e.x,e.width),o=i(n,e.y,e.height);return`${r} ${o}`}(b,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==t&&(v.x=t),void 0!==n&&(v.y=n),void 0!==l&&(v.scale=l),void 0!==c&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let l=i?a:s;e[l.offset]=o.px.transform(-r);let u=o.px.transform(t),d=o.px.transform(n);e[l.array]=`${u} ${d}`}(v,c,f,p,!1)}},18975:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},42384:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},63813:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(79274),o=n(77347),i=n(18975);function a(e,t,n,a){for(let n in(0,o.N)(e,t,void 0,a),t.attrs)e.setAttribute(i.s.has(n)?n:(0,r.D)(n),t.attrs[n])}},3622:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r=n(13482),o=n(60261),i=n(20302);function a(e,t,n){let a=(0,o.U)(e,t,n);for(let n in e)((0,r.i)(e[n])||(0,r.i)(t[n]))&&(a[-1!==i._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return a}},4825:function(e,t,n){"use strict";n.d(t,{G:function(){return a},M:function(){return s}});var r=n(9697),o=n(65893),i=n(44848);function a(e){return(0,r.H)(e.animate)||i.V.some(t=>(0,o.$)(e[t]))}function s(e){return!!(a(e)||e.variants)}},65893:function(e,t,n){"use strict";function r(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{$:function(){return r}})},1302:function(e,t,n){"use strict";function r(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function o(e,t,n,o){if("function"==typeof t){let[i,a]=r(o);t=t(void 0!==n?n:e.custom,i,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,a]=r(o);t=t(void 0!==n?n:e.custom,i,a)}return t}n.d(t,{o:function(){return o}})},44848:function(e,t,n){"use strict";n.d(t,{V:function(){return o},e:function(){return r}});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...r]},67353:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});let r={skipAnimations:!1,useManualTiming:!1}},51811:function(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function o(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return o},y4:function(){return r}})},65611:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});let r=(e,t,n)=>n>t?t:n<e?e:n},81004:function(e,t,n){"use strict";n.d(t,{K:function(){return o},k:function(){return i}});var r=n(55785);let o=r.Z,i=r.Z},87074:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r="undefined"!=typeof window},55785:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e},88983:function(e,t,n){"use strict";n.d(t,{Y:function(){return i},p:function(){return o}});var r=n(48515);let o=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),i=e=>(0,r.C)(e)?e[e.length-1]||0:e},43509:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(51811);class o{constructor(){this.subscriptions=[]}add(e){return(0,r.y4)(this.subscriptions,e),()=>(0,r.cl)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){let r=this.subscriptions[o];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},90846:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(92343);function o(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},19826:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(92343);let o=n(87074).j?r.useLayoutEffect:r.useEffect},87447:function(e,t,n){"use strict";function r(e,t){return t?1e3/t*e:0}n.d(t,{R:function(){return r}})},99034:function(e,t,n){"use strict";n.d(t,{BX:function(){return d},Hg:function(){return u}});var r=n(43509),o=n(87447),i=n(36393),a=n(87968);let s=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.version="11.11.15",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=i.X.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=i.X.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),a.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
18setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=i.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,o.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function d(e,t){return new u(e,t)}},45903:function(e,t,n){"use strict";n.d(t,{Fq:function(){return i},Rx:function(){return o},bA:function(){return a}});var r=n(65611);let o={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},i={...o,transform:e=>(0,r.u)(0,1,e)},a={...o,default:1}},44427:function(e,t,n){"use strict";n.d(t,{$C:function(){return u},RW:function(){return o},aQ:function(){return i},px:function(){return a},vh:function(){return s},vw:function(){return l}});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=r("deg"),i=r("%"),a=r("px"),s=r("vh"),l=r("vw"),u={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)}},13482:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)},36776:function(e,t,n){"use strict";/*! js-cookie v3.0.5 | MIT */function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{Z:function(){return o}});var o=function e(t,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},15161:function(e,t,n){"use strict";function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}n.d(t,{J:function(){return r}})},59700:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(15161);function o(e,t){var n=(0,r.J)(e,t,"get");return n.get?n.get.call(e):n.value}},74619:function(e,t,n){"use strict";function r(e,t,n){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}n.d(t,{_:function(){return r}})},59043:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(15161);function o(e,t,n){var o=(0,r.J)(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,o,n),n}},71769:function(e,t){"use strict";let n="https://media-static.mb-cdn.com";t.default={TRACK_SETS:{switchFlag:!0,switchFlagUV:!0,event:"hitube_io_others",server_url:"https://w.gdfsntgr.com/sa?project=Snappea"},DynamicPackag:{switchFlag:!0,baseApkUrl:"https://dl-master.nxt110.com/installer/snaptube/latest/Click_me_to_install_SnapTube_tube_hitube.apk"},APIS:["api.hitube.io","staging.api.hitube.io","https://dl-st.mb-cdn.com","media-static.mb-cdn.com",n],MEDIA_STAIC_CDN:{switchFlag:!0,HOST:n,FILEASSET:"/hitube/"}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(63918)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.