@swiftcast/clip-editor-react 0.0.0 → 0.0.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/mf-manifest.json +30 -30
- package/dist/mf-stats.json +30 -30
- package/dist/{static/js/clip_editor_react.7f11dacc.js → remoteEntry.js} +3 -3
- package/dist/static/js/{94.8bb924bf.js → 94.040cb3d5.js} +3 -3
- package/dist/static/js/async/191.ba82b2aa.js +2 -0
- package/dist/static/js/async/194.fb5067a8.js +1 -0
- package/dist/static/js/async/{216.cb1b9c6e.js → 216.dd2d476e.js} +2 -2
- package/dist/static/js/async/{353.3439cddc.js → 353.1d23abc7.js} +2 -2
- package/dist/static/js/async/{355.6845e3f8.js → 355.7bff4544.js} +3 -3
- package/dist/static/js/async/375.444c8914.js +1 -0
- package/dist/static/js/async/491.179841c1.js +1 -0
- package/dist/static/js/async/{510.607697e6.js → 510.e827048d.js} +2 -2
- package/dist/static/js/async/525.9c60477e.js +1 -0
- package/dist/static/js/async/{661.66ca9b8f.js → 661.83de2736.js} +2 -2
- package/dist/static/js/async/682.f9ec3784.js +2 -0
- package/dist/static/js/async/738.3452205f.js +1 -0
- package/dist/static/js/async/{852.b1b9d2f5.js → 852.1a544322.js} +3 -3
- package/dist/static/js/async/__federation_expose_ProjectsPage.e597d172.js +2 -0
- package/dist/static/js/async/__federation_expose_SniffingPage.ad10d51a.js +1 -0
- package/dist/static/js/async/{__federation_expose_WorkFlow.bda3da48.js → __federation_expose_WorkFlow.e18339ec.js} +1 -1
- package/dist/static/js/async/lib-axios.64c3f6d8.js +1 -0
- package/dist/static/js/index.9f3ba44c.js +1 -0
- package/package.json +1 -1
- package/dist/static/js/async/191.6936114c.js +0 -2
- package/dist/static/js/async/194.332bc870.js +0 -1
- package/dist/static/js/async/375.bb44146a.js +0 -1
- package/dist/static/js/async/491.f4c83148.js +0 -1
- package/dist/static/js/async/525.22a87a3f.js +0 -1
- package/dist/static/js/async/682.e5205120.js +0 -2
- package/dist/static/js/async/738.05cc9dc0.js +0 -1
- package/dist/static/js/async/__federation_expose_ProjectsPage.3ac032da.js +0 -2
- package/dist/static/js/async/__federation_expose_SniffingPage.88f9ccad.js +0 -1
- package/dist/static/js/async/lib-axios.e98a138a.js +0 -1
- package/dist/static/js/index.71d0d435.js +0 -1
- /package/dist/static/js/async/{191.6936114c.js.LICENSE.txt → 191.ba82b2aa.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{216.cb1b9c6e.js.LICENSE.txt → 216.dd2d476e.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{353.3439cddc.js.LICENSE.txt → 353.1d23abc7.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{355.6845e3f8.js.LICENSE.txt → 355.7bff4544.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{510.607697e6.js.LICENSE.txt → 510.e827048d.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{661.66ca9b8f.js.LICENSE.txt → 661.83de2736.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{682.e5205120.js.LICENSE.txt → 682.f9ec3784.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{852.b1b9d2f5.js.LICENSE.txt → 852.1a544322.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{__federation_expose_ProjectsPage.3ac032da.js.LICENSE.txt → __federation_expose_ProjectsPage.e597d172.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkremote=self.webpackChunkremote||[]).push([["375"],{11068:function(e,t,a){a.d(t,{DQ:()=>i});var o=a(53589);a(56896);let i=async e=>(console.log("入参数",e),await o.hi.post("/manage/v1/workflows/run",{...e}))},53589:function(e,t,a){a.d(t,{hi:()=>_});var o=a(72513),i=a(12722);a(31549),a(8491);let n=()=>{};var r=a(93585),s=a(71553),p=a(29055);class l extends Error{constructor(e,t){super(e),(0,o._)(this,"code",void 0),this.code=t,Object.setPrototypeOf(this,l.prototype)}}async function d(e,t){try{t={...t,headers:{Accept:"application/json","Content-Type":"application/json",Access_token:(0,p._V)()},mode:"cors"};let a=await fetch(e,t);if(401===a.status){let e=await a.json();e&&("Token has expired"===e.msg||e.message)}else a.status;return a}catch(e){throw console.log(e),e}}let _={getHostRoot(){let e="https://dev.clip.api.8600800.com";return e||window.ENV.DASHBOARD_HOST_ROOT},post:async(e,t)=>{let a=await d(`${_.getHostRoot()}${e}`,{method:"POST",body:JSON.stringify(t)}),o=await a.json();if(200==o.code)return o.data;throw(0,r.Am)({title:`请求异常,系统错误码 ${o.code}`,description:`${o.message}`,variant:"destructive",className:(0,s.cn)("top-0 right-0 flex fixed md:max-w-[420px] md:top-4 md:right-4")}),Error(o.message)},get:async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t||n(!0);let a=await d(`${_.getHostRoot()}${e}`,{method:"GET"});t||n(!1);let o=await a.json();if(200==o.code)return o.data;throw(0,r.Am)({title:`请求异常,系统错误码 ${o.code}`,description:`${o.message}`,variant:"destructive",className:(0,s.cn)("top-0 right-0 flex fixed md:max-w-[420px] md:top-4 md:right-4")}),new l(o.message,o.code)},refreshToken:async()=>{if(!localStorage.getItem("refresh_token"))return!1;let e={url:"/refresh_token",method:"GET",headers:{Authorization:`Bearer ${localStorage.getItem("refresh_token")}`},validateStatus:void 0},t=await i.Z.request(e),a=t.data;return 200===t.status&&!!a&&!!a.access_token&&(localStorage.setItem("access_token",a.access_token),!0)}}},69114:function(e,t,a){a(53589)},27649:function(e,t,a){var o=a(31549),i=a(8491),n=a.n(i),r=a(8082),s=a(38137),p=a(91299),l=a(79530),d=a(58026);function _(e){return(0,o.jsx)(p.iL,{children:(0,o.jsx)(d.aH,{client:l.E,children:(0,o.jsx)(s.Z,{...e})})})}var c=a(19813);function u(e){return(0,o.jsx)(p.iL,{children:(0,o.jsx)(d.aH,{client:l.E,children:(0,o.jsx)(c.Z,{...e})})})}let m=document.getElementById("root");m&&r.createRoot(m).render((0,o.jsx)(n().StrictMode,{children:(0,o.jsx)(()=>(0,o.jsxs)("div",{className:"content",children:[(0,o.jsx)(_,{}),(0,o.jsx)(u,{})]}),{})}))},85515:function(e,t,a){a.d(t,{IR:()=>_,PP:()=>c});var o=a(31549),i=a(30911),n=a(18319),r=a(51655),s=a(27292),p=a(19576),l=a(52711),d=a(28266);let _={text2image:{is_run_task:!0,task_type_name:"keling",limit_task_running:2,sub_task_type_enum:[{value:"midjourney",label:"Midjourney"},{value:"gpt_image_generation",label:"GPT Image Generation"}],inputs:[{name:"text",property_type:"string",property_key:"prompt",run_task_mapping_key:"midjourney_prompt",optional:!0,primary:!0},{name:"text_for_midjourney_refer",property_type:"string",property_key:"prompt_mat_image_refer_type",run_task_mapping_key:"midjourney_prompt_mat_image_refer_type",optional:!0},{name:"text_canvas_ratio",property_type:"string",property_key:"prompt_aspect_ratio",run_task_mapping_key:"midjourney_prompt_aspect_ratio",optional:!0},{name:"image_for_midjourney_refer",property_type:"string",property_key:"prompt_mat_image_path",run_task_mapping_key:"midjourney_prompt_mat_image_path",optional:!0}],outputs:[{name:"image",property_type:"array",property_key:"output",optional:!0},{name:"select_index",property_type:"number",property_key:"select_index",optional:!0}]},download_video:{is_run_task:!0,task_type_name:"download_video",inputs:[{name:"text_douyin_video_link",property_type:"string",property_key:"input",run_task_mapping_key:"download_video_link",optional:!0}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},image2text:{is_run_task:!0,task_type_name:"cui",inputs:[{name:"image",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},image2video:{is_run_task:!0,limit_task_running:1,task_type_name:"keling",defaults:{input_model_selected:"keling_1_6",input_keling_quality:"standard"},sub_task_type_enum:[{value:"wanxiang_2_1_480p",label:"input_select_items_1"},{value:"wanxiang_2_1_720p",label:"input_select_items_2"},{value:"cog_video_1_5",label:"input_select_items_3",disable:!0},{value:"keling_1_6",label:"input_select_items_4",default:!0},{value:"keling_2_0",label:"input_select_items_8"},{value:"keling_1_6_acecloud",label:"input_select_items_6"},{value:"keling_1_0",label:"input_select_items_5"},{value:"hailuo_acecloud",label:"input_select_items_7",disable:!0}],inputs:[{name:"text",property_type:"string",property_key:"prompt",run_task_mapping_key:"keling_prompt",optional:!1},{name:"image",property_type:"string",property_key:"input",run_task_mapping_key:"keling_image_url",optional:!1,primary:!0},{name:"image_tail",property_type:"string",property_key:"input_image_tail",run_task_mapping_key:"keling_image_tail_url",optional:!1}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},video2clip:{is_run_task:!0,task_type_name:"clip",inputs:[{name:"text",property_type:"string",property_key:"clip_sub_title_path",run_task_mapping_key:"clip_sub_title_path",optional:!0},{name:"video",property_type:"string",property_key:"input",run_task_mapping_key:"clip_video_path",optional:!0,primary:!0}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},fabric2clip:{is_run_task:!0,task_type_name:"fabric2clip",inputs:[{name:"image",property_type:"string",property_key:"input_image",run_task_mapping_key:"fabric_image_path",optional:!0},{name:"video",property_type:"string",property_key:"input",run_task_mapping_key:"fabric_video_path",optional:!0,primary:!0}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},image:{is_run_task:!1,inputs:[{name:"image",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"image",property_type:"string",property_key:"output",optional:!0}],available_alternative_tasks:["image2static_video"]},image_tail:{is_run_task:!1,inputs:[{name:"image",property_type:"string",property_key:"input",run_task_mapping_key:"output_image_tail",optional:!0}],outputs:[{name:"image_tail",property_type:"string",property_key:"output_image_tail",optional:!0}]},image_mark:{is_run_task:!1,inputs:[],outputs:[{name:"image_mark",property_type:"string",property_key:"output_image_mark",optional:!0}]},image_for_text_2_image:{is_run_task:!1,inputs:[{name:"image",property_type:"string",property_key:"input",run_task_mapping_key:"output_image_for_midjourney_refer",optional:!0}],outputs:[{name:"image_for_midjourney_refer",property_type:"string",property_key:"output_image_for_midjourney_refer",optional:!0},{name:"text_for_midjourney_refer",property_type:"string",property_key:"output_text_for_midjourney_refer",optional:!0}]},image_prompt_enhance:{is_run_task:!0,inputs:[{name:"text",property_type:"string",property_key:"input_prompt",optional:!0},{name:"image",property_type:"string",property_key:"input",optional:!0,primary:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},image2static_video:{is_run_task:!0,inputs:[{name:"image",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},image2zoom_in:{is_run_task:!0,inputs:[{name:"image",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"image",property_type:"string",property_key:"output",optional:!0}]},text:{is_run_task:!1,inputs:[{name:"text",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},video:{is_run_task:!1,inputs:[{name:"video",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}],available_alternative_tasks:["extract_video","extract_video_to_image","extract_video_to_image_end"]},extract_video:{is_run_task:!0,inputs:[{name:"video",property_type:"string",property_key:"input",run_task_mapping_key:"extract_video_path",optional:!0}],outputs:[{name:"audio",property_type:"string",property_key:"output_audio",run_task_mapping_key:"output_audio",optional:!0}]},extract_video_to_image:{is_run_task:!0,inputs:[{name:"video",property_type:"string",property_key:"input",run_task_mapping_key:"extract_video_path",optional:!0}],outputs:[{name:"image",property_type:"string",property_key:"output_image",run_task_mapping_key:"output_image",optional:!0}]},extract_video_to_image_end:{is_run_task:!0,inputs:[{name:"video",property_type:"string",property_key:"input",run_task_mapping_key:"extract_video_path",optional:!0}],outputs:[{name:"image",property_type:"string",property_key:"output_image",run_task_mapping_key:"output_image",optional:!0}]},audio2clip:{is_run_task:!0,inputs:[{name:"audio",property_type:"string",property_key:"input_audio",run_task_mapping_key:"audio_clip_audio_path",optional:!1,primary:!0},{name:"video",property_type:"string",property_key:"input",run_task_mapping_key:"audio_clip_video_path",optional:!1}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},audio:{is_run_task:!1,inputs:[{name:"audio",property_type:"string",property_key:"input",optional:!0}],outputs:[{name:"audio",property_type:"string",property_key:"output",optional:!0}]},template_default:{is_run_task:!1,inputs:[],outputs:[]},script_master:{is_run_task:!0,inputs:[{name:"text",property_type:"string",property_key:"input_gpt_content",optional:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},llm_tool:{is_run_task:!0,task_type_name:"llm_task",inputs:[{name:"text",property_type:"string",property_key:"input_gpt_content",optional:!0,primary:!0},{name:"image",property_type:"string",property_key:"input_attachments_image",optional:!0},{name:"image_tail",property_type:"string",property_key:"llm_input_attachment_image_tail",optional:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},llm_translate:{is_run_task:!0,task_type_name:"llm_task",sub_task_type_enum:[{value:"gpt-4o-mini",label:"gpt4omini"},{value:"claude-3-7-sonnet-20250219",label:"claude37"}],inputs:[{name:"text",property_type:"string",property_key:"input_gpt_content",optional:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},llm_content_split:{is_run_task:!0,task_type_name:"llm_task",inputs:[{name:"text",property_type:"string",property_key:"input_gpt_content",optional:!0}],outputs:[{name:"text",property_type:"array",property_key:"output",optional:!0}]},publish:{is_run_task:!0,task_type_name:"publish_task",inputs:[{name:"text",property_type:"string",property_key:"input_title",optional:!0},{name:"video",property_type:"string",property_key:"input",optional:!0,primary:!0}],outputs:[{name:"text_douyin_video_link",property_type:"string",property_key:"input",optional:!0}]},comb_source:{is_run_task:!0,task_type_name:"combo_clip",inputs:[{name:"video",property_type:"array",property_key:"input",optional:!0}],outputs:[{name:"video",property_type:"string",property_key:"output",optional:!0}]},comb_text_source:{is_run_task:!0,task_type_name:"text_splitter",inputs:[{name:"text",property_type:"array",property_key:"input",optional:!0}],outputs:[{name:"text",property_type:"string",property_key:"output",optional:!0}]},audio_generate:{is_run_task:!0,task_type_name:"cui",inputs:[{name:"text",property_type:"string",property_key:"audio_prompt",optional:!0}],outputs:[{name:"audio",property_type:"string",property_key:"output",optional:!0}]},clone_image_like:{is_run_task:!0,task_type_name:"cui",inputs:[{name:"image",property_type:"string",property_key:"input",optional:!0,primary:!0},{name:"text",property_type:"string",property_key:"input_prompt",optional:!0}],outputs:[{name:"image",property_type:"string",property_key:"output",optional:!0}]},image_cut_out:{is_run_task:!0,task_type_name:"cui",inputs:[{name:"image",property_type:"string",property_key:"input",optional:!0,primary:!0},{name:"text",property_type:"string",property_key:"input_prompt",optional:!0}],outputs:[]},canvas_ratio:{is_run_task:!1,inputs:[],outputs:[{name:"text_canvas_ratio",property_type:"string",property_key:"output_text_canvas_ratio",optional:!0}]},tts_audio:{is_run_task:!0,task_type_name:"tts",inputs:[{name:"text",property_type:"string",property_key:"tts_fish_audio_text",optional:!0}],outputs:[{name:"audio",property_type:"string",property_key:"output",optional:!1}]},data_resource:{is_run_task:!0,task_type_name:"extract_data",inputs:[{name:"text",property_type:"string",property_key:"input",optional:!0,primary:!0},{name:"text",property_type:"string",property_key:"input_columns",optional:!0}],outputs:[{name:"text",property_type:"array",property_key:"output",optional:!0}]}},c={clip:[{icon:(0,o.jsx)(i.Z,{className:"h-4 w-4"}),label:"subtitle_synthesis",task_type:"video2clip",description:"在视频中嵌入字幕"},{icon:(0,o.jsx)(i.Z,{className:"h-4 w-4"}),label:"audio_synthesis",task_type:"audio2clip",description:"在视频中嵌入音频"},{icon:(0,o.jsx)(i.Z,{className:"h-4 w-4"}),label:"shot_synthesis",task_type:"comb_source",description:"合并多个视频文件"},{icon:(0,o.jsx)(i.Z,{className:"h-4 w-4"}),label:"shot_text_synthesis",task_type:"comb_text_source",description:"合并多个文本"},{icon:(0,o.jsx)(i.Z,{className:"h-4 w-4"}),label:"fabric_synthesis",task_type:"fabric2clip",description:"贴纸合成到图片"}],generate:[{icon:(0,o.jsx)("img",{src:"https://unpkg.com/@lobehub/icons-static-svg@1.16.0/icons/midjourney.svg",className:"h-4 w-4"}),label:"text_to_image",task_type:"text2image",description:"使用Midjourney 文本到图像生成"},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"image_to_video",task_type:"image2video",description:"支持可灵、SkyReels 图生视频合成"},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"image_to_static_video",task_type:"image2static_video",description:"图像生成静态镜头"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"image_replication",task_type:"clone_image_like",description:"图像克隆生成近似图片"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"image_hd_zoom",task_type:"image2zoom_in",description:"图像高清放大"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"image_to_video_prompt_enhancement",task_type:"image_prompt_enhance",description:""},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"intelligent_matting",task_type:"image_cut_out",description:""},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"image_to_description",task_type:"image2text",description:"图片生成文本解释"},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"get_audio",task_type:"extract_video",description:"从视频抽取音频内容"},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"get_first_frame",task_type:"extract_video_to_image",description:"从视频抽取首帧为图片"},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"get_last_frame",task_type:"extract_video_to_image_end",description:"从视频抽取尾帧为图片"},{icon:(0,o.jsx)(s.Z,{className:"h-4 w-4"}),label:"sound_effect_generation",task_type:"audio_generate",description:"音频语料接口"},{icon:(0,o.jsx)(p.Z,{className:"h-4 w-4"}),label:"voice_generation_tts",task_type:"tts_audio",description:"FishAudio 语音生成接口"}],media:[{icon:(0,o.jsx)(d.G,{icon:["fas","font"],className:"h-4 w-4"}),label:"text",task_type:"text",description:"编辑文本内容"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"image",task_type:"image",description:"上传图片资源"},{icon:(0,o.jsx)(l.Z,{className:"h-4 w-4"}),label:"music",task_type:"audio",description:"上传音频资源"},{icon:(0,o.jsx)(n.Z,{className:"h-4 w-4"}),label:"video",task_type:"video",description:"上传视频资源"},{icon:(0,o.jsx)(d.G,{icon:"fa-solid fa-server"}),label:"data_source",task_type:"data_resource",description:"多维表"},{icon:(0,o.jsx)(d.G,{icon:["fab","tiktok"],className:"h-4 w-4"}),label:"video_download",task_type:"download_video",description:"下载视频"}],refer:[{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"underlay_image",task_type:"image_for_text_2_image",description:"上传图片转换 Midjourney 参数"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"image_tail",task_type:"image_tail",description:"当需要图片的位置,这张图将是尾图"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"image_mark",task_type:"image_mark",description:"遮罩编辑器,同comfyui"},{icon:(0,o.jsx)(r.Z,{className:"h-4 w-4"}),label:"aspect_ratio",task_type:"canvas_ratio",description:"midjourney 的图片参考尺寸"}],story:[{icon:(0,o.jsx)(d.G,{icon:"fa-solid fa-wand-magic-sparkles"}),label:"ai_assistant",task_type:"llm_tool",description:"大模型使用"},{icon:(0,o.jsx)(d.G,{icon:"fa-solid fa-wand-magic-sparkles"}),label:"ai_translation_en",task_type:"llm_translate",description:"大模型使用"}],template:[{icon:(0,o.jsx)(d.G,{icon:"fa-brands fa-figma"}),label:"default_video_template",task_type:"template_default",description:"编写和管理脚本"},{icon:(0,o.jsx)(d.G,{icon:"fa-brands fa-figma"}),label:"all_components_demo",task_type:"template_all_demo",description:""}],publish:[{icon:(0,o.jsx)(d.G,{icon:["fab","tiktok"],className:"h-4 w-4"}),label:"publish_to_tiktok",task_type:"publish",description:"编写和管理脚本"}],cui:[]}},5898:function(e,t,a){a.d(t,{Wx:()=>o}),a(39378),a(11068),a(69114),a(56896),a(93585),a(84025),a(26705);let o=()=>localStorage.getItem("language")?localStorage.getItem("language"):"en"},26705:function(e,t,a){var o=a(31549),i=a(85515),n=a(78271),r=a(13285),s=a(45668),p=a(39378),l=a.n(p),d=a(53093),_=a(12283);(0,d.U)((e,t)=>({nodes:[],edges:[],apiStatistics:{},project:null,mode:"default",workflow:[],historyStackRedo:[],historyStackUndo:[],nodeTemplates:i.IR,cuiNodeTemplates:{},WorkFlowNodeSchema:i.PP,getNodeTemplate:e=>t().nodeTemplates[e],addNodeTemplate:(t,a)=>{e(e=>({...e,nodeTemplates:{...e.nodeTemplates,[t]:a}}))},addCuiNodeTemplate:(a,i)=>{let n=`cui_${i.cui_workflow_id}`;if(t().nodeTemplates[n])return;let r={icon:(0,o.jsx)(_.Z,{className:"h-4 w-4"}),label:a,task_type:n,description:a};e(e=>({...e,nodeTemplates:{...e.nodeTemplates,[n]:i},cuiNodeTemplates:{...e.cuiNodeTemplates,[n]:i},WorkFlowNodeSchema:{...e.WorkFlowNodeSchema,cui:[...e.WorkFlowNodeSchema.cui||[],r]}}))},resetCuiNodeTemplate:()=>{e(e=>({...e,nodeTemplates:i.IR,cuiNodeTemplates:{},WorkFlowNodeSchema:i.PP}))},updateNodeTemplate:(t,a)=>{e(e=>({...e,nodeTemplates:{...e.nodeTemplates,[t]:{...e.nodeTemplates[t],...a}}}))},getWorkFlowNodeSchema:()=>t().WorkFlowNodeSchema,setViewMode:t=>{e({mode:t})},isDebugViewMode:()=>"debug"===t().mode,setProject:t=>{e({project:t})},setWorkflow:t=>{e({workflow:t})},onNodesChange:a=>{e({nodes:(0,r.Fb)(a,t().nodes)})},onEdgesChange:a=>{e({edges:(0,r.yn)(a,t().edges)})},onConnect:a=>{let o={...a,data:{targetPort:{edges:1,portIndex:0,portCount:0,edgeIndex:0,edgeCount:0},sourcePort:{edges:1,portIndex:0,portCount:0,edgeIndex:0,edgeCount:0}},type:"dragHandleNode"};e({edges:(0,s.Z_)(o,t().edges)});let i=l().cloneDeep(t().historyStackUndo);i.push({edges:[o],nodes:[],action:"insert"}),e({historyStackUndo:i})},setNodes:t=>{e({nodes:t})},setApiStatistics:t=>{e({apiStatistics:t})},setEdges:t=>{e({edges:t})},onUndo:()=>{let a=l().cloneDeep(t().historyStackUndo),o=a.pop();if(o){let i=o.edges.map(e=>e.id),n=o.nodes.map(e=>e.id);if("insert"===o.action){let r=t().edges.filter(e=>!i.includes(e.id)),s=t().nodes.filter(e=>!n.includes(e.id)),p=t().historyStackRedo;p.push({...o,action:"delete"}),e({edges:r,nodes:s,historyStackUndo:a,historyStackRedo:p})}else if("delete"===o.action){let i=t().edges.concat(o.edges),n=t().nodes.concat(o.nodes),r=t().historyStackRedo;r.push({...o,action:"insert"}),e({edges:i,nodes:n,historyStackUndo:a,historyStackRedo:r})}}console.info(a)},onRedo:()=>{let a=l().cloneDeep(t().historyStackRedo),o=a.pop();if(o){let i=o.edges.map(e=>e.id),n=o.nodes.map(e=>e.id);if("insert"===o.action){let r=t().edges.filter(e=>!i.includes(e.id)),s=t().nodes.filter(e=>!n.includes(e.id)),p=t().historyStackUndo;p.push({...o,action:"insert"}),e({edges:r,nodes:s,historyStackUndo:p,historyStackRedo:a})}else if("delete"===o.action){let i=t().edges.concat(o.edges),n=t().nodes.concat(o.nodes),r=t().historyStackUndo;r.push({...o,action:"insert"}),e({edges:i,nodes:n,historyStackUndo:r,historyStackRedo:a})}}console.info(a)},onAddNewNode:(a,o)=>{let i=o.parentId,r=`node-${(0,n.Vj)()}`,p={id:r,type:"dragHandleNode",task_type:a,data:{id:r,type:"dragHandleNode",task_type:a,sourceHandles:[],targetHandles:[],...o.data},position:o.position?o.position:{x:0,y:0}};e({nodes:t().nodes.concat(p)});let d={nodes:[p],edges:[],action:"insert"};if(i){let a={...{source:i,sourceHandle:`${i}#source#0`,target:r,targetHandle:`${r}#target#0`},id:`${i}#${r}#0`,data:{targetPort:{edges:1,portIndex:0,portCount:0,edgeIndex:0,edgeCount:0},sourcePort:{edges:1,portIndex:0,portCount:0,edgeIndex:0,edgeCount:0}},type:"dragHandleNode"};e({edges:(0,s.Z_)(a,t().edges)}),d.edges.push(a)}let _=l().cloneDeep(t().historyStackUndo);return _.push(d),e({historyStackUndo:_}),{nodes:t().nodes,edges:t().edges,newNode:p}}}))},30157:function(e,t,a){a.d(t,{z:()=>l});var o=a(31549),i=a(40349),n=a(68621),r=a(8491),s=a(71553);let p=(0,n.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-zinc-950 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 dark:focus-visible:ring-zinc-300",{variants:{variant:{default:"bg-zinc-900 text-zinc-50 shadow-sm hover:bg-zinc-900/90 dark:bg-zinc-50 dark:text-zinc-900 dark:hover:bg-zinc-50/90",destructive:"bg-red-500 text-zinc-50 shadow-xs hover:bg-red-500/90 dark:bg-red-900 dark:text-zinc-50 dark:hover:bg-red-900/90",outline:"border border-zinc-200 bg-white shadow-xs hover:bg-zinc-100 hover:text-zinc-900 dark:border-zinc-800 dark:bg-zinc-950 dark:hover:bg-zinc-800 dark:hover:text-zinc-50",secondary:"bg-zinc-100 text-zinc-900 shadow-xs hover:bg-zinc-100/80 dark:bg-zinc-800 dark:text-zinc-50 dark:hover:bg-zinc-800/80",ghost:"hover:bg-zinc-100 hover:text-zinc-900 dark:hover:bg-zinc-800 dark:hover:text-zinc-50",link:"text-zinc-900 underline-offset-4 hover:underline dark:text-zinc-50"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef((e,t)=>{let{className:a,variant:n,size:r,asChild:l=!1,...d}=e,_=l?i.g7:"button";return(0,o.jsx)(_,{className:(0,s.cn)(p({variant:n,size:r,className:a})),ref:t,...d})});l.displayName="Button"},53701:function(e,t,a){a.d(t,{Zb:()=>r});var o=a(31549),i=a(8491),n=a(71553);let r=i.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,o.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border border-zinc-200 bg-white text-zinc-950 shadow-sm dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-50",a),...i})});r.displayName="Card",i.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,o.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",a),...i})}).displayName="CardHeader",i.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,o.jsx)("div",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",a),...i})}).displayName="CardTitle",i.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,o.jsx)("div",{ref:t,className:(0,n.cn)("text-sm text-zinc-500 dark:text-zinc-400",a),...i})}).displayName="CardDescription",i.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,o.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",a),...i})}).displayName="CardContent",i.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,o.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",a),...i})}).displayName="CardFooter"},30929:function(e,t,a){a.d(t,{$N:()=>m,Be:()=>y,Vq:()=>p,cN:()=>u,cZ:()=>_,fK:()=>c});var o=a(31549),i=a(73752),n=a(5533),r=a(8491),s=a(71553);let p=i.fC;i.xz;let l=i.h_;i.x8;let d=r.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,o.jsx)(i.aV,{ref:t,className:(0,s.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...n})});d.displayName=i.aV.displayName;let _=r.forwardRef((e,t)=>{let{className:a,children:r,...p}=e;return(0,o.jsxs)(l,{children:[(0,o.jsx)(d,{}),(0,o.jsxs)(i.VY,{ref:t,className:(0,s.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-zinc-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg dark:border-zinc-800 dark:bg-zinc-950",a),...p,children:[r,(0,o.jsxs)(i.x8,{className:"absolute right-4 top-4 rounded-xs opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-zinc-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-zinc-100 data-[state=open]:text-zinc-500 dark:ring-offset-zinc-950 dark:focus:ring-zinc-300 dark:data-[state=open]:bg-zinc-800 dark:data-[state=open]:text-zinc-400",children:[(0,o.jsx)(n.Z,{className:"h-4 w-4"}),(0,o.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});_.displayName=i.VY.displayName;let c=e=>{let{className:t,...a}=e;return(0,o.jsx)("div",{className:(0,s.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};c.displayName="DialogHeader";let u=e=>{let{className:t,...a}=e;return(0,o.jsx)("div",{className:(0,s.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};u.displayName="DialogFooter";let m=r.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,o.jsx)(i.Dx,{ref:t,className:(0,s.cn)("text-lg font-semibold leading-none tracking-tight",a),...n})});m.displayName=i.Dx.displayName;let y=r.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,o.jsx)(i.dk,{ref:t,className:(0,s.cn)("text-sm text-zinc-500 dark:text-zinc-400",a),...n})});y.displayName=i.dk.displayName},17511:function(e,t,a){a.d(t,{$F:()=>_,AW:()=>c,Xi:()=>u,bO:()=>m,h_:()=>d});var o=a(31549),i=a(47487),n=a(41660),r=a(95851),s=a(45942),p=a(8491),l=a(71553);let d=i.fC,_=i.xz;i.ZA,i.Uv,i.Tr,i.Ee,p.forwardRef((e,t)=>{let{className:a,inset:r,children:s,...p}=e;return(0,o.jsxs)(i.fF,{ref:t,className:(0,l.cn)("flex cursor-default gap-2 select-none items-center rounded-xs px-2 py-1.5 text-sm outline-hidden focus:bg-zinc-100 data-[state=open]:bg-zinc-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 dark:focus:bg-zinc-800 dark:data-[state=open]:bg-zinc-800",r&&"pl-8",a),...p,children:[s,(0,o.jsx)(n.Z,{className:"ml-auto"})]})}).displayName=i.fF.displayName,p.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,o.jsx)(i.tu,{ref:t,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-zinc-200 bg-white p-1 text-zinc-950 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-50",a),...n})}).displayName=i.tu.displayName;let c=p.forwardRef((e,t)=>{let{className:a,sideOffset:n=4,...r}=e;return(0,o.jsx)(i.Uv,{children:(0,o.jsx)(i.VY,{ref:t,sideOffset:n,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-zinc-200 bg-white p-1 text-zinc-950 shadow-md dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-50","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})})});c.displayName=i.VY.displayName;let u=p.forwardRef((e,t)=>{let{className:a,inset:n,...r}=e;return(0,o.jsx)(i.ck,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center gap-2 rounded-xs px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-zinc-100 focus:text-zinc-900 data-disabled:pointer-events-none data-disabled:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0 dark:focus:bg-zinc-800 dark:focus:text-zinc-50",n&&"pl-8",a),...r})});u.displayName=i.ck.displayName;let m=p.forwardRef((e,t)=>{let{className:a,children:n,checked:s,...p}=e;return(0,o.jsxs)(i.oC,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-zinc-100 focus:text-zinc-900 data-disabled:pointer-events-none data-disabled:opacity-50 dark:focus:bg-zinc-800 dark:focus:text-zinc-50",a),checked:s,...p,children:[(0,o.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,o.jsx)(i.wU,{children:(0,o.jsx)(r.Z,{className:"h-4 w-4"})})}),n]})});m.displayName=i.oC.displayName,p.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,o.jsxs)(i.Rk,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-zinc-100 focus:text-zinc-900 data-disabled:pointer-events-none data-disabled:opacity-50 dark:focus:bg-zinc-800 dark:focus:text-zinc-50",a),...r,children:[(0,o.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,o.jsx)(i.wU,{children:(0,o.jsx)(s.Z,{className:"h-2 w-2 fill-current"})})}),n]})}).displayName=i.Rk.displayName,p.forwardRef((e,t)=>{let{className:a,inset:n,...r}=e;return(0,o.jsx)(i.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",a),...r})}).displayName=i.__.displayName,p.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,o.jsx)(i.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-zinc-100 dark:bg-zinc-800",a),...n})}).displayName=i.Z0.displayName},93585:function(e,t,a){a.d(t,{Am:()=>m,L$:()=>c,S3:()=>u,x9:()=>_}),a(8491);var o=a(71553);let i=0,n=new Map,r=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},s=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?r(a):e.toasts.forEach(e=>{r(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},p=[],l={toasts:[]};function d(e){l=s(l,e),p.forEach(e=>{e(l)})}let _=e=>{m({title:`成功`,description:e,variant:"success",className:(0,o.cn)("top-2 right-2 flex fixed md:max-w-[420px] md:top-4 md:right-4")})},c=e=>{m({title:`提示`,description:e,variant:"default",className:(0,o.cn)("top-2 right-2 flex fixed md:max-w-[420px] md:top-4 md:right-4")})},u=e=>{m({title:`失败`,description:e,variant:"destructive",className:(0,o.cn)("top-2 right-2 flex fixed md:max-w-[420px] md:top-4 md:right-4")})};function m(e){let{...t}=e,a=(i=(i+1)%Number.MAX_SAFE_INTEGER).toString(),o=()=>d({type:"DISMISS_TOAST",toastId:a});return d({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||o()}}}),{id:a,dismiss:o,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:a}})}}},71553:function(e,t,a){a.d(t,{U_:()=>u,Zv:()=>c,cn:()=>l,eF:()=>d,n6:()=>_});var o=a(10976),i=a(39378),n=a.n(i),r=a(84025),s=a.n(r),p=a(67946);function l(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,p.m6)((0,o.W)(t))}a(48165),s().locale("zn-cn");let d=e=>{let t,a;a=(t=e||{}).current?s().utc(t.current):s().utc(),n().isEmpty(t.format)&&(t.format="MM月DD日 LTS");let o=a.locale("zn-cn");return t.offset?`${o.add(-t.offset,"day").format(t.format)} `:`${o.format(t.format)} `},_=e=>Object.fromEntries(new URLSearchParams(e.split("?")[1]).entries());function c(e,t){if(null==e)return 0;let a=e.toString().split(".")[0];if(a.length<5)return a;if(a.length>=5&&a.length<=8){let o=a.substring(a.length-4,a.length-4+t);return`${parseFloat(`${parseInt(`${e/1e4}`)}.${o}`)}万`}if(a.length>8){let o=a.substring(a.length-8,a.length-8+t);return`${parseFloat(`${parseInt(`${e/1e8}`)}.${o}`)}亿`}}function u(e,t){let a={};return Object.keys(e).forEach(o=>{Object.keys(t).forEach(i=>{o==i&&(a[t[i]]=e[o])})}),a}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkremote=self.webpackChunkremote||[]).push([["491"],{52099:function(e,t,s){s.d(t,{u:()=>a});var l=s(31549),i=s(34778);s(8491);var r=s(71553),n=s(65005);let a=e=>{let{children:t,content:s,tooltipContentClassName:a}=e;return(0,l.jsxs)("div",{className:"inline-flex whitespace-nowrap justify-center items-center w-fit",children:[t,(0,l.jsx)(n.pn,{children:(0,l.jsxs)(n.u,{children:[(0,l.jsx)(n.aJ,{className:"inline-flex w-fit",children:(0,l.jsx)(i.Z,{className:"ml-1",size:15})}),(0,l.jsx)(n._v,{className:(0,r.cn)("max-w-60 overflow-y-auto h-full",a),children:(0,l.jsx)("div",{children:s})})]})})]})}},38137:function(e,t,s){s.d(t,{Z:()=>eg});var l=s(31549),i=s(53589),r=s(71553);let n=async(e,t)=>{try{let s=`/sniffing/account/${e.replace(" ","")}/${t}`;return await i.hi.get(s)}catch(e){console.error("Error fetching video posts:",e)}},a=async(e,t)=>{try{let s=`/sniffing/video/${e.replace(" ","")}/${t}`;return await i.hi.get(s)}catch(e){console.error("Error fetching video posts:",e)}};var c=s(40349),o=s(41660),d=(s(65535),s(8491)),u=s.n(d);let m=d.forwardRef((e,t)=>{let{...s}=e;return(0,l.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...s})});m.displayName="Breadcrumb";let x=d.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)("ol",{ref:t,className:(0,r.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-zinc-500 sm:gap-2.5 dark:text-zinc-400",s),...i})});x.displayName="BreadcrumbList";let h=d.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)("li",{ref:t,className:(0,r.cn)("inline-flex items-center gap-1.5",s),...i})});h.displayName="BreadcrumbItem";let f=d.forwardRef((e,t)=>{let{asChild:s,className:i,...n}=e,a=s?c.g7:"a";return(0,l.jsx)(a,{ref:t,className:(0,r.cn)("transition-colors hover:text-zinc-950 dark:hover:text-zinc-50",i),...n})});f.displayName="BreadcrumbLink";let j=d.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)("span",{ref:t,role:"link","aria-disabled":"true","aria-current":"page",className:(0,r.cn)("font-normal font-semibold text-zinc-950 text- dark:text-zinc-50",s),...i})});j.displayName="BreadcrumbPage";let g=e=>{let{children:t,className:s,...i}=e;return(0,l.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,r.cn)("[&>svg]:w-3.5 [&>svg]:h-3.5",s),...i,children:t??(0,l.jsx)(o.Z,{})})};g.displayName="BreadcrumbSeparator";var p=s(57282);let v=e=>{let{data_type:t,links:s,children:i}=e;function r(e,s){return"account_add_sniffing"==e?(0,l.jsx)(f,{href:"http://dev.swfitcast.ai:8001/swfitcast_admin/",children:s}):t!=e?(0,l.jsx)(f,{href:`?data_type=${e}`,children:s}):(0,l.jsx)(j,{children:s})}return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"h-10 px-4 w-full inline-flex items-center justify-between",children:[(0,l.jsx)(m,{children:(0,l.jsxs)(x,{children:[(0,l.jsx)(h,{children:r(s[0].key,s[0].value)},"crumb-0"),s.slice(1).map((e,t)=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g,{},`crumb${t+1}`),(0,l.jsx)(h,{children:r(e.key,e.value)},`crumb${t}`)]}))]})}),i]}),(0,l.jsx)(p.Z,{})]})},w=[{key:"video_sniffing",value:"视频"},{key:"account_sniffing",value:"账号"}];var _=s(90164),y=s(31421),N=s(48959),b=s(39378),k=s.n(b),C=s(90464),z=s(5533),S=s(82986),F=s(39841),R=s(30911),T=s(4783),K=s(30157),Z=s(85737),V=s(94502);let M=e=>{let{generateCurrentTableData:t}=e,[s,i]=(0,d.useState)(""),[n,a]=(0,d.useState)(!1);return(0,l.jsxs)(Z.J2,{children:[(0,l.jsxs)(Z.xo,{children:[" ",(0,l.jsx)(K.z,{className:"ml-1 h-8 w-8 ",variant:"outline",size:"sm",onClick:()=>{},children:(0,l.jsx)(R.Z,{})})]}),(0,l.jsxs)(Z.yk,{className:"w-[700px]",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)(K.z,{disabled:n,onClick:async()=>{let e=(0,N.iL)({fieldSeparator:",",decimalSeparator:".",useKeysAsHeaders:!0,filename:`${(0,r.eF)()}`});(0,N.gB)(e)(t()),a(!0),i("loading...."),a(!1)},children:["Ask 广林 ",n&&(0,l.jsx)(T.Z,{className:"animate-spin"})]})," ",(0,l.jsx)("span",{className:"ml-2 text-sm",children:"关闭设置 chrome://flags/#block-insecure-private-network-requests"})]}),(0,l.jsx)(V.g,{className:"mt-4 min-h-[500px]",value:s})]})]})};var $=s(17511),L=s(44153);let P=e=>{let{className:t}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,r.cn)("animate-spin",t),children:(0,l.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})};var D=s(72513),A=s(34270);class B extends u().PureComponent{componentDidMount(){this.props.listenRef.addEventListener("scroll",this.onScroll)}componentWillUnmount(){this.props.listenRef.removeEventListener("scroll",this.onScroll)}render(){return(0,l.jsx)("div",{style:{position:"absolute",float:"right",right:"20px",bottom:"20px",width:"40px",textAlign:"center",zIndex:2},children:this.isShowAvailable()&&(0,l.jsx)("div",{className:"bg-gray-200 w-fit rounded-md p-1 cursor-pointer",onClick:this.scrollToTop,children:(0,l.jsx)(A.Z,{})})})}constructor(...e){super(...e),(0,D._)(this,"state",{scrollLastTop:this.props.listenRef.scrollTop}),(0,D._)(this,"isShowAvailable",()=>this.props.listenRef.scrollHeight>window.innerHeight&&5*this.props.listenRef.scrollTop>this.props.listenRef.scrollHeight),(0,D._)(this,"scrollToTop",()=>{null!=this.props.listenRef&&this.props.listenRef.scrollTo({top:0,left:0,behavior:"smooth"})}),(0,D._)(this,"onScroll",()=>{this.setState({scrollLastTop:this.props.listenRef.scrollTop})})}}function E(e){var t,s;let{columns:i,data:n,filter:a,init:c={defaultSortColumn:void 0,pageIndex:0,pageSize:Number.MAX_VALUE,disableTool:!1},loading:u=!1,assistTools:m,height:x=""}=e,[h,f]=d.useState([]),[j,g]=d.useState([]),[p,v]=d.useState({}),[w,b]=d.useState({}),R=(0,d.useRef)(null),T=(0,_.b7)({data:n,columns:i,onSortingChange:f,onColumnFiltersChange:g,getCoreRowModel:(0,y.sC)(),getPaginationRowModel:(0,y.G_)(),getSortedRowModel:(0,y.tj)(),getFilteredRowModel:(0,y.vL)(),onColumnVisibilityChange:v,onRowSelectionChange:b,state:{sorting:h,columnFilters:j,columnVisibility:p,rowSelection:w},initialState:{pagination:{...c}}});(0,d.useEffect)(()=>{let e=(0,r.n6)(window.location.href).filter;e&&a&&Z(a.accessorKey,e),c&&(T.setColumnVisibility({...c.columnVisibility}),c.defaultSortColumn&&T.setSorting([{id:c.defaultSortColumn,desc:!0}]))},[]);let Z=async(e,t)=>{var s;await (null==(s=T.getColumn(e))?void 0:s.setFilterValue(t)),a&&a.callback&&setTimeout(()=>{let e=T.getFilteredRowModel().rows.map(e=>e);a.callback&&a.callback(e)},1e3)};function V(){let e=T.getPrePaginationRowModel().rows.map(e=>e.original),t={};for(let s of i)s.accessorKey&&s.csvTitle&&s.accessorKey in e[0]&&(t[s.accessorKey]=s.csvTitle);c&&c.csv&&(t={...c.csv.keyDict,...t});let s=Object.keys(t);return e.map(e=>{let t=k().pick(e,s);return c&&c.csv&&c.csv.appendRows&&(t={...t,...c.csv.appendRows(e)}),t}).map(e=>(0,r.U_)(e,t))}return(0,l.jsxs)("div",{children:[!(c&&c.disableTool)&&(0,l.jsxs)("div",{className:"flex items-center py-4 justify-between",children:[(0,l.jsxs)("div",{children:[" ",m&&m.map(e=>e)]}),(0,l.jsxs)("div",{className:"w-fit items-center inline-flex ",children:[(0,l.jsxs)("span",{className:"text-gray-400 mr-1 text-sm",children:["当前显示 ",T.getState().pagination.pageIndex+1," of"," ",T.getPageCount()," 页,总"," ",T.getFilteredRowModel().rows.length," 行"]}),(0,l.jsx)(K.z,{variant:"outline",size:"sm",className:"ml-1 h-8 w-8",onClick:()=>T.previousPage(),disabled:!T.getCanPreviousPage(),children:(0,l.jsx)(C.Z,{})}),(0,l.jsx)(K.z,{className:"ml-1 h-8 w-8 ",variant:"outline",size:"sm",onClick:()=>T.nextPage(),disabled:!T.getCanNextPage(),children:(0,l.jsx)(o.Z,{})}),c&&c.enableAI&&(0,l.jsx)(M,{generateCurrentTableData:V}),a?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"w-fit inline-flex ml-1",children:(0,l.jsxs)("div",{className:(0,r.cn)("flex h-8 items-center rounded-md border border-input bg-white pr-3 text-sm ring-offset-background focus-within:ring-1 focus-within:ring-ring focus-within:ring-offset-2"),children:[(0,l.jsx)("input",{placeholder:`Filter ${a.placement}...`,value:(null==(t=T.getColumn(a.accessorKey))?void 0:t.getFilterValue())??"",onChange:e=>{Z(a.accessorKey,e.target.value)},className:"w-full h-7 p-2 placeholder:text-muted-foreground focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50"}),(0,l.jsx)("div",{className:" ml-1 hover:cursor-pointer opacity-10 hover:opacity-100 ",onClick:()=>{T.resetColumnFilters()},children:(0,l.jsx)(z.Z,{size:15})})]})})}):(0,l.jsx)("div",{}),(0,l.jsx)(K.z,{size:"sm",variant:"outline",className:"ml-1 h-8 w-8",onClick:()=>{let e=V(),t=[];Object.keys(e[0]).forEach(e=>{let s={key:e,displayLabel:e};e.includes("id")?t.unshift(s):t.push(s)});let s=(0,N.iL)({fieldSeparator:",",decimalSeparator:".",useKeysAsHeaders:!1,columnHeaders:t,filename:`${(0,r.eF)()}`}),l=(0,N.gB)(s);(0,N.LR)(s)(l(e))},children:(0,l.jsx)(S.Z,{})}),(0,l.jsxs)($.h_,{children:[(0,l.jsx)($.$F,{asChild:!0,children:(0,l.jsxs)(K.z,{variant:"outline",className:"ml-1 h-8",children:["显示列 ",(0,l.jsx)(F.Z,{})]})}),(0,l.jsx)($.AW,{align:"end",children:T.getAllColumns().filter(e=>e.getCanHide()).map(e=>(0,l.jsx)($.bO,{className:"capitalize",checked:e.getIsVisible(),onCheckedChange:t=>e.toggleVisibility(!!t),children:e.columnDef.csvTitle?e.columnDef.csvTitle:e.id},e.id))})]})]})]}),(0,l.jsx)("div",{className:"rounded-md border",children:u?(0,l.jsx)("div",{className:"flex w-full h-[600px] justify-center items-center",children:(0,l.jsx)(P,{})}):(0,l.jsxs)(L.iA,{ref:R,className:(0,r.cn)("inline-block overflow-y-auto w-full",x),children:[(0,l.jsx)(L.xD,{className:"sticky top-0 bg-white z-10 shadow-xs",children:T.getHeaderGroups().map(e=>(0,l.jsx)(L.SC,{children:e.headers.map(e=>(0,l.jsx)(L.ss,{children:e.isPlaceholder?null:(0,_.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,l.jsx)(L.RM,{className:"relative",children:(null==(s=T.getRowModel().rows)?void 0:s.length)?T.getRowModel().rows.map(e=>(0,l.jsx)(L.SC,{"data-state":e.getIsSelected()&&"selected",children:e.getVisibleCells().map(e=>(0,l.jsx)(L.pj,{children:(0,_.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,l.jsx)(L.SC,{children:(0,l.jsx)(L.pj,{colSpan:null==i?void 0:i.length,className:"h-24 text-center",children:"No results."})})}),R.current&&(0,l.jsx)(B,{listenRef:R.current})]})})]})}let H=e=>{let{children:t,link:s,className:i}=e;return(0,l.jsx)("a",{target:"_blank",href:s,className:(0,r.cn)("cursor-pointer mx-1 inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 text-foreground",i),rel:"noreferrer",children:t})},Y=e=>{let{link:t,className:s}=e;return(0,l.jsx)(H,{link:t,className:(0,r.cn)(!t&&"text-gray-400 cursor-default"),children:"抖音"})},I=e=>{let{children:t,className:s,src:i}=e;return(0,l.jsx)("a",{className:(0,r.cn)("hover:underline",s),href:function(e){let t=new URLSearchParams(window.location.search);return t.set("filter",e),i&&t.set("data_type",i),`?${t.toString()}`}(t),children:t})};var Q=s(95747);let J=d.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)(Q.fC,{ref:t,className:(0,r.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",s),...i})});J.displayName=Q.fC.displayName;let O=d.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)(Q.Ee,{ref:t,className:(0,r.cn)("aspect-square h-full w-full",s),...i})});O.displayName=Q.Ee.displayName;let U=d.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)(Q.NY,{ref:t,className:(0,r.cn)("flex h-full w-full items-center justify-center rounded-full bg-zinc-100 dark:bg-zinc-800",s),...i})});U.displayName=Q.NY.displayName;let W=e=>{let{account:t}=e;return k().isEmpty(t.name)?"":(0,l.jsxs)("div",{className:"inline-flex w-fit justify-center items-center ",children:[(0,l.jsxs)(J,{className:"w-8 h-8",children:[(0,l.jsx)(O,{src:t.user_cover}),(0,l.jsx)(U,{children:t.sid})]}),(0,l.jsx)(I,{className:"ml-2",src:"video_sniffing",children:t.name?t.name:""})," ",(0,l.jsx)(Y,{link:t.user_visit_url})]})};var q=s(52099),G=s(84025),X=s.n(G);let ee=e=>{let{src:t,className:s}=e;return(0,l.jsxs)(Z.J2,{children:[(0,l.jsxs)(Z.xo,{children:[" ",(0,l.jsx)("img",{className:(0,r.cn)(s),src:t,alt:"Video Cover"})]}),(0,l.jsx)(Z.yk,{side:"top",children:(0,l.jsx)("img",{src:t,alt:"Video Cover"})})]})},et=e=>{let{children:t,link:s,className:i}=e;return(0,l.jsx)("a",{title:t,target:"_blank",className:(0,r.cn)("cursor-pointer hover:underline hover:text-blue-600 truncate max-w-[350px] ",i),href:s,rel:"noreferrer",children:t})};var es=s(11068);let el=e=>{let{info:t}=e;return(0,l.jsxs)("div",{className:"inline-flex flex-row w-[300px] overflow-hidden",children:[(0,l.jsx)("div",{children:(0,l.jsx)(ee,{src:t.cover_url,className:" min-w-[50px] h-[80px] object-cover"})}),(0,l.jsxs)("div",{className:"flex flex-col ml-2 w-full justify-center py-1 ",children:[(0,l.jsxs)("div",{className:"truncate",title:t.title,children:[(0,l.jsx)(K.z,{size:"2",variant:"ghost",onClick:async()=>{let e=(await (0,es.DQ)({task_type:"download_video",download_video_link_platform:"douyin",download_video_link:t.visit_link})).workflow_id;window.open(`https://task.8600800.com/runs/${e}`,"_blank")},children:(0,l.jsx)(S.Z,{className:"mx-2",size:1})}),(0,l.jsx)(Y,{link:t.visit_link}),t.title?t.title:"无标题"]}),(0,l.jsxs)("div",{className:"text-sm text-gray-600 truncate ",title:t.tag,children:[" ",t.tag?t.tag:"无标签"]}),(0,l.jsxs)("span",{className:"text-[10px] ",children:["发布时间:"," ",(0,l.jsx)(et,{link:t.visit_link,children:(0,r.eF)({current:t.video_create_time,format:"YYYY-MM-DD HH:mm:ss"})})]}),(0,l.jsxs)("span",{className:"text-[10px] ",title:`update_time: ${t.update_time}`,children:["爬取时间: ",function(){if(!t.update_time)return"update_time 获取异常";let e=X()().diff(X()(t.update_time),"milliseconds"),s=X().duration(e);return 0!=s.days()?`${s.days()} 天前`:0!=s.hours()?`${s.hours()} 小时 ${s.minutes()} 分钟前`:0!=s.minutes()?`${s.minutes()} 分钟前`:"时间差值计算异常"}()]})]})]})};var ei=s(14303),er=s(84811),en=s(97042);let ea=e=>{let{column:t,children:s,tooltip:i}=e,r=t.getIsSorted();function n(){return(0,l.jsxs)(K.z,{variant:"ghost",onClick:()=>{!1===r?t.toggleSorting(!0):"desc"===r?t.toggleSorting(!1):t.toggleSorting(!0)},children:[s,!1===r&&(0,l.jsx)(ei.Z,{}),"desc"===r&&(0,l.jsx)(er.Z,{className:"text-[#FF9000]"}),"asc"===r&&(0,l.jsx)(en.Z,{className:"text-[#FF9000]"})]})}return i?(0,l.jsx)(q.u,{content:i,children:n()}):n()},ec=[{csvTitle:"账号名称",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"账号名称"})},accessorKey:"name",cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)(W,{account:s})}},{csvTitle:"新增发布",accessorKey:"new_video_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"新增发布"})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)(q.u,{tooltipContentClassName:"max-w-100",content:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:[(0,l.jsx)("div",{children:" 开始时间: "}),(0,l.jsx)("div",{children:s.new_video_start_time}),(0,l.jsx)("div",{children:" 结束时间: "}),(0,l.jsx)("div",{children:s.new_video_end_time})]}),children:(0,l.jsxs)("div",{className:"text-[#FF9000]",children:[" ",s.new_video_count]})})}},{csvTitle:"新增点赞",accessorKey:"incr_digg_counts",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"新增点赞"})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)(q.u,{tooltipContentClassName:"max-w-100",content:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:[(0,l.jsx)("div",{children:" 开始时间:"}),(0,l.jsx)("div",{children:s.new_video_start_time}),(0,l.jsx)("div",{children:" 结束时间:"}),(0,l.jsx)("div",{children:s.new_video_end_time})]}),children:(0,l.jsxs)("div",{className:"text-[#FF9000]",children:[" ",s.incr_digg_counts]})})}},{csvTitle:"新增粉丝",accessorKey:"incr_follower_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"新增粉丝"})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)(q.u,{tooltipContentClassName:"max-w-100",content:(0,l.jsxs)("div",{className:"grid grid-cols-3 gap-1",children:[(0,l.jsx)("div",{children:" 最近日期: "}),(0,l.jsx)("div",{children:s.old_update_time}),(0,l.jsxs)("div",{children:["最近值: ",s.old_follower_count]}),(0,l.jsx)("div",{children:" 最新抓取时间: "}),(0,l.jsx)("div",{children:s.update_time}),(0,l.jsxs)("div",{children:["最新值: ",s.follower_count]})]}),children:(0,l.jsx)("div",{className:"text-[#FF9000]",children:s.incr_follower_count})})}},{csvTitle:"粉丝",accessorKey:"collect_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"粉丝"})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)("div",{children:(0,r.Zv)(s.collect_count,2)})}},{csvTitle:"获赞",accessorKey:"digg_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"获赞"})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)("div",{children:(0,r.Zv)(s.digg_count,2)})}},{csvTitle:"评论",accessorKey:"comment_counts",header:e=>{let{column:t}=e;return(0,l.jsx)(q.u,{content:"快照数据求和 comment求和",children:(0,l.jsx)(ea,{column:t,children:"总评论"})})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)("div",{children:(0,r.Zv)(s.comment_counts,2)})}},{csvTitle:"分享",accessorKey:"share_counts",header:e=>{let{column:t}=e;return(0,l.jsxs)(q.u,{content:"快照数据求和 share_count 求和",children:[" ",(0,l.jsx)(ea,{column:t,children:"总分享"})]})},cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)("div",{children:(0,r.Zv)(s.share_counts,2)})}},{csvTitle:"最近一次发布视频时间",accessorKey:"create_time",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"最近一次发布视频"})},sortingFn:(e,t)=>e.original.video_create_time<t.original.video_create_time?-1:1,cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)("div",{className:"flex flex-row w-full",children:(0,l.jsx)(el,{info:s})})}}],eo=e=>{let{cell:t,dataKey:s}=e,i=t.original;return(0,l.jsx)("div",{children:(0,r.Zv)(i[s],2)})},ed=[{csvTitle:"账号名称",accessorKey:"name",header:"账号名称",cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)(W,{account:s})}},{csvTitle:"视频时间",accessorKey:"create_time",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"视频信息"})},sortingFn:(e,t)=>X()(e.original.create_time)>X()(t.original.create_time)?1:-1,cell:e=>{let{row:t}=e,s=t.original;return(0,l.jsx)("div",{className:"flex flex-row min-w-[400px] ",children:(0,l.jsx)(el,{info:{title:s.desc,tag:s.tag,visit_link:s.link,cover_url:s.cover,video_create_time:s.create_time,update_time:s.update_time}})})}},{csvTitle:"点赞",accessorKey:"digg_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"点赞"})},cell:e=>{let{row:t}=e;return(0,l.jsx)(eo,{cell:t,dataKey:"digg_count"})}},{csvTitle:"评论",accessorKey:"comment_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"评论"})},cell:e=>{let{row:t}=e;return(0,l.jsx)(eo,{cell:t,dataKey:"comment_count"})}},{csvTitle:"收藏",accessorKey:"collect_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"收藏"})},cell:e=>{let{row:t}=e;return(0,l.jsx)(eo,{cell:t,dataKey:"collect_count"})}},{csvTitle:"分享",accessorKey:"share_count",header:e=>{let{column:t}=e;return(0,l.jsx)(ea,{column:t,children:"分享"})},cell:e=>{let{row:t}=e;return(0,l.jsx)(eo,{cell:t,dataKey:"share_count"})}}];var eu=s(57972);let em="yyyy-MM-D";var ex=s(76497),eh=s(7132),ef=s(35731);let ej=e=>{let{defaultValue:t="365",callback:s}=e,i="yyyy-MM-D";return(0,l.jsxs)(eu.Ph,{defaultValue:t,onValueChange:async e=>{let t,l;4==e?(t=(0,r.eF)({offset:3,format:i}),l=(0,r.eF)({format:i})):7==e?(t=(0,r.eF)({offset:7,format:i}),l=(0,r.eF)({format:i})):15==e?(t=(0,r.eF)({offset:15,format:i}),l=(0,r.eF)({format:i})):365==e?(t=(0,r.eF)({offset:365,format:i}),l=(0,r.eF)({format:i})):(t=(0,r.eF)({offset:e,format:i}),l=(0,r.eF)({offset:e,format:i})),await s(t,l,e)},children:[(0,l.jsx)(eu.i4,{className:"w-[180px]",children:(0,l.jsx)(eu.ki,{})}),(0,l.jsxs)(eu.Bw,{children:[(0,l.jsx)(eu.Ql,{value:"365",children:"全部时间"}),(0,l.jsx)(eu.Ql,{value:"1",children:"昨天"}),(0,l.jsx)(eu.Ql,{value:"2",children:"前天"}),(0,l.jsx)(eu.Ql,{value:"3",children:"大前天"}),(0,l.jsx)(eu.Ql,{value:"4",children:"3天内"}),(0,l.jsx)(eu.Ql,{value:"7",children:"7天内"}),(0,l.jsx)(eu.Ql,{value:"15",children:"15天内"})]})]})},eg=()=>{let[e,t]=(0,d.useState)([]),[s,i]=(0,d.useState)(!0),[c,o]=(0,d.useState)(!1),[u,m]=(0,d.useState)("account_sniffing"),x=(0,eh.T)();return(0,ex.Z)(async()=>{let e=x.search.data_type;e=e||"account_sniffing",o(!0);try{let s;"account_sniffing"===e?s=await n((0,r.eF)({offset:3,format:em}),(0,r.eF)({format:em})):"video_sniffing"===e?s=await a((0,r.eF)({offset:3,format:em}),(0,r.eF)({format:em})):"account_add_sniffing"===e&&(s=[]),t(s),m(e)}finally{o(!1)}},[]),(0,l.jsxs)("div",{className:"w-fit",children:[(0,l.jsx)(v,{links:w,data_type:u,children:(0,l.jsx)(K.z,{className:"h-[20px]",size:"sm",onClick:()=>{window.open("http://122.9.155.28:7100/swfitcast_admin/account-login-info/list","_blank")},children:"添加监控账号"})}),(0,l.jsxs)(ef.Z,{spinning:c,children:["account_sniffing"===u&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"px-4",children:(0,l.jsx)("div",{className:"flex flex-col w-full",children:(0,l.jsx)("div",{className:"flex w-full",children:(0,l.jsx)(E,{height:"max-h-[calc(100vh-180px)]",columns:ec.filter(e=>s||!s&&!["incr_digg_counts","incr_follower_counts"].includes(e.accessorKey)),data:e,init:{pageSize:100,defaultSortColumn:"incr_digg_counts"},filter:{placement:"账号名称",accessorKey:"name"},assistTools:[(0,l.jsx)(ej,{defaultValue:"4",callback:async(e,s,l)=>{o(!0),t(await n(e,s)),i(365!=l),o(!1)}})]})})})})}),"video_sniffing"===u&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"inline-flex w-full items-center justify-center",children:(0,l.jsx)(E,{height:"max-h-[calc(100vh-180px)]",columns:ed.filter(e=>s||!s&&!["incr_video_count","incr_digg_count"].includes(e.accessorKey)),data:e,filter:{placement:" 账号名称",accessorKey:"name"},init:{pageIndex:0,pageSize:100,columnVisibility:{},defaultSortColumn:"digg_count"},assistTools:[(0,l.jsx)(ej,{defaultValue:"4",callback:async(e,s)=>{o(!0),t(await a(e,s)),o(!1)}})]})})})]})]})}},85737:function(e,t,s){s.d(t,{J2:()=>a,xo:()=>c,yk:()=>o});var l=s(31549),i=s(51845),r=s(8491),n=s(71553);let a=i.fC,c=i.xz;i.ee;let o=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:a=4,...c}=e;return(0,l.jsx)(i.h_,{children:(0,l.jsx)(i.VY,{ref:t,align:r,sideOffset:a,className:(0,n.cn)("z-50 w-72 rounded-md border border-zinc-200 bg-white p-2 text-zinc-950 shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-50",s),...c})})});o.displayName=i.VY.displayName},94502:function(e,t,s){s.d(t,{g:()=>n});var l=s(31549),i=s(8491),r=s(71553);let n=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,l.jsx)("textarea",{className:(0,r.cn)("flex min-h-[60px] w-full rounded-md border border-zinc-200 bg-transparent px-3 py-2 text-base shadow-xs placeholder:text-zinc-500 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-zinc-950 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:border-zinc-800 dark:placeholder:text-zinc-400 dark:focus-visible:ring-zinc-300",s),ref:t,...i})});n.displayName="Textarea"},65005:function(e,t,s){s.d(t,{_v:()=>d,aJ:()=>o,pn:()=>a,u:()=>c});var l=s(31549),i=s(91866),r=s(8491),n=s(71553);let a=i.zt,c=i.fC,o=i.xz,d=r.forwardRef((e,t)=>{let{className:s,sideOffset:r=4,...a}=e;return(0,l.jsx)(i.h_,{children:(0,l.jsx)(i.VY,{ref:t,sideOffset:r,className:(0,n.cn)("z-50 overflow-hidden rounded-md bg-zinc-900 px-3 py-1.5 text-xs text-zinc-50 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-zinc-50 dark:text-zinc-900",s),...a})})});d.displayName=i.VY.displayName}}]);
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/*! For license information please see 510.
|
2
|
-
(self.webpackChunkclip_editor_react=self.webpackChunkclip_editor_react||[]).push([["510"],{52395:function(e,t,n){"use strict";n.d(t,{Z:()=>u});var r=n(90939),a=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function i(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function o(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function s(e,t,n){var r;return Math.round(100*Math.max(0,Math.min(1,n?e.v+.05*t:e.v-.15*t)))/100}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],u=new r.t(e),l=u.toHsv(),d=5;d>0;d-=1){var c=new r.t({h:i(l,d,!0),s:o(l,d,!0),v:s(l,d,!0)});n.push(c)}n.push(u);for(var _=1;_<=4;_+=1){var f=new r.t({h:i(l,_),s:o(l,_),v:s(l,_)});n.push(f)}return"dark"===t.theme?a.map(function(e){var a=e.index,i=e.amount;return new r.t(t.backgroundColor||"#141414").mix(n[a],i).toHexString()}):n.map(function(e){return e.toHexString()})}},7553:function(e,t,n){"use strict";n.d(t,{IX:()=>D,rb:()=>E});var r=n(52655),a=n(57987),i=n(50793),o=n(19741),s=n(56606),u=n.n(s),l=n(96142),d=n(71123),c=n(83739),_=n(61764),f=n(14425),h=n(81087),m=(0,c.Z)(function e(){(0,d.Z)(this,e)}),p="CALC_UNIT",y=RegExp(p,"g");function M(e){return"number"==typeof e?"".concat(e).concat(p):e}var g=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(e,a){(0,d.Z)(this,n),o=t.call(this),(0,i.Z)((0,_.Z)(o),"result",""),(0,i.Z)((0,_.Z)(o),"unitlessCssVar",void 0),(0,i.Z)((0,_.Z)(o),"lowPriority",void 0);var o,s=(0,r.Z)(e);return o.unitlessCssVar=a,e instanceof n?o.result="(".concat(e.result,")"):"number"===s?o.result=M(e):"string"===s&&(o.result=e),o}return(0,c.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(M(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(M(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(y,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(m),v=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(e){var r;return(0,d.Z)(this,n),r=t.call(this),(0,i.Z)((0,_.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,c.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(m);let L=function(e,t){var n="css"===e?g:v;return function(e){return new n(e,t)}},b=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};n(3389);let w=function(e,t,n,r){var i=(0,o.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,a.Z)(e,2),r=n[0],o=n[1];(null!=i&&i[r]||null!=i&&i[o])&&(null!=i[o]||(i[o]=null==i?void 0:i[r]))});var s=(0,o.Z)((0,o.Z)({},n),i);return Object.keys(s).forEach(function(e){s[e]===t[e]&&delete s[e]}),s};var Y="undefined"!=typeof CSSINJS_STATISTIC,k=!0;function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Y)return Object.assign.apply(Object,[{}].concat(t));k=!1;var a={};return t.forEach(function(e){"object"===(0,r.Z)(e)&&Object.keys(e).forEach(function(t){Object.defineProperty(a,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})})}),k=!0,a}var x={};function T(){}let S=function(e){var t,n=e,r=T;return Y&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){if(k){var r;null==(r=t)||r.add(n)}return e[n]}}),r=function(e,n){var r;x[e]={global:Array.from(t),component:(0,o.Z)((0,o.Z)({},null==(r=x[e])?void 0:r.component),n)}}),{token:n,keys:t,flush:r}},j=function(e,t,n){if("function"==typeof n){var r;return n(D(t,null!=(r=t[e])?r:{}))}return null!=n?n:{}};var H=new(function(){function e(){(0,d.Z)(this,e),(0,i.Z)(this,"map",new Map),(0,i.Z)(this,"objectIDMap",new WeakMap),(0,i.Z)(this,"nextID",0),(0,i.Z)(this,"lastAccessBeat",new Map),(0,i.Z)(this,"accessBeat",0)}return(0,c.Z)(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map(function(e){return e&&"object"===(0,r.Z)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,r.Z)(e),"_").concat(e)}).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());let O=function(){return{}},E=function(e){var t=e.useCSP,n=void 0===t?O:t,s=e.useToken,d=e.usePrefix,c=e.getResetStyles,_=e.getCommonStyle,f=e.getCompUnitless;function h(t,i,f){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},m=Array.isArray(t)?t:[t,t],p=(0,a.Z)(m,1)[0],y=m.join("-"),M=e.layer||{name:"antd"};return function(e){var t,a,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,g=s(),v=g.theme,Y=g.realToken,k=g.hashId,x=g.token,T=g.cssVar,O=d(),E=O.rootPrefixCls,P=O.iconPrefixCls,A=n(),C=T?"css":"js",W=(t=function(){var e=new Set;return T&&Object.keys(h.unitless||{}).forEach(function(t){e.add((0,l.ks)(t,T.prefix)),e.add((0,l.ks)(t,b(p,T.prefix)))}),L(C,e)},a=[C,p,null==T?void 0:T.prefix],u().useMemo(function(){var e=H.get(a);if(e)return e;var n=t();return H.set(a,n),n},a)),R="js"===C?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map(function(e){return(0,l.bf)(e)}).join(","),")")},min:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map(function(e){return(0,l.bf)(e)}).join(","),")")}},z=R.max,F=R.min,N={theme:v,token:x,hashId:k,nonce:function(){return A.nonce},clientOnly:h.clientOnly,layer:M,order:h.order||-999};return"function"==typeof c&&(0,l.xy)((0,o.Z)((0,o.Z)({},N),{},{clientOnly:!1,path:["Shared",E]}),function(){return c(x,{prefix:{rootPrefixCls:E,iconPrefixCls:P},csp:A})}),[(0,l.xy)((0,o.Z)((0,o.Z)({},N),{},{path:[y,e,P]}),function(){if(!1===h.injectStyle)return[];var t=S(x),n=t.token,a=t.flush,o=j(p,Y,f),s=".".concat(e),u=w(p,Y,o,{deprecatedTokens:h.deprecatedTokens});T&&o&&"object"===(0,r.Z)(o)&&Object.keys(o).forEach(function(e){o[e]="var(".concat((0,l.ks)(e,b(p,T.prefix)),")")});var d=D(n,{componentCls:s,prefixCls:e,iconCls:".".concat(P),antCls:".".concat(E),calc:W,max:z,min:F},T?o:u),c=i(d,{hashId:k,prefixCls:e,rootPrefixCls:E,iconPrefixCls:P});a(p,u);var y="function"==typeof _?_(d,e,m,h.resetFont):null;return[!1===h.resetStyle?null:y,c]}),k]}}return{genStyleHooks:function(e,t,n,r){var d,c,_,m,p,y,M,g,v,L=Array.isArray(e)?e[0]:e;function b(e){return"".concat(String(L)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var Y=(null==r?void 0:r.unitless)||{},k="function"==typeof f?f(e):{},D=(0,o.Z)((0,o.Z)({},k),{},(0,i.Z)({},b("zIndexPopup"),!0));Object.keys(Y).forEach(function(e){D[b(e)]=Y[e]});var x=(0,o.Z)((0,o.Z)({},r),{},{unitless:D,prefixToken:b}),T=h(e,t,n,x),S=(d=L,c=n,m=(_=x).unitless,y=void 0===(p=_.injectStyle)||p,M=_.prefixToken,g=_.ignore,v=function(e){var t=e.rootCls,n=e.cssVar,r=void 0===n?{}:n,a=s().realToken;return(0,l.CI)({path:[d],prefix:r.prefix,key:r.key,unitless:m,ignore:g,token:a,scope:t},function(){var e=j(d,a,c),t=w(d,a,e,{deprecatedTokens:null==_?void 0:_.deprecatedTokens});return Object.keys(e).forEach(function(e){t[M(e)]=t[e],delete t[e]}),t}),null},function(e){var t=s().cssVar;return[function(n){return y&&t?u().createElement(u().Fragment,null,u().createElement(v,{rootCls:e,cssVar:t,component:d}),n):n},null==t?void 0:t.key]});return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=T(e,t),r=(0,a.Z)(n,2)[1],i=S(t),o=(0,a.Z)(i,2);return[o[0],r,o[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=h(e,t,n,(0,o.Z)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return a(t,r),null}},genComponentStyleHook:h}}},36435:function(e,t,n){"use strict";n.d(t,{Z:()=>s,k:()=>o});var r=n(71123),a=n(83739),i=n(50793);function o(e){return e.join("%")}let s=function(){function e(t){(0,r.Z)(this,e),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=t}return(0,a.Z)(e,[{key:"get",value:function(e){return this.opGet(o(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(o(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}()},84709:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(71123),a=n(83739),i=n(50793);let o=function(){function e(t,n){(0,r.Z)(this,e),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,a.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}()},7913:function(e,t,n){"use strict";var r,a=n(50793),i=n(38263),o=n(4155),s=n(48427);n(74918),n(81770),r={},(0,a.Z)(r,s.Jr,s.Kl),(0,a.Z)(r,i.gR,i.Kl),(0,a.Z)(r,o.kY,o.Kl)},4155:function(e,t,n){"use strict";n.d(t,{Kl:()=>f,ZP:()=>h,kY:()=>_});var r=n(57987),a=n(81632),i=n(19524),o=n(79549),s=n(74662),u=n(74918),l=n(58702),d=n(58312),c=n(48427),_="cssVar",f=function(e,t,n){var a=(0,r.Z)(e,4),i=a[1],o=a[2],s=a[3],l=(n||{}).plain;if(!i)return null;var d=(0,u.n5)(i,s,o,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,o,d]};let h=function(e,t){var n=e.key,f=e.prefix,h=e.unitless,m=e.ignore,p=e.token,y=e.scope,M=void 0===y?"":y,g=(0,o.useContext)(s.ZP),v=g.cache.instanceId,L=g.container,b=p._tokenKey,w=[].concat((0,a.Z)(e.path),[n,M,b]);return(0,d.Z)(_,w,function(){var e=t(),a=(0,l.bq)(e,n,{prefix:f,unitless:h,ignore:m,scope:M}),i=(0,r.Z)(a,2),o=i[0],s=i[1],u=(0,c.B4)(w,s);return[o,s,u,n]},function(e){var t=(0,r.Z)(e,3)[2];u.S_&&(0,i.jL)(t,{mark:s.JF})},function(e){var t=(0,r.Z)(e,3),a=t[1],o=t[2];if(a){var u=(0,i.hq)(a,o,{mark:s.JF,prepend:"queue",attachTo:L,priority:-999});u[s.g8]=v,u.setAttribute(s.jF,n)}})}},58312:function(e,t,n){"use strict";n.d(t,{Z:()=>f});var r=n(57987),a=n(81632),i=n(79549),o=n(36435),s=n(74662),u=n(19741),l=n(99047),d=(0,u.Z)({},i).useInsertionEffect,c=d?function(e,t,n){return d(function(){return e(),t()},n)}:function(e,t,n){i.useMemo(e,n),(0,l.Z)(function(){return t(!0)},n)};n(56049);var _=void 0!==(0,u.Z)({},i).useInsertionEffect?function(e){var t=[],n=!1;return i.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){n||t.push(e)}}:function(){return function(e){e()}};function f(e,t,n,u,l){var d=i.useContext(s.ZP).cache,f=[e].concat((0,a.Z)(t)),h=(0,o.k)(f),m=_([h]),p=function(e){d.opUpdate(h,function(t){var a=(0,r.Z)(t||[void 0,void 0],2),i=a[0],o=[void 0===i?0:i,a[1]||n()];return e?e(o):o})};i.useMemo(function(){p()},[h]);var y=d.opGet(h)[1];return c(function(){null==l||l(y)},function(e){return p(function(t){var n=(0,r.Z)(t,2),a=n[0],i=n[1];return e&&0===a&&(null==l||l(y)),[a+1,i]}),function(){d.opUpdate(h,function(t){var n=(0,r.Z)(t||[],2),a=n[0],i=void 0===a?0:a,o=n[1];return 0==i-1?(m(function(){(e||!d.opGet(h))&&(null==u||u(o,!1))}),null):[i-1,o]})}},[h]),y}},48427:function(e,t,n){"use strict";n.d(t,{Kl:()=>G,ZP:()=>J,Jr:()=>V,B4:()=>U});var r=n(25833),a=n(50793),i=n(19741),o=n(57987),s=n(81632),u=n(52655),l=n(77116),d=n(19524),c=n(79549);let _={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var f="comm",h="rule",m="decl",p=Math.abs,y=String.fromCharCode;function M(e,t,n){return e.replace(t,n)}function g(e,t){return 0|e.charCodeAt(t)}function v(e,t,n){return e.slice(t,n)}function L(e){return e.length}function b(e,t){return t.push(e),e}function w(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Y(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case m:return e.return=e.return||e.value;case f:return"";case"@keyframes":return e.return=e.value+"{"+w(e.children,r)+"}";case h:if(!L(e.value=e.props.join(",")))return""}return L(n=w(e.children,r))?e.return=e.value+"{"+n+"}":""}var k=1,D=1,x=0,T=0,S=0,j="";function H(e,t,n,r,a,i,o,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:k,column:D,length:o,return:"",siblings:s}}function O(){return S=T<x?g(j,T++):0,D++,10===S&&(D=1,k++),S}function E(){return g(j,T)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function A(e){var t,n;return(t=T-1,n=function e(t){for(;O();)switch(S){case t:return T;case 34:case 39:34!==t&&39!==t&&e(S);break;case 40:41===t&&e(t);break;case 92:O()}return T}(91===e?e+2:40===e?e+1:e),v(j,t,n)).trim()}function C(e,t,n,r,a,i,o,s,u,l,d,c){for(var _=a-1,f=0===a?i:[""],m=f.length,y=0,g=0,L=0;y<r;++y)for(var b=0,w=v(e,_+1,_=p(g=o[y])),Y=e;b<m;++b)(Y=(g>0?f[b]+" "+w:M(w,/&\f/g,f[b])).trim())&&(u[L++]=Y);return H(e,t,n,0===a?h:s,u,l,d,c)}function W(e,t,n,r,a){return H(e,t,n,m,v(e,0,r),v(e,r+1,-1),r,a)}n(1291);var R=n(74662),z=n(74918),F=n(81770),N=n(58312),I="_multi_value_";function Z(e){var t,n,r;return w((r=function e(t,n,r,a,i,o,s,u,l){for(var d,c,_,h,m,w,Y=0,x=0,R=s,z=0,F=0,N=0,I=1,Z=1,$=1,B=0,U="",q=i,V=o,J=a,G=U;Z;)switch(N=B,B=O()){case 40:if(108!=N&&58==g(G,R-1)){-1!=(m=G+=M(A(B),"&","&\f"),w=p(Y?u[Y-1]:0),m.indexOf("&\f",w))&&($=-1);break}case 34:case 39:case 91:G+=A(B);break;case 9:case 10:case 13:case 32:G+=function(e){for(;S=E();)if(S<33)O();else break;return P(e)>2||P(S)>3?"":" "}(N);break;case 92:G+=function(e,t){for(var n;--t&&O()&&!(S<48)&&!(S>102)&&(!(S>57)||!(S<65))&&(!(S>70)||!(S<97)););return n=T+(t<6&&32==E()&&32==O()),v(j,e,n)}(T-1,7);continue;case 47:switch(E()){case 42:case 47:b((d=function(e,t){for(;O();)if(e+S===57)break;else if(e+S===84&&47===E())break;return"/*"+v(j,t,T-1)+"*"+y(47===e?e:O())}(O(),T),c=n,_=r,h=l,H(d,c,_,f,y(S),v(d,2,-2),0,h)),l),(5==P(N||1)||5==P(E()||1))&&L(G)&&" "!==v(G,-1,void 0)&&(G+=" ");break;default:G+="/"}break;case 123*I:u[Y++]=L(G)*$;case 125*I:case 59:case 0:switch(B){case 0:case 125:Z=0;case 59+x:-1==$&&(G=M(G,/\f/g,"")),F>0&&(L(G)-R||0===I&&47===N)&&b(F>32?W(G+";",a,r,R-1,l):W(M(G," ","")+";",a,r,R-2,l),l);break;case 59:G+=";";default:if(b(J=C(G,n,r,Y,x,i,u,U,q=[],V=[],R,o),o),123===B)if(0===x)e(G,n,J,J,q,o,R,u,V);else{switch(z){case 99:if(110===g(G,3))break;case 108:if(97===g(G,2))break;default:x=0;case 100:case 109:case 115:}x?e(t,J,J,a&&b(C(t,J,J,0,0,i,u,U,i,q=[],R,V),V),i,V,R,u,a?q:V):e(G,J,J,J,[""],V,0,u,V)}}Y=x=F=0,I=$=1,U=G="",R=s;break;case 58:R=1+L(G),F=N;default:if(I<1){if(123==B)--I;else if(125==B&&0==I++&&125==(S=T>0?g(j,--T):0,D--,10===S&&(D=1,k--),S))continue}switch(G+=y(B),B*I){case 38:$=x>0?1:(G+="\f",-1);break;case 44:u[Y++]=(L(G)-1)*$,$=1;break;case 64:45===E()&&(G+=A(O())),z=E(),x=R=L(U=G+=function(e){for(;!P(E());)O();return v(j,e,T)}(T)),B++;break;case 45:45===N&&2==L(G)&&(I=0)}}return o}("",null,null,null,[""],(n=t=e,k=D=1,x=L(j=n),T=0,t=[]),0,[0],t),j="",r),Y).replace(/\{%%%\:[^;];}/g,";")}function $(e,t,n){if(!t)return e;var r=".".concat(t),a="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null==(t=r.match(/^\w+/))?void 0:t[0])||"";return[r="".concat(i).concat(a).concat(r.slice(i.length))].concat((0,s.Z)(n.slice(1))).join(" ")}).join(",")}var B=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,l=r.injectHash,d=r.parentSelectors,c=n.hashId,f=n.layer,h=(n.path,n.hashPriority),m=n.transformers,p=void 0===m?[]:m,y=(n.linters,""),M={};function g(t){var r=t.getName(c);if(!M[r]){var a=e(t.style,n,{root:!1,parentSelectors:d}),i=(0,o.Z)(a,1)[0];M[r]="@keyframes ".concat(t.getName(c)).concat(i)}}return(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,n):t&&n.push(t)}),n})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||a?t:{};if("string"==typeof r)y+="".concat(r,"\n");else if(r._keyframe)g(r);else{var f=p.reduce(function(e,t){var n;return(null==t||null==(n=t.visit)?void 0:n.call(t,e))||e},r);Object.keys(f).forEach(function(t){var r=f[t];if("object"!==(0,u.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,u.Z)(r)&&r&&("_skip_check_"in r||I in r)){function m(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;_[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(g(t),r=t.getName(c)),y+="".concat(n,":").concat(r,";")}var p,v=null!=(p=null==r?void 0:r.value)?p:r;"object"===(0,u.Z)(r)&&null!=r&&r[I]&&Array.isArray(v)?v.forEach(function(e){m(t,e)}):m(t,v)}else{var L=!1,b=t.trim(),w=!1;(a||l)&&c?b.startsWith("@")?L=!0:b="&"===b?$("",c,h):$(t,c,h):a&&!c&&("&"===b||""===b)&&(b="",w=!0);var Y=e(r,n,{root:w,injectHash:L,parentSelectors:[].concat((0,s.Z)(d),[b])}),k=(0,o.Z)(Y,2),D=k[0],x=k[1];M=(0,i.Z)((0,i.Z)({},M),x),y+="".concat(b).concat(D)}})}}),a?f&&(y&&(y="@layer ".concat(f.name," {").concat(y,"}")),f.dependencies&&(M["@layer ".concat(f.name)]=f.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(f.name,";")}).join("\n"))):y="{".concat(y,"}"),[y,M]};function U(e,t){return(0,l.Z)("".concat(e.join("%")).concat(t))}function q(){return null}var V="style";function J(e,t){var n=e.token,u=e.path,l=e.hashId,_=e.layer,f=e.nonce,h=e.clientOnly,m=e.order,p=void 0===m?0:m,y=c.useContext(R.ZP),M=y.autoClear,g=(y.mock,y.defaultCache),v=y.hashPriority,L=y.container,b=y.ssrInline,w=y.transformers,Y=y.linters,k=y.cache,D=y.layer,x=n._tokenKey,T=[x];D&&T.push("layer"),T.push.apply(T,(0,s.Z)(u));var S=z.S_,j=(0,N.Z)(V,T,function(){var e=T.join("|");if((0,F.eu)(e)){var n=(0,F.Nl)(e),r=(0,o.Z)(n,2),a=r[0],i=r[1];if(a)return[a,x,i,{},h,p]}var s=B(t(),{hashId:l,hashPriority:v,layer:D?_:void 0,path:u.join("-"),transformers:w,linters:Y}),d=(0,o.Z)(s,2),c=d[0],f=d[1],m=Z(c),y=U(T,m);return[m,x,y,f,h,p]},function(e,t){var n=(0,o.Z)(e,3)[2];(t||M)&&z.S_&&(0,d.jL)(n,{mark:R.JF})},function(e){var t=(0,o.Z)(e,4),n=t[0],r=(t[1],t[2]),a=t[3];if(S&&n!==F.Dd){var s={mark:R.JF,prepend:!D&&"queue",attachTo:L,priority:p},u="function"==typeof f?f():f;u&&(s.csp={nonce:u});var l=[],c=[];Object.keys(a).forEach(function(e){e.startsWith("@layer")?l.push(e):c.push(e)}),l.forEach(function(e){(0,d.hq)(Z(a[e]),"_layer-".concat(e),(0,i.Z)((0,i.Z)({},s),{},{prepend:!0}))});var _=(0,d.hq)(n,r,s);_[R.g8]=k.instanceId,_.setAttribute(R.jF,x),c.forEach(function(e){(0,d.hq)(Z(a[e]),"_effect-".concat(e),s)})}}),H=(0,o.Z)(j,3),O=H[0],E=H[1],P=H[2];return function(e){var t,n;return t=b&&!S&&g?c.createElement("style",(0,r.Z)({},(n={},(0,a.Z)(n,R.jF,E),(0,a.Z)(n,R.JF,P),n),{dangerouslySetInnerHTML:{__html:O}})):c.createElement(q,null),c.createElement(c.Fragment,null,t,e)}}var G=function(e,t,n){var r=(0,o.Z)(e,6),a=r[0],i=r[1],s=r[2],u=r[3],l=r[4],d=r[5],c=(n||{}).plain;if(l)return null;var _=a,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return _=(0,z.n5)(a,i,s,f,c),u&&Object.keys(u).forEach(function(e){if(!t[e]){t[e]=!0;var n=Z(u[e]),r=(0,z.n5)(n,i,"_effect-".concat(e),f,c);e.startsWith("@layer")?_=r+_:_+=r}}),[d,s,_]}},1291:function(e,t,n){"use strict";n(56049)},13166:function(e,t,n){"use strict";n.d(t,{Q2:()=>d,jG:()=>_});var r=n(57987),a=n(71123),i=n(83739),o=n(50793),s=function(){function e(){(0,a.Z)(this,e),(0,o.Z)(this,"cache",void 0),(0,o.Z)(this,"keys",void 0),(0,o.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,i.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a={map:this.cache};return e.forEach(function(e){if(a){var t;a=null==(t=a)||null==(t=t.map)?void 0:t.get(e)}else a=void 0}),null!=(t=a)&&t.value&&r&&(a.value[1]=this.cacheCallTimes++),null==(n=a)?void 0:n.value}},{key:"get",value:function(e){var t;return null==(t=this.internalGet(e,!0))?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var a=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(e,t){var n=(0,r.Z)(e,2)[1];return a.internalGet(t)[1]<n?[t,a.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]),o=(0,r.Z)(i,1)[0];this.delete(o)}this.keys.push(t)}var s=this.cache;t.forEach(function(e,r){if(r===t.length-1)s.set(e,{value:[n,a.cacheCallTimes++]});else{var i=s.get(e);i?i.map||(i.map=new Map):s.set(e,{map:new Map}),s=s.get(e).map}})}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null==(n=r.value)?void 0:n[0];var a=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),a}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter(function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)}),this.deleteByPath(this.cache,e)}}]),e}();(0,o.Z)(s,"MAX_CACHE_SIZE",20),(0,o.Z)(s,"MAX_CACHE_OFFSET",5);var u=n(56049),l=0,d=function(){function e(t){(0,a.Z)(this,e),(0,o.Z)(this,"derivatives",void 0),(0,o.Z)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=l,0===t.length&&(0,u.Kp)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),l+=1}return(0,i.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),c=new s;function _(e){var t=Array.isArray(e)?e:[e];return c.has(t)||c.set(t,new d(t)),c.get(t)}},48941:function(){"use strict";function e(e){return e.notSplit=!0,e}e(["borderTop","borderBottom"]),e(["borderTop"]),e(["borderBottom"]),e(["borderLeft","borderRight"]),e(["borderLeft"]),e(["borderRight"])},81770:function(e,t,n){"use strict";n.d(t,{Dd:()=>u,Nl:()=>c,eu:()=>d});var r,a=n(57987),i=n(88340),o=n(74662),s="data-ant-cssinjs-cache-path",u="_FILE_STYLE__",l=!0;function d(e){if(!r&&(r={},(0,i.Z)())){var t,n=document.createElement("div");n.className=s,n.style.position="fixed",n.style.visibility="hidden",n.style.top="-9999px",document.body.appendChild(n);var o=getComputedStyle(n).content||"";(o=o.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,a.Z)(t,2),i=n[0],o=n[1];r[i]=o});var u=document.querySelector("style[".concat(s,"]"));u&&(l=!1,null==(t=u.parentNode)||t.removeChild(u)),document.body.removeChild(n)}return!!r[e]}function c(e){var t=r[e],n=null;if(t&&(0,i.Z)())if(l)n=u;else{var a=document.querySelector("style[".concat(o.JF,'="').concat(r[e],'"]'));a?n=a.innerHTML:delete r[e]}return[n,t]}},58702:function(e,t,n){"use strict";n.d(t,{bq:()=>i,ks:()=>a});var r=n(57987),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},i=function(e,t,n){var i,o={},s={};return Object.entries(e).forEach(function(e){var t=(0,r.Z)(e,2),i=t[0],u=t[1];if(null!=n&&null!=(l=n.preserve)&&l[i])s[i]=u;else if(("string"==typeof u||"number"==typeof u)&&!(null!=n&&null!=(d=n.ignore)&&d[i])){var l,d,c,_=a(i,null==n?void 0:n.prefix);o[_]="number"!=typeof u||null!=n&&null!=(c=n.unitless)&&c[i]?String(u):"".concat(u,"px"),s[i]="var(".concat(_,")")}}),[s,(i={scope:null==n?void 0:n.scope},Object.keys(o).length?".".concat(t).concat(null!=i&&i.scope?".".concat(i.scope):"","{").concat(Object.entries(o).map(function(e){var t=(0,r.Z)(e,2),n=t[0],a=t[1];return"".concat(n,":").concat(a,";")}).join(""),"}"):"")]}},74918:function(e,t,n){"use strict";n.d(t,{DH:()=>_,F9:()=>m,S_:()=>p,ak:()=>h,bf:()=>y,n5:()=>M});var r=n(50793),a=n(19741),i=n(52655),o=n(77116),s=n(88340);n(19524);var u=n(74662),l=n(13166),d=new WeakMap,c={};function _(e,t){for(var n=d,r=0;r<t.length;r+=1){var a=t[r];n.has(a)||n.set(a,new WeakMap),n=n.get(a)}return n.has(c)||n.set(c,e()),n.get(c)}var f=new WeakMap;function h(e){var t=f.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof l.Q2?t+=r.id:r&&"object"===(0,i.Z)(r)?t+=h(r):t+=r}),t=(0,o.Z)(t),f.set(e,t)),t}function m(e,t){return(0,o.Z)("".concat(t,"_").concat(h(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var p=(0,s.Z)();function y(e){return"number"==typeof e?"".concat(e,"px"):e}function M(e,t,n){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(s)return e;var l=(0,a.Z)((0,a.Z)({},o),{},(i={},(0,r.Z)(i,u.jF,t),(0,r.Z)(i,u.JF,n),i)),d=Object.keys(l).map(function(e){var t=l[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"<style ".concat(d,">").concat(e,"</style>")}},90939:function(e,t,n){"use strict";n.d(t,{t:()=>u});var r=n(50793);let a=Math.round;function i(e,t){let n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let o=(e,t,n)=>0===n?e:e/100;function s(e,t){let n=t||255;return e>n?n:e<0?0:e}class u{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function n(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):n("rgb")?this.fromRgbString(t):n("hsl")?this.fromHslString(t):(n("hsv")||n("hsb"))&&this.fromHsvString(t)}else if(e instanceof u)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=s(e.r),this.g=s(e.g),this.b=s(e.b),this.a="number"==typeof e.a?s(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=a(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){let e=this.getMax()-this.getMin();0===e?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){let t=this.getHue(),n=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){let t=this.getHue(),n=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){let n=this._c(e),r=t/100,i=e=>(n[e]-this[e])*r+this[e],o={r:a(i("r")),g:a(i("g")),b:a(i("b")),a:a(100*i("a"))/100};return this._c(o)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>a((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=a(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=a(100*this.getSaturation()),n=a(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){let r=this.clone();return r[e]=s(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){let e=a(255*n);this.r=e,this.g=e,this.b=e}let i=0,o=0,s=0,u=e/60,l=(1-Math.abs(2*n-1))*t,d=l*(1-Math.abs(u%2-1));u>=0&&u<1?(i=l,o=d):u>=1&&u<2?(i=d,o=l):u>=2&&u<3?(o=l,s=d):u>=3&&u<4?(o=d,s=l):u>=4&&u<5?(i=d,s=l):u>=5&&u<6&&(i=l,s=d);let c=n-l/2;this.r=a((i+c)*255),this.g=a((o+c)*255),this.b=a((s+c)*255)}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;let i=a(255*n);if(this.r=i,this.g=i,this.b=i,t<=0)return;let o=e/60,s=Math.floor(o),u=o-s,l=a(n*(1-t)*255),d=a(n*(1-t*u)*255),c=a(n*(1-t*(1-u))*255);switch(s){case 0:this.g=c,this.b=l;break;case 1:this.r=d,this.b=l;break;case 2:this.r=l,this.b=c;break;case 3:this.r=l,this.g=d;break;case 4:this.r=c,this.g=l;break;default:this.g=l,this.b=d}}fromHsvString(e){let t=i(e,o);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=i(e,o);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=i(e,(e,t)=>t.includes("%")?a(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},77116:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=function(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}},28266:function(e,t,n){"use strict";n.d(t,{G:()=>v});var r=n(64718),a=n(7862),i=n.n(a),o=n(67729),s=n.n(o);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(e){var t;return(t=e-0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)}var m=["style"],p=!1;try{p=!0}catch(e){}function y(e){return e&&"object"===d(e)&&e.prefix&&e.iconName&&e.icon?e:r.Qc.icon?r.Qc.icon(e):null===e?null:e&&"object"===d(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function M(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?c({},e,t):{}}var g={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},v=s().forwardRef(function(e,t){var n,a,i,o,s,u,d,f,h,m,v,b,w,Y,k,D,x,T,S,j,H=l(l({},g),e),O=H.icon,E=H.mask,P=H.symbol,A=H.className,C=H.title,W=H.titleId,R=H.maskId,z=y(O),F=M("classes",[].concat(_((a=H.beat,i=H.fade,o=H.beatFade,s=H.bounce,u=H.shake,d=H.flash,f=H.spin,h=H.spinPulse,m=H.spinReverse,v=H.pulse,b=H.fixedWidth,w=H.inverse,Y=H.border,k=H.listItem,D=H.flip,x=H.size,T=H.rotation,S=H.pull,Object.keys((c(n={"fa-beat":a,"fa-fade":i,"fa-beat-fade":o,"fa-bounce":s,"fa-shake":u,"fa-flash":d,"fa-spin":f,"fa-spin-reverse":m,"fa-spin-pulse":h,"fa-pulse":v,"fa-fw":b,"fa-inverse":w,"fa-border":Y,"fa-li":k,"fa-flip":!0===D,"fa-flip-horizontal":"horizontal"===D||"both"===D,"fa-flip-vertical":"vertical"===D||"both"===D},"fa-".concat(x),null!=x),c(n,"fa-rotate-".concat(T),null!=T&&0!==T),c(n,"fa-pull-".concat(S),null!=S),c(n,"fa-swap-opacity",H.swapOpacity),j=n)).map(function(e){return j[e]?e:null}).filter(function(e){return e}))),_((A||"").split(" ")))),N=M("transform","string"==typeof H.transform?r.Qc.transform(H.transform):H.transform),I=M("mask",y(E)),Z=(0,r.qv)(z,l(l(l(l({},F),N),I),{},{symbol:P,title:C,titleId:W,maskId:R}));if(!Z)return!function(){if(!p&&console&&"function"==typeof console.error){var e;(e=console).error.apply(e,arguments)}}("Could not find icon",z),null;var $=Z.abstract,B={ref:t};return Object.keys(H).forEach(function(e){g.hasOwnProperty(e)||(B[e]=H[e])}),L($[0],B)});v.displayName="FontAwesomeIcon",v.propTypes={beat:i().bool,border:i().bool,beatFade:i().bool,bounce:i().bool,className:i().string,fade:i().bool,flash:i().bool,mask:i().oneOfType([i().object,i().array,i().string]),maskId:i().string,fixedWidth:i().bool,inverse:i().bool,flip:i().oneOf([!0,!1,"horizontal","vertical","both"]),icon:i().oneOfType([i().object,i().array,i().string]),listItem:i().bool,pull:i().oneOf(["right","left"]),pulse:i().bool,rotation:i().oneOf([0,90,180,270]),shake:i().bool,size:i().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i().bool,spinPulse:i().bool,spinReverse:i().bool,symbol:i().oneOfType([i().bool,i().string]),title:i().string,titleId:i().string,transform:i().oneOfType([i().string,i().object]),swapOpacity:i().bool};var L=(function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map(function(n){return e(t,n)}),i=Object.keys(n.attributes||{}).reduce(function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n=t.indexOf(":"),r=h(t.slice(0,n)),a=t.slice(n+1).trim();return r.startsWith("webkit")?e[r.charAt(0).toUpperCase()+r.slice(1)]=a:e[r]=a,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[h(t)]=r}return e},{attrs:{}}),o=r.style,s=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,m);return i.attrs.style=l(l({},i.attrs.style),void 0===o?{}:o),t.apply(void 0,[n.tag,l(l({},i.attrs),s)].concat(_(a)))}).bind(null,s().createElement)},35731:function(e,t,n){"use strict";let r;n.d(t,{Z:()=>D});var a=n(56606),i=n(41229),o=n.n(i),s=n(2327),u=n(35847),l=n(99047);let d=80*Math.PI,c=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return a.createElement("circle",{className:o()(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},_=e=>{let{percent:t,prefixCls:n}=e,r=`${n}-dot`,i=`${r}-holder`,s=`${i}-hidden`,[u,_]=a.useState(!1);(0,l.Z)(()=>{0!==t&&_(!0)},[0!==t]);let f=Math.max(Math.min(t,100),0);if(!u)return null;let h={strokeDashoffset:`${d/4}`,strokeDasharray:`${d*f/100} ${d*(100-f)/100}`};return a.createElement("span",{className:o()(i,`${r}-progress`,f<=0&&s)},a.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":f},a.createElement(c,{dotClassName:r,hasCircleCls:!0}),a.createElement(c,{dotClassName:r,style:h})))};function f(e){let{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,i=`${r}-holder`,s=`${i}-hidden`;return a.createElement(a.Fragment,null,a.createElement("span",{className:o()(i,n>0&&s)},a.createElement("span",{className:o()(r,`${t}-dot-spin`)},[1,2,3,4].map(e=>a.createElement("i",{className:`${t}-dot-item`,key:e})))),a.createElement(_,{prefixCls:t,percent:n}))}function h(e){let{prefixCls:t,indicator:n,percent:r}=e,i=`${t}-dot`;return n&&a.isValidElement(n)?(0,u.Tm)(n,{className:o()(n.props.className,i),percent:r}):a.createElement(f,{prefixCls:t,percent:r})}var m=n(96142),p=n(20223),y=n(91309),M=n(7553);let g=new m.E4("antSpinMove",{to:{opacity:1}}),v=new m.E4("antRotate",{to:{transform:"rotate(405deg)"}}),L=e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",inset:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:g,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:v,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},b=(0,y.I$)("Spin",e=>[L((0,M.IX)(e,{spinDotDefault:e.colorTextDescription}))],e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),w=[[30,.05],[70,.03],[96,.01]];var Y=function(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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let k=e=>{var t;let{prefixCls:n,spinning:i=!0,delay:u=0,className:l,rootClassName:d,size:c="default",tip:_,wrapperClassName:f,style:m,children:p,fullscreen:y=!1,indicator:M,percent:g}=e,v=Y(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:L,direction:k,className:D,style:x,indicator:T}=(0,s.dj)("spin"),S=L("spin",n),[j,H,O]=b(S),[E,P]=a.useState(()=>i&&(!i||!u||!!Number.isNaN(Number(u)))),A=function(e,t){let[n,r]=a.useState(0),i=a.useRef(null),o="auto"===t;return a.useEffect(()=>(o&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n<w.length;n+=1){let[r,a]=w[n];if(e<=r)return e+t*a}return e})},200)),()=>{clearInterval(i.current)}),[o,e]),o?n:t}(E,g);a.useEffect(()=>{if(i){let e=function(e,t,n){var r,a=n||{},i=a.noTrailing,o=void 0!==i&&i,s=a.noLeading,u=void 0!==s&&s,l=a.debounceMode,d=void 0===l?void 0:l,c=!1,_=0;function f(){r&&clearTimeout(r)}function h(){for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];var s=this,l=Date.now()-_;function h(){_=Date.now(),t.apply(s,a)}function m(){r=void 0}!c&&(u||!d||r||h(),f(),void 0===d&&l>e?u?(_=Date.now(),o||(r=setTimeout(d?m:h,e))):h():!0!==o&&(r=setTimeout(d?m:h,void 0===d?e-l:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;f(),c=!(void 0!==t&&t)},h}(u,()=>{P(!0)},{debounceMode:false});return e(),()=>{var t;null==(t=null==e?void 0:e.cancel)||t.call(e)}}P(!1)},[u,i]);let C=a.useMemo(()=>void 0!==p&&!y,[p,y]),W=o()(S,D,{[`${S}-sm`]:"small"===c,[`${S}-lg`]:"large"===c,[`${S}-spinning`]:E,[`${S}-show-text`]:!!_,[`${S}-rtl`]:"rtl"===k},l,!y&&d,H,O),R=o()(`${S}-container`,{[`${S}-blur`]:E}),z=null!=(t=null!=M?M:T)?t:r,F=Object.assign(Object.assign({},x),m),N=a.createElement("div",Object.assign({},v,{style:F,className:W,"aria-live":"polite","aria-busy":E}),a.createElement(h,{prefixCls:S,indicator:z,percent:A}),_&&(C||y)?a.createElement("div",{className:`${S}-text`},_):null);return j(C?a.createElement("div",Object.assign({},v,{className:o()(`${S}-nested-loading`,f,H,O)}),E&&a.createElement("div",{key:"loading"},N),a.createElement("div",{className:R,key:"container"},p)):y?a.createElement("div",{className:o()(`${S}-fullscreen`,{[`${S}-fullscreen-show`]:E},d,H,O)},N):N)};k.setDefaultIndicator=e=>{r=e};let D=k},40307:function(e,t,n){"use strict";n.d(t,{Z:()=>h});var r=n(58219),a=n(27232),i=n(3116);let o=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};var s=n(26964),u=n(49877),l=n(90939);let d=(e,t)=>new l.t(e).setA(t).toRgbString(),c=(e,t)=>new l.t(e).darken(t).toHexString(),_=e=>{let t=(0,r.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},f=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:d(r,.88),colorTextSecondary:d(r,.65),colorTextTertiary:d(r,.45),colorTextQuaternary:d(r,.25),colorFill:d(r,.15),colorFillSecondary:d(r,.06),colorFillTertiary:d(r,.04),colorFillQuaternary:d(r,.02),colorBgSolid:d(r,1),colorBgSolidHover:d(r,.75),colorBgSolidActive:d(r,.95),colorBgLayout:c(n,4),colorBgContainer:c(n,0),colorBgElevated:c(n,0),colorBgSpotlight:d(r,.85),colorBgBlur:"transparent",colorBorder:c(n,15),colorBorderSecondary:c(n,6)}};function h(e){r.ez.pink=r.ez.magenta,r.Ti.pink=r.Ti.magenta;let t=Object.keys(a.M).map(t=>{let n=e[t]===r.ez[t]?r.Ti[t]:(0,r.R_)(e[t]);return Array.from({length:10},()=>1).reduce((e,r,a)=>(e[`${t}-${a+1}`]=n[a],e[`${t}${a+1}`]=n[a],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.Z)(e,{generateColorPalettes:_,generateNeutralColorPalettes:f})),(0,u.Z)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,s.Z)(e)),function(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:a+1},o(r))}(e))}},53406:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(96142),a=n(40307);let i=(0,r.jG)(a.Z)},27232:function(e,t,n){"use strict";n.d(t,{M:()=>r,Z:()=>a});let r={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},a=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
1
|
+
/*! For license information please see 510.e827048d.js.LICENSE.txt */
|
2
|
+
(self.webpackChunkremote=self.webpackChunkremote||[]).push([["510"],{52395:function(e,t,n){"use strict";n.d(t,{Z:()=>u});var r=n(90939),a=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function i(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function o(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function s(e,t,n){var r;return Math.round(100*Math.max(0,Math.min(1,n?e.v+.05*t:e.v-.15*t)))/100}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],u=new r.t(e),l=u.toHsv(),d=5;d>0;d-=1){var c=new r.t({h:i(l,d,!0),s:o(l,d,!0),v:s(l,d,!0)});n.push(c)}n.push(u);for(var _=1;_<=4;_+=1){var f=new r.t({h:i(l,_),s:o(l,_),v:s(l,_)});n.push(f)}return"dark"===t.theme?a.map(function(e){var a=e.index,i=e.amount;return new r.t(t.backgroundColor||"#141414").mix(n[a],i).toHexString()}):n.map(function(e){return e.toHexString()})}},7553:function(e,t,n){"use strict";n.d(t,{IX:()=>D,rb:()=>E});var r=n(52655),a=n(57987),i=n(50793),o=n(19741),s=n(56606),u=n.n(s),l=n(96142),d=n(71123),c=n(83739),_=n(61764),f=n(14425),h=n(81087),m=(0,c.Z)(function e(){(0,d.Z)(this,e)}),p="CALC_UNIT",y=RegExp(p,"g");function M(e){return"number"==typeof e?"".concat(e).concat(p):e}var g=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(e,a){(0,d.Z)(this,n),o=t.call(this),(0,i.Z)((0,_.Z)(o),"result",""),(0,i.Z)((0,_.Z)(o),"unitlessCssVar",void 0),(0,i.Z)((0,_.Z)(o),"lowPriority",void 0);var o,s=(0,r.Z)(e);return o.unitlessCssVar=a,e instanceof n?o.result="(".concat(e.result,")"):"number"===s?o.result=M(e):"string"===s&&(o.result=e),o}return(0,c.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(M(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(M(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(y,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(m),v=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(e){var r;return(0,d.Z)(this,n),r=t.call(this),(0,i.Z)((0,_.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,c.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(m);let L=function(e,t){var n="css"===e?g:v;return function(e){return new n(e,t)}},b=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};n(3389);let w=function(e,t,n,r){var i=(0,o.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,a.Z)(e,2),r=n[0],o=n[1];(null!=i&&i[r]||null!=i&&i[o])&&(null!=i[o]||(i[o]=null==i?void 0:i[r]))});var s=(0,o.Z)((0,o.Z)({},n),i);return Object.keys(s).forEach(function(e){s[e]===t[e]&&delete s[e]}),s};var Y="undefined"!=typeof CSSINJS_STATISTIC,k=!0;function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Y)return Object.assign.apply(Object,[{}].concat(t));k=!1;var a={};return t.forEach(function(e){"object"===(0,r.Z)(e)&&Object.keys(e).forEach(function(t){Object.defineProperty(a,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})})}),k=!0,a}var x={};function T(){}let S=function(e){var t,n=e,r=T;return Y&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){if(k){var r;null==(r=t)||r.add(n)}return e[n]}}),r=function(e,n){var r;x[e]={global:Array.from(t),component:(0,o.Z)((0,o.Z)({},null==(r=x[e])?void 0:r.component),n)}}),{token:n,keys:t,flush:r}},j=function(e,t,n){if("function"==typeof n){var r;return n(D(t,null!=(r=t[e])?r:{}))}return null!=n?n:{}};var H=new(function(){function e(){(0,d.Z)(this,e),(0,i.Z)(this,"map",new Map),(0,i.Z)(this,"objectIDMap",new WeakMap),(0,i.Z)(this,"nextID",0),(0,i.Z)(this,"lastAccessBeat",new Map),(0,i.Z)(this,"accessBeat",0)}return(0,c.Z)(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map(function(e){return e&&"object"===(0,r.Z)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,r.Z)(e),"_").concat(e)}).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());let O=function(){return{}},E=function(e){var t=e.useCSP,n=void 0===t?O:t,s=e.useToken,d=e.usePrefix,c=e.getResetStyles,_=e.getCommonStyle,f=e.getCompUnitless;function h(t,i,f){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},m=Array.isArray(t)?t:[t,t],p=(0,a.Z)(m,1)[0],y=m.join("-"),M=e.layer||{name:"antd"};return function(e){var t,a,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,g=s(),v=g.theme,Y=g.realToken,k=g.hashId,x=g.token,T=g.cssVar,O=d(),E=O.rootPrefixCls,P=O.iconPrefixCls,A=n(),C=T?"css":"js",W=(t=function(){var e=new Set;return T&&Object.keys(h.unitless||{}).forEach(function(t){e.add((0,l.ks)(t,T.prefix)),e.add((0,l.ks)(t,b(p,T.prefix)))}),L(C,e)},a=[C,p,null==T?void 0:T.prefix],u().useMemo(function(){var e=H.get(a);if(e)return e;var n=t();return H.set(a,n),n},a)),R="js"===C?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map(function(e){return(0,l.bf)(e)}).join(","),")")},min:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map(function(e){return(0,l.bf)(e)}).join(","),")")}},z=R.max,F=R.min,N={theme:v,token:x,hashId:k,nonce:function(){return A.nonce},clientOnly:h.clientOnly,layer:M,order:h.order||-999};return"function"==typeof c&&(0,l.xy)((0,o.Z)((0,o.Z)({},N),{},{clientOnly:!1,path:["Shared",E]}),function(){return c(x,{prefix:{rootPrefixCls:E,iconPrefixCls:P},csp:A})}),[(0,l.xy)((0,o.Z)((0,o.Z)({},N),{},{path:[y,e,P]}),function(){if(!1===h.injectStyle)return[];var t=S(x),n=t.token,a=t.flush,o=j(p,Y,f),s=".".concat(e),u=w(p,Y,o,{deprecatedTokens:h.deprecatedTokens});T&&o&&"object"===(0,r.Z)(o)&&Object.keys(o).forEach(function(e){o[e]="var(".concat((0,l.ks)(e,b(p,T.prefix)),")")});var d=D(n,{componentCls:s,prefixCls:e,iconCls:".".concat(P),antCls:".".concat(E),calc:W,max:z,min:F},T?o:u),c=i(d,{hashId:k,prefixCls:e,rootPrefixCls:E,iconPrefixCls:P});a(p,u);var y="function"==typeof _?_(d,e,m,h.resetFont):null;return[!1===h.resetStyle?null:y,c]}),k]}}return{genStyleHooks:function(e,t,n,r){var d,c,_,m,p,y,M,g,v,L=Array.isArray(e)?e[0]:e;function b(e){return"".concat(String(L)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var Y=(null==r?void 0:r.unitless)||{},k="function"==typeof f?f(e):{},D=(0,o.Z)((0,o.Z)({},k),{},(0,i.Z)({},b("zIndexPopup"),!0));Object.keys(Y).forEach(function(e){D[b(e)]=Y[e]});var x=(0,o.Z)((0,o.Z)({},r),{},{unitless:D,prefixToken:b}),T=h(e,t,n,x),S=(d=L,c=n,m=(_=x).unitless,y=void 0===(p=_.injectStyle)||p,M=_.prefixToken,g=_.ignore,v=function(e){var t=e.rootCls,n=e.cssVar,r=void 0===n?{}:n,a=s().realToken;return(0,l.CI)({path:[d],prefix:r.prefix,key:r.key,unitless:m,ignore:g,token:a,scope:t},function(){var e=j(d,a,c),t=w(d,a,e,{deprecatedTokens:null==_?void 0:_.deprecatedTokens});return Object.keys(e).forEach(function(e){t[M(e)]=t[e],delete t[e]}),t}),null},function(e){var t=s().cssVar;return[function(n){return y&&t?u().createElement(u().Fragment,null,u().createElement(v,{rootCls:e,cssVar:t,component:d}),n):n},null==t?void 0:t.key]});return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=T(e,t),r=(0,a.Z)(n,2)[1],i=S(t),o=(0,a.Z)(i,2);return[o[0],r,o[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=h(e,t,n,(0,o.Z)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return a(t,r),null}},genComponentStyleHook:h}}},36435:function(e,t,n){"use strict";n.d(t,{Z:()=>s,k:()=>o});var r=n(71123),a=n(83739),i=n(50793);function o(e){return e.join("%")}let s=function(){function e(t){(0,r.Z)(this,e),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=t}return(0,a.Z)(e,[{key:"get",value:function(e){return this.opGet(o(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(o(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}()},84709:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(71123),a=n(83739),i=n(50793);let o=function(){function e(t,n){(0,r.Z)(this,e),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,a.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}()},7913:function(e,t,n){"use strict";var r,a=n(50793),i=n(38263),o=n(4155),s=n(48427);n(74918),n(81770),r={},(0,a.Z)(r,s.Jr,s.Kl),(0,a.Z)(r,i.gR,i.Kl),(0,a.Z)(r,o.kY,o.Kl)},4155:function(e,t,n){"use strict";n.d(t,{Kl:()=>f,ZP:()=>h,kY:()=>_});var r=n(57987),a=n(81632),i=n(19524),o=n(79549),s=n(74662),u=n(74918),l=n(58702),d=n(58312),c=n(48427),_="cssVar",f=function(e,t,n){var a=(0,r.Z)(e,4),i=a[1],o=a[2],s=a[3],l=(n||{}).plain;if(!i)return null;var d=(0,u.n5)(i,s,o,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,o,d]};let h=function(e,t){var n=e.key,f=e.prefix,h=e.unitless,m=e.ignore,p=e.token,y=e.scope,M=void 0===y?"":y,g=(0,o.useContext)(s.ZP),v=g.cache.instanceId,L=g.container,b=p._tokenKey,w=[].concat((0,a.Z)(e.path),[n,M,b]);return(0,d.Z)(_,w,function(){var e=t(),a=(0,l.bq)(e,n,{prefix:f,unitless:h,ignore:m,scope:M}),i=(0,r.Z)(a,2),o=i[0],s=i[1],u=(0,c.B4)(w,s);return[o,s,u,n]},function(e){var t=(0,r.Z)(e,3)[2];u.S_&&(0,i.jL)(t,{mark:s.JF})},function(e){var t=(0,r.Z)(e,3),a=t[1],o=t[2];if(a){var u=(0,i.hq)(a,o,{mark:s.JF,prepend:"queue",attachTo:L,priority:-999});u[s.g8]=v,u.setAttribute(s.jF,n)}})}},58312:function(e,t,n){"use strict";n.d(t,{Z:()=>f});var r=n(57987),a=n(81632),i=n(79549),o=n(36435),s=n(74662),u=n(19741),l=n(99047),d=(0,u.Z)({},i).useInsertionEffect,c=d?function(e,t,n){return d(function(){return e(),t()},n)}:function(e,t,n){i.useMemo(e,n),(0,l.Z)(function(){return t(!0)},n)};n(56049);var _=void 0!==(0,u.Z)({},i).useInsertionEffect?function(e){var t=[],n=!1;return i.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){n||t.push(e)}}:function(){return function(e){e()}};function f(e,t,n,u,l){var d=i.useContext(s.ZP).cache,f=[e].concat((0,a.Z)(t)),h=(0,o.k)(f),m=_([h]),p=function(e){d.opUpdate(h,function(t){var a=(0,r.Z)(t||[void 0,void 0],2),i=a[0],o=[void 0===i?0:i,a[1]||n()];return e?e(o):o})};i.useMemo(function(){p()},[h]);var y=d.opGet(h)[1];return c(function(){null==l||l(y)},function(e){return p(function(t){var n=(0,r.Z)(t,2),a=n[0],i=n[1];return e&&0===a&&(null==l||l(y)),[a+1,i]}),function(){d.opUpdate(h,function(t){var n=(0,r.Z)(t||[],2),a=n[0],i=void 0===a?0:a,o=n[1];return 0==i-1?(m(function(){(e||!d.opGet(h))&&(null==u||u(o,!1))}),null):[i-1,o]})}},[h]),y}},48427:function(e,t,n){"use strict";n.d(t,{Kl:()=>G,ZP:()=>J,Jr:()=>V,B4:()=>U});var r=n(25833),a=n(50793),i=n(19741),o=n(57987),s=n(81632),u=n(52655),l=n(77116),d=n(19524),c=n(79549);let _={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var f="comm",h="rule",m="decl",p=Math.abs,y=String.fromCharCode;function M(e,t,n){return e.replace(t,n)}function g(e,t){return 0|e.charCodeAt(t)}function v(e,t,n){return e.slice(t,n)}function L(e){return e.length}function b(e,t){return t.push(e),e}function w(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Y(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case m:return e.return=e.return||e.value;case f:return"";case"@keyframes":return e.return=e.value+"{"+w(e.children,r)+"}";case h:if(!L(e.value=e.props.join(",")))return""}return L(n=w(e.children,r))?e.return=e.value+"{"+n+"}":""}var k=1,D=1,x=0,T=0,S=0,j="";function H(e,t,n,r,a,i,o,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:k,column:D,length:o,return:"",siblings:s}}function O(){return S=T<x?g(j,T++):0,D++,10===S&&(D=1,k++),S}function E(){return g(j,T)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function A(e){var t,n;return(t=T-1,n=function e(t){for(;O();)switch(S){case t:return T;case 34:case 39:34!==t&&39!==t&&e(S);break;case 40:41===t&&e(t);break;case 92:O()}return T}(91===e?e+2:40===e?e+1:e),v(j,t,n)).trim()}function C(e,t,n,r,a,i,o,s,u,l,d,c){for(var _=a-1,f=0===a?i:[""],m=f.length,y=0,g=0,L=0;y<r;++y)for(var b=0,w=v(e,_+1,_=p(g=o[y])),Y=e;b<m;++b)(Y=(g>0?f[b]+" "+w:M(w,/&\f/g,f[b])).trim())&&(u[L++]=Y);return H(e,t,n,0===a?h:s,u,l,d,c)}function W(e,t,n,r,a){return H(e,t,n,m,v(e,0,r),v(e,r+1,-1),r,a)}n(1291);var R=n(74662),z=n(74918),F=n(81770),N=n(58312),I="_multi_value_";function Z(e){var t,n,r;return w((r=function e(t,n,r,a,i,o,s,u,l){for(var d,c,_,h,m,w,Y=0,x=0,R=s,z=0,F=0,N=0,I=1,Z=1,$=1,B=0,U="",q=i,V=o,J=a,G=U;Z;)switch(N=B,B=O()){case 40:if(108!=N&&58==g(G,R-1)){-1!=(m=G+=M(A(B),"&","&\f"),w=p(Y?u[Y-1]:0),m.indexOf("&\f",w))&&($=-1);break}case 34:case 39:case 91:G+=A(B);break;case 9:case 10:case 13:case 32:G+=function(e){for(;S=E();)if(S<33)O();else break;return P(e)>2||P(S)>3?"":" "}(N);break;case 92:G+=function(e,t){for(var n;--t&&O()&&!(S<48)&&!(S>102)&&(!(S>57)||!(S<65))&&(!(S>70)||!(S<97)););return n=T+(t<6&&32==E()&&32==O()),v(j,e,n)}(T-1,7);continue;case 47:switch(E()){case 42:case 47:b((d=function(e,t){for(;O();)if(e+S===57)break;else if(e+S===84&&47===E())break;return"/*"+v(j,t,T-1)+"*"+y(47===e?e:O())}(O(),T),c=n,_=r,h=l,H(d,c,_,f,y(S),v(d,2,-2),0,h)),l),(5==P(N||1)||5==P(E()||1))&&L(G)&&" "!==v(G,-1,void 0)&&(G+=" ");break;default:G+="/"}break;case 123*I:u[Y++]=L(G)*$;case 125*I:case 59:case 0:switch(B){case 0:case 125:Z=0;case 59+x:-1==$&&(G=M(G,/\f/g,"")),F>0&&(L(G)-R||0===I&&47===N)&&b(F>32?W(G+";",a,r,R-1,l):W(M(G," ","")+";",a,r,R-2,l),l);break;case 59:G+=";";default:if(b(J=C(G,n,r,Y,x,i,u,U,q=[],V=[],R,o),o),123===B)if(0===x)e(G,n,J,J,q,o,R,u,V);else{switch(z){case 99:if(110===g(G,3))break;case 108:if(97===g(G,2))break;default:x=0;case 100:case 109:case 115:}x?e(t,J,J,a&&b(C(t,J,J,0,0,i,u,U,i,q=[],R,V),V),i,V,R,u,a?q:V):e(G,J,J,J,[""],V,0,u,V)}}Y=x=F=0,I=$=1,U=G="",R=s;break;case 58:R=1+L(G),F=N;default:if(I<1){if(123==B)--I;else if(125==B&&0==I++&&125==(S=T>0?g(j,--T):0,D--,10===S&&(D=1,k--),S))continue}switch(G+=y(B),B*I){case 38:$=x>0?1:(G+="\f",-1);break;case 44:u[Y++]=(L(G)-1)*$,$=1;break;case 64:45===E()&&(G+=A(O())),z=E(),x=R=L(U=G+=function(e){for(;!P(E());)O();return v(j,e,T)}(T)),B++;break;case 45:45===N&&2==L(G)&&(I=0)}}return o}("",null,null,null,[""],(n=t=e,k=D=1,x=L(j=n),T=0,t=[]),0,[0],t),j="",r),Y).replace(/\{%%%\:[^;];}/g,";")}function $(e,t,n){if(!t)return e;var r=".".concat(t),a="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null==(t=r.match(/^\w+/))?void 0:t[0])||"";return[r="".concat(i).concat(a).concat(r.slice(i.length))].concat((0,s.Z)(n.slice(1))).join(" ")}).join(",")}var B=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,l=r.injectHash,d=r.parentSelectors,c=n.hashId,f=n.layer,h=(n.path,n.hashPriority),m=n.transformers,p=void 0===m?[]:m,y=(n.linters,""),M={};function g(t){var r=t.getName(c);if(!M[r]){var a=e(t.style,n,{root:!1,parentSelectors:d}),i=(0,o.Z)(a,1)[0];M[r]="@keyframes ".concat(t.getName(c)).concat(i)}}return(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,n):t&&n.push(t)}),n})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||a?t:{};if("string"==typeof r)y+="".concat(r,"\n");else if(r._keyframe)g(r);else{var f=p.reduce(function(e,t){var n;return(null==t||null==(n=t.visit)?void 0:n.call(t,e))||e},r);Object.keys(f).forEach(function(t){var r=f[t];if("object"!==(0,u.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,u.Z)(r)&&r&&("_skip_check_"in r||I in r)){function m(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;_[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(g(t),r=t.getName(c)),y+="".concat(n,":").concat(r,";")}var p,v=null!=(p=null==r?void 0:r.value)?p:r;"object"===(0,u.Z)(r)&&null!=r&&r[I]&&Array.isArray(v)?v.forEach(function(e){m(t,e)}):m(t,v)}else{var L=!1,b=t.trim(),w=!1;(a||l)&&c?b.startsWith("@")?L=!0:b="&"===b?$("",c,h):$(t,c,h):a&&!c&&("&"===b||""===b)&&(b="",w=!0);var Y=e(r,n,{root:w,injectHash:L,parentSelectors:[].concat((0,s.Z)(d),[b])}),k=(0,o.Z)(Y,2),D=k[0],x=k[1];M=(0,i.Z)((0,i.Z)({},M),x),y+="".concat(b).concat(D)}})}}),a?f&&(y&&(y="@layer ".concat(f.name," {").concat(y,"}")),f.dependencies&&(M["@layer ".concat(f.name)]=f.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(f.name,";")}).join("\n"))):y="{".concat(y,"}"),[y,M]};function U(e,t){return(0,l.Z)("".concat(e.join("%")).concat(t))}function q(){return null}var V="style";function J(e,t){var n=e.token,u=e.path,l=e.hashId,_=e.layer,f=e.nonce,h=e.clientOnly,m=e.order,p=void 0===m?0:m,y=c.useContext(R.ZP),M=y.autoClear,g=(y.mock,y.defaultCache),v=y.hashPriority,L=y.container,b=y.ssrInline,w=y.transformers,Y=y.linters,k=y.cache,D=y.layer,x=n._tokenKey,T=[x];D&&T.push("layer"),T.push.apply(T,(0,s.Z)(u));var S=z.S_,j=(0,N.Z)(V,T,function(){var e=T.join("|");if((0,F.eu)(e)){var n=(0,F.Nl)(e),r=(0,o.Z)(n,2),a=r[0],i=r[1];if(a)return[a,x,i,{},h,p]}var s=B(t(),{hashId:l,hashPriority:v,layer:D?_:void 0,path:u.join("-"),transformers:w,linters:Y}),d=(0,o.Z)(s,2),c=d[0],f=d[1],m=Z(c),y=U(T,m);return[m,x,y,f,h,p]},function(e,t){var n=(0,o.Z)(e,3)[2];(t||M)&&z.S_&&(0,d.jL)(n,{mark:R.JF})},function(e){var t=(0,o.Z)(e,4),n=t[0],r=(t[1],t[2]),a=t[3];if(S&&n!==F.Dd){var s={mark:R.JF,prepend:!D&&"queue",attachTo:L,priority:p},u="function"==typeof f?f():f;u&&(s.csp={nonce:u});var l=[],c=[];Object.keys(a).forEach(function(e){e.startsWith("@layer")?l.push(e):c.push(e)}),l.forEach(function(e){(0,d.hq)(Z(a[e]),"_layer-".concat(e),(0,i.Z)((0,i.Z)({},s),{},{prepend:!0}))});var _=(0,d.hq)(n,r,s);_[R.g8]=k.instanceId,_.setAttribute(R.jF,x),c.forEach(function(e){(0,d.hq)(Z(a[e]),"_effect-".concat(e),s)})}}),H=(0,o.Z)(j,3),O=H[0],E=H[1],P=H[2];return function(e){var t,n;return t=b&&!S&&g?c.createElement("style",(0,r.Z)({},(n={},(0,a.Z)(n,R.jF,E),(0,a.Z)(n,R.JF,P),n),{dangerouslySetInnerHTML:{__html:O}})):c.createElement(q,null),c.createElement(c.Fragment,null,t,e)}}var G=function(e,t,n){var r=(0,o.Z)(e,6),a=r[0],i=r[1],s=r[2],u=r[3],l=r[4],d=r[5],c=(n||{}).plain;if(l)return null;var _=a,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return _=(0,z.n5)(a,i,s,f,c),u&&Object.keys(u).forEach(function(e){if(!t[e]){t[e]=!0;var n=Z(u[e]),r=(0,z.n5)(n,i,"_effect-".concat(e),f,c);e.startsWith("@layer")?_=r+_:_+=r}}),[d,s,_]}},1291:function(e,t,n){"use strict";n(56049)},13166:function(e,t,n){"use strict";n.d(t,{Q2:()=>d,jG:()=>_});var r=n(57987),a=n(71123),i=n(83739),o=n(50793),s=function(){function e(){(0,a.Z)(this,e),(0,o.Z)(this,"cache",void 0),(0,o.Z)(this,"keys",void 0),(0,o.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,i.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a={map:this.cache};return e.forEach(function(e){if(a){var t;a=null==(t=a)||null==(t=t.map)?void 0:t.get(e)}else a=void 0}),null!=(t=a)&&t.value&&r&&(a.value[1]=this.cacheCallTimes++),null==(n=a)?void 0:n.value}},{key:"get",value:function(e){var t;return null==(t=this.internalGet(e,!0))?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var a=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(e,t){var n=(0,r.Z)(e,2)[1];return a.internalGet(t)[1]<n?[t,a.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]),o=(0,r.Z)(i,1)[0];this.delete(o)}this.keys.push(t)}var s=this.cache;t.forEach(function(e,r){if(r===t.length-1)s.set(e,{value:[n,a.cacheCallTimes++]});else{var i=s.get(e);i?i.map||(i.map=new Map):s.set(e,{map:new Map}),s=s.get(e).map}})}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null==(n=r.value)?void 0:n[0];var a=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),a}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter(function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)}),this.deleteByPath(this.cache,e)}}]),e}();(0,o.Z)(s,"MAX_CACHE_SIZE",20),(0,o.Z)(s,"MAX_CACHE_OFFSET",5);var u=n(56049),l=0,d=function(){function e(t){(0,a.Z)(this,e),(0,o.Z)(this,"derivatives",void 0),(0,o.Z)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=l,0===t.length&&(0,u.Kp)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),l+=1}return(0,i.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),c=new s;function _(e){var t=Array.isArray(e)?e:[e];return c.has(t)||c.set(t,new d(t)),c.get(t)}},48941:function(){"use strict";function e(e){return e.notSplit=!0,e}e(["borderTop","borderBottom"]),e(["borderTop"]),e(["borderBottom"]),e(["borderLeft","borderRight"]),e(["borderLeft"]),e(["borderRight"])},81770:function(e,t,n){"use strict";n.d(t,{Dd:()=>u,Nl:()=>c,eu:()=>d});var r,a=n(57987),i=n(88340),o=n(74662),s="data-ant-cssinjs-cache-path",u="_FILE_STYLE__",l=!0;function d(e){if(!r&&(r={},(0,i.Z)())){var t,n=document.createElement("div");n.className=s,n.style.position="fixed",n.style.visibility="hidden",n.style.top="-9999px",document.body.appendChild(n);var o=getComputedStyle(n).content||"";(o=o.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,a.Z)(t,2),i=n[0],o=n[1];r[i]=o});var u=document.querySelector("style[".concat(s,"]"));u&&(l=!1,null==(t=u.parentNode)||t.removeChild(u)),document.body.removeChild(n)}return!!r[e]}function c(e){var t=r[e],n=null;if(t&&(0,i.Z)())if(l)n=u;else{var a=document.querySelector("style[".concat(o.JF,'="').concat(r[e],'"]'));a?n=a.innerHTML:delete r[e]}return[n,t]}},58702:function(e,t,n){"use strict";n.d(t,{bq:()=>i,ks:()=>a});var r=n(57987),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},i=function(e,t,n){var i,o={},s={};return Object.entries(e).forEach(function(e){var t=(0,r.Z)(e,2),i=t[0],u=t[1];if(null!=n&&null!=(l=n.preserve)&&l[i])s[i]=u;else if(("string"==typeof u||"number"==typeof u)&&!(null!=n&&null!=(d=n.ignore)&&d[i])){var l,d,c,_=a(i,null==n?void 0:n.prefix);o[_]="number"!=typeof u||null!=n&&null!=(c=n.unitless)&&c[i]?String(u):"".concat(u,"px"),s[i]="var(".concat(_,")")}}),[s,(i={scope:null==n?void 0:n.scope},Object.keys(o).length?".".concat(t).concat(null!=i&&i.scope?".".concat(i.scope):"","{").concat(Object.entries(o).map(function(e){var t=(0,r.Z)(e,2),n=t[0],a=t[1];return"".concat(n,":").concat(a,";")}).join(""),"}"):"")]}},74918:function(e,t,n){"use strict";n.d(t,{DH:()=>_,F9:()=>m,S_:()=>p,ak:()=>h,bf:()=>y,n5:()=>M});var r=n(50793),a=n(19741),i=n(52655),o=n(77116),s=n(88340);n(19524);var u=n(74662),l=n(13166),d=new WeakMap,c={};function _(e,t){for(var n=d,r=0;r<t.length;r+=1){var a=t[r];n.has(a)||n.set(a,new WeakMap),n=n.get(a)}return n.has(c)||n.set(c,e()),n.get(c)}var f=new WeakMap;function h(e){var t=f.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof l.Q2?t+=r.id:r&&"object"===(0,i.Z)(r)?t+=h(r):t+=r}),t=(0,o.Z)(t),f.set(e,t)),t}function m(e,t){return(0,o.Z)("".concat(t,"_").concat(h(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var p=(0,s.Z)();function y(e){return"number"==typeof e?"".concat(e,"px"):e}function M(e,t,n){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(s)return e;var l=(0,a.Z)((0,a.Z)({},o),{},(i={},(0,r.Z)(i,u.jF,t),(0,r.Z)(i,u.JF,n),i)),d=Object.keys(l).map(function(e){var t=l[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"<style ".concat(d,">").concat(e,"</style>")}},90939:function(e,t,n){"use strict";n.d(t,{t:()=>u});var r=n(50793);let a=Math.round;function i(e,t){let n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let o=(e,t,n)=>0===n?e:e/100;function s(e,t){let n=t||255;return e>n?n:e<0?0:e}class u{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function n(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):n("rgb")?this.fromRgbString(t):n("hsl")?this.fromHslString(t):(n("hsv")||n("hsb"))&&this.fromHsvString(t)}else if(e instanceof u)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=s(e.r),this.g=s(e.g),this.b=s(e.b),this.a="number"==typeof e.a?s(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=a(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){let e=this.getMax()-this.getMin();0===e?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){let t=this.getHue(),n=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){let t=this.getHue(),n=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){let n=this._c(e),r=t/100,i=e=>(n[e]-this[e])*r+this[e],o={r:a(i("r")),g:a(i("g")),b:a(i("b")),a:a(100*i("a"))/100};return this._c(o)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>a((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=a(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=a(100*this.getSaturation()),n=a(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){let r=this.clone();return r[e]=s(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){let e=a(255*n);this.r=e,this.g=e,this.b=e}let i=0,o=0,s=0,u=e/60,l=(1-Math.abs(2*n-1))*t,d=l*(1-Math.abs(u%2-1));u>=0&&u<1?(i=l,o=d):u>=1&&u<2?(i=d,o=l):u>=2&&u<3?(o=l,s=d):u>=3&&u<4?(o=d,s=l):u>=4&&u<5?(i=d,s=l):u>=5&&u<6&&(i=l,s=d);let c=n-l/2;this.r=a((i+c)*255),this.g=a((o+c)*255),this.b=a((s+c)*255)}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;let i=a(255*n);if(this.r=i,this.g=i,this.b=i,t<=0)return;let o=e/60,s=Math.floor(o),u=o-s,l=a(n*(1-t)*255),d=a(n*(1-t*u)*255),c=a(n*(1-t*(1-u))*255);switch(s){case 0:this.g=c,this.b=l;break;case 1:this.r=d,this.b=l;break;case 2:this.r=l,this.b=c;break;case 3:this.r=l,this.g=d;break;case 4:this.r=c,this.g=l;break;default:this.g=l,this.b=d}}fromHsvString(e){let t=i(e,o);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=i(e,o);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=i(e,(e,t)=>t.includes("%")?a(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},77116:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=function(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}},28266:function(e,t,n){"use strict";n.d(t,{G:()=>v});var r=n(64718),a=n(7862),i=n.n(a),o=n(67729),s=n.n(o);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(e){var t;return(t=e-0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)}var m=["style"],p=!1;try{p=!0}catch(e){}function y(e){return e&&"object"===d(e)&&e.prefix&&e.iconName&&e.icon?e:r.Qc.icon?r.Qc.icon(e):null===e?null:e&&"object"===d(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function M(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?c({},e,t):{}}var g={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},v=s().forwardRef(function(e,t){var n,a,i,o,s,u,d,f,h,m,v,b,w,Y,k,D,x,T,S,j,H=l(l({},g),e),O=H.icon,E=H.mask,P=H.symbol,A=H.className,C=H.title,W=H.titleId,R=H.maskId,z=y(O),F=M("classes",[].concat(_((a=H.beat,i=H.fade,o=H.beatFade,s=H.bounce,u=H.shake,d=H.flash,f=H.spin,h=H.spinPulse,m=H.spinReverse,v=H.pulse,b=H.fixedWidth,w=H.inverse,Y=H.border,k=H.listItem,D=H.flip,x=H.size,T=H.rotation,S=H.pull,Object.keys((c(n={"fa-beat":a,"fa-fade":i,"fa-beat-fade":o,"fa-bounce":s,"fa-shake":u,"fa-flash":d,"fa-spin":f,"fa-spin-reverse":m,"fa-spin-pulse":h,"fa-pulse":v,"fa-fw":b,"fa-inverse":w,"fa-border":Y,"fa-li":k,"fa-flip":!0===D,"fa-flip-horizontal":"horizontal"===D||"both"===D,"fa-flip-vertical":"vertical"===D||"both"===D},"fa-".concat(x),null!=x),c(n,"fa-rotate-".concat(T),null!=T&&0!==T),c(n,"fa-pull-".concat(S),null!=S),c(n,"fa-swap-opacity",H.swapOpacity),j=n)).map(function(e){return j[e]?e:null}).filter(function(e){return e}))),_((A||"").split(" ")))),N=M("transform","string"==typeof H.transform?r.Qc.transform(H.transform):H.transform),I=M("mask",y(E)),Z=(0,r.qv)(z,l(l(l(l({},F),N),I),{},{symbol:P,title:C,titleId:W,maskId:R}));if(!Z)return!function(){if(!p&&console&&"function"==typeof console.error){var e;(e=console).error.apply(e,arguments)}}("Could not find icon",z),null;var $=Z.abstract,B={ref:t};return Object.keys(H).forEach(function(e){g.hasOwnProperty(e)||(B[e]=H[e])}),L($[0],B)});v.displayName="FontAwesomeIcon",v.propTypes={beat:i().bool,border:i().bool,beatFade:i().bool,bounce:i().bool,className:i().string,fade:i().bool,flash:i().bool,mask:i().oneOfType([i().object,i().array,i().string]),maskId:i().string,fixedWidth:i().bool,inverse:i().bool,flip:i().oneOf([!0,!1,"horizontal","vertical","both"]),icon:i().oneOfType([i().object,i().array,i().string]),listItem:i().bool,pull:i().oneOf(["right","left"]),pulse:i().bool,rotation:i().oneOf([0,90,180,270]),shake:i().bool,size:i().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i().bool,spinPulse:i().bool,spinReverse:i().bool,symbol:i().oneOfType([i().bool,i().string]),title:i().string,titleId:i().string,transform:i().oneOfType([i().string,i().object]),swapOpacity:i().bool};var L=(function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map(function(n){return e(t,n)}),i=Object.keys(n.attributes||{}).reduce(function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n=t.indexOf(":"),r=h(t.slice(0,n)),a=t.slice(n+1).trim();return r.startsWith("webkit")?e[r.charAt(0).toUpperCase()+r.slice(1)]=a:e[r]=a,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[h(t)]=r}return e},{attrs:{}}),o=r.style,s=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,m);return i.attrs.style=l(l({},i.attrs.style),void 0===o?{}:o),t.apply(void 0,[n.tag,l(l({},i.attrs),s)].concat(_(a)))}).bind(null,s().createElement)},35731:function(e,t,n){"use strict";let r;n.d(t,{Z:()=>D});var a=n(56606),i=n(41229),o=n.n(i),s=n(2327),u=n(35847),l=n(99047);let d=80*Math.PI,c=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return a.createElement("circle",{className:o()(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},_=e=>{let{percent:t,prefixCls:n}=e,r=`${n}-dot`,i=`${r}-holder`,s=`${i}-hidden`,[u,_]=a.useState(!1);(0,l.Z)(()=>{0!==t&&_(!0)},[0!==t]);let f=Math.max(Math.min(t,100),0);if(!u)return null;let h={strokeDashoffset:`${d/4}`,strokeDasharray:`${d*f/100} ${d*(100-f)/100}`};return a.createElement("span",{className:o()(i,`${r}-progress`,f<=0&&s)},a.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":f},a.createElement(c,{dotClassName:r,hasCircleCls:!0}),a.createElement(c,{dotClassName:r,style:h})))};function f(e){let{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,i=`${r}-holder`,s=`${i}-hidden`;return a.createElement(a.Fragment,null,a.createElement("span",{className:o()(i,n>0&&s)},a.createElement("span",{className:o()(r,`${t}-dot-spin`)},[1,2,3,4].map(e=>a.createElement("i",{className:`${t}-dot-item`,key:e})))),a.createElement(_,{prefixCls:t,percent:n}))}function h(e){let{prefixCls:t,indicator:n,percent:r}=e,i=`${t}-dot`;return n&&a.isValidElement(n)?(0,u.Tm)(n,{className:o()(n.props.className,i),percent:r}):a.createElement(f,{prefixCls:t,percent:r})}var m=n(96142),p=n(20223),y=n(91309),M=n(7553);let g=new m.E4("antSpinMove",{to:{opacity:1}}),v=new m.E4("antRotate",{to:{transform:"rotate(405deg)"}}),L=e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",inset:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:g,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:v,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},b=(0,y.I$)("Spin",e=>[L((0,M.IX)(e,{spinDotDefault:e.colorTextDescription}))],e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),w=[[30,.05],[70,.03],[96,.01]];var Y=function(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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let k=e=>{var t;let{prefixCls:n,spinning:i=!0,delay:u=0,className:l,rootClassName:d,size:c="default",tip:_,wrapperClassName:f,style:m,children:p,fullscreen:y=!1,indicator:M,percent:g}=e,v=Y(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:L,direction:k,className:D,style:x,indicator:T}=(0,s.dj)("spin"),S=L("spin",n),[j,H,O]=b(S),[E,P]=a.useState(()=>i&&(!i||!u||!!Number.isNaN(Number(u)))),A=function(e,t){let[n,r]=a.useState(0),i=a.useRef(null),o="auto"===t;return a.useEffect(()=>(o&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n<w.length;n+=1){let[r,a]=w[n];if(e<=r)return e+t*a}return e})},200)),()=>{clearInterval(i.current)}),[o,e]),o?n:t}(E,g);a.useEffect(()=>{if(i){let e=function(e,t,n){var r,a=n||{},i=a.noTrailing,o=void 0!==i&&i,s=a.noLeading,u=void 0!==s&&s,l=a.debounceMode,d=void 0===l?void 0:l,c=!1,_=0;function f(){r&&clearTimeout(r)}function h(){for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];var s=this,l=Date.now()-_;function h(){_=Date.now(),t.apply(s,a)}function m(){r=void 0}!c&&(u||!d||r||h(),f(),void 0===d&&l>e?u?(_=Date.now(),o||(r=setTimeout(d?m:h,e))):h():!0!==o&&(r=setTimeout(d?m:h,void 0===d?e-l:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;f(),c=!(void 0!==t&&t)},h}(u,()=>{P(!0)},{debounceMode:false});return e(),()=>{var t;null==(t=null==e?void 0:e.cancel)||t.call(e)}}P(!1)},[u,i]);let C=a.useMemo(()=>void 0!==p&&!y,[p,y]),W=o()(S,D,{[`${S}-sm`]:"small"===c,[`${S}-lg`]:"large"===c,[`${S}-spinning`]:E,[`${S}-show-text`]:!!_,[`${S}-rtl`]:"rtl"===k},l,!y&&d,H,O),R=o()(`${S}-container`,{[`${S}-blur`]:E}),z=null!=(t=null!=M?M:T)?t:r,F=Object.assign(Object.assign({},x),m),N=a.createElement("div",Object.assign({},v,{style:F,className:W,"aria-live":"polite","aria-busy":E}),a.createElement(h,{prefixCls:S,indicator:z,percent:A}),_&&(C||y)?a.createElement("div",{className:`${S}-text`},_):null);return j(C?a.createElement("div",Object.assign({},v,{className:o()(`${S}-nested-loading`,f,H,O)}),E&&a.createElement("div",{key:"loading"},N),a.createElement("div",{className:R,key:"container"},p)):y?a.createElement("div",{className:o()(`${S}-fullscreen`,{[`${S}-fullscreen-show`]:E},d,H,O)},N):N)};k.setDefaultIndicator=e=>{r=e};let D=k},40307:function(e,t,n){"use strict";n.d(t,{Z:()=>h});var r=n(58219),a=n(27232),i=n(3116);let o=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};var s=n(26964),u=n(49877),l=n(90939);let d=(e,t)=>new l.t(e).setA(t).toRgbString(),c=(e,t)=>new l.t(e).darken(t).toHexString(),_=e=>{let t=(0,r.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},f=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:d(r,.88),colorTextSecondary:d(r,.65),colorTextTertiary:d(r,.45),colorTextQuaternary:d(r,.25),colorFill:d(r,.15),colorFillSecondary:d(r,.06),colorFillTertiary:d(r,.04),colorFillQuaternary:d(r,.02),colorBgSolid:d(r,1),colorBgSolidHover:d(r,.75),colorBgSolidActive:d(r,.95),colorBgLayout:c(n,4),colorBgContainer:c(n,0),colorBgElevated:c(n,0),colorBgSpotlight:d(r,.85),colorBgBlur:"transparent",colorBorder:c(n,15),colorBorderSecondary:c(n,6)}};function h(e){r.ez.pink=r.ez.magenta,r.Ti.pink=r.Ti.magenta;let t=Object.keys(a.M).map(t=>{let n=e[t]===r.ez[t]?r.Ti[t]:(0,r.R_)(e[t]);return Array.from({length:10},()=>1).reduce((e,r,a)=>(e[`${t}-${a+1}`]=n[a],e[`${t}${a+1}`]=n[a],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.Z)(e,{generateColorPalettes:_,generateNeutralColorPalettes:f})),(0,u.Z)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,s.Z)(e)),function(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:a+1},o(r))}(e))}},53406:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(96142),a=n(40307);let i=(0,r.jG)(a.Z)},27232:function(e,t,n){"use strict";n.d(t,{M:()=>r,Z:()=>a});let r={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},a=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
3
3
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
4
4
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},3116:function(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(90939);function a(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:a}=t,{colorSuccess:i,colorWarning:o,colorError:s,colorInfo:u,colorPrimary:l,colorBgBase:d,colorTextBase:c}=e,_=n(l),f=n(i),h=n(o),m=n(s),p=n(u),y=a(d,c),M=n(e.colorLink||e.colorInfo),g=new r.t(m[1]).mix(new r.t(m[3]),50).toHexString();return Object.assign(Object.assign({},y),{colorPrimaryBg:_[1],colorPrimaryBgHover:_[2],colorPrimaryBorder:_[3],colorPrimaryBorderHover:_[4],colorPrimaryHover:_[5],colorPrimary:_[6],colorPrimaryActive:_[7],colorPrimaryTextHover:_[8],colorPrimaryText:_[9],colorPrimaryTextActive:_[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:g,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:M[4],colorLink:M[6],colorLinkActive:M[7],colorBgMask:new r.t("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}},26964:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},49877:function(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(4142);let a=e=>{let t=(0,r.Z)(e),n=t.map(e=>e.size),a=t.map(e=>e.lineHeight),i=n[1],o=n[0],s=n[2],u=a[1],l=a[0],d=a[2];return{fontSizeSM:o,fontSize:i,fontSizeLG:s,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:u,lineHeightLG:d,lineHeightSM:l,fontHeight:Math.round(u*i),fontHeightLG:Math.round(d*s),fontHeightSM:Math.round(l*o),lineHeightHeading1:a[6],lineHeightHeading2:a[5],lineHeightHeading3:a[4],lineHeightHeading4:a[3],lineHeightHeading5:a[2]}}},22732:function(e,t,n){"use strict";n.d(t,{NJ:()=>c,ZP:()=>m});var r=n(56606),a=n.n(r),i=n(96142),o=n(20407),s=n(53406),u=n(27232),l=n(43842),d=function(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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let c={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},_={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},f={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},h=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:a}=t,i=d(t,["override"]),o=Object.assign(Object.assign({},r),{override:a});return o=(0,l.Z)(o),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,a=d(n,["theme"]),i=a;r&&(i=h(Object.assign(Object.assign({},o),a),{override:a},r)),o[t]=i}),o};function m(){let{token:e,hashed:t,theme:n,override:r,cssVar:d}=a().useContext(o.Mj),m=`5.24.7-${t||""}`,p=n||s.Z,[y,M,g]=(0,i.fp)(p,[u.Z,e],{salt:m,override:r,getComputedToken:h,formatToken:l.Z,cssVar:d&&{prefix:d.prefix,key:d.key,unitless:c,ignore:_,preserve:f}});return[p,g,t?M:"",y,d]}},43842:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(90939),a=n(27232),i=n(18581),o=function(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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function s(e){let{override:t}=e,n=o(e,["override"]),s=Object.assign({},t);Object.keys(a.Z).forEach(e=>{delete s[e]});let u=Object.assign(Object.assign({},n),s);return!1===u.motion&&(u.motionDurationFast="0s",u.motionDurationMid="0s",u.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},u),{colorFillContent:u.colorFillSecondary,colorFillContentHover:u.colorFill,colorFillAlter:u.colorFillQuaternary,colorBgContainerDisabled:u.colorFillTertiary,colorBorderBg:u.colorBgContainer,colorSplit:(0,i.Z)(u.colorBorderSecondary,u.colorBgContainer),colorTextPlaceholder:u.colorTextQuaternary,colorTextDisabled:u.colorTextQuaternary,colorTextHeading:u.colorText,colorTextLabel:u.colorTextSecondary,colorTextDescription:u.colorTextTertiary,colorTextLightSolid:u.colorWhite,colorHighlight:u.colorError,colorBgTextHover:u.colorFillSecondary,colorBgTextActive:u.colorFill,colorIcon:u.colorTextTertiary,colorIconHover:u.colorText,colorErrorOutline:(0,i.Z)(u.colorErrorBg,u.colorBgContainer),colorWarningOutline:(0,i.Z)(u.colorWarningBg,u.colorBgContainer),fontSizeIcon:u.fontSizeSM,lineWidthFocus:3*u.lineWidth,lineWidth:u.lineWidth,controlOutlineWidth:2*u.lineWidth,controlInteractiveSize:u.controlHeight/2,controlItemBgHover:u.colorFillTertiary,controlItemBgActive:u.colorPrimaryBg,controlItemBgActiveHover:u.colorPrimaryBgHover,controlItemBgActiveDisabled:u.colorFill,controlTmpOutline:u.colorFillQuaternary,controlOutline:(0,i.Z)(u.colorPrimaryBg,u.colorBgContainer),lineType:u.lineType,borderRadius:u.borderRadius,borderRadiusXS:u.borderRadiusXS,borderRadiusSM:u.borderRadiusSM,borderRadiusLG:u.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:u.sizeXXS,paddingXS:u.sizeXS,paddingSM:u.sizeSM,padding:u.size,paddingMD:u.sizeMD,paddingLG:u.sizeLG,paddingXL:u.sizeXL,paddingContentHorizontalLG:u.sizeLG,paddingContentVerticalLG:u.sizeMS,paddingContentHorizontal:u.sizeMS,paddingContentVertical:u.sizeSM,paddingContentHorizontalSM:u.size,paddingContentVerticalSM:u.sizeXS,marginXXS:u.sizeXXS,marginXS:u.sizeXS,marginSM:u.sizeSM,margin:u.size,marginMD:u.sizeMD,marginLG:u.sizeLG,marginXL:u.sizeXL,marginXXL:u.sizeXXL,boxShadow:`
|
5
5
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkremote=self.webpackChunkremote||[]).push([["525"],{85079:function(e,s,t){t.d(s,{z:()=>i});var a=t(31549),n=t(37067),r=t(71553);let i=e=>{let{className:s}=e;return(0,a.jsx)("div",{className:(0,r.cn)("bg-[#EFF2F9] rounded-lg m-2 inline-flex items-center justify-center",s),children:(0,a.jsx)(n.Z,{className:"text-gray-400"})})}},19813:function(e,s,t){t.d(s,{Z:()=>Q});var a=t(31549),n=t(41857),r=t(30059),i=t(8491),l=t(29055),c=t(56896),d=t(30157),o=t(61455),h=t(95851),m=t(48898),x=t(20858),u=t(30929),j=t(23942),p=t(93585),f=t(53589),v=t(57282),y=t(93330);async function N(e){try{return await f.hi.get(`/studio_manager/generate-share-link/${e}`)}catch(e){console.error("该项目共享链接生成失败:",e),(0,p.S3)("共享链接生成失败")}}async function g(e){try{let s=new URL(e).pathname.split("/").pop();return await f.hi.get(`/studio_manager/share-content/${s}`)}catch(e){console.error("使用共享链接失败:",e),(0,p.S3)("共享链接使用失败")}}function _(e){let{projectId:s,disabled:t=!1}=e,[n,r]=(0,i.useState)(!1),[l,c]=(0,i.useState)(""),[f,_]=(0,i.useState)(""),[w,b]=(0,i.useState)(!1),[S,C]=(0,i.useState)(!1),[k,z]=(0,i.useState)(!1),{t:$}=(0,y.$)();(0,i.useEffect)(()=>{let e=!0;return n&&(b(!0),(async()=>{try{let t=await N(s);e&&t&&(c(t),z(!1))}catch(e){console.error("获取分享链接失败:",e)}finally{e&&b(!1)}})()),()=>{e=!1}},[n]);let Z=async()=>{try{await navigator.clipboard.writeText(l),z(!0),(0,p.x9)("分享链接已复制到剪贴板")}catch(e){console.error(`复制失败 ${e}`),(0,p.S3)("复制失败,请手动复制")}},R=async()=>{if(!f.trim())return void(0,p.L$)("请输入共享链接");try{C(!0);let e=await g(f);e.used_flag?(_(""),(0,p.x9)("共享链接使用成功,Team 已在新窗口打开"),r(!1),window.open(`/?${e}`,"_blank")):(0,p.L$)("你已经在这个 Team 中了")}catch(e){console.error(`共享链接使用失败 ${e}`),(0,p.S3)("使用共享链接失败")}finally{C(!1)}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(d.z,{variant:"outline",size:"default",onClick:()=>{r(!0),c(""),z(!1)},disabled:t,children:[(0,a.jsx)(o.Z,{className:"mr-2 h-4 w-4"}),$("home.share.title")]}),(0,a.jsx)(u.Vq,{open:n,onOpenChange:e=>r(e),children:(0,a.jsxs)(u.cZ,{className:"sm:max-w-md",children:[(0,a.jsx)(u.fK,{children:(0,a.jsxs)(u.$N,{children:[" ",$("home.share.title")]})}),(0,a.jsxs)("div",{className:"space-y-4 mb-6",children:[(0,a.jsxs)("h3",{className:"text-sm font-medium",children:[" ",$("home.share.link")]}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(j.I,{value:l,readOnly:!0,placeholder:"点击生成按钮获取共享链接",className:"flex-1"}),(0,a.jsxs)(d.z,{size:"sm",onClick:Z,variant:"secondary",children:[k?(0,a.jsx)(h.Z,{className:"h-4 w-4 mr-2"}):(0,a.jsx)(m.Z,{className:"h-4 w-4 mr-2"}),$(k?"home.share.copied":"home.share.copy")]})]})]}),(0,a.jsx)(v.Z,{}),(0,a.jsxs)("div",{className:"space-y-4 mt-6",children:[(0,a.jsxs)("h3",{className:"text-sm font-medium",children:[" ",$("home.share.use_share_link_content")]}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(j.I,{value:f,onChange:e=>_(e.target.value),placeholder:"粘贴共享链接",className:"flex-1"}),(0,a.jsxs)(d.z,{size:"sm",onClick:R,disabled:S||!f.trim(),variant:"secondary",children:[(0,a.jsx)(x.Z,{className:"h-4 w-4 mr-2"}),S?"处理中...":"共享"]})]})]})]})})]})}var w=t(17511),b=t(46041),S=t(7132),C=t(94455),k=t(76497),z=t(79530),$=t(78271),Z=t(57077),R=t(12786),F=t(35731),O=t(57972),E=t(65535),q=t(85079);function A(e){let{isOpen:s,onClose:t,onConfirm:n,projectName:r}=e;return(0,a.jsx)(u.Vq,{open:s,onOpenChange:t,children:(0,a.jsxs)(u.cZ,{className:"sm:max-w-[425px]",children:[(0,a.jsxs)(u.fK,{children:[(0,a.jsx)(u.$N,{children:"确认克隆"}),(0,a.jsxs)(u.Be,{children:['你确定要克隆项目 "',r,'" 吗?']})]}),(0,a.jsxs)(u.cN,{children:[(0,a.jsx)(d.z,{type:"button",variant:"outline",onClick:t,children:"取消"}),(0,a.jsx)(d.z,{type:"button",variant:"default",onClick:n,children:"克隆"})]})]})})}var T=t(53701);function I(e){let{isOpen:s,onClose:t,onConfirm:n,projectName:r}=e;return(0,a.jsx)(u.Vq,{open:s,onOpenChange:t,children:(0,a.jsxs)(u.cZ,{className:"sm:max-w-[425px]",children:[(0,a.jsxs)(u.fK,{children:[(0,a.jsx)(u.$N,{children:"确认删除"}),(0,a.jsxs)(u.Be,{children:['你确定要删除项目 "',r,'" 吗?此操作不可逆。']})]}),(0,a.jsxs)(u.cN,{children:[(0,a.jsx)(d.z,{type:"button",variant:"secondary",onClick:t,children:"取消"}),(0,a.jsx)(d.z,{type:"button",variant:"destructive",onClick:n,children:"删除"})]})]})})}var D=t(66264);function K(e){let{isOpen:s,onClose:t,onRename:n,currentName:r}=e,[l,c]=(0,i.useState)(r);return(0,a.jsx)(u.Vq,{open:s,onOpenChange:t,children:(0,a.jsxs)(u.cZ,{className:"sm:max-w-[425px]",children:[(0,a.jsxs)(u.fK,{children:[(0,a.jsx)(u.$N,{children:"重命名项目"}),(0,a.jsx)(u.Be,{children:"输入新的项目名称"})]}),(0,a.jsx)("div",{className:"grid gap-4 py-4",children:(0,a.jsxs)("div",{className:"grid grid-cols-4 items-center gap-4",children:[(0,a.jsx)(D._,{htmlFor:"name",className:"text-right",children:"名称"}),(0,a.jsx)(j.I,{id:"name",value:l,onChange:e=>c(e.target.value),className:"col-span-3"})]})}),(0,a.jsxs)(u.cN,{children:[(0,a.jsx)(d.z,{type:"button",variant:"secondary",onClick:t,children:"取消"}),(0,a.jsx)(d.z,{type:"button",onClick:()=>{n(l),t()},children:"确认"})]})]})})}function V(e){let{project:s,onRename:t,onClone:n,onDelete:r}=e,[l,c]=(0,i.useState)(!1),[o,h]=(0,i.useState)(!1),[m,x]=(0,i.useState)(!1),u=(0,C.s)({from:"/"}),{t:j}=(0,y.$)();return(0,a.jsxs)("div",{children:[(0,a.jsx)(T.Zb,{className:"hover:shadow-lg hover:cursor-pointer p-4",onClick:()=>{u({to:"/editor?project="+s.short_url_id})},children:(0,a.jsx)("div",{className:"aspect-video relative overflow-hidden rounded-md",children:(0,a.jsx)(q.z,{className:"w-full h-full m-0"})})}),(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between space-y-0 pb-2 pt-4",children:[(0,a.jsx)("h3",{className:"font-medium text-xl text-gray-600 truncate w-[70%]",children:s.title}),(0,a.jsxs)(w.h_,{children:[(0,a.jsx)(w.$F,{asChild:!0,children:(0,a.jsxs)(d.z,{variant:"ghost",size:"icon",className:"h-8 w-8 p-0",children:[(0,a.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,a.jsx)(E.Z,{})]})}),(0,a.jsxs)(w.AW,{align:"end",children:[(0,a.jsx)(w.Xi,{onSelect:()=>c(!0),children:j("home.project.rename")}),(0,a.jsx)(w.Xi,{onSelect:()=>h(!0),children:j("home.project.clone")}),(0,a.jsx)(w.Xi,{onSelect:()=>x(!0),className:"text-red-600",children:j("home.project.delete")})]})]})]}),(0,a.jsx)("div",{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:(0,a.jsxs)("span",{className:"text-sm",children:[" ",s.createdAt]})}),(0,a.jsx)(K,{isOpen:l,onClose:()=>c(!1),onRename:e=>t(s.short_url_id,e),currentName:s.title}),(0,a.jsx)(A,{isOpen:o,onClose:()=>h(!1),onConfirm:()=>{n(s.short_url_id),h(!1)},projectName:s.title}),(0,a.jsx)(I,{isOpen:m,onClose:()=>x(!1),onConfirm:()=>{console.info(555,s),r(s.short_url_id)},projectName:s.title})]})}function X(e){let{teamId:s}=e,{t}=(0,y.$)(),n=(0,R.D)({mutationFn:async e=>await c.R.POST("/studio_manager/projects/",{body:{name:"工作流"+(0,$.Vj)(),create_at:(0,$.Ux)(),update_at:(0,$.Ux)(),team_id:e}}),onSuccess:async e=>{window.open(`/editor?project=${e.data.data.short_url_id}`,"_blank")}});return(0,a.jsx)("div",{children:(0,a.jsx)(d.z,{disabled:-1==s,onClick:()=>{n.mutate(s)},children:t("home.create_project")})})}var L=t(44153);function P(e){let{projects:s,onRename:t,onDelete:n}=e,[r,l]=(0,i.useState)(null),[c,o]=(0,i.useState)(!1),[h,m]=(0,i.useState)(!1),x=(e,s)=>{t(e,s),l(null),o(!1)},u=e=>{n(e),l(null),m(!1)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"rounded-md border",children:(0,a.jsxs)(L.iA,{children:[(0,a.jsx)(L.xD,{children:(0,a.jsxs)(L.SC,{children:[(0,a.jsx)(L.ss,{className:"w-[100px]",children:"缩略图"}),(0,a.jsx)(L.ss,{children:"项目名称"}),(0,a.jsx)(L.ss,{children:"创建时间"}),(0,a.jsx)(L.ss,{className:"w-[100px]",children:"操作"})]})}),(0,a.jsx)(L.RM,{children:s.map(e=>(0,a.jsxs)(L.SC,{children:[(0,a.jsx)(L.pj,{children:(0,a.jsx)("div",{className:"relative w-16 h-16 rounded-md overflow-hidden",children:(0,a.jsx)("img",{src:e.thumbnail||"/placeholder.svg",alt:e.title,className:"object-cover"})})}),(0,a.jsx)(L.pj,{className:"font-medium",children:e.title}),(0,a.jsx)(L.pj,{children:e.createdAt}),(0,a.jsx)(L.pj,{children:(0,a.jsxs)(w.h_,{children:[(0,a.jsx)(w.$F,{asChild:!0,children:(0,a.jsxs)(d.z,{variant:"ghost",className:"h-8 w-8 p-0",children:[(0,a.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,a.jsx)(E.Z,{className:"h-4 w-4"})]})}),(0,a.jsxs)(w.AW,{align:"end",children:[(0,a.jsx)(w.Xi,{onSelect:()=>{l(e),o(!0)},children:"重命名"}),(0,a.jsx)(w.Xi,{onSelect:()=>{l(e),m(!0)},className:"text-red-600",children:"删除"})]})]})})]},e.id))})]})}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K,{isOpen:c,onClose:()=>{o(!1),l(null)},onRename:e=>x(r.short_url_id,e),currentName:r.title}),(0,a.jsx)(I,{isOpen:h,onClose:()=>{m(!1),l(null)},onConfirm:()=>u(r.id),projectName:r.title})]})]})}function Q(){let[e,s]=(0,i.useState)("grid"),t=(0,S.T)(),[o,h]=function(e,s){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,b.t)();let a=(0,S.T)(),n=(0,C.s)(),[r,l]=(0,i.useState)(s);return(0,i.useEffect)(()=>{let n=a.search[e];n?t.validate?t.validate(n)&&l(n):l(n):l(s)},[a,e,s,t.validate]),[r,s=>{l(s);let r=new URLSearchParams(a.searchStr);r.set(e,s),t.replace,n({to:`?${r.toString()}`})}]}("teamId","-1"),{t:m}=(0,y.$)(),{isPending:x,error:u,data:j}=(0,Z.a)({queryKey:["teams"],queryFn:async()=>{let e=await c.R.GET("/studio_manager/teams/",{params:{query:{user_id:(0,l.rc)()}}}),s=await c.R.GET("/studio_manager/projects/",{params:{query:{user_id:(0,l.rc)()}}});return(0,$.yV)({teams:[],projects:[]},e,s)}});(0,k.Z)(async()=>{j&&"-1"===o&&!t.search.teamId&&h(j.teams.find(e=>e.name.startsWith("我的")).short_url_id)},[j]);let p=(0,R.D)({mutationFn:async e=>await c.R.DELETE("/studio_manager/projects/{project_id}/",{params:{path:{project_id:e}}}),onSuccess:e=>z.E.invalidateQueries({queryKey:["teams"]})}),f=(0,R.D)({mutationFn:async e=>await c.R.POST("/studio_manager/projects/clone/",{body:{project_id:e}}),onSuccess:async e=>{console.info(444,e),window.open(`/editor?project=${e.data.data.short_url_id}`,"_blank")}}),v=(0,R.D)({mutationKey:["update_project_name"],mutationFn:async e=>await c.R.PUT("/studio_manager/projects/{project_id}/",{params:{path:{project_id:e.project_id}},body:{name:e.name}}),onSuccess:e=>z.E.invalidateQueries({queryKey:["teams"]})}),N=(e,s)=>{v.mutate({project_id:e,name:s})},g=e=>{f.mutate(e)},E=e=>{p.mutate(e)},q=null==j?void 0:j.teams.find(e=>e.short_url_id===o),A=null==j?void 0:j.projects.map(e=>({id:e.id,short_url_id:e.short_url_id,team_id:e.team_id,title:e.name,thumbnail:"",createdAt:e.update_at})).filter(e=>"-1"!==o&&String(e.team_id)===String(null==q?void 0:q.id));return(0,a.jsx)(F.Z,{spinning:x,children:(0,a.jsx)("div",{className:"w-full h-full flex-1 flex-col space-y-8 p-8 flex ",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{className:"flex items-end space-x-2",children:(0,a.jsx)("h2",{className:"text-xl font-semibold",children:m("home.title")})}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsxs)(w.h_,{children:[(0,a.jsx)(w.$F,{asChild:!0,children:(0,a.jsx)(d.z,{size:"icon",variant:"outline",children:"grid"===e?(0,a.jsx)(n.Z,{className:"h-4 w-4"}):(0,a.jsx)(r.Z,{className:"h-4 w-4"})})}),(0,a.jsxs)(w.AW,{align:"end",children:[(0,a.jsxs)(w.Xi,{onClick:()=>s("grid"),children:[(0,a.jsx)(n.Z,{className:"mr-2 h-4 w-4"})," Grid view"]}),(0,a.jsxs)(w.Xi,{onClick:()=>s("list"),children:[(0,a.jsx)(r.Z,{className:"mr-2 h-4 w-4"})," List view"]})]})]}),(0,a.jsx)(_,{projectId:o}),(0,a.jsxs)(O.Ph,{value:o,onValueChange:e=>{z.E.invalidateQueries({queryKey:["teams"]}),h(e)},children:[(0,a.jsx)(O.i4,{className:"w-[180px]",children:(0,a.jsx)(O.ki,{placeholder:"Select a fruit"})}),(0,a.jsx)(O.Bw,{children:(0,a.jsx)(O.DI,{children:null==j?void 0:j.teams.map((e,s)=>(0,a.jsx)(O.Ql,{value:String(e.short_url_id),children:e.name},e.short_url_id))})})]}),(0,a.jsx)(X,{teamId:o})]})]}),"grid"===e?(0,a.jsx)("div",{className:"grid grid-cols-5 gap-14",children:null==A?void 0:A.map(e=>(0,a.jsx)(V,{project:e,onRename:N,onClone:g,onDelete:E},e.id))}):(0,a.jsx)(P,{projects:A,onRename:N,onDelete:E})]})})})}},23942:function(e,s,t){t.d(s,{I:()=>i});var a=t(31549),n=t(8491),r=t(71553);let i=n.forwardRef((e,s)=>{let{className:t,type:n,...i}=e;return(0,a.jsx)("input",{type:n,className:(0,r.cn)("flex h-9 w-full rounded-md border border-zinc-200 bg-transparent px-3 py-1 text-base shadow-xs transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-zinc-950 placeholder:text-zinc-500 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-zinc-950 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:border-zinc-800 dark:file:text-zinc-50 dark:placeholder:text-zinc-400 dark:focus-visible:ring-zinc-300",t),ref:s,...i})});i.displayName="Input"},66264:function(e,s,t){t.d(s,{_:()=>d});var a=t(31549),n=t(99947),r=t(68621),i=t(8491),l=t(71553);let c=(0,r.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=i.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(n.f,{ref:s,className:(0,l.cn)(c(),t),...r})});d.displayName=n.f.displayName},93330:function(e,s,t){t.d(s,{$:()=>n});var a=t(91299);function n(){let{language:e,setLanguage:s,languages:t,dictionary:n}=(0,a.Qg)();return{t:(e,s)=>{let t=(Array.isArray(e)?e:e.split(".")).reduce((e,s)=>null==e?void 0:e[s],n);return t?(s&&"string"==typeof t&&Object.entries(s).forEach(e=>{let[s,a]=e;t=t.replace(RegExp(`{{${s}}}`,"g"),a)}),t):Array.isArray(e)?e[e.length-1]:e.split(".").pop()||e},language:e,setLanguage:s,languages:t}}}}]);
|