diff --git a/.gitignore b/.gitignore index 0ed13d8..eac97c7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ yarn-error.log /.idea /.vscode .DS_Store +/project diff --git a/app/Http/Controllers/Admin/TrafficActivateCodeController.php b/app/Http/Controllers/Admin/TrafficActivateCodeController.php new file mode 100644 index 0000000..2807a63 --- /dev/null +++ b/app/Http/Controllers/Admin/TrafficActivateCodeController.php @@ -0,0 +1,71 @@ +count(); + return view('admin.codes.index', ['codes' => $codes, 'count' => $count]); + } + + /** + * Show the form for creating a new resource. + */ + public function create(): View + { + return view('admin.codes.create'); + } + + /** + * Store a newly created resource in storage. + */ + public function store(Request $request) + { + $amount = $request->input('amount'); + $traffic = $request->input('traffic'); + $codes = $this->generate_key($amount); + foreach ($codes as $code) { + TrafficActivateCode::create([ + 'code' => $code, + 'traffic' => $traffic, + ]); + } + return view('admin.codes.show', compact('codes')); + } + + private function generate_key($count): array + { + $codes = []; + for ($i = 0; $i < $count; $i++) { + $code = Str::random(25); + $code = strtoupper($code); + $formattedCode = preg_replace('/(\w{5})(\w{5})(\w{5})(\w{5})(\w{5})/', '$1-$2-$3-$4-$5', $code); + $codes[] = $formattedCode; + } + + return $codes; + } + + /** + * Remove the specified resource from storage. + */ + public function destroy(TrafficActivateCode $code) + { + $code->delete(); + + return back()->with('success', '删除成功'); + } +} diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 9913bb3..8165502 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -18,7 +18,6 @@ class UserController extends Controller public function index(Request $request) { $users = new User(); - $count = User::count(); foreach ($request->except(['page']) as $key => $value) { if (empty($value)) { diff --git a/app/Http/Controllers/Api/TrafficActivateCodeController.php b/app/Http/Controllers/Api/TrafficActivateCodeController.php new file mode 100644 index 0000000..1008b45 --- /dev/null +++ b/app/Http/Controllers/Api/TrafficActivateCodeController.php @@ -0,0 +1,33 @@ +validate([ + 'code' => 'required|string' + ]); + $code = $request->post('code'); + $trafficActivateCode = TrafficActivateCode::where('code', $code)->first(); + if ($trafficActivateCode == null) { + return $this->error('激活码错误'); + } + if ($trafficActivateCode->used_at != null) { + return $this->error('激活码已被使用'); + } + $trafficActivateCode->user_id = $request->user()->id; + $trafficActivateCode->used_at = now(); + $trafficActivateCode->update(); + $user = User::find($request->user()->id); + $user->traffic += $trafficActivateCode->traffic; + $user->update(); + return $this->success('激活成功'); + } +} diff --git a/app/Models/TrafficActivateCode.php b/app/Models/TrafficActivateCode.php new file mode 100644 index 0000000..e103b1e --- /dev/null +++ b/app/Models/TrafficActivateCode.php @@ -0,0 +1,28 @@ + 'datetime', + ]; + + public function user(): BelongsTo + { + return $this->belongsTo(User::class); + } +} diff --git a/database/migrations/2023_10_01_162048_create_traffic_activate_codes_table.php b/database/migrations/2023_10_01_162048_create_traffic_activate_codes_table.php new file mode 100644 index 0000000..64f19ff --- /dev/null +++ b/database/migrations/2023_10_01_162048_create_traffic_activate_codes_table.php @@ -0,0 +1,32 @@ +id(); + $table->string('code')->index()->unique(); + $table->bigInteger('traffic')->index(); + $table->dateTime('used_at')->nullable(); + $table->unsignedBigInteger('user_id')->nullable()->index(); + $table->foreign('user_id')->references('id')->on('users')->nullOnDelete(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('traffic_activate_codes'); + } +}; diff --git a/public/build/assets/Charge-e7d5afc9.js b/public/build/assets/Charge-0827f5c4.js similarity index 96% rename from public/build/assets/Charge-e7d5afc9.js rename to public/build/assets/Charge-0827f5c4.js index 3f6eaef..ca03fcb 100644 --- a/public/build/assets/Charge-e7d5afc9.js +++ b/public/build/assets/Charge-0827f5c4.js @@ -1 +1 @@ -import{r as l,o as t,c as o,a as e,t as v,j as y,v as w,F as b,e as C,b as p,g as f,l as B}from"./app-22d7fab3.js";import{i as m}from"./http-1f667af7.js";const G=e("div",null,[e("h3",null,"流量充值")],-1),N=e("h5",null,"您要充值多少元的流量?",-1),T=f(" 每 GB 价格: "),U=f(" 元。 "),D={class:"input-group mb-3"},F=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"GB")],-1),M={key:0},j=f("大约 "),E=["textContent"],L=f(" 元。"),P={key:0},R=e("h5",{class:"mt-3"},"您将要使用哪个平台充值?",-1),S=e("p",null,"如果您在选中的平台没有账号,我们将会帮您自动创建一个。",-1),q={class:"form-group form-check"},z=["id","value"],A=["for","textContent"],H={key:1},I=e("h5",{class:"mt-3"},"暂时没有可用的",-1),J=[I],K={key:2},O=e("h5",{class:"mt-3"},"让我们来选择支付方式。",-1),Q=e("p",null,"在支付后,您的流量大概需要数秒钟到账。",-1),W={class:"form-group form-check"},X=["id","value"],Y=["for","textContent"],Z={key:3},$=["disabled","textContent"],ee={key:0},te={key:1,class:"mt-3"},oe=e("h5",null,"完成",-1),ne=e("p",null,"如果您浏览器没有打开新的创建,请点击以下链接来打开。",-1),se=["href"],ie={name:"Charge",setup(le){const g=l(0),u=l([]),i=l(""),r=l({}),d=l(""),c=l(10),h=l(""),_=l(!1);m.get("price").then(s=>{g.value=s.data.price_per_gb}),m.get("providers").then(s=>{u.value=s.data,u.value.length>0&&(i.value=u.value[0],x())});function x(){m.get("providers/"+i.value+"/payments").then(s=>{r.value=s.data,r.value.length>0&&(d.value=r.value[0].name)})}function V(){_.value=!0,m.post("providers/"+i.value+"/charge",{payment:d.value,traffic:c.value}).then(s=>{h.value=s.data.redirect_url,setTimeout(()=>{window.open(h.value,"_blank")})}).finally(()=>{_.value=!1})}return(s,a)=>(t(),o(b,null,[G,e("div",null,[N,e("p",null,[T,e("span",null,v(g.value),1),U]),e("div",D,[y(e("input",{"onUpdate:modelValue":a[0]||(a[0]=n=>c.value=n),autofocus:"",class:"form-control",placeholder:"输入您要的流量 (单位: GB)",type:"number"},null,512),[[w,c.value]]),F]),c.value?(t(),o("div",M,[e("p",null,[j,e("span",{textContent:v(c.value*g.value)},null,8,E),L]),u.value?(t(),o("div",P,[R,S,(t(!0),o(b,null,C(u.value,n=>(t(),o("div",q,[y(e("input",{id:"providers_"+n,"onUpdate:modelValue":a[1]||(a[1]=k=>i.value=k),value:n,class:"form-check-input",name:"provider",type:"radio",onChange:x},null,40,z),[[B,i.value,void 0,{value:!0}]]),e("label",{for:"providers_"+n,class:"form-check-label",textContent:v(n)},null,8,A)]))),256))])):(t(),o("div",H,J)),r.value?(t(),o("div",K,[O,Q,(t(!0),o(b,null,C(r.value,n=>(t(),o("div",W,[y(e("input",{id:"payments_"+n.name,"onUpdate:modelValue":a[2]||(a[2]=k=>d.value=k),value:n.name,class:"form-check-input",name:"payment",type:"radio"},null,8,X),[[B,d.value]]),e("label",{for:"payments_"+n.name,class:"form-check-label",textContent:v(n.title)},null,8,Y)]))),256))])):p("",!0),d.value?(t(),o("div",Z,[e("button",{disabled:_.value,class:"btn btn-primary mt-3",onClick:V,textContent:v(_.value?"请稍后":"立即支付")},null,8,$)])):p("",!0)])):p("",!0)]),_.value?(t(),o("p",ee,"正在创建订单...")):p("",!0),h.value?(t(),o("div",te,[oe,ne,e("a",{href:h.value,class:"link",target:"_blank"},"支付",8,se)])):p("",!0)],64))}};export{ie as default}; +import{r as l,o as t,c as o,a as e,t as v,j as y,v as w,F as b,e as C,b as p,g as f,l as B}from"./app-65af0faa.js";import{i as m}from"./http-74266e01.js";const G=e("div",null,[e("h3",null,"流量充值")],-1),N=e("h5",null,"您要充值多少元的流量?",-1),T=f(" 每 GB 价格: "),U=f(" 元。 "),D={class:"input-group mb-3"},F=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"GB")],-1),M={key:0},j=f("大约 "),E=["textContent"],L=f(" 元。"),P={key:0},R=e("h5",{class:"mt-3"},"您将要使用哪个平台充值?",-1),S=e("p",null,"如果您在选中的平台没有账号,我们将会帮您自动创建一个。",-1),q={class:"form-group form-check"},z=["id","value"],A=["for","textContent"],H={key:1},I=e("h5",{class:"mt-3"},"暂时没有可用的",-1),J=[I],K={key:2},O=e("h5",{class:"mt-3"},"让我们来选择支付方式。",-1),Q=e("p",null,"在支付后,您的流量大概需要数秒钟到账。",-1),W={class:"form-group form-check"},X=["id","value"],Y=["for","textContent"],Z={key:3},$=["disabled","textContent"],ee={key:0},te={key:1,class:"mt-3"},oe=e("h5",null,"完成",-1),ne=e("p",null,"如果您浏览器没有打开新的创建,请点击以下链接来打开。",-1),se=["href"],ie={name:"Charge",setup(le){const g=l(0),u=l([]),i=l(""),r=l({}),d=l(""),c=l(10),h=l(""),_=l(!1);m.get("price").then(s=>{g.value=s.data.price_per_gb}),m.get("providers").then(s=>{u.value=s.data,u.value.length>0&&(i.value=u.value[0],x())});function x(){m.get("providers/"+i.value+"/payments").then(s=>{r.value=s.data,r.value.length>0&&(d.value=r.value[0].name)})}function V(){_.value=!0,m.post("providers/"+i.value+"/charge",{payment:d.value,traffic:c.value}).then(s=>{h.value=s.data.redirect_url,setTimeout(()=>{window.open(h.value,"_blank")})}).finally(()=>{_.value=!1})}return(s,a)=>(t(),o(b,null,[G,e("div",null,[N,e("p",null,[T,e("span",null,v(g.value),1),U]),e("div",D,[y(e("input",{"onUpdate:modelValue":a[0]||(a[0]=n=>c.value=n),autofocus:"",class:"form-control",placeholder:"输入您要的流量 (单位: GB)",type:"number"},null,512),[[w,c.value]]),F]),c.value?(t(),o("div",M,[e("p",null,[j,e("span",{textContent:v(c.value*g.value)},null,8,E),L]),u.value?(t(),o("div",P,[R,S,(t(!0),o(b,null,C(u.value,n=>(t(),o("div",q,[y(e("input",{id:"providers_"+n,"onUpdate:modelValue":a[1]||(a[1]=k=>i.value=k),value:n,class:"form-check-input",name:"provider",type:"radio",onChange:x},null,40,z),[[B,i.value,void 0,{value:!0}]]),e("label",{for:"providers_"+n,class:"form-check-label",textContent:v(n)},null,8,A)]))),256))])):(t(),o("div",H,J)),r.value?(t(),o("div",K,[O,Q,(t(!0),o(b,null,C(r.value,n=>(t(),o("div",W,[y(e("input",{id:"payments_"+n.name,"onUpdate:modelValue":a[2]||(a[2]=k=>d.value=k),value:n.name,class:"form-check-input",name:"payment",type:"radio"},null,8,X),[[B,d.value]]),e("label",{for:"payments_"+n.name,class:"form-check-label",textContent:v(n.title)},null,8,Y)]))),256))])):p("",!0),d.value?(t(),o("div",Z,[e("button",{disabled:_.value,class:"btn btn-primary mt-3",onClick:V,textContent:v(_.value?"请稍后":"立即支付")},null,8,$)])):p("",!0)])):p("",!0)]),_.value?(t(),o("p",ee,"正在创建订单...")):p("",!0),h.value?(t(),o("div",te,[oe,ne,e("a",{href:h.value,class:"link",target:"_blank"},"支付",8,se)])):p("",!0)],64))}};export{ie as default}; diff --git a/public/build/assets/Create-7479ebe3.js b/public/build/assets/Create-9128b1c6.js similarity index 97% rename from public/build/assets/Create-7479ebe3.js rename to public/build/assets/Create-9128b1c6.js index 12c048b..d329d54 100644 --- a/public/build/assets/Create-7479ebe3.js +++ b/public/build/assets/Create-9128b1c6.js @@ -1 +1 @@ -import{r as m,h as w,i as y,o as n,c as d,a as o,j as r,v as u,k as T,F as v,e as U,t as _,l as c,b as p}from"./app-22d7fab3.js";import{i as h}from"./http-1f667af7.js";const S=o("h3",null,"创建隧道",-1),x=o("h5",null,"好的名称是好的开始。",-1),V={class:"form-floating mb-3"},g=o("label",{for:"tunnelName"},"隧道名称",-1),C={class:"form-floating mb-3"},D=["value"],H=o("label",{for:"serverSelect"},"服务器",-1),M={class:"text-muted mb-3"},N={key:0},B={class:"form-check form-check-inline"},L=["disabled"],R=o("label",{class:"form-check-label",for:"protocolHTTP"},"HTTP",-1),X={class:"form-check form-check-inline"},A=["disabled"],F=o("label",{class:"form-check-label",for:"protocolHTTPS"},"HTTPS",-1),$={class:"form-check form-check-inline"},j=["disabled"],E=o("label",{class:"form-check-label",for:"protocolTCP"},"TCP",-1),q={class:"form-check form-check-inline"},z=["disabled"],G=o("label",{class:"form-check-label",for:"protocolUDP"},"UDP",-1),I={class:"form-check form-check-inline"},J=["disabled"],K=o("label",{class:"form-check-label",for:"protocolSTCP"},"STCP",-1),O={class:"form-check form-check-inline"},Q=["disabled"],W=o("label",{class:"form-check-label",for:"protocolSUDP"},"SUDP",-1),Y={class:"form-check form-check-inline"},Z=["disabled"],oo=o("label",{class:"form-check-label",for:"protocolXTCP"},"XTCP",-1),eo=o("h5",{class:"mt-3"},"本地服务的地址",-1),lo={class:"form-floating mb-3"},to=o("label",{for:"localAddress"},"本地地址",-1),so={key:1},ao=o("h5",null,"自定义域名",-1),ro={class:"form-floating mb-3"},no=o("label",{for:"customDomain"},"自定义域名",-1),co={key:2},io=o("h5",null,"外部端口",-1),uo={class:"input-group mb-3"},po={class:"form-floating"},mo=o("label",{for:"remotePort"},"外部端口",-1),_o={key:3},vo=o("h5",null,"访问密钥",-1),ho={class:"form-floating mb-3"},fo=o("label",{for:"sk"},"访问密钥",-1),wo={name:"Create",setup(bo){const s=m({id:"",name:"",allow_http:!0,allow_https:!0,allow_tcp:!0,allow_udp:!0,allow_stcp:!0,allow_sudp:!0,allow_xtcp:!0,min_port:1e4,max_port:65535}),i=m([]),e=m({name:"",protocol:"http",server_id:"",local_address:"",custom_domain:"",remote_port:"",sk:""});h.get("/servers").then(a=>{i.value=a.data,!e.value.server_id&&i.value.length>0&&(e.value.server_id=i.value[0].id)});function f(){s.value=i.value.find(l=>l.id===e.value.server_id);const a=new URLSearchParams(window.location.search);a.set("server_id",e.value.server_id),window.history.replaceState({},"",`${window.location.pathname}?${a.toString()}`)}function b(){const a=s.value.min_port,l=s.value.max_port;e.value.remote_port=Math.floor(Math.random()*(l-a+1))+a}w(()=>e.value.server_id,f);const k=async()=>{const a=new URLSearchParams(window.location.search);e.value.server_id=a.get("server_id")};y(()=>{k()});const P=()=>{h.post("/tunnels",e.value).then(a=>{(a.status===200||a.status===201)&&alert("创建成功")})};return(a,l)=>(n(),d(v,null,[S,x,o("div",V,[r(o("input",{id:"tunnelName","onUpdate:modelValue":l[0]||(l[0]=t=>e.value.name=t),class:"form-control",placeholder:"起一个易于辨别的名字",type:"text"},null,512),[[u,e.value.name]]),g]),o("div",C,[r(o("select",{id:"serverSelect","onUpdate:modelValue":l[1]||(l[1]=t=>e.value.server_id=t),class:"form-select"},[(n(!0),d(v,null,U(i.value,t=>(n(),d("option",{value:t.id},_(t.name),9,D))),256))],512),[[T,e.value.server_id]]),H]),o("div",M,"端口范围 "+_(s.value.min_port)+"-"+_(s.value.max_port),1),s.value?(n(),d("div",N,[o("div",B,[r(o("input",{id:"protocolHTTP","onUpdate:modelValue":l[2]||(l[2]=t=>e.value.protocol=t),disabled:!s.value.allow_http,class:"form-check-input",type:"radio",value:"http"},null,8,L),[[c,e.value.protocol]]),R]),o("div",X,[r(o("input",{id:"protocolHTTPS","onUpdate:modelValue":l[3]||(l[3]=t=>e.value.protocol=t),disabled:!s.value.allow_https,class:"form-check-input",type:"radio",value:"https"},null,8,A),[[c,e.value.protocol]]),F]),o("div",$,[r(o("input",{id:"protocolTCP","onUpdate:modelValue":l[4]||(l[4]=t=>e.value.protocol=t),disabled:!s.value.allow_tcp,class:"form-check-input",type:"radio",value:"tcp"},null,8,j),[[c,e.value.protocol]]),E]),o("div",q,[r(o("input",{id:"protocolUDP","onUpdate:modelValue":l[5]||(l[5]=t=>e.value.protocol=t),disabled:!s.value.allow_udp,class:"form-check-input",type:"radio",value:"udp"},null,8,z),[[c,e.value.protocol]]),G]),o("div",I,[r(o("input",{id:"protocolSTCP","onUpdate:modelValue":l[6]||(l[6]=t=>e.value.protocol=t),disabled:!s.value.allow_stcp,class:"form-check-input",type:"radio",value:"stcp"},null,8,J),[[c,e.value.protocol]]),K]),o("div",O,[r(o("input",{id:"protocolSUDP","onUpdate:modelValue":l[7]||(l[7]=t=>e.value.protocol=t),disabled:!s.value.allow_sudp,class:"form-check-input",type:"radio",value:"sudp"},null,8,Q),[[c,e.value.protocol]]),W]),o("div",Y,[r(o("input",{id:"protocolXTCP","onUpdate:modelValue":l[8]||(l[8]=t=>e.value.protocol=t),disabled:!s.value.allow_xtcp,class:"form-check-input",type:"radio",value:"xtcp"},null,8,Z),[[c,e.value.protocol]]),oo])])):p("",!0),eo,o("div",lo,[r(o("input",{id:"localAddress","onUpdate:modelValue":l[9]||(l[9]=t=>e.value.local_address=t),class:"form-control",placeholder:"比如 127.0.0.1:80",type:"text"},null,512),[[u,e.value.local_address]]),to]),e.value.protocol==="http"||e.value.protocol==="https"?(n(),d("div",so,[ao,o("div",ro,[r(o("input",{id:"customDomain","onUpdate:modelValue":l[10]||(l[10]=t=>e.value.custom_domain=t),class:"form-control",placeholder:"比如 example.com",type:"text"},null,512),[[u,e.value.custom_domain]]),no])])):p("",!0),e.value.protocol==="tcp"||e.value.protocol==="udp"?(n(),d("div",co,[io,o("div",uo,[o("div",po,[r(o("input",{id:"remotePort","onUpdate:modelValue":l[11]||(l[11]=t=>e.value.remote_port=t),class:"form-control",placeholder:"比如 25565",type:"text"},null,512),[[u,e.value.remote_port]]),mo]),o("button",{class:"btn btn-outline-primary",type:"button",onClick:b},"随机端口")])])):p("",!0),e.value.protocol==="stcp"||e.value.protocol==="sudp"||e.value.protocol==="xtcp"?(n(),d("div",_o,[vo,o("div",ho,[r(o("input",{id:"sk","onUpdate:modelValue":l[12]||(l[12]=t=>e.value.sk=t),class:"form-control",placeholder:"比如 25565",type:"text"},null,512),[[u,e.value.sk]]),fo])])):p("",!0),o("button",{class:"btn btn-primary",onClick:P},"创建")],64))}};export{wo as default}; +import{r as m,h as w,i as y,o as n,c as d,a as o,j as r,v as u,k as T,F as v,e as U,t as _,l as c,b as p}from"./app-65af0faa.js";import{i as h}from"./http-74266e01.js";const S=o("h3",null,"创建隧道",-1),x=o("h5",null,"好的名称是好的开始。",-1),V={class:"form-floating mb-3"},g=o("label",{for:"tunnelName"},"隧道名称",-1),C={class:"form-floating mb-3"},D=["value"],H=o("label",{for:"serverSelect"},"服务器",-1),M={class:"text-muted mb-3"},N={key:0},B={class:"form-check form-check-inline"},L=["disabled"],R=o("label",{class:"form-check-label",for:"protocolHTTP"},"HTTP",-1),X={class:"form-check form-check-inline"},A=["disabled"],F=o("label",{class:"form-check-label",for:"protocolHTTPS"},"HTTPS",-1),$={class:"form-check form-check-inline"},j=["disabled"],E=o("label",{class:"form-check-label",for:"protocolTCP"},"TCP",-1),q={class:"form-check form-check-inline"},z=["disabled"],G=o("label",{class:"form-check-label",for:"protocolUDP"},"UDP",-1),I={class:"form-check form-check-inline"},J=["disabled"],K=o("label",{class:"form-check-label",for:"protocolSTCP"},"STCP",-1),O={class:"form-check form-check-inline"},Q=["disabled"],W=o("label",{class:"form-check-label",for:"protocolSUDP"},"SUDP",-1),Y={class:"form-check form-check-inline"},Z=["disabled"],oo=o("label",{class:"form-check-label",for:"protocolXTCP"},"XTCP",-1),eo=o("h5",{class:"mt-3"},"本地服务的地址",-1),lo={class:"form-floating mb-3"},to=o("label",{for:"localAddress"},"本地地址",-1),so={key:1},ao=o("h5",null,"自定义域名",-1),ro={class:"form-floating mb-3"},no=o("label",{for:"customDomain"},"自定义域名",-1),co={key:2},io=o("h5",null,"外部端口",-1),uo={class:"input-group mb-3"},po={class:"form-floating"},mo=o("label",{for:"remotePort"},"外部端口",-1),_o={key:3},vo=o("h5",null,"访问密钥",-1),ho={class:"form-floating mb-3"},fo=o("label",{for:"sk"},"访问密钥",-1),wo={name:"Create",setup(bo){const s=m({id:"",name:"",allow_http:!0,allow_https:!0,allow_tcp:!0,allow_udp:!0,allow_stcp:!0,allow_sudp:!0,allow_xtcp:!0,min_port:1e4,max_port:65535}),i=m([]),e=m({name:"",protocol:"http",server_id:"",local_address:"",custom_domain:"",remote_port:"",sk:""});h.get("/servers").then(a=>{i.value=a.data,!e.value.server_id&&i.value.length>0&&(e.value.server_id=i.value[0].id)});function f(){s.value=i.value.find(l=>l.id===e.value.server_id);const a=new URLSearchParams(window.location.search);a.set("server_id",e.value.server_id),window.history.replaceState({},"",`${window.location.pathname}?${a.toString()}`)}function b(){const a=s.value.min_port,l=s.value.max_port;e.value.remote_port=Math.floor(Math.random()*(l-a+1))+a}w(()=>e.value.server_id,f);const k=async()=>{const a=new URLSearchParams(window.location.search);e.value.server_id=a.get("server_id")};y(()=>{k()});const P=()=>{h.post("/tunnels",e.value).then(a=>{(a.status===200||a.status===201)&&alert("创建成功")})};return(a,l)=>(n(),d(v,null,[S,x,o("div",V,[r(o("input",{id:"tunnelName","onUpdate:modelValue":l[0]||(l[0]=t=>e.value.name=t),class:"form-control",placeholder:"起一个易于辨别的名字",type:"text"},null,512),[[u,e.value.name]]),g]),o("div",C,[r(o("select",{id:"serverSelect","onUpdate:modelValue":l[1]||(l[1]=t=>e.value.server_id=t),class:"form-select"},[(n(!0),d(v,null,U(i.value,t=>(n(),d("option",{value:t.id},_(t.name),9,D))),256))],512),[[T,e.value.server_id]]),H]),o("div",M,"端口范围 "+_(s.value.min_port)+"-"+_(s.value.max_port),1),s.value?(n(),d("div",N,[o("div",B,[r(o("input",{id:"protocolHTTP","onUpdate:modelValue":l[2]||(l[2]=t=>e.value.protocol=t),disabled:!s.value.allow_http,class:"form-check-input",type:"radio",value:"http"},null,8,L),[[c,e.value.protocol]]),R]),o("div",X,[r(o("input",{id:"protocolHTTPS","onUpdate:modelValue":l[3]||(l[3]=t=>e.value.protocol=t),disabled:!s.value.allow_https,class:"form-check-input",type:"radio",value:"https"},null,8,A),[[c,e.value.protocol]]),F]),o("div",$,[r(o("input",{id:"protocolTCP","onUpdate:modelValue":l[4]||(l[4]=t=>e.value.protocol=t),disabled:!s.value.allow_tcp,class:"form-check-input",type:"radio",value:"tcp"},null,8,j),[[c,e.value.protocol]]),E]),o("div",q,[r(o("input",{id:"protocolUDP","onUpdate:modelValue":l[5]||(l[5]=t=>e.value.protocol=t),disabled:!s.value.allow_udp,class:"form-check-input",type:"radio",value:"udp"},null,8,z),[[c,e.value.protocol]]),G]),o("div",I,[r(o("input",{id:"protocolSTCP","onUpdate:modelValue":l[6]||(l[6]=t=>e.value.protocol=t),disabled:!s.value.allow_stcp,class:"form-check-input",type:"radio",value:"stcp"},null,8,J),[[c,e.value.protocol]]),K]),o("div",O,[r(o("input",{id:"protocolSUDP","onUpdate:modelValue":l[7]||(l[7]=t=>e.value.protocol=t),disabled:!s.value.allow_sudp,class:"form-check-input",type:"radio",value:"sudp"},null,8,Q),[[c,e.value.protocol]]),W]),o("div",Y,[r(o("input",{id:"protocolXTCP","onUpdate:modelValue":l[8]||(l[8]=t=>e.value.protocol=t),disabled:!s.value.allow_xtcp,class:"form-check-input",type:"radio",value:"xtcp"},null,8,Z),[[c,e.value.protocol]]),oo])])):p("",!0),eo,o("div",lo,[r(o("input",{id:"localAddress","onUpdate:modelValue":l[9]||(l[9]=t=>e.value.local_address=t),class:"form-control",placeholder:"比如 127.0.0.1:80",type:"text"},null,512),[[u,e.value.local_address]]),to]),e.value.protocol==="http"||e.value.protocol==="https"?(n(),d("div",so,[ao,o("div",ro,[r(o("input",{id:"customDomain","onUpdate:modelValue":l[10]||(l[10]=t=>e.value.custom_domain=t),class:"form-control",placeholder:"比如 example.com",type:"text"},null,512),[[u,e.value.custom_domain]]),no])])):p("",!0),e.value.protocol==="tcp"||e.value.protocol==="udp"?(n(),d("div",co,[io,o("div",uo,[o("div",po,[r(o("input",{id:"remotePort","onUpdate:modelValue":l[11]||(l[11]=t=>e.value.remote_port=t),class:"form-control",placeholder:"比如 25565",type:"text"},null,512),[[u,e.value.remote_port]]),mo]),o("button",{class:"btn btn-outline-primary",type:"button",onClick:b},"随机端口")])])):p("",!0),e.value.protocol==="stcp"||e.value.protocol==="sudp"||e.value.protocol==="xtcp"?(n(),d("div",_o,[vo,o("div",ho,[r(o("input",{id:"sk","onUpdate:modelValue":l[12]||(l[12]=t=>e.value.sk=t),class:"form-control",placeholder:"比如 25565",type:"text"},null,512),[[u,e.value.sk]]),fo])])):p("",!0),o("button",{class:"btn btn-primary",onClick:P},"创建")],64))}};export{wo as default}; diff --git a/public/build/assets/Downloads-7b82c5f5.js b/public/build/assets/Downloads-d3293bd0.js similarity index 80% rename from public/build/assets/Downloads-7b82c5f5.js rename to public/build/assets/Downloads-d3293bd0.js index 6d3d15e..44ceb11 100644 --- a/public/build/assets/Downloads-7b82c5f5.js +++ b/public/build/assets/Downloads-d3293bd0.js @@ -1 +1 @@ -import{i as u}from"./http-1f667af7.js";import{r as c,o as l,c as n,a as t,F as r,e as d,t as o}from"./app-22d7fab3.js";const h=t("h3",null,"客户端下载",-1),_={class:"table table-bordered mt-3"},i=t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"架构"),t("th",null,"下载")])],-1),m=["href"],B={name:"Downloads",setup(p){const a=c([]);return u.get("clients").then(s=>{a.value=s.data}),(s,f)=>(l(),n(r,null,[h,t("table",_,[i,t("tbody",null,[(l(!0),n(r,null,d(a.value,e=>(l(),n("tr",null,[t("td",null,o(e.name),1),t("td",null,o(e.arch),1),t("td",null,[t("a",{href:e.url},"下载",8,m)])]))),256))])])],64))}};export{B as default}; +import{i as u}from"./http-74266e01.js";import{r as c,o as l,c as n,a as t,F as r,e as d,t as o}from"./app-65af0faa.js";const h=t("h3",null,"客户端下载",-1),_={class:"table table-bordered mt-3"},i=t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"架构"),t("th",null,"下载")])],-1),m=["href"],B={name:"Downloads",setup(p){const a=c([]);return u.get("clients").then(s=>{a.value=s.data}),(s,f)=>(l(),n(r,null,[h,t("table",_,[i,t("tbody",null,[(l(!0),n(r,null,d(a.value,e=>(l(),n("tr",null,[t("td",null,o(e.name),1),t("td",null,o(e.arch),1),t("td",null,[t("a",{href:e.url},"下载",8,m)])]))),256))])])],64))}};export{B as default}; diff --git a/public/build/assets/Index-cdfbf04e.js b/public/build/assets/Index-29944ef4.js similarity index 91% rename from public/build/assets/Index-cdfbf04e.js rename to public/build/assets/Index-29944ef4.js index e7e9f0a..a029580 100644 --- a/public/build/assets/Index-cdfbf04e.js +++ b/public/build/assets/Index-29944ef4.js @@ -1 +1 @@ -import{i as o}from"./http-1f667af7.js";import{r as u,o as l,c,a as e,t as n,u as i,b as d,F as h}from"./app-22d7fab3.js";const p=e("div",null,[e("h3",null,"欢迎")],-1),k={class:"mt-3"},f={key:0,class:"mt-3"},v=e("h3",null,"实名认证",-1),b=e("p",null," 注意,您没有完成实名认证,请点击下方按钮完成实名认证,否则您只能使用中国大陆以外的隧道。 ",-1),g=e("a",{class:"btn btn-primary",href:"https://oauth.laecloud.com/real_name",target:"_blank"},"实名认证",-1),y=e("h3",null,"访问密钥",-1),x={class:"mt-3"},B={key:0,class:"text-success"},A={name:"Index",setup(T){const r=window.Base.SiteName,s=u({name:"loading...",traffic:""}),a=u("");o.get("user").then(t=>{s.value=t.data});function _(){o.post("tokens").then(t=>{a.value=t.data.token})}function m(){o.delete("tokens").then(t=>{alert("所有 Token 删除成功。")})}return(t,w)=>(l(),c(h,null,[p,e("div",k,[e("p",null,"用户名: "+n(s.value.name),1),e("p",null,"剩余流量: "+n(s.value.traffic)+" GB",1)]),s.value.realnamed?d("",!0):(l(),c("div",f,[v,b,g,e("p",null,"在实名认证后,请重新登录 "+n(i(r))+"。",1)])),y,e("div",x,[e("p",null," 访问密钥是用于访问 "+n(i(r))+" API 的密钥,您可以使用它来开发自己的客户端。 ",1),a.value?(l(),c("p",B,"获取成功,请妥善保管您的 Token: "+n(a.value),1)):d("",!0),e("button",{class:"btn btn-primary",onClick:_}," 获取新密钥 "),e("button",{class:"btn btn-danger",style:{"margin-left":"5px"},onClick:m}," 删除所有密钥 ")])],64))}};export{A as default}; +import{i as o}from"./http-74266e01.js";import{r as u,o as l,c,a as e,t as n,u as i,b as d,F as h}from"./app-65af0faa.js";const p=e("div",null,[e("h3",null,"欢迎")],-1),k={class:"mt-3"},f={key:0,class:"mt-3"},v=e("h3",null,"实名认证",-1),b=e("p",null," 注意,您没有完成实名认证,请点击下方按钮完成实名认证,否则您只能使用中国大陆以外的隧道。 ",-1),g=e("a",{class:"btn btn-primary",href:"https://oauth.laecloud.com/real_name",target:"_blank"},"实名认证",-1),y=e("h3",null,"访问密钥",-1),x={class:"mt-3"},B={key:0,class:"text-success"},A={name:"Index",setup(T){const r=window.Base.SiteName,s=u({name:"loading...",traffic:""}),a=u("");o.get("user").then(t=>{s.value=t.data});function _(){o.post("tokens").then(t=>{a.value=t.data.token})}function m(){o.delete("tokens").then(t=>{alert("所有 Token 删除成功。")})}return(t,w)=>(l(),c(h,null,[p,e("div",k,[e("p",null,"用户名: "+n(s.value.name),1),e("p",null,"剩余流量: "+n(s.value.traffic)+" GB",1)]),s.value.realnamed?d("",!0):(l(),c("div",f,[v,b,g,e("p",null,"在实名认证后,请重新登录 "+n(i(r))+"。",1)])),y,e("div",x,[e("p",null," 访问密钥是用于访问 "+n(i(r))+" API 的密钥,您可以使用它来开发自己的客户端。 ",1),a.value?(l(),c("p",B,"获取成功,请妥善保管您的 Token: "+n(a.value),1)):d("",!0),e("button",{class:"btn btn-primary",onClick:_}," 获取新密钥 "),e("button",{class:"btn btn-danger",style:{"margin-left":"5px"},onClick:m}," 删除所有密钥 ")])],64))}};export{A as default}; diff --git a/public/build/assets/Index-f4d5af43.js b/public/build/assets/Index-56619578.js similarity index 90% rename from public/build/assets/Index-f4d5af43.js rename to public/build/assets/Index-56619578.js index 0c5131c..9f0aee8 100644 --- a/public/build/assets/Index-f4d5af43.js +++ b/public/build/assets/Index-56619578.js @@ -1 +1 @@ -import{i as d}from"./http-1f667af7.js";import{r as p,d as _,o,c as r,a as e,F as c,e as i,t as s,f as h,w as u,g as m}from"./app-22d7fab3.js";const v=e("h3",null,"隧道列表",-1),k={class:"table table-hover"},f=e("thead",null,[e("tr",null,[e("th",{scope:"col"},"ID"),e("th",{scope:"col"},"名称"),e("th",{scope:"col"},"协议"),e("th",{scope:"col"},"本地地址"),e("th",{scope:"col"},"远程端口/域名"),e("th",{scope:"col"},"服务器"),e("th",{scope:"col"},"状态")])],-1),x={key:0},g={key:1},y={key:0,class:"text-success"},b={key:1,class:"text-danger"},V={name:"Index",setup(w){const a=p([{id:"0",protocol:"",server:{server_address:"",server_port:"",name:""},run_id:""}]);return d.get("tunnels").then(l=>{a.value=l.data}),(l,B)=>{const n=_("router-link");return o(),r(c,null,[v,e("table",k,[f,e("tbody",null,[(o(!0),r(c,null,i(a.value,t=>(o(),r("tr",null,[e("th",null,s(t.id),1),e("td",null,[h(n,{to:{name:"tunnels.show",params:{id:t.id}}},{default:u(()=>[m(s(t.name),1)]),_:2},1032,["to"])]),e("td",null,s(t.protocol.toString().toUpperCase()),1),e("td",null,s(t.local_address),1),e("td",null,[t.protocol==="http"||t.protocol==="https"?(o(),r("span",x,s(t.custom_domain),1)):(o(),r("span",g,s(t.server.server_address)+":"+s(t.remote_port),1))]),e("td",null,s(t.server.name),1),e("td",null,[t.run_id?(o(),r("span",y,"在线")):(o(),r("span",b,"离线"))])]))),256))])])],64)}}};export{V as default}; +import{i as d}from"./http-74266e01.js";import{r as p,d as _,o,c as r,a as e,F as c,e as i,t as s,f as h,w as u,g as m}from"./app-65af0faa.js";const v=e("h3",null,"隧道列表",-1),k={class:"table table-hover"},f=e("thead",null,[e("tr",null,[e("th",{scope:"col"},"ID"),e("th",{scope:"col"},"名称"),e("th",{scope:"col"},"协议"),e("th",{scope:"col"},"本地地址"),e("th",{scope:"col"},"远程端口/域名"),e("th",{scope:"col"},"服务器"),e("th",{scope:"col"},"状态")])],-1),x={key:0},g={key:1},y={key:0,class:"text-success"},b={key:1,class:"text-danger"},V={name:"Index",setup(w){const a=p([{id:"0",protocol:"",server:{server_address:"",server_port:"",name:""},run_id:""}]);return d.get("tunnels").then(l=>{a.value=l.data}),(l,B)=>{const n=_("router-link");return o(),r(c,null,[v,e("table",k,[f,e("tbody",null,[(o(!0),r(c,null,i(a.value,t=>(o(),r("tr",null,[e("th",null,s(t.id),1),e("td",null,[h(n,{to:{name:"tunnels.show",params:{id:t.id}}},{default:u(()=>[m(s(t.name),1)]),_:2},1032,["to"])]),e("td",null,s(t.protocol.toString().toUpperCase()),1),e("td",null,s(t.local_address),1),e("td",null,[t.protocol==="http"||t.protocol==="https"?(o(),r("span",x,s(t.custom_domain),1)):(o(),r("span",g,s(t.server.server_address)+":"+s(t.remote_port),1))]),e("td",null,s(t.server.name),1),e("td",null,[t.run_id?(o(),r("span",y,"在线")):(o(),r("span",b,"离线"))])]))),256))])])],64)}}};export{V as default}; diff --git a/public/build/assets/Show-359be435.js b/public/build/assets/Show-a5280b04.js similarity index 99% rename from public/build/assets/Show-359be435.js rename to public/build/assets/Show-a5280b04.js index fc848b3..0ebe4f8 100644 --- a/public/build/assets/Show-359be435.js +++ b/public/build/assets/Show-a5280b04.js @@ -1,4 +1,4 @@ -import{i as Tl}from"./http-1f667af7.js";import{r as tm,m as em,i as cL,n as pL,o as rm,c as am,a as Ke,t as kh,b as dL,F as gL}from"./app-22d7fab3.js";/*! ***************************************************************************** +import{i as Tl}from"./http-74266e01.js";import{r as tm,m as em,i as cL,n as pL,o as rm,c as am,a as Ke,t as kh,b as dL,F as gL}from"./app-65af0faa.js";/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any diff --git a/public/build/assets/Sign-1ae8e0e0.js b/public/build/assets/Sign-1ae8e0e0.js deleted file mode 100644 index c1e0c31..0000000 --- a/public/build/assets/Sign-1ae8e0e0.js +++ /dev/null @@ -1 +0,0 @@ -import{p as R,r as u,i as L,q as B,o as p,c as v,a as r,t as _,f as C,u as b}from"./app-22d7fab3.js";import{i as m}from"./http-1f667af7.js";function y(){return y=Object.assign?Object.assign.bind():function(c){for(var e=1;e"u"||(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.reset(t)}))},execute:function(t){typeof t>"u"||(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.execute(t)}))},checkRecaptchaLoad:function(){S.call(window,"grecaptcha")&&S.call(window.grecaptcha,"render")&&this.notify()},assertLoaded:function(){if(!c.resolved())throw new Error("ReCAPTCHA has not been loaded")}}}var l=A();typeof window<"u"&&(window.vueRecaptchaApiLoaded=l.notify);var M=R({name:"VueRecaptcha",props:{sitekey:{type:String,required:!0},theme:{type:String},badge:{type:String},type:{type:String},size:{type:String},tabindex:{type:String},loadRecaptchaScript:{type:Boolean,default:!0},recaptchaScriptId:{type:String,default:"__RECAPTCHA_SCRIPT"},recaptchaHost:{type:String,default:"www.google.com"},language:{type:String,default:""}},emits:["render","verify","expired","error"],setup:function(e,t){var a=t.slots,i=t.emit,s=u(null),o=u(null),n=function(h){i("verify",h)},f=function(){i("expired")},x=function(){i("error")};return L(function(){if(l.checkRecaptchaLoad(),e.loadRecaptchaScript&&!document.getElementById(e.recaptchaScriptId)){var d=document.createElement("script");d.id=e.recaptchaScriptId,d.src="https://"+e.recaptchaHost+"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl="+e.language,d.async=!0,d.defer=!0,document.head.appendChild(d)}var h=y({},e,{callback:n,"expired-callback":f,"error-callback":x}),g=s.value,k=a.default?g.children[0]:g;l.render(k,h,function(w){o.value=w,i("render",w)})}),{root:s,widgetId:o,reset:function(){l.reset(o.value)},execute:function(){l.execute(o.value)}}},render:function(){var e=this.$slots.default,t;return typeof e=="function"?t=e():t=e,B("div",{ref:"root"},t)}});const O=r("h3",null,"流量补给",-1),P={key:0},V={key:1},j=r("p",null,"完成验证码以签到",-1),H=r("button",{type:"button",class:"btn btn-primary",style:{display:"none"},id:"signinButton","data-bs-toggle":"modal","data-bs-target":"#signinModal"},null,-1),I={class:"modal fade",id:"signinModal",tabindex:"-1","aria-labelledby":"signinModalLabel","aria-hidden":"true"},q={class:"modal-dialog"},T={class:"modal-content"},$=r("div",{class:"modal-header"},[r("h1",{class:"modal-title fs-5",id:"signinModalLabel"},"签到")],-1),G={class:"modal-body"},N=r("div",{class:"modal-footer"},[r("button",{type:"button",class:"btn btn-primary","data-bs-dismiss":"modal"},"确定")],-1),F={name:"Sign",setup(c){const e=window.Base.ReCaptcha,t=u(""),a=u({last_sign_at:null,traffic:0}),i=u("");window.matchMedia("(prefers-color-scheme: dark)").matches?i.value="dark":i.value="light",m.get("user").then(o=>{a.value.traffic=o.data.traffic});function s(o){m.post("traffic",{recaptcha:o}).then(n=>{a.value=n.data,t.value=`获得了 ${n.data.traffic} GB 流量!`,n.data.traffic===0&&(t.value="没有获得流量~"),document.querySelector("#signinButton").click()}).finally(()=>{m.get("user").then(n=>{a.value.traffic=n.data.traffic}).finally(()=>{})})}return(o,n)=>(p(),v("div",null,[O,r("div",null,[r("p",null,"当前流量: "+_(a.value.traffic)+"GB",1),a.value.is_signed?(p(),v("div",P,"今日已签到")):(p(),v("div",V,[j,C(b(M),{sitekey:b(e),theme:i.value,loadRecaptchaScript:"",recaptchaHost:"www.recaptcha.net",onVerify:s},null,8,["sitekey","theme"])]))]),H,r("div",I,[r("div",q,[r("div",T,[$,r("div",G," 签到成功!"+_(t.value),1),N])])])]))}};export{F as default}; diff --git a/public/build/assets/Sign-f46d7e79.js b/public/build/assets/Sign-f46d7e79.js new file mode 100644 index 0000000..cfc3b5d --- /dev/null +++ b/public/build/assets/Sign-f46d7e79.js @@ -0,0 +1 @@ +import{p as R,r as f,i as L,q as B,o as m,c as g,a,t as b,f as C,u as x,j as E,v as M}from"./app-65af0faa.js";import{i as h}from"./http-74266e01.js";function y(){return y=Object.assign?Object.assign.bind():function(c){for(var e=1;e"u"||(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.reset(t)}))},execute:function(t){typeof t>"u"||(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.execute(t)}))},checkRecaptchaLoad:function(){S.call(window,"grecaptcha")&&S.call(window.grecaptcha,"render")&&this.notify()},assertLoaded:function(){if(!c.resolved())throw new Error("ReCAPTCHA has not been loaded")}}}var p=j();typeof window<"u"&&(window.vueRecaptchaApiLoaded=p.notify);var A=R({name:"VueRecaptcha",props:{sitekey:{type:String,required:!0},theme:{type:String},badge:{type:String},type:{type:String},size:{type:String},tabindex:{type:String},loadRecaptchaScript:{type:Boolean,default:!0},recaptchaScriptId:{type:String,default:"__RECAPTCHA_SCRIPT"},recaptchaHost:{type:String,default:"www.google.com"},language:{type:String,default:""}},emits:["render","verify","expired","error"],setup:function(e,t){var n=t.slots,i=t.emit,u=f(null),l=f(null),s=function(v){i("verify",v)},r=function(){i("expired")},d=function(){i("error")};return L(function(){if(p.checkRecaptchaLoad(),e.loadRecaptchaScript&&!document.getElementById(e.recaptchaScriptId)){var o=document.createElement("script");o.id=e.recaptchaScriptId,o.src="https://"+e.recaptchaHost+"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl="+e.language,o.async=!0,o.defer=!0,document.head.appendChild(o)}var v=y({},e,{callback:s,"expired-callback":r,"error-callback":d}),_=u.value,k=n.default?_.children[0]:_;p.render(k,v,function(w){l.value=w,i("render",w)})}),{root:u,widgetId:l,reset:function(){p.reset(l.value)},execute:function(){p.execute(l.value)}}},render:function(){var e=this.$slots.default,t;return typeof e=="function"?t=e():t=e,B("div",{ref:"root"},t)}});const O=a("h3",null,"流量补给",-1),P={key:0},H={key:1},I=a("p",null,"完成验证码以签到",-1),T={class:"mt-4"},q=a("h3",null,"兑换流量激活码",-1),$={class:"input-group mt-3"},D=a("button",{id:"signinButton",class:"btn btn-primary","data-bs-target":"#signinModal","data-bs-toggle":"modal",style:{display:"none"},type:"button"},null,-1),G={id:"signinModal","aria-hidden":"true","aria-labelledby":"signinModalLabel",class:"modal fade",tabindex:"-1"},N={class:"modal-dialog"},z={class:"modal-content"},U=a("div",{class:"modal-header"},[a("h1",{id:"signinModalLabel",class:"modal-title fs-5"},"签到")],-1),F={class:"modal-body"},J=a("div",{class:"modal-footer"},[a("button",{class:"btn btn-primary","data-bs-dismiss":"modal",type:"button"},"确定")],-1),W={name:"Sign",setup(c){const e=window.Base.ReCaptcha,t=f(""),n=f({last_sign_at:null,traffic:0}),i=f(""),u=f("");window.matchMedia("(prefers-color-scheme: dark)").matches?i.value="dark":i.value="light",h.get("user").then(r=>{n.value.traffic=r.data.traffic});function l(r){h.post("traffic",{recaptcha:r}).then(d=>{n.value=d.data,t.value=`获得了 ${d.data.traffic} GB 流量!`,d.data.traffic===0&&(t.value="没有获得流量~"),document.querySelector("#signinButton").click()}).finally(()=>{h.get("user").then(d=>{n.value.traffic=d.data.traffic}).finally(()=>{})})}function s(){h.post("/codes/use",{code:u.value}).then(r=>{alert(r.data.message)}).catch(r=>{alert(r.data.message)}).finally(()=>{h.get("user").then(r=>{n.value.traffic=r.data.traffic})})}return(r,d)=>(m(),g("div",null,[O,a("div",null,[a("p",null,"当前流量: "+b(n.value.traffic)+"GB",1),n.value.is_signed?(m(),g("div",P,"今日已签到")):(m(),g("div",H,[I,C(x(A),{sitekey:x(e),theme:i.value,loadRecaptchaScript:"",recaptchaHost:"www.recaptcha.net",onVerify:l},null,8,["sitekey","theme"])]))]),a("div",T,[q,a("div",$,[E(a("input",{"onUpdate:modelValue":d[0]||(d[0]=o=>u.value=o),class:"form-control",type:"text"},null,512),[[M,u.value]]),a("button",{class:"btn btn-primary",onClick:s},"兑换")])]),D,a("div",G,[a("div",N,[a("div",z,[U,a("div",F," 签到成功!"+b(t.value),1),J])])])]))}};export{W as default}; diff --git a/public/build/assets/Status-06a9b78c.js b/public/build/assets/Status-29982c8b.js similarity index 93% rename from public/build/assets/Status-06a9b78c.js rename to public/build/assets/Status-29982c8b.js index 114534f..41a64c5 100644 --- a/public/build/assets/Status-06a9b78c.js +++ b/public/build/assets/Status-29982c8b.js @@ -1 +1 @@ -import{o as e,c as s,b as o,r as l,a as t,F as u,e as d,t as i,f as _}from"./app-22d7fab3.js";import{i as m}from"./http-1f667af7.js";const h={key:0,class:"text-success"},p={key:1,class:"text-danger"},b={key:2,class:"text-warning"},x={name:"ServerStatus",props:{status:{type:String,required:!0}},setup(a){return(n,r)=>a.status==="up"?(e(),s("span",h," 正常 ")):a.status==="down"?(e(),s("span",p," 离线 ")):a.status==="maintenance"?(e(),s("span",b," 维护 ")):o("",!0)}},f=t("h3",null,"节点状态",-1),g={class:"table table-hover table-bordered table-responsive align-middle mt-3"},v=t("thead",{class:"text-center"},[t("tr",null,[t("th",{scope:"col"},"节点名称"),t("th",{scope:"col"},"节点状态")])],-1),y={class:"text-center"},B={name:"Status",setup(a){const n=l([]);return m.get("servers").then(r=>{n.value=r.data}),(r,k)=>(e(),s("div",null,[f,t("table",g,[v,t("tbody",y,[(e(!0),s(u,null,d(n.value,c=>(e(),s("tr",null,[t("td",null,i(c.name),1),t("td",null,[_(x,{status:c.status},null,8,["status"])])]))),256))])])]))}};export{B as default}; +import{o as e,c as s,b as o,r as l,a as t,F as u,e as d,t as i,f as _}from"./app-65af0faa.js";import{i as m}from"./http-74266e01.js";const h={key:0,class:"text-success"},p={key:1,class:"text-danger"},b={key:2,class:"text-warning"},x={name:"ServerStatus",props:{status:{type:String,required:!0}},setup(a){return(n,r)=>a.status==="up"?(e(),s("span",h," 正常 ")):a.status==="down"?(e(),s("span",p," 离线 ")):a.status==="maintenance"?(e(),s("span",b," 维护 ")):o("",!0)}},f=t("h3",null,"节点状态",-1),g={class:"table table-hover table-bordered table-responsive align-middle mt-3"},v=t("thead",{class:"text-center"},[t("tr",null,[t("th",{scope:"col"},"节点名称"),t("th",{scope:"col"},"节点状态")])],-1),y={class:"text-center"},B={name:"Status",setup(a){const n=l([]);return m.get("servers").then(r=>{n.value=r.data}),(r,k)=>(e(),s("div",null,[f,t("table",g,[v,t("tbody",y,[(e(!0),s(u,null,d(n.value,c=>(e(),s("tr",null,[t("td",null,i(c.name),1),t("td",null,[_(x,{status:c.status},null,8,["status"])])]))),256))])])]))}};export{B as default}; diff --git a/public/build/assets/Ticket-e5fc00f9.js b/public/build/assets/Ticket-72a5f323.js similarity index 95% rename from public/build/assets/Ticket-e5fc00f9.js rename to public/build/assets/Ticket-72a5f323.js index d951fcb..aa54daf 100644 --- a/public/build/assets/Ticket-e5fc00f9.js +++ b/public/build/assets/Ticket-72a5f323.js @@ -1 +1 @@ -import{_ as w,r as u,o as t,c as o,a as e,j as m,v as k,b as r,F as f,e as I,t as b,g as x,l as S,s as B,x as N}from"./app-22d7fab3.js";import{i as y}from"./http-1f667af7.js";const a=_=>(B("data-v-37623621"),_=_(),N(),_),U=a(()=>e("div",null,[e("h3",null,"发工单")],-1)),D=a(()=>e("h5",null,"有遇到什么问题吗?",-1)),F=x(" 您可以选择以下常见问题: "),M=x("   "),j={class:"input-group mb-3"},E={key:0,class:"input-group"},L={key:1},R={key:0},q=a(()=>e("h5",{class:"mt-3"},"选择发工单的平台",-1)),z=a(()=>e("p",null,"如果您在选中的平台没有账号,我们将会帮您自动创建一个。",-1)),A={class:"form-group form-check"},G=["id","value"],H=["for","textContent"],J={key:1},K=a(()=>e("h5",{class:"mt-3"},"暂时没有可用的提供商",-1)),O=[K],P={key:2},Q=["disabled","textContent"],W={key:0},X={key:1,class:"mt-3"},Y=a(()=>e("h5",null,"完成",-1)),Z=a(()=>e("p",null,"如果您浏览器没有打开新的创建,请点击以下链接来打开。",-1)),$=["href"],ee={name:"Ticket",setup(_){const c=u([]),v=u(""),l=u(""),n=u(""),p=u(""),d=u(!1);y.get("providers").then(h=>{c.value=h.data,c.value.length>0&&(v.value=c.value[0])});function g(){d.value=!0,y.post("providers/"+v.value+"/ticket",{title:l.value,content:n.value}).then(h=>{p.value=h.data.redirect_url,setTimeout(()=>{window.open(p.value,"_blank")})}).finally(()=>{d.value=!1})}function C(){l.value="域名 {你的域名} 过白。",n.value="您好,我的域名已备案,请将我的域名 {你的域名} 加入白名单,谢谢。"}function T(){l.value="{节点} 的隧道无法连接。",n.value="您好,这个节点无法连接,请检查。"}return(h,i)=>(t(),o(f,null,[U,e("div",null,[D,e("div",{class:"mb-3"},[F,e("a",{class:"link",onClick:C},"域名白名单"),M,e("a",{class:"link",onClick:T},"映射问题")]),e("div",j,[m(e("input",{"onUpdate:modelValue":i[0]||(i[0]=s=>l.value=s),autofocus:"",class:"form-control",placeholder:"简要概述您遇到的问题",type:"text"},null,512),[[k,l.value]])]),l.value?(t(),o("div",E,[m(e("textarea",{"onUpdate:modelValue":i[1]||(i[1]=s=>n.value=s),class:"form-control",placeholder:"详细说明您遇到的问题..."},null,512),[[k,n.value]])])):r("",!0),l.value?(t(),o("div",L,[c.value?(t(),o("div",R,[q,z,(t(!0),o(f,null,I(c.value,s=>(t(),o("div",A,[m(e("input",{id:"providers_"+s,"onUpdate:modelValue":i[2]||(i[2]=V=>v.value=V),value:s,class:"form-check-input",name:"provider",type:"radio"},null,8,G),[[S,v.value,void 0,{value:!0}]]),e("label",{for:"providers_"+s,class:"form-check-label",textContent:b(s)},null,8,H)]))),256))])):(t(),o("div",J,O)),n.value?(t(),o("div",P,[e("button",{disabled:d.value,class:"btn btn-primary mt-3",onClick:g,textContent:b(d.value?"请稍后":"创建工单")},null,8,Q)])):r("",!0)])):r("",!0)]),d.value?(t(),o("p",W,"正在打开工单...")):r("",!0),p.value?(t(),o("div",X,[Y,Z,e("a",{href:p.value,class:"link",target:"_blank"},"打开工单",8,$)])):r("",!0)],64))}},se=w(ee,[["__scopeId","data-v-37623621"]]);export{se as default}; +import{_ as w,r as u,o as t,c as o,a as e,j as m,v as k,b as r,F as f,e as I,t as b,g as x,l as S,s as B,x as N}from"./app-65af0faa.js";import{i as y}from"./http-74266e01.js";const a=_=>(B("data-v-37623621"),_=_(),N(),_),U=a(()=>e("div",null,[e("h3",null,"发工单")],-1)),D=a(()=>e("h5",null,"有遇到什么问题吗?",-1)),F=x(" 您可以选择以下常见问题: "),M=x("   "),j={class:"input-group mb-3"},E={key:0,class:"input-group"},L={key:1},R={key:0},q=a(()=>e("h5",{class:"mt-3"},"选择发工单的平台",-1)),z=a(()=>e("p",null,"如果您在选中的平台没有账号,我们将会帮您自动创建一个。",-1)),A={class:"form-group form-check"},G=["id","value"],H=["for","textContent"],J={key:1},K=a(()=>e("h5",{class:"mt-3"},"暂时没有可用的提供商",-1)),O=[K],P={key:2},Q=["disabled","textContent"],W={key:0},X={key:1,class:"mt-3"},Y=a(()=>e("h5",null,"完成",-1)),Z=a(()=>e("p",null,"如果您浏览器没有打开新的创建,请点击以下链接来打开。",-1)),$=["href"],ee={name:"Ticket",setup(_){const c=u([]),v=u(""),l=u(""),n=u(""),p=u(""),d=u(!1);y.get("providers").then(h=>{c.value=h.data,c.value.length>0&&(v.value=c.value[0])});function g(){d.value=!0,y.post("providers/"+v.value+"/ticket",{title:l.value,content:n.value}).then(h=>{p.value=h.data.redirect_url,setTimeout(()=>{window.open(p.value,"_blank")})}).finally(()=>{d.value=!1})}function C(){l.value="域名 {你的域名} 过白。",n.value="您好,我的域名已备案,请将我的域名 {你的域名} 加入白名单,谢谢。"}function T(){l.value="{节点} 的隧道无法连接。",n.value="您好,这个节点无法连接,请检查。"}return(h,i)=>(t(),o(f,null,[U,e("div",null,[D,e("div",{class:"mb-3"},[F,e("a",{class:"link",onClick:C},"域名白名单"),M,e("a",{class:"link",onClick:T},"映射问题")]),e("div",j,[m(e("input",{"onUpdate:modelValue":i[0]||(i[0]=s=>l.value=s),autofocus:"",class:"form-control",placeholder:"简要概述您遇到的问题",type:"text"},null,512),[[k,l.value]])]),l.value?(t(),o("div",E,[m(e("textarea",{"onUpdate:modelValue":i[1]||(i[1]=s=>n.value=s),class:"form-control",placeholder:"详细说明您遇到的问题..."},null,512),[[k,n.value]])])):r("",!0),l.value?(t(),o("div",L,[c.value?(t(),o("div",R,[q,z,(t(!0),o(f,null,I(c.value,s=>(t(),o("div",A,[m(e("input",{id:"providers_"+s,"onUpdate:modelValue":i[2]||(i[2]=V=>v.value=V),value:s,class:"form-check-input",name:"provider",type:"radio"},null,8,G),[[S,v.value,void 0,{value:!0}]]),e("label",{for:"providers_"+s,class:"form-check-label",textContent:b(s)},null,8,H)]))),256))])):(t(),o("div",J,O)),n.value?(t(),o("div",P,[e("button",{disabled:d.value,class:"btn btn-primary mt-3",onClick:g,textContent:b(d.value?"请稍后":"创建工单")},null,8,Q)])):r("",!0)])):r("",!0)]),d.value?(t(),o("p",W,"正在打开工单...")):r("",!0),p.value?(t(),o("div",X,[Y,Z,e("a",{href:p.value,class:"link",target:"_blank"},"打开工单",8,$)])):r("",!0)],64))}},se=w(ee,[["__scopeId","data-v-37623621"]]);export{se as default}; diff --git a/public/build/assets/app-22d7fab3.js b/public/build/assets/app-65af0faa.js similarity index 98% rename from public/build/assets/app-22d7fab3.js rename to public/build/assets/app-65af0faa.js index c89bf88..de0cfef 100644 --- a/public/build/assets/app-22d7fab3.js +++ b/public/build/assets/app-65af0faa.js @@ -1,6 +1,6 @@ function gl(e,t){return function(){return e.apply(t,arguments)}}const{toString:El}=Object.prototype,{getPrototypeOf:Fi}=Object,Hi=(e=>t=>{const n=El.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),bt=e=>(e=e.toLowerCase(),t=>Hi(t)===e),fr=e=>t=>typeof t===e,{isArray:$n}=Array,rs=fr("undefined");function rf(e){return e!==null&&!rs(e)&&e.constructor!==null&&!rs(e.constructor)&&It(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const bl=bt("ArrayBuffer");function of(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&bl(e.buffer),t}const af=fr("string"),It=fr("function"),vl=fr("number"),Bi=e=>e!==null&&typeof e=="object",lf=e=>e===!0||e===!1,ks=e=>{if(Hi(e)!=="object")return!1;const t=Fi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cf=bt("Date"),uf=bt("File"),ff=bt("Blob"),df=bt("FileList"),hf=e=>Bi(e)&&It(e.pipe),pf=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||El.call(e)===t||It(e.toString)&&e.toString()===t)},mf=bt("URLSearchParams"),_f=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ms(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),$n(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Al=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),wl=e=>!rs(e)&&e!==Al;function ai(){const{caseless:e}=wl(this)&&this||{},t={},n=(s,r)=>{const i=e&&yl(t,r)||r;ks(t[i])&&ks(s)?t[i]=ai(t[i],s):ks(s)?t[i]=ai({},s):$n(s)?t[i]=s.slice():t[i]=s};for(let s=0,r=arguments.length;s(ms(t,(r,i)=>{n&&It(r)?e[i]=gl(r,n):e[i]=r},{allOwnKeys:s}),e),Ef=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bf=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},vf=(e,t,n,s)=>{let r,i,o;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&Fi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yf=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Af=e=>{if(!e)return null;if($n(e))return e;let t=e.length;if(!vl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},wf=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fi(Uint8Array)),Tf=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},Of=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Cf=bt("HTMLFormElement"),Sf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Io=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Nf=bt("RegExp"),Tl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ms(n,(r,i)=>{t(r,i,e)!==!1&&(s[i]=r)}),Object.defineProperties(e,s)},xf=e=>{Tl(e,(t,n)=>{if(It(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(It(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rf=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return $n(e)?s(e):s(String(e).split(t)),n},Pf=()=>{},Lf=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Mr="abcdefghijklmnopqrstuvwxyz",$o="0123456789",Ol={DIGIT:$o,ALPHA:Mr,ALPHA_DIGIT:Mr+Mr.toUpperCase()+$o},Df=(e=16,t=Ol.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function If(e){return!!(e&&It(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $f=e=>{const t=new Array(10),n=(s,r)=>{if(Bi(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const i=$n(s)?[]:{};return ms(s,(o,a)=>{const l=n(o,r+1);!rs(l)&&(i[a]=l)}),t[r]=void 0,i}}return s};return n(e,0)},b={isArray:$n,isArrayBuffer:bl,isBuffer:rf,isFormData:pf,isArrayBufferView:of,isString:af,isNumber:vl,isBoolean:lf,isObject:Bi,isPlainObject:ks,isUndefined:rs,isDate:cf,isFile:uf,isBlob:ff,isRegExp:Nf,isFunction:It,isStream:hf,isURLSearchParams:mf,isTypedArray:wf,isFileList:df,forEach:ms,merge:ai,extend:gf,trim:_f,stripBOM:Ef,inherits:bf,toFlatObject:vf,kindOf:Hi,kindOfTest:bt,endsWith:yf,toArray:Af,forEachEntry:Tf,matchAll:Of,isHTMLForm:Cf,hasOwnProperty:Io,hasOwnProp:Io,reduceDescriptors:Tl,freezeMethods:xf,toObjectSet:Rf,toCamelCase:Sf,noop:Pf,toFiniteNumber:Lf,findKey:yl,global:Al,isContextDefined:wl,ALPHABET:Ol,generateString:Df,isSpecCompliantForm:If,toJSONObject:$f};function se(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}b.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cl=se.prototype,Sl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Sl[e]={value:e}});Object.defineProperties(se,Sl);Object.defineProperty(Cl,"isAxiosError",{value:!0});se.from=(e,t,n,s,r,i)=>{const o=Object.create(Cl);return b.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),se.call(o,e.message,t,n,s,r),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const Mf=null;function li(e){return b.isPlainObject(e)||b.isArray(e)}function Nl(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function Mo(e,t,n){return e?e.concat(t).map(function(r,i){return r=Nl(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function kf(e){return b.isArray(e)&&!e.some(li)}const Ff=b.toFlatObject(b,{},null,function(t){return/^is[A-Z]/.test(t)});function dr(e,t,n){if(!b.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,A){return!b.isUndefined(A[E])});const s=n.metaTokens,r=n.visitor||u,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(t);if(!b.isFunction(r))throw new TypeError("visitor must be a function");function c(_){if(_===null)return"";if(b.isDate(_))return _.toISOString();if(!l&&b.isBlob(_))throw new se("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(_)||b.isTypedArray(_)?l&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function u(_,E,A){let T=_;if(_&&!A&&typeof _=="object"){if(b.endsWith(E,"{}"))E=s?E:E.slice(0,-2),_=JSON.stringify(_);else if(b.isArray(_)&&kf(_)||(b.isFileList(_)||b.endsWith(E,"[]"))&&(T=b.toArray(_)))return E=Nl(E),T.forEach(function(k,D){!(b.isUndefined(k)||k===null)&&t.append(o===!0?Mo([E],D,i):o===null?E:E+"[]",c(k))}),!1}return li(_)?!0:(t.append(Mo(A,E,i),c(_)),!1)}const d=[],h=Object.assign(Ff,{defaultVisitor:u,convertValue:c,isVisitable:li});function m(_,E){if(!b.isUndefined(_)){if(d.indexOf(_)!==-1)throw Error("Circular reference detected in "+E.join("."));d.push(_),b.forEach(_,function(T,P){(!(b.isUndefined(T)||T===null)&&r.call(t,T,b.isString(P)?P.trim():P,E,h))===!0&&m(T,E?E.concat(P):[P])}),d.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return m(e),t}function ko(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Vi(e,t){this._pairs=[],e&&dr(e,this,t)}const xl=Vi.prototype;xl.append=function(t,n){this._pairs.push([t,n])};xl.toString=function(t){const n=t?function(s){return t.call(this,s,ko)}:ko;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Hf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rl(e,t,n){if(!t)return e;const s=n&&n.encode||Hf,r=n&&n.serialize;let i;if(r?i=r(t,n):i=b.isURLSearchParams(t)?t.toString():new Vi(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Bf{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){b.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Fo=Bf,Pl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vf=typeof URLSearchParams<"u"?URLSearchParams:Vi,jf=typeof FormData<"u"?FormData:null,Uf=typeof Blob<"u"?Blob:null,Wf=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Kf=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),at={isBrowser:!0,classes:{URLSearchParams:Vf,FormData:jf,Blob:Uf},isStandardBrowserEnv:Wf,isStandardBrowserWebWorkerEnv:Kf,protocols:["http","https","file","blob","url","data"]};function qf(e,t){return dr(e,new at.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return at.isNode&&b.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function zf(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Yf(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&b.isArray(r)?r.length:o,l?(b.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!b.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&b.isArray(r[o])&&(r[o]=Yf(r[o])),!a)}if(b.isFormData(e)&&b.isFunction(e.entries)){const n={};return b.forEachEntry(e,(s,r)=>{t(zf(s),r,n,0)}),n}return null}const Gf={"Content-Type":void 0};function Xf(e,t,n){if(b.isString(e))try{return(t||JSON.parse)(e),b.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const hr={transitional:Pl,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=b.isObject(t);if(i&&b.isHTMLForm(t)&&(t=new FormData(t)),b.isFormData(t))return r&&r?JSON.stringify(Ll(t)):t;if(b.isArrayBuffer(t)||b.isBuffer(t)||b.isStream(t)||b.isFile(t)||b.isBlob(t))return t;if(b.isArrayBufferView(t))return t.buffer;if(b.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return qf(t,this.formSerializer).toString();if((a=b.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return dr(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),Xf(t)):t}],transformResponse:[function(t){const n=this.transitional||hr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&b.isString(t)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?se.from(a,se.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:at.classes.FormData,Blob:at.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};b.forEach(["delete","get","head"],function(t){hr.headers[t]={}});b.forEach(["post","put","patch"],function(t){hr.headers[t]=b.merge(Gf)});const ji=hr,Jf=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Qf=e=>{const t={};let n,s,r;return e&&e.split(` `).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&Jf[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Ho=Symbol("internals");function Wn(e){return e&&String(e).trim().toLowerCase()}function Fs(e){return e===!1||e==null?e:b.isArray(e)?e.map(Fs):String(e)}function Zf(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}function ed(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function kr(e,t,n,s,r){if(b.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!b.isString(t)){if(b.isString(s))return t.indexOf(s)!==-1;if(b.isRegExp(s))return s.test(t)}}function td(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function nd(e,t){const n=b.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class pr{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,l,c){const u=Wn(l);if(!u)throw new Error("header name must be a non-empty string");const d=b.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=Fs(a))}const o=(a,l)=>b.forEach(a,(c,u)=>i(c,u,l));return b.isPlainObject(t)||t instanceof this.constructor?o(t,n):b.isString(t)&&(t=t.trim())&&!ed(t)?o(Qf(t),n):t!=null&&i(n,t,s),this}get(t,n){if(t=Wn(t),t){const s=b.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Zf(r);if(b.isFunction(n))return n.call(this,r,s);if(b.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Wn(t),t){const s=b.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||kr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Wn(o),o){const a=b.findKey(s,o);a&&(!n||kr(s,s[a],a,n))&&(delete s[a],r=!0)}}return b.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||kr(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return b.forEach(this,(r,i)=>{const o=b.findKey(s,i);if(o){n[o]=Fs(r),delete n[i];return}const a=t?td(i):String(i).trim();a!==i&&delete n[i],n[a]=Fs(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return b.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&b.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Ho]=this[Ho]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Wn(o);s[a]||(nd(r,o),s[a]=!0)}return b.isArray(t)?t.forEach(i):i(t),this}}pr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);b.freezeMethods(pr.prototype);b.freezeMethods(pr);const pt=pr;function Fr(e,t){const n=this||ji,s=t||n,r=pt.from(s.headers);let i=s.data;return b.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Dl(e){return!!(e&&e.__CANCEL__)}function _s(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}b.inherits(_s,se,{__CANCEL__:!0});function sd(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const rd=at.isStandardBrowserEnv?function(){return{write:function(n,s,r,i,o,a){const l=[];l.push(n+"="+encodeURIComponent(s)),b.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),b.isString(i)&&l.push("path="+i),b.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function id(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function od(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Il(e,t){return e&&!id(t)?od(e,t):t}const ad=at.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=b.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function ld(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cd(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=s[i];o||(o=c),n[r]=l,s[r]=c;let d=i,h=0;for(;d!==r;)h+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-o{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,l=s(a),c=i<=o;n=i;const u={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const ud=typeof XMLHttpRequest<"u",fd=ud&&function(e){return new Promise(function(n,s){let r=e.data;const i=pt.from(e.headers).normalize(),o=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}b.isFormData(r)&&(at.isStandardBrowserEnv||at.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+_))}const u=Il(e.baseURL,e.url);c.open(e.method.toUpperCase(),Rl(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const m=pt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),E={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:m,config:e,request:c};sd(function(T){n(T),l()},function(T){s(T),l()},E),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(s(new se("Request aborted",se.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new se("Network Error",se.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let _=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Pl;e.timeoutErrorMessage&&(_=e.timeoutErrorMessage),s(new se(_,E.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,c)),c=null},at.isStandardBrowserEnv){const m=(e.withCredentials||ad(u))&&e.xsrfCookieName&&rd.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in c&&b.forEach(i.toJSON(),function(_,E){c.setRequestHeader(E,_)}),b.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&o!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Bo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Bo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=m=>{c&&(s(!m||m.type?new _s(null,e,c):m),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const h=ld(u);if(h&&at.protocols.indexOf(h)===-1){s(new se("Unsupported protocol "+h+":",se.ERR_BAD_REQUEST,e));return}c.send(r||null)})},Hs={http:Mf,xhr:fd};b.forEach(Hs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const dd={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:t}=e;let n,s;for(let r=0;re instanceof pt?e.toJSON():e;function An(e,t){t=t||{};const n={};function s(c,u,d){return b.isPlainObject(c)&&b.isPlainObject(u)?b.merge.call({caseless:d},c,u):b.isPlainObject(u)?b.merge({},u):b.isArray(u)?u.slice():u}function r(c,u,d){if(b.isUndefined(u)){if(!b.isUndefined(c))return s(void 0,c,d)}else return s(c,u,d)}function i(c,u){if(!b.isUndefined(u))return s(void 0,u)}function o(c,u){if(b.isUndefined(u)){if(!b.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,d){if(d in t)return s(c,u);if(d in e)return s(void 0,c)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u)=>r(jo(c),jo(u),!0)};return b.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const d=l[u]||r,h=d(e[u],t[u],u);b.isUndefined(h)&&d!==a||(n[u]=h)}),n}const $l="1.3.4",Ui={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ui[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Uo={};Ui.transitional=function(t,n,s){function r(i,o){return"[Axios v"+$l+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new se(r(o," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Uo[o]&&(Uo[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function hd(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new se("option "+i+" must be "+l,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+i,se.ERR_BAD_OPTION)}}const ci={assertOptions:hd,validators:Ui},At=ci.validators;class Qs{constructor(t){this.defaults=t,this.interceptors={request:new Fo,response:new Fo}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=An(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&ci.assertOptions(s,{silentJSONParsing:At.transitional(At.boolean),forcedJSONParsing:At.transitional(At.boolean),clarifyTimeoutError:At.transitional(At.boolean)},!1),r!==void 0&&ci.assertOptions(r,{encode:At.function,serialize:At.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=i&&b.merge(i.common,i[n.method]),o&&b.forEach(["delete","get","head","post","put","patch","common"],_=>{delete i[_]}),n.headers=pt.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(l=l&&E.synchronous,a.unshift(E.fulfilled,E.rejected))});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let u,d=0,h;if(!l){const _=[Vo.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,c),h=_.length,u=Promise.resolve(n);d{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new _s(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wi(function(r){t=r}),cancel:t}}}const pd=Wi;function md(e){return function(n){return e.apply(null,n)}}function _d(e){return b.isObject(e)&&e.isAxiosError===!0}const ui={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ui).forEach(([e,t])=>{ui[t]=e});const gd=ui;function Ml(e){const t=new Bs(e),n=gl(Bs.prototype.request,t);return b.extend(n,Bs.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ml(An(e,r))},n}const Ee=Ml(ji);Ee.Axios=Bs;Ee.CanceledError=_s;Ee.CancelToken=pd;Ee.isCancel=Dl;Ee.VERSION=$l;Ee.toFormData=dr;Ee.AxiosError=se;Ee.Cancel=Ee.CanceledError;Ee.all=function(t){return Promise.all(t)};Ee.spread=md;Ee.isAxiosError=_d;Ee.mergeConfig=An;Ee.AxiosHeaders=pt;Ee.formToJSON=e=>Ll(b.isHTMLForm(e)?new FormData(e):e);Ee.HttpStatusCode=gd;Ee.default=Ee;const kl=Ee;window.axios=kl;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";function Ki(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Ed="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bd=Ki(Ed);function Fl(e){return!!e||e===""}function qi(e){if(U(e)){const t={};for(let n=0;n{if(n){const s=n.split(yd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function zi(e){let t="";if(ve(e))t=e;else if(U(e))for(let n=0;nwn(n,t))}const Hl=e=>ve(e)?e:e==null?"":U(e)||_e(e)&&(e.toString===jl||!X(e.toString))?JSON.stringify(e,Bl,2):String(e),Bl=(e,t)=>t&&t.__v_isRef?Bl(e,t.value):bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:_r(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!U(t)&&!Ul(t)?String(t):t,he={},En=[],Je=()=>{},Od=()=>!1,Cd=/^on[^a-z]/,mr=e=>Cd.test(e),Yi=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Gi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sd=Object.prototype.hasOwnProperty,te=(e,t)=>Sd.call(e,t),U=Array.isArray,bn=e=>gs(e)==="[object Map]",_r=e=>gs(e)==="[object Set]",Wo=e=>gs(e)==="[object Date]",X=e=>typeof e=="function",ve=e=>typeof e=="string",is=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Vl=e=>_e(e)&&X(e.then)&&X(e.catch),jl=Object.prototype.toString,gs=e=>jl.call(e),Nd=e=>gs(e).slice(8,-1),Ul=e=>gs(e)==="[object Object]",Xi=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vs=Ki(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xd=/-(\w)/g,ut=gr(e=>e.replace(xd,(t,n)=>n?n.toUpperCase():"")),Rd=/\B([A-Z])/g,Mn=gr(e=>e.replace(Rd,"-$1").toLowerCase()),Er=gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Br=gr(e=>e?`on${Er(e)}`:""),os=(e,t)=>!Object.is(e,t),js=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},er=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ko;const Pd=()=>Ko||(Ko=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let rt;class Ld{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&rt&&(this.parent=rt,this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=rt;try{return rt=this,t()}finally{rt=n}}}on(){rt=this}off(){rt=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Wl=e=>(e.w&$t)>0,Kl=e=>(e.n&$t)>0,Id=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||c>=s)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),t){case"add":U(e)?Xi(n)&&a.push(o.get("length")):(a.push(o.get(Jt)),bn(e)&&a.push(o.get(hi)));break;case"delete":U(e)||(a.push(o.get(Jt)),bn(e)&&a.push(o.get(hi)));break;case"set":bn(e)&&a.push(o.get(Jt));break}if(a.length===1)a[0]&&pi(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);pi(Ji(l))}}function pi(e,t){const n=U(e)?e:[...e];for(const s of n)s.computed&&zo(s);for(const s of n)s.computed||zo(s)}function zo(e,t){(e!==Ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Md=Ki("__proto__,__v_isRef,__isVue"),Yl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(is)),kd=Zi(),Fd=Zi(!1,!0),Hd=Zi(!0),Yo=Bd();function Bd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=oe(this);for(let i=0,o=this.length;i{e[t]=function(...n){kn();const s=oe(this)[t].apply(this,n);return Fn(),s}}),e}function Zi(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?nh:Zl:t?Ql:Jl).get(s))return s;const o=U(s);if(!e&&o&&te(Yo,r))return Reflect.get(Yo,r,i);const a=Reflect.get(s,r,i);return(is(r)?Yl.has(r):Md(r))||(e||Me(s,"get",r),t)?a:Ae(a)?o&&Xi(r)?a:a.value:_e(a)?e?ec(a):Es(a):a}}const Vd=Gl(),jd=Gl(!0);function Gl(e=!1){return function(n,s,r,i){let o=n[s];if(as(o)&&Ae(o)&&!Ae(r))return!1;if(!e&&!as(r)&&(mi(r)||(r=oe(r),o=oe(o)),!U(n)&&Ae(o)&&!Ae(r)))return o.value=r,!0;const a=U(n)&&Xi(s)?Number(s)e,br=e=>Reflect.getPrototypeOf(e);function Os(e,t,n=!1,s=!1){e=e.__v_raw;const r=oe(e),i=oe(t);n||(t!==i&&Me(r,"get",t),Me(r,"get",i));const{has:o}=br(r),a=s?eo:n?so:ls;if(o.call(r,t))return a(e.get(t));if(o.call(r,i))return a(e.get(i));e!==r&&e.get(t)}function Cs(e,t=!1){const n=this.__v_raw,s=oe(n),r=oe(e);return t||(e!==r&&Me(s,"has",e),Me(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ss(e,t=!1){return e=e.__v_raw,!t&&Me(oe(e),"iterate",Jt),Reflect.get(e,"size",e)}function Go(e){e=oe(e);const t=oe(this);return br(t).has.call(t,e)||(t.add(e),gt(t,"add",e,e)),this}function Xo(e,t){t=oe(t);const n=oe(this),{has:s,get:r}=br(n);let i=s.call(n,e);i||(e=oe(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?os(t,o)&>(n,"set",e,t):gt(n,"add",e,t),this}function Jo(e){const t=oe(this),{has:n,get:s}=br(t);let r=n.call(t,e);r||(e=oe(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&>(t,"delete",e,void 0),i}function Qo(){const e=oe(this),t=e.size!==0,n=e.clear();return t&>(e,"clear",void 0,void 0),n}function Ns(e,t){return function(s,r){const i=this,o=i.__v_raw,a=oe(o),l=t?eo:e?so:ls;return!e&&Me(a,"iterate",Jt),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function xs(e,t,n){return function(...s){const r=this.__v_raw,i=oe(r),o=bn(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=r[e](...s),u=n?eo:t?so:ls;return!t&&Me(i,"iterate",l?hi:Jt),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function Yd(){const e={get(i){return Os(this,i)},get size(){return Ss(this)},has:Cs,add:Go,set:Xo,delete:Jo,clear:Qo,forEach:Ns(!1,!1)},t={get(i){return Os(this,i,!1,!0)},get size(){return Ss(this)},has:Cs,add:Go,set:Xo,delete:Jo,clear:Qo,forEach:Ns(!1,!0)},n={get(i){return Os(this,i,!0)},get size(){return Ss(this,!0)},has(i){return Cs.call(this,i,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ns(!0,!1)},s={get(i){return Os(this,i,!0,!0)},get size(){return Ss(this,!0)},has(i){return Cs.call(this,i,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ns(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=xs(i,!1,!1),n[i]=xs(i,!0,!1),t[i]=xs(i,!1,!0),s[i]=xs(i,!0,!0)}),[e,n,t,s]}const[Gd,Xd,Jd,Qd]=Yd();function to(e,t){const n=t?e?Qd:Jd:e?Xd:Gd;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,i)}const Zd={get:to(!1,!1)},eh={get:to(!1,!0)},th={get:to(!0,!1)},Jl=new WeakMap,Ql=new WeakMap,Zl=new WeakMap,nh=new WeakMap;function sh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rh(e){return e.__v_skip||!Object.isExtensible(e)?0:sh(Nd(e))}function Es(e){return as(e)?e:no(e,!1,Xl,Zd,Jl)}function ih(e){return no(e,!1,zd,eh,Ql)}function ec(e){return no(e,!0,qd,th,Zl)}function no(e,t,n,s,r){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=rh(e);if(o===0)return e;const a=new Proxy(e,o===2?s:n);return r.set(e,a),a}function vn(e){return as(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function as(e){return!!(e&&e.__v_isReadonly)}function mi(e){return!!(e&&e.__v_isShallow)}function tc(e){return vn(e)||as(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function nc(e){return Zs(e,"__v_skip",!0),e}const ls=e=>_e(e)?Es(e):e,so=e=>_e(e)?ec(e):e;function sc(e){Pt&&Ge&&(e=oe(e),zl(e.dep||(e.dep=Ji())))}function rc(e,t){e=oe(e),e.dep&&pi(e.dep)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function ro(e){return ic(e,!1)}function oh(e){return ic(e,!0)}function ic(e,t){return Ae(e)?e:new ah(e,t)}class ah{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:ls(t)}get value(){return sc(this),this._value}set value(t){t=this.__v_isShallow?t:oe(t),os(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:ls(t),rc(this))}}function Xn(e){return Ae(e)?e.value:e}const lh={get:(e,t,n)=>Xn(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ae(r)&&!Ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function oc(e){return vn(e)?e:new Proxy(e,lh)}class ch{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Qi(t,()=>{this._dirty||(this._dirty=!0,rc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=oe(this);return sc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function uh(e,t,n=!1){let s,r;const i=X(e);return i?(s=e,r=Je):(s=e.get,r=e.set),new ch(s,r,i||!r,n)}function Lt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){vr(i,t,n)}return r}function je(e,t,n,s){if(X(e)){const i=Lt(e,t,n,s);return i&&Vl(i)&&i.catch(o=>{vr(o,t,n)}),i}const r=[];for(let i=0;i>>1;cs($e[s])ht&&$e.splice(t,1)}function fc(e,t,n,s){U(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),uc()}function ph(e){fc(e,Gn,Jn,fn)}function mh(e){fc(e,St,Qn,dn)}function yr(e,t=null){if(Jn.length){for(gi=t,Gn=[...new Set(Jn)],Jn.length=0,fn=0;fncs(n)-cs(s)),dn=0;dne.id==null?1/0:e.id;function hc(e){_i=!1,tr=!0,yr(e),$e.sort((n,s)=>cs(n)-cs(s));const t=Je;try{for(ht=0;ht<$e.length;ht++){const n=$e[ht];n&&n.active!==!1&&Lt(n,null,14)}}finally{ht=0,$e.length=0,dc(),tr=!1,io=null,($e.length||Jn.length||Qn.length)&&hc(e)}}function _h(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||he;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:h}=s[u]||he;h&&(r=n.map(m=>m.trim())),d&&(r=n.map(er))}let a,l=s[a=Br(t)]||s[a=Br(ut(t))];!l&&i&&(l=s[a=Br(Mn(t))]),l&&je(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,je(c,e,6,r)}}function pc(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},a=!1;if(!X(e)){const l=c=>{const u=pc(c,t,!0);u&&(a=!0,Oe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(s.set(e,null),null):(U(i)?i.forEach(l=>o[l]=null):Oe(o,i),s.set(e,o),o)}function Ar(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Mn(t))||te(e,t))}let Be=null,wr=null;function nr(e){const t=Be;return Be=e,wr=e&&e.type.__scopeId||null,t}function vy(e){wr=e}function yy(){wr=null}function mc(e,t=Be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ca(-1);const i=nr(t),o=e(...r);return nr(i),s._d&&ca(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function Vr(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:m,ctx:_,inheritAttrs:E}=e;let A,T;const P=nr(e);try{if(n.shapeFlag&4){const D=r||s;A=it(u.call(D,D,d,i,m,h,_)),T=l}else{const D=t;A=it(D.length>1?D(i,{attrs:l,slots:a,emit:c}):D(i,null)),T=t.props?l:gh(l)}}catch(D){Zn.length=0,vr(D,e,1),A=ge(Qe)}let k=A;if(T&&E!==!1){const D=Object.keys(T),{shapeFlag:j}=k;D.length&&j&7&&(o&&D.some(Yi)&&(T=Eh(T,o)),k=Mt(k,T))}return n.dirs&&(k=Mt(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),A=k,nr(P),A}const gh=e=>{let t;for(const n in e)(n==="class"||n==="style"||mr(n))&&((t||(t={}))[n]=e[n]);return t},Eh=(e,t)=>{const n={};for(const s in e)(!Yi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bh(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Zo(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Ah(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):mh(e)}function Us(e,t){if(be){let n=be.provides;const s=be.parent&&be.parent.provides;s===n&&(n=be.provides=Object.create(s)),n[e]=t}}function Dt(e,t,n=!1){const s=be||Be;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&X(t)?t.call(s.proxy):t}}const ea={};function Ws(e,t,n){return _c(e,t,n)}function _c(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=he){const a=be;let l,c=!1,u=!1;if(Ae(e)?(l=()=>e.value,c=mi(e)):vn(e)?(l=()=>e,s=!0):U(e)?(u=!0,c=e.some(T=>vn(T)||mi(T)),l=()=>e.map(T=>{if(Ae(T))return T.value;if(vn(T))return Yt(T);if(X(T))return Lt(T,a,2)})):X(e)?t?l=()=>Lt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),je(e,a,3,[h])}:l=Je,t&&s){const T=l;l=()=>Yt(T())}let d,h=T=>{d=A.onStop=()=>{Lt(T,a,4)}};if(fs)return h=Je,t?n&&je(t,a,3,[l(),u?[]:void 0,h]):l(),Je;let m=u?[]:ea;const _=()=>{if(A.active)if(t){const T=A.run();(s||c||(u?T.some((P,k)=>os(P,m[k])):os(T,m)))&&(d&&d(),je(t,a,3,[T,m===ea?void 0:m,h]),m=T)}else A.run()};_.allowRecurse=!!t;let E;r==="sync"?E=_:r==="post"?E=()=>Re(_,a&&a.suspense):E=()=>ph(_);const A=new Qi(l,E);return t?n?_():m=A.run():r==="post"?Re(A.run.bind(A),a&&a.suspense):A.run(),()=>{A.stop(),a&&a.scope&&Gi(a.scope.effects,A)}}function wh(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?gc(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const o=be;Tn(this);const a=_c(r,i.bind(s),n);return o?Tn(o):Zt(),a}function gc(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Yt(n,t)});else if(Ul(e))for(const n in e)Yt(e[n],t);return e}function Th(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ac(()=>{e.isMounted=!0}),wc(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],Oh={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},setup(e,{slots:t}){const n=fp(),s=Th();let r;return()=>{const i=t.default&&bc(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const E of i)if(E.type!==Qe){o=E;break}}const a=oe(e),{mode:l}=a;if(s.isLeaving)return jr(o);const c=ta(o);if(!c)return jr(o);const u=Ei(c,a,s,n);bi(c,u);const d=n.subTree,h=d&&ta(d);let m=!1;const{getTransitionKey:_}=c.type;if(_){const E=_();r===void 0?r=E:E!==r&&(r=E,m=!0)}if(h&&h.type!==Qe&&(!qt(c,h)||m)){const E=Ei(h,a,s,n);if(bi(h,E),l==="out-in")return s.isLeaving=!0,E.afterLeave=()=>{s.isLeaving=!1,n.update()},jr(o);l==="in-out"&&c.type!==Qe&&(E.delayLeave=(A,T,P)=>{const k=Ec(s,h);k[String(h.key)]=h,A._leaveCb=()=>{T(),A._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=P})}return o}}},Ch=Oh;function Ec(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ei(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:E,onAppear:A,onAfterAppear:T,onAppearCancelled:P}=t,k=String(e.key),D=Ec(n,e),j=(B,q)=>{B&&je(B,s,9,q)},K=(B,q)=>{const z=q[1];j(B,q),U(B)?B.every(ee=>ee.length<=1)&&z():B.length<=1&&z()},Q={mode:i,persisted:o,beforeEnter(B){let q=a;if(!n.isMounted)if(r)q=E||a;else return;B._leaveCb&&B._leaveCb(!0);const z=D[k];z&&qt(e,z)&&z.el._leaveCb&&z.el._leaveCb(),j(q,[B])},enter(B){let q=l,z=c,ee=u;if(!n.isMounted)if(r)q=A||l,z=T||c,ee=P||u;else return;let ce=!1;const ue=B._enterCb=we=>{ce||(ce=!0,we?j(ee,[B]):j(z,[B]),Q.delayedLeave&&Q.delayedLeave(),B._enterCb=void 0)};q?K(q,[B,ue]):ue()},leave(B,q){const z=String(e.key);if(B._enterCb&&B._enterCb(!0),n.isUnmounting)return q();j(d,[B]);let ee=!1;const ce=B._leaveCb=ue=>{ee||(ee=!0,q(),ue?j(_,[B]):j(m,[B]),B._leaveCb=void 0,D[z]===e&&delete D[z])};D[z]=e,h?K(h,[B,ce]):ce()},clone(B){return Ei(B,t,n,s)}};return Q}function jr(e){if(Tr(e))return e=Mt(e),e.children=null,e}function ta(e){return Tr(e)?e.children?e.children[0]:void 0:e}function bi(e,t){e.shapeFlag&6&&e.component?bi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bc(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Tr=e=>e.type.__isKeepAlive;function Sh(e,t){yc(e,"a",t)}function Nh(e,t){yc(e,"da",t)}function yc(e,t,n=be){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Or(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Tr(r.parent.vnode)&&xh(s,t,n,r),r=r.parent}}function xh(e,t,n,s){const r=Or(t,e,s,!0);Tc(()=>{Gi(s[t],r)},n)}function Or(e,t,n=be,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;kn(),Tn(n);const a=je(t,n,e,o);return Zt(),Fn(),a});return s?r.unshift(i):r.push(i),i}}const vt=e=>(t,n=be)=>(!fs||e==="sp")&&Or(e,t,n),Rh=vt("bm"),Ac=vt("m"),Ph=vt("bu"),Lh=vt("u"),wc=vt("bum"),Tc=vt("um"),Dh=vt("sp"),Ih=vt("rtg"),$h=vt("rtc");function Mh(e,t=be){Or("ec",e,t)}function Ay(e,t){const n=Be;if(n===null)return e;const s=Sr(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);r=new Array(o.length);for(let a=0,l=o.length;ae?Hc(e)?Sr(e)||e.proxy:vi(e.parent):null,sr=Oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vi(e.parent),$root:e=>vi(e.root),$emit:e=>e.emit,$options:e=>Sc(e),$forceUpdate:e=>e.f||(e.f=()=>cc(e.update)),$nextTick:e=>e.n||(e.n=lc.bind(e.proxy)),$watch:e=>wh.bind(e)}),Bh={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==he&&te(s,t))return o[t]=1,s[t];if(r!==he&&te(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&te(c,t))return o[t]=3,i[t];if(n!==he&&te(n,t))return o[t]=4,n[t];yi&&(o[t]=0)}}const u=sr[t];let d,h;if(u)return t==="$attrs"&&Me(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==he&&te(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,te(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==he&&te(r,t)?(r[t]=n,!0):s!==he&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!n[o]||e!==he&&te(e,o)||t!==he&&te(t,o)||(a=i[0])&&te(a,o)||te(s,o)||te(sr,o)||te(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let yi=!0;function Vh(e){const t=Sc(e),n=e.proxy,s=e.ctx;yi=!1,t.beforeCreate&&sa(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:m,updated:_,activated:E,deactivated:A,beforeDestroy:T,beforeUnmount:P,destroyed:k,unmounted:D,render:j,renderTracked:K,renderTriggered:Q,errorCaptured:B,serverPrefetch:q,expose:z,inheritAttrs:ee,components:ce,directives:ue,filters:we}=t;if(c&&jh(c,s,null,e.appContext.config.unwrapInjectedRef),o)for(const J in o){const re=o[J];X(re)&&(s[J]=re.bind(n))}if(r){const J=r.call(n,n);_e(J)&&(e.data=Es(J))}if(yi=!0,i)for(const J in i){const re=i[J],me=X(re)?re.bind(n,n):X(re.get)?re.get.bind(n,n):Je,ze=!X(re)&&X(re.set)?re.set.bind(n):Je,De=ot({get:me,set:ze});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>De.value,set:Te=>De.value=Te})}if(a)for(const J in a)Cc(a[J],s,n,J);if(l){const J=X(l)?l.call(n):l;Reflect.ownKeys(J).forEach(re=>{Us(re,J[re])})}u&&sa(u,e,"c");function ne(J,re){U(re)?re.forEach(me=>J(me.bind(n))):re&&J(re.bind(n))}if(ne(Rh,d),ne(Ac,h),ne(Ph,m),ne(Lh,_),ne(Sh,E),ne(Nh,A),ne(Mh,B),ne($h,K),ne(Ih,Q),ne(wc,P),ne(Tc,D),ne(Dh,q),U(z))if(z.length){const J=e.exposed||(e.exposed={});z.forEach(re=>{Object.defineProperty(J,re,{get:()=>n[re],set:me=>n[re]=me})})}else e.exposed||(e.exposed={});j&&e.render===Je&&(e.render=j),ee!=null&&(e.inheritAttrs=ee),ce&&(e.components=ce),ue&&(e.directives=ue)}function jh(e,t,n=Je,s=!1){U(e)&&(e=Ai(e));for(const r in e){const i=e[r];let o;_e(i)?"default"in i?o=Dt(i.from||r,i.default,!0):o=Dt(i.from||r):o=Dt(i),Ae(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function sa(e,t,n){je(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Cc(e,t,n,s){const r=s.includes(".")?gc(n,s):()=>n[s];if(ve(e)){const i=t[e];X(i)&&Ws(r,i)}else if(X(e))Ws(r,e.bind(n));else if(_e(e))if(U(e))e.forEach(i=>Cc(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Ws(r,i,e)}}function Sc(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>rr(l,c,o,!0)),rr(l,t,o)),i.set(t,l),l}function rr(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&rr(e,i,n,!0),r&&r.forEach(o=>rr(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=Uh[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Uh={data:ra,props:Kt,emits:Kt,methods:Kt,computed:Kt,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:Kt,directives:Kt,watch:Kh,provide:ra,inject:Wh};function ra(e,t){return t?e?function(){return Oe(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Wh(e,t){return Kt(Ai(e),Ai(t))}function Ai(e){if(U(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,m]=xc(d,t,!0);Oe(o,h),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return s.set(e,En),En;if(U(i))for(let u=0;u-1,m[1]=E<0||_-1||te(m,"default"))&&a.push(d)}}}const c=[o,a];return s.set(e,c),c}function ia(e){return e[0]!=="$"}function oa(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function aa(e,t){return oa(e)===oa(t)}function la(e,t){return U(t)?t.findIndex(n=>aa(n,e)):X(t)&&aa(t,e)?0:-1}const Rc=e=>e[0]==="_"||e==="$stable",ao=e=>U(e)?e.map(it):[it(e)],Yh=(e,t,n)=>{if(t._n)return t;const s=mc((...r)=>ao(t(...r)),n);return s._c=!1,s},Pc=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Rc(r))continue;const i=e[r];if(X(i))t[r]=Yh(r,i,s);else if(i!=null){const o=ao(i);t[r]=()=>o}}},Lc=(e,t)=>{const n=ao(t);e.slots.default=()=>n},Gh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),Zs(t,"_",n)):Pc(t,e.slots={})}else e.slots={},t&&Lc(e,t);Zs(e.slots,Cr,1)},Xh=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=he;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Oe(r,t),!n&&a===1&&delete r._):(i=!t.$stable,Pc(t,r)),o=t}else t&&(Lc(e,t),o={default:1});if(i)for(const a in r)!Rc(a)&&!(a in o)&&delete r[a]};function Dc(){return{app:null,config:{isNativeTag:Od,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jh=0;function Qh(e,t){return function(s,r=null){X(s)||(s=Object.assign({},s)),r!=null&&!_e(r)&&(r=null);const i=Dc(),o=new Set;let a=!1;const l=i.app={_uid:Jh++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ep,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&X(c.install)?(o.add(c),c.install(l,...u)):X(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,d){if(!a){const h=ge(s,r);return h.appContext=i,u&&t?t(h,c):e(h,c,d),a=!0,l._container=c,c.__vue_app__=l,Sr(h.component)||h.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return l}}function Ti(e,t,n,s,r=!1){if(U(e)){e.forEach((h,m)=>Ti(h,t&&(U(t)?t[m]:t),n,s,r));return}if(Ks(s)&&!r)return;const i=s.shapeFlag&4?Sr(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===he?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(ve(c)?(u[c]=null,te(d,c)&&(d[c]=null)):Ae(c)&&(c.value=null)),X(l))Lt(l,a,12,[o,u]);else{const h=ve(l),m=Ae(l);if(h||m){const _=()=>{if(e.f){const E=h?u[l]:l.value;r?U(E)&&Gi(E,i):U(E)?E.includes(i)||E.push(i):h?(u[l]=[i],te(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else h?(u[l]=o,te(d,l)&&(d[l]=o)):Ae(l)&&(l.value=o,e.k&&(u[e.k]=o))};o?(_.id=-1,Re(_,n)):_()}}}const Re=Ah;function Zh(e){return ep(e)}function ep(e,t){const n=Pd();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:m=Je,cloneNode:_,insertStaticContent:E}=e,A=(f,p,g,w=null,y=null,N=null,L=!1,S=null,x=!!p.dynamicChildren)=>{if(f===p)return;f&&!qt(f,p)&&(w=M(f),ye(f,y,N,!0),f=null),p.patchFlag===-2&&(x=!1,p.dynamicChildren=null);const{type:C,ref:F,shapeFlag:$}=p;switch(C){case lo:T(f,p,g,w);break;case Qe:P(f,p,g,w);break;case qs:f==null&&k(p,g,w,L);break;case Pe:ue(f,p,g,w,y,N,L,S,x);break;default:$&1?K(f,p,g,w,y,N,L,S,x):$&6?we(f,p,g,w,y,N,L,S,x):($&64||$&128)&&C.process(f,p,g,w,y,N,L,S,x,le)}F!=null&&y&&Ti(F,f&&f.ref,N,p||f,!p)},T=(f,p,g,w)=>{if(f==null)s(p.el=a(p.children),g,w);else{const y=p.el=f.el;p.children!==f.children&&c(y,p.children)}},P=(f,p,g,w)=>{f==null?s(p.el=l(p.children||""),g,w):p.el=f.el},k=(f,p,g,w)=>{[f.el,f.anchor]=E(f.children,p,g,w,f.el,f.anchor)},D=({el:f,anchor:p},g,w)=>{let y;for(;f&&f!==p;)y=h(f),s(f,g,w),f=y;s(p,g,w)},j=({el:f,anchor:p})=>{let g;for(;f&&f!==p;)g=h(f),r(f),f=g;r(p)},K=(f,p,g,w,y,N,L,S,x)=>{L=L||p.type==="svg",f==null?Q(p,g,w,y,N,L,S,x):z(f,p,y,N,L,S,x)},Q=(f,p,g,w,y,N,L,S)=>{let x,C;const{type:F,props:$,shapeFlag:H,transition:W,patchFlag:Z,dirs:ae}=f;if(f.el&&_!==void 0&&Z===-1)x=f.el=_(f.el);else{if(x=f.el=o(f.type,N,$&&$.is,$),H&8?u(x,f.children):H&16&&q(f.children,x,null,w,y,N&&F!=="foreignObject",L,S),ae&&Ut(f,null,w,"created"),$){for(const pe in $)pe!=="value"&&!Vs(pe)&&i(x,pe,null,$[pe],N,f.children,w,y,R);"value"in $&&i(x,"value",null,$.value),(C=$.onVnodeBeforeMount)&&st(C,w,f)}B(x,f,f.scopeId,L,w)}ae&&Ut(f,null,w,"beforeMount");const fe=(!y||y&&!y.pendingBranch)&&W&&!W.persisted;fe&&W.beforeEnter(x),s(x,p,g),((C=$&&$.onVnodeMounted)||fe||ae)&&Re(()=>{C&&st(C,w,f),fe&&W.enter(x),ae&&Ut(f,null,w,"mounted")},y)},B=(f,p,g,w,y)=>{if(g&&m(f,g),w)for(let N=0;N{for(let C=x;C{const S=p.el=f.el;let{patchFlag:x,dynamicChildren:C,dirs:F}=p;x|=f.patchFlag&16;const $=f.props||he,H=p.props||he;let W;g&&Wt(g,!1),(W=H.onVnodeBeforeUpdate)&&st(W,g,p,f),F&&Ut(p,f,g,"beforeUpdate"),g&&Wt(g,!0);const Z=y&&p.type!=="foreignObject";if(C?ee(f.dynamicChildren,C,S,g,w,Z,N):L||me(f,p,S,null,g,w,Z,N,!1),x>0){if(x&16)ce(S,p,$,H,g,w,y);else if(x&2&&$.class!==H.class&&i(S,"class",null,H.class,y),x&4&&i(S,"style",$.style,H.style,y),x&8){const ae=p.dynamicProps;for(let fe=0;fe{W&&st(W,g,p,f),F&&Ut(p,f,g,"updated")},w)},ee=(f,p,g,w,y,N,L)=>{for(let S=0;S{if(g!==w){for(const S in w){if(Vs(S))continue;const x=w[S],C=g[S];x!==C&&S!=="value"&&i(f,S,C,x,L,p.children,y,N,R)}if(g!==he)for(const S in g)!Vs(S)&&!(S in w)&&i(f,S,g[S],null,L,p.children,y,N,R);"value"in w&&i(f,"value",g.value,w.value)}},ue=(f,p,g,w,y,N,L,S,x)=>{const C=p.el=f?f.el:a(""),F=p.anchor=f?f.anchor:a("");let{patchFlag:$,dynamicChildren:H,slotScopeIds:W}=p;W&&(S=S?S.concat(W):W),f==null?(s(C,g,w),s(F,g,w),q(p.children,g,F,y,N,L,S,x)):$>0&&$&64&&H&&f.dynamicChildren?(ee(f.dynamicChildren,H,g,y,N,L,S),(p.key!=null||y&&p===y.subTree)&&Ic(f,p,!0)):me(f,p,g,F,y,N,L,S,x)},we=(f,p,g,w,y,N,L,S,x)=>{p.slotScopeIds=S,f==null?p.shapeFlag&512?y.ctx.activate(p,g,w,L,x):xe(p,g,w,y,N,L,x):ne(f,p,x)},xe=(f,p,g,w,y,N,L)=>{const S=f.component=up(f,w,y);if(Tr(f)&&(S.ctx.renderer=le),dp(S),S.asyncDep){if(y&&y.registerDep(S,J),!f.el){const x=S.subTree=ge(Qe);P(null,x,p,g)}return}J(S,f,p,g,y,N,L)},ne=(f,p,g)=>{const w=p.component=f.component;if(bh(f,p,g))if(w.asyncDep&&!w.asyncResolved){re(w,p,g);return}else w.next=p,hh(w.update),w.update();else p.el=f.el,w.vnode=p},J=(f,p,g,w,y,N,L)=>{const S=()=>{if(f.isMounted){let{next:F,bu:$,u:H,parent:W,vnode:Z}=f,ae=F,fe;Wt(f,!1),F?(F.el=Z.el,re(f,F,L)):F=Z,$&&js($),(fe=F.props&&F.props.onVnodeBeforeUpdate)&&st(fe,W,F,Z),Wt(f,!0);const pe=Vr(f),Ye=f.subTree;f.subTree=pe,A(Ye,pe,d(Ye.el),M(Ye),f,y,N),F.el=pe.el,ae===null&&vh(f,pe.el),H&&Re(H,y),(fe=F.props&&F.props.onVnodeUpdated)&&Re(()=>st(fe,W,F,Z),y)}else{let F;const{el:$,props:H}=p,{bm:W,m:Z,parent:ae}=f,fe=Ks(p);if(Wt(f,!1),W&&js(W),!fe&&(F=H&&H.onVnodeBeforeMount)&&st(F,ae,p),Wt(f,!0),$&&Y){const pe=()=>{f.subTree=Vr(f),Y($,f.subTree,f,y,null)};fe?p.type.__asyncLoader().then(()=>!f.isUnmounted&&pe()):pe()}else{const pe=f.subTree=Vr(f);A(null,pe,g,w,f,y,N),p.el=pe.el}if(Z&&Re(Z,y),!fe&&(F=H&&H.onVnodeMounted)){const pe=p;Re(()=>st(F,ae,pe),y)}(p.shapeFlag&256||ae&&Ks(ae.vnode)&&ae.vnode.shapeFlag&256)&&f.a&&Re(f.a,y),f.isMounted=!0,p=g=w=null}},x=f.effect=new Qi(S,()=>cc(C),f.scope),C=f.update=()=>x.run();C.id=f.uid,Wt(f,!0),C()},re=(f,p,g)=>{p.component=f;const w=f.vnode.props;f.vnode=p,f.next=null,zh(f,p.props,w,g),Xh(f,p.children,g),kn(),yr(void 0,f.update),Fn()},me=(f,p,g,w,y,N,L,S,x=!1)=>{const C=f&&f.children,F=f?f.shapeFlag:0,$=p.children,{patchFlag:H,shapeFlag:W}=p;if(H>0){if(H&128){De(C,$,g,w,y,N,L,S,x);return}else if(H&256){ze(C,$,g,w,y,N,L,S,x);return}}W&8?(F&16&&R(C,y,N),$!==C&&u(g,$)):F&16?W&16?De(C,$,g,w,y,N,L,S,x):R(C,y,N,!0):(F&8&&u(g,""),W&16&&q($,g,w,y,N,L,S,x))},ze=(f,p,g,w,y,N,L,S,x)=>{f=f||En,p=p||En;const C=f.length,F=p.length,$=Math.min(C,F);let H;for(H=0;H<$;H++){const W=p[H]=x?Nt(p[H]):it(p[H]);A(f[H],W,g,null,y,N,L,S,x)}C>F?R(f,y,N,!0,!1,$):q(p,g,w,y,N,L,S,x,$)},De=(f,p,g,w,y,N,L,S,x)=>{let C=0;const F=p.length;let $=f.length-1,H=F-1;for(;C<=$&&C<=H;){const W=f[C],Z=p[C]=x?Nt(p[C]):it(p[C]);if(qt(W,Z))A(W,Z,g,null,y,N,L,S,x);else break;C++}for(;C<=$&&C<=H;){const W=f[$],Z=p[H]=x?Nt(p[H]):it(p[H]);if(qt(W,Z))A(W,Z,g,null,y,N,L,S,x);else break;$--,H--}if(C>$){if(C<=H){const W=H+1,Z=WH)for(;C<=$;)ye(f[C],y,N,!0),C++;else{const W=C,Z=C,ae=new Map;for(C=Z;C<=H;C++){const Ie=p[C]=x?Nt(p[C]):it(p[C]);Ie.key!=null&&ae.set(Ie.key,C)}let fe,pe=0;const Ye=H-Z+1;let an=!1,Po=0;const Un=new Array(Ye);for(C=0;C=Ye){ye(Ie,y,N,!0);continue}let nt;if(Ie.key!=null)nt=ae.get(Ie.key);else for(fe=Z;fe<=H;fe++)if(Un[fe-Z]===0&&qt(Ie,p[fe])){nt=fe;break}nt===void 0?ye(Ie,y,N,!0):(Un[nt-Z]=C+1,nt>=Po?Po=nt:an=!0,A(Ie,p[nt],g,null,y,N,L,S,x),pe++)}const Lo=an?tp(Un):En;for(fe=Lo.length-1,C=Ye-1;C>=0;C--){const Ie=Z+C,nt=p[Ie],Do=Ie+1{const{el:N,type:L,transition:S,children:x,shapeFlag:C}=f;if(C&6){Te(f.component.subTree,p,g,w);return}if(C&128){f.suspense.move(p,g,w);return}if(C&64){L.move(f,p,g,le);return}if(L===Pe){s(N,p,g);for(let $=0;$S.enter(N),y);else{const{leave:$,delayLeave:H,afterLeave:W}=S,Z=()=>s(N,p,g),ae=()=>{$(N,()=>{Z(),W&&W()})};H?H(N,Z,ae):ae()}else s(N,p,g)},ye=(f,p,g,w=!1,y=!1)=>{const{type:N,props:L,ref:S,children:x,dynamicChildren:C,shapeFlag:F,patchFlag:$,dirs:H}=f;if(S!=null&&Ti(S,null,g,f,!0),F&256){p.ctx.deactivate(f);return}const W=F&1&&H,Z=!Ks(f);let ae;if(Z&&(ae=L&&L.onVnodeBeforeUnmount)&&st(ae,p,f),F&6)I(f.component,g,w);else{if(F&128){f.suspense.unmount(g,w);return}W&&Ut(f,null,p,"beforeUnmount"),F&64?f.type.remove(f,p,g,y,le,w):C&&(N!==Pe||$>0&&$&64)?R(C,p,g,!1,!0):(N===Pe&&$&384||!y&&F&16)&&R(x,p,g),w&&tt(f)}(Z&&(ae=L&&L.onVnodeUnmounted)||W)&&Re(()=>{ae&&st(ae,p,f),W&&Ut(f,null,p,"unmounted")},g)},tt=f=>{const{type:p,el:g,anchor:w,transition:y}=f;if(p===Pe){v(g,w);return}if(p===qs){j(f);return}const N=()=>{r(g),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:L,delayLeave:S}=y,x=()=>L(g,N);S?S(f.el,N,x):x()}else N()},v=(f,p)=>{let g;for(;f!==p;)g=h(f),r(f),f=g;r(p)},I=(f,p,g)=>{const{bum:w,scope:y,update:N,subTree:L,um:S}=f;w&&js(w),y.stop(),N&&(N.active=!1,ye(L,f,p,g)),S&&Re(S,p),Re(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},R=(f,p,g,w=!1,y=!1,N=0)=>{for(let L=N;Lf.shapeFlag&6?M(f.component.subTree):f.shapeFlag&128?f.suspense.next():h(f.anchor||f.el),ie=(f,p,g)=>{f==null?p._vnode&&ye(p._vnode,null,null,!0):A(p._vnode||null,f,p,null,null,null,g),dc(),p._vnode=f},le={p:A,um:ye,m:Te,r:tt,mt:xe,mc:q,pc:me,pbc:ee,n:M,o:e};let G,Y;return t&&([G,Y]=t(le)),{render:ie,hydrate:G,createApp:Qh(ie,G)}}function Wt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ic(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let i=0;i>1,e[n[a]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const np=e=>e.__isTeleport,Pe=Symbol(void 0),lo=Symbol(void 0),Qe=Symbol(void 0),qs=Symbol(void 0),Zn=[];let Xe=null;function Qt(e=!1){Zn.push(Xe=e?null:[])}function sp(){Zn.pop(),Xe=Zn[Zn.length-1]||null}let us=1;function ca(e){us+=e}function $c(e){return e.dynamicChildren=us>0?Xe||En:null,sp(),us>0&&Xe&&Xe.push(e),e}function yn(e,t,n,s,r,i){return $c(Ve(e,t,n,s,r,i,!0))}function rp(e,t,n,s,r){return $c(ge(e,t,n,s,r,!0))}function Oi(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const Cr="__vInternal",Mc=({key:e})=>e??null,zs=({ref:e,ref_key:t,ref_for:n})=>e!=null?ve(e)||Ae(e)||X(e)?{i:Be,r:e,k:t,f:!!n}:e:null;function Ve(e,t=null,n=null,s=0,r=null,i=e===Pe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Mc(t),ref:t&&zs(t),scopeId:wr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return a?(co(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ve(n)?8:16),us>0&&!o&&Xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xe.push(l),l}const ge=ip;function ip(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===kh)&&(e=Qe),Oi(e)){const a=Mt(e,t,!0);return n&&co(a,n),us>0&&!i&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag|=-2,a}if(gp(e)&&(e=e.__vccOpts),t){t=op(t);let{class:a,style:l}=t;a&&!ve(a)&&(t.class=zi(a)),_e(l)&&(tc(l)&&!U(l)&&(l=Oe({},l)),t.style=qi(l))}const o=ve(e)?1:yh(e)?128:np(e)?64:_e(e)?4:X(e)?2:0;return Ve(e,t,n,s,r,o,i,!0)}function op(e){return e?tc(e)||Cr in e?Oe({},e):e:null}function Mt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,a=t?ap(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Mc(a),ref:t&&t.ref?n&&r?U(r)?r.concat(zs(t)):[r,zs(t)]:zs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor}}function kc(e=" ",t=0){return ge(lo,null,e,t)}function Fc(e,t){const n=ge(qs,null,e);return n.staticCount=t,n}function wy(e="",t=!1){return t?(Qt(),rp(Qe,null,e)):ge(Qe,null,e)}function it(e){return e==null||typeof e=="boolean"?ge(Qe):U(e)?ge(Pe,null,e.slice()):typeof e=="object"?Nt(e):ge(lo,null,String(e))}function Nt(e){return e.el===null||e.memo?e:Mt(e)}function co(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),co(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Cr in t)?t._ctx=Be:r===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),s&64?(n=16,t=[kc(t)]):n=8);e.children=t,e.shapeFlag|=n}function ap(...e){const t={};for(let n=0;nbe||Be,Tn=e=>{be=e,e.scope.on()},Zt=()=>{be&&be.scope.off(),be=null};function Hc(e){return e.vnode.shapeFlag&4}let fs=!1;function dp(e,t=!1){fs=t;const{props:n,children:s}=e.vnode,r=Hc(e);qh(e,n,r,t),Gh(e,s);const i=r?hp(e,t):void 0;return fs=!1,i}function hp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nc(new Proxy(e.ctx,Bh));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?mp(e):null;Tn(e),kn();const i=Lt(s,e,0,[e.props,r]);if(Fn(),Zt(),Vl(i)){if(i.then(Zt,Zt),t)return i.then(o=>{ua(e,o,t)}).catch(o=>{vr(o,e,0)});e.asyncDep=i}else ua(e,i,t)}else Bc(e,t)}function ua(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=oc(t)),Bc(e,n)}let fa;function Bc(e,t,n){const s=e.type;if(!e.render){if(!t&&fa&&!s.render){const r=s.template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Oe(Oe({isCustomElement:i,delimiters:a},o),l);s.render=fa(r,c)}}e.render=s.render||Je}Tn(e),kn(),Vh(e),Fn(),Zt()}function pp(e){return new Proxy(e.attrs,{get(t,n){return Me(e,"get","$attrs"),t[n]}})}function mp(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=pp(e))},slots:e.slots,emit:e.emit,expose:t}}function Sr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(oc(nc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sr)return sr[n](e)}}))}function _p(e){return X(e)&&e.displayName||e.name}function gp(e){return X(e)&&"__vccOpts"in e}const ot=(e,t)=>uh(e,t,fs);function Vc(e,t,n){const s=arguments.length;return s===2?_e(t)&&!U(t)?Oi(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Oi(n)&&(n=[n]),ge(e,t,n))}const Ep="3.2.36",bp="http://www.w3.org/2000/svg",zt=typeof document<"u"?document:null,da=zt&&zt.createElement("template"),vp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?zt.createElementNS(bp,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{da.innerHTML=s?`${e}`:e;const a=da.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function yp(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ap(e,t,n){const s=e.style,r=ve(n);if(n&&!r){for(const i in n)Ci(s,i,n[i]);if(t&&!ve(t))for(const i in t)n[i]==null&&Ci(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const ha=/\s*!important$/;function Ci(e,t,n){if(U(n))n.forEach(s=>Ci(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wp(e,t);ha.test(n)?e.setProperty(Mn(s),n.replace(ha,""),"important"):e[s]=n}}const pa=["Webkit","Moz","ms"],Ur={};function wp(e,t){const n=Ur[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return Ur[t]=s;s=Er(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Si=0;const Sp=Promise.resolve(),Np=()=>{Si=0},xp=()=>Si||(Sp.then(Np),Si=jc());function Rt(e,t,n,s){e.addEventListener(t,n,s)}function Rp(e,t,n,s){e.removeEventListener(t,n,s)}function Pp(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=Lp(t);if(s){const c=i[t]=Dp(s,r);Rt(e,a,c,l)}else o&&(Rp(e,a,o,l),i[t]=void 0)}}const _a=/(?:Once|Passive|Capture)$/;function Lp(e){let t;if(_a.test(e)){t={};let n;for(;n=e.match(_a);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Mn(e.slice(2)),t]}function Dp(e,t){const n=s=>{const r=s.timeStamp||jc();(Cp||r>=n.attached-1)&&je(Ip(s,n.value),t,5,[s])};return n.value=e,n.attached=xp(),n}function Ip(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const ga=/^on[a-z]/,$p=(e,t,n,s,r=!1,i,o,a,l)=>{t==="class"?yp(e,s,r):t==="style"?Ap(e,n,s):mr(t)?Yi(t)||Pp(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mp(e,t,s,r))?Op(e,t,s,i,o,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Tp(e,t,s,r))};function Mp(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ga.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ga.test(t)&&ve(n)?!1:t in e}const kp={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ch.props;const On=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>js(t,n):t};function Fp(e){e.target.composing=!0}function Ea(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ty={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=On(r);const i=s||r.props&&r.props.type==="number";Rt(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=er(a)),e._assign(a)}),n&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",Fp),Rt(e,"compositionend",Ea),Rt(e,"change",Ea))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=On(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&er(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Oy={created(e,{value:t},n){e.checked=wn(t,n.props.value),e._assign=On(n),Rt(e,"change",()=>{e._assign(ds(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=On(s),t!==n&&(e.checked=wn(t,s.props.value))}},Cy={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=_r(t);Rt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?er(ds(o)):ds(o));e._assign(e.multiple?r?new Set(i):i:i[0])}),e._assign=On(s)},mounted(e,{value:t}){ba(e,t)},beforeUpdate(e,t,n){e._assign=On(n)},updated(e,{value:t}){ba(e,t)}};function ba(e,t){const n=e.multiple;if(!(n&&!U(t)&&!_r(t))){for(let s=0,r=e.options.length;s-1:i.selected=t.has(o);else if(wn(ds(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}const Hp=Oe({patchProp:$p},vp);let va;function Bp(){return va||(va=Zh(Hp))}const Vp=(...e)=>{const t=Bp().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=jp(s);if(!r)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function jp(e){return ve(e)?document.querySelector(e):e}function ir(e){return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(e)}function Ys(e,t){if(!e.vueAxiosInstalled){var n=Uc(t)?Kp(t):t;if(qp(n)){var s=zp(e);if(s){var r=s<3?Up:Wp;Object.keys(n).forEach(function(i){r(e,i,n[i])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function Up(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function Wp(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function Uc(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function Kp(e){return{axios:e,$http:e}}function qp(e){return ir(e)==="object"&&Object.keys(e).every(function(t){return Uc(e[t])})}function zp(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof exports>"u"?"undefined":ir(exports))=="object"?module.exports=Ys:typeof define=="function"&&define.amd?define([],function(){return Ys}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(Ys,window.axios);const Yp=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Gp={},Xp={class:"py-4"},Jp={class:"container mb-8"};function Qp(e,t){const n=oo("router-view");return Qt(),yn("main",Xp,[Ve("div",Jp,[ge(n)])])}const Zp=Yp(Gp,[["render",Qp],["__scopeId","data-v-052d2f9e"]]),em={class:"navbar-nav me-auto"},tm={class:"nav-item"},nm=Fc('',1),sm={name:"Menu",setup(e){const t=ro([{name:"首页",route:"index"},{name:"穿透隧道",route:"tunnels"},{name:"创建隧道",route:"tunnels.create"},{name:"签到",route:"sign"},{name:"充值",route:"charge"},{name:"节点状态",route:"status"},{name:"发工单",route:"ticket"},{name:"客户端下载",route:"downloads"}]);return(n,s)=>{const r=oo("router-link");return Qt(),yn(Pe,null,[Ve("ul",em,[(Qt(!0),yn(Pe,null,Hh(t.value,i=>(Qt(),yn("li",tm,[ge(r,{to:{name:i.route},"active-class":"active",class:"nav-link text-auto"},{default:mc(()=>[kc(Hl(i.name),1)]),_:2},1032,["to"])]))),256))]),nm],64)}}},rm={class:"navbar navbar-expand-md shadow-sm bg-body"},im={class:"container"},om=Ve("button",{"aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"切换导航",class:"navbar-toggler","data-bs-target":"#navbarSupportedContent","data-bs-toggle":"collapse",type:"button"},[Ve("span",{class:"bi bi-list text-auto fs-1"})],-1),am={id:"navbarSupportedContent",class:"collapse navbar-collapse"},lm=Fc('
用户 ID

财务

余额: xxx 元
',1),cm={name:"Nav",setup(e){const t=ro(window.Base.SiteName);return(n,s)=>{const r=oo("router-link");return Qt(),yn(Pe,null,[Ve("div",null,[Ve("nav",rm,[Ve("div",im,[ge(r,{class:"navbar-brand text-auto",to:"/",textContent:Hl(t.value)},null,8,["textContent"]),om,Ve("div",am,[ge(sm)])])])]),lm],64)}}},um={name:"App",setup(e){return(t,n)=>(Qt(),yn(Pe,null,[Ve("div",null,[ge(cm)]),Ve("div",null,[ge(Zp)])],64))}},fm="modulepreload",dm=function(e){return"/build/"+e},ya={},dt=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=dm(i),i in ya)return;ya[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":fm,o||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),o)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};/*! +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Ho]=this[Ho]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Wn(o);s[a]||(nd(r,o),s[a]=!0)}return b.isArray(t)?t.forEach(i):i(t),this}}pr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);b.freezeMethods(pr.prototype);b.freezeMethods(pr);const pt=pr;function Fr(e,t){const n=this||ji,s=t||n,r=pt.from(s.headers);let i=s.data;return b.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Dl(e){return!!(e&&e.__CANCEL__)}function _s(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}b.inherits(_s,se,{__CANCEL__:!0});function sd(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const rd=at.isStandardBrowserEnv?function(){return{write:function(n,s,r,i,o,a){const l=[];l.push(n+"="+encodeURIComponent(s)),b.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),b.isString(i)&&l.push("path="+i),b.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function id(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function od(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Il(e,t){return e&&!id(t)?od(e,t):t}const ad=at.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=b.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function ld(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cd(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=s[i];o||(o=c),n[r]=l,s[r]=c;let d=i,h=0;for(;d!==r;)h+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-o{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,l=s(a),c=i<=o;n=i;const u={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const ud=typeof XMLHttpRequest<"u",fd=ud&&function(e){return new Promise(function(n,s){let r=e.data;const i=pt.from(e.headers).normalize(),o=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}b.isFormData(r)&&(at.isStandardBrowserEnv||at.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+_))}const u=Il(e.baseURL,e.url);c.open(e.method.toUpperCase(),Rl(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const m=pt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),E={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:m,config:e,request:c};sd(function(T){n(T),l()},function(T){s(T),l()},E),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(s(new se("Request aborted",se.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new se("Network Error",se.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let _=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Pl;e.timeoutErrorMessage&&(_=e.timeoutErrorMessage),s(new se(_,E.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,c)),c=null},at.isStandardBrowserEnv){const m=(e.withCredentials||ad(u))&&e.xsrfCookieName&&rd.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in c&&b.forEach(i.toJSON(),function(_,E){c.setRequestHeader(E,_)}),b.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&o!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Bo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Bo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=m=>{c&&(s(!m||m.type?new _s(null,e,c):m),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const h=ld(u);if(h&&at.protocols.indexOf(h)===-1){s(new se("Unsupported protocol "+h+":",se.ERR_BAD_REQUEST,e));return}c.send(r||null)})},Hs={http:Mf,xhr:fd};b.forEach(Hs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const dd={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:t}=e;let n,s;for(let r=0;re instanceof pt?e.toJSON():e;function An(e,t){t=t||{};const n={};function s(c,u,d){return b.isPlainObject(c)&&b.isPlainObject(u)?b.merge.call({caseless:d},c,u):b.isPlainObject(u)?b.merge({},u):b.isArray(u)?u.slice():u}function r(c,u,d){if(b.isUndefined(u)){if(!b.isUndefined(c))return s(void 0,c,d)}else return s(c,u,d)}function i(c,u){if(!b.isUndefined(u))return s(void 0,u)}function o(c,u){if(b.isUndefined(u)){if(!b.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,d){if(d in t)return s(c,u);if(d in e)return s(void 0,c)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u)=>r(jo(c),jo(u),!0)};return b.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const d=l[u]||r,h=d(e[u],t[u],u);b.isUndefined(h)&&d!==a||(n[u]=h)}),n}const $l="1.3.4",Ui={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ui[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Uo={};Ui.transitional=function(t,n,s){function r(i,o){return"[Axios v"+$l+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new se(r(o," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Uo[o]&&(Uo[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function hd(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new se("option "+i+" must be "+l,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+i,se.ERR_BAD_OPTION)}}const ci={assertOptions:hd,validators:Ui},At=ci.validators;class Qs{constructor(t){this.defaults=t,this.interceptors={request:new Fo,response:new Fo}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=An(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&ci.assertOptions(s,{silentJSONParsing:At.transitional(At.boolean),forcedJSONParsing:At.transitional(At.boolean),clarifyTimeoutError:At.transitional(At.boolean)},!1),r!==void 0&&ci.assertOptions(r,{encode:At.function,serialize:At.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=i&&b.merge(i.common,i[n.method]),o&&b.forEach(["delete","get","head","post","put","patch","common"],_=>{delete i[_]}),n.headers=pt.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(l=l&&E.synchronous,a.unshift(E.fulfilled,E.rejected))});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let u,d=0,h;if(!l){const _=[Vo.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,c),h=_.length,u=Promise.resolve(n);d{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new _s(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wi(function(r){t=r}),cancel:t}}}const pd=Wi;function md(e){return function(n){return e.apply(null,n)}}function _d(e){return b.isObject(e)&&e.isAxiosError===!0}const ui={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ui).forEach(([e,t])=>{ui[t]=e});const gd=ui;function Ml(e){const t=new Bs(e),n=gl(Bs.prototype.request,t);return b.extend(n,Bs.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ml(An(e,r))},n}const Ee=Ml(ji);Ee.Axios=Bs;Ee.CanceledError=_s;Ee.CancelToken=pd;Ee.isCancel=Dl;Ee.VERSION=$l;Ee.toFormData=dr;Ee.AxiosError=se;Ee.Cancel=Ee.CanceledError;Ee.all=function(t){return Promise.all(t)};Ee.spread=md;Ee.isAxiosError=_d;Ee.mergeConfig=An;Ee.AxiosHeaders=pt;Ee.formToJSON=e=>Ll(b.isHTMLForm(e)?new FormData(e):e);Ee.HttpStatusCode=gd;Ee.default=Ee;const kl=Ee;window.axios=kl;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";function Ki(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Ed="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bd=Ki(Ed);function Fl(e){return!!e||e===""}function qi(e){if(U(e)){const t={};for(let n=0;n{if(n){const s=n.split(yd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function zi(e){let t="";if(ve(e))t=e;else if(U(e))for(let n=0;nwn(n,t))}const Hl=e=>ve(e)?e:e==null?"":U(e)||_e(e)&&(e.toString===jl||!X(e.toString))?JSON.stringify(e,Bl,2):String(e),Bl=(e,t)=>t&&t.__v_isRef?Bl(e,t.value):bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:_r(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!U(t)&&!Ul(t)?String(t):t,he={},En=[],Je=()=>{},Od=()=>!1,Cd=/^on[^a-z]/,mr=e=>Cd.test(e),Yi=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Gi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sd=Object.prototype.hasOwnProperty,te=(e,t)=>Sd.call(e,t),U=Array.isArray,bn=e=>gs(e)==="[object Map]",_r=e=>gs(e)==="[object Set]",Wo=e=>gs(e)==="[object Date]",X=e=>typeof e=="function",ve=e=>typeof e=="string",is=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Vl=e=>_e(e)&&X(e.then)&&X(e.catch),jl=Object.prototype.toString,gs=e=>jl.call(e),Nd=e=>gs(e).slice(8,-1),Ul=e=>gs(e)==="[object Object]",Xi=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vs=Ki(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xd=/-(\w)/g,ut=gr(e=>e.replace(xd,(t,n)=>n?n.toUpperCase():"")),Rd=/\B([A-Z])/g,Mn=gr(e=>e.replace(Rd,"-$1").toLowerCase()),Er=gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Br=gr(e=>e?`on${Er(e)}`:""),os=(e,t)=>!Object.is(e,t),js=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},er=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ko;const Pd=()=>Ko||(Ko=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let rt;class Ld{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&rt&&(this.parent=rt,this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=rt;try{return rt=this,t()}finally{rt=n}}}on(){rt=this}off(){rt=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Wl=e=>(e.w&$t)>0,Kl=e=>(e.n&$t)>0,Id=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||c>=s)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),t){case"add":U(e)?Xi(n)&&a.push(o.get("length")):(a.push(o.get(Jt)),bn(e)&&a.push(o.get(hi)));break;case"delete":U(e)||(a.push(o.get(Jt)),bn(e)&&a.push(o.get(hi)));break;case"set":bn(e)&&a.push(o.get(Jt));break}if(a.length===1)a[0]&&pi(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);pi(Ji(l))}}function pi(e,t){const n=U(e)?e:[...e];for(const s of n)s.computed&&zo(s);for(const s of n)s.computed||zo(s)}function zo(e,t){(e!==Ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Md=Ki("__proto__,__v_isRef,__isVue"),Yl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(is)),kd=Zi(),Fd=Zi(!1,!0),Hd=Zi(!0),Yo=Bd();function Bd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=oe(this);for(let i=0,o=this.length;i{e[t]=function(...n){kn();const s=oe(this)[t].apply(this,n);return Fn(),s}}),e}function Zi(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?nh:Zl:t?Ql:Jl).get(s))return s;const o=U(s);if(!e&&o&&te(Yo,r))return Reflect.get(Yo,r,i);const a=Reflect.get(s,r,i);return(is(r)?Yl.has(r):Md(r))||(e||Me(s,"get",r),t)?a:Ae(a)?o&&Xi(r)?a:a.value:_e(a)?e?ec(a):Es(a):a}}const Vd=Gl(),jd=Gl(!0);function Gl(e=!1){return function(n,s,r,i){let o=n[s];if(as(o)&&Ae(o)&&!Ae(r))return!1;if(!e&&!as(r)&&(mi(r)||(r=oe(r),o=oe(o)),!U(n)&&Ae(o)&&!Ae(r)))return o.value=r,!0;const a=U(n)&&Xi(s)?Number(s)e,br=e=>Reflect.getPrototypeOf(e);function Os(e,t,n=!1,s=!1){e=e.__v_raw;const r=oe(e),i=oe(t);n||(t!==i&&Me(r,"get",t),Me(r,"get",i));const{has:o}=br(r),a=s?eo:n?so:ls;if(o.call(r,t))return a(e.get(t));if(o.call(r,i))return a(e.get(i));e!==r&&e.get(t)}function Cs(e,t=!1){const n=this.__v_raw,s=oe(n),r=oe(e);return t||(e!==r&&Me(s,"has",e),Me(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ss(e,t=!1){return e=e.__v_raw,!t&&Me(oe(e),"iterate",Jt),Reflect.get(e,"size",e)}function Go(e){e=oe(e);const t=oe(this);return br(t).has.call(t,e)||(t.add(e),gt(t,"add",e,e)),this}function Xo(e,t){t=oe(t);const n=oe(this),{has:s,get:r}=br(n);let i=s.call(n,e);i||(e=oe(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?os(t,o)&>(n,"set",e,t):gt(n,"add",e,t),this}function Jo(e){const t=oe(this),{has:n,get:s}=br(t);let r=n.call(t,e);r||(e=oe(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&>(t,"delete",e,void 0),i}function Qo(){const e=oe(this),t=e.size!==0,n=e.clear();return t&>(e,"clear",void 0,void 0),n}function Ns(e,t){return function(s,r){const i=this,o=i.__v_raw,a=oe(o),l=t?eo:e?so:ls;return!e&&Me(a,"iterate",Jt),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function xs(e,t,n){return function(...s){const r=this.__v_raw,i=oe(r),o=bn(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=r[e](...s),u=n?eo:t?so:ls;return!t&&Me(i,"iterate",l?hi:Jt),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function Yd(){const e={get(i){return Os(this,i)},get size(){return Ss(this)},has:Cs,add:Go,set:Xo,delete:Jo,clear:Qo,forEach:Ns(!1,!1)},t={get(i){return Os(this,i,!1,!0)},get size(){return Ss(this)},has:Cs,add:Go,set:Xo,delete:Jo,clear:Qo,forEach:Ns(!1,!0)},n={get(i){return Os(this,i,!0)},get size(){return Ss(this,!0)},has(i){return Cs.call(this,i,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ns(!0,!1)},s={get(i){return Os(this,i,!0,!0)},get size(){return Ss(this,!0)},has(i){return Cs.call(this,i,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ns(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=xs(i,!1,!1),n[i]=xs(i,!0,!1),t[i]=xs(i,!1,!0),s[i]=xs(i,!0,!0)}),[e,n,t,s]}const[Gd,Xd,Jd,Qd]=Yd();function to(e,t){const n=t?e?Qd:Jd:e?Xd:Gd;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,i)}const Zd={get:to(!1,!1)},eh={get:to(!1,!0)},th={get:to(!0,!1)},Jl=new WeakMap,Ql=new WeakMap,Zl=new WeakMap,nh=new WeakMap;function sh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rh(e){return e.__v_skip||!Object.isExtensible(e)?0:sh(Nd(e))}function Es(e){return as(e)?e:no(e,!1,Xl,Zd,Jl)}function ih(e){return no(e,!1,zd,eh,Ql)}function ec(e){return no(e,!0,qd,th,Zl)}function no(e,t,n,s,r){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=rh(e);if(o===0)return e;const a=new Proxy(e,o===2?s:n);return r.set(e,a),a}function vn(e){return as(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function as(e){return!!(e&&e.__v_isReadonly)}function mi(e){return!!(e&&e.__v_isShallow)}function tc(e){return vn(e)||as(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function nc(e){return Zs(e,"__v_skip",!0),e}const ls=e=>_e(e)?Es(e):e,so=e=>_e(e)?ec(e):e;function sc(e){Pt&&Ge&&(e=oe(e),zl(e.dep||(e.dep=Ji())))}function rc(e,t){e=oe(e),e.dep&&pi(e.dep)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function ro(e){return ic(e,!1)}function oh(e){return ic(e,!0)}function ic(e,t){return Ae(e)?e:new ah(e,t)}class ah{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:ls(t)}get value(){return sc(this),this._value}set value(t){t=this.__v_isShallow?t:oe(t),os(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:ls(t),rc(this))}}function Xn(e){return Ae(e)?e.value:e}const lh={get:(e,t,n)=>Xn(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ae(r)&&!Ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function oc(e){return vn(e)?e:new Proxy(e,lh)}class ch{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Qi(t,()=>{this._dirty||(this._dirty=!0,rc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=oe(this);return sc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function uh(e,t,n=!1){let s,r;const i=X(e);return i?(s=e,r=Je):(s=e.get,r=e.set),new ch(s,r,i||!r,n)}function Lt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){vr(i,t,n)}return r}function je(e,t,n,s){if(X(e)){const i=Lt(e,t,n,s);return i&&Vl(i)&&i.catch(o=>{vr(o,t,n)}),i}const r=[];for(let i=0;i>>1;cs($e[s])ht&&$e.splice(t,1)}function fc(e,t,n,s){U(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),uc()}function ph(e){fc(e,Gn,Jn,fn)}function mh(e){fc(e,St,Qn,dn)}function yr(e,t=null){if(Jn.length){for(gi=t,Gn=[...new Set(Jn)],Jn.length=0,fn=0;fncs(n)-cs(s)),dn=0;dne.id==null?1/0:e.id;function hc(e){_i=!1,tr=!0,yr(e),$e.sort((n,s)=>cs(n)-cs(s));const t=Je;try{for(ht=0;ht<$e.length;ht++){const n=$e[ht];n&&n.active!==!1&&Lt(n,null,14)}}finally{ht=0,$e.length=0,dc(),tr=!1,io=null,($e.length||Jn.length||Qn.length)&&hc(e)}}function _h(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||he;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:h}=s[u]||he;h&&(r=n.map(m=>m.trim())),d&&(r=n.map(er))}let a,l=s[a=Br(t)]||s[a=Br(ut(t))];!l&&i&&(l=s[a=Br(Mn(t))]),l&&je(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,je(c,e,6,r)}}function pc(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},a=!1;if(!X(e)){const l=c=>{const u=pc(c,t,!0);u&&(a=!0,Oe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(s.set(e,null),null):(U(i)?i.forEach(l=>o[l]=null):Oe(o,i),s.set(e,o),o)}function Ar(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Mn(t))||te(e,t))}let Be=null,wr=null;function nr(e){const t=Be;return Be=e,wr=e&&e.type.__scopeId||null,t}function vy(e){wr=e}function yy(){wr=null}function mc(e,t=Be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ca(-1);const i=nr(t),o=e(...r);return nr(i),s._d&&ca(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function Vr(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:m,ctx:_,inheritAttrs:E}=e;let A,T;const P=nr(e);try{if(n.shapeFlag&4){const D=r||s;A=it(u.call(D,D,d,i,m,h,_)),T=l}else{const D=t;A=it(D.length>1?D(i,{attrs:l,slots:a,emit:c}):D(i,null)),T=t.props?l:gh(l)}}catch(D){Zn.length=0,vr(D,e,1),A=ge(Qe)}let k=A;if(T&&E!==!1){const D=Object.keys(T),{shapeFlag:j}=k;D.length&&j&7&&(o&&D.some(Yi)&&(T=Eh(T,o)),k=Mt(k,T))}return n.dirs&&(k=Mt(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),A=k,nr(P),A}const gh=e=>{let t;for(const n in e)(n==="class"||n==="style"||mr(n))&&((t||(t={}))[n]=e[n]);return t},Eh=(e,t)=>{const n={};for(const s in e)(!Yi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bh(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Zo(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Ah(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):mh(e)}function Us(e,t){if(be){let n=be.provides;const s=be.parent&&be.parent.provides;s===n&&(n=be.provides=Object.create(s)),n[e]=t}}function Dt(e,t,n=!1){const s=be||Be;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&X(t)?t.call(s.proxy):t}}const ea={};function Ws(e,t,n){return _c(e,t,n)}function _c(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=he){const a=be;let l,c=!1,u=!1;if(Ae(e)?(l=()=>e.value,c=mi(e)):vn(e)?(l=()=>e,s=!0):U(e)?(u=!0,c=e.some(T=>vn(T)||mi(T)),l=()=>e.map(T=>{if(Ae(T))return T.value;if(vn(T))return Yt(T);if(X(T))return Lt(T,a,2)})):X(e)?t?l=()=>Lt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),je(e,a,3,[h])}:l=Je,t&&s){const T=l;l=()=>Yt(T())}let d,h=T=>{d=A.onStop=()=>{Lt(T,a,4)}};if(fs)return h=Je,t?n&&je(t,a,3,[l(),u?[]:void 0,h]):l(),Je;let m=u?[]:ea;const _=()=>{if(A.active)if(t){const T=A.run();(s||c||(u?T.some((P,k)=>os(P,m[k])):os(T,m)))&&(d&&d(),je(t,a,3,[T,m===ea?void 0:m,h]),m=T)}else A.run()};_.allowRecurse=!!t;let E;r==="sync"?E=_:r==="post"?E=()=>Re(_,a&&a.suspense):E=()=>ph(_);const A=new Qi(l,E);return t?n?_():m=A.run():r==="post"?Re(A.run.bind(A),a&&a.suspense):A.run(),()=>{A.stop(),a&&a.scope&&Gi(a.scope.effects,A)}}function wh(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?gc(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const o=be;Tn(this);const a=_c(r,i.bind(s),n);return o?Tn(o):Zt(),a}function gc(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Yt(n,t)});else if(Ul(e))for(const n in e)Yt(e[n],t);return e}function Th(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ac(()=>{e.isMounted=!0}),wc(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],Oh={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},setup(e,{slots:t}){const n=fp(),s=Th();let r;return()=>{const i=t.default&&bc(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const E of i)if(E.type!==Qe){o=E;break}}const a=oe(e),{mode:l}=a;if(s.isLeaving)return jr(o);const c=ta(o);if(!c)return jr(o);const u=Ei(c,a,s,n);bi(c,u);const d=n.subTree,h=d&&ta(d);let m=!1;const{getTransitionKey:_}=c.type;if(_){const E=_();r===void 0?r=E:E!==r&&(r=E,m=!0)}if(h&&h.type!==Qe&&(!qt(c,h)||m)){const E=Ei(h,a,s,n);if(bi(h,E),l==="out-in")return s.isLeaving=!0,E.afterLeave=()=>{s.isLeaving=!1,n.update()},jr(o);l==="in-out"&&c.type!==Qe&&(E.delayLeave=(A,T,P)=>{const k=Ec(s,h);k[String(h.key)]=h,A._leaveCb=()=>{T(),A._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=P})}return o}}},Ch=Oh;function Ec(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ei(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:E,onAppear:A,onAfterAppear:T,onAppearCancelled:P}=t,k=String(e.key),D=Ec(n,e),j=(B,q)=>{B&&je(B,s,9,q)},K=(B,q)=>{const z=q[1];j(B,q),U(B)?B.every(ee=>ee.length<=1)&&z():B.length<=1&&z()},Q={mode:i,persisted:o,beforeEnter(B){let q=a;if(!n.isMounted)if(r)q=E||a;else return;B._leaveCb&&B._leaveCb(!0);const z=D[k];z&&qt(e,z)&&z.el._leaveCb&&z.el._leaveCb(),j(q,[B])},enter(B){let q=l,z=c,ee=u;if(!n.isMounted)if(r)q=A||l,z=T||c,ee=P||u;else return;let ce=!1;const ue=B._enterCb=we=>{ce||(ce=!0,we?j(ee,[B]):j(z,[B]),Q.delayedLeave&&Q.delayedLeave(),B._enterCb=void 0)};q?K(q,[B,ue]):ue()},leave(B,q){const z=String(e.key);if(B._enterCb&&B._enterCb(!0),n.isUnmounting)return q();j(d,[B]);let ee=!1;const ce=B._leaveCb=ue=>{ee||(ee=!0,q(),ue?j(_,[B]):j(m,[B]),B._leaveCb=void 0,D[z]===e&&delete D[z])};D[z]=e,h?K(h,[B,ce]):ce()},clone(B){return Ei(B,t,n,s)}};return Q}function jr(e){if(Tr(e))return e=Mt(e),e.children=null,e}function ta(e){return Tr(e)?e.children?e.children[0]:void 0:e}function bi(e,t){e.shapeFlag&6&&e.component?bi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bc(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Tr=e=>e.type.__isKeepAlive;function Sh(e,t){yc(e,"a",t)}function Nh(e,t){yc(e,"da",t)}function yc(e,t,n=be){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Or(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Tr(r.parent.vnode)&&xh(s,t,n,r),r=r.parent}}function xh(e,t,n,s){const r=Or(t,e,s,!0);Tc(()=>{Gi(s[t],r)},n)}function Or(e,t,n=be,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;kn(),Tn(n);const a=je(t,n,e,o);return Zt(),Fn(),a});return s?r.unshift(i):r.push(i),i}}const vt=e=>(t,n=be)=>(!fs||e==="sp")&&Or(e,t,n),Rh=vt("bm"),Ac=vt("m"),Ph=vt("bu"),Lh=vt("u"),wc=vt("bum"),Tc=vt("um"),Dh=vt("sp"),Ih=vt("rtg"),$h=vt("rtc");function Mh(e,t=be){Or("ec",e,t)}function Ay(e,t){const n=Be;if(n===null)return e;const s=Sr(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);r=new Array(o.length);for(let a=0,l=o.length;ae?Hc(e)?Sr(e)||e.proxy:vi(e.parent):null,sr=Oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vi(e.parent),$root:e=>vi(e.root),$emit:e=>e.emit,$options:e=>Sc(e),$forceUpdate:e=>e.f||(e.f=()=>cc(e.update)),$nextTick:e=>e.n||(e.n=lc.bind(e.proxy)),$watch:e=>wh.bind(e)}),Bh={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==he&&te(s,t))return o[t]=1,s[t];if(r!==he&&te(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&te(c,t))return o[t]=3,i[t];if(n!==he&&te(n,t))return o[t]=4,n[t];yi&&(o[t]=0)}}const u=sr[t];let d,h;if(u)return t==="$attrs"&&Me(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==he&&te(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,te(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==he&&te(r,t)?(r[t]=n,!0):s!==he&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!n[o]||e!==he&&te(e,o)||t!==he&&te(t,o)||(a=i[0])&&te(a,o)||te(s,o)||te(sr,o)||te(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let yi=!0;function Vh(e){const t=Sc(e),n=e.proxy,s=e.ctx;yi=!1,t.beforeCreate&&sa(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:m,updated:_,activated:E,deactivated:A,beforeDestroy:T,beforeUnmount:P,destroyed:k,unmounted:D,render:j,renderTracked:K,renderTriggered:Q,errorCaptured:B,serverPrefetch:q,expose:z,inheritAttrs:ee,components:ce,directives:ue,filters:we}=t;if(c&&jh(c,s,null,e.appContext.config.unwrapInjectedRef),o)for(const J in o){const re=o[J];X(re)&&(s[J]=re.bind(n))}if(r){const J=r.call(n,n);_e(J)&&(e.data=Es(J))}if(yi=!0,i)for(const J in i){const re=i[J],me=X(re)?re.bind(n,n):X(re.get)?re.get.bind(n,n):Je,ze=!X(re)&&X(re.set)?re.set.bind(n):Je,De=ot({get:me,set:ze});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>De.value,set:Te=>De.value=Te})}if(a)for(const J in a)Cc(a[J],s,n,J);if(l){const J=X(l)?l.call(n):l;Reflect.ownKeys(J).forEach(re=>{Us(re,J[re])})}u&&sa(u,e,"c");function ne(J,re){U(re)?re.forEach(me=>J(me.bind(n))):re&&J(re.bind(n))}if(ne(Rh,d),ne(Ac,h),ne(Ph,m),ne(Lh,_),ne(Sh,E),ne(Nh,A),ne(Mh,B),ne($h,K),ne(Ih,Q),ne(wc,P),ne(Tc,D),ne(Dh,q),U(z))if(z.length){const J=e.exposed||(e.exposed={});z.forEach(re=>{Object.defineProperty(J,re,{get:()=>n[re],set:me=>n[re]=me})})}else e.exposed||(e.exposed={});j&&e.render===Je&&(e.render=j),ee!=null&&(e.inheritAttrs=ee),ce&&(e.components=ce),ue&&(e.directives=ue)}function jh(e,t,n=Je,s=!1){U(e)&&(e=Ai(e));for(const r in e){const i=e[r];let o;_e(i)?"default"in i?o=Dt(i.from||r,i.default,!0):o=Dt(i.from||r):o=Dt(i),Ae(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function sa(e,t,n){je(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Cc(e,t,n,s){const r=s.includes(".")?gc(n,s):()=>n[s];if(ve(e)){const i=t[e];X(i)&&Ws(r,i)}else if(X(e))Ws(r,e.bind(n));else if(_e(e))if(U(e))e.forEach(i=>Cc(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Ws(r,i,e)}}function Sc(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>rr(l,c,o,!0)),rr(l,t,o)),i.set(t,l),l}function rr(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&rr(e,i,n,!0),r&&r.forEach(o=>rr(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=Uh[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Uh={data:ra,props:Kt,emits:Kt,methods:Kt,computed:Kt,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:Kt,directives:Kt,watch:Kh,provide:ra,inject:Wh};function ra(e,t){return t?e?function(){return Oe(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Wh(e,t){return Kt(Ai(e),Ai(t))}function Ai(e){if(U(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,m]=xc(d,t,!0);Oe(o,h),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return s.set(e,En),En;if(U(i))for(let u=0;u-1,m[1]=E<0||_-1||te(m,"default"))&&a.push(d)}}}const c=[o,a];return s.set(e,c),c}function ia(e){return e[0]!=="$"}function oa(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function aa(e,t){return oa(e)===oa(t)}function la(e,t){return U(t)?t.findIndex(n=>aa(n,e)):X(t)&&aa(t,e)?0:-1}const Rc=e=>e[0]==="_"||e==="$stable",ao=e=>U(e)?e.map(it):[it(e)],Yh=(e,t,n)=>{if(t._n)return t;const s=mc((...r)=>ao(t(...r)),n);return s._c=!1,s},Pc=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Rc(r))continue;const i=e[r];if(X(i))t[r]=Yh(r,i,s);else if(i!=null){const o=ao(i);t[r]=()=>o}}},Lc=(e,t)=>{const n=ao(t);e.slots.default=()=>n},Gh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),Zs(t,"_",n)):Pc(t,e.slots={})}else e.slots={},t&&Lc(e,t);Zs(e.slots,Cr,1)},Xh=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=he;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Oe(r,t),!n&&a===1&&delete r._):(i=!t.$stable,Pc(t,r)),o=t}else t&&(Lc(e,t),o={default:1});if(i)for(const a in r)!Rc(a)&&!(a in o)&&delete r[a]};function Dc(){return{app:null,config:{isNativeTag:Od,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jh=0;function Qh(e,t){return function(s,r=null){X(s)||(s=Object.assign({},s)),r!=null&&!_e(r)&&(r=null);const i=Dc(),o=new Set;let a=!1;const l=i.app={_uid:Jh++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ep,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&X(c.install)?(o.add(c),c.install(l,...u)):X(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,d){if(!a){const h=ge(s,r);return h.appContext=i,u&&t?t(h,c):e(h,c,d),a=!0,l._container=c,c.__vue_app__=l,Sr(h.component)||h.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return l}}function Ti(e,t,n,s,r=!1){if(U(e)){e.forEach((h,m)=>Ti(h,t&&(U(t)?t[m]:t),n,s,r));return}if(Ks(s)&&!r)return;const i=s.shapeFlag&4?Sr(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===he?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(ve(c)?(u[c]=null,te(d,c)&&(d[c]=null)):Ae(c)&&(c.value=null)),X(l))Lt(l,a,12,[o,u]);else{const h=ve(l),m=Ae(l);if(h||m){const _=()=>{if(e.f){const E=h?u[l]:l.value;r?U(E)&&Gi(E,i):U(E)?E.includes(i)||E.push(i):h?(u[l]=[i],te(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else h?(u[l]=o,te(d,l)&&(d[l]=o)):Ae(l)&&(l.value=o,e.k&&(u[e.k]=o))};o?(_.id=-1,Re(_,n)):_()}}}const Re=Ah;function Zh(e){return ep(e)}function ep(e,t){const n=Pd();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:m=Je,cloneNode:_,insertStaticContent:E}=e,A=(f,p,g,w=null,y=null,N=null,L=!1,S=null,x=!!p.dynamicChildren)=>{if(f===p)return;f&&!qt(f,p)&&(w=M(f),ye(f,y,N,!0),f=null),p.patchFlag===-2&&(x=!1,p.dynamicChildren=null);const{type:C,ref:F,shapeFlag:$}=p;switch(C){case lo:T(f,p,g,w);break;case Qe:P(f,p,g,w);break;case qs:f==null&&k(p,g,w,L);break;case Pe:ue(f,p,g,w,y,N,L,S,x);break;default:$&1?K(f,p,g,w,y,N,L,S,x):$&6?we(f,p,g,w,y,N,L,S,x):($&64||$&128)&&C.process(f,p,g,w,y,N,L,S,x,le)}F!=null&&y&&Ti(F,f&&f.ref,N,p||f,!p)},T=(f,p,g,w)=>{if(f==null)s(p.el=a(p.children),g,w);else{const y=p.el=f.el;p.children!==f.children&&c(y,p.children)}},P=(f,p,g,w)=>{f==null?s(p.el=l(p.children||""),g,w):p.el=f.el},k=(f,p,g,w)=>{[f.el,f.anchor]=E(f.children,p,g,w,f.el,f.anchor)},D=({el:f,anchor:p},g,w)=>{let y;for(;f&&f!==p;)y=h(f),s(f,g,w),f=y;s(p,g,w)},j=({el:f,anchor:p})=>{let g;for(;f&&f!==p;)g=h(f),r(f),f=g;r(p)},K=(f,p,g,w,y,N,L,S,x)=>{L=L||p.type==="svg",f==null?Q(p,g,w,y,N,L,S,x):z(f,p,y,N,L,S,x)},Q=(f,p,g,w,y,N,L,S)=>{let x,C;const{type:F,props:$,shapeFlag:H,transition:W,patchFlag:Z,dirs:ae}=f;if(f.el&&_!==void 0&&Z===-1)x=f.el=_(f.el);else{if(x=f.el=o(f.type,N,$&&$.is,$),H&8?u(x,f.children):H&16&&q(f.children,x,null,w,y,N&&F!=="foreignObject",L,S),ae&&Ut(f,null,w,"created"),$){for(const pe in $)pe!=="value"&&!Vs(pe)&&i(x,pe,null,$[pe],N,f.children,w,y,R);"value"in $&&i(x,"value",null,$.value),(C=$.onVnodeBeforeMount)&&st(C,w,f)}B(x,f,f.scopeId,L,w)}ae&&Ut(f,null,w,"beforeMount");const fe=(!y||y&&!y.pendingBranch)&&W&&!W.persisted;fe&&W.beforeEnter(x),s(x,p,g),((C=$&&$.onVnodeMounted)||fe||ae)&&Re(()=>{C&&st(C,w,f),fe&&W.enter(x),ae&&Ut(f,null,w,"mounted")},y)},B=(f,p,g,w,y)=>{if(g&&m(f,g),w)for(let N=0;N{for(let C=x;C{const S=p.el=f.el;let{patchFlag:x,dynamicChildren:C,dirs:F}=p;x|=f.patchFlag&16;const $=f.props||he,H=p.props||he;let W;g&&Wt(g,!1),(W=H.onVnodeBeforeUpdate)&&st(W,g,p,f),F&&Ut(p,f,g,"beforeUpdate"),g&&Wt(g,!0);const Z=y&&p.type!=="foreignObject";if(C?ee(f.dynamicChildren,C,S,g,w,Z,N):L||me(f,p,S,null,g,w,Z,N,!1),x>0){if(x&16)ce(S,p,$,H,g,w,y);else if(x&2&&$.class!==H.class&&i(S,"class",null,H.class,y),x&4&&i(S,"style",$.style,H.style,y),x&8){const ae=p.dynamicProps;for(let fe=0;fe{W&&st(W,g,p,f),F&&Ut(p,f,g,"updated")},w)},ee=(f,p,g,w,y,N,L)=>{for(let S=0;S{if(g!==w){for(const S in w){if(Vs(S))continue;const x=w[S],C=g[S];x!==C&&S!=="value"&&i(f,S,C,x,L,p.children,y,N,R)}if(g!==he)for(const S in g)!Vs(S)&&!(S in w)&&i(f,S,g[S],null,L,p.children,y,N,R);"value"in w&&i(f,"value",g.value,w.value)}},ue=(f,p,g,w,y,N,L,S,x)=>{const C=p.el=f?f.el:a(""),F=p.anchor=f?f.anchor:a("");let{patchFlag:$,dynamicChildren:H,slotScopeIds:W}=p;W&&(S=S?S.concat(W):W),f==null?(s(C,g,w),s(F,g,w),q(p.children,g,F,y,N,L,S,x)):$>0&&$&64&&H&&f.dynamicChildren?(ee(f.dynamicChildren,H,g,y,N,L,S),(p.key!=null||y&&p===y.subTree)&&Ic(f,p,!0)):me(f,p,g,F,y,N,L,S,x)},we=(f,p,g,w,y,N,L,S,x)=>{p.slotScopeIds=S,f==null?p.shapeFlag&512?y.ctx.activate(p,g,w,L,x):xe(p,g,w,y,N,L,x):ne(f,p,x)},xe=(f,p,g,w,y,N,L)=>{const S=f.component=up(f,w,y);if(Tr(f)&&(S.ctx.renderer=le),dp(S),S.asyncDep){if(y&&y.registerDep(S,J),!f.el){const x=S.subTree=ge(Qe);P(null,x,p,g)}return}J(S,f,p,g,y,N,L)},ne=(f,p,g)=>{const w=p.component=f.component;if(bh(f,p,g))if(w.asyncDep&&!w.asyncResolved){re(w,p,g);return}else w.next=p,hh(w.update),w.update();else p.el=f.el,w.vnode=p},J=(f,p,g,w,y,N,L)=>{const S=()=>{if(f.isMounted){let{next:F,bu:$,u:H,parent:W,vnode:Z}=f,ae=F,fe;Wt(f,!1),F?(F.el=Z.el,re(f,F,L)):F=Z,$&&js($),(fe=F.props&&F.props.onVnodeBeforeUpdate)&&st(fe,W,F,Z),Wt(f,!0);const pe=Vr(f),Ye=f.subTree;f.subTree=pe,A(Ye,pe,d(Ye.el),M(Ye),f,y,N),F.el=pe.el,ae===null&&vh(f,pe.el),H&&Re(H,y),(fe=F.props&&F.props.onVnodeUpdated)&&Re(()=>st(fe,W,F,Z),y)}else{let F;const{el:$,props:H}=p,{bm:W,m:Z,parent:ae}=f,fe=Ks(p);if(Wt(f,!1),W&&js(W),!fe&&(F=H&&H.onVnodeBeforeMount)&&st(F,ae,p),Wt(f,!0),$&&Y){const pe=()=>{f.subTree=Vr(f),Y($,f.subTree,f,y,null)};fe?p.type.__asyncLoader().then(()=>!f.isUnmounted&&pe()):pe()}else{const pe=f.subTree=Vr(f);A(null,pe,g,w,f,y,N),p.el=pe.el}if(Z&&Re(Z,y),!fe&&(F=H&&H.onVnodeMounted)){const pe=p;Re(()=>st(F,ae,pe),y)}(p.shapeFlag&256||ae&&Ks(ae.vnode)&&ae.vnode.shapeFlag&256)&&f.a&&Re(f.a,y),f.isMounted=!0,p=g=w=null}},x=f.effect=new Qi(S,()=>cc(C),f.scope),C=f.update=()=>x.run();C.id=f.uid,Wt(f,!0),C()},re=(f,p,g)=>{p.component=f;const w=f.vnode.props;f.vnode=p,f.next=null,zh(f,p.props,w,g),Xh(f,p.children,g),kn(),yr(void 0,f.update),Fn()},me=(f,p,g,w,y,N,L,S,x=!1)=>{const C=f&&f.children,F=f?f.shapeFlag:0,$=p.children,{patchFlag:H,shapeFlag:W}=p;if(H>0){if(H&128){De(C,$,g,w,y,N,L,S,x);return}else if(H&256){ze(C,$,g,w,y,N,L,S,x);return}}W&8?(F&16&&R(C,y,N),$!==C&&u(g,$)):F&16?W&16?De(C,$,g,w,y,N,L,S,x):R(C,y,N,!0):(F&8&&u(g,""),W&16&&q($,g,w,y,N,L,S,x))},ze=(f,p,g,w,y,N,L,S,x)=>{f=f||En,p=p||En;const C=f.length,F=p.length,$=Math.min(C,F);let H;for(H=0;H<$;H++){const W=p[H]=x?Nt(p[H]):it(p[H]);A(f[H],W,g,null,y,N,L,S,x)}C>F?R(f,y,N,!0,!1,$):q(p,g,w,y,N,L,S,x,$)},De=(f,p,g,w,y,N,L,S,x)=>{let C=0;const F=p.length;let $=f.length-1,H=F-1;for(;C<=$&&C<=H;){const W=f[C],Z=p[C]=x?Nt(p[C]):it(p[C]);if(qt(W,Z))A(W,Z,g,null,y,N,L,S,x);else break;C++}for(;C<=$&&C<=H;){const W=f[$],Z=p[H]=x?Nt(p[H]):it(p[H]);if(qt(W,Z))A(W,Z,g,null,y,N,L,S,x);else break;$--,H--}if(C>$){if(C<=H){const W=H+1,Z=WH)for(;C<=$;)ye(f[C],y,N,!0),C++;else{const W=C,Z=C,ae=new Map;for(C=Z;C<=H;C++){const Ie=p[C]=x?Nt(p[C]):it(p[C]);Ie.key!=null&&ae.set(Ie.key,C)}let fe,pe=0;const Ye=H-Z+1;let an=!1,Po=0;const Un=new Array(Ye);for(C=0;C=Ye){ye(Ie,y,N,!0);continue}let nt;if(Ie.key!=null)nt=ae.get(Ie.key);else for(fe=Z;fe<=H;fe++)if(Un[fe-Z]===0&&qt(Ie,p[fe])){nt=fe;break}nt===void 0?ye(Ie,y,N,!0):(Un[nt-Z]=C+1,nt>=Po?Po=nt:an=!0,A(Ie,p[nt],g,null,y,N,L,S,x),pe++)}const Lo=an?tp(Un):En;for(fe=Lo.length-1,C=Ye-1;C>=0;C--){const Ie=Z+C,nt=p[Ie],Do=Ie+1{const{el:N,type:L,transition:S,children:x,shapeFlag:C}=f;if(C&6){Te(f.component.subTree,p,g,w);return}if(C&128){f.suspense.move(p,g,w);return}if(C&64){L.move(f,p,g,le);return}if(L===Pe){s(N,p,g);for(let $=0;$S.enter(N),y);else{const{leave:$,delayLeave:H,afterLeave:W}=S,Z=()=>s(N,p,g),ae=()=>{$(N,()=>{Z(),W&&W()})};H?H(N,Z,ae):ae()}else s(N,p,g)},ye=(f,p,g,w=!1,y=!1)=>{const{type:N,props:L,ref:S,children:x,dynamicChildren:C,shapeFlag:F,patchFlag:$,dirs:H}=f;if(S!=null&&Ti(S,null,g,f,!0),F&256){p.ctx.deactivate(f);return}const W=F&1&&H,Z=!Ks(f);let ae;if(Z&&(ae=L&&L.onVnodeBeforeUnmount)&&st(ae,p,f),F&6)I(f.component,g,w);else{if(F&128){f.suspense.unmount(g,w);return}W&&Ut(f,null,p,"beforeUnmount"),F&64?f.type.remove(f,p,g,y,le,w):C&&(N!==Pe||$>0&&$&64)?R(C,p,g,!1,!0):(N===Pe&&$&384||!y&&F&16)&&R(x,p,g),w&&tt(f)}(Z&&(ae=L&&L.onVnodeUnmounted)||W)&&Re(()=>{ae&&st(ae,p,f),W&&Ut(f,null,p,"unmounted")},g)},tt=f=>{const{type:p,el:g,anchor:w,transition:y}=f;if(p===Pe){v(g,w);return}if(p===qs){j(f);return}const N=()=>{r(g),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:L,delayLeave:S}=y,x=()=>L(g,N);S?S(f.el,N,x):x()}else N()},v=(f,p)=>{let g;for(;f!==p;)g=h(f),r(f),f=g;r(p)},I=(f,p,g)=>{const{bum:w,scope:y,update:N,subTree:L,um:S}=f;w&&js(w),y.stop(),N&&(N.active=!1,ye(L,f,p,g)),S&&Re(S,p),Re(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},R=(f,p,g,w=!1,y=!1,N=0)=>{for(let L=N;Lf.shapeFlag&6?M(f.component.subTree):f.shapeFlag&128?f.suspense.next():h(f.anchor||f.el),ie=(f,p,g)=>{f==null?p._vnode&&ye(p._vnode,null,null,!0):A(p._vnode||null,f,p,null,null,null,g),dc(),p._vnode=f},le={p:A,um:ye,m:Te,r:tt,mt:xe,mc:q,pc:me,pbc:ee,n:M,o:e};let G,Y;return t&&([G,Y]=t(le)),{render:ie,hydrate:G,createApp:Qh(ie,G)}}function Wt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ic(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let i=0;i>1,e[n[a]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const np=e=>e.__isTeleport,Pe=Symbol(void 0),lo=Symbol(void 0),Qe=Symbol(void 0),qs=Symbol(void 0),Zn=[];let Xe=null;function Qt(e=!1){Zn.push(Xe=e?null:[])}function sp(){Zn.pop(),Xe=Zn[Zn.length-1]||null}let us=1;function ca(e){us+=e}function $c(e){return e.dynamicChildren=us>0?Xe||En:null,sp(),us>0&&Xe&&Xe.push(e),e}function yn(e,t,n,s,r,i){return $c(Ve(e,t,n,s,r,i,!0))}function rp(e,t,n,s,r){return $c(ge(e,t,n,s,r,!0))}function Oi(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const Cr="__vInternal",Mc=({key:e})=>e??null,zs=({ref:e,ref_key:t,ref_for:n})=>e!=null?ve(e)||Ae(e)||X(e)?{i:Be,r:e,k:t,f:!!n}:e:null;function Ve(e,t=null,n=null,s=0,r=null,i=e===Pe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Mc(t),ref:t&&zs(t),scopeId:wr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return a?(co(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ve(n)?8:16),us>0&&!o&&Xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xe.push(l),l}const ge=ip;function ip(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===kh)&&(e=Qe),Oi(e)){const a=Mt(e,t,!0);return n&&co(a,n),us>0&&!i&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag|=-2,a}if(gp(e)&&(e=e.__vccOpts),t){t=op(t);let{class:a,style:l}=t;a&&!ve(a)&&(t.class=zi(a)),_e(l)&&(tc(l)&&!U(l)&&(l=Oe({},l)),t.style=qi(l))}const o=ve(e)?1:yh(e)?128:np(e)?64:_e(e)?4:X(e)?2:0;return Ve(e,t,n,s,r,o,i,!0)}function op(e){return e?tc(e)||Cr in e?Oe({},e):e:null}function Mt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,a=t?ap(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Mc(a),ref:t&&t.ref?n&&r?U(r)?r.concat(zs(t)):[r,zs(t)]:zs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor}}function kc(e=" ",t=0){return ge(lo,null,e,t)}function Fc(e,t){const n=ge(qs,null,e);return n.staticCount=t,n}function wy(e="",t=!1){return t?(Qt(),rp(Qe,null,e)):ge(Qe,null,e)}function it(e){return e==null||typeof e=="boolean"?ge(Qe):U(e)?ge(Pe,null,e.slice()):typeof e=="object"?Nt(e):ge(lo,null,String(e))}function Nt(e){return e.el===null||e.memo?e:Mt(e)}function co(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),co(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Cr in t)?t._ctx=Be:r===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),s&64?(n=16,t=[kc(t)]):n=8);e.children=t,e.shapeFlag|=n}function ap(...e){const t={};for(let n=0;nbe||Be,Tn=e=>{be=e,e.scope.on()},Zt=()=>{be&&be.scope.off(),be=null};function Hc(e){return e.vnode.shapeFlag&4}let fs=!1;function dp(e,t=!1){fs=t;const{props:n,children:s}=e.vnode,r=Hc(e);qh(e,n,r,t),Gh(e,s);const i=r?hp(e,t):void 0;return fs=!1,i}function hp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nc(new Proxy(e.ctx,Bh));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?mp(e):null;Tn(e),kn();const i=Lt(s,e,0,[e.props,r]);if(Fn(),Zt(),Vl(i)){if(i.then(Zt,Zt),t)return i.then(o=>{ua(e,o,t)}).catch(o=>{vr(o,e,0)});e.asyncDep=i}else ua(e,i,t)}else Bc(e,t)}function ua(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=oc(t)),Bc(e,n)}let fa;function Bc(e,t,n){const s=e.type;if(!e.render){if(!t&&fa&&!s.render){const r=s.template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Oe(Oe({isCustomElement:i,delimiters:a},o),l);s.render=fa(r,c)}}e.render=s.render||Je}Tn(e),kn(),Vh(e),Fn(),Zt()}function pp(e){return new Proxy(e.attrs,{get(t,n){return Me(e,"get","$attrs"),t[n]}})}function mp(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=pp(e))},slots:e.slots,emit:e.emit,expose:t}}function Sr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(oc(nc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sr)return sr[n](e)}}))}function _p(e){return X(e)&&e.displayName||e.name}function gp(e){return X(e)&&"__vccOpts"in e}const ot=(e,t)=>uh(e,t,fs);function Vc(e,t,n){const s=arguments.length;return s===2?_e(t)&&!U(t)?Oi(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Oi(n)&&(n=[n]),ge(e,t,n))}const Ep="3.2.36",bp="http://www.w3.org/2000/svg",zt=typeof document<"u"?document:null,da=zt&&zt.createElement("template"),vp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?zt.createElementNS(bp,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{da.innerHTML=s?`${e}`:e;const a=da.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function yp(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ap(e,t,n){const s=e.style,r=ve(n);if(n&&!r){for(const i in n)Ci(s,i,n[i]);if(t&&!ve(t))for(const i in t)n[i]==null&&Ci(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const ha=/\s*!important$/;function Ci(e,t,n){if(U(n))n.forEach(s=>Ci(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wp(e,t);ha.test(n)?e.setProperty(Mn(s),n.replace(ha,""),"important"):e[s]=n}}const pa=["Webkit","Moz","ms"],Ur={};function wp(e,t){const n=Ur[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return Ur[t]=s;s=Er(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Si=0;const Sp=Promise.resolve(),Np=()=>{Si=0},xp=()=>Si||(Sp.then(Np),Si=jc());function Rt(e,t,n,s){e.addEventListener(t,n,s)}function Rp(e,t,n,s){e.removeEventListener(t,n,s)}function Pp(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=Lp(t);if(s){const c=i[t]=Dp(s,r);Rt(e,a,c,l)}else o&&(Rp(e,a,o,l),i[t]=void 0)}}const _a=/(?:Once|Passive|Capture)$/;function Lp(e){let t;if(_a.test(e)){t={};let n;for(;n=e.match(_a);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Mn(e.slice(2)),t]}function Dp(e,t){const n=s=>{const r=s.timeStamp||jc();(Cp||r>=n.attached-1)&&je(Ip(s,n.value),t,5,[s])};return n.value=e,n.attached=xp(),n}function Ip(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const ga=/^on[a-z]/,$p=(e,t,n,s,r=!1,i,o,a,l)=>{t==="class"?yp(e,s,r):t==="style"?Ap(e,n,s):mr(t)?Yi(t)||Pp(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mp(e,t,s,r))?Op(e,t,s,i,o,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Tp(e,t,s,r))};function Mp(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ga.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ga.test(t)&&ve(n)?!1:t in e}const kp={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ch.props;const On=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>js(t,n):t};function Fp(e){e.target.composing=!0}function Ea(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ty={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=On(r);const i=s||r.props&&r.props.type==="number";Rt(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=er(a)),e._assign(a)}),n&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",Fp),Rt(e,"compositionend",Ea),Rt(e,"change",Ea))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=On(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&er(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Oy={created(e,{value:t},n){e.checked=wn(t,n.props.value),e._assign=On(n),Rt(e,"change",()=>{e._assign(ds(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=On(s),t!==n&&(e.checked=wn(t,s.props.value))}},Cy={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=_r(t);Rt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?er(ds(o)):ds(o));e._assign(e.multiple?r?new Set(i):i:i[0])}),e._assign=On(s)},mounted(e,{value:t}){ba(e,t)},beforeUpdate(e,t,n){e._assign=On(n)},updated(e,{value:t}){ba(e,t)}};function ba(e,t){const n=e.multiple;if(!(n&&!U(t)&&!_r(t))){for(let s=0,r=e.options.length;s-1:i.selected=t.has(o);else if(wn(ds(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}const Hp=Oe({patchProp:$p},vp);let va;function Bp(){return va||(va=Zh(Hp))}const Vp=(...e)=>{const t=Bp().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=jp(s);if(!r)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function jp(e){return ve(e)?document.querySelector(e):e}function ir(e){return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(e)}function Ys(e,t){if(!e.vueAxiosInstalled){var n=Uc(t)?Kp(t):t;if(qp(n)){var s=zp(e);if(s){var r=s<3?Up:Wp;Object.keys(n).forEach(function(i){r(e,i,n[i])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function Up(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function Wp(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function Uc(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function Kp(e){return{axios:e,$http:e}}function qp(e){return ir(e)==="object"&&Object.keys(e).every(function(t){return Uc(e[t])})}function zp(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof exports>"u"?"undefined":ir(exports))=="object"?module.exports=Ys:typeof define=="function"&&define.amd?define([],function(){return Ys}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(Ys,window.axios);const Yp=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Gp={},Xp={class:"py-4"},Jp={class:"container mb-8"};function Qp(e,t){const n=oo("router-view");return Qt(),yn("main",Xp,[Ve("div",Jp,[ge(n)])])}const Zp=Yp(Gp,[["render",Qp],["__scopeId","data-v-052d2f9e"]]),em={class:"navbar-nav me-auto"},tm={class:"nav-item"},nm=Fc('',1),sm={name:"Menu",setup(e){const t=ro([{name:"首页",route:"index"},{name:"穿透隧道",route:"tunnels"},{name:"创建隧道",route:"tunnels.create"},{name:"流量补给",route:"sign"},{name:"充值",route:"charge"},{name:"节点状态",route:"status"},{name:"发工单",route:"ticket"},{name:"客户端下载",route:"downloads"}]);return(n,s)=>{const r=oo("router-link");return Qt(),yn(Pe,null,[Ve("ul",em,[(Qt(!0),yn(Pe,null,Hh(t.value,i=>(Qt(),yn("li",tm,[ge(r,{to:{name:i.route},"active-class":"active",class:"nav-link text-auto"},{default:mc(()=>[kc(Hl(i.name),1)]),_:2},1032,["to"])]))),256))]),nm],64)}}},rm={class:"navbar navbar-expand-md shadow-sm bg-body"},im={class:"container"},om=Ve("button",{"aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"切换导航",class:"navbar-toggler","data-bs-target":"#navbarSupportedContent","data-bs-toggle":"collapse",type:"button"},[Ve("span",{class:"bi bi-list text-auto fs-1"})],-1),am={id:"navbarSupportedContent",class:"collapse navbar-collapse"},lm=Fc('
用户 ID

财务

余额: xxx 元
',1),cm={name:"Nav",setup(e){const t=ro(window.Base.SiteName);return(n,s)=>{const r=oo("router-link");return Qt(),yn(Pe,null,[Ve("div",null,[Ve("nav",rm,[Ve("div",im,[ge(r,{class:"navbar-brand text-auto",to:"/",textContent:Hl(t.value)},null,8,["textContent"]),om,Ve("div",am,[ge(sm)])])])]),lm],64)}}},um={name:"App",setup(e){return(t,n)=>(Qt(),yn(Pe,null,[Ve("div",null,[ge(cm)]),Ve("div",null,[ge(Zp)])],64))}},fm="modulepreload",dm=function(e){return"/build/"+e},ya={},dt=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=dm(i),i in ya)return;ya[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":fm,o||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),o)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};/*! * vue-router v4.0.13 * (c) 2022 Eduardo San Martin Morote * @license MIT @@ -8,7 +8,7 @@ function gl(e,t){return function(){return e.apply(t,arguments)}}const{toString:E * Bootstrap v5.3.0-alpha1 (https://getbootstrap.com/) * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */const sg=1e6,rg=1e3,Ii="transitionend",Su=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),ig=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),og=e=>{do e+=Math.floor(Math.random()*sg);while(document.getElementById(e));return e},ag=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*rg)},Nu=e=>{e.dispatchEvent(new Event(Ii))},mt=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),kt=e=>mt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Su(e)):null,Vn=e=>{if(!mt(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},Ft=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",xu=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?xu(e.parentNode):null},lr=()=>{},vs=e=>{e.offsetHeight},Ru=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,zr=[],lg=e=>{document.readyState==="loading"?(zr.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of zr)t()}),zr.push(e)):e()},We=()=>document.documentElement.dir==="rtl",qe=e=>{lg(()=>{const t=Ru();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},Le=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,Pu=(e,t,n=!0)=>{if(!n){Le(e);return}const s=5,r=ag(t)+s;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(Ii,o),Le(e))};t.addEventListener(Ii,o),setTimeout(()=>{i||Nu(t)},r)},Co=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},cg=/[^.]*(?=\..*)\.|.*/,ug=/\..*/,fg=/::\d+$/,Yr={};let Wa=1;const Lu={mouseenter:"mouseover",mouseleave:"mouseout"},dg=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Du(e,t){return t&&`${t}::${Wa++}`||e.uidEvent||Wa++}function Iu(e){const t=Du(e);return e.uidEvent=t,Yr[t]=Yr[t]||{},Yr[t]}function hg(e,t){return function n(s){return So(s,{delegateTarget:e}),n.oneOff&&O.off(e,s.type,t),t.apply(e,[s])}}function pg(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return So(r,{delegateTarget:o}),s.oneOff&&O.off(e,r.type,t,n),n.apply(o,[r])}}function $u(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function Mu(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=ku(e);return dg.has(i)||(i=e),[s,r,i]}function Ka(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,o,a]=Mu(t,n,s);t in Lu&&(o=(_=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return _.call(this,E)})(o));const l=Iu(e),c=l[a]||(l[a]={}),u=$u(c,o,i?n:null);if(u){u.oneOff=u.oneOff&&r;return}const d=Du(o,t.replace(cg,"")),h=i?pg(e,n,o):hg(e,o);h.delegationSelector=i?n:null,h.callable=o,h.oneOff=r,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,i)}function $i(e,t,n,s,r){const i=$u(t[n],s,r);i&&(e.removeEventListener(n,i,Boolean(r)),delete t[n][i.uidEvent])}function mg(e,t,n,s){const r=t[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&$i(e,t,n,o.callable,o.delegationSelector)}function ku(e){return e=e.replace(ug,""),Lu[e]||e}const O={on(e,t,n,s){Ka(e,t,n,s,!1)},one(e,t,n,s){Ka(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,i,o]=Mu(t,n,s),a=o!==t,l=Iu(e),c=l[o]||{},u=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;$i(e,l,o,i,r?n:null);return}if(u)for(const d of Object.keys(l))mg(e,l,d,t.slice(1));for(const[d,h]of Object.entries(c)){const m=d.replace(fg,"");(!a||t.includes(m))&&$i(e,l,o,h.callable,h.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=Ru(),r=ku(t),i=t!==r;let o=null,a=!0,l=!0,c=!1;i&&s&&(o=s.Event(t,n),s(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(t,{bubbles:a,cancelable:!0});return u=So(u,n),c&&u.preventDefault(),l&&e.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function So(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}const Ct=new Map,Gr={set(e,t,n){Ct.has(e)||Ct.set(e,new Map);const s=Ct.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return Ct.has(e)&&Ct.get(e).get(t)||null},remove(e,t){if(!Ct.has(e))return;const n=Ct.get(e);n.delete(t),n.size===0&&Ct.delete(e)}};function qa(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Xr(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const _t={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Xr(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Xr(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=qa(e.dataset[s])}return t},getDataAttribute(e,t){return qa(e.getAttribute(`data-bs-${Xr(t)}`))}};class ys{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const s=mt(n)?_t.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...mt(n)?_t.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=t[s],o=mt(i)?"element":ig(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const _g="5.3.0-alpha1";class Ze extends ys{constructor(t,n){super(),t=kt(t),t&&(this._element=t,this._config=this._getConfig(n),Gr.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Gr.remove(this._element,this.constructor.DATA_KEY),O.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){Pu(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Gr.get(kt(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return _g}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Jr=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return Su(t)},V={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!Ft(n)&&Vn(n))},getSelectorFromElement(e){const t=Jr(e);return t&&V.findOne(t)?t:null},getElementFromSelector(e){const t=Jr(e);return t?V.findOne(t):null},getMultipleElementsFromSelector(e){const t=Jr(e);return t?V.find(t):[]}},Lr=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;O.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Ft(this))return;const i=V.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(i)[t]()})},gg="alert",Eg="bs.alert",Fu=`.${Eg}`,bg=`close${Fu}`,vg=`closed${Fu}`,yg="fade",Ag="show";class Dr extends Ze{static get NAME(){return gg}close(){if(O.trigger(this._element,bg).defaultPrevented)return;this._element.classList.remove(Ag);const n=this._element.classList.contains(yg);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),O.trigger(this._element,vg),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Dr.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Lr(Dr,"close");qe(Dr);const wg="button",Tg="bs.button",Og=`.${Tg}`,Cg=".data-api",Sg="active",za='[data-bs-toggle="button"]',Ng=`click${Og}${Cg}`;class Ir extends Ze{static get NAME(){return wg}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Sg))}static jQueryInterface(t){return this.each(function(){const n=Ir.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}O.on(document,Ng,za,e=>{e.preventDefault();const t=e.target.closest(za);Ir.getOrCreateInstance(t).toggle()});qe(Ir);const xg="swipe",jn=".bs.swipe",Rg=`touchstart${jn}`,Pg=`touchmove${jn}`,Lg=`touchend${jn}`,Dg=`pointerdown${jn}`,Ig=`pointerup${jn}`,$g="touch",Mg="pen",kg="pointer-event",Fg=40,Hg={endCallback:null,leftCallback:null,rightCallback:null},Bg={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class cr extends ys{constructor(t,n){super(),this._element=t,!(!t||!cr.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Hg}static get DefaultType(){return Bg}static get NAME(){return xg}dispose(){O.off(this._element,jn)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Le(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Fg)return;const n=t/this._deltaX;this._deltaX=0,n&&Le(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(O.on(this._element,Dg,t=>this._start(t)),O.on(this._element,Ig,t=>this._end(t)),this._element.classList.add(kg)):(O.on(this._element,Rg,t=>this._start(t)),O.on(this._element,Pg,t=>this._move(t)),O.on(this._element,Lg,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Mg||t.pointerType===$g)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Vg="carousel",jg="bs.carousel",Vt=`.${jg}`,Hu=".data-api",Ug="ArrowLeft",Wg="ArrowRight",Kg=500,qn="next",cn="prev",mn="left",Xs="right",qg=`slide${Vt}`,Qr=`slid${Vt}`,zg=`keydown${Vt}`,Yg=`mouseenter${Vt}`,Gg=`mouseleave${Vt}`,Xg=`dragstart${Vt}`,Jg=`load${Vt}${Hu}`,Qg=`click${Vt}${Hu}`,Bu="carousel",Ps="active",Zg="slide",eE="carousel-item-end",tE="carousel-item-start",nE="carousel-item-next",sE="carousel-item-prev",Vu=".active",ju=".carousel-item",rE=Vu+ju,iE=".carousel-item img",oE=".carousel-indicators",aE="[data-bs-slide], [data-bs-slide-to]",lE='[data-bs-ride="carousel"]',cE={[Ug]:Xs,[Wg]:mn},uE={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},fE={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class As extends Ze{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=V.findOne(oE,this._element),this._addEventListeners(),this._config.ride===Bu&&this.cycle()}static get Default(){return uE}static get DefaultType(){return fE}static get NAME(){return Vg}next(){this._slide(qn)}nextWhenVisible(){!document.hidden&&Vn(this._element)&&this.next()}prev(){this._slide(cn)}pause(){this._isSliding&&Nu(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){O.one(this._element,Qr,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){O.one(this._element,Qr,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?qn:cn;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&O.on(this._element,zg,t=>this._keydown(t)),this._config.pause==="hover"&&(O.on(this._element,Yg,()=>this.pause()),O.on(this._element,Gg,()=>this._maybeEnableCycle())),this._config.touch&&cr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of V.find(iE,this._element))O.on(s,Xg,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(mn)),rightCallback:()=>this._slide(this._directionToOrder(Xs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Kg+this._config.interval))}};this._swipeHelper=new cr(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=cE[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=V.findOne(Vu,this._indicatorsElement);n.classList.remove(Ps),n.removeAttribute("aria-current");const s=V.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(Ps),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===qn,i=n||Co(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=m=>O.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(qg).defaultPrevented||!s||!i)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const u=r?tE:eE,d=r?nE:sE;i.classList.add(d),vs(i),s.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(Ps),s.classList.remove(Ps,d,u),this._isSliding=!1,a(Qr)};this._queueCallback(h,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Zg)}_getActive(){return V.findOne(rE,this._element)}_getItems(){return V.find(ju,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return We()?t===mn?cn:qn:t===mn?qn:cn}_orderToDirection(t){return We()?t===cn?mn:Xs:t===cn?Xs:mn}static jQueryInterface(t){return this.each(function(){const n=As.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}O.on(document,Qg,aE,function(e){const t=V.getElementFromSelector(this);if(!t||!t.classList.contains(Bu))return;e.preventDefault();const n=As.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(_t.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});O.on(window,Jg,()=>{const e=V.find(lE);for(const t of e)As.getOrCreateInstance(t)});qe(As);const dE="collapse",hE="bs.collapse",ws=`.${hE}`,pE=".data-api",mE=`show${ws}`,_E=`shown${ws}`,gE=`hide${ws}`,EE=`hidden${ws}`,bE=`click${ws}${pE}`,Zr="show",gn="collapse",Ls="collapsing",vE="collapsed",yE=`:scope .${gn} .${gn}`,AE="collapse-horizontal",wE="width",TE="height",OE=".collapse.show, .collapse.collapsing",Mi='[data-bs-toggle="collapse"]',CE={parent:null,toggle:!0},SE={parent:"(null|element)",toggle:"boolean"};class ps extends Ze{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=V.find(Mi);for(const r of s){const i=V.getSelectorFromElement(r),o=V.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return CE}static get DefaultType(){return SE}static get NAME(){return dE}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(OE).filter(a=>a!==this._element).map(a=>ps.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||O.trigger(this._element,mE).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(gn),this._element.classList.add(Ls),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Ls),this._element.classList.add(gn,Zr),this._element.style[s]="",O.trigger(this._element,_E)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||O.trigger(this._element,gE).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,vs(this._element),this._element.classList.add(Ls),this._element.classList.remove(gn,Zr);for(const r of this._triggerArray){const i=V.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Ls),this._element.classList.add(gn),O.trigger(this._element,EE)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Zr)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=kt(t.parent),t}_getDimension(){return this._element.classList.contains(AE)?wE:TE}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Mi);for(const n of t){const s=V.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=V.find(yE,this._config.parent);return V.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(vE,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=ps.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}O.on(document,bE,Mi,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of V.getMultipleElementsFromSelector(this))ps.getOrCreateInstance(t,{toggle:!1}).toggle()});qe(ps);const Ya="dropdown",NE="bs.dropdown",sn=`.${NE}`,No=".data-api",xE="Escape",Ga="Tab",RE="ArrowUp",Xa="ArrowDown",PE=2,LE=`hide${sn}`,DE=`hidden${sn}`,IE=`show${sn}`,$E=`shown${sn}`,Uu=`click${sn}${No}`,Wu=`keydown${sn}${No}`,ME=`keyup${sn}${No}`,_n="show",kE="dropup",FE="dropend",HE="dropstart",BE="dropup-center",VE="dropdown-center",Gt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',jE=`${Gt}.${_n}`,Js=".dropdown-menu",UE=".navbar",WE=".navbar-nav",KE=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qE=We()?"top-end":"top-start",zE=We()?"top-start":"top-end",YE=We()?"bottom-end":"bottom-start",GE=We()?"bottom-start":"bottom-end",XE=We()?"left-start":"right-start",JE=We()?"right-start":"left-start",QE="top",ZE="bottom",eb={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},tb={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ct extends Ze{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=V.next(this._element,Js)[0]||V.prev(this._element,Js)[0]||V.findOne(Js,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return Ya}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ft(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!O.trigger(this._element,IE,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(WE))for(const s of[].concat(...document.body.children))O.on(s,"mouseover",lr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_n),this._element.classList.add(_n),O.trigger(this._element,$E,t)}}hide(){if(Ft(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!O.trigger(this._element,LE,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))O.off(s,"mouseover",lr);this._popper&&this._popper.destroy(),this._menu.classList.remove(_n),this._element.classList.remove(_n),this._element.setAttribute("aria-expanded","false"),_t.removeDataAttribute(this._menu,"popper"),O.trigger(this._element,DE,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!mt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Ya.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Cu>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:mt(this._config.reference)?t=kt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Oo(t,this._menu,n)}_isShown(){return this._menu.classList.contains(_n)}_getPlacement(){const t=this._parent;if(t.classList.contains(FE))return XE;if(t.classList.contains(HE))return JE;if(t.classList.contains(BE))return QE;if(t.classList.contains(VE))return ZE;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(kE)?n?zE:qE:n?GE:YE}_detectNavbar(){return this._element.closest(UE)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(_t.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Le(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const s=V.find(KE,this._menu).filter(r=>Vn(r));s.length&&Co(s,n,t===Xa,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=ct.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===PE||t.type==="keyup"&&t.key!==Ga)return;const n=V.find(jE);for(const s of n){const r=ct.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Ga||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===xE,r=[RE,Xa].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const i=this.matches(Gt)?this:V.prev(this,Gt)[0]||V.next(this,Gt)[0]||V.findOne(Gt,t.delegateTarget.parentNode),o=ct.getOrCreateInstance(i);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}O.on(document,Wu,Gt,ct.dataApiKeydownHandler);O.on(document,Wu,Js,ct.dataApiKeydownHandler);O.on(document,Uu,ct.clearMenus);O.on(document,ME,ct.clearMenus);O.on(document,Uu,Gt,function(e){e.preventDefault(),ct.getOrCreateInstance(this).toggle()});qe(ct);const Ja=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qa=".sticky-top",Ds="padding-right",Za="margin-right";class ki{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ds,n=>n+t),this._setElementAttributes(Ja,Ds,n=>n+t),this._setElementAttributes(Qa,Za,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ds),this._resetElementAttributes(Ja,Ds),this._resetElementAttributes(Qa,Za)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&_t.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const i=_t.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}_t.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(mt(t)){n(t);return}for(const s of V.find(t,this._element))n(s)}}const Ku="backdrop",nb="fade",el="show",tl=`mousedown.bs.${Ku}`,sb={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},rb={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class qu extends ys{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return sb}static get DefaultType(){return rb}static get NAME(){return Ku}show(t){if(!this._config.isVisible){Le(t);return}this._append();const n=this._getElement();this._config.isAnimated&&vs(n),n.classList.add(el),this._emulateAnimation(()=>{Le(t)})}hide(t){if(!this._config.isVisible){Le(t);return}this._getElement().classList.remove(el),this._emulateAnimation(()=>{this.dispose(),Le(t)})}dispose(){this._isAppended&&(O.off(this._element,tl),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(nb),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=kt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),O.on(t,tl,()=>{Le(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Pu(t,this._getElement(),this._config.isAnimated)}}const ib="focustrap",ob="bs.focustrap",ur=`.${ob}`,ab=`focusin${ur}`,lb=`keydown.tab${ur}`,cb="Tab",ub="forward",nl="backward",fb={autofocus:!0,trapElement:null},db={autofocus:"boolean",trapElement:"element"};class zu extends ys{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return fb}static get DefaultType(){return db}static get NAME(){return ib}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),O.off(document,ur),O.on(document,ab,t=>this._handleFocusin(t)),O.on(document,lb,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,O.off(document,ur))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=V.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===nl?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===cb&&(this._lastTabNavDirection=t.shiftKey?nl:ub)}}const hb="modal",pb="bs.modal",et=`.${pb}`,mb=".data-api",_b="Escape",gb=`hide${et}`,Eb=`hidePrevented${et}`,Yu=`hidden${et}`,Gu=`show${et}`,bb=`shown${et}`,vb=`resize${et}`,yb=`click.dismiss${et}`,Ab=`mousedown.dismiss${et}`,wb=`keydown.dismiss${et}`,Tb=`click${et}${mb}`,sl="modal-open",Ob="fade",rl="show",ei="modal-static",Cb=".modal.show",Sb=".modal-dialog",Nb=".modal-body",xb='[data-bs-toggle="modal"]',Rb={backdrop:!0,focus:!0,keyboard:!0},Pb={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Dn extends Ze{constructor(t,n){super(t,n),this._dialog=V.findOne(Sb,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ki,this._addEventListeners()}static get Default(){return Rb}static get DefaultType(){return Pb}static get NAME(){return hb}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||O.trigger(this._element,Gu,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sl),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||O.trigger(this._element,gb).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(rl),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])O.off(t,et);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new qu({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new zu({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=V.findOne(Nb,this._dialog);n&&(n.scrollTop=0),vs(this._element),this._element.classList.add(rl);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,O.trigger(this._element,bb,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){O.on(this._element,wb,t=>{if(t.key===_b){if(this._config.keyboard){t.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),O.on(window,vb,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),O.on(this._element,Ab,t=>{O.one(this._element,yb,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sl),this._resetAdjustments(),this._scrollBar.reset(),O.trigger(this._element,Yu)})}_isAnimated(){return this._element.classList.contains(Ob)}_triggerBackdropTransition(){if(O.trigger(this._element,Eb).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(ei)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(ei),this._queueCallback(()=>{this._element.classList.remove(ei),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=We()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=We()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=Dn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}O.on(document,Tb,xb,function(e){const t=V.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),O.one(t,Gu,r=>{r.defaultPrevented||O.one(t,Yu,()=>{Vn(this)&&this.focus()})});const n=V.findOne(Cb);n&&Dn.getInstance(n).hide(),Dn.getOrCreateInstance(t).toggle(this)});Lr(Dn);qe(Dn);const Lb="offcanvas",Db="bs.offcanvas",yt=`.${Db}`,Xu=".data-api",Ib=`load${yt}${Xu}`,$b="Escape",il="show",ol="showing",al="hiding",Mb="offcanvas-backdrop",Ju=".offcanvas.show",kb=`show${yt}`,Fb=`shown${yt}`,Hb=`hide${yt}`,ll=`hidePrevented${yt}`,Qu=`hidden${yt}`,Bb=`resize${yt}`,Vb=`click${yt}${Xu}`,jb=`keydown.dismiss${yt}`,Ub='[data-bs-toggle="offcanvas"]',Wb={backdrop:!0,keyboard:!0,scroll:!1},Kb={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ht extends Ze{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Wb}static get DefaultType(){return Kb}static get NAME(){return Lb}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||O.trigger(this._element,kb,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ki().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ol);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(il),this._element.classList.remove(ol),O.trigger(this._element,Fb,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||O.trigger(this._element,Hb).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(al),this._backdrop.hide();const n=()=>{this._element.classList.remove(il,al),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ki().reset(),O.trigger(this._element,Qu)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){O.trigger(this._element,ll);return}this.hide()},n=Boolean(this._config.backdrop);return new qu({className:Mb,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new zu({trapElement:this._element})}_addEventListeners(){O.on(this._element,jb,t=>{if(t.key===$b){if(!this._config.keyboard){O.trigger(this._element,ll);return}this.hide()}})}static jQueryInterface(t){return this.each(function(){const n=Ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}O.on(document,Vb,Ub,function(e){const t=V.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ft(this))return;O.one(t,Qu,()=>{Vn(this)&&this.focus()});const n=V.findOne(Ju);n&&n!==t&&Ht.getInstance(n).hide(),Ht.getOrCreateInstance(t).toggle(this)});O.on(window,Ib,()=>{for(const e of V.find(Ju))Ht.getOrCreateInstance(e).show()});O.on(window,Bb,()=>{for(const e of V.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Ht.getOrCreateInstance(e).hide()});Lr(Ht);qe(Ht);const qb=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zb=/^aria-[\w-]*$/i,Yb=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Gb=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Xb=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?qb.has(n)?Boolean(Yb.test(e.nodeValue)||Gb.test(e.nodeValue)):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))},Zu={"*":["class","dir","id","lang","role",zb],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Jb(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[a]||[]);for(const u of l)Xb(u,c)||o.removeAttribute(u.nodeName)}return r.body.innerHTML}const Qb="TemplateFactory",Zb={allowList:Zu,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},ev={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tv={entry:"(string|element|function|null)",selector:"(string|element)"};class nv extends ys{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Zb}static get DefaultType(){return ev}static get NAME(){return Qb}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(t,i,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},tv)}_setContent(t,n,s){const r=V.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(mt(n)){this._putElementInTemplate(kt(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?Jb(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Le(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const sv="tooltip",rv=new Set(["sanitize","allowList","sanitizeFn"]),ti="fade",iv="modal",Is="show",ov=".tooltip-inner",cl=`.${iv}`,ul="hide.bs.modal",zn="hover",ni="focus",av="click",lv="manual",cv="hide",uv="hidden",fv="show",dv="shown",hv="inserted",pv="click",mv="focusin",_v="focusout",gv="mouseenter",Ev="mouseleave",bv={AUTO:"auto",TOP:"top",RIGHT:We()?"left":"right",BOTTOM:"bottom",LEFT:We()?"right":"left"},vv={allowList:Zu,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},yv={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class rn extends Ze{constructor(t,n){if(typeof Cu>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return vv}static get DefaultType(){return yv}static get NAME(){return sv}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),O.off(this._element.closest(cl),ul,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=O.trigger(this._element,this.constructor.eventName(fv)),s=(xu(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),O.trigger(this._element,this.constructor.eventName(hv))),this._popper=this._createPopper(r),r.classList.add(Is),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))O.on(a,"mouseover",lr);const o=()=>{O.trigger(this._element,this.constructor.eventName(dv)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||O.trigger(this._element,this.constructor.eventName(cv)).defaultPrevented)return;if(this._getTipElement().classList.remove(Is),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))O.off(r,"mouseover",lr);this._activeTrigger[av]=!1,this._activeTrigger[ni]=!1,this._activeTrigger[zn]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),O.trigger(this._element,this.constructor.eventName(uv)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(ti,Is),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=og(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(ti),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new nv({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ov]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ti)}_isShown(){return this.tip&&this.tip.classList.contains(Is)}_createPopper(t){const n=Le(this._config.placement,[this,t,this._element]),s=bv[n.toUpperCase()];return Oo(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return Le(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...Le(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")O.on(this._element,this.constructor.eventName(pv),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==lv){const s=n===zn?this.constructor.eventName(gv):this.constructor.eventName(mv),r=n===zn?this.constructor.eventName(Ev):this.constructor.eventName(_v);O.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?ni:zn]=!0,o._enter()}),O.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?ni:zn]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},O.on(this._element.closest(cl),ul,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=_t.getDataAttributes(this._element);for(const s of Object.keys(n))rv.has(s)&&delete n[s];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:kt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(t[n]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=rn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}qe(rn);const Av="popover",wv=".popover-header",Tv=".popover-body",Ov={...rn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Cv={...rn.DefaultType,content:"(null|string|element|function)"};class xo extends rn{static get Default(){return Ov}static get DefaultType(){return Cv}static get NAME(){return Av}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[wv]:this._getTitle(),[Tv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=xo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}qe(xo);const Sv="scrollspy",Nv="bs.scrollspy",Ro=`.${Nv}`,xv=".data-api",Rv=`activate${Ro}`,fl=`click${Ro}`,Pv=`load${Ro}${xv}`,Lv="dropdown-item",un="active",Dv='[data-bs-spy="scroll"]',si="[href]",Iv=".nav, .list-group",dl=".nav-link",$v=".nav-item",Mv=".list-group-item",kv=`${dl}, ${$v} > ${dl}, ${Mv}`,Fv=".dropdown",Hv=".dropdown-toggle",Bv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Vv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class $r extends Ze{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Bv}static get DefaultType(){return Vv}static get NAME(){return Sv}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=kt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(O.off(this._config.target,fl),O.on(this._config.target,fl,si,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=V.find(si,this._config.target);for(const n of t){if(!n.hash||Ft(n))continue;const s=V.findOne(n.hash,this._element);Vn(s)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(un),this._activateParents(t),O.trigger(this._element,Rv,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Lv)){V.findOne(Hv,t.closest(Fv)).classList.add(un);return}for(const n of V.parents(t,Iv))for(const s of V.prev(n,kv))s.classList.add(un)}_clearActiveClass(t){t.classList.remove(un);const n=V.find(`${si}.${un}`,t);for(const s of n)s.classList.remove(un)}static jQueryInterface(t){return this.each(function(){const n=$r.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}O.on(window,Pv,()=>{for(const e of V.find(Dv))$r.getOrCreateInstance(e)});qe($r);const jv="tab",Uv="bs.tab",on=`.${Uv}`,Wv=`hide${on}`,Kv=`hidden${on}`,qv=`show${on}`,zv=`shown${on}`,Yv=`click${on}`,Gv=`keydown${on}`,Xv=`load${on}`,Jv="ArrowLeft",hl="ArrowRight",Qv="ArrowUp",pl="ArrowDown",Xt="active",ml="fade",ri="show",Zv="dropdown",ey=".dropdown-toggle",ty=".dropdown-menu",ii=":not(.dropdown-toggle)",ny='.list-group, .nav, [role="tablist"]',sy=".nav-item, .list-group-item",ry=`.nav-link${ii}, .list-group-item${ii}, [role="tab"]${ii}`,ef='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',oi=`${ry}, ${ef}`,iy=`.${Xt}[data-bs-toggle="tab"], .${Xt}[data-bs-toggle="pill"], .${Xt}[data-bs-toggle="list"]`;class In extends Ze{constructor(t){super(t),this._parent=this._element.closest(ny),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),O.on(this._element,Gv,n=>this._keydown(n)))}static get NAME(){return jv}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?O.trigger(n,Wv,{relatedTarget:t}):null;O.trigger(t,qv,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(Xt),this._activate(V.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ri);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),O.trigger(t,zv,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(ml))}_deactivate(t,n){if(!t)return;t.classList.remove(Xt),t.blur(),this._deactivate(V.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ri);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),O.trigger(t,Kv,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(ml))}_keydown(t){if(![Jv,hl,Qv,pl].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=[hl,pl].includes(t.key),s=Co(this._getChildren().filter(r=>!Ft(r)),t.target,n,!0);s&&(s.focus({preventScroll:!0}),In.getOrCreateInstance(s).show())}_getChildren(){return V.find(oi,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=V.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(Zv))return;const r=(i,o)=>{const a=V.findOne(i,s);a&&a.classList.toggle(o,n)};r(ey,Xt),r(ty,ri),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(Xt)}_getInnerElement(t){return t.matches(oi)?t:V.findOne(oi,t)}_getOuterElement(t){return t.closest(sy)||t}static jQueryInterface(t){return this.each(function(){const n=In.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}O.on(document,Yv,ef,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Ft(this)&&In.getOrCreateInstance(this).show()});O.on(window,Xv,()=>{for(const e of V.find(iy))In.getOrCreateInstance(e)});qe(In);const oy="toast",ay="bs.toast",jt=`.${ay}`,ly=`mouseover${jt}`,cy=`mouseout${jt}`,uy=`focusin${jt}`,fy=`focusout${jt}`,dy=`hide${jt}`,hy=`hidden${jt}`,py=`show${jt}`,my=`shown${jt}`,_y="fade",_l="hide",$s="show",Ms="showing",gy={animation:"boolean",autohide:"boolean",delay:"number"},Ey={animation:!0,autohide:!0,delay:5e3};class Ts extends Ze{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ey}static get DefaultType(){return gy}static get NAME(){return oy}show(){if(O.trigger(this._element,py).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(_y);const n=()=>{this._element.classList.remove(Ms),O.trigger(this._element,my),this._maybeScheduleHide()};this._element.classList.remove(_l),vs(this._element),this._element.classList.add($s,Ms),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||O.trigger(this._element,dy).defaultPrevented)return;const n=()=>{this._element.classList.add(_l),this._element.classList.remove(Ms,$s),O.trigger(this._element,hy)};this._element.classList.add(Ms),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove($s),super.dispose()}isShown(){return this._element.classList.contains($s)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){O.on(this._element,ly,t=>this._onInteraction(t,!0)),O.on(this._element,cy,t=>this._onInteraction(t,!1)),O.on(this._element,uy,t=>this._onInteraction(t,!0)),O.on(this._element,fy,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Ts.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Lr(Ts);qe(Ts);const tf=[{path:"/",name:"index",component:()=>dt(()=>import("./Index-cdfbf04e.js"),["assets/Index-cdfbf04e.js","assets/http-1f667af7.js"]),meta:{title:"欢迎"}},{path:"/tunnels",name:"tunnels",component:()=>dt(()=>import("./Index-f4d5af43.js"),["assets/Index-f4d5af43.js","assets/http-1f667af7.js"]),meta:{title:"隧道"}},{path:"/tunnels/create",name:"tunnels.create",component:()=>dt(()=>import("./Create-7479ebe3.js"),["assets/Create-7479ebe3.js","assets/http-1f667af7.js"]),meta:{title:"创建隧道"}},{path:"/tunnels/:id",name:"tunnels.show",component:()=>dt(()=>import("./Show-359be435.js"),["assets/Show-359be435.js","assets/http-1f667af7.js"]),meta:{title:"隧道"}},{path:"/status",name:"status",component:()=>dt(()=>import("./Status-06a9b78c.js"),["assets/Status-06a9b78c.js","assets/http-1f667af7.js"]),meta:{title:"节点状态"}},{path:"/downloads",name:"downloads",component:()=>dt(()=>import("./Downloads-7b82c5f5.js"),["assets/Downloads-7b82c5f5.js","assets/http-1f667af7.js"]),meta:{title:"客户端下载"}},{path:"/sign",name:"sign",component:()=>dt(()=>import("./Sign-1ae8e0e0.js"),["assets/Sign-1ae8e0e0.js","assets/http-1f667af7.js"]),meta:{title:"签到"}},{path:"/charge",name:"charge",component:()=>dt(()=>import("./Charge-e7d5afc9.js"),["assets/Charge-e7d5afc9.js","assets/http-1f667af7.js"]),meta:{title:"流量充值"}},{path:"/ticket",name:"ticket",component:()=>dt(()=>import("./Ticket-e5fc00f9.js"),["assets/Ticket-e5fc00f9.js","assets/http-1f667af7.js","assets/Ticket-ce48f17d.css"]),meta:{title:"发布工单"}}],by=()=>window.Base.User.is_admin,nf=m_({history:Pm(),routes:tf});tf.forEach(e=>{nf.beforeEach((t,n)=>{new rn(document.body,{selector:"[data-bs-toggle='tooltip']"}),Array.from(document.querySelectorAll(".toast")).forEach(s=>new Ts(s))}),e.beforeEnter=(t,n,s)=>{e.meta.admin&&!by()?s({name:"index"}):s()}});/*! + */const sg=1e6,rg=1e3,Ii="transitionend",Su=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),ig=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),og=e=>{do e+=Math.floor(Math.random()*sg);while(document.getElementById(e));return e},ag=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*rg)},Nu=e=>{e.dispatchEvent(new Event(Ii))},mt=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),kt=e=>mt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Su(e)):null,Vn=e=>{if(!mt(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},Ft=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",xu=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?xu(e.parentNode):null},lr=()=>{},vs=e=>{e.offsetHeight},Ru=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,zr=[],lg=e=>{document.readyState==="loading"?(zr.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of zr)t()}),zr.push(e)):e()},We=()=>document.documentElement.dir==="rtl",qe=e=>{lg(()=>{const t=Ru();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},Le=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,Pu=(e,t,n=!0)=>{if(!n){Le(e);return}const s=5,r=ag(t)+s;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(Ii,o),Le(e))};t.addEventListener(Ii,o),setTimeout(()=>{i||Nu(t)},r)},Co=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},cg=/[^.]*(?=\..*)\.|.*/,ug=/\..*/,fg=/::\d+$/,Yr={};let Wa=1;const Lu={mouseenter:"mouseover",mouseleave:"mouseout"},dg=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Du(e,t){return t&&`${t}::${Wa++}`||e.uidEvent||Wa++}function Iu(e){const t=Du(e);return e.uidEvent=t,Yr[t]=Yr[t]||{},Yr[t]}function hg(e,t){return function n(s){return So(s,{delegateTarget:e}),n.oneOff&&O.off(e,s.type,t),t.apply(e,[s])}}function pg(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return So(r,{delegateTarget:o}),s.oneOff&&O.off(e,r.type,t,n),n.apply(o,[r])}}function $u(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function Mu(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=ku(e);return dg.has(i)||(i=e),[s,r,i]}function Ka(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,o,a]=Mu(t,n,s);t in Lu&&(o=(_=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return _.call(this,E)})(o));const l=Iu(e),c=l[a]||(l[a]={}),u=$u(c,o,i?n:null);if(u){u.oneOff=u.oneOff&&r;return}const d=Du(o,t.replace(cg,"")),h=i?pg(e,n,o):hg(e,o);h.delegationSelector=i?n:null,h.callable=o,h.oneOff=r,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,i)}function $i(e,t,n,s,r){const i=$u(t[n],s,r);i&&(e.removeEventListener(n,i,Boolean(r)),delete t[n][i.uidEvent])}function mg(e,t,n,s){const r=t[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&$i(e,t,n,o.callable,o.delegationSelector)}function ku(e){return e=e.replace(ug,""),Lu[e]||e}const O={on(e,t,n,s){Ka(e,t,n,s,!1)},one(e,t,n,s){Ka(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,i,o]=Mu(t,n,s),a=o!==t,l=Iu(e),c=l[o]||{},u=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;$i(e,l,o,i,r?n:null);return}if(u)for(const d of Object.keys(l))mg(e,l,d,t.slice(1));for(const[d,h]of Object.entries(c)){const m=d.replace(fg,"");(!a||t.includes(m))&&$i(e,l,o,h.callable,h.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=Ru(),r=ku(t),i=t!==r;let o=null,a=!0,l=!0,c=!1;i&&s&&(o=s.Event(t,n),s(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(t,{bubbles:a,cancelable:!0});return u=So(u,n),c&&u.preventDefault(),l&&e.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function So(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}const Ct=new Map,Gr={set(e,t,n){Ct.has(e)||Ct.set(e,new Map);const s=Ct.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return Ct.has(e)&&Ct.get(e).get(t)||null},remove(e,t){if(!Ct.has(e))return;const n=Ct.get(e);n.delete(t),n.size===0&&Ct.delete(e)}};function qa(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Xr(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const _t={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Xr(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Xr(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=qa(e.dataset[s])}return t},getDataAttribute(e,t){return qa(e.getAttribute(`data-bs-${Xr(t)}`))}};class ys{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const s=mt(n)?_t.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...mt(n)?_t.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=t[s],o=mt(i)?"element":ig(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const _g="5.3.0-alpha1";class Ze extends ys{constructor(t,n){super(),t=kt(t),t&&(this._element=t,this._config=this._getConfig(n),Gr.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Gr.remove(this._element,this.constructor.DATA_KEY),O.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){Pu(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Gr.get(kt(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return _g}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Jr=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return Su(t)},V={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!Ft(n)&&Vn(n))},getSelectorFromElement(e){const t=Jr(e);return t&&V.findOne(t)?t:null},getElementFromSelector(e){const t=Jr(e);return t?V.findOne(t):null},getMultipleElementsFromSelector(e){const t=Jr(e);return t?V.find(t):[]}},Lr=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;O.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Ft(this))return;const i=V.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(i)[t]()})},gg="alert",Eg="bs.alert",Fu=`.${Eg}`,bg=`close${Fu}`,vg=`closed${Fu}`,yg="fade",Ag="show";class Dr extends Ze{static get NAME(){return gg}close(){if(O.trigger(this._element,bg).defaultPrevented)return;this._element.classList.remove(Ag);const n=this._element.classList.contains(yg);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),O.trigger(this._element,vg),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Dr.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Lr(Dr,"close");qe(Dr);const wg="button",Tg="bs.button",Og=`.${Tg}`,Cg=".data-api",Sg="active",za='[data-bs-toggle="button"]',Ng=`click${Og}${Cg}`;class Ir extends Ze{static get NAME(){return wg}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Sg))}static jQueryInterface(t){return this.each(function(){const n=Ir.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}O.on(document,Ng,za,e=>{e.preventDefault();const t=e.target.closest(za);Ir.getOrCreateInstance(t).toggle()});qe(Ir);const xg="swipe",jn=".bs.swipe",Rg=`touchstart${jn}`,Pg=`touchmove${jn}`,Lg=`touchend${jn}`,Dg=`pointerdown${jn}`,Ig=`pointerup${jn}`,$g="touch",Mg="pen",kg="pointer-event",Fg=40,Hg={endCallback:null,leftCallback:null,rightCallback:null},Bg={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class cr extends ys{constructor(t,n){super(),this._element=t,!(!t||!cr.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Hg}static get DefaultType(){return Bg}static get NAME(){return xg}dispose(){O.off(this._element,jn)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Le(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Fg)return;const n=t/this._deltaX;this._deltaX=0,n&&Le(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(O.on(this._element,Dg,t=>this._start(t)),O.on(this._element,Ig,t=>this._end(t)),this._element.classList.add(kg)):(O.on(this._element,Rg,t=>this._start(t)),O.on(this._element,Pg,t=>this._move(t)),O.on(this._element,Lg,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Mg||t.pointerType===$g)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Vg="carousel",jg="bs.carousel",Vt=`.${jg}`,Hu=".data-api",Ug="ArrowLeft",Wg="ArrowRight",Kg=500,qn="next",cn="prev",mn="left",Xs="right",qg=`slide${Vt}`,Qr=`slid${Vt}`,zg=`keydown${Vt}`,Yg=`mouseenter${Vt}`,Gg=`mouseleave${Vt}`,Xg=`dragstart${Vt}`,Jg=`load${Vt}${Hu}`,Qg=`click${Vt}${Hu}`,Bu="carousel",Ps="active",Zg="slide",eE="carousel-item-end",tE="carousel-item-start",nE="carousel-item-next",sE="carousel-item-prev",Vu=".active",ju=".carousel-item",rE=Vu+ju,iE=".carousel-item img",oE=".carousel-indicators",aE="[data-bs-slide], [data-bs-slide-to]",lE='[data-bs-ride="carousel"]',cE={[Ug]:Xs,[Wg]:mn},uE={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},fE={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class As extends Ze{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=V.findOne(oE,this._element),this._addEventListeners(),this._config.ride===Bu&&this.cycle()}static get Default(){return uE}static get DefaultType(){return fE}static get NAME(){return Vg}next(){this._slide(qn)}nextWhenVisible(){!document.hidden&&Vn(this._element)&&this.next()}prev(){this._slide(cn)}pause(){this._isSliding&&Nu(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){O.one(this._element,Qr,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){O.one(this._element,Qr,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?qn:cn;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&O.on(this._element,zg,t=>this._keydown(t)),this._config.pause==="hover"&&(O.on(this._element,Yg,()=>this.pause()),O.on(this._element,Gg,()=>this._maybeEnableCycle())),this._config.touch&&cr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of V.find(iE,this._element))O.on(s,Xg,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(mn)),rightCallback:()=>this._slide(this._directionToOrder(Xs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Kg+this._config.interval))}};this._swipeHelper=new cr(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=cE[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=V.findOne(Vu,this._indicatorsElement);n.classList.remove(Ps),n.removeAttribute("aria-current");const s=V.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(Ps),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===qn,i=n||Co(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=m=>O.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(qg).defaultPrevented||!s||!i)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const u=r?tE:eE,d=r?nE:sE;i.classList.add(d),vs(i),s.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(Ps),s.classList.remove(Ps,d,u),this._isSliding=!1,a(Qr)};this._queueCallback(h,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Zg)}_getActive(){return V.findOne(rE,this._element)}_getItems(){return V.find(ju,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return We()?t===mn?cn:qn:t===mn?qn:cn}_orderToDirection(t){return We()?t===cn?mn:Xs:t===cn?Xs:mn}static jQueryInterface(t){return this.each(function(){const n=As.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}O.on(document,Qg,aE,function(e){const t=V.getElementFromSelector(this);if(!t||!t.classList.contains(Bu))return;e.preventDefault();const n=As.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(_t.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});O.on(window,Jg,()=>{const e=V.find(lE);for(const t of e)As.getOrCreateInstance(t)});qe(As);const dE="collapse",hE="bs.collapse",ws=`.${hE}`,pE=".data-api",mE=`show${ws}`,_E=`shown${ws}`,gE=`hide${ws}`,EE=`hidden${ws}`,bE=`click${ws}${pE}`,Zr="show",gn="collapse",Ls="collapsing",vE="collapsed",yE=`:scope .${gn} .${gn}`,AE="collapse-horizontal",wE="width",TE="height",OE=".collapse.show, .collapse.collapsing",Mi='[data-bs-toggle="collapse"]',CE={parent:null,toggle:!0},SE={parent:"(null|element)",toggle:"boolean"};class ps extends Ze{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=V.find(Mi);for(const r of s){const i=V.getSelectorFromElement(r),o=V.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return CE}static get DefaultType(){return SE}static get NAME(){return dE}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(OE).filter(a=>a!==this._element).map(a=>ps.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||O.trigger(this._element,mE).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(gn),this._element.classList.add(Ls),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Ls),this._element.classList.add(gn,Zr),this._element.style[s]="",O.trigger(this._element,_E)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||O.trigger(this._element,gE).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,vs(this._element),this._element.classList.add(Ls),this._element.classList.remove(gn,Zr);for(const r of this._triggerArray){const i=V.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Ls),this._element.classList.add(gn),O.trigger(this._element,EE)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Zr)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=kt(t.parent),t}_getDimension(){return this._element.classList.contains(AE)?wE:TE}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Mi);for(const n of t){const s=V.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=V.find(yE,this._config.parent);return V.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(vE,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=ps.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}O.on(document,bE,Mi,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of V.getMultipleElementsFromSelector(this))ps.getOrCreateInstance(t,{toggle:!1}).toggle()});qe(ps);const Ya="dropdown",NE="bs.dropdown",sn=`.${NE}`,No=".data-api",xE="Escape",Ga="Tab",RE="ArrowUp",Xa="ArrowDown",PE=2,LE=`hide${sn}`,DE=`hidden${sn}`,IE=`show${sn}`,$E=`shown${sn}`,Uu=`click${sn}${No}`,Wu=`keydown${sn}${No}`,ME=`keyup${sn}${No}`,_n="show",kE="dropup",FE="dropend",HE="dropstart",BE="dropup-center",VE="dropdown-center",Gt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',jE=`${Gt}.${_n}`,Js=".dropdown-menu",UE=".navbar",WE=".navbar-nav",KE=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qE=We()?"top-end":"top-start",zE=We()?"top-start":"top-end",YE=We()?"bottom-end":"bottom-start",GE=We()?"bottom-start":"bottom-end",XE=We()?"left-start":"right-start",JE=We()?"right-start":"left-start",QE="top",ZE="bottom",eb={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},tb={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ct extends Ze{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=V.next(this._element,Js)[0]||V.prev(this._element,Js)[0]||V.findOne(Js,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return Ya}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ft(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!O.trigger(this._element,IE,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(WE))for(const s of[].concat(...document.body.children))O.on(s,"mouseover",lr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_n),this._element.classList.add(_n),O.trigger(this._element,$E,t)}}hide(){if(Ft(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!O.trigger(this._element,LE,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))O.off(s,"mouseover",lr);this._popper&&this._popper.destroy(),this._menu.classList.remove(_n),this._element.classList.remove(_n),this._element.setAttribute("aria-expanded","false"),_t.removeDataAttribute(this._menu,"popper"),O.trigger(this._element,DE,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!mt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Ya.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Cu>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:mt(this._config.reference)?t=kt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Oo(t,this._menu,n)}_isShown(){return this._menu.classList.contains(_n)}_getPlacement(){const t=this._parent;if(t.classList.contains(FE))return XE;if(t.classList.contains(HE))return JE;if(t.classList.contains(BE))return QE;if(t.classList.contains(VE))return ZE;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(kE)?n?zE:qE:n?GE:YE}_detectNavbar(){return this._element.closest(UE)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(_t.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Le(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const s=V.find(KE,this._menu).filter(r=>Vn(r));s.length&&Co(s,n,t===Xa,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=ct.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===PE||t.type==="keyup"&&t.key!==Ga)return;const n=V.find(jE);for(const s of n){const r=ct.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Ga||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===xE,r=[RE,Xa].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const i=this.matches(Gt)?this:V.prev(this,Gt)[0]||V.next(this,Gt)[0]||V.findOne(Gt,t.delegateTarget.parentNode),o=ct.getOrCreateInstance(i);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}O.on(document,Wu,Gt,ct.dataApiKeydownHandler);O.on(document,Wu,Js,ct.dataApiKeydownHandler);O.on(document,Uu,ct.clearMenus);O.on(document,ME,ct.clearMenus);O.on(document,Uu,Gt,function(e){e.preventDefault(),ct.getOrCreateInstance(this).toggle()});qe(ct);const Ja=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qa=".sticky-top",Ds="padding-right",Za="margin-right";class ki{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ds,n=>n+t),this._setElementAttributes(Ja,Ds,n=>n+t),this._setElementAttributes(Qa,Za,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ds),this._resetElementAttributes(Ja,Ds),this._resetElementAttributes(Qa,Za)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&_t.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const i=_t.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}_t.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(mt(t)){n(t);return}for(const s of V.find(t,this._element))n(s)}}const Ku="backdrop",nb="fade",el="show",tl=`mousedown.bs.${Ku}`,sb={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},rb={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class qu extends ys{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return sb}static get DefaultType(){return rb}static get NAME(){return Ku}show(t){if(!this._config.isVisible){Le(t);return}this._append();const n=this._getElement();this._config.isAnimated&&vs(n),n.classList.add(el),this._emulateAnimation(()=>{Le(t)})}hide(t){if(!this._config.isVisible){Le(t);return}this._getElement().classList.remove(el),this._emulateAnimation(()=>{this.dispose(),Le(t)})}dispose(){this._isAppended&&(O.off(this._element,tl),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(nb),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=kt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),O.on(t,tl,()=>{Le(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Pu(t,this._getElement(),this._config.isAnimated)}}const ib="focustrap",ob="bs.focustrap",ur=`.${ob}`,ab=`focusin${ur}`,lb=`keydown.tab${ur}`,cb="Tab",ub="forward",nl="backward",fb={autofocus:!0,trapElement:null},db={autofocus:"boolean",trapElement:"element"};class zu extends ys{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return fb}static get DefaultType(){return db}static get NAME(){return ib}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),O.off(document,ur),O.on(document,ab,t=>this._handleFocusin(t)),O.on(document,lb,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,O.off(document,ur))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=V.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===nl?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===cb&&(this._lastTabNavDirection=t.shiftKey?nl:ub)}}const hb="modal",pb="bs.modal",et=`.${pb}`,mb=".data-api",_b="Escape",gb=`hide${et}`,Eb=`hidePrevented${et}`,Yu=`hidden${et}`,Gu=`show${et}`,bb=`shown${et}`,vb=`resize${et}`,yb=`click.dismiss${et}`,Ab=`mousedown.dismiss${et}`,wb=`keydown.dismiss${et}`,Tb=`click${et}${mb}`,sl="modal-open",Ob="fade",rl="show",ei="modal-static",Cb=".modal.show",Sb=".modal-dialog",Nb=".modal-body",xb='[data-bs-toggle="modal"]',Rb={backdrop:!0,focus:!0,keyboard:!0},Pb={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Dn extends Ze{constructor(t,n){super(t,n),this._dialog=V.findOne(Sb,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ki,this._addEventListeners()}static get Default(){return Rb}static get DefaultType(){return Pb}static get NAME(){return hb}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||O.trigger(this._element,Gu,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sl),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||O.trigger(this._element,gb).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(rl),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])O.off(t,et);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new qu({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new zu({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=V.findOne(Nb,this._dialog);n&&(n.scrollTop=0),vs(this._element),this._element.classList.add(rl);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,O.trigger(this._element,bb,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){O.on(this._element,wb,t=>{if(t.key===_b){if(this._config.keyboard){t.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),O.on(window,vb,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),O.on(this._element,Ab,t=>{O.one(this._element,yb,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sl),this._resetAdjustments(),this._scrollBar.reset(),O.trigger(this._element,Yu)})}_isAnimated(){return this._element.classList.contains(Ob)}_triggerBackdropTransition(){if(O.trigger(this._element,Eb).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(ei)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(ei),this._queueCallback(()=>{this._element.classList.remove(ei),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=We()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=We()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=Dn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}O.on(document,Tb,xb,function(e){const t=V.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),O.one(t,Gu,r=>{r.defaultPrevented||O.one(t,Yu,()=>{Vn(this)&&this.focus()})});const n=V.findOne(Cb);n&&Dn.getInstance(n).hide(),Dn.getOrCreateInstance(t).toggle(this)});Lr(Dn);qe(Dn);const Lb="offcanvas",Db="bs.offcanvas",yt=`.${Db}`,Xu=".data-api",Ib=`load${yt}${Xu}`,$b="Escape",il="show",ol="showing",al="hiding",Mb="offcanvas-backdrop",Ju=".offcanvas.show",kb=`show${yt}`,Fb=`shown${yt}`,Hb=`hide${yt}`,ll=`hidePrevented${yt}`,Qu=`hidden${yt}`,Bb=`resize${yt}`,Vb=`click${yt}${Xu}`,jb=`keydown.dismiss${yt}`,Ub='[data-bs-toggle="offcanvas"]',Wb={backdrop:!0,keyboard:!0,scroll:!1},Kb={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ht extends Ze{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Wb}static get DefaultType(){return Kb}static get NAME(){return Lb}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||O.trigger(this._element,kb,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ki().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ol);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(il),this._element.classList.remove(ol),O.trigger(this._element,Fb,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||O.trigger(this._element,Hb).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(al),this._backdrop.hide();const n=()=>{this._element.classList.remove(il,al),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ki().reset(),O.trigger(this._element,Qu)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){O.trigger(this._element,ll);return}this.hide()},n=Boolean(this._config.backdrop);return new qu({className:Mb,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new zu({trapElement:this._element})}_addEventListeners(){O.on(this._element,jb,t=>{if(t.key===$b){if(!this._config.keyboard){O.trigger(this._element,ll);return}this.hide()}})}static jQueryInterface(t){return this.each(function(){const n=Ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}O.on(document,Vb,Ub,function(e){const t=V.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ft(this))return;O.one(t,Qu,()=>{Vn(this)&&this.focus()});const n=V.findOne(Ju);n&&n!==t&&Ht.getInstance(n).hide(),Ht.getOrCreateInstance(t).toggle(this)});O.on(window,Ib,()=>{for(const e of V.find(Ju))Ht.getOrCreateInstance(e).show()});O.on(window,Bb,()=>{for(const e of V.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Ht.getOrCreateInstance(e).hide()});Lr(Ht);qe(Ht);const qb=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zb=/^aria-[\w-]*$/i,Yb=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Gb=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Xb=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?qb.has(n)?Boolean(Yb.test(e.nodeValue)||Gb.test(e.nodeValue)):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))},Zu={"*":["class","dir","id","lang","role",zb],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Jb(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[a]||[]);for(const u of l)Xb(u,c)||o.removeAttribute(u.nodeName)}return r.body.innerHTML}const Qb="TemplateFactory",Zb={allowList:Zu,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},ev={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tv={entry:"(string|element|function|null)",selector:"(string|element)"};class nv extends ys{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Zb}static get DefaultType(){return ev}static get NAME(){return Qb}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(t,i,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},tv)}_setContent(t,n,s){const r=V.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(mt(n)){this._putElementInTemplate(kt(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?Jb(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Le(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const sv="tooltip",rv=new Set(["sanitize","allowList","sanitizeFn"]),ti="fade",iv="modal",Is="show",ov=".tooltip-inner",cl=`.${iv}`,ul="hide.bs.modal",zn="hover",ni="focus",av="click",lv="manual",cv="hide",uv="hidden",fv="show",dv="shown",hv="inserted",pv="click",mv="focusin",_v="focusout",gv="mouseenter",Ev="mouseleave",bv={AUTO:"auto",TOP:"top",RIGHT:We()?"left":"right",BOTTOM:"bottom",LEFT:We()?"right":"left"},vv={allowList:Zu,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},yv={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class rn extends Ze{constructor(t,n){if(typeof Cu>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return vv}static get DefaultType(){return yv}static get NAME(){return sv}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),O.off(this._element.closest(cl),ul,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=O.trigger(this._element,this.constructor.eventName(fv)),s=(xu(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),O.trigger(this._element,this.constructor.eventName(hv))),this._popper=this._createPopper(r),r.classList.add(Is),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))O.on(a,"mouseover",lr);const o=()=>{O.trigger(this._element,this.constructor.eventName(dv)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||O.trigger(this._element,this.constructor.eventName(cv)).defaultPrevented)return;if(this._getTipElement().classList.remove(Is),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))O.off(r,"mouseover",lr);this._activeTrigger[av]=!1,this._activeTrigger[ni]=!1,this._activeTrigger[zn]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),O.trigger(this._element,this.constructor.eventName(uv)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(ti,Is),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=og(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(ti),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new nv({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ov]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ti)}_isShown(){return this.tip&&this.tip.classList.contains(Is)}_createPopper(t){const n=Le(this._config.placement,[this,t,this._element]),s=bv[n.toUpperCase()];return Oo(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return Le(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...Le(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")O.on(this._element,this.constructor.eventName(pv),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==lv){const s=n===zn?this.constructor.eventName(gv):this.constructor.eventName(mv),r=n===zn?this.constructor.eventName(Ev):this.constructor.eventName(_v);O.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?ni:zn]=!0,o._enter()}),O.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?ni:zn]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},O.on(this._element.closest(cl),ul,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=_t.getDataAttributes(this._element);for(const s of Object.keys(n))rv.has(s)&&delete n[s];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:kt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(t[n]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=rn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}qe(rn);const Av="popover",wv=".popover-header",Tv=".popover-body",Ov={...rn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Cv={...rn.DefaultType,content:"(null|string|element|function)"};class xo extends rn{static get Default(){return Ov}static get DefaultType(){return Cv}static get NAME(){return Av}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[wv]:this._getTitle(),[Tv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=xo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}qe(xo);const Sv="scrollspy",Nv="bs.scrollspy",Ro=`.${Nv}`,xv=".data-api",Rv=`activate${Ro}`,fl=`click${Ro}`,Pv=`load${Ro}${xv}`,Lv="dropdown-item",un="active",Dv='[data-bs-spy="scroll"]',si="[href]",Iv=".nav, .list-group",dl=".nav-link",$v=".nav-item",Mv=".list-group-item",kv=`${dl}, ${$v} > ${dl}, ${Mv}`,Fv=".dropdown",Hv=".dropdown-toggle",Bv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Vv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class $r extends Ze{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Bv}static get DefaultType(){return Vv}static get NAME(){return Sv}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=kt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(O.off(this._config.target,fl),O.on(this._config.target,fl,si,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=V.find(si,this._config.target);for(const n of t){if(!n.hash||Ft(n))continue;const s=V.findOne(n.hash,this._element);Vn(s)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(un),this._activateParents(t),O.trigger(this._element,Rv,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Lv)){V.findOne(Hv,t.closest(Fv)).classList.add(un);return}for(const n of V.parents(t,Iv))for(const s of V.prev(n,kv))s.classList.add(un)}_clearActiveClass(t){t.classList.remove(un);const n=V.find(`${si}.${un}`,t);for(const s of n)s.classList.remove(un)}static jQueryInterface(t){return this.each(function(){const n=$r.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}O.on(window,Pv,()=>{for(const e of V.find(Dv))$r.getOrCreateInstance(e)});qe($r);const jv="tab",Uv="bs.tab",on=`.${Uv}`,Wv=`hide${on}`,Kv=`hidden${on}`,qv=`show${on}`,zv=`shown${on}`,Yv=`click${on}`,Gv=`keydown${on}`,Xv=`load${on}`,Jv="ArrowLeft",hl="ArrowRight",Qv="ArrowUp",pl="ArrowDown",Xt="active",ml="fade",ri="show",Zv="dropdown",ey=".dropdown-toggle",ty=".dropdown-menu",ii=":not(.dropdown-toggle)",ny='.list-group, .nav, [role="tablist"]',sy=".nav-item, .list-group-item",ry=`.nav-link${ii}, .list-group-item${ii}, [role="tab"]${ii}`,ef='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',oi=`${ry}, ${ef}`,iy=`.${Xt}[data-bs-toggle="tab"], .${Xt}[data-bs-toggle="pill"], .${Xt}[data-bs-toggle="list"]`;class In extends Ze{constructor(t){super(t),this._parent=this._element.closest(ny),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),O.on(this._element,Gv,n=>this._keydown(n)))}static get NAME(){return jv}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?O.trigger(n,Wv,{relatedTarget:t}):null;O.trigger(t,qv,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(Xt),this._activate(V.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ri);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),O.trigger(t,zv,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(ml))}_deactivate(t,n){if(!t)return;t.classList.remove(Xt),t.blur(),this._deactivate(V.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ri);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),O.trigger(t,Kv,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(ml))}_keydown(t){if(![Jv,hl,Qv,pl].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=[hl,pl].includes(t.key),s=Co(this._getChildren().filter(r=>!Ft(r)),t.target,n,!0);s&&(s.focus({preventScroll:!0}),In.getOrCreateInstance(s).show())}_getChildren(){return V.find(oi,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=V.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(Zv))return;const r=(i,o)=>{const a=V.findOne(i,s);a&&a.classList.toggle(o,n)};r(ey,Xt),r(ty,ri),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(Xt)}_getInnerElement(t){return t.matches(oi)?t:V.findOne(oi,t)}_getOuterElement(t){return t.closest(sy)||t}static jQueryInterface(t){return this.each(function(){const n=In.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}O.on(document,Yv,ef,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Ft(this)&&In.getOrCreateInstance(this).show()});O.on(window,Xv,()=>{for(const e of V.find(iy))In.getOrCreateInstance(e)});qe(In);const oy="toast",ay="bs.toast",jt=`.${ay}`,ly=`mouseover${jt}`,cy=`mouseout${jt}`,uy=`focusin${jt}`,fy=`focusout${jt}`,dy=`hide${jt}`,hy=`hidden${jt}`,py=`show${jt}`,my=`shown${jt}`,_y="fade",_l="hide",$s="show",Ms="showing",gy={animation:"boolean",autohide:"boolean",delay:"number"},Ey={animation:!0,autohide:!0,delay:5e3};class Ts extends Ze{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ey}static get DefaultType(){return gy}static get NAME(){return oy}show(){if(O.trigger(this._element,py).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(_y);const n=()=>{this._element.classList.remove(Ms),O.trigger(this._element,my),this._maybeScheduleHide()};this._element.classList.remove(_l),vs(this._element),this._element.classList.add($s,Ms),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||O.trigger(this._element,dy).defaultPrevented)return;const n=()=>{this._element.classList.add(_l),this._element.classList.remove(Ms,$s),O.trigger(this._element,hy)};this._element.classList.add(Ms),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove($s),super.dispose()}isShown(){return this._element.classList.contains($s)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){O.on(this._element,ly,t=>this._onInteraction(t,!0)),O.on(this._element,cy,t=>this._onInteraction(t,!1)),O.on(this._element,uy,t=>this._onInteraction(t,!0)),O.on(this._element,fy,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Ts.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Lr(Ts);qe(Ts);const tf=[{path:"/",name:"index",component:()=>dt(()=>import("./Index-29944ef4.js"),["assets/Index-29944ef4.js","assets/http-74266e01.js"]),meta:{title:"欢迎"}},{path:"/tunnels",name:"tunnels",component:()=>dt(()=>import("./Index-56619578.js"),["assets/Index-56619578.js","assets/http-74266e01.js"]),meta:{title:"隧道"}},{path:"/tunnels/create",name:"tunnels.create",component:()=>dt(()=>import("./Create-9128b1c6.js"),["assets/Create-9128b1c6.js","assets/http-74266e01.js"]),meta:{title:"创建隧道"}},{path:"/tunnels/:id",name:"tunnels.show",component:()=>dt(()=>import("./Show-a5280b04.js"),["assets/Show-a5280b04.js","assets/http-74266e01.js"]),meta:{title:"隧道"}},{path:"/status",name:"status",component:()=>dt(()=>import("./Status-29982c8b.js"),["assets/Status-29982c8b.js","assets/http-74266e01.js"]),meta:{title:"节点状态"}},{path:"/downloads",name:"downloads",component:()=>dt(()=>import("./Downloads-d3293bd0.js"),["assets/Downloads-d3293bd0.js","assets/http-74266e01.js"]),meta:{title:"客户端下载"}},{path:"/sign",name:"sign",component:()=>dt(()=>import("./Sign-f46d7e79.js"),["assets/Sign-f46d7e79.js","assets/http-74266e01.js"]),meta:{title:"签到"}},{path:"/charge",name:"charge",component:()=>dt(()=>import("./Charge-0827f5c4.js"),["assets/Charge-0827f5c4.js","assets/http-74266e01.js"]),meta:{title:"流量充值"}},{path:"/ticket",name:"ticket",component:()=>dt(()=>import("./Ticket-72a5f323.js"),["assets/Ticket-72a5f323.js","assets/http-74266e01.js","assets/Ticket-ce48f17d.css"]),meta:{title:"发布工单"}}],by=()=>window.Base.User.is_admin,nf=m_({history:Pm(),routes:tf});tf.forEach(e=>{nf.beforeEach((t,n)=>{new rn(document.body,{selector:"[data-bs-toggle='tooltip']"}),Array.from(document.querySelectorAll(".toast")).forEach(s=>new Ts(s))}),e.beforeEnter=(t,n,s)=>{e.meta.admin&&!by()?s({name:"index"}):s()}});/*! * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/) * Copyright 2011-2023 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. diff --git a/public/build/assets/http-1f667af7.js b/public/build/assets/http-74266e01.js similarity index 91% rename from public/build/assets/http-1f667af7.js rename to public/build/assets/http-74266e01.js index c5b65ed..553e1e3 100644 --- a/public/build/assets/http-1f667af7.js +++ b/public/build/assets/http-74266e01.js @@ -1 +1 @@ -import{y as a,m as n}from"./app-22d7fab3.js";let t=a.create({baseURL:"/api",timeout:1e4,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":document.querySelector('meta[name="csrf-token"]').getAttribute("content")}});t.interceptors.request.use(e=>(e.headers,e.headers.Accept="application/json",e),e=>(console.error(e),Promise.reject(e)));t.interceptors.response.use(e=>Promise.resolve(e),e=>{console.error("axios error",e);let s=[];e.response.data.data&&(s=e.response.data.data),e.response.data.message&&(s=e.response.data.message),e.response.data.error&&(s=e.response.data.error.message),e.response.status===429?alert("请求次数过多"):e.response.status===401||(e.response.status===404?n.push({name:"index"}):s.length!==0&&alert(s))});export{t as i}; +import{y as a,m as n}from"./app-65af0faa.js";let t=a.create({baseURL:"/api",timeout:1e4,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":document.querySelector('meta[name="csrf-token"]').getAttribute("content")}});t.interceptors.request.use(e=>(e.headers,e.headers.Accept="application/json",e),e=>(console.error(e),Promise.reject(e)));t.interceptors.response.use(e=>Promise.resolve(e),e=>{console.error("axios error",e);let s=[];e.response.data.data&&(s=e.response.data.data),e.response.data.message&&(s=e.response.data.message),e.response.data.error&&(s=e.response.data.error.message),e.response.status===429?alert("请求次数过多"):e.response.status===401||(e.response.status===404?n.push({name:"index"}):s.length!==0&&alert(s))});export{t as i}; diff --git a/public/build/manifest.json b/public/build/manifest.json index 4f77bcd..0c1e10f 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,6 +1,6 @@ { - "_http-1f667af7.js": { - "file": "assets/http-1f667af7.js", + "_http-74266e01.js": { + "file": "assets/http-74266e01.js", "imports": [ "resources/js/app.js" ] @@ -41,51 +41,51 @@ "resources/js/views/Charge.vue", "resources/js/views/Ticket.vue" ], - "file": "assets/app-22d7fab3.js", + "file": "assets/app-65af0faa.js", "isEntry": true, "src": "resources/js/app.js" }, "resources/js/views/Charge.vue": { - "file": "assets/Charge-e7d5afc9.js", + "file": "assets/Charge-0827f5c4.js", "imports": [ "resources/js/app.js", - "_http-1f667af7.js" + "_http-74266e01.js" ], "isDynamicEntry": true, "src": "resources/js/views/Charge.vue" }, "resources/js/views/Downloads.vue": { - "file": "assets/Downloads-7b82c5f5.js", + "file": "assets/Downloads-d3293bd0.js", "imports": [ - "_http-1f667af7.js", + "_http-74266e01.js", "resources/js/app.js" ], "isDynamicEntry": true, "src": "resources/js/views/Downloads.vue" }, "resources/js/views/Index.vue": { - "file": "assets/Index-cdfbf04e.js", + "file": "assets/Index-29944ef4.js", "imports": [ - "_http-1f667af7.js", + "_http-74266e01.js", "resources/js/app.js" ], "isDynamicEntry": true, "src": "resources/js/views/Index.vue" }, "resources/js/views/Sign.vue": { - "file": "assets/Sign-1ae8e0e0.js", + "file": "assets/Sign-f46d7e79.js", "imports": [ "resources/js/app.js", - "_http-1f667af7.js" + "_http-74266e01.js" ], "isDynamicEntry": true, "src": "resources/js/views/Sign.vue" }, "resources/js/views/Status.vue": { - "file": "assets/Status-06a9b78c.js", + "file": "assets/Status-29982c8b.js", "imports": [ "resources/js/app.js", - "_http-1f667af7.js" + "_http-74266e01.js" ], "isDynamicEntry": true, "src": "resources/js/views/Status.vue" @@ -98,36 +98,36 @@ "css": [ "assets/Ticket-ce48f17d.css" ], - "file": "assets/Ticket-e5fc00f9.js", + "file": "assets/Ticket-72a5f323.js", "imports": [ "resources/js/app.js", - "_http-1f667af7.js" + "_http-74266e01.js" ], "isDynamicEntry": true, "src": "resources/js/views/Ticket.vue" }, "resources/js/views/Tunnels/Create.vue": { - "file": "assets/Create-7479ebe3.js", + "file": "assets/Create-9128b1c6.js", "imports": [ "resources/js/app.js", - "_http-1f667af7.js" + "_http-74266e01.js" ], "isDynamicEntry": true, "src": "resources/js/views/Tunnels/Create.vue" }, "resources/js/views/Tunnels/Index.vue": { - "file": "assets/Index-f4d5af43.js", + "file": "assets/Index-56619578.js", "imports": [ - "_http-1f667af7.js", + "_http-74266e01.js", "resources/js/app.js" ], "isDynamicEntry": true, "src": "resources/js/views/Tunnels/Index.vue" }, "resources/js/views/Tunnels/Show.vue": { - "file": "assets/Show-359be435.js", + "file": "assets/Show-a5280b04.js", "imports": [ - "_http-1f667af7.js", + "_http-74266e01.js", "resources/js/app.js" ], "isDynamicEntry": true, diff --git a/resources/js/components/Menu.vue b/resources/js/components/Menu.vue index 9d18164..83c389a 100644 --- a/resources/js/components/Menu.vue +++ b/resources/js/components/Menu.vue @@ -45,7 +45,7 @@ const items = ref([ route: "tunnels.create", }, { - name: "签到", + name: "流量补给", route: "sign", }, { diff --git a/resources/js/views/Sign.vue b/resources/js/views/Sign.vue index d638166..391e85e 100644 --- a/resources/js/views/Sign.vue +++ b/resources/js/views/Sign.vue @@ -17,27 +17,36 @@ +
+

兑换流量激活码

+
+ + +
+ +
+ -