diff --git a/api/main.proto b/api/main.proto index 0fdeeeb..c56ac68 100644 --- a/api/main.proto +++ b/api/main.proto @@ -71,6 +71,12 @@ service EveningDetective { body: "*" }; } + + rpc DownloadTeamsQrCodesFile(DownloadTeamsQrCodesFileReq) returns (DownloadTeamsQrCodesFileRsp) { + option (google.api.http) = { + get: "/teams/pdf" + }; + } } message PingReq {} @@ -167,3 +173,9 @@ message GiveApplicationsReq { } message GiveApplicationsRsp {} + +message DownloadTeamsQrCodesFileReq {} + +message DownloadTeamsQrCodesFileRsp { + bytes result = 1; +} diff --git a/api/requests.http b/api/requests.http index 695210c..53bc70f 100644 --- a/api/requests.http +++ b/api/requests.http @@ -57,3 +57,7 @@ POST http://localhost:8090/teams/1/applications } ] } + +### Qr коды команд в pdf + +GET http://localhost:8090/teams/pdf diff --git a/data/JetBrainsMono-Medium.ttf b/data/JetBrainsMono-Medium.ttf new file mode 100644 index 0000000..9767115 Binary files /dev/null and b/data/JetBrainsMono-Medium.ttf differ diff --git a/internal/app/server.go b/internal/app/server.go index 026350b..c01d7d4 100644 --- a/internal/app/server.go +++ b/internal/app/server.go @@ -59,3 +59,7 @@ func (s *Server) GameStop(ctx context.Context, req *proto.GameStopReq) (*proto.G func (s *Server) GiveApplications(ctx context.Context, req *proto.GiveApplicationsReq) (*proto.GiveApplicationsRsp, error) { return s.services.GiveApplications(ctx, req) } + +func (s *Server) DownloadTeamsQrCodesFile(ctx context.Context, req *proto.DownloadTeamsQrCodesFileReq) (*proto.DownloadTeamsQrCodesFileRsp, error) { + return s.services.DownloadTeamsQrCodesFile(ctx, req) +} diff --git a/internal/services/pdf_service/service.go b/internal/services/pdf_service/service.go index 393da49..5e72e3b 100644 --- a/internal/services/pdf_service/service.go +++ b/internal/services/pdf_service/service.go @@ -12,7 +12,7 @@ import ( func CreateTeamsPdf(teams []*models.Team) ([]byte, error) { pdf := &gopdf.GoPdf{} pdf.Start(gopdf.Config{PageSize: *gopdf.PageSizeA4}) // W: 595, H: 842 - if err := pdf.AddTTFFont("main", "JetBrainsMono-Medium.ttf"); err != nil { + if err := pdf.AddTTFFont("main", "data/JetBrainsMono-Medium.ttf"); err != nil { return nil, err } if err := pdf.SetFont("main", "", 10); err != nil { diff --git a/internal/services/services.go b/internal/services/services.go index 4c48c44..1c18346 100644 --- a/internal/services/services.go +++ b/internal/services/services.go @@ -6,9 +6,11 @@ import ( "encoding/json" "evening_detective/internal/models" "evening_detective/internal/modules/password" + "evening_detective/internal/services/pdf_service" "evening_detective/internal/services/story_service" "evening_detective/proto" "fmt" + "time" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" @@ -184,6 +186,20 @@ func (s *Services) AddTeams(ctx context.Context, req *proto.AddTeamsReq) (*proto return &proto.AddTeamsRsp{Teams: res}, err } +func (s *Services) DownloadTeamsQrCodesFile(ctx context.Context, req *proto.DownloadTeamsQrCodesFileReq) (*proto.DownloadTeamsQrCodesFileRsp, error) { + ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second) + defer cancel() + teams, err := s.repository.GetTeams(ctx) + if err != nil { + return nil, err + } + b, err := pdf_service.CreateTeamsPdf(teams) + if err != nil { + return nil, err + } + return &proto.DownloadTeamsQrCodesFileRsp{Result: b}, nil +} + func (s *Services) getTeam(ctx context.Context) (*models.Team, error) { md, ok := metadata.FromIncomingContext(ctx) if !ok { diff --git a/proto/main.pb.go b/proto/main.pb.go index 3ea9ed4..ed1fe68 100644 --- a/proto/main.pb.go +++ b/proto/main.pb.go @@ -1233,6 +1233,91 @@ func (*GiveApplicationsRsp) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{24} } +type DownloadTeamsQrCodesFileReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DownloadTeamsQrCodesFileReq) Reset() { + *x = DownloadTeamsQrCodesFileReq{} + if protoimpl.UnsafeEnabled { + mi := &file_main_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DownloadTeamsQrCodesFileReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DownloadTeamsQrCodesFileReq) ProtoMessage() {} + +func (x *DownloadTeamsQrCodesFileReq) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DownloadTeamsQrCodesFileReq.ProtoReflect.Descriptor instead. +func (*DownloadTeamsQrCodesFileReq) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{25} +} + +type DownloadTeamsQrCodesFileRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *DownloadTeamsQrCodesFileRsp) Reset() { + *x = DownloadTeamsQrCodesFileRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_main_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DownloadTeamsQrCodesFileRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DownloadTeamsQrCodesFileRsp) ProtoMessage() {} + +func (x *DownloadTeamsQrCodesFileRsp) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DownloadTeamsQrCodesFileRsp.ProtoReflect.Descriptor instead. +func (*DownloadTeamsQrCodesFileRsp) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{26} +} + +func (x *DownloadTeamsQrCodesFileRsp) GetResult() []byte { + if x != nil { + return x.Result + } + return nil +} + var File_main_proto protoreflect.FileDescriptor var file_main_proto_rawDesc = []byte{ @@ -1324,79 +1409,94 @@ var file_main_proto_rawDesc = []byte{ 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x69, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x73, 0x70, 0x32, 0xe8, 0x08, 0x0a, 0x10, 0x45, - 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, - 0x59, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, - 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x63, 0x72, 0x61, 0x62, - 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x22, 0x0d, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x07, 0x12, 0x05, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x69, 0x0a, 0x08, 0x41, 0x64, - 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, - 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x2e, 0x41, 0x64, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x63, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x73, 0x70, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x51, 0x72, 0x43, 0x6f, 0x64, + 0x65, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x22, 0x35, 0x0a, 0x1b, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, + 0x73, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x32, 0x85, 0x0a, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x59, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x2e, + 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, + 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, + 0x20, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, + 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x73, + 0x70, 0x22, 0x0d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x07, 0x12, 0x05, 0x2f, 0x70, 0x69, 0x6e, 0x67, + 0x12, 0x69, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, - 0x73, 0x70, 0x22, 0x11, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0b, 0x3a, 0x01, 0x2a, 0x22, 0x06, 0x2f, - 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x66, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, - 0x73, 0x12, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, - 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, + 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, + 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x64, 0x64, + 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x22, 0x11, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0b, + 0x3a, 0x01, 0x2a, 0x22, 0x06, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x66, 0x0a, 0x08, 0x47, + 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x22, 0x0e, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x08, 0x12, 0x06, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x6d, 0x0a, - 0x0b, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x53, 0x56, 0x12, 0x27, 0x2e, 0x63, - 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, - 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, - 0x53, 0x56, 0x52, 0x65, 0x71, 0x1a, 0x27, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, - 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, - 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x53, 0x56, 0x52, 0x73, 0x70, 0x22, 0x0c, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x06, 0x12, 0x04, 0x2f, 0x63, 0x73, 0x76, 0x12, 0x62, 0x0a, 0x07, - 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x23, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, - 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x63, - 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, - 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, - 0x70, 0x22, 0x0d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x07, 0x12, 0x05, 0x2f, 0x74, 0x65, 0x61, 0x6d, - 0x12, 0x73, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, + 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, - 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, - 0x64, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x22, 0x18, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x2f, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x62, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, - 0x12, 0x23, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, - 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, - 0x47, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x22, 0x0d, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x07, 0x12, 0x05, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x12, 0x71, 0x0a, 0x09, 0x47, 0x61, 0x6d, - 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, + 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, + 0x52, 0x73, 0x70, 0x22, 0x0e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x08, 0x12, 0x06, 0x2f, 0x74, 0x65, + 0x61, 0x6d, 0x73, 0x12, 0x6d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, + 0x53, 0x56, 0x12, 0x27, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, + 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x53, 0x56, 0x52, 0x65, 0x71, 0x1a, 0x27, 0x2e, 0x63, 0x72, + 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x53, + 0x56, 0x52, 0x73, 0x70, 0x22, 0x0c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x06, 0x12, 0x04, 0x2f, 0x63, + 0x73, 0x76, 0x12, 0x62, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x23, 0x2e, + 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, + 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, + 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, 0x70, 0x22, 0x0d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x07, 0x12, + 0x05, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x73, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x41, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x64, + 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x63, 0x72, 0x61, + 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, + 0x70, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x74, + 0x65, 0x61, 0x6d, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x62, 0x0a, 0x07, 0x47, + 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, - 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, - 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x52, 0x73, 0x70, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x3a, 0x01, 0x2a, 0x22, - 0x0b, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x6d, 0x0a, 0x08, - 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, - 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x24, + 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x63, 0x72, + 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, + 0x22, 0x0d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x07, 0x12, 0x05, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x12, + 0x71, 0x0a, 0x09, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x25, 0x2e, 0x63, + 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x61, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x10, 0x3a, 0x01, 0x2a, 0x22, 0x0b, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x12, 0x6d, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x6f, - 0x70, 0x52, 0x73, 0x70, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x3a, 0x01, 0x2a, 0x22, - 0x0a, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x6f, 0x70, 0x12, 0x97, 0x01, 0x0a, 0x10, - 0x47, 0x69, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x2c, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x69, 0x76, 0x65, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x2c, + 0x70, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, + 0x61, 0x6d, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x0f, 0x3a, 0x01, 0x2a, 0x22, 0x0a, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x6f, + 0x70, 0x12, 0x97, 0x01, 0x0a, 0x10, 0x47, 0x69, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, + 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x2e, 0x47, 0x69, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x1a, 0x2c, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, + 0x69, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x73, 0x70, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x01, 0x2a, 0x22, 0x1c, 0x2f, + 0x74, 0x65, 0x61, 0x6d, 0x73, 0x2f, 0x7b, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x7d, 0x2f, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x18, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x51, 0x72, 0x43, + 0x6f, 0x64, 0x65, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x34, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, + 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x34, 0x2e, 0x63, 0x72, 0x61, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, - 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x47, 0x69, 0x76, 0x65, 0x41, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x73, 0x70, 0x22, 0x27, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x01, 0x2a, 0x22, 0x1c, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x2f, - 0x7b, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x7d, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0b, 0x5a, 0x09, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, + 0x64, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x46, 0x69, 0x6c, + 0x65, 0x52, 0x73, 0x70, 0x22, 0x12, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0c, 0x12, 0x0a, 0x2f, 0x74, + 0x65, 0x61, 0x6d, 0x73, 0x2f, 0x70, 0x64, 0x66, 0x42, 0x0b, 0x5a, 0x09, 0x70, 0x6b, 0x67, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1411,33 +1511,35 @@ func file_main_proto_rawDescGZIP() []byte { return file_main_proto_rawDescData } -var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 25) +var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 27) var file_main_proto_goTypes = []interface{}{ - (*PingReq)(nil), // 0: crabs.evening_detective.PingReq - (*PingRsp)(nil), // 1: crabs.evening_detective.PingRsp - (*AddTeamsReq)(nil), // 2: crabs.evening_detective.AddTeamsReq - (*Team)(nil), // 3: crabs.evening_detective.Team - (*AddTeamsRsp)(nil), // 4: crabs.evening_detective.AddTeamsRsp - (*TeamFull)(nil), // 5: crabs.evening_detective.TeamFull - (*GetTeamsReq)(nil), // 6: crabs.evening_detective.GetTeamsReq - (*GetTeamsRsp)(nil), // 7: crabs.evening_detective.GetTeamsRsp - (*GetTeamsCSVReq)(nil), // 8: crabs.evening_detective.GetTeamsCSVReq - (*GetTeamsCSVRsp)(nil), // 9: crabs.evening_detective.GetTeamsCSVRsp - (*TeamAdvanced)(nil), // 10: crabs.evening_detective.TeamAdvanced - (*Application)(nil), // 11: crabs.evening_detective.Application - (*GetTeamReq)(nil), // 12: crabs.evening_detective.GetTeamReq - (*GetTeamRsp)(nil), // 13: crabs.evening_detective.GetTeamRsp - (*AddActionReq)(nil), // 14: crabs.evening_detective.AddActionReq - (*AddActionRsp)(nil), // 15: crabs.evening_detective.AddActionRsp - (*Action)(nil), // 16: crabs.evening_detective.Action - (*GetGameReq)(nil), // 17: crabs.evening_detective.GetGameReq - (*GetGameRsp)(nil), // 18: crabs.evening_detective.GetGameRsp - (*GameStartReq)(nil), // 19: crabs.evening_detective.GameStartReq - (*GameStartRsp)(nil), // 20: crabs.evening_detective.GameStartRsp - (*GameStopReq)(nil), // 21: crabs.evening_detective.GameStopReq - (*GameStopRsp)(nil), // 22: crabs.evening_detective.GameStopRsp - (*GiveApplicationsReq)(nil), // 23: crabs.evening_detective.GiveApplicationsReq - (*GiveApplicationsRsp)(nil), // 24: crabs.evening_detective.GiveApplicationsRsp + (*PingReq)(nil), // 0: crabs.evening_detective.PingReq + (*PingRsp)(nil), // 1: crabs.evening_detective.PingRsp + (*AddTeamsReq)(nil), // 2: crabs.evening_detective.AddTeamsReq + (*Team)(nil), // 3: crabs.evening_detective.Team + (*AddTeamsRsp)(nil), // 4: crabs.evening_detective.AddTeamsRsp + (*TeamFull)(nil), // 5: crabs.evening_detective.TeamFull + (*GetTeamsReq)(nil), // 6: crabs.evening_detective.GetTeamsReq + (*GetTeamsRsp)(nil), // 7: crabs.evening_detective.GetTeamsRsp + (*GetTeamsCSVReq)(nil), // 8: crabs.evening_detective.GetTeamsCSVReq + (*GetTeamsCSVRsp)(nil), // 9: crabs.evening_detective.GetTeamsCSVRsp + (*TeamAdvanced)(nil), // 10: crabs.evening_detective.TeamAdvanced + (*Application)(nil), // 11: crabs.evening_detective.Application + (*GetTeamReq)(nil), // 12: crabs.evening_detective.GetTeamReq + (*GetTeamRsp)(nil), // 13: crabs.evening_detective.GetTeamRsp + (*AddActionReq)(nil), // 14: crabs.evening_detective.AddActionReq + (*AddActionRsp)(nil), // 15: crabs.evening_detective.AddActionRsp + (*Action)(nil), // 16: crabs.evening_detective.Action + (*GetGameReq)(nil), // 17: crabs.evening_detective.GetGameReq + (*GetGameRsp)(nil), // 18: crabs.evening_detective.GetGameRsp + (*GameStartReq)(nil), // 19: crabs.evening_detective.GameStartReq + (*GameStartRsp)(nil), // 20: crabs.evening_detective.GameStartRsp + (*GameStopReq)(nil), // 21: crabs.evening_detective.GameStopReq + (*GameStopRsp)(nil), // 22: crabs.evening_detective.GameStopRsp + (*GiveApplicationsReq)(nil), // 23: crabs.evening_detective.GiveApplicationsReq + (*GiveApplicationsRsp)(nil), // 24: crabs.evening_detective.GiveApplicationsRsp + (*DownloadTeamsQrCodesFileReq)(nil), // 25: crabs.evening_detective.DownloadTeamsQrCodesFileReq + (*DownloadTeamsQrCodesFileRsp)(nil), // 26: crabs.evening_detective.DownloadTeamsQrCodesFileRsp } var file_main_proto_depIdxs = []int32{ 3, // 0: crabs.evening_detective.AddTeamsReq.teams:type_name -> crabs.evening_detective.Team @@ -1457,18 +1559,20 @@ var file_main_proto_depIdxs = []int32{ 19, // 14: crabs.evening_detective.EveningDetective.GameStart:input_type -> crabs.evening_detective.GameStartReq 21, // 15: crabs.evening_detective.EveningDetective.GameStop:input_type -> crabs.evening_detective.GameStopReq 23, // 16: crabs.evening_detective.EveningDetective.GiveApplications:input_type -> crabs.evening_detective.GiveApplicationsReq - 1, // 17: crabs.evening_detective.EveningDetective.Ping:output_type -> crabs.evening_detective.PingRsp - 4, // 18: crabs.evening_detective.EveningDetective.AddTeams:output_type -> crabs.evening_detective.AddTeamsRsp - 7, // 19: crabs.evening_detective.EveningDetective.GetTeams:output_type -> crabs.evening_detective.GetTeamsRsp - 9, // 20: crabs.evening_detective.EveningDetective.GetTeamsCSV:output_type -> crabs.evening_detective.GetTeamsCSVRsp - 13, // 21: crabs.evening_detective.EveningDetective.GetTeam:output_type -> crabs.evening_detective.GetTeamRsp - 15, // 22: crabs.evening_detective.EveningDetective.AddAction:output_type -> crabs.evening_detective.AddActionRsp - 18, // 23: crabs.evening_detective.EveningDetective.GetGame:output_type -> crabs.evening_detective.GetGameRsp - 20, // 24: crabs.evening_detective.EveningDetective.GameStart:output_type -> crabs.evening_detective.GameStartRsp - 22, // 25: crabs.evening_detective.EveningDetective.GameStop:output_type -> crabs.evening_detective.GameStopRsp - 24, // 26: crabs.evening_detective.EveningDetective.GiveApplications:output_type -> crabs.evening_detective.GiveApplicationsRsp - 17, // [17:27] is the sub-list for method output_type - 7, // [7:17] is the sub-list for method input_type + 25, // 17: crabs.evening_detective.EveningDetective.DownloadTeamsQrCodesFile:input_type -> crabs.evening_detective.DownloadTeamsQrCodesFileReq + 1, // 18: crabs.evening_detective.EveningDetective.Ping:output_type -> crabs.evening_detective.PingRsp + 4, // 19: crabs.evening_detective.EveningDetective.AddTeams:output_type -> crabs.evening_detective.AddTeamsRsp + 7, // 20: crabs.evening_detective.EveningDetective.GetTeams:output_type -> crabs.evening_detective.GetTeamsRsp + 9, // 21: crabs.evening_detective.EveningDetective.GetTeamsCSV:output_type -> crabs.evening_detective.GetTeamsCSVRsp + 13, // 22: crabs.evening_detective.EveningDetective.GetTeam:output_type -> crabs.evening_detective.GetTeamRsp + 15, // 23: crabs.evening_detective.EveningDetective.AddAction:output_type -> crabs.evening_detective.AddActionRsp + 18, // 24: crabs.evening_detective.EveningDetective.GetGame:output_type -> crabs.evening_detective.GetGameRsp + 20, // 25: crabs.evening_detective.EveningDetective.GameStart:output_type -> crabs.evening_detective.GameStartRsp + 22, // 26: crabs.evening_detective.EveningDetective.GameStop:output_type -> crabs.evening_detective.GameStopRsp + 24, // 27: crabs.evening_detective.EveningDetective.GiveApplications:output_type -> crabs.evening_detective.GiveApplicationsRsp + 26, // 28: crabs.evening_detective.EveningDetective.DownloadTeamsQrCodesFile:output_type -> crabs.evening_detective.DownloadTeamsQrCodesFileRsp + 18, // [18:29] is the sub-list for method output_type + 7, // [7:18] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name 7, // [7:7] is the sub-list for extension extendee 0, // [0:7] is the sub-list for field type_name @@ -1780,6 +1884,30 @@ func file_main_proto_init() { return nil } } + file_main_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownloadTeamsQrCodesFileReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_main_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownloadTeamsQrCodesFileRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1787,7 +1915,7 @@ func file_main_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_main_proto_rawDesc, NumEnums: 0, - NumMessages: 25, + NumMessages: 27, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/main.pb.gw.go b/proto/main.pb.gw.go index c73c538..bcc878c 100644 --- a/proto/main.pb.gw.go +++ b/proto/main.pb.gw.go @@ -285,6 +285,24 @@ func local_request_EveningDetective_GiveApplications_0(ctx context.Context, mars } +func request_EveningDetective_DownloadTeamsQrCodesFile_0(ctx context.Context, marshaler runtime.Marshaler, client EveningDetectiveClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DownloadTeamsQrCodesFileReq + var metadata runtime.ServerMetadata + + msg, err := client.DownloadTeamsQrCodesFile(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_EveningDetective_DownloadTeamsQrCodesFile_0(ctx context.Context, marshaler runtime.Marshaler, server EveningDetectiveServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DownloadTeamsQrCodesFileReq + var metadata runtime.ServerMetadata + + msg, err := server.DownloadTeamsQrCodesFile(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterEveningDetectiveHandlerServer registers the http handlers for service EveningDetective to "mux". // UnaryRPC :call EveningDetectiveServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -541,6 +559,31 @@ func RegisterEveningDetectiveHandlerServer(ctx context.Context, mux *runtime.Ser }) + mux.Handle("GET", pattern_EveningDetective_DownloadTeamsQrCodesFile_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/crabs.evening_detective.EveningDetective/DownloadTeamsQrCodesFile", runtime.WithHTTPPathPattern("/teams/pdf")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_EveningDetective_DownloadTeamsQrCodesFile_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_EveningDetective_DownloadTeamsQrCodesFile_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -802,6 +845,28 @@ func RegisterEveningDetectiveHandlerClient(ctx context.Context, mux *runtime.Ser }) + mux.Handle("GET", pattern_EveningDetective_DownloadTeamsQrCodesFile_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/crabs.evening_detective.EveningDetective/DownloadTeamsQrCodesFile", runtime.WithHTTPPathPattern("/teams/pdf")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_EveningDetective_DownloadTeamsQrCodesFile_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_EveningDetective_DownloadTeamsQrCodesFile_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -825,6 +890,8 @@ var ( pattern_EveningDetective_GameStop_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"game", "stop"}, "")) pattern_EveningDetective_GiveApplications_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1, 2, 2}, []string{"teams", "teamId", "applications"}, "")) + + pattern_EveningDetective_DownloadTeamsQrCodesFile_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"teams", "pdf"}, "")) ) var ( @@ -847,4 +914,6 @@ var ( forward_EveningDetective_GameStop_0 = runtime.ForwardResponseMessage forward_EveningDetective_GiveApplications_0 = runtime.ForwardResponseMessage + + forward_EveningDetective_DownloadTeamsQrCodesFile_0 = runtime.ForwardResponseMessage ) diff --git a/proto/main.swagger.json b/proto/main.swagger.json index 915a427..e187751 100644 --- a/proto/main.swagger.json +++ b/proto/main.swagger.json @@ -247,6 +247,28 @@ ] } }, + "/teams/pdf": { + "get": { + "operationId": "EveningDetective_DownloadTeamsQrCodesFile", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/evening_detectiveDownloadTeamsQrCodesFileRsp" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/runtimeError" + } + } + }, + "tags": [ + "EveningDetective" + ] + } + }, "/teams/{teamId}/applications": { "post": { "operationId": "EveningDetective_GiveApplications", @@ -360,6 +382,15 @@ } } }, + "evening_detectiveDownloadTeamsQrCodesFileRsp": { + "type": "object", + "properties": { + "result": { + "type": "string", + "format": "byte" + } + } + }, "evening_detectiveGameStartReq": { "type": "object" }, diff --git a/proto/main_grpc.pb.go b/proto/main_grpc.pb.go index 0f41eb0..023c90b 100644 --- a/proto/main_grpc.pb.go +++ b/proto/main_grpc.pb.go @@ -19,16 +19,17 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - EveningDetective_Ping_FullMethodName = "/crabs.evening_detective.EveningDetective/Ping" - EveningDetective_AddTeams_FullMethodName = "/crabs.evening_detective.EveningDetective/AddTeams" - EveningDetective_GetTeams_FullMethodName = "/crabs.evening_detective.EveningDetective/GetTeams" - EveningDetective_GetTeamsCSV_FullMethodName = "/crabs.evening_detective.EveningDetective/GetTeamsCSV" - EveningDetective_GetTeam_FullMethodName = "/crabs.evening_detective.EveningDetective/GetTeam" - EveningDetective_AddAction_FullMethodName = "/crabs.evening_detective.EveningDetective/AddAction" - EveningDetective_GetGame_FullMethodName = "/crabs.evening_detective.EveningDetective/GetGame" - EveningDetective_GameStart_FullMethodName = "/crabs.evening_detective.EveningDetective/GameStart" - EveningDetective_GameStop_FullMethodName = "/crabs.evening_detective.EveningDetective/GameStop" - EveningDetective_GiveApplications_FullMethodName = "/crabs.evening_detective.EveningDetective/GiveApplications" + EveningDetective_Ping_FullMethodName = "/crabs.evening_detective.EveningDetective/Ping" + EveningDetective_AddTeams_FullMethodName = "/crabs.evening_detective.EveningDetective/AddTeams" + EveningDetective_GetTeams_FullMethodName = "/crabs.evening_detective.EveningDetective/GetTeams" + EveningDetective_GetTeamsCSV_FullMethodName = "/crabs.evening_detective.EveningDetective/GetTeamsCSV" + EveningDetective_GetTeam_FullMethodName = "/crabs.evening_detective.EveningDetective/GetTeam" + EveningDetective_AddAction_FullMethodName = "/crabs.evening_detective.EveningDetective/AddAction" + EveningDetective_GetGame_FullMethodName = "/crabs.evening_detective.EveningDetective/GetGame" + EveningDetective_GameStart_FullMethodName = "/crabs.evening_detective.EveningDetective/GameStart" + EveningDetective_GameStop_FullMethodName = "/crabs.evening_detective.EveningDetective/GameStop" + EveningDetective_GiveApplications_FullMethodName = "/crabs.evening_detective.EveningDetective/GiveApplications" + EveningDetective_DownloadTeamsQrCodesFile_FullMethodName = "/crabs.evening_detective.EveningDetective/DownloadTeamsQrCodesFile" ) // EveningDetectiveClient is the client API for EveningDetective service. @@ -45,6 +46,7 @@ type EveningDetectiveClient interface { GameStart(ctx context.Context, in *GameStartReq, opts ...grpc.CallOption) (*GameStartRsp, error) GameStop(ctx context.Context, in *GameStopReq, opts ...grpc.CallOption) (*GameStopRsp, error) GiveApplications(ctx context.Context, in *GiveApplicationsReq, opts ...grpc.CallOption) (*GiveApplicationsRsp, error) + DownloadTeamsQrCodesFile(ctx context.Context, in *DownloadTeamsQrCodesFileReq, opts ...grpc.CallOption) (*DownloadTeamsQrCodesFileRsp, error) } type eveningDetectiveClient struct { @@ -145,6 +147,15 @@ func (c *eveningDetectiveClient) GiveApplications(ctx context.Context, in *GiveA return out, nil } +func (c *eveningDetectiveClient) DownloadTeamsQrCodesFile(ctx context.Context, in *DownloadTeamsQrCodesFileReq, opts ...grpc.CallOption) (*DownloadTeamsQrCodesFileRsp, error) { + out := new(DownloadTeamsQrCodesFileRsp) + err := c.cc.Invoke(ctx, EveningDetective_DownloadTeamsQrCodesFile_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // EveningDetectiveServer is the server API for EveningDetective service. // All implementations must embed UnimplementedEveningDetectiveServer // for forward compatibility @@ -159,6 +170,7 @@ type EveningDetectiveServer interface { GameStart(context.Context, *GameStartReq) (*GameStartRsp, error) GameStop(context.Context, *GameStopReq) (*GameStopRsp, error) GiveApplications(context.Context, *GiveApplicationsReq) (*GiveApplicationsRsp, error) + DownloadTeamsQrCodesFile(context.Context, *DownloadTeamsQrCodesFileReq) (*DownloadTeamsQrCodesFileRsp, error) mustEmbedUnimplementedEveningDetectiveServer() } @@ -196,6 +208,9 @@ func (UnimplementedEveningDetectiveServer) GameStop(context.Context, *GameStopRe func (UnimplementedEveningDetectiveServer) GiveApplications(context.Context, *GiveApplicationsReq) (*GiveApplicationsRsp, error) { return nil, status.Errorf(codes.Unimplemented, "method GiveApplications not implemented") } +func (UnimplementedEveningDetectiveServer) DownloadTeamsQrCodesFile(context.Context, *DownloadTeamsQrCodesFileReq) (*DownloadTeamsQrCodesFileRsp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DownloadTeamsQrCodesFile not implemented") +} func (UnimplementedEveningDetectiveServer) mustEmbedUnimplementedEveningDetectiveServer() {} // UnsafeEveningDetectiveServer may be embedded to opt out of forward compatibility for this service. @@ -389,6 +404,24 @@ func _EveningDetective_GiveApplications_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _EveningDetective_DownloadTeamsQrCodesFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DownloadTeamsQrCodesFileReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(EveningDetectiveServer).DownloadTeamsQrCodesFile(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: EveningDetective_DownloadTeamsQrCodesFile_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EveningDetectiveServer).DownloadTeamsQrCodesFile(ctx, req.(*DownloadTeamsQrCodesFileReq)) + } + return interceptor(ctx, in, info, handler) +} + // EveningDetective_ServiceDesc is the grpc.ServiceDesc for EveningDetective service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -436,6 +469,10 @@ var EveningDetective_ServiceDesc = grpc.ServiceDesc{ MethodName: "GiveApplications", Handler: _EveningDetective_GiveApplications_Handler, }, + { + MethodName: "DownloadTeamsQrCodesFile", + Handler: _EveningDetective_DownloadTeamsQrCodesFile_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "main.proto", diff --git a/static/admin/assets/AboutView-Da-s6hnT.js b/static/admin/assets/AboutView-CqfMqJey.js similarity index 72% rename from static/admin/assets/AboutView-Da-s6hnT.js rename to static/admin/assets/AboutView-CqfMqJey.js index 8f2af79..1387ac6 100644 --- a/static/admin/assets/AboutView-Da-s6hnT.js +++ b/static/admin/assets/AboutView-CqfMqJey.js @@ -1 +1 @@ -import{_ as o,c as s,a as t,o as a}from"./index-C49JGeDk.js";const n={},c={class:"about"};function r(_,e){return a(),s("div",c,e[0]||(e[0]=[t("h1",null,"This is an about page",-1)]))}const l=o(n,[["render",r]]);export{l as default}; +import{_ as o,c as s,a as t,o as a}from"./index-BnuCLF3i.js";const n={},c={class:"about"};function r(_,e){return a(),s("div",c,e[0]||(e[0]=[t("h1",null,"This is an about page",-1)]))}const l=o(n,[["render",r]]);export{l as default}; diff --git a/static/admin/assets/index-0km8kjt9.css b/static/admin/assets/index-0km8kjt9.css new file mode 100644 index 0000000..538bfa6 --- /dev/null +++ b/static/admin/assets/index-0km8kjt9.css @@ -0,0 +1 @@ +:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64);--main-color: rgba(34, 50, 60, 1);--second-color: rgb(136, 105, 31);--main-back-color: rgba(240, 240, 240, 1);--main-back-item-color: rgba(254, 254, 254, 1)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100dvh;color:var(--color-text);background:var(--main-back-color);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header-block{height:50px;background-color:var(--main-color);font-size:large;color:#fff;vertical-align:middle;padding:10px 0 10px 16px;font-weight:700}.input-custom{width:100%;box-sizing:border-box;margin-bottom:15px}.button-custom{margin-left:auto;background-color:var(--main-color);font-weight:600;color:#fff}.button-custom-inline{margin:10px;background-color:var(--main-color);font-weight:600;color:#fff;padding:6px 8px;border:1px solid #ddd;border-radius:15px;font-size:14px}.button-custom:hover,.button-custom-inline:hover{background-color:var(--second-color)}.input-custom,.button-custom{padding:12px 16px;border:1px solid #ddd;border-radius:15px;font-size:16px}.button-container{display:flex}.center-message{display:flex;justify-content:center;align-items:center;height:calc(100dvh - 100px);text-align:center}header[data-v-e5db0c22]{line-height:1.5;max-height:100vh}.logo[data-v-e5db0c22]{display:block;margin:0 auto 2rem}nav[data-v-e5db0c22]{width:100%;font-size:12px;text-align:center;margin-top:2rem}nav a.router-link-exact-active[data-v-e5db0c22]{color:var(--color-text)}nav a.router-link-exact-active[data-v-e5db0c22]:hover{background-color:transparent}nav a[data-v-e5db0c22]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-e5db0c22]:first-of-type{border:0}@media (min-width: 1024px){header[data-v-e5db0c22]{display:flex;place-items:center;padding-right:calc(var(--section-gap) / 2)}.logo[data-v-e5db0c22]{margin:0 2rem 0 0}header .wrapper[data-v-e5db0c22]{display:flex;place-items:flex-start;flex-wrap:wrap}nav[data-v-e5db0c22]{text-align:left;margin-left:-1rem;font-size:1rem;padding:1rem 0;margin-top:1rem}}body[data-v-764d6ba3]{font-family:Arial,sans-serif;margin:20px}.buttons-block[data-v-764d6ba3]{padding-top:20px}.button-menu[data-v-764d6ba3]{margin:5px}table[data-v-764d6ba3]{width:700px;border-collapse:collapse;margin:30px auto;border:1px solid #444444}th[data-v-764d6ba3],td[data-v-764d6ba3]{padding:12px;text-align:left}th[data-v-764d6ba3]{background-color:var(--main-color);color:#fff;font-weight:700}tr[data-v-764d6ba3]:nth-child(odd){background-color:#efefef}tr[data-v-764d6ba3]:nth-child(2n){background-color:#fff}tr[data-v-764d6ba3]:hover{background-color:#cfcfcf}.time[data-v-764d6ba3]{white-space:nowrap}.team-name[data-v-764d6ba3]{font-weight:600}.link-button[data-v-764d6ba3]{display:inline;border:none;background:none;padding:0;margin:0;font:inherit;cursor:pointer;color:var(--main-color);text-decoration:underline;font-weight:600;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:inherit;text-align:left}.link-button[data-v-764d6ba3]:hover{color:var(--second-color);text-decoration:none}.link-button[data-v-764d6ba3]:active{color:#036}.link-button[data-v-764d6ba3]:focus{outline:none;text-decoration:none;box-shadow:0 0 0 2px #0066cc4d}.form-block[data-v-764d6ba3]{width:700px;margin:0 auto}a[data-v-764d6ba3]{color:var(--second-color);text-decoration:none;transition:all .2s ease;cursor:pointer}a[data-v-764d6ba3]:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}a[data-v-764d6ba3]:focus-visible{outline:2px solid #3182ce;outline-offset:2px;border-radius:2px}a[disabled][data-v-764d6ba3]{color:#a0aec0;pointer-events:none;cursor:not-allowed}.qr[data-v-764d6ba3]{position:absolute;top:80px;right:30px;text-align:center;width:120px}.button-container[data-v-764d6ba3]{margin-bottom:30px} diff --git a/static/admin/assets/index-C49JGeDk.js b/static/admin/assets/index-BnuCLF3i.js similarity index 69% rename from static/admin/assets/index-C49JGeDk.js rename to static/admin/assets/index-BnuCLF3i.js index 5aa0e3d..e0051f8 100644 --- a/static/admin/assets/index-C49JGeDk.js +++ b/static/admin/assets/index-BnuCLF3i.js @@ -1,21 +1,21 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-Da-s6hnT.js","assets/AboutView-CSIvawM9.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-CqfMqJey.js","assets/AboutView-CSIvawM9.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Hr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Mt=[],ze=()=>{},al=()=>!1,Tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$r=e=>e.startsWith("onUpdate:"),me=Object.assign,jr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dl=Object.prototype.hasOwnProperty,re=(e,t)=>dl.call(e,t),J=Array.isArray,Nt=e=>xn(e)==="[object Map]",Lo=e=>xn(e)==="[object Set]",Y=e=>typeof e=="function",ae=e=>typeof e=="string",dt=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",Do=e=>(fe(e)||Y(e))&&Y(e.then)&&Y(e.catch),Fo=Object.prototype.toString,xn=e=>Fo.call(e),hl=e=>xn(e).slice(8,-1),Uo=e=>xn(e)==="[object Object]",qr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wt=Hr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),In=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},pl=/-(\w)/g,at=In(e=>e.replace(pl,(t,n)=>n?n.toUpperCase():"")),gl=/\B([A-Z])/g,Et=In(e=>e.replace(gl,"-$1").toLowerCase()),ko=In(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hn=In(e=>e?`on${ko(e)}`:""),ut=(e,t)=>!Object.is(e,t),mn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let fs;const Mn=()=>fs||(fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e){if(J(e)){const t={};for(let n=0;n{if(n){const r=n.split(yl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Kr(e){let t="";if(ae(e))t=e;else if(J(e))for(let n=0;n!!(e&&e.__v_isRef===!0),yt=e=>ae(e)?e:e==null?"":J(e)||fe(e)&&(e.toString===Fo||!Y(e.toString))?jo(e)?yt(e.value):JSON.stringify(e,qo,2):String(e),qo=(e,t)=>jo(t)?qo(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[$n(r,o)+" =>"]=s,n),{})}:Lo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$n(n))}:dt(t)?$n(t):fe(t)&&!J(t)&&!Uo(t)?String(t):t,$n=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Hr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Mt=[],ze=()=>{},al=()=>!1,Tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$r=e=>e.startsWith("onUpdate:"),me=Object.assign,jr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dl=Object.prototype.hasOwnProperty,re=(e,t)=>dl.call(e,t),J=Array.isArray,Nt=e=>xn(e)==="[object Map]",Lo=e=>xn(e)==="[object Set]",Y=e=>typeof e=="function",ae=e=>typeof e=="string",dt=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",Do=e=>(fe(e)||Y(e))&&Y(e.then)&&Y(e.catch),Fo=Object.prototype.toString,xn=e=>Fo.call(e),hl=e=>xn(e).slice(8,-1),Uo=e=>xn(e)==="[object Object]",qr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wt=Hr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),In=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},pl=/-(\w)/g,at=In(e=>e.replace(pl,(t,n)=>n?n.toUpperCase():"")),gl=/\B([A-Z])/g,Ct=In(e=>e.replace(gl,"-$1").toLowerCase()),ko=In(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hn=In(e=>e?`on${ko(e)}`:""),ut=(e,t)=>!Object.is(e,t),mn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let fs;const Mn=()=>fs||(fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e){if(J(e)){const t={};for(let n=0;n{if(n){const r=n.split(yl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Kr(e){let t="";if(ae(e))t=e;else if(J(e))for(let n=0;n!!(e&&e.__v_isRef===!0),bt=e=>ae(e)?e:e==null?"":J(e)||fe(e)&&(e.toString===Fo||!Y(e.toString))?jo(e)?bt(e.value):JSON.stringify(e,qo,2):String(e),qo=(e,t)=>jo(t)?qo(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[$n(r,o)+" =>"]=s,n),{})}:Lo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$n(n))}:dt(t)?$n(t):fe(t)&&!J(t)&&!Uo(t)?String(t):t,$n=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ae;class Vo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Jt){let t=Jt;for(Jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gt;){let t=Gt;for(Gt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Go(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jo(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Gr(r),Sl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Rr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===tn))return;e.globalVersion=tn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Rr(e)){e.flags&=-3;return}const n=ce,r=De;ce=e,De=!0;try{Go(e);const s=e.fn(e._value);(t.version===0||ut(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ce=n,De=r,Jo(e),e.flags&=-3}}function Gr(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Gr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const Qo=[];function ht(){Qo.push(De),De=!1}function pt(){const e=Qo.pop();De=e===void 0?!0:e}function as(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let tn=0;class Rl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Jr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ce||!De||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Rl(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,Xo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=r)}return n}trigger(t){this.version++,tn++,this.notify(t)}notify(t){zr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Wr()}}}function Xo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Xo(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pr=new WeakMap,vt=Symbol(""),Ar=Symbol(""),nn=Symbol("");function he(e,t,n){if(De&&ce){let r=Pr.get(e);r||Pr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Jr),s.map=r,s.key=n),s.track()}}function Xe(e,t,n,r,s,o){const i=Pr.get(e);if(!i){tn++;return}const l=c=>{c&&c.trigger()};if(zr(),t==="clear")i.forEach(l);else{const c=J(e),f=c&&qr(n);if(c&&n==="length"){const u=Number(r);i.forEach((a,p)=>{(p==="length"||p===nn||!dt(p)&&p>=u)&&l(a)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(nn)),t){case"add":c?f&&l(i.get("length")):(l(i.get(vt)),Nt(e)&&l(i.get(Ar)));break;case"delete":c||(l(i.get(vt)),Nt(e)&&l(i.get(Ar)));break;case"set":Nt(e)&&l(i.get(vt));break}}Wr()}function Rt(e){const t=ne(e);return t===e?t:(he(t,"iterate",nn),Oe(e)?t:t.map(pe))}function Nn(e){return he(e=ne(e),"iterate",nn),e}const Pl={__proto__:null,[Symbol.iterator](){return qn(this,Symbol.iterator,pe)},concat(...e){return Rt(this).concat(...e.map(t=>J(t)?Rt(t):t))},entries(){return qn(this,"entries",e=>(e[1]=pe(e[1]),e))},every(e,t){return Ge(this,"every",e,t,void 0,arguments)},filter(e,t){return Ge(this,"filter",e,t,n=>n.map(pe),arguments)},find(e,t){return Ge(this,"find",e,t,pe,arguments)},findIndex(e,t){return Ge(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ge(this,"findLast",e,t,pe,arguments)},findLastIndex(e,t){return Ge(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ge(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vn(this,"includes",e)},indexOf(...e){return Vn(this,"indexOf",e)},join(e){return Rt(this).join(e)},lastIndexOf(...e){return Vn(this,"lastIndexOf",e)},map(e,t){return Ge(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return ds(this,"reduce",e,t)},reduceRight(e,...t){return ds(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return Ge(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return Rt(this).toReversed()},toSorted(e){return Rt(this).toSorted(e)},toSpliced(...e){return Rt(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return qn(this,"values",pe)}};function qn(e,t,n){const r=Nn(e),s=r[t]();return r!==e&&!Oe(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Al=Array.prototype;function Ge(e,t,n,r,s,o){const i=Nn(e),l=i!==e&&!Oe(e),c=i[t];if(c!==Al[t]){const a=c.apply(e,o);return l?pe(a):a}let f=n;i!==e&&(l?f=function(a,p){return n.call(this,pe(a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=c.call(i,f,r);return l&&s?s(u):u}function ds(e,t,n,r){const s=Nn(e);let o=n;return s!==e&&(Oe(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,pe(l),c,e)}),s[t](o,...r)}function Vn(e,t,n){const r=ne(e);he(r,"iterate",nn);const s=r[t](...n);return(s===-1||s===!1)&&Xr(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function $t(e,t,n=[]){ht(),zr();const r=ne(e)[t].apply(e,n);return Wr(),pt(),r}const Tl=Hr("__proto__,__v_isRef,__isVue"),Zo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function xl(e){dt(e)||(e=String(e));const t=ne(this);return he(t,"has",e),t.hasOwnProperty(e)}class ei{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?kl:si:o?ri:ni).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=J(t);if(!s){let c;if(i&&(c=Pl[n]))return c;if(n==="hasOwnProperty")return xl}const l=Reflect.get(t,n,ge(t)?t:r);return(dt(n)?Zo.has(n):Tl(n))||(s||he(t,"get",n),o)?l:ge(l)?i&&qr(n)?l:l.value:fe(l)?s?ii(l):On(l):l}}class ti extends ei{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=wt(o);if(!Oe(r)&&!wt(r)&&(o=ne(o),r=ne(r)),!J(t)&&ge(o)&&!ge(r))return c?!1:(o.value=r,!0)}const i=J(t)&&qr(n)?Number(n)e,dn=e=>Reflect.getPrototypeOf(e);function Bl(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=Nt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=s[e](...r),u=n?Tr:t?xr:pe;return!t&&he(o,"iterate",c?Ar:vt),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ll(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),l=ne(s);e||(ut(s,l)&&he(i,"get",s),he(i,"get",l));const{has:c}=dn(i),f=t?Tr:e?xr:pe;if(c.call(i,s))return f(o.get(s));if(c.call(i,l))return f(o.get(l));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&he(ne(s),"iterate",vt),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=ne(o),l=ne(s);return e||(ut(s,l)&&he(i,"has",s),he(i,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const i=this,l=i.__v_raw,c=ne(l),f=t?Tr:e?xr:pe;return!e&&he(c,"iterate",vt),l.forEach((u,a)=>s.call(o,f(u),f(a),i))}};return me(n,e?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(s){!t&&!Oe(s)&&!wt(s)&&(s=ne(s));const o=ne(this);return dn(o).has.call(o,s)||(o.add(s),Xe(o,"add",s,s)),this},set(s,o){!t&&!Oe(o)&&!wt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=dn(i);let f=l.call(i,s);f||(s=ne(s),f=l.call(i,s));const u=c.call(i,s);return i.set(s,o),f?ut(o,u)&&Xe(i,"set",s,o):Xe(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:l}=dn(o);let c=i.call(o,s);c||(s=ne(s),c=i.call(o,s)),l&&l.call(o,s);const f=o.delete(s);return c&&Xe(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&Xe(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Bl(s,e,t)}),n}function Yr(e,t){const n=Ll(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,o)}const Dl={get:Yr(!1,!1)},Fl={get:Yr(!1,!0)},Ul={get:Yr(!0,!1)};const ni=new WeakMap,ri=new WeakMap,si=new WeakMap,kl=new WeakMap;function Hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $l(e){return e.__v_skip||!Object.isExtensible(e)?0:Hl(hl(e))}function On(e){return wt(e)?e:Qr(e,!1,Ml,Dl,ni)}function oi(e){return Qr(e,!1,Ol,Fl,ri)}function ii(e){return Qr(e,!0,Nl,Ul,si)}function Qr(e,t,n,r,s){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=$l(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Ot(e){return wt(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function Oe(e){return!!(e&&e.__v_isShallow)}function Xr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function li(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&Ho(e,"__v_skip",!0),e}const pe=e=>fe(e)?On(e):e,xr=e=>fe(e)?ii(e):e;function ge(e){return e?e.__v_isRef===!0:!1}function Ye(e){return ci(e,!1)}function jl(e){return ci(e,!0)}function ci(e,t){return ge(e)?e:new ql(e,t)}class ql{constructor(t,n){this.dep=new Jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Oe(t)||wt(t);t=r?t:ne(t),ut(t,n)&&(this._rawValue=t,this._value=r?t:pe(t),this.dep.trigger())}}function ft(e){return ge(e)?e.value:e}const Vl={get:(e,t,n)=>t==="__v_raw"?e:ft(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ge(s)&&!ge(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ui(e){return Ot(e)?e:new Proxy(e,Vl)}class Kl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return Wo(this,!0),!0}get value(){const t=this.dep.track();return Yo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function zl(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new Kl(r,s,n)}const pn={},wn=new WeakMap;let _t;function Wl(e,t=!1,n=_t){if(n){let r=wn.get(n);r||wn.set(n,r=[]),r.push(e)}}function Gl(e,t,n=ie){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:c}=n,f=S=>s?S:Oe(S)||s===!1||s===0?Ze(S,1):Ze(S);let u,a,p,g,E=!1,y=!1;if(ge(e)?(a=()=>e.value,E=Oe(e)):Ot(e)?(a=()=>f(e),E=!0):J(e)?(y=!0,E=e.some(S=>Ot(S)||Oe(S)),a=()=>e.map(S=>{if(ge(S))return S.value;if(Ot(S))return f(S);if(Y(S))return c?c(S,2):S()})):Y(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){ht();try{p()}finally{pt()}}const S=_t;_t=u;try{return c?c(e,3,[g]):e(g)}finally{_t=S}}:a=ze,t&&s){const S=a,z=s===!0?1/0:s;a=()=>Ze(S(),z)}const N=Cl(),v=()=>{u.stop(),N&&N.active&&jr(N.effects,u)};if(o&&t){const S=t;t=(...z)=>{S(...z),v()}}let P=y?new Array(e.length).fill(pn):pn;const R=S=>{if(!(!(u.flags&1)||!u.dirty&&!S))if(t){const z=u.run();if(s||E||(y?z.some((B,L)=>ut(B,P[L])):ut(z,P))){p&&p();const B=_t;_t=u;try{const L=[z,P===pn?void 0:y&&P[0]===pn?[]:P,g];c?c(t,3,L):t(...L),P=z}finally{_t=B}}}else u.run()};return l&&l(R),u=new Ko(a),u.scheduler=i?()=>i(R,!1):R,g=S=>Wl(S,!1,u),p=u.onStop=()=>{const S=wn.get(u);if(S){if(c)c(S,4);else for(const z of S)z();wn.delete(u)}},t?r?R(!0):P=u.run():i?i(R.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function Ze(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ge(e))Ze(e.value,t,n);else if(J(e))for(let r=0;r{Ze(r,t,n)});else if(Uo(e)){for(const r in e)Ze(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ze(e[r],t,n)}return e}/** +**/let Ae;class Vo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Jt){let t=Jt;for(Jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gt;){let t=Gt;for(Gt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Go(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jo(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Gr(r),Sl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Rr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===tn))return;e.globalVersion=tn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Rr(e)){e.flags&=-3;return}const n=ce,r=De;ce=e,De=!0;try{Go(e);const s=e.fn(e._value);(t.version===0||ut(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ce=n,De=r,Jo(e),e.flags&=-3}}function Gr(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Gr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const Qo=[];function ht(){Qo.push(De),De=!1}function pt(){const e=Qo.pop();De=e===void 0?!0:e}function as(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let tn=0;class Rl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Jr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ce||!De||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Rl(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,Xo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=r)}return n}trigger(t){this.version++,tn++,this.notify(t)}notify(t){zr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Wr()}}}function Xo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Xo(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pr=new WeakMap,wt=Symbol(""),Ar=Symbol(""),nn=Symbol("");function he(e,t,n){if(De&&ce){let r=Pr.get(e);r||Pr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Jr),s.map=r,s.key=n),s.track()}}function Xe(e,t,n,r,s,o){const i=Pr.get(e);if(!i){tn++;return}const l=c=>{c&&c.trigger()};if(zr(),t==="clear")i.forEach(l);else{const c=J(e),f=c&&qr(n);if(c&&n==="length"){const u=Number(r);i.forEach((a,p)=>{(p==="length"||p===nn||!dt(p)&&p>=u)&&l(a)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(nn)),t){case"add":c?f&&l(i.get("length")):(l(i.get(wt)),Nt(e)&&l(i.get(Ar)));break;case"delete":c||(l(i.get(wt)),Nt(e)&&l(i.get(Ar)));break;case"set":Nt(e)&&l(i.get(wt));break}}Wr()}function Pt(e){const t=ne(e);return t===e?t:(he(t,"iterate",nn),Oe(e)?t:t.map(pe))}function Nn(e){return he(e=ne(e),"iterate",nn),e}const Pl={__proto__:null,[Symbol.iterator](){return qn(this,Symbol.iterator,pe)},concat(...e){return Pt(this).concat(...e.map(t=>J(t)?Pt(t):t))},entries(){return qn(this,"entries",e=>(e[1]=pe(e[1]),e))},every(e,t){return Ge(this,"every",e,t,void 0,arguments)},filter(e,t){return Ge(this,"filter",e,t,n=>n.map(pe),arguments)},find(e,t){return Ge(this,"find",e,t,pe,arguments)},findIndex(e,t){return Ge(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ge(this,"findLast",e,t,pe,arguments)},findLastIndex(e,t){return Ge(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ge(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vn(this,"includes",e)},indexOf(...e){return Vn(this,"indexOf",e)},join(e){return Pt(this).join(e)},lastIndexOf(...e){return Vn(this,"lastIndexOf",e)},map(e,t){return Ge(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return ds(this,"reduce",e,t)},reduceRight(e,...t){return ds(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return Ge(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return Pt(this).toReversed()},toSorted(e){return Pt(this).toSorted(e)},toSpliced(...e){return Pt(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return qn(this,"values",pe)}};function qn(e,t,n){const r=Nn(e),s=r[t]();return r!==e&&!Oe(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Al=Array.prototype;function Ge(e,t,n,r,s,o){const i=Nn(e),l=i!==e&&!Oe(e),c=i[t];if(c!==Al[t]){const a=c.apply(e,o);return l?pe(a):a}let f=n;i!==e&&(l?f=function(a,p){return n.call(this,pe(a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=c.call(i,f,r);return l&&s?s(u):u}function ds(e,t,n,r){const s=Nn(e);let o=n;return s!==e&&(Oe(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,pe(l),c,e)}),s[t](o,...r)}function Vn(e,t,n){const r=ne(e);he(r,"iterate",nn);const s=r[t](...n);return(s===-1||s===!1)&&Xr(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function $t(e,t,n=[]){ht(),zr();const r=ne(e)[t].apply(e,n);return Wr(),pt(),r}const Tl=Hr("__proto__,__v_isRef,__isVue"),Zo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function xl(e){dt(e)||(e=String(e));const t=ne(this);return he(t,"has",e),t.hasOwnProperty(e)}class ei{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?kl:si:o?ri:ni).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=J(t);if(!s){let c;if(i&&(c=Pl[n]))return c;if(n==="hasOwnProperty")return xl}const l=Reflect.get(t,n,ge(t)?t:r);return(dt(n)?Zo.has(n):Tl(n))||(s||he(t,"get",n),o)?l:ge(l)?i&&qr(n)?l:l.value:fe(l)?s?ii(l):On(l):l}}class ti extends ei{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=Et(o);if(!Oe(r)&&!Et(r)&&(o=ne(o),r=ne(r)),!J(t)&&ge(o)&&!ge(r))return c?!1:(o.value=r,!0)}const i=J(t)&&qr(n)?Number(n)e,dn=e=>Reflect.getPrototypeOf(e);function Bl(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=Nt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=s[e](...r),u=n?Tr:t?xr:pe;return!t&&he(o,"iterate",c?Ar:wt),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ll(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),l=ne(s);e||(ut(s,l)&&he(i,"get",s),he(i,"get",l));const{has:c}=dn(i),f=t?Tr:e?xr:pe;if(c.call(i,s))return f(o.get(s));if(c.call(i,l))return f(o.get(l));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&he(ne(s),"iterate",wt),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=ne(o),l=ne(s);return e||(ut(s,l)&&he(i,"has",s),he(i,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const i=this,l=i.__v_raw,c=ne(l),f=t?Tr:e?xr:pe;return!e&&he(c,"iterate",wt),l.forEach((u,a)=>s.call(o,f(u),f(a),i))}};return me(n,e?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(s){!t&&!Oe(s)&&!Et(s)&&(s=ne(s));const o=ne(this);return dn(o).has.call(o,s)||(o.add(s),Xe(o,"add",s,s)),this},set(s,o){!t&&!Oe(o)&&!Et(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=dn(i);let f=l.call(i,s);f||(s=ne(s),f=l.call(i,s));const u=c.call(i,s);return i.set(s,o),f?ut(o,u)&&Xe(i,"set",s,o):Xe(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:l}=dn(o);let c=i.call(o,s);c||(s=ne(s),c=i.call(o,s)),l&&l.call(o,s);const f=o.delete(s);return c&&Xe(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&Xe(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Bl(s,e,t)}),n}function Yr(e,t){const n=Ll(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,o)}const Dl={get:Yr(!1,!1)},Fl={get:Yr(!1,!0)},Ul={get:Yr(!0,!1)};const ni=new WeakMap,ri=new WeakMap,si=new WeakMap,kl=new WeakMap;function Hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $l(e){return e.__v_skip||!Object.isExtensible(e)?0:Hl(hl(e))}function On(e){return Et(e)?e:Qr(e,!1,Ml,Dl,ni)}function oi(e){return Qr(e,!1,Ol,Fl,ri)}function ii(e){return Qr(e,!0,Nl,Ul,si)}function Qr(e,t,n,r,s){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=$l(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Ot(e){return Et(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Oe(e){return!!(e&&e.__v_isShallow)}function Xr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function li(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&Ho(e,"__v_skip",!0),e}const pe=e=>fe(e)?On(e):e,xr=e=>fe(e)?ii(e):e;function ge(e){return e?e.__v_isRef===!0:!1}function Ye(e){return ci(e,!1)}function jl(e){return ci(e,!0)}function ci(e,t){return ge(e)?e:new ql(e,t)}class ql{constructor(t,n){this.dep=new Jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Oe(t)||Et(t);t=r?t:ne(t),ut(t,n)&&(this._rawValue=t,this._value=r?t:pe(t),this.dep.trigger())}}function ft(e){return ge(e)?e.value:e}const Vl={get:(e,t,n)=>t==="__v_raw"?e:ft(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ge(s)&&!ge(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ui(e){return Ot(e)?e:new Proxy(e,Vl)}class Kl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return Wo(this,!0),!0}get value(){const t=this.dep.track();return Yo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function zl(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new Kl(r,s,n)}const pn={},wn=new WeakMap;let _t;function Wl(e,t=!1,n=_t){if(n){let r=wn.get(n);r||wn.set(n,r=[]),r.push(e)}}function Gl(e,t,n=ie){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:c}=n,f=b=>s?b:Oe(b)||s===!1||s===0?Ze(b,1):Ze(b);let u,a,p,g,C=!1,R=!1;if(ge(e)?(a=()=>e.value,C=Oe(e)):Ot(e)?(a=()=>f(e),C=!0):J(e)?(R=!0,C=e.some(b=>Ot(b)||Oe(b)),a=()=>e.map(b=>{if(ge(b))return b.value;if(Ot(b))return f(b);if(Y(b))return c?c(b,2):b()})):Y(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){ht();try{p()}finally{pt()}}const b=_t;_t=u;try{return c?c(e,3,[g]):e(g)}finally{_t=b}}:a=ze,t&&s){const b=a,$=s===!0?1/0:s;a=()=>Ze(b(),$)}const F=Cl(),P=()=>{u.stop(),F&&F.active&&jr(F.effects,u)};if(o&&t){const b=t;t=(...$)=>{b(...$),P()}}let y=R?new Array(e.length).fill(pn):pn;const v=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const $=u.run();if(s||C||(R?$.some((T,N)=>ut(T,y[N])):ut($,y))){p&&p();const T=_t;_t=u;try{const N=[$,y===pn?void 0:R&&y[0]===pn?[]:y,g];c?c(t,3,N):t(...N),y=$}finally{_t=T}}}else u.run()};return l&&l(v),u=new Ko(a),u.scheduler=i?()=>i(v,!1):v,g=b=>Wl(b,!1,u),p=u.onStop=()=>{const b=wn.get(u);if(b){if(c)c(b,4);else for(const $ of b)$();wn.delete(u)}},t?r?v(!0):y=u.run():i?i(v.bind(null,!0),!0):u.run(),P.pause=u.pause.bind(u),P.resume=u.resume.bind(u),P.stop=P,P}function Ze(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ge(e))Ze(e.value,t,n);else if(J(e))for(let r=0;r{Ze(r,t,n)});else if(Uo(e)){for(const r in e)Ze(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ze(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function fn(e,t,n,r){try{return r?e(...r):e()}catch(s){Bn(s,t,n)}}function We(e,t,n,r){if(Y(e)){const s=fn(e,t,n,r);return s&&Do(s)&&s.catch(o=>{Bn(o,t,n)}),s}if(J(e)){const s=[];for(let o=0;o>>1,s=we[r],o=rn(s);o=rn(n)?we.push(e):we.splice(Yl(t),0,e),e.flags|=1,di()}}function di(){En||(En=fi.then(pi))}function Ql(e){J(e)?Bt.push(...e):it&&e.id===-1?it.splice(Tt+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),di()}function hs(e,t,n=Ve+1){for(;nrn(n)-rn(r));if(Bt.length=0,it){it.push(...t);return}for(it=t,Tt=0;Tte.id==null?e.flags&2?-1:1/0:e.id;function pi(e){try{for(Ve=0;Ve{r._d&&Cs(-1);const o=Cn(t);let i;try{i=e(...s)}finally{Cn(o),r._d&&Cs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zl(e,t){if(Ne===null)return e;const n=Un(Ne),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport;function es(e,t){e.shapeFlag&6&&e.component?(e.transition=t,es(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function kt(e,t){return Y(e)?me({name:e.name},t,{setup:e}):e}function mi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Sn(e,t,n,r,s=!1){if(J(e)){e.forEach((E,y)=>Sn(E,t&&(J(t)?t[y]:t),n,r,s));return}if(Yt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Sn(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Un(r.component):r.el,i=s?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===ie?l.refs={}:l.refs,a=l.setupState,p=ne(a),g=a===ie?()=>!1:E=>re(p,E);if(f!=null&&f!==c&&(ae(f)?(u[f]=null,g(f)&&(a[f]=null)):ge(f)&&(f.value=null)),Y(c))fn(c,l,12,[i,u]);else{const E=ae(c),y=ge(c);if(E||y){const N=()=>{if(e.f){const v=E?g(c)?a[c]:u[c]:c.value;s?J(v)&&jr(v,o):J(v)?v.includes(o)||v.push(o):E?(u[c]=[o],g(c)&&(a[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else E?(u[c]=i,g(c)&&(a[c]=i)):y&&(c.value=i,e.k&&(u[e.k]=i))};i?(N.id=-1,Pe(N,n)):N()}}}Mn().requestIdleCallback;Mn().cancelIdleCallback;const Yt=e=>!!e.type.__asyncLoader,yi=e=>e.type.__isKeepAlive;function nc(e,t){_i(e,"a",t)}function rc(e,t){_i(e,"da",t)}function _i(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ln(t,r,n),n){let s=n.parent;for(;s&&s.parent;)yi(s.parent.vnode)&&sc(r,t,n,s),s=s.parent}}function sc(e,t,n,r){const s=Ln(t,e,r,!0);vi(()=>{jr(r[t],s)},n)}function Ln(e,t,n=Ee,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ht();const l=an(n),c=We(t,n,e,i);return l(),pt(),c});return r?s.unshift(o):s.push(o),o}}const tt=e=>(t,n=Ee)=>{(!ln||e==="sp")&&Ln(e,(...r)=>t(...r),n)},oc=tt("bm"),bi=tt("m"),ic=tt("bu"),lc=tt("u"),cc=tt("bum"),vi=tt("um"),uc=tt("sp"),fc=tt("rtg"),ac=tt("rtc");function dc(e,t=Ee){Ln("ec",e,t)}const hc=Symbol.for("v-ndc");function ps(e,t,n,r){let s;const o=n,i=J(e);if(i||ae(e)){const l=i&&Ot(e);let c=!1;l&&(c=!Oe(e),e=Nn(e)),s=new Array(e.length);for(let f=0,u=e.length;ft(l,c,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,f=l.length;ce?ji(e)?Un(e):Ir(e.parent):null,Qt=me(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=>Ir(e.parent),$root:e=>Ir(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ei(e),$forceUpdate:e=>e.f||(e.f=()=>{Zr(e.update)}),$nextTick:e=>e.n||(e.n=ai.bind(e.proxy)),$watch:e=>Bc.bind(e)}),Kn=(e,t)=>e!==ie&&!e.__isScriptSetup&&re(e,t),pc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Kn(r,t))return i[t]=1,r[t];if(s!==ie&&re(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&re(f,t))return i[t]=3,o[t];if(n!==ie&&re(n,t))return i[t]=4,n[t];Mr&&(i[t]=0)}}const u=Qt[t];let a,p;if(u)return t==="$attrs"&&he(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ie&&re(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,re(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Kn(s,t)?(s[t]=n,!0):r!==ie&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ie&&re(e,i)||Kn(t,i)||(l=o[0])&&re(l,i)||re(r,i)||re(Qt,i)||re(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gs(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mr=!0;function gc(e){const t=Ei(e),n=e.proxy,r=e.ctx;Mr=!1,t.beforeCreate&&ms(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:g,updated:E,activated:y,deactivated:N,beforeDestroy:v,beforeUnmount:P,destroyed:R,unmounted:S,render:z,renderTracked:B,renderTriggered:L,errorCaptured:H,serverPrefetch:F,expose:j,inheritAttrs:$,components:q,directives:k,filters:W}=t;if(f&&mc(f,r,null),i)for(const ee in i){const X=i[ee];Y(X)&&(r[ee]=X.bind(n))}if(s){const ee=s.call(n,n);fe(ee)&&(e.data=On(ee))}if(Mr=!0,o)for(const ee in o){const X=o[ee],Be=Y(X)?X.bind(n,n):Y(X.get)?X.get.bind(n,n):ze,Ie=!Y(X)&&Y(X.set)?X.set.bind(n):ze,_e=Le({get:Be,set:Ie});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>_e.value,set:de=>_e.value=de})}if(l)for(const ee in l)wi(l[ee],r,n,ee);if(c){const ee=Y(c)?c.call(n):c;Reflect.ownKeys(ee).forEach(X=>{yn(X,ee[X])})}u&&ms(u,e,"c");function ue(ee,X){J(X)?X.forEach(Be=>ee(Be.bind(n))):X&&ee(X.bind(n))}if(ue(oc,a),ue(bi,p),ue(ic,g),ue(lc,E),ue(nc,y),ue(rc,N),ue(dc,H),ue(ac,B),ue(fc,L),ue(cc,P),ue(vi,S),ue(uc,F),J(j))if(j.length){const ee=e.exposed||(e.exposed={});j.forEach(X=>{Object.defineProperty(ee,X,{get:()=>n[X],set:Be=>n[X]=Be})})}else e.exposed||(e.exposed={});z&&e.render===ze&&(e.render=z),$!=null&&(e.inheritAttrs=$),q&&(e.components=q),k&&(e.directives=k),F&&mi(e)}function mc(e,t,n=ze){J(e)&&(e=Nr(e));for(const r in e){const s=e[r];let o;fe(s)?"default"in s?o=et(s.from||r,s.default,!0):o=et(s.from||r):o=et(s),ge(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ms(e,t,n){We(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wi(e,t,n,r){let s=r.includes(".")?Di(n,r):()=>n[r];if(ae(e)){const o=t[e];Y(o)&&_n(s,o)}else if(Y(e))_n(s,e.bind(n));else if(fe(e))if(J(e))e.forEach(o=>wi(o,t,n,r));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&_n(s,o,e)}}function Ei(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(f=>Rn(c,f,i,!0)),Rn(c,t,i)),fe(t)&&o.set(t,c),c}function Rn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Rn(e,o,n,!0),s&&s.forEach(i=>Rn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=yc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const yc={data:ys,props:_s,emits:_s,methods:zt,computed:zt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:zt,directives:zt,watch:bc,provide:ys,inject:_c};function ys(e,t){return t?e?function(){return me(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function _c(e,t){return zt(Nr(e),Nr(t))}function Nr(e){if(J(e)){const t={};for(let n=0;n1)return n&&Y(t)?t.call(r&&r.proxy):t}}const Si={},Ri=()=>Object.create(Si),Pi=e=>Object.getPrototypeOf(e)===Si;function Ec(e,t,n,r=!1){const s={},o=Ri();e.propsDefaults=Object.create(null),Ai(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:oi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Cc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=ne(s),[c]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let a=0;a{c=!0;const[p,g]=Ti(a,t,!0);me(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return fe(e)&&r.set(e,Mt),Mt;if(J(o))for(let u=0;ue[0]==="_"||e==="$stable",ts=e=>J(e)?e.map(Ke):[Ke(e)],Rc=(e,t,n)=>{if(t._n)return t;const r=Xl((...s)=>ts(t(...s)),n);return r._c=!1,r},Ii=(e,t,n)=>{const r=e._ctx;for(const s in e){if(xi(s))continue;const o=e[s];if(Y(o))t[s]=Rc(s,o,r);else if(o!=null){const i=ts(o);t[s]=()=>i}}},Mi=(e,t)=>{const n=ts(t);e.slots.default=()=>n},Ni=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Pc=(e,t,n)=>{const r=e.slots=Ri();if(e.vnode.shapeFlag&32){const s=t._;s?(Ni(r,t,n),n&&Ho(r,"_",s,!0)):Ii(t,r)}else t&&Mi(e,t)},Ac=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ie;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ni(s,t,n):(o=!t.$stable,Ii(t,s)),i=t}else t&&(Mi(e,t),i={default:1});if(o)for(const l in s)!xi(l)&&i[l]==null&&delete s[l]},Pe=$c;function Tc(e){return xc(e)}function xc(e,t){const n=Mn();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:g=ze,insertStaticContent:E}=e,y=(d,h,m,b=null,C=null,w=null,O=void 0,I=null,T=!!h.dynamicChildren)=>{if(d===h)return;d&&!qt(d,h)&&(b=_(d),de(d,C,w,!0),d=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:A,ref:K,shapeFlag:D}=h;switch(A){case Fn:N(d,h,m,b);break;case sn:v(d,h,m,b);break;case Wn:d==null&&P(h,m,b,O);break;case Me:q(d,h,m,b,C,w,O,I,T);break;default:D&1?z(d,h,m,b,C,w,O,I,T):D&6?k(d,h,m,b,C,w,O,I,T):(D&64||D&128)&&A.process(d,h,m,b,C,w,O,I,T,U)}K!=null&&C&&Sn(K,d&&d.ref,w,h||d,!h)},N=(d,h,m,b)=>{if(d==null)r(h.el=l(h.children),m,b);else{const C=h.el=d.el;h.children!==d.children&&f(C,h.children)}},v=(d,h,m,b)=>{d==null?r(h.el=c(h.children||""),m,b):h.el=d.el},P=(d,h,m,b)=>{[d.el,d.anchor]=E(d.children,h,m,b,d.el,d.anchor)},R=({el:d,anchor:h},m,b)=>{let C;for(;d&&d!==h;)C=p(d),r(d,m,b),d=C;r(h,m,b)},S=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),s(d),d=m;s(h)},z=(d,h,m,b,C,w,O,I,T)=>{h.type==="svg"?O="svg":h.type==="math"&&(O="mathml"),d==null?B(h,m,b,C,w,O,I,T):F(d,h,C,w,O,I,T)},B=(d,h,m,b,C,w,O,I)=>{let T,A;const{props:K,shapeFlag:D,transition:V,dirs:G}=d;if(T=d.el=i(d.type,w,K&&K.is,K),D&8?u(T,d.children):D&16&&H(d.children,T,null,b,C,zn(d,w),O,I),G&>(d,null,b,"created"),L(T,d,d.scopeId,O,b),K){for(const le in K)le!=="value"&&!Wt(le)&&o(T,le,null,K[le],w,b);"value"in K&&o(T,"value",null,K.value,w),(A=K.onVnodeBeforeMount)&&je(A,b,d)}G&>(d,null,b,"beforeMount");const Q=Ic(C,V);Q&&V.beforeEnter(T),r(T,h,m),((A=K&&K.onVnodeMounted)||Q||G)&&Pe(()=>{A&&je(A,b,d),Q&&V.enter(T),G&>(d,null,b,"mounted")},C)},L=(d,h,m,b,C)=>{if(m&&g(d,m),b)for(let w=0;w{for(let A=T;A{const I=h.el=d.el;let{patchFlag:T,dynamicChildren:A,dirs:K}=h;T|=d.patchFlag&16;const D=d.props||ie,V=h.props||ie;let G;if(m&&mt(m,!1),(G=V.onVnodeBeforeUpdate)&&je(G,m,h,d),K&>(h,d,m,"beforeUpdate"),m&&mt(m,!0),(D.innerHTML&&V.innerHTML==null||D.textContent&&V.textContent==null)&&u(I,""),A?j(d.dynamicChildren,A,I,m,b,zn(h,C),w):O||X(d,h,I,null,m,b,zn(h,C),w,!1),T>0){if(T&16)$(I,D,V,m,C);else if(T&2&&D.class!==V.class&&o(I,"class",null,V.class,C),T&4&&o(I,"style",D.style,V.style,C),T&8){const Q=h.dynamicProps;for(let le=0;le{G&&je(G,m,h,d),K&>(h,d,m,"updated")},b)},j=(d,h,m,b,C,w,O)=>{for(let I=0;I{if(h!==m){if(h!==ie)for(const w in h)!Wt(w)&&!(w in m)&&o(d,w,h[w],null,C,b);for(const w in m){if(Wt(w))continue;const O=m[w],I=h[w];O!==I&&w!=="value"&&o(d,w,I,O,C,b)}"value"in m&&o(d,"value",h.value,m.value,C)}},q=(d,h,m,b,C,w,O,I,T)=>{const A=h.el=d?d.el:l(""),K=h.anchor=d?d.anchor:l("");let{patchFlag:D,dynamicChildren:V,slotScopeIds:G}=h;G&&(I=I?I.concat(G):G),d==null?(r(A,m,b),r(K,m,b),H(h.children||[],m,K,C,w,O,I,T)):D>0&&D&64&&V&&d.dynamicChildren?(j(d.dynamicChildren,V,m,C,w,O,I),(h.key!=null||C&&h===C.subTree)&&Oi(d,h,!0)):X(d,h,m,K,C,w,O,I,T)},k=(d,h,m,b,C,w,O,I,T)=>{h.slotScopeIds=I,d==null?h.shapeFlag&512?C.ctx.activate(h,m,b,O,T):W(h,m,b,C,w,O,T):ye(d,h,T)},W=(d,h,m,b,C,w,O)=>{const I=d.component=Gc(d,b,C);if(yi(d)&&(I.ctx.renderer=U),Jc(I,!1,O),I.asyncDep){if(C&&C.registerDep(I,ue,O),!d.el){const T=I.subTree=xe(sn);v(null,T,h,m)}}else ue(I,d,h,m,C,w,O)},ye=(d,h,m)=>{const b=h.component=d.component;if(kc(d,h,m))if(b.asyncDep&&!b.asyncResolved){ee(b,h,m);return}else b.next=h,b.update();else h.el=d.el,b.vnode=h},ue=(d,h,m,b,C,w,O)=>{const I=()=>{if(d.isMounted){let{next:D,bu:V,u:G,parent:Q,vnode:le}=d;{const He=Bi(d);if(He){D&&(D.el=le.el,ee(d,D,O)),He.asyncDep.then(()=>{d.isUnmounted||I()});return}}let se=D,Se;mt(d,!1),D?(D.el=le.el,ee(d,D,O)):D=le,V&&mn(V),(Se=D.props&&D.props.onVnodeBeforeUpdate)&&je(Se,Q,D,le),mt(d,!0);const Ce=ws(d),ke=d.subTree;d.subTree=Ce,y(ke,Ce,a(ke.el),_(ke),d,C,w),D.el=Ce.el,se===null&&Hc(d,Ce.el),G&&Pe(G,C),(Se=D.props&&D.props.onVnodeUpdated)&&Pe(()=>je(Se,Q,D,le),C)}else{let D;const{el:V,props:G}=h,{bm:Q,m:le,parent:se,root:Se,type:Ce}=d,ke=Yt(h);mt(d,!1),Q&&mn(Q),!ke&&(D=G&&G.onVnodeBeforeMount)&&je(D,se,h),mt(d,!0);{Se.ce&&Se.ce._injectChildStyle(Ce);const He=d.subTree=ws(d);y(null,He,m,b,d,C,w),h.el=He.el}if(le&&Pe(le,C),!ke&&(D=G&&G.onVnodeMounted)){const He=h;Pe(()=>je(D,se,He),C)}(h.shapeFlag&256||se&&Yt(se.vnode)&&se.vnode.shapeFlag&256)&&d.a&&Pe(d.a,C),d.isMounted=!0,h=m=b=null}};d.scope.on();const T=d.effect=new Ko(I);d.scope.off();const A=d.update=T.run.bind(T),K=d.job=T.runIfDirty.bind(T);K.i=d,K.id=d.uid,T.scheduler=()=>Zr(K),mt(d,!0),A()},ee=(d,h,m)=>{h.component=d;const b=d.vnode.props;d.vnode=h,d.next=null,Cc(d,h.props,b,m),Ac(d,h.children,m),ht(),hs(d),pt()},X=(d,h,m,b,C,w,O,I,T=!1)=>{const A=d&&d.children,K=d?d.shapeFlag:0,D=h.children,{patchFlag:V,shapeFlag:G}=h;if(V>0){if(V&128){Ie(A,D,m,b,C,w,O,I,T);return}else if(V&256){Be(A,D,m,b,C,w,O,I,T);return}}G&8?(K&16&&be(A,C,w),D!==A&&u(m,D)):K&16?G&16?Ie(A,D,m,b,C,w,O,I,T):be(A,C,w,!0):(K&8&&u(m,""),G&16&&H(D,m,b,C,w,O,I,T))},Be=(d,h,m,b,C,w,O,I,T)=>{d=d||Mt,h=h||Mt;const A=d.length,K=h.length,D=Math.min(A,K);let V;for(V=0;VK?be(d,C,w,!0,!1,D):H(h,m,b,C,w,O,I,T,D)},Ie=(d,h,m,b,C,w,O,I,T)=>{let A=0;const K=h.length;let D=d.length-1,V=K-1;for(;A<=D&&A<=V;){const G=d[A],Q=h[A]=T?lt(h[A]):Ke(h[A]);if(qt(G,Q))y(G,Q,m,null,C,w,O,I,T);else break;A++}for(;A<=D&&A<=V;){const G=d[D],Q=h[V]=T?lt(h[V]):Ke(h[V]);if(qt(G,Q))y(G,Q,m,null,C,w,O,I,T);else break;D--,V--}if(A>D){if(A<=V){const G=V+1,Q=GV)for(;A<=D;)de(d[A],C,w,!0),A++;else{const G=A,Q=A,le=new Map;for(A=Q;A<=V;A++){const Re=h[A]=T?lt(h[A]):Ke(h[A]);Re.key!=null&&le.set(Re.key,A)}let se,Se=0;const Ce=V-Q+1;let ke=!1,He=0;const Ht=new Array(Ce);for(A=0;A=Ce){de(Re,C,w,!0);continue}let $e;if(Re.key!=null)$e=le.get(Re.key);else for(se=Q;se<=V;se++)if(Ht[se-Q]===0&&qt(Re,h[se])){$e=se;break}$e===void 0?de(Re,C,w,!0):(Ht[$e-Q]=A+1,$e>=He?He=$e:ke=!0,y(Re,h[$e],m,null,C,w,O,I,T),Se++)}const cs=ke?Mc(Ht):Mt;for(se=cs.length-1,A=Ce-1;A>=0;A--){const Re=Q+A,$e=h[Re],us=Re+1{const{el:w,type:O,transition:I,children:T,shapeFlag:A}=d;if(A&6){_e(d.component.subTree,h,m,b);return}if(A&128){d.suspense.move(h,m,b);return}if(A&64){O.move(d,h,m,U);return}if(O===Me){r(w,h,m);for(let D=0;DI.enter(w),C);else{const{leave:D,delayLeave:V,afterLeave:G}=I,Q=()=>r(w,h,m),le=()=>{D(w,()=>{Q(),G&&G()})};V?V(w,Q,le):le()}else r(w,h,m)},de=(d,h,m,b=!1,C=!1)=>{const{type:w,props:O,ref:I,children:T,dynamicChildren:A,shapeFlag:K,patchFlag:D,dirs:V,cacheIndex:G}=d;if(D===-2&&(C=!1),I!=null&&Sn(I,null,m,d,!0),G!=null&&(h.renderCache[G]=void 0),K&256){h.ctx.deactivate(d);return}const Q=K&1&&V,le=!Yt(d);let se;if(le&&(se=O&&O.onVnodeBeforeUnmount)&&je(se,h,d),K&6)rt(d.component,m,b);else{if(K&128){d.suspense.unmount(m,b);return}Q&>(d,null,h,"beforeUnmount"),K&64?d.type.remove(d,h,m,U,b):A&&!A.hasOnce&&(w!==Me||D>0&&D&64)?be(A,h,m,!1,!0):(w===Me&&D&384||!C&&K&16)&&be(T,h,m),b&&Ue(d)}(le&&(se=O&&O.onVnodeUnmounted)||Q)&&Pe(()=>{se&&je(se,h,d),Q&>(d,null,h,"unmounted")},m)},Ue=d=>{const{type:h,el:m,anchor:b,transition:C}=d;if(h===Me){nt(m,b);return}if(h===Wn){S(d);return}const w=()=>{s(m),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(d.shapeFlag&1&&C&&!C.persisted){const{leave:O,delayLeave:I}=C,T=()=>O(m,w);I?I(d.el,w,T):T()}else w()},nt=(d,h)=>{let m;for(;d!==h;)m=p(d),s(d),d=m;s(h)},rt=(d,h,m)=>{const{bum:b,scope:C,job:w,subTree:O,um:I,m:T,a:A}=d;vs(T),vs(A),b&&mn(b),C.stop(),w&&(w.flags|=8,de(O,d,h,m)),I&&Pe(I,h),Pe(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},be=(d,h,m,b=!1,C=!1,w=0)=>{for(let O=w;O{if(d.shapeFlag&6)return _(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[ec];return m?p(m):h};let M=!1;const x=(d,h,m)=>{d==null?h._vnode&&de(h._vnode,null,null,!0):y(h._vnode||null,d,h,null,null,null,m),h._vnode=d,M||(M=!0,hs(),hi(),M=!1)},U={p:y,um:de,m:_e,r:Ue,mt:W,mc:H,pc:X,pbc:j,n:_,o:e};return{render:x,hydrate:void 0,createApp:wc(x)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function mt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ic(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oi(e,t,n=!1){const r=e.children,s=t.children;if(J(r)&&J(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bi(t)}function vs(e){if(e)for(let t=0;tet(Nc);function _n(e,t,n){return Li(e,t,n)}function Li(e,t,n=ie){const{immediate:r,deep:s,flush:o,once:i}=n,l=me({},n),c=t&&r||!t&&o!=="post";let f;if(ln){if(o==="sync"){const g=Oc();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=ze,g.resume=ze,g.pause=ze,g}}const u=Ee;l.call=(g,E,y)=>We(g,u,E,y);let a=!1;o==="post"?l.scheduler=g=>{Pe(g,u&&u.suspense)}:o!=="sync"&&(a=!0,l.scheduler=(g,E)=>{E?g():Zr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=Gl(e,t,l);return ln&&(f?f.push(p):c&&p()),p}function Bc(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?Di(r,e):()=>r[e]:e.bind(r,r);let o;Y(t)?o=t:(o=t.handler,n=t);const i=an(this),l=Li(s,o.bind(r),n);return i(),l}function Di(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${at(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function Dc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const o=t.startsWith("update:"),i=o&&Lc(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>ae(u)?u.trim():u)),i.number&&(s=n.map(Sr)));let l,c=r[l=Hn(t)]||r[l=Hn(at(t))];!c&&o&&(c=r[l=Hn(Et(t))]),c&&We(c,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,We(f,e,6,s)}}function Fi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!Y(e)){const c=f=>{const u=Fi(f,t,!0);u&&(l=!0,me(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(fe(e)&&r.set(e,null),null):(J(o)?o.forEach(c=>i[c]=null):me(i,o),fe(e)&&r.set(e,i),i)}function Dn(e,t){return!e||!Tn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Et(t))||re(e,t))}function ws(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:u,props:a,data:p,setupState:g,ctx:E,inheritAttrs:y}=e,N=Cn(e);let v,P;try{if(n.shapeFlag&4){const S=s||r,z=S;v=Ke(f.call(z,S,u,a,g,p,E)),P=l}else{const S=t;v=Ke(S.length>1?S(a,{attrs:l,slots:i,emit:c}):S(a,null)),P=t.props?l:Fc(l)}}catch(S){Xt.length=0,Bn(S,e,1),v=xe(sn)}let R=v;if(P&&y!==!1){const S=Object.keys(P),{shapeFlag:z}=R;S.length&&z&7&&(o&&S.some($r)&&(P=Uc(P,o)),R=Dt(R,P,!1,!0))}return n.dirs&&(R=Dt(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&es(R,n.transition),v=R,Cn(N),v}const Fc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Tn(n))&&((t||(t={}))[n]=e[n]);return t},Uc=(e,t)=>{const n={};for(const r in e)(!$r(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function kc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Es(r,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let a=0;ae.__isSuspense;function $c(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):Ql(e)}const Me=Symbol.for("v-fgt"),Fn=Symbol.for("v-txt"),sn=Symbol.for("v-cmt"),Wn=Symbol.for("v-stc"),Xt=[];let Te=null;function bt(e=!1){Xt.push(Te=e?null:[])}function jc(){Xt.pop(),Te=Xt[Xt.length-1]||null}let on=1;function Cs(e,t=!1){on+=e,e<0&&Te&&t&&(Te.hasOnce=!0)}function ki(e){return e.dynamicChildren=on>0?Te||Mt:null,jc(),on>0&&Te&&Te.push(e),e}function jt(e,t,n,r,s,o){return ki(Z(e,t,n,r,s,o,!0))}function Hi(e,t,n,r,s){return ki(xe(e,t,n,r,s,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const $i=({key:e})=>e??null,bn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ge(e)||Y(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function Z(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$i(t),ref:t&&bn(t),scopeId:gi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ne};return l?(ns(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),on>0&&!i&&Te&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Te.push(c),c}const xe=qc;function qc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===hc)&&(e=sn),Pn(e)){const l=Dt(e,t,!0);return n&&ns(l,n),on>0&&!o&&Te&&(l.shapeFlag&6?Te[Te.indexOf(e)]=l:Te.push(l)),l.patchFlag=-2,l}if(Zc(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=Kr(l)),fe(c)&&(Xr(c)&&!J(c)&&(c=me({},c)),t.style=Vr(c))}const i=ae(e)?1:Ui(e)?128:tc(e)?64:fe(e)?4:Y(e)?2:0;return Z(e,t,n,r,s,i,o,!0)}function Vc(e){return e?Xr(e)||Pi(e)?me({},e):e:null}function Dt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?Kc(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&$i(f),ref:t&&t.ref?n&&o?J(o)?o.concat(bn(t)):[o,bn(t)]:bn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&es(u,c.clone(u)),u}function Br(e=" ",t=0){return xe(Fn,null,e,t)}function Ke(e){return e==null||typeof e=="boolean"?xe(sn):J(e)?xe(Me,null,e.slice()):Pn(e)?lt(e):xe(Fn,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function ns(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ns(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Pi(t)?t._ctx=Ne:s===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Ne},n=32):(t=String(t),r&64?(n=16,t=[Br(t)]):n=8);e.children=t,e.shapeFlag|=n}function Kc(...e){const t={};for(let n=0;n{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};An=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Lr=t("__VUE_SSR_SETTERS__",n=>ln=n)}const an=e=>{const t=Ee;return An(e),e.scope.on(),()=>{e.scope.off(),An(t)}},Ss=()=>{Ee&&Ee.scope.off(),An(null)};function ji(e){return e.vnode.shapeFlag&4}let ln=!1;function Jc(e,t=!1,n=!1){t&&Lr(t);const{props:r,children:s}=e.vnode,o=ji(e);Ec(e,r,o,t),Pc(e,s,n);const i=o?Yc(e,t):void 0;return t&&Lr(!1),i}function Yc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pc);const{setup:r}=n;if(r){ht();const s=e.setupContext=r.length>1?Xc(e):null,o=an(e),i=fn(r,e,0,[e.props,s]),l=Do(i);if(pt(),o(),(l||e.sp)&&!Yt(e)&&mi(e),l){if(i.then(Ss,Ss),t)return i.then(c=>{Rs(e,c)}).catch(c=>{Bn(c,e,0)});e.asyncDep=i}else Rs(e,i)}else qi(e)}function Rs(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=ui(t)),qi(e)}function qi(e,t,n){const r=e.type;e.render||(e.render=r.render||ze);{const s=an(e);ht();try{gc(e)}finally{pt(),s()}}}const Qc={get(e,t){return he(e,"get",""),e[t]}};function Xc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qc),slots:e.slots,emit:e.emit,expose:t}}function Un(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ui(li(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qt)return Qt[n](e)},has(t,n){return n in t||n in Qt}})):e.proxy}function Zc(e){return Y(e)&&"__vccOpts"in e}const Le=(e,t)=>zl(e,t,ln);function rs(e,t,n){const r=arguments.length;return r===2?fe(t)&&!J(t)?Pn(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),xe(e,t,n))}const eu="3.5.13";/** +**/function fn(e,t,n,r){try{return r?e(...r):e()}catch(s){Bn(s,t,n)}}function We(e,t,n,r){if(Y(e)){const s=fn(e,t,n,r);return s&&Do(s)&&s.catch(o=>{Bn(o,t,n)}),s}if(J(e)){const s=[];for(let o=0;o>>1,s=we[r],o=rn(s);o=rn(n)?we.push(e):we.splice(Yl(t),0,e),e.flags|=1,di()}}function di(){En||(En=fi.then(pi))}function Ql(e){J(e)?Bt.push(...e):it&&e.id===-1?it.splice(Tt+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),di()}function hs(e,t,n=Ve+1){for(;nrn(n)-rn(r));if(Bt.length=0,it){it.push(...t);return}for(it=t,Tt=0;Tte.id==null?e.flags&2?-1:1/0:e.id;function pi(e){try{for(Ve=0;Ve{r._d&&Cs(-1);const o=Cn(t);let i;try{i=e(...s)}finally{Cn(o),r._d&&Cs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zl(e,t){if(Ne===null)return e;const n=Un(Ne),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport;function es(e,t){e.shapeFlag&6&&e.component?(e.transition=t,es(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function kt(e,t){return Y(e)?me({name:e.name},t,{setup:e}):e}function mi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Sn(e,t,n,r,s=!1){if(J(e)){e.forEach((C,R)=>Sn(C,t&&(J(t)?t[R]:t),n,r,s));return}if(Yt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Sn(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Un(r.component):r.el,i=s?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===ie?l.refs={}:l.refs,a=l.setupState,p=ne(a),g=a===ie?()=>!1:C=>re(p,C);if(f!=null&&f!==c&&(ae(f)?(u[f]=null,g(f)&&(a[f]=null)):ge(f)&&(f.value=null)),Y(c))fn(c,l,12,[i,u]);else{const C=ae(c),R=ge(c);if(C||R){const F=()=>{if(e.f){const P=C?g(c)?a[c]:u[c]:c.value;s?J(P)&&jr(P,o):J(P)?P.includes(o)||P.push(o):C?(u[c]=[o],g(c)&&(a[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else C?(u[c]=i,g(c)&&(a[c]=i)):R&&(c.value=i,e.k&&(u[e.k]=i))};i?(F.id=-1,Pe(F,n)):F()}}}Mn().requestIdleCallback;Mn().cancelIdleCallback;const Yt=e=>!!e.type.__asyncLoader,yi=e=>e.type.__isKeepAlive;function nc(e,t){bi(e,"a",t)}function rc(e,t){bi(e,"da",t)}function bi(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ln(t,r,n),n){let s=n.parent;for(;s&&s.parent;)yi(s.parent.vnode)&&sc(r,t,n,s),s=s.parent}}function sc(e,t,n,r){const s=Ln(t,e,r,!0);vi(()=>{jr(r[t],s)},n)}function Ln(e,t,n=Ee,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ht();const l=an(n),c=We(t,n,e,i);return l(),pt(),c});return r?s.unshift(o):s.push(o),o}}const tt=e=>(t,n=Ee)=>{(!ln||e==="sp")&&Ln(e,(...r)=>t(...r),n)},oc=tt("bm"),_i=tt("m"),ic=tt("bu"),lc=tt("u"),cc=tt("bum"),vi=tt("um"),uc=tt("sp"),fc=tt("rtg"),ac=tt("rtc");function dc(e,t=Ee){Ln("ec",e,t)}const hc=Symbol.for("v-ndc");function ps(e,t,n,r){let s;const o=n,i=J(e);if(i||ae(e)){const l=i&&Ot(e);let c=!1;l&&(c=!Oe(e),e=Nn(e)),s=new Array(e.length);for(let f=0,u=e.length;ft(l,c,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,f=l.length;ce?ji(e)?Un(e):Ir(e.parent):null,Qt=me(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=>Ir(e.parent),$root:e=>Ir(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ei(e),$forceUpdate:e=>e.f||(e.f=()=>{Zr(e.update)}),$nextTick:e=>e.n||(e.n=ai.bind(e.proxy)),$watch:e=>Bc.bind(e)}),Kn=(e,t)=>e!==ie&&!e.__isScriptSetup&&re(e,t),pc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Kn(r,t))return i[t]=1,r[t];if(s!==ie&&re(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&re(f,t))return i[t]=3,o[t];if(n!==ie&&re(n,t))return i[t]=4,n[t];Mr&&(i[t]=0)}}const u=Qt[t];let a,p;if(u)return t==="$attrs"&&he(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ie&&re(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,re(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Kn(s,t)?(s[t]=n,!0):r!==ie&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ie&&re(e,i)||Kn(t,i)||(l=o[0])&&re(l,i)||re(r,i)||re(Qt,i)||re(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gs(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mr=!0;function gc(e){const t=Ei(e),n=e.proxy,r=e.ctx;Mr=!1,t.beforeCreate&&ms(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:g,updated:C,activated:R,deactivated:F,beforeDestroy:P,beforeUnmount:y,destroyed:v,unmounted:b,render:$,renderTracked:T,renderTriggered:N,errorCaptured:H,serverPrefetch:D,expose:q,inheritAttrs:j,components:V,directives:k,filters:W}=t;if(f&&mc(f,r,null),i)for(const ee in i){const X=i[ee];Y(X)&&(r[ee]=X.bind(n))}if(s){const ee=s.call(n,n);fe(ee)&&(e.data=On(ee))}if(Mr=!0,o)for(const ee in o){const X=o[ee],Be=Y(X)?X.bind(n,n):Y(X.get)?X.get.bind(n,n):ze,Ie=!Y(X)&&Y(X.set)?X.set.bind(n):ze,be=Le({get:Be,set:Ie});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>be.value,set:de=>be.value=de})}if(l)for(const ee in l)wi(l[ee],r,n,ee);if(c){const ee=Y(c)?c.call(n):c;Reflect.ownKeys(ee).forEach(X=>{yn(X,ee[X])})}u&&ms(u,e,"c");function ue(ee,X){J(X)?X.forEach(Be=>ee(Be.bind(n))):X&&ee(X.bind(n))}if(ue(oc,a),ue(_i,p),ue(ic,g),ue(lc,C),ue(nc,R),ue(rc,F),ue(dc,H),ue(ac,T),ue(fc,N),ue(cc,y),ue(vi,b),ue(uc,D),J(q))if(q.length){const ee=e.exposed||(e.exposed={});q.forEach(X=>{Object.defineProperty(ee,X,{get:()=>n[X],set:Be=>n[X]=Be})})}else e.exposed||(e.exposed={});$&&e.render===ze&&(e.render=$),j!=null&&(e.inheritAttrs=j),V&&(e.components=V),k&&(e.directives=k),D&&mi(e)}function mc(e,t,n=ze){J(e)&&(e=Nr(e));for(const r in e){const s=e[r];let o;fe(s)?"default"in s?o=et(s.from||r,s.default,!0):o=et(s.from||r):o=et(s),ge(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ms(e,t,n){We(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wi(e,t,n,r){let s=r.includes(".")?Di(n,r):()=>n[r];if(ae(e)){const o=t[e];Y(o)&&bn(s,o)}else if(Y(e))bn(s,e.bind(n));else if(fe(e))if(J(e))e.forEach(o=>wi(o,t,n,r));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&bn(s,o,e)}}function Ei(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(f=>Rn(c,f,i,!0)),Rn(c,t,i)),fe(t)&&o.set(t,c),c}function Rn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Rn(e,o,n,!0),s&&s.forEach(i=>Rn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=yc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const yc={data:ys,props:bs,emits:bs,methods:zt,computed:zt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:zt,directives:zt,watch:_c,provide:ys,inject:bc};function ys(e,t){return t?e?function(){return me(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function bc(e,t){return zt(Nr(e),Nr(t))}function Nr(e){if(J(e)){const t={};for(let n=0;n1)return n&&Y(t)?t.call(r&&r.proxy):t}}const Si={},Ri=()=>Object.create(Si),Pi=e=>Object.getPrototypeOf(e)===Si;function Ec(e,t,n,r=!1){const s={},o=Ri();e.propsDefaults=Object.create(null),Ai(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:oi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Cc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=ne(s),[c]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let a=0;a{c=!0;const[p,g]=Ti(a,t,!0);me(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return fe(e)&&r.set(e,Mt),Mt;if(J(o))for(let u=0;ue[0]==="_"||e==="$stable",ts=e=>J(e)?e.map(Ke):[Ke(e)],Rc=(e,t,n)=>{if(t._n)return t;const r=Xl((...s)=>ts(t(...s)),n);return r._c=!1,r},Ii=(e,t,n)=>{const r=e._ctx;for(const s in e){if(xi(s))continue;const o=e[s];if(Y(o))t[s]=Rc(s,o,r);else if(o!=null){const i=ts(o);t[s]=()=>i}}},Mi=(e,t)=>{const n=ts(t);e.slots.default=()=>n},Ni=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Pc=(e,t,n)=>{const r=e.slots=Ri();if(e.vnode.shapeFlag&32){const s=t._;s?(Ni(r,t,n),n&&Ho(r,"_",s,!0)):Ii(t,r)}else t&&Mi(e,t)},Ac=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ie;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ni(s,t,n):(o=!t.$stable,Ii(t,s)),i=t}else t&&(Mi(e,t),i={default:1});if(o)for(const l in s)!xi(l)&&i[l]==null&&delete s[l]},Pe=$c;function Tc(e){return xc(e)}function xc(e,t){const n=Mn();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:g=ze,insertStaticContent:C}=e,R=(d,h,m,w=null,S=null,E=null,B=void 0,M=null,x=!!h.dynamicChildren)=>{if(d===h)return;d&&!qt(d,h)&&(w=_(d),de(d,S,E,!0),d=null),h.patchFlag===-2&&(x=!1,h.dynamicChildren=null);const{type:A,ref:z,shapeFlag:L}=h;switch(A){case Fn:F(d,h,m,w);break;case sn:P(d,h,m,w);break;case Wn:d==null&&y(h,m,w,B);break;case Me:V(d,h,m,w,S,E,B,M,x);break;default:L&1?$(d,h,m,w,S,E,B,M,x):L&6?k(d,h,m,w,S,E,B,M,x):(L&64||L&128)&&A.process(d,h,m,w,S,E,B,M,x,U)}z!=null&&S&&Sn(z,d&&d.ref,E,h||d,!h)},F=(d,h,m,w)=>{if(d==null)r(h.el=l(h.children),m,w);else{const S=h.el=d.el;h.children!==d.children&&f(S,h.children)}},P=(d,h,m,w)=>{d==null?r(h.el=c(h.children||""),m,w):h.el=d.el},y=(d,h,m,w)=>{[d.el,d.anchor]=C(d.children,h,m,w,d.el,d.anchor)},v=({el:d,anchor:h},m,w)=>{let S;for(;d&&d!==h;)S=p(d),r(d,m,w),d=S;r(h,m,w)},b=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),s(d),d=m;s(h)},$=(d,h,m,w,S,E,B,M,x)=>{h.type==="svg"?B="svg":h.type==="math"&&(B="mathml"),d==null?T(h,m,w,S,E,B,M,x):D(d,h,S,E,B,M,x)},T=(d,h,m,w,S,E,B,M)=>{let x,A;const{props:z,shapeFlag:L,transition:K,dirs:G}=d;if(x=d.el=i(d.type,E,z&&z.is,z),L&8?u(x,d.children):L&16&&H(d.children,x,null,w,S,zn(d,E),B,M),G&>(d,null,w,"created"),N(x,d,d.scopeId,B,w),z){for(const le in z)le!=="value"&&!Wt(le)&&o(x,le,null,z[le],E,w);"value"in z&&o(x,"value",null,z.value,E),(A=z.onVnodeBeforeMount)&&je(A,w,d)}G&>(d,null,w,"beforeMount");const Q=Ic(S,K);Q&&K.beforeEnter(x),r(x,h,m),((A=z&&z.onVnodeMounted)||Q||G)&&Pe(()=>{A&&je(A,w,d),Q&&K.enter(x),G&>(d,null,w,"mounted")},S)},N=(d,h,m,w,S)=>{if(m&&g(d,m),w)for(let E=0;E{for(let A=x;A{const M=h.el=d.el;let{patchFlag:x,dynamicChildren:A,dirs:z}=h;x|=d.patchFlag&16;const L=d.props||ie,K=h.props||ie;let G;if(m&&mt(m,!1),(G=K.onVnodeBeforeUpdate)&&je(G,m,h,d),z&>(h,d,m,"beforeUpdate"),m&&mt(m,!0),(L.innerHTML&&K.innerHTML==null||L.textContent&&K.textContent==null)&&u(M,""),A?q(d.dynamicChildren,A,M,m,w,zn(h,S),E):B||X(d,h,M,null,m,w,zn(h,S),E,!1),x>0){if(x&16)j(M,L,K,m,S);else if(x&2&&L.class!==K.class&&o(M,"class",null,K.class,S),x&4&&o(M,"style",L.style,K.style,S),x&8){const Q=h.dynamicProps;for(let le=0;le{G&&je(G,m,h,d),z&>(h,d,m,"updated")},w)},q=(d,h,m,w,S,E,B)=>{for(let M=0;M{if(h!==m){if(h!==ie)for(const E in h)!Wt(E)&&!(E in m)&&o(d,E,h[E],null,S,w);for(const E in m){if(Wt(E))continue;const B=m[E],M=h[E];B!==M&&E!=="value"&&o(d,E,M,B,S,w)}"value"in m&&o(d,"value",h.value,m.value,S)}},V=(d,h,m,w,S,E,B,M,x)=>{const A=h.el=d?d.el:l(""),z=h.anchor=d?d.anchor:l("");let{patchFlag:L,dynamicChildren:K,slotScopeIds:G}=h;G&&(M=M?M.concat(G):G),d==null?(r(A,m,w),r(z,m,w),H(h.children||[],m,z,S,E,B,M,x)):L>0&&L&64&&K&&d.dynamicChildren?(q(d.dynamicChildren,K,m,S,E,B,M),(h.key!=null||S&&h===S.subTree)&&Oi(d,h,!0)):X(d,h,m,z,S,E,B,M,x)},k=(d,h,m,w,S,E,B,M,x)=>{h.slotScopeIds=M,d==null?h.shapeFlag&512?S.ctx.activate(h,m,w,B,x):W(h,m,w,S,E,B,x):ye(d,h,x)},W=(d,h,m,w,S,E,B)=>{const M=d.component=Gc(d,w,S);if(yi(d)&&(M.ctx.renderer=U),Jc(M,!1,B),M.asyncDep){if(S&&S.registerDep(M,ue,B),!d.el){const x=M.subTree=xe(sn);P(null,x,h,m)}}else ue(M,d,h,m,S,E,B)},ye=(d,h,m)=>{const w=h.component=d.component;if(kc(d,h,m))if(w.asyncDep&&!w.asyncResolved){ee(w,h,m);return}else w.next=h,w.update();else h.el=d.el,w.vnode=h},ue=(d,h,m,w,S,E,B)=>{const M=()=>{if(d.isMounted){let{next:L,bu:K,u:G,parent:Q,vnode:le}=d;{const He=Bi(d);if(He){L&&(L.el=le.el,ee(d,L,B)),He.asyncDep.then(()=>{d.isUnmounted||M()});return}}let se=L,Se;mt(d,!1),L?(L.el=le.el,ee(d,L,B)):L=le,K&&mn(K),(Se=L.props&&L.props.onVnodeBeforeUpdate)&&je(Se,Q,L,le),mt(d,!0);const Ce=ws(d),ke=d.subTree;d.subTree=Ce,R(ke,Ce,a(ke.el),_(ke),d,S,E),L.el=Ce.el,se===null&&Hc(d,Ce.el),G&&Pe(G,S),(Se=L.props&&L.props.onVnodeUpdated)&&Pe(()=>je(Se,Q,L,le),S)}else{let L;const{el:K,props:G}=h,{bm:Q,m:le,parent:se,root:Se,type:Ce}=d,ke=Yt(h);mt(d,!1),Q&&mn(Q),!ke&&(L=G&&G.onVnodeBeforeMount)&&je(L,se,h),mt(d,!0);{Se.ce&&Se.ce._injectChildStyle(Ce);const He=d.subTree=ws(d);R(null,He,m,w,d,S,E),h.el=He.el}if(le&&Pe(le,S),!ke&&(L=G&&G.onVnodeMounted)){const He=h;Pe(()=>je(L,se,He),S)}(h.shapeFlag&256||se&&Yt(se.vnode)&&se.vnode.shapeFlag&256)&&d.a&&Pe(d.a,S),d.isMounted=!0,h=m=w=null}};d.scope.on();const x=d.effect=new Ko(M);d.scope.off();const A=d.update=x.run.bind(x),z=d.job=x.runIfDirty.bind(x);z.i=d,z.id=d.uid,x.scheduler=()=>Zr(z),mt(d,!0),A()},ee=(d,h,m)=>{h.component=d;const w=d.vnode.props;d.vnode=h,d.next=null,Cc(d,h.props,w,m),Ac(d,h.children,m),ht(),hs(d),pt()},X=(d,h,m,w,S,E,B,M,x=!1)=>{const A=d&&d.children,z=d?d.shapeFlag:0,L=h.children,{patchFlag:K,shapeFlag:G}=h;if(K>0){if(K&128){Ie(A,L,m,w,S,E,B,M,x);return}else if(K&256){Be(A,L,m,w,S,E,B,M,x);return}}G&8?(z&16&&_e(A,S,E),L!==A&&u(m,L)):z&16?G&16?Ie(A,L,m,w,S,E,B,M,x):_e(A,S,E,!0):(z&8&&u(m,""),G&16&&H(L,m,w,S,E,B,M,x))},Be=(d,h,m,w,S,E,B,M,x)=>{d=d||Mt,h=h||Mt;const A=d.length,z=h.length,L=Math.min(A,z);let K;for(K=0;Kz?_e(d,S,E,!0,!1,L):H(h,m,w,S,E,B,M,x,L)},Ie=(d,h,m,w,S,E,B,M,x)=>{let A=0;const z=h.length;let L=d.length-1,K=z-1;for(;A<=L&&A<=K;){const G=d[A],Q=h[A]=x?lt(h[A]):Ke(h[A]);if(qt(G,Q))R(G,Q,m,null,S,E,B,M,x);else break;A++}for(;A<=L&&A<=K;){const G=d[L],Q=h[K]=x?lt(h[K]):Ke(h[K]);if(qt(G,Q))R(G,Q,m,null,S,E,B,M,x);else break;L--,K--}if(A>L){if(A<=K){const G=K+1,Q=GK)for(;A<=L;)de(d[A],S,E,!0),A++;else{const G=A,Q=A,le=new Map;for(A=Q;A<=K;A++){const Re=h[A]=x?lt(h[A]):Ke(h[A]);Re.key!=null&&le.set(Re.key,A)}let se,Se=0;const Ce=K-Q+1;let ke=!1,He=0;const Ht=new Array(Ce);for(A=0;A=Ce){de(Re,S,E,!0);continue}let $e;if(Re.key!=null)$e=le.get(Re.key);else for(se=Q;se<=K;se++)if(Ht[se-Q]===0&&qt(Re,h[se])){$e=se;break}$e===void 0?de(Re,S,E,!0):(Ht[$e-Q]=A+1,$e>=He?He=$e:ke=!0,R(Re,h[$e],m,null,S,E,B,M,x),Se++)}const cs=ke?Mc(Ht):Mt;for(se=cs.length-1,A=Ce-1;A>=0;A--){const Re=Q+A,$e=h[Re],us=Re+1{const{el:E,type:B,transition:M,children:x,shapeFlag:A}=d;if(A&6){be(d.component.subTree,h,m,w);return}if(A&128){d.suspense.move(h,m,w);return}if(A&64){B.move(d,h,m,U);return}if(B===Me){r(E,h,m);for(let L=0;LM.enter(E),S);else{const{leave:L,delayLeave:K,afterLeave:G}=M,Q=()=>r(E,h,m),le=()=>{L(E,()=>{Q(),G&&G()})};K?K(E,Q,le):le()}else r(E,h,m)},de=(d,h,m,w=!1,S=!1)=>{const{type:E,props:B,ref:M,children:x,dynamicChildren:A,shapeFlag:z,patchFlag:L,dirs:K,cacheIndex:G}=d;if(L===-2&&(S=!1),M!=null&&Sn(M,null,m,d,!0),G!=null&&(h.renderCache[G]=void 0),z&256){h.ctx.deactivate(d);return}const Q=z&1&&K,le=!Yt(d);let se;if(le&&(se=B&&B.onVnodeBeforeUnmount)&&je(se,h,d),z&6)rt(d.component,m,w);else{if(z&128){d.suspense.unmount(m,w);return}Q&>(d,null,h,"beforeUnmount"),z&64?d.type.remove(d,h,m,U,w):A&&!A.hasOnce&&(E!==Me||L>0&&L&64)?_e(A,h,m,!1,!0):(E===Me&&L&384||!S&&z&16)&&_e(x,h,m),w&&Ue(d)}(le&&(se=B&&B.onVnodeUnmounted)||Q)&&Pe(()=>{se&&je(se,h,d),Q&>(d,null,h,"unmounted")},m)},Ue=d=>{const{type:h,el:m,anchor:w,transition:S}=d;if(h===Me){nt(m,w);return}if(h===Wn){b(d);return}const E=()=>{s(m),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(d.shapeFlag&1&&S&&!S.persisted){const{leave:B,delayLeave:M}=S,x=()=>B(m,E);M?M(d.el,E,x):x()}else E()},nt=(d,h)=>{let m;for(;d!==h;)m=p(d),s(d),d=m;s(h)},rt=(d,h,m)=>{const{bum:w,scope:S,job:E,subTree:B,um:M,m:x,a:A}=d;vs(x),vs(A),w&&mn(w),S.stop(),E&&(E.flags|=8,de(B,d,h,m)),M&&Pe(M,h),Pe(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},_e=(d,h,m,w=!1,S=!1,E=0)=>{for(let B=E;B{if(d.shapeFlag&6)return _(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[ec];return m?p(m):h};let O=!1;const I=(d,h,m)=>{d==null?h._vnode&&de(h._vnode,null,null,!0):R(h._vnode||null,d,h,null,null,null,m),h._vnode=d,O||(O=!0,hs(),hi(),O=!1)},U={p:R,um:de,m:be,r:Ue,mt:W,mc:H,pc:X,pbc:q,n:_,o:e};return{render:I,hydrate:void 0,createApp:wc(I)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function mt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ic(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oi(e,t,n=!1){const r=e.children,s=t.children;if(J(r)&&J(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bi(t)}function vs(e){if(e)for(let t=0;tet(Nc);function bn(e,t,n){return Li(e,t,n)}function Li(e,t,n=ie){const{immediate:r,deep:s,flush:o,once:i}=n,l=me({},n),c=t&&r||!t&&o!=="post";let f;if(ln){if(o==="sync"){const g=Oc();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=ze,g.resume=ze,g.pause=ze,g}}const u=Ee;l.call=(g,C,R)=>We(g,u,C,R);let a=!1;o==="post"?l.scheduler=g=>{Pe(g,u&&u.suspense)}:o!=="sync"&&(a=!0,l.scheduler=(g,C)=>{C?g():Zr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=Gl(e,t,l);return ln&&(f?f.push(p):c&&p()),p}function Bc(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?Di(r,e):()=>r[e]:e.bind(r,r);let o;Y(t)?o=t:(o=t.handler,n=t);const i=an(this),l=Li(s,o.bind(r),n);return i(),l}function Di(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${at(t)}Modifiers`]||e[`${Ct(t)}Modifiers`];function Dc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const o=t.startsWith("update:"),i=o&&Lc(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>ae(u)?u.trim():u)),i.number&&(s=n.map(Sr)));let l,c=r[l=Hn(t)]||r[l=Hn(at(t))];!c&&o&&(c=r[l=Hn(Ct(t))]),c&&We(c,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,We(f,e,6,s)}}function Fi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!Y(e)){const c=f=>{const u=Fi(f,t,!0);u&&(l=!0,me(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(fe(e)&&r.set(e,null),null):(J(o)?o.forEach(c=>i[c]=null):me(i,o),fe(e)&&r.set(e,i),i)}function Dn(e,t){return!e||!Tn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Ct(t))||re(e,t))}function ws(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:u,props:a,data:p,setupState:g,ctx:C,inheritAttrs:R}=e,F=Cn(e);let P,y;try{if(n.shapeFlag&4){const b=s||r,$=b;P=Ke(f.call($,b,u,a,g,p,C)),y=l}else{const b=t;P=Ke(b.length>1?b(a,{attrs:l,slots:i,emit:c}):b(a,null)),y=t.props?l:Fc(l)}}catch(b){Xt.length=0,Bn(b,e,1),P=xe(sn)}let v=P;if(y&&R!==!1){const b=Object.keys(y),{shapeFlag:$}=v;b.length&&$&7&&(o&&b.some($r)&&(y=Uc(y,o)),v=Dt(v,y,!1,!0))}return n.dirs&&(v=Dt(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&es(v,n.transition),P=v,Cn(F),P}const Fc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Tn(n))&&((t||(t={}))[n]=e[n]);return t},Uc=(e,t)=>{const n={};for(const r in e)(!$r(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function kc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Es(r,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let a=0;ae.__isSuspense;function $c(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):Ql(e)}const Me=Symbol.for("v-fgt"),Fn=Symbol.for("v-txt"),sn=Symbol.for("v-cmt"),Wn=Symbol.for("v-stc"),Xt=[];let Te=null;function vt(e=!1){Xt.push(Te=e?null:[])}function jc(){Xt.pop(),Te=Xt[Xt.length-1]||null}let on=1;function Cs(e,t=!1){on+=e,e<0&&Te&&t&&(Te.hasOnce=!0)}function ki(e){return e.dynamicChildren=on>0?Te||Mt:null,jc(),on>0&&Te&&Te.push(e),e}function jt(e,t,n,r,s,o){return ki(Z(e,t,n,r,s,o,!0))}function Hi(e,t,n,r,s){return ki(xe(e,t,n,r,s,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const $i=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ge(e)||Y(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function Z(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$i(t),ref:t&&_n(t),scopeId:gi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ne};return l?(ns(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),on>0&&!i&&Te&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Te.push(c),c}const xe=qc;function qc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===hc)&&(e=sn),Pn(e)){const l=Dt(e,t,!0);return n&&ns(l,n),on>0&&!o&&Te&&(l.shapeFlag&6?Te[Te.indexOf(e)]=l:Te.push(l)),l.patchFlag=-2,l}if(Zc(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=Kr(l)),fe(c)&&(Xr(c)&&!J(c)&&(c=me({},c)),t.style=Vr(c))}const i=ae(e)?1:Ui(e)?128:tc(e)?64:fe(e)?4:Y(e)?2:0;return Z(e,t,n,r,s,i,o,!0)}function Vc(e){return e?Xr(e)||Pi(e)?me({},e):e:null}function Dt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?Kc(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&$i(f),ref:t&&t.ref?n&&o?J(o)?o.concat(_n(t)):[o,_n(t)]:_n(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&es(u,c.clone(u)),u}function Br(e=" ",t=0){return xe(Fn,null,e,t)}function Ke(e){return e==null||typeof e=="boolean"?xe(sn):J(e)?xe(Me,null,e.slice()):Pn(e)?lt(e):xe(Fn,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function ns(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ns(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Pi(t)?t._ctx=Ne:s===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Ne},n=32):(t=String(t),r&64?(n=16,t=[Br(t)]):n=8);e.children=t,e.shapeFlag|=n}function Kc(...e){const t={};for(let n=0;n{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};An=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Lr=t("__VUE_SSR_SETTERS__",n=>ln=n)}const an=e=>{const t=Ee;return An(e),e.scope.on(),()=>{e.scope.off(),An(t)}},Ss=()=>{Ee&&Ee.scope.off(),An(null)};function ji(e){return e.vnode.shapeFlag&4}let ln=!1;function Jc(e,t=!1,n=!1){t&&Lr(t);const{props:r,children:s}=e.vnode,o=ji(e);Ec(e,r,o,t),Pc(e,s,n);const i=o?Yc(e,t):void 0;return t&&Lr(!1),i}function Yc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pc);const{setup:r}=n;if(r){ht();const s=e.setupContext=r.length>1?Xc(e):null,o=an(e),i=fn(r,e,0,[e.props,s]),l=Do(i);if(pt(),o(),(l||e.sp)&&!Yt(e)&&mi(e),l){if(i.then(Ss,Ss),t)return i.then(c=>{Rs(e,c)}).catch(c=>{Bn(c,e,0)});e.asyncDep=i}else Rs(e,i)}else qi(e)}function Rs(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=ui(t)),qi(e)}function qi(e,t,n){const r=e.type;e.render||(e.render=r.render||ze);{const s=an(e);ht();try{gc(e)}finally{pt(),s()}}}const Qc={get(e,t){return he(e,"get",""),e[t]}};function Xc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qc),slots:e.slots,emit:e.emit,expose:t}}function Un(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ui(li(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qt)return Qt[n](e)},has(t,n){return n in t||n in Qt}})):e.proxy}function Zc(e){return Y(e)&&"__vccOpts"in e}const Le=(e,t)=>zl(e,t,ln);function rs(e,t,n){const r=arguments.length;return r===2?fe(t)&&!J(t)?Pn(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),xe(e,t,n))}const eu="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Dr;const Ps=typeof window<"u"&&window.trustedTypes;if(Ps)try{Dr=Ps.createPolicy("vue",{createHTML:e=>e})}catch{}const Vi=Dr?e=>Dr.createHTML(e):e=>e,tu="http://www.w3.org/2000/svg",nu="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,As=Qe&&Qe.createElement("template"),ru={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Qe.createElementNS(tu,e):t==="mathml"?Qe.createElementNS(nu,e):n?Qe.createElement(e,{is:n}):Qe.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{As.innerHTML=Vi(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=As.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},su=Symbol("_vtc");function ou(e,t,n){const r=e[su];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ts=Symbol("_vod"),iu=Symbol("_vsh"),lu=Symbol(""),cu=/(^|;)\s*display\s*:/;function uu(e,t,n){const r=e.style,s=ae(n);let o=!1;if(n&&!s){if(t)if(ae(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&vn(r,l,"")}else for(const i in t)n[i]==null&&vn(r,i,"");for(const i in n)i==="display"&&(o=!0),vn(r,i,n[i])}else if(s){if(t!==n){const i=r[lu];i&&(n+=";"+i),r.cssText=n,o=cu.test(n)}}else t&&e.removeAttribute("style");Ts in e&&(e[Ts]=o?r.display:"",e[iu]&&(r.display="none"))}const xs=/\s*!important$/;function vn(e,t,n){if(J(n))n.forEach(r=>vn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=fu(e,t);xs.test(n)?e.setProperty(Et(r),n.replace(xs,""),"important"):e[r]=n}}const Is=["Webkit","Moz","ms"],Gn={};function fu(e,t){const n=Gn[t];if(n)return n;let r=at(t);if(r!=="filter"&&r in e)return Gn[t]=r;r=ko(r);for(let s=0;sJn||(pu.then(()=>Jn=0),Jn=Date.now());function mu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;We(yu(r,n.value),t,5,[r])};return n.value=e,n.attached=gu(),n}function yu(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_u=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?ou(e,r,i):t==="style"?uu(e,n,r):Tn(t)?$r(t)||du(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bu(e,t,r,i))?(Os(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ns(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ae(r))?Os(e,at(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ns(e,t,r,i))};function bu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ds(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ds(t)&&ae(n)?!1:t in e}const Fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>mn(t,n):t};function vu(e){e.target.composing=!0}function Us(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yn=Symbol("_assign"),wu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Yn]=Fs(s);const o=r||s.props&&s.props.type==="number";xt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Sr(l)),e[Yn](l)}),n&&xt(e,"change",()=>{e.value=e.value.trim()}),t||(xt(e,"compositionstart",vu),xt(e,"compositionend",Us),xt(e,"change",Us))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Yn]=Fs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Eu=["ctrl","shift","alt","meta"],Cu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Eu.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const t=Pu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=xu(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Tu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Tu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function xu(e){return ae(e)?document.querySelector(e):e}/*! +**/let Dr;const Ps=typeof window<"u"&&window.trustedTypes;if(Ps)try{Dr=Ps.createPolicy("vue",{createHTML:e=>e})}catch{}const Vi=Dr?e=>Dr.createHTML(e):e=>e,tu="http://www.w3.org/2000/svg",nu="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,As=Qe&&Qe.createElement("template"),ru={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Qe.createElementNS(tu,e):t==="mathml"?Qe.createElementNS(nu,e):n?Qe.createElement(e,{is:n}):Qe.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{As.innerHTML=Vi(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=As.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},su=Symbol("_vtc");function ou(e,t,n){const r=e[su];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ts=Symbol("_vod"),iu=Symbol("_vsh"),lu=Symbol(""),cu=/(^|;)\s*display\s*:/;function uu(e,t,n){const r=e.style,s=ae(n);let o=!1;if(n&&!s){if(t)if(ae(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&vn(r,l,"")}else for(const i in t)n[i]==null&&vn(r,i,"");for(const i in n)i==="display"&&(o=!0),vn(r,i,n[i])}else if(s){if(t!==n){const i=r[lu];i&&(n+=";"+i),r.cssText=n,o=cu.test(n)}}else t&&e.removeAttribute("style");Ts in e&&(e[Ts]=o?r.display:"",e[iu]&&(r.display="none"))}const xs=/\s*!important$/;function vn(e,t,n){if(J(n))n.forEach(r=>vn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=fu(e,t);xs.test(n)?e.setProperty(Ct(r),n.replace(xs,""),"important"):e[r]=n}}const Is=["Webkit","Moz","ms"],Gn={};function fu(e,t){const n=Gn[t];if(n)return n;let r=at(t);if(r!=="filter"&&r in e)return Gn[t]=r;r=ko(r);for(let s=0;sJn||(pu.then(()=>Jn=0),Jn=Date.now());function mu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;We(yu(r,n.value),t,5,[r])};return n.value=e,n.attached=gu(),n}function yu(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bu=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?ou(e,r,i):t==="style"?uu(e,n,r):Tn(t)?$r(t)||du(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_u(e,t,r,i))?(Os(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ns(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ae(r))?Os(e,at(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ns(e,t,r,i))};function _u(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ds(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ds(t)&&ae(n)?!1:t in e}const Fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>mn(t,n):t};function vu(e){e.target.composing=!0}function Us(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yn=Symbol("_assign"),wu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Yn]=Fs(s);const o=r||s.props&&s.props.type==="number";xt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Sr(l)),e[Yn](l)}),n&&xt(e,"change",()=>{e.value=e.value.trim()}),t||(xt(e,"compositionstart",vu),xt(e,"compositionend",Us),xt(e,"change",Us))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Yn]=Fs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Eu=["ctrl","shift","alt","meta"],Cu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Eu.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const t=Pu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=xu(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Tu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Tu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function xu(e){return ae(e)?document.querySelector(e):e}/*! * pinia v3.0.2 * (c) 2025 Eduardo San Martin Morote * @license MIT @@ -23,11 +23,11 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-Da-s6 * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const It=typeof document<"u";function Ki(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Nu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ki(e.default)}const te=Object.assign;function Qn(e,t){const n={};for(const r in t){const s=t[r];n[r]=Fe(s)?s.map(e):e(s)}return n}const Zt=()=>{},Fe=Array.isArray,zi=/#/g,Ou=/&/g,Bu=/\//g,Lu=/=/g,Du=/\?/g,Wi=/\+/g,Fu=/%5B/g,Uu=/%5D/g,Gi=/%5E/g,ku=/%60/g,Ji=/%7B/g,Hu=/%7C/g,Yi=/%7D/g,$u=/%20/g;function ss(e){return encodeURI(""+e).replace(Hu,"|").replace(Fu,"[").replace(Uu,"]")}function ju(e){return ss(e).replace(Ji,"{").replace(Yi,"}").replace(Gi,"^")}function Fr(e){return ss(e).replace(Wi,"%2B").replace($u,"+").replace(zi,"%23").replace(Ou,"%26").replace(ku,"`").replace(Ji,"{").replace(Yi,"}").replace(Gi,"^")}function qu(e){return Fr(e).replace(Lu,"%3D")}function Vu(e){return ss(e).replace(zi,"%23").replace(Du,"%3F")}function Ku(e){return e==null?"":Vu(e).replace(Bu,"%2F")}function cn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zu=/\/$/,Wu=e=>e.replace(zu,"");function Xn(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Qu(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:cn(i)}}function Gu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function $s(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ju(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ft(t.matched[r],n.matched[s])&&Qi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ft(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Yu(e[n],t[n]))return!1;return!0}function Yu(e,t){return Fe(e)?js(e,t):Fe(t)?js(t,e):e===t}function js(e,t){return Fe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Qu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var un;(function(e){e.pop="pop",e.push="push"})(un||(un={}));var en;(function(e){e.back="back",e.forward="forward",e.unknown=""})(en||(en={}));function Xu(e){if(!e)if(It){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wu(e)}const Zu=/^[^#]+#/;function ef(e,t){return e.replace(Zu,"#")+t}function tf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const kn=()=>({left:window.scrollX,top:window.scrollY});function nf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=tf(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qs(e,t){return(history.state?history.state.position-t:-1)+e}const Ur=new Map;function rf(e,t){Ur.set(e,t)}function sf(e){const t=Ur.get(e);return Ur.delete(e),t}let of=()=>location.protocol+"//"+location.host;function Xi(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),$s(c,"")}return $s(n,e)+r+s}function lf(e,t,n,r){let s=[],o=[],i=null;const l=({state:p})=>{const g=Xi(e,location),E=n.value,y=t.value;let N=0;if(p){if(n.value=g,t.value=p,i&&i===E){i=null;return}N=y?p.position-y.position:0}else r(g);s.forEach(v=>{v(n.value,E,{delta:N,type:un.pop,direction:N?N>0?en.forward:en.back:en.unknown})})};function c(){i=n.value}function f(p){s.push(p);const g=()=>{const E=s.indexOf(p);E>-1&&s.splice(E,1)};return o.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(te({},p.state,{scroll:kn()}),"")}function a(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:f,destroy:a}}function Vs(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?kn():null}}function cf(e){const{history:t,location:n}=window,r={value:Xi(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+c:of()+e+c;try{t[u?"replaceState":"pushState"](f,"",p),s.value=f}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(c,f){const u=te({},t.state,Vs(s.value.back,c,s.value.forward,!0),f,{position:s.value.position});o(c,u,!0),r.value=c}function l(c,f){const u=te({},s.value,t.state,{forward:c,scroll:kn()});o(u.current,u,!0);const a=te({},Vs(r.value,c,null),{position:u.position+1},f);o(c,a,!1),r.value=c}return{location:r,state:s,push:l,replace:i}}function uf(e){e=Xu(e);const t=cf(e),n=lf(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=te({location:"",base:e,go:r,createHref:ef.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function ff(e){return typeof e=="string"||e&&typeof e=="object"}function Zi(e){return typeof e=="string"||typeof e=="symbol"}const el=Symbol("");var Ks;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ks||(Ks={}));function Ut(e,t){return te(new Error,{type:e,[el]:!0},t)}function Je(e,t){return e instanceof Error&&el in e&&(t==null||!!(e.type&t))}const zs="[^/]+?",af={sensitive:!1,strict:!1,start:!0,end:!0},df=/[.+*?^${}()[\]/\\]/g;function hf(e,t){const n=te({},af,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let a=0;at.length?t.length===1&&t[0]===80?1:-1:0}function tl(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const gf={type:0,value:""},mf=/[a-zA-Z0-9_]/;function yf(e){if(!e)return[[]];if(e==="/")return[[gf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,c,f="",u="";function a(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=c}for(;l{i(R)}:Zt}function i(a){if(Zi(a)){const p=r.get(a);p&&(r.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&r.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){const p=Ef(a,n);n.splice(p,0,a),a.record.name&&!Ys(a)&&r.set(a.record.name,a)}function f(a,p){let g,E={},y,N;if("name"in a&&a.name){if(g=r.get(a.name),!g)throw Ut(1,{location:a});N=g.record.name,E=te(Gs(p.params,g.keys.filter(R=>!R.optional).concat(g.parent?g.parent.keys.filter(R=>R.optional):[]).map(R=>R.name)),a.params&&Gs(a.params,g.keys.map(R=>R.name))),y=g.stringify(E)}else if(a.path!=null)y=a.path,g=n.find(R=>R.re.test(y)),g&&(E=g.parse(y),N=g.record.name);else{if(g=p.name?r.get(p.name):n.find(R=>R.re.test(p.path)),!g)throw Ut(1,{location:a,currentLocation:p});N=g.record.name,E=te({},p.params,a.params),y=g.stringify(E)}const v=[];let P=g;for(;P;)v.unshift(P.record),P=P.parent;return{name:N,path:y,params:E,matched:v,meta:wf(v)}}e.forEach(a=>o(a));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:s}}function Gs(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Js(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ys(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wf(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Qs(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ef(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;tl(e,t[o])<0?r=o:n=o+1}const s=Cf(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Cf(e){let t=e;for(;t=t.parent;)if(nl(t)&&tl(e,t)===0)return t}function nl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Sf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Fr(o)):[r&&Fr(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Rf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Fe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Pf=Symbol(""),Zs=Symbol(""),os=Symbol(""),rl=Symbol(""),kr=Symbol("");function Vt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ct(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const f=p=>{p===!1?c(Ut(4,{from:n,to:t})):p instanceof Error?c(p):ff(p)?c(Ut(2,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(r&&r.instances[s],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>c(p))})}function Zn(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ki(c)){const u=(c.__vccOpts||c)[t];u&&o.push(ct(u,n,r,i,l,s))}else{let f=c();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const a=Nu(u)?u.default:u;i.mods[l]=u,i.components[l]=a;const g=(a.__vccOpts||a)[t];return g&&ct(g,n,r,i,l,s)()}))}}return o}function eo(e){const t=et(os),n=et(rl),r=Le(()=>{const c=ft(e.to);return t.resolve(c)}),s=Le(()=>{const{matched:c}=r.value,{length:f}=c,u=c[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex(Ft.bind(null,u));if(p>-1)return p;const g=to(c[f-2]);return f>1&&to(u)===g&&a[a.length-1].path!==g?a.findIndex(Ft.bind(null,c[f-2])):p}),o=Le(()=>s.value>-1&&Mf(n.params,r.value.params)),i=Le(()=>s.value>-1&&s.value===n.matched.length-1&&Qi(n.params,r.value.params));function l(c={}){if(If(c)){const f=t[ft(e.replace)?"replace":"push"](ft(e.to)).catch(Zt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:Le(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function Af(e){return e.length===1?e[0]:e}const Tf=kt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:eo,setup(e,{slots:t}){const n=On(eo(e)),{options:r}=et(os),s=Le(()=>({[no(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[no(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Af(t.default(n));return e.custom?o:rs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),xf=Tf;function If(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Mf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Fe(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function to(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const no=(e,t,n)=>e??t??n,Nf=kt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(kr),s=Le(()=>e.route||r.value),o=et(Zs,0),i=Le(()=>{let f=ft(o);const{matched:u}=s.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),l=Le(()=>s.value.matched[i.value]);yn(Zs,Le(()=>i.value+1)),yn(Pf,l),yn(kr,s);const c=Ye();return _n(()=>[c.value,l.value,e.name],([f,u,a],[p,g,E])=>{u&&(u.instances[a]=f,g&&g!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),f&&u&&(!g||!Ft(u,g)||!p)&&(u.enterCallbacks[a]||[]).forEach(y=>y(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,a=l.value,p=a&&a.components[u];if(!p)return ro(n.default,{Component:p,route:f});const g=a.props[u],E=g?g===!0?f.params:typeof g=="function"?g(f):g:null,N=rs(p,te({},E,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(a.instances[u]=null)},ref:c}));return ro(n.default,{Component:N,route:f})||N}}});function ro(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sl=Nf;function Of(e){const t=bf(e.routes,e),n=e.parseQuery||Sf,r=e.stringifyQuery||Xs,s=e.history,o=Vt(),i=Vt(),l=Vt(),c=jl(st);let f=st;It&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Qn.bind(null,_=>""+_),a=Qn.bind(null,Ku),p=Qn.bind(null,cn);function g(_,M){let x,U;return Zi(_)?(x=t.getRecordMatcher(_),U=M):U=_,t.addRoute(U,x)}function E(_){const M=t.getRecordMatcher(_);M&&t.removeRoute(M)}function y(){return t.getRoutes().map(_=>_.record)}function N(_){return!!t.getRecordMatcher(_)}function v(_,M){if(M=te({},M||c.value),typeof _=="string"){const m=Xn(n,_,M.path),b=t.resolve({path:m.path},M),C=s.createHref(m.fullPath);return te(m,b,{params:p(b.params),hash:cn(m.hash),redirectedFrom:void 0,href:C})}let x;if(_.path!=null)x=te({},_,{path:Xn(n,_.path,M.path).path});else{const m=te({},_.params);for(const b in m)m[b]==null&&delete m[b];x=te({},_,{params:a(m)}),M.params=a(M.params)}const U=t.resolve(x,M),oe=_.hash||"";U.params=u(p(U.params));const d=Gu(r,te({},_,{hash:ju(oe),path:U.path})),h=s.createHref(d);return te({fullPath:d,hash:oe,query:r===Xs?Rf(_.query):_.query||{}},U,{redirectedFrom:void 0,href:h})}function P(_){return typeof _=="string"?Xn(n,_,c.value.path):te({},_)}function R(_,M){if(f!==_)return Ut(8,{from:M,to:_})}function S(_){return L(_)}function z(_){return S(te(P(_),{replace:!0}))}function B(_){const M=_.matched[_.matched.length-1];if(M&&M.redirect){const{redirect:x}=M;let U=typeof x=="function"?x(_):x;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=P(U):{path:U},U.params={}),te({query:_.query,hash:_.hash,params:U.path!=null?{}:_.params},U)}}function L(_,M){const x=f=v(_),U=c.value,oe=_.state,d=_.force,h=_.replace===!0,m=B(x);if(m)return L(te(P(m),{state:typeof m=="object"?te({},oe,m.state):oe,force:d,replace:h}),M||x);const b=x;b.redirectedFrom=M;let C;return!d&&Ju(r,U,x)&&(C=Ut(16,{to:b,from:U}),_e(U,U,!0,!1)),(C?Promise.resolve(C):j(b,U)).catch(w=>Je(w)?Je(w,2)?w:Ie(w):X(w,b,U)).then(w=>{if(w){if(Je(w,2))return L(te({replace:h},P(w.to),{state:typeof w.to=="object"?te({},oe,w.to.state):oe,force:d}),M||b)}else w=q(b,U,!0,h,oe);return $(b,U,w),w})}function H(_,M){const x=R(_,M);return x?Promise.reject(x):Promise.resolve()}function F(_){const M=nt.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(_):_()}function j(_,M){let x;const[U,oe,d]=Bf(_,M);x=Zn(U.reverse(),"beforeRouteLeave",_,M);for(const m of U)m.leaveGuards.forEach(b=>{x.push(ct(b,_,M))});const h=H.bind(null,_,M);return x.push(h),be(x).then(()=>{x=[];for(const m of o.list())x.push(ct(m,_,M));return x.push(h),be(x)}).then(()=>{x=Zn(oe,"beforeRouteUpdate",_,M);for(const m of oe)m.updateGuards.forEach(b=>{x.push(ct(b,_,M))});return x.push(h),be(x)}).then(()=>{x=[];for(const m of d)if(m.beforeEnter)if(Fe(m.beforeEnter))for(const b of m.beforeEnter)x.push(ct(b,_,M));else x.push(ct(m.beforeEnter,_,M));return x.push(h),be(x)}).then(()=>(_.matched.forEach(m=>m.enterCallbacks={}),x=Zn(d,"beforeRouteEnter",_,M,F),x.push(h),be(x))).then(()=>{x=[];for(const m of i.list())x.push(ct(m,_,M));return x.push(h),be(x)}).catch(m=>Je(m,8)?m:Promise.reject(m))}function $(_,M,x){l.list().forEach(U=>F(()=>U(_,M,x)))}function q(_,M,x,U,oe){const d=R(_,M);if(d)return d;const h=M===st,m=It?history.state:{};x&&(U||h?s.replace(_.fullPath,te({scroll:h&&m&&m.scroll},oe)):s.push(_.fullPath,oe)),c.value=_,_e(_,M,x,h),Ie()}let k;function W(){k||(k=s.listen((_,M,x)=>{if(!rt.listening)return;const U=v(_),oe=B(U);if(oe){L(te(oe,{replace:!0,force:!0}),U).catch(Zt);return}f=U;const d=c.value;It&&rf(qs(d.fullPath,x.delta),kn()),j(U,d).catch(h=>Je(h,12)?h:Je(h,2)?(L(te(P(h.to),{force:!0}),U).then(m=>{Je(m,20)&&!x.delta&&x.type===un.pop&&s.go(-1,!1)}).catch(Zt),Promise.reject()):(x.delta&&s.go(-x.delta,!1),X(h,U,d))).then(h=>{h=h||q(U,d,!1),h&&(x.delta&&!Je(h,8)?s.go(-x.delta,!1):x.type===un.pop&&Je(h,20)&&s.go(-1,!1)),$(U,d,h)}).catch(Zt)}))}let ye=Vt(),ue=Vt(),ee;function X(_,M,x){Ie(_);const U=ue.list();return U.length?U.forEach(oe=>oe(_,M,x)):console.error(_),Promise.reject(_)}function Be(){return ee&&c.value!==st?Promise.resolve():new Promise((_,M)=>{ye.add([_,M])})}function Ie(_){return ee||(ee=!_,W(),ye.list().forEach(([M,x])=>_?x(_):M()),ye.reset()),_}function _e(_,M,x,U){const{scrollBehavior:oe}=e;if(!It||!oe)return Promise.resolve();const d=!x&&sf(qs(_.fullPath,0))||(U||!x)&&history.state&&history.state.scroll||null;return ai().then(()=>oe(_,M,d)).then(h=>h&&nf(h)).catch(h=>X(h,_,M))}const de=_=>s.go(_);let Ue;const nt=new Set,rt={currentRoute:c,listening:!0,addRoute:g,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:N,getRoutes:y,resolve:v,options:e,push:S,replace:z,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ue.add,isReady:Be,install(_){const M=this;_.component("RouterLink",xf),_.component("RouterView",sl),_.config.globalProperties.$router=M,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>ft(c)}),It&&!Ue&&c.value===st&&(Ue=!0,S(s.location).catch(oe=>{}));const x={};for(const oe in st)Object.defineProperty(x,oe,{get:()=>c.value[oe],enumerable:!0});_.provide(os,M),_.provide(rl,oi(x)),_.provide(kr,c);const U=_.unmount;nt.add(_),_.unmount=function(){nt.delete(_),nt.size<1&&(f=st,k&&k(),k=null,c.value=st,Ue=!1,ee=!1),U()}}};function be(_){return _.reduce((M,x)=>M.then(()=>F(x)),Promise.resolve())}return rt}function Bf(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iFt(f,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>Ft(f,c))||s.push(c))}return[n,r,s]}const Lf=kt({__name:"App",setup(e){return(t,n)=>(bt(),Hi(ft(sl)))}}),ol=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Df=ol(Lf,[["__scopeId","data-v-e5db0c22"]]),Ff="modulepreload",Uf=function(e){return"/"+e},so={},kf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let i=function(f){return Promise.all(f.map(u=>Promise.resolve(u).then(a=>({status:"fulfilled",value:a}),a=>({status:"rejected",reason:a}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=i(n.map(f=>{if(f=Uf(f),f in so)return;so[f]=!0;const u=f.endsWith(".css"),a=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${a}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":Ff,u||(p.as="script"),p.crossOrigin="",p.href=f,c&&p.setAttribute("nonce",c),document.head.appendChild(p),u)return new Promise((g,E)=>{p.addEventListener("load",g),p.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function Pt(e){const t="http://"+window.location.host.split(":")[0]+":8090"+e;return console.log(t),t}var At={},er,oo;function Hf(){return oo||(oo=1,er=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),er}var tr={},ot={},io;function Ct(){if(io)return ot;io=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return ot.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},ot.getSymbolTotalCodewords=function(r){return t[r]},ot.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},ot.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},ot.isKanjiModeEnabled=function(){return typeof e<"u"},ot.toSJIS=function(r){return e(r)},ot}var nr={},lo;function is(){return lo||(lo=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,s){if(e.isValid(r))return r;try{return t(r)}catch{return s}}}(nr)),nr}var rr,co;function $f(){if(co)return rr;co=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},rr=e,rr}var sr,uo;function jf(){if(uo)return sr;uo=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,s){const o=t*this.size+n;this.data[o]=r,s&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},sr=e,sr}var or={},fo;function qf(){return fo||(fo=1,function(e){const t=Ct().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const s=Math.floor(r/7)+2,o=t(r),i=o===145?26:Math.ceil((o-13)/(2*s-2))*2,l=[o-7];for(let c=1;c=0&&s<=7},e.from=function(s){return e.isValid(s)?parseInt(s,10):void 0},e.getPenaltyN1=function(s){const o=s.size;let i=0,l=0,c=0,f=null,u=null;for(let a=0;a=5&&(i+=t.N1+(l-5)),f=g,l=1),g=s.get(p,a),g===u?c++:(c>=5&&(i+=t.N1+(c-5)),u=g,c=1)}l>=5&&(i+=t.N1+(l-5)),c>=5&&(i+=t.N1+(c-5))}return i},e.getPenaltyN2=function(s){const o=s.size;let i=0;for(let l=0;l=10&&(l===1488||l===93)&&i++,c=c<<1&2047|s.get(u,f),u>=10&&(c===1488||c===93)&&i++}return i*t.N3},e.getPenaltyN4=function(s){let o=0;const i=s.data.length;for(let c=0;c=0;){const i=o[0];for(let c=0;c0){const l=new Uint8Array(this.degree);return l.set(o,i),l}return o},ur=t,ur}var fr={},ar={},dr={},_o;function ll(){return _o||(_o=1,dr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),dr}var qe={},bo;function cl(){if(bo)return qe;bo=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r -]))+`;qe.KANJI=new RegExp(n,"g"),qe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),qe.BYTE=new RegExp(r,"g"),qe.NUMERIC=new RegExp(e,"g"),qe.ALPHANUMERIC=new RegExp(t,"g");const s=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return qe.testKanji=function(c){return s.test(c)},qe.testNumeric=function(c){return o.test(c)},qe.testAlphanumeric=function(c){return i.test(c)},qe}var vo;function St(){return vo||(vo=1,function(e){const t=ll(),n=cl();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,i){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?o.ccBits[0]:i<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+s)}}e.from=function(o,i){if(e.isValid(o))return o;try{return r(o)}catch{return i}}}(ar)),ar}var wo;function Jf(){return wo||(wo=1,function(e){const t=Ct(),n=il(),r=is(),s=St(),o=ll(),i=7973,l=t.getBCHDigit(i);function c(p,g,E){for(let y=1;y<=40;y++)if(g<=e.getCapacity(y,E,p))return y}function f(p,g){return s.getCharCountIndicator(p,g)+4}function u(p,g){let E=0;return p.forEach(function(y){const N=f(y.mode,g);E+=N+y.getBitsLength()}),E}function a(p,g){for(let E=1;E<=40;E++)if(u(p,E)<=e.getCapacity(E,g,s.MIXED))return E}e.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,y){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=s.BYTE);const N=t.getSymbolTotalCodewords(g),v=n.getTotalCodewordsCount(g,E),P=(N-v)*8;if(y===s.MIXED)return P;const R=P-f(y,g);switch(y){case s.NUMERIC:return Math.floor(R/10*3);case s.ALPHANUMERIC:return Math.floor(R/11*2);case s.KANJI:return Math.floor(R/13);case s.BYTE:default:return Math.floor(R/8)}},e.getBestVersionForData=function(g,E){let y;const N=r.from(E,r.M);if(Array.isArray(g)){if(g.length>1)return a(g,N);if(g.length===0)return 1;y=g[0]}else y=g;return c(y.mode,y.getLength(),N)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-l>=0;)E^=i<=0;)c^=t<0&&(o=this.data.substr(s),i=parseInt(o,10),r.put(i,l*3+1))},gr=t,gr}var mr,So;function Xf(){if(So)return mr;So=1;const e=St(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(s){return 11*Math.floor(s/2)+6*(s%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let o;for(o=0;o+2<=this.data.length;o+=2){let i=t.indexOf(this.data[o])*45;i+=t.indexOf(this.data[o+1]),s.put(i,11)}this.data.length%2&&s.put(t.indexOf(this.data[o]),6)},mr=n,mr}var yr,Ro;function Zf(){if(Ro)return yr;Ro=1;const e=St();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,s=this.data.length;r=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+` -Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),r.put(o,13)}},_r=n,_r}var br={exports:{}},Ao;function ta(){return Ao||(Ao=1,function(e){var t={single_source_shortest_paths:function(n,r,s){var o={},i={};i[r]=0;var l=t.PriorityQueue.make();l.push(r,0);for(var c,f,u,a,p,g,E,y,N;!l.empty();){c=l.pop(),f=c.value,a=c.cost,p=n[f]||{};for(u in p)p.hasOwnProperty(u)&&(g=p[u],E=a+g,y=i[u],N=typeof i[u]>"u",(N||y>E)&&(i[u]=E,l.push(u,E),o[u]=f))}if(typeof s<"u"&&typeof i[s]>"u"){var v=["Could not find a path from ",r," to ",s,"."].join("");throw new Error(v)}return o},extract_shortest_path_from_predecessor_list:function(n,r){for(var s=[],o=r;o;)s.push(o),n[o],o=n[o];return s.reverse(),s},find_path:function(n,r,s){var o=t.single_source_shortest_paths(n,r,s);return t.extract_shortest_path_from_predecessor_list(o,s)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,s={},o;n=n||{};for(o in r)r.hasOwnProperty(o)&&(s[o]=r[o]);return s.queue=[],s.sorter=n.sorter||r.default_sorter,s},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var s={value:n,cost:r};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(br)),br.exports}var To;function na(){return To||(To=1,function(e){const t=St(),n=Qf(),r=Xf(),s=Zf(),o=ea(),i=cl(),l=Ct(),c=ta();function f(v){return unescape(encodeURIComponent(v)).length}function u(v,P,R){const S=[];let z;for(;(z=v.exec(R))!==null;)S.push({data:z[0],index:z.index,mode:P,length:z[0].length});return S}function a(v){const P=u(i.NUMERIC,t.NUMERIC,v),R=u(i.ALPHANUMERIC,t.ALPHANUMERIC,v);let S,z;return l.isKanjiModeEnabled()?(S=u(i.BYTE,t.BYTE,v),z=u(i.KANJI,t.KANJI,v)):(S=u(i.BYTE_KANJI,t.BYTE,v),z=[]),P.concat(R,S,z).sort(function(L,H){return L.index-H.index}).map(function(L){return{data:L.data,mode:L.mode,length:L.length}})}function p(v,P){switch(P){case t.NUMERIC:return n.getBitsLength(v);case t.ALPHANUMERIC:return r.getBitsLength(v);case t.KANJI:return o.getBitsLength(v);case t.BYTE:return s.getBitsLength(v)}}function g(v){return v.reduce(function(P,R){const S=P.length-1>=0?P[P.length-1]:null;return S&&S.mode===R.mode?(P[P.length-1].data+=R.data,P):(P.push(R),P)},[])}function E(v){const P=[];for(let R=0;R=0&&k<=6&&(W===0||W===6)||W>=0&&W<=6&&(k===0||k===6)||k>=2&&k<=4&&W>=2&&W<=4?B.set($+k,q+W,!0,!0):B.set($+k,q+W,!1,!0))}}function E(B){const L=B.size;for(let H=8;H>k&1)===1,B.set(j,$,q,!0),B.set($,j,q,!0)}function v(B,L,H){const F=B.size,j=u.getEncodedBits(L,H);let $,q;for($=0;$<15;$++)q=(j>>$&1)===1,$<6?B.set($,8,q,!0):$<8?B.set($+1,8,q,!0):B.set(F-15+$,8,q,!0),$<8?B.set(8,F-$-1,q,!0):$<9?B.set(8,15-$-1+1,q,!0):B.set(8,15-$-1,q,!0);B.set(F-8,8,1,!0)}function P(B,L){const H=B.size;let F=-1,j=H-1,$=7,q=0;for(let k=H-1;k>0;k-=2)for(k===6&&k--;;){for(let W=0;W<2;W++)if(!B.isReserved(j,k-W)){let ye=!1;q>>$&1)===1),B.set(j,k-W,ye),$--,$===-1&&(q++,$=7)}if(j+=F,j<0||H<=j){j-=F,F=-F;break}}}function R(B,L,H){const F=new n;H.forEach(function(W){F.put(W.mode.bit,4),F.put(W.getLength(),a.getCharCountIndicator(W.mode,B)),W.write(F)});const j=e.getSymbolTotalCodewords(B),$=l.getTotalCodewordsCount(B,L),q=(j-$)*8;for(F.getLengthInBits()+4<=q&&F.put(0,4);F.getLengthInBits()%8!==0;)F.putBit(0);const k=(q-F.getLengthInBits())/8;for(let W=0;W{},Fe=Array.isArray,zi=/#/g,Ou=/&/g,Bu=/\//g,Lu=/=/g,Du=/\?/g,Wi=/\+/g,Fu=/%5B/g,Uu=/%5D/g,Gi=/%5E/g,ku=/%60/g,Ji=/%7B/g,Hu=/%7C/g,Yi=/%7D/g,$u=/%20/g;function ss(e){return encodeURI(""+e).replace(Hu,"|").replace(Fu,"[").replace(Uu,"]")}function ju(e){return ss(e).replace(Ji,"{").replace(Yi,"}").replace(Gi,"^")}function Fr(e){return ss(e).replace(Wi,"%2B").replace($u,"+").replace(zi,"%23").replace(Ou,"%26").replace(ku,"`").replace(Ji,"{").replace(Yi,"}").replace(Gi,"^")}function qu(e){return Fr(e).replace(Lu,"%3D")}function Vu(e){return ss(e).replace(zi,"%23").replace(Du,"%3F")}function Ku(e){return e==null?"":Vu(e).replace(Bu,"%2F")}function cn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zu=/\/$/,Wu=e=>e.replace(zu,"");function Xn(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Qu(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:cn(i)}}function Gu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function $s(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ju(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ft(t.matched[r],n.matched[s])&&Qi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ft(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Yu(e[n],t[n]))return!1;return!0}function Yu(e,t){return Fe(e)?js(e,t):Fe(t)?js(t,e):e===t}function js(e,t){return Fe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Qu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var un;(function(e){e.pop="pop",e.push="push"})(un||(un={}));var en;(function(e){e.back="back",e.forward="forward",e.unknown=""})(en||(en={}));function Xu(e){if(!e)if(It){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wu(e)}const Zu=/^[^#]+#/;function ef(e,t){return e.replace(Zu,"#")+t}function tf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const kn=()=>({left:window.scrollX,top:window.scrollY});function nf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=tf(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qs(e,t){return(history.state?history.state.position-t:-1)+e}const Ur=new Map;function rf(e,t){Ur.set(e,t)}function sf(e){const t=Ur.get(e);return Ur.delete(e),t}let of=()=>location.protocol+"//"+location.host;function Xi(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),$s(c,"")}return $s(n,e)+r+s}function lf(e,t,n,r){let s=[],o=[],i=null;const l=({state:p})=>{const g=Xi(e,location),C=n.value,R=t.value;let F=0;if(p){if(n.value=g,t.value=p,i&&i===C){i=null;return}F=R?p.position-R.position:0}else r(g);s.forEach(P=>{P(n.value,C,{delta:F,type:un.pop,direction:F?F>0?en.forward:en.back:en.unknown})})};function c(){i=n.value}function f(p){s.push(p);const g=()=>{const C=s.indexOf(p);C>-1&&s.splice(C,1)};return o.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(te({},p.state,{scroll:kn()}),"")}function a(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:f,destroy:a}}function Vs(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?kn():null}}function cf(e){const{history:t,location:n}=window,r={value:Xi(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+c:of()+e+c;try{t[u?"replaceState":"pushState"](f,"",p),s.value=f}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(c,f){const u=te({},t.state,Vs(s.value.back,c,s.value.forward,!0),f,{position:s.value.position});o(c,u,!0),r.value=c}function l(c,f){const u=te({},s.value,t.state,{forward:c,scroll:kn()});o(u.current,u,!0);const a=te({},Vs(r.value,c,null),{position:u.position+1},f);o(c,a,!1),r.value=c}return{location:r,state:s,push:l,replace:i}}function uf(e){e=Xu(e);const t=cf(e),n=lf(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=te({location:"",base:e,go:r,createHref:ef.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function ff(e){return typeof e=="string"||e&&typeof e=="object"}function Zi(e){return typeof e=="string"||typeof e=="symbol"}const el=Symbol("");var Ks;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ks||(Ks={}));function Ut(e,t){return te(new Error,{type:e,[el]:!0},t)}function Je(e,t){return e instanceof Error&&el in e&&(t==null||!!(e.type&t))}const zs="[^/]+?",af={sensitive:!1,strict:!1,start:!0,end:!0},df=/[.+*?^${}()[\]/\\]/g;function hf(e,t){const n=te({},af,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let a=0;at.length?t.length===1&&t[0]===80?1:-1:0}function tl(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const gf={type:0,value:""},mf=/[a-zA-Z0-9_]/;function yf(e){if(!e)return[[]];if(e==="/")return[[gf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,c,f="",u="";function a(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=c}for(;l{i(v)}:Zt}function i(a){if(Zi(a)){const p=r.get(a);p&&(r.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&r.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){const p=Ef(a,n);n.splice(p,0,a),a.record.name&&!Ys(a)&&r.set(a.record.name,a)}function f(a,p){let g,C={},R,F;if("name"in a&&a.name){if(g=r.get(a.name),!g)throw Ut(1,{location:a});F=g.record.name,C=te(Gs(p.params,g.keys.filter(v=>!v.optional).concat(g.parent?g.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),a.params&&Gs(a.params,g.keys.map(v=>v.name))),R=g.stringify(C)}else if(a.path!=null)R=a.path,g=n.find(v=>v.re.test(R)),g&&(C=g.parse(R),F=g.record.name);else{if(g=p.name?r.get(p.name):n.find(v=>v.re.test(p.path)),!g)throw Ut(1,{location:a,currentLocation:p});F=g.record.name,C=te({},p.params,a.params),R=g.stringify(C)}const P=[];let y=g;for(;y;)P.unshift(y.record),y=y.parent;return{name:F,path:R,params:C,matched:P,meta:wf(P)}}e.forEach(a=>o(a));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:s}}function Gs(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Js(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ys(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wf(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Qs(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ef(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;tl(e,t[o])<0?r=o:n=o+1}const s=Cf(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Cf(e){let t=e;for(;t=t.parent;)if(nl(t)&&tl(e,t)===0)return t}function nl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Sf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Fr(o)):[r&&Fr(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Rf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Fe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Pf=Symbol(""),Zs=Symbol(""),os=Symbol(""),rl=Symbol(""),kr=Symbol("");function Vt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ct(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const f=p=>{p===!1?c(Ut(4,{from:n,to:t})):p instanceof Error?c(p):ff(p)?c(Ut(2,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(r&&r.instances[s],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>c(p))})}function Zn(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ki(c)){const u=(c.__vccOpts||c)[t];u&&o.push(ct(u,n,r,i,l,s))}else{let f=c();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const a=Nu(u)?u.default:u;i.mods[l]=u,i.components[l]=a;const g=(a.__vccOpts||a)[t];return g&&ct(g,n,r,i,l,s)()}))}}return o}function eo(e){const t=et(os),n=et(rl),r=Le(()=>{const c=ft(e.to);return t.resolve(c)}),s=Le(()=>{const{matched:c}=r.value,{length:f}=c,u=c[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex(Ft.bind(null,u));if(p>-1)return p;const g=to(c[f-2]);return f>1&&to(u)===g&&a[a.length-1].path!==g?a.findIndex(Ft.bind(null,c[f-2])):p}),o=Le(()=>s.value>-1&&Mf(n.params,r.value.params)),i=Le(()=>s.value>-1&&s.value===n.matched.length-1&&Qi(n.params,r.value.params));function l(c={}){if(If(c)){const f=t[ft(e.replace)?"replace":"push"](ft(e.to)).catch(Zt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:Le(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function Af(e){return e.length===1?e[0]:e}const Tf=kt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:eo,setup(e,{slots:t}){const n=On(eo(e)),{options:r}=et(os),s=Le(()=>({[no(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[no(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Af(t.default(n));return e.custom?o:rs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),xf=Tf;function If(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Mf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Fe(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function to(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const no=(e,t,n)=>e??t??n,Nf=kt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(kr),s=Le(()=>e.route||r.value),o=et(Zs,0),i=Le(()=>{let f=ft(o);const{matched:u}=s.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),l=Le(()=>s.value.matched[i.value]);yn(Zs,Le(()=>i.value+1)),yn(Pf,l),yn(kr,s);const c=Ye();return bn(()=>[c.value,l.value,e.name],([f,u,a],[p,g,C])=>{u&&(u.instances[a]=f,g&&g!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),f&&u&&(!g||!Ft(u,g)||!p)&&(u.enterCallbacks[a]||[]).forEach(R=>R(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,a=l.value,p=a&&a.components[u];if(!p)return ro(n.default,{Component:p,route:f});const g=a.props[u],C=g?g===!0?f.params:typeof g=="function"?g(f):g:null,F=rs(p,te({},C,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(a.instances[u]=null)},ref:c}));return ro(n.default,{Component:F,route:f})||F}}});function ro(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sl=Nf;function Of(e){const t=_f(e.routes,e),n=e.parseQuery||Sf,r=e.stringifyQuery||Xs,s=e.history,o=Vt(),i=Vt(),l=Vt(),c=jl(st);let f=st;It&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Qn.bind(null,_=>""+_),a=Qn.bind(null,Ku),p=Qn.bind(null,cn);function g(_,O){let I,U;return Zi(_)?(I=t.getRecordMatcher(_),U=O):U=_,t.addRoute(U,I)}function C(_){const O=t.getRecordMatcher(_);O&&t.removeRoute(O)}function R(){return t.getRoutes().map(_=>_.record)}function F(_){return!!t.getRecordMatcher(_)}function P(_,O){if(O=te({},O||c.value),typeof _=="string"){const m=Xn(n,_,O.path),w=t.resolve({path:m.path},O),S=s.createHref(m.fullPath);return te(m,w,{params:p(w.params),hash:cn(m.hash),redirectedFrom:void 0,href:S})}let I;if(_.path!=null)I=te({},_,{path:Xn(n,_.path,O.path).path});else{const m=te({},_.params);for(const w in m)m[w]==null&&delete m[w];I=te({},_,{params:a(m)}),O.params=a(O.params)}const U=t.resolve(I,O),oe=_.hash||"";U.params=u(p(U.params));const d=Gu(r,te({},_,{hash:ju(oe),path:U.path})),h=s.createHref(d);return te({fullPath:d,hash:oe,query:r===Xs?Rf(_.query):_.query||{}},U,{redirectedFrom:void 0,href:h})}function y(_){return typeof _=="string"?Xn(n,_,c.value.path):te({},_)}function v(_,O){if(f!==_)return Ut(8,{from:O,to:_})}function b(_){return N(_)}function $(_){return b(te(y(_),{replace:!0}))}function T(_){const O=_.matched[_.matched.length-1];if(O&&O.redirect){const{redirect:I}=O;let U=typeof I=="function"?I(_):I;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=y(U):{path:U},U.params={}),te({query:_.query,hash:_.hash,params:U.path!=null?{}:_.params},U)}}function N(_,O){const I=f=P(_),U=c.value,oe=_.state,d=_.force,h=_.replace===!0,m=T(I);if(m)return N(te(y(m),{state:typeof m=="object"?te({},oe,m.state):oe,force:d,replace:h}),O||I);const w=I;w.redirectedFrom=O;let S;return!d&&Ju(r,U,I)&&(S=Ut(16,{to:w,from:U}),be(U,U,!0,!1)),(S?Promise.resolve(S):q(w,U)).catch(E=>Je(E)?Je(E,2)?E:Ie(E):X(E,w,U)).then(E=>{if(E){if(Je(E,2))return N(te({replace:h},y(E.to),{state:typeof E.to=="object"?te({},oe,E.to.state):oe,force:d}),O||w)}else E=V(w,U,!0,h,oe);return j(w,U,E),E})}function H(_,O){const I=v(_,O);return I?Promise.reject(I):Promise.resolve()}function D(_){const O=nt.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(_):_()}function q(_,O){let I;const[U,oe,d]=Bf(_,O);I=Zn(U.reverse(),"beforeRouteLeave",_,O);for(const m of U)m.leaveGuards.forEach(w=>{I.push(ct(w,_,O))});const h=H.bind(null,_,O);return I.push(h),_e(I).then(()=>{I=[];for(const m of o.list())I.push(ct(m,_,O));return I.push(h),_e(I)}).then(()=>{I=Zn(oe,"beforeRouteUpdate",_,O);for(const m of oe)m.updateGuards.forEach(w=>{I.push(ct(w,_,O))});return I.push(h),_e(I)}).then(()=>{I=[];for(const m of d)if(m.beforeEnter)if(Fe(m.beforeEnter))for(const w of m.beforeEnter)I.push(ct(w,_,O));else I.push(ct(m.beforeEnter,_,O));return I.push(h),_e(I)}).then(()=>(_.matched.forEach(m=>m.enterCallbacks={}),I=Zn(d,"beforeRouteEnter",_,O,D),I.push(h),_e(I))).then(()=>{I=[];for(const m of i.list())I.push(ct(m,_,O));return I.push(h),_e(I)}).catch(m=>Je(m,8)?m:Promise.reject(m))}function j(_,O,I){l.list().forEach(U=>D(()=>U(_,O,I)))}function V(_,O,I,U,oe){const d=v(_,O);if(d)return d;const h=O===st,m=It?history.state:{};I&&(U||h?s.replace(_.fullPath,te({scroll:h&&m&&m.scroll},oe)):s.push(_.fullPath,oe)),c.value=_,be(_,O,I,h),Ie()}let k;function W(){k||(k=s.listen((_,O,I)=>{if(!rt.listening)return;const U=P(_),oe=T(U);if(oe){N(te(oe,{replace:!0,force:!0}),U).catch(Zt);return}f=U;const d=c.value;It&&rf(qs(d.fullPath,I.delta),kn()),q(U,d).catch(h=>Je(h,12)?h:Je(h,2)?(N(te(y(h.to),{force:!0}),U).then(m=>{Je(m,20)&&!I.delta&&I.type===un.pop&&s.go(-1,!1)}).catch(Zt),Promise.reject()):(I.delta&&s.go(-I.delta,!1),X(h,U,d))).then(h=>{h=h||V(U,d,!1),h&&(I.delta&&!Je(h,8)?s.go(-I.delta,!1):I.type===un.pop&&Je(h,20)&&s.go(-1,!1)),j(U,d,h)}).catch(Zt)}))}let ye=Vt(),ue=Vt(),ee;function X(_,O,I){Ie(_);const U=ue.list();return U.length?U.forEach(oe=>oe(_,O,I)):console.error(_),Promise.reject(_)}function Be(){return ee&&c.value!==st?Promise.resolve():new Promise((_,O)=>{ye.add([_,O])})}function Ie(_){return ee||(ee=!_,W(),ye.list().forEach(([O,I])=>_?I(_):O()),ye.reset()),_}function be(_,O,I,U){const{scrollBehavior:oe}=e;if(!It||!oe)return Promise.resolve();const d=!I&&sf(qs(_.fullPath,0))||(U||!I)&&history.state&&history.state.scroll||null;return ai().then(()=>oe(_,O,d)).then(h=>h&&nf(h)).catch(h=>X(h,_,O))}const de=_=>s.go(_);let Ue;const nt=new Set,rt={currentRoute:c,listening:!0,addRoute:g,removeRoute:C,clearRoutes:t.clearRoutes,hasRoute:F,getRoutes:R,resolve:P,options:e,push:b,replace:$,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ue.add,isReady:Be,install(_){const O=this;_.component("RouterLink",xf),_.component("RouterView",sl),_.config.globalProperties.$router=O,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>ft(c)}),It&&!Ue&&c.value===st&&(Ue=!0,b(s.location).catch(oe=>{}));const I={};for(const oe in st)Object.defineProperty(I,oe,{get:()=>c.value[oe],enumerable:!0});_.provide(os,O),_.provide(rl,oi(I)),_.provide(kr,c);const U=_.unmount;nt.add(_),_.unmount=function(){nt.delete(_),nt.size<1&&(f=st,k&&k(),k=null,c.value=st,Ue=!1,ee=!1),U()}}};function _e(_){return _.reduce((O,I)=>O.then(()=>D(I)),Promise.resolve())}return rt}function Bf(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iFt(f,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>Ft(f,c))||s.push(c))}return[n,r,s]}const Lf=kt({__name:"App",setup(e){return(t,n)=>(vt(),Hi(ft(sl)))}}),ol=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Df=ol(Lf,[["__scopeId","data-v-e5db0c22"]]),Ff="modulepreload",Uf=function(e){return"/"+e},so={},kf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let i=function(f){return Promise.all(f.map(u=>Promise.resolve(u).then(a=>({status:"fulfilled",value:a}),a=>({status:"rejected",reason:a}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=i(n.map(f=>{if(f=Uf(f),f in so)return;so[f]=!0;const u=f.endsWith(".css"),a=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${a}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":Ff,u||(p.as="script"),p.crossOrigin="",p.href=f,c&&p.setAttribute("nonce",c),document.head.appendChild(p),u)return new Promise((g,C)=>{p.addEventListener("load",g),p.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function yt(e){const t="http://"+window.location.host.split(":")[0]+":8090"+e;return console.log(t),t}var At={},er,oo;function Hf(){return oo||(oo=1,er=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),er}var tr={},ot={},io;function St(){if(io)return ot;io=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return ot.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},ot.getSymbolTotalCodewords=function(r){return t[r]},ot.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},ot.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},ot.isKanjiModeEnabled=function(){return typeof e<"u"},ot.toSJIS=function(r){return e(r)},ot}var nr={},lo;function is(){return lo||(lo=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,s){if(e.isValid(r))return r;try{return t(r)}catch{return s}}}(nr)),nr}var rr,co;function $f(){if(co)return rr;co=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},rr=e,rr}var sr,uo;function jf(){if(uo)return sr;uo=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,s){const o=t*this.size+n;this.data[o]=r,s&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},sr=e,sr}var or={},fo;function qf(){return fo||(fo=1,function(e){const t=St().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const s=Math.floor(r/7)+2,o=t(r),i=o===145?26:Math.ceil((o-13)/(2*s-2))*2,l=[o-7];for(let c=1;c=0&&s<=7},e.from=function(s){return e.isValid(s)?parseInt(s,10):void 0},e.getPenaltyN1=function(s){const o=s.size;let i=0,l=0,c=0,f=null,u=null;for(let a=0;a=5&&(i+=t.N1+(l-5)),f=g,l=1),g=s.get(p,a),g===u?c++:(c>=5&&(i+=t.N1+(c-5)),u=g,c=1)}l>=5&&(i+=t.N1+(l-5)),c>=5&&(i+=t.N1+(c-5))}return i},e.getPenaltyN2=function(s){const o=s.size;let i=0;for(let l=0;l=10&&(l===1488||l===93)&&i++,c=c<<1&2047|s.get(u,f),u>=10&&(c===1488||c===93)&&i++}return i*t.N3},e.getPenaltyN4=function(s){let o=0;const i=s.data.length;for(let c=0;c=0;){const i=o[0];for(let c=0;c0){const l=new Uint8Array(this.degree);return l.set(o,i),l}return o},ur=t,ur}var fr={},ar={},dr={},bo;function ll(){return bo||(bo=1,dr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),dr}var qe={},_o;function cl(){if(_o)return qe;_o=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r +]))+`;qe.KANJI=new RegExp(n,"g"),qe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),qe.BYTE=new RegExp(r,"g"),qe.NUMERIC=new RegExp(e,"g"),qe.ALPHANUMERIC=new RegExp(t,"g");const s=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return qe.testKanji=function(c){return s.test(c)},qe.testNumeric=function(c){return o.test(c)},qe.testAlphanumeric=function(c){return i.test(c)},qe}var vo;function Rt(){return vo||(vo=1,function(e){const t=ll(),n=cl();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,i){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?o.ccBits[0]:i<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+s)}}e.from=function(o,i){if(e.isValid(o))return o;try{return r(o)}catch{return i}}}(ar)),ar}var wo;function Jf(){return wo||(wo=1,function(e){const t=St(),n=il(),r=is(),s=Rt(),o=ll(),i=7973,l=t.getBCHDigit(i);function c(p,g,C){for(let R=1;R<=40;R++)if(g<=e.getCapacity(R,C,p))return R}function f(p,g){return s.getCharCountIndicator(p,g)+4}function u(p,g){let C=0;return p.forEach(function(R){const F=f(R.mode,g);C+=F+R.getBitsLength()}),C}function a(p,g){for(let C=1;C<=40;C++)if(u(p,C)<=e.getCapacity(C,g,s.MIXED))return C}e.from=function(g,C){return o.isValid(g)?parseInt(g,10):C},e.getCapacity=function(g,C,R){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof R>"u"&&(R=s.BYTE);const F=t.getSymbolTotalCodewords(g),P=n.getTotalCodewordsCount(g,C),y=(F-P)*8;if(R===s.MIXED)return y;const v=y-f(R,g);switch(R){case s.NUMERIC:return Math.floor(v/10*3);case s.ALPHANUMERIC:return Math.floor(v/11*2);case s.KANJI:return Math.floor(v/13);case s.BYTE:default:return Math.floor(v/8)}},e.getBestVersionForData=function(g,C){let R;const F=r.from(C,r.M);if(Array.isArray(g)){if(g.length>1)return a(g,F);if(g.length===0)return 1;R=g[0]}else R=g;return c(R.mode,R.getLength(),F)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let C=g<<12;for(;t.getBCHDigit(C)-l>=0;)C^=i<=0;)c^=t<0&&(o=this.data.substr(s),i=parseInt(o,10),r.put(i,l*3+1))},gr=t,gr}var mr,So;function Xf(){if(So)return mr;So=1;const e=Rt(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(s){return 11*Math.floor(s/2)+6*(s%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let o;for(o=0;o+2<=this.data.length;o+=2){let i=t.indexOf(this.data[o])*45;i+=t.indexOf(this.data[o+1]),s.put(i,11)}this.data.length%2&&s.put(t.indexOf(this.data[o]),6)},mr=n,mr}var yr,Ro;function Zf(){if(Ro)return yr;Ro=1;const e=Rt();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,s=this.data.length;r=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+` +Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),r.put(o,13)}},br=n,br}var _r={exports:{}},Ao;function ta(){return Ao||(Ao=1,function(e){var t={single_source_shortest_paths:function(n,r,s){var o={},i={};i[r]=0;var l=t.PriorityQueue.make();l.push(r,0);for(var c,f,u,a,p,g,C,R,F;!l.empty();){c=l.pop(),f=c.value,a=c.cost,p=n[f]||{};for(u in p)p.hasOwnProperty(u)&&(g=p[u],C=a+g,R=i[u],F=typeof i[u]>"u",(F||R>C)&&(i[u]=C,l.push(u,C),o[u]=f))}if(typeof s<"u"&&typeof i[s]>"u"){var P=["Could not find a path from ",r," to ",s,"."].join("");throw new Error(P)}return o},extract_shortest_path_from_predecessor_list:function(n,r){for(var s=[],o=r;o;)s.push(o),n[o],o=n[o];return s.reverse(),s},find_path:function(n,r,s){var o=t.single_source_shortest_paths(n,r,s);return t.extract_shortest_path_from_predecessor_list(o,s)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,s={},o;n=n||{};for(o in r)r.hasOwnProperty(o)&&(s[o]=r[o]);return s.queue=[],s.sorter=n.sorter||r.default_sorter,s},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var s={value:n,cost:r};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(_r)),_r.exports}var To;function na(){return To||(To=1,function(e){const t=Rt(),n=Qf(),r=Xf(),s=Zf(),o=ea(),i=cl(),l=St(),c=ta();function f(P){return unescape(encodeURIComponent(P)).length}function u(P,y,v){const b=[];let $;for(;($=P.exec(v))!==null;)b.push({data:$[0],index:$.index,mode:y,length:$[0].length});return b}function a(P){const y=u(i.NUMERIC,t.NUMERIC,P),v=u(i.ALPHANUMERIC,t.ALPHANUMERIC,P);let b,$;return l.isKanjiModeEnabled()?(b=u(i.BYTE,t.BYTE,P),$=u(i.KANJI,t.KANJI,P)):(b=u(i.BYTE_KANJI,t.BYTE,P),$=[]),y.concat(v,b,$).sort(function(N,H){return N.index-H.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(P,y){switch(y){case t.NUMERIC:return n.getBitsLength(P);case t.ALPHANUMERIC:return r.getBitsLength(P);case t.KANJI:return o.getBitsLength(P);case t.BYTE:return s.getBitsLength(P)}}function g(P){return P.reduce(function(y,v){const b=y.length-1>=0?y[y.length-1]:null;return b&&b.mode===v.mode?(y[y.length-1].data+=v.data,y):(y.push(v),y)},[])}function C(P){const y=[];for(let v=0;v=0&&k<=6&&(W===0||W===6)||W>=0&&W<=6&&(k===0||k===6)||k>=2&&k<=4&&W>=2&&W<=4?T.set(j+k,V+W,!0,!0):T.set(j+k,V+W,!1,!0))}}function C(T){const N=T.size;for(let H=8;H>k&1)===1,T.set(q,j,V,!0),T.set(j,q,V,!0)}function P(T,N,H){const D=T.size,q=u.getEncodedBits(N,H);let j,V;for(j=0;j<15;j++)V=(q>>j&1)===1,j<6?T.set(j,8,V,!0):j<8?T.set(j+1,8,V,!0):T.set(D-15+j,8,V,!0),j<8?T.set(8,D-j-1,V,!0):j<9?T.set(8,15-j-1+1,V,!0):T.set(8,15-j-1,V,!0);T.set(D-8,8,1,!0)}function y(T,N){const H=T.size;let D=-1,q=H-1,j=7,V=0;for(let k=H-1;k>0;k-=2)for(k===6&&k--;;){for(let W=0;W<2;W++)if(!T.isReserved(q,k-W)){let ye=!1;V>>j&1)===1),T.set(q,k-W,ye),j--,j===-1&&(V++,j=7)}if(q+=D,q<0||H<=q){q-=D,D=-D;break}}}function v(T,N,H){const D=new n;H.forEach(function(W){D.put(W.mode.bit,4),D.put(W.getLength(),a.getCharCountIndicator(W.mode,T)),W.write(D)});const q=e.getSymbolTotalCodewords(T),j=l.getTotalCodewordsCount(T,N),V=(q-j)*8;for(D.getLengthInBits()+4<=V&&D.put(0,4);D.getLengthInBits()%8!==0;)D.putBit(0);const k=(V-D.getLengthInBits())/8;for(let W=0;W=7&&N(W,L),P(W,q),isNaN(F)&&(F=i.getBestMask(W,v.bind(null,W,H))),i.applyMask(F,W),v(W,H,F),{modules:W,version:L,errorCorrectionLevel:H,maskPattern:F,segments:j}}return tr.create=function(L,H){if(typeof L>"u"||L==="")throw new Error("No input text");let F=t.M,j,$;return typeof H<"u"&&(F=t.from(H.errorCorrectionLevel,t.M),j=f.from(H.version),$=i.from(H.maskPattern),H.toSJISFunc&&e.setToSJISFunction(H.toSJISFunc)),z(L,j,F,$)},tr}var vr={},wr={},Io;function ul(){return Io||(Io=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const s=parseInt(r.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:o,scale:o?4:i,margin:s,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,s){return s.width&&s.width>=r+s.margin*2?s.width/(r+s.margin*2):s.scale},e.getImageWidth=function(r,s){const o=e.getScale(r,s);return Math.floor((r+s.margin*2)*o)},e.qrToImageData=function(r,s,o){const i=s.modules.size,l=s.modules.data,c=e.getScale(i,o),f=Math.floor((i+o.margin*2)*c),u=o.margin*c,a=[o.color.light,o.color.dark];for(let p=0;p=u&&g>=u&&p"u"&&(!i||!i.getContext)&&(c=i,i=void 0),i||(f=r()),c=t.getOptions(c);const u=t.getImageWidth(o.modules.size,c),a=f.getContext("2d"),p=a.createImageData(u,u);return t.qrToImageData(p.data,o,c),n(a,f,u),a.putImageData(p,0,0),f},e.renderToDataURL=function(o,i,l){let c=l;typeof c>"u"&&(!i||!i.getContext)&&(c=i,i=void 0),c||(c={});const f=e.render(o,i,c),u=c.type||"image/png",a=c.rendererOpts||{};return f.toDataURL(u,a.quality)}}(vr)),vr}var Er={},No;function oa(){if(No)return Er;No=1;const e=ul();function t(s,o){const i=s.a/255,l=o+'="'+s.hex+'"';return i<1?l+" "+o+'-opacity="'+i.toFixed(2).slice(1)+'"':l}function n(s,o,i){let l=s+o;return typeof i<"u"&&(l+=" "+i),l}function r(s,o,i){let l="",c=0,f=!1,u=0;for(let a=0;a0&&p>0&&s[a-1]||(l+=f?n("M",p+i,.5+g+i):n("m",c,0),c=0,f=!1),p+1':"",g="',E='viewBox="0 0 '+a+" "+a+'"',N=''+p+g+` -`;return typeof l=="function"&&l(null,N),N},Er}var Oo;function ia(){if(Oo)return At;Oo=1;const e=Hf(),t=ra(),n=sa(),r=oa();function s(o,i,l,c,f){const u=[].slice.call(arguments,1),a=u.length,p=typeof u[a-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(a<2)throw new Error("Too few arguments provided");a===2?(f=l,l=i,i=c=void 0):a===3&&(i.getContext&&typeof f>"u"?(f=c,c=void 0):(f=c,c=l,l=i,i=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(l=i,i=c=void 0):a===2&&!i.getContext&&(c=l,l=i,i=void 0),new Promise(function(g,E){try{const y=t.create(l,c);g(o(y,i,c))}catch(y){E(y)}})}try{const g=t.create(l,c);f(null,o(g,i,c))}catch(g){f(g)}}return At.create=t.create,At.toCanvas=s.bind(null,n.render),At.toDataURL=s.bind(null,n.renderToDataURL),At.toString=s.bind(null,function(o,i,l){return r.render(o,l)}),At}var Cr=ia();/*! vue-qrcode v2.0.0 | (c) 2018-present Chen Fengyuan | MIT */const Bo="ready";var la=kt({name:"VueQrcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},emits:[Bo],watch:{$props:{deep:!0,immediate:!0,handler(){this.$el&&this.generate()}}},mounted(){this.generate()},methods:{generate(){const e=this.options||{},t=String(this.value),n=()=>{this.$emit(Bo,this.$el)};switch(this.tag){case"canvas":Cr.toCanvas(this.$el,t,e,r=>{if(r)throw r;n()});break;case"img":Cr.toDataURL(t,e,(r,s)=>{if(r)throw r;this.$el.src=s,this.$el.onload=n});break;case"svg":Cr.toString(t,e,(r,s)=>{if(r)throw r;const o=document.createElement("div");o.innerHTML=s;const i=o.querySelector("svg");if(i){const{attributes:l,childNodes:c}=i;Object.keys(l).forEach(f=>{const u=l[Number(f)];this.$el.setAttribute(u.name,u.value)}),Object.keys(c).forEach(f=>{const u=c[Number(f)];this.$el.appendChild(u.cloneNode(!0))}),n()}});break}}},render(){return rs(this.tag,this.$slots.default)}});const ca={class:"header-block"},ua={class:"qr"},fa={class:"table-custom"},aa={class:"team-name"},da=["href"],ha=["onClick"],pa=["onClick"],ga={class:"form-custom form-block"},ma={class:"center-block-custom"},ya=kt({__name:"AdminWindow",setup(e){const t=Ye("-"),n=Ye("-"),r=Ye(""),s=Ye(),o=Ye({teams:[]});function i(){fetch(Pt("/teams")).then(y=>y.json()).then(y=>{o.value=y}).catch(y=>{console.error("Ошибка:",y)})}function l(y,N){fetch(Pt("/teams/"+y+"/applications"),{method:"POST",body:JSON.stringify({applications:[{id:N}]})}).then(()=>{}).catch(v=>{console.error("Ошибка:",v)})}const c=Ye("");function f(){fetch(Pt("/teams"),{method:"POST",body:JSON.stringify({teams:[{name:c.value}]})}).then(()=>{c.value=""}).catch(y=>{console.error("Ошибка:",y)})}const u=Ye({width:100,margin:1,color:{dark:"#000000",light:"f0f0f0"}});function a(){fetch(Pt("/game")).then(y=>y.json()).then(y=>{var N,v,P;s.value=y,y.state==="NEW"&&(r.value="Игра ещё не началась"),y.state==="RUN"&&(r.value="Игра идет с "+((N=s.value)==null?void 0:N.startAt.substring(11))),y.state==="STOP"&&(r.value="Игра остановлена "+((v=s.value)==null?void 0:v.startAt.substring(11))+" - "+((P=s.value)==null?void 0:P.endAt.substring(11)))}).catch(y=>{console.error("Ошибка:",y)})}function p(){r.value="Загрузка...",fetch(Pt("/game/start"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}function g(){r.value="Загрузка...",fetch(Pt("/game/stop"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}let E=0;return bi(()=>{i(),E=setInterval(()=>{i(),a()},2e3),fl.beforeEach((y,N,v)=>{clearInterval(E),v()})}),(y,N)=>(bt(),jt(Me,null,[Z("div",ca," Вечерний детектив - "+yt(r.value),1),Z("div",ua,[xe(ft(la),{value:t.value,options:u.value,tag:"svg",class:"qr-code"},null,8,["value","options"]),Z("div",null,yt(n.value),1)]),Z("div",{class:"form-block buttons-block"},[Z("a",{onClick:p,class:"button-menu"},"Начать"),Z("a",{onClick:g,class:"button-menu"},"Остановить")]),Z("table",fa,[N[1]||(N[1]=Z("thead",null,[Z("tr",null,[Z("th",null,"№"),Z("th",null,"Название команды"),Z("th",null,"Поездки"),Z("th",null,"Приложения"),Z("th",null,"Действия")])],-1)),Z("tbody",null,[(bt(!0),jt(Me,null,ps(o.value.teams,(v,P)=>(bt(),jt("tr",{key:v.name},[Z("td",null,yt(P+1),1),Z("td",aa,[Br(yt(v.name)+" ",1),Z("a",{href:v.url,target:"_blank"},"[url]",8,da)]),Z("td",null,yt(v.spendTime),1),Z("td",null,[(bt(!0),jt(Me,null,ps(v.applications,R=>(bt(),jt("div",{key:R.id},[Br(yt(R.name)+" ",1),Z("button",{class:"link-button",onClick:S=>l(v.id,R.id)},"Выдано",8,ha)]))),128))]),Z("td",null,[Z("a",{onClick:R=>(t.value=v.url,n.value=v.name)},"QR",8,pa)])]))),128))])]),Z("div",ga,[Z("div",ma,[Z("form",{onSubmit:Su(f,["prevent"])},[Z("div",null,[Zl(Z("input",{class:"input-custom","onUpdate:modelValue":N[0]||(N[0]=v=>c.value=v),type:"text",placeholder:"Название команды"},null,512),[[wu,c.value]])]),N[2]||(N[2]=Z("div",{class:"button-container"},[Z("button",{class:"button-custom",type:"submit"},"Добавить")],-1))],32)])])],64))}}),_a=ol(ya,[["__scopeId","data-v-4e1da5de"]]),ba=kt({__name:"HomeView",setup(e){return(t,n)=>(bt(),Hi(_a))}}),fl=Of({history:uf("/"),routes:[{path:"/",name:"home",component:ba},{path:"/about",name:"about",component:()=>kf(()=>import("./AboutView-Da-s6hnT.js"),__vite__mapDeps([0,1]))}]}),ls=Au(Df);ls.use(Mu());ls.use(fl);ls.mount("#app");export{ol as _,Z as a,jt as c,bt as o}; +Minimum version required to store current data is: `+j+`. +`);const V=v(N,H,q),k=e.getSymbolSize(N),W=new r(k);return g(W,N),C(W),R(W,N),P(W,H,0),N>=7&&F(W,N),y(W,V),isNaN(D)&&(D=i.getBestMask(W,P.bind(null,W,H))),i.applyMask(D,W),P(W,H,D),{modules:W,version:N,errorCorrectionLevel:H,maskPattern:D,segments:q}}return tr.create=function(N,H){if(typeof N>"u"||N==="")throw new Error("No input text");let D=t.M,q,j;return typeof H<"u"&&(D=t.from(H.errorCorrectionLevel,t.M),q=f.from(H.version),j=i.from(H.maskPattern),H.toSJISFunc&&e.setToSJISFunction(H.toSJISFunc)),$(N,q,D,j)},tr}var vr={},wr={},Io;function ul(){return Io||(Io=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const s=parseInt(r.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:o,scale:o?4:i,margin:s,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,s){return s.width&&s.width>=r+s.margin*2?s.width/(r+s.margin*2):s.scale},e.getImageWidth=function(r,s){const o=e.getScale(r,s);return Math.floor((r+s.margin*2)*o)},e.qrToImageData=function(r,s,o){const i=s.modules.size,l=s.modules.data,c=e.getScale(i,o),f=Math.floor((i+o.margin*2)*c),u=o.margin*c,a=[o.color.light,o.color.dark];for(let p=0;p=u&&g>=u&&p"u"&&(!i||!i.getContext)&&(c=i,i=void 0),i||(f=r()),c=t.getOptions(c);const u=t.getImageWidth(o.modules.size,c),a=f.getContext("2d"),p=a.createImageData(u,u);return t.qrToImageData(p.data,o,c),n(a,f,u),a.putImageData(p,0,0),f},e.renderToDataURL=function(o,i,l){let c=l;typeof c>"u"&&(!i||!i.getContext)&&(c=i,i=void 0),c||(c={});const f=e.render(o,i,c),u=c.type||"image/png",a=c.rendererOpts||{};return f.toDataURL(u,a.quality)}}(vr)),vr}var Er={},No;function oa(){if(No)return Er;No=1;const e=ul();function t(s,o){const i=s.a/255,l=o+'="'+s.hex+'"';return i<1?l+" "+o+'-opacity="'+i.toFixed(2).slice(1)+'"':l}function n(s,o,i){let l=s+o;return typeof i<"u"&&(l+=" "+i),l}function r(s,o,i){let l="",c=0,f=!1,u=0;for(let a=0;a0&&p>0&&s[a-1]||(l+=f?n("M",p+i,.5+g+i):n("m",c,0),c=0,f=!1),p+1':"",g="',C='viewBox="0 0 '+a+" "+a+'"',F=''+p+g+` +`;return typeof l=="function"&&l(null,F),F},Er}var Oo;function ia(){if(Oo)return At;Oo=1;const e=Hf(),t=ra(),n=sa(),r=oa();function s(o,i,l,c,f){const u=[].slice.call(arguments,1),a=u.length,p=typeof u[a-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(a<2)throw new Error("Too few arguments provided");a===2?(f=l,l=i,i=c=void 0):a===3&&(i.getContext&&typeof f>"u"?(f=c,c=void 0):(f=c,c=l,l=i,i=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(l=i,i=c=void 0):a===2&&!i.getContext&&(c=l,l=i,i=void 0),new Promise(function(g,C){try{const R=t.create(l,c);g(o(R,i,c))}catch(R){C(R)}})}try{const g=t.create(l,c);f(null,o(g,i,c))}catch(g){f(g)}}return At.create=t.create,At.toCanvas=s.bind(null,n.render),At.toDataURL=s.bind(null,n.renderToDataURL),At.toString=s.bind(null,function(o,i,l){return r.render(o,l)}),At}var Cr=ia();/*! vue-qrcode v2.0.0 | (c) 2018-present Chen Fengyuan | MIT */const Bo="ready";var la=kt({name:"VueQrcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},emits:[Bo],watch:{$props:{deep:!0,immediate:!0,handler(){this.$el&&this.generate()}}},mounted(){this.generate()},methods:{generate(){const e=this.options||{},t=String(this.value),n=()=>{this.$emit(Bo,this.$el)};switch(this.tag){case"canvas":Cr.toCanvas(this.$el,t,e,r=>{if(r)throw r;n()});break;case"img":Cr.toDataURL(t,e,(r,s)=>{if(r)throw r;this.$el.src=s,this.$el.onload=n});break;case"svg":Cr.toString(t,e,(r,s)=>{if(r)throw r;const o=document.createElement("div");o.innerHTML=s;const i=o.querySelector("svg");if(i){const{attributes:l,childNodes:c}=i;Object.keys(l).forEach(f=>{const u=l[Number(f)];this.$el.setAttribute(u.name,u.value)}),Object.keys(c).forEach(f=>{const u=c[Number(f)];this.$el.appendChild(u.cloneNode(!0))}),n()}});break}}},render(){return rs(this.tag,this.$slots.default)}});const ca={class:"header-block"},ua={class:"qr"},fa={class:"team-name"},aa=["href"],da=["onClick"],ha=["onClick"],pa={class:"form-custom form-block"},ga={class:"center-block-custom"},ma=kt({__name:"AdminWindow",setup(e){const t=Ye("-"),n=Ye("-"),r=Ye(""),s=Ye(),o=Ye({teams:[]});function i(){fetch(yt("/teams")).then(y=>y.json()).then(y=>{o.value=y}).catch(y=>{console.error("Ошибка:",y)})}function l(y,v){fetch(yt("/teams/"+y+"/applications"),{method:"POST",body:JSON.stringify({applications:[{id:v}]})}).then(()=>{}).catch(b=>{console.error("Ошибка:",b)})}const c=Ye("");function f(){fetch(yt("/teams"),{method:"POST",body:JSON.stringify({teams:[{name:c.value}]})}).then(()=>{c.value=""}).catch(y=>{console.error("Ошибка:",y)})}const u=Ye({width:100,margin:1,color:{dark:"#000000",light:"f0f0f0"}});function a(){fetch(yt("/game")).then(y=>y.json()).then(y=>{var v,b,$;s.value=y,y.state==="NEW"&&(r.value="Игра ещё не началась"),y.state==="RUN"&&(r.value="Игра идет с "+((v=s.value)==null?void 0:v.startAt.substring(11))),y.state==="STOP"&&(r.value="Игра остановлена "+((b=s.value)==null?void 0:b.startAt.substring(11))+" - "+(($=s.value)==null?void 0:$.endAt.substring(11)))}).catch(y=>{console.error("Ошибка:",y)})}function p(){r.value="Загрузка...",fetch(yt("/game/start"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}function g(){r.value="Загрузка...",fetch(yt("/game/stop"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}function C(y){const v=atob(y),b=new Uint8Array(v.length);for(let $=0;$y.json()).then(y=>{const v=C(y.result);F(v,"teams_qr_code.pdf","application/pdf;teams_qr_code.pdf")}).catch(y=>{console.error("Ошибка:",y)})}function F(y,v,b){const $=new Blob([y],{type:b}),T=URL.createObjectURL($),N=document.createElement("a");N.href=T,N.download=v,N.click(),URL.revokeObjectURL(T)}let P=0;return _i(()=>{i(),P=setInterval(()=>{i(),a()},2e3),fl.beforeEach((y,v,b)=>{clearInterval(P),b()})}),(y,v)=>(vt(),jt(Me,null,[Z("div",ca," Вечерний детектив - "+bt(r.value),1),Z("div",ua,[xe(ft(la),{value:t.value,options:u.value,tag:"svg",class:"qr-code"},null,8,["value","options"]),Z("div",null,bt(n.value),1)]),Z("div",{class:"form-block buttons-block"},[Z("a",{onClick:p,class:"button-menu"},"Начать"),Z("a",{onClick:g,class:"button-menu"},"Остановить")]),Z("table",null,[Z("thead",null,[Z("tr",null,[v[1]||(v[1]=Z("th",null,"№",-1)),v[2]||(v[2]=Z("th",null,"Название команды",-1)),v[3]||(v[3]=Z("th",null,"Поездки",-1)),v[4]||(v[4]=Z("th",null,"Приложения",-1)),Z("th",null,[Z("button",{onClick:R,class:"button-custom-inline"},"Скачать qr-ы")])])]),Z("tbody",null,[(vt(!0),jt(Me,null,ps(o.value.teams,(b,$)=>(vt(),jt("tr",{key:b.name},[Z("td",null,bt($+1),1),Z("td",fa,[Br(bt(b.name)+" ",1),Z("a",{href:b.url,target:"_blank"},"[url]",8,aa)]),Z("td",null,bt(b.spendTime),1),Z("td",null,[(vt(!0),jt(Me,null,ps(b.applications,T=>(vt(),jt("div",{key:T.id},[Br(bt(T.name)+" ",1),Z("button",{class:"link-button",onClick:N=>l(b.id,T.id)},"Выдано",8,da)]))),128))]),Z("td",null,[Z("a",{onClick:T=>(t.value=b.url,n.value=b.name)},"QR",8,ha)])]))),128))])]),Z("div",pa,[Z("div",ga,[Z("form",{onSubmit:Su(f,["prevent"])},[Z("div",null,[Zl(Z("input",{class:"input-custom","onUpdate:modelValue":v[0]||(v[0]=b=>c.value=b),type:"text",placeholder:"Название команды"},null,512),[[wu,c.value]])]),v[5]||(v[5]=Z("div",{class:"button-container"},[Z("button",{class:"button-custom",type:"submit"},"Добавить")],-1))],32)])])],64))}}),ya=ol(ma,[["__scopeId","data-v-764d6ba3"]]),ba=kt({__name:"HomeView",setup(e){return(t,n)=>(vt(),Hi(ya))}}),fl=Of({history:uf("/"),routes:[{path:"/",name:"home",component:ba},{path:"/about",name:"about",component:()=>kf(()=>import("./AboutView-CqfMqJey.js"),__vite__mapDeps([0,1]))}]}),ls=Au(Df);ls.use(Mu());ls.use(fl);ls.mount("#app");export{ol as _,Z as a,jt as c,vt as o}; diff --git a/static/admin/assets/index-D-LAc9ox.css b/static/admin/assets/index-D-LAc9ox.css deleted file mode 100644 index 461590e..0000000 --- a/static/admin/assets/index-D-LAc9ox.css +++ /dev/null @@ -1 +0,0 @@ -:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64);--main-color: rgba(34, 50, 60, 1);--second-color: rgb(136, 105, 31);--main-back-color: rgba(240, 240, 240, 1);--main-back-item-color: rgba(254, 254, 254, 1)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100dvh;color:var(--color-text);background:var(--main-back-color);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header-block{height:50px;background-color:var(--main-color);font-size:large;color:#fff;vertical-align:middle;padding:10px 0 10px 16px;font-weight:700}.input-custom{width:100%;box-sizing:border-box;margin-bottom:15px}.button-custom{margin-left:auto;background-color:var(--main-color);font-weight:600;color:#fff}.button-custom:hover{background-color:var(--second-color)}.input-custom,.button-custom{padding:12px 16px;border:1px solid #ddd;border-radius:15px;font-size:16px}.button-container{display:flex}.center-message{display:flex;justify-content:center;align-items:center;height:calc(100dvh - 100px);text-align:center}header[data-v-e5db0c22]{line-height:1.5;max-height:100vh}.logo[data-v-e5db0c22]{display:block;margin:0 auto 2rem}nav[data-v-e5db0c22]{width:100%;font-size:12px;text-align:center;margin-top:2rem}nav a.router-link-exact-active[data-v-e5db0c22]{color:var(--color-text)}nav a.router-link-exact-active[data-v-e5db0c22]:hover{background-color:transparent}nav a[data-v-e5db0c22]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-e5db0c22]:first-of-type{border:0}@media (min-width: 1024px){header[data-v-e5db0c22]{display:flex;place-items:center;padding-right:calc(var(--section-gap) / 2)}.logo[data-v-e5db0c22]{margin:0 2rem 0 0}header .wrapper[data-v-e5db0c22]{display:flex;place-items:flex-start;flex-wrap:wrap}nav[data-v-e5db0c22]{text-align:left;margin-left:-1rem;font-size:1rem;padding:1rem 0;margin-top:1rem}}body[data-v-4e1da5de]{font-family:Arial,sans-serif;margin:20px}.buttons-block[data-v-4e1da5de]{padding-top:20px}.button-menu[data-v-4e1da5de]{margin:5px}table[data-v-4e1da5de]{width:700px;border-collapse:collapse;margin:30px auto;border:1px solid #444444}th[data-v-4e1da5de],td[data-v-4e1da5de]{padding:12px;text-align:left}th[data-v-4e1da5de]{background-color:var(--main-color);color:#fff;font-weight:700}tr[data-v-4e1da5de]:nth-child(odd){background-color:#efefef}tr[data-v-4e1da5de]:nth-child(2n){background-color:#fff}tr[data-v-4e1da5de]:hover{background-color:#cfcfcf}.time[data-v-4e1da5de]{white-space:nowrap}.team-name[data-v-4e1da5de]{font-weight:600}.link-button[data-v-4e1da5de]{display:inline;border:none;background:none;padding:0;margin:0;font:inherit;cursor:pointer;color:var(--main-color);text-decoration:underline;font-weight:600;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:inherit;text-align:left}.link-button[data-v-4e1da5de]:hover{color:var(--second-color);text-decoration:none}.link-button[data-v-4e1da5de]:active{color:#036}.link-button[data-v-4e1da5de]:focus{outline:none;text-decoration:none;box-shadow:0 0 0 2px #0066cc4d}.form-block[data-v-4e1da5de]{width:700px;margin:0 auto}a[data-v-4e1da5de]{color:var(--second-color);text-decoration:none;transition:all .2s ease;cursor:pointer}a[data-v-4e1da5de]:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}a[data-v-4e1da5de]:focus-visible{outline:2px solid #3182ce;outline-offset:2px;border-radius:2px}a[disabled][data-v-4e1da5de]{color:#a0aec0;pointer-events:none;cursor:not-allowed}.qr[data-v-4e1da5de]{position:absolute;top:80px;right:30px;text-align:center;width:120px}.button-container[data-v-4e1da5de]{margin-bottom:30px} diff --git a/static/admin/index.html b/static/admin/index.html index cb37917..98169ab 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -5,8 +5,8 @@ ВД Админка - - + +