From 33690e65855e4052b79125c5b461d2bc4461291c Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 30 Apr 2026 12:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ontent.CIu3j-dc.js => content.DxtMXvVw.js} | 2 +- public/h5/assets/index-95uyKbx3.css | 1 + .../{index-BgY1dkGI.js => index-B62HYGKy.js} | 4 ++-- public/h5/assets/index-DwmFFnEI.css | 1 - ...e.5oNLnbIP.js => localProfile.BNBxvTJ-.js} | 2 +- ... pages-activity-behind-scenes.DzgRSqCs.js} | 2 +- ...i.js => pages-activity-detail.t9RkLama.js} | 2 +- ...g5.js => pages-activity-index.DytkJuMf.js} | 2 +- ... pages-activity-registrations.dOB1SGvM.js} | 2 +- ....js => pages-activity-reserve.DlLHEOOg.js} | 2 +- ...ea.js => pages-discover-index.mYNZEveb.js} | 2 +- .../h5/assets/pages-index-index.9AgdTzrz.js | 1 - .../h5/assets/pages-index-index.DnYbnA4J.js | 1 + ...gze_GGJ.js => pages-map-index.DEgD__Sx.js} | 2 +- ...QeTfCa.js => pages-mine-index.BrioApEa.js} | 2 +- ...lW7Sg.js => pages-mine-orders.DJYMRcvP.js} | 2 +- ...D4c9.js => pages-mine-profile.DB22_GSu.js} | 2 +- ...pages-mine-reservation-detail.BIv1e_Nn.js} | 2 +- ...DWHJ7.js => pages-stats-index.B0rHxCdo.js} | 2 +- ...js => pages-study-tour-detail.CkRe3Hsz.js} | 2 +- ...s => pages-ticket-grab-detail.B8YSBNSn.js} | 2 +- ... => pages-ticket-grab-reserve.Caff2A-_.js} | 2 +- ...SIG.js => pages-traffic-index.C5NRI40V.js} | 2 +- ...4c8r.js => pages-venue-detail.DuLv3xxo.js} | 2 +- ...DW67gGwD.js => peopleCounting.DplW7Jyp.js} | 2 +- .../{phone.D0RMb4AO.js => phone.Dfri_fbO.js} | 2 +- public/h5/assets/szkjg-BA5yQZYG.jpg | Bin 0 -> 33259 bytes public/h5/assets/szkjg-ddwNVcuX.jpg | Bin 13336 -> 0 bytes public/h5/assets/ticketMap.CbUUwCDd.js | 1 - public/h5/assets/ticketMap.b6piD_5W.js | 1 + public/h5/index.html | 2 +- public/h5/static/szkjg.jpg | Bin 13336 -> 33259 bytes 32 files changed, 27 insertions(+), 27 deletions(-) rename public/h5/assets/{content.CIu3j-dc.js => content.DxtMXvVw.js} (96%) create mode 100644 public/h5/assets/index-95uyKbx3.css rename public/h5/assets/{index-BgY1dkGI.js => index-B62HYGKy.js} (99%) delete mode 100644 public/h5/assets/index-DwmFFnEI.css rename public/h5/assets/{localProfile.5oNLnbIP.js => localProfile.BNBxvTJ-.js} (85%) rename public/h5/assets/{pages-activity-behind-scenes.DLGUBToV.js => pages-activity-behind-scenes.DzgRSqCs.js} (94%) rename public/h5/assets/{pages-activity-detail.C5mQtqfi.js => pages-activity-detail.t9RkLama.js} (98%) rename public/h5/assets/{pages-activity-index.D0ZTzMg5.js => pages-activity-index.DytkJuMf.js} (97%) rename public/h5/assets/{pages-activity-registrations.BpQtNYyE.js => pages-activity-registrations.dOB1SGvM.js} (95%) rename public/h5/assets/{pages-activity-reserve.B48Q38fF.js => pages-activity-reserve.DlLHEOOg.js} (97%) rename public/h5/assets/{pages-discover-index.BVLjhhea.js => pages-discover-index.mYNZEveb.js} (97%) delete mode 100644 public/h5/assets/pages-index-index.9AgdTzrz.js create mode 100644 public/h5/assets/pages-index-index.DnYbnA4J.js rename public/h5/assets/{pages-map-index.Dgze_GGJ.js => pages-map-index.DEgD__Sx.js} (98%) rename public/h5/assets/{pages-mine-index.BAQeTfCa.js => pages-mine-index.BrioApEa.js} (96%) rename public/h5/assets/{pages-mine-orders.D2OlW7Sg.js => pages-mine-orders.DJYMRcvP.js} (98%) rename public/h5/assets/{pages-mine-profile.C7d_D4c9.js => pages-mine-profile.DB22_GSu.js} (95%) rename public/h5/assets/{pages-mine-reservation-detail.rD4AfXrh.js => pages-mine-reservation-detail.BIv1e_Nn.js} (99%) rename public/h5/assets/{pages-stats-index.DY6DWHJ7.js => pages-stats-index.B0rHxCdo.js} (96%) rename public/h5/assets/{pages-study-tour-detail.Bcb9VQul.js => pages-study-tour-detail.CkRe3Hsz.js} (97%) rename public/h5/assets/{pages-ticket-grab-detail.Q0ZCx711.js => pages-ticket-grab-detail.B8YSBNSn.js} (98%) rename public/h5/assets/{pages-ticket-grab-reserve.Dny_tk4R.js => pages-ticket-grab-reserve.Caff2A-_.js} (98%) rename public/h5/assets/{pages-traffic-index.CpwH2SIG.js => pages-traffic-index.C5NRI40V.js} (98%) rename public/h5/assets/{pages-venue-detail.BDi74c8r.js => pages-venue-detail.DuLv3xxo.js} (99%) rename public/h5/assets/{peopleCounting.DW67gGwD.js => peopleCounting.DplW7Jyp.js} (95%) rename public/h5/assets/{phone.D0RMb4AO.js => phone.Dfri_fbO.js} (97%) create mode 100644 public/h5/assets/szkjg-BA5yQZYG.jpg delete mode 100644 public/h5/assets/szkjg-ddwNVcuX.jpg delete mode 100644 public/h5/assets/ticketMap.CbUUwCDd.js create mode 100644 public/h5/assets/ticketMap.b6piD_5W.js diff --git a/public/h5/assets/content.CIu3j-dc.js b/public/h5/assets/content.DxtMXvVw.js similarity index 96% rename from public/h5/assets/content.CIu3j-dc.js rename to public/h5/assets/content.DxtMXvVw.js index 47b9fb7..c6cc219 100644 --- a/public/h5/assets/content.CIu3j-dc.js +++ b/public/h5/assets/content.DxtMXvVw.js @@ -1 +1 @@ -import{h as t}from"./index-BgY1dkGI.js";function i(i={}){const{include_ticket_grab:e,...n}=i,s={...n};return e&&(s.include_ticket_grab=1),t.get("/h5/activities",s,{withAuth:!1})}function e(i){return t.get(`/h5/activities/${i}`,{})}function n(i,e){return t.get(`/h5/activities/${i}/registrations`,{...e||{}},{withAuth:!1})}function s(i){return t.post(`/h5/activities/${i}/view`,{},{withAuth:!1})}function r(i){return t.post(`/h5/activities/${i}/external-link-click`,{},{withAuth:!1})}function u(i){return t.get(`/h5/ticket-grab-events/${i}`,{},{withAuth:!1})}function h(i,e){return t.get(`/h5/ticket-grab-events/${i}/booking-info`,{venue_id:e},{withAuth:!0})}function o(i,e){return t.post(`/h5/ticket-grab-events/${i}/reservations`,e,{withAuth:!0})}function c(i={}){const e={};return i.only_included_in_stats&&(e.only_included_in_stats=1),t.get("/h5/venues",e,{withAuth:!1})}function a(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function g(i,e={}){const n={};return e.ticket_grab_event_id&&e.ticket_grab_event_id>0&&(n.ticket_grab_event_id=e.ticket_grab_event_id),t.get(`/h5/venues/${i}`,n,{withAuth:!1})}function v(i){return t.get(`/h5/study-tours/${i}`,{},{withAuth:!1})}function _(i={}){return t.get("/h5/study-tours",i,{withAuth:!1})}function f(i){return t.get(`/h5/activities/${i}/booking-info`,{},{withAuth:!0})}function d(i,e){return t.post(`/h5/activities/${i}/reservations`,e,{withAuth:!0})}function w(i){return t.get("/h5/my/reservations",{},{withAuth:!0})}function A(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.get(`/h5/my/reservations/${i}`,n,{withAuth:!0})}function $(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.post(`/h5/my/reservations/${i}/cancel`,n,{withAuth:!0})}export{c as a,i as b,_ as c,w as d,$ as e,e as f,a as g,r as h,n as i,u as j,h as k,g as l,o as m,f as n,d as o,s as p,A as q,v as r}; +import{h as t}from"./index-B62HYGKy.js";function i(i={}){const{include_ticket_grab:e,...n}=i,s={...n};return e&&(s.include_ticket_grab=1),t.get("/h5/activities",s,{withAuth:!1})}function e(i){return t.get(`/h5/activities/${i}`,{})}function n(i,e){return t.get(`/h5/activities/${i}/registrations`,{...e||{}},{withAuth:!1})}function s(i){return t.post(`/h5/activities/${i}/view`,{},{withAuth:!1})}function r(i){return t.post(`/h5/activities/${i}/external-link-click`,{},{withAuth:!1})}function u(i){return t.get(`/h5/ticket-grab-events/${i}`,{},{withAuth:!1})}function h(i,e){return t.get(`/h5/ticket-grab-events/${i}/booking-info`,{venue_id:e},{withAuth:!0})}function o(i,e){return t.post(`/h5/ticket-grab-events/${i}/reservations`,e,{withAuth:!0})}function c(i={}){const e={};return i.only_included_in_stats&&(e.only_included_in_stats=1),t.get("/h5/venues",e,{withAuth:!1})}function a(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function g(i,e={}){const n={};return e.ticket_grab_event_id&&e.ticket_grab_event_id>0&&(n.ticket_grab_event_id=e.ticket_grab_event_id),t.get(`/h5/venues/${i}`,n,{withAuth:!1})}function v(i){return t.get(`/h5/study-tours/${i}`,{},{withAuth:!1})}function _(i={}){return t.get("/h5/study-tours",i,{withAuth:!1})}function f(i){return t.get(`/h5/activities/${i}/booking-info`,{},{withAuth:!0})}function d(i,e){return t.post(`/h5/activities/${i}/reservations`,e,{withAuth:!0})}function w(i){return t.get("/h5/my/reservations",{},{withAuth:!0})}function A(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.get(`/h5/my/reservations/${i}`,n,{withAuth:!0})}function $(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.post(`/h5/my/reservations/${i}/cancel`,n,{withAuth:!0})}export{c as a,i as b,_ as c,w as d,$ as e,e as f,a as g,r as h,n as i,u as j,h as k,g as l,o as m,f as n,d as o,s as p,A as q,v as r}; diff --git a/public/h5/assets/index-95uyKbx3.css b/public/h5/assets/index-95uyKbx3.css new file mode 100644 index 0000000..cecec14 --- /dev/null +++ b/public/h5/assets/index-95uyKbx3.css @@ -0,0 +1 @@ +b[data-v-61e98185],strong[data-v-61e98185]{font-weight:400}uni-page-body[data-v-61e98185]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:#f7f8fa;color:#252525;font-weight:400;--brand-color: #05c9ac;--fs-tag: .625rem;--fs-body: .75rem;--fs-subtitle: .875rem;--fs-title: 1rem;--color-text: #252525;--color-text-sub: #8c8c8c}body[data-v-61e98185]{background:#f7f8fa}.font-s[data-v-61e98185]{font-size:var(--fs-body)}.font-m[data-v-61e98185]{font-size:var(--fs-subtitle)}.font-l[data-v-61e98185]{font-size:var(--fs-title)}uni-button[data-v-61e98185],.uni-button[data-v-61e98185]{font-weight:400}.page-root[data-v-61e98185]{min-height:100vh;position:relative}.page[data-v-61e98185]{min-height:100vh;background:#fff}.venue-list-scroll[data-v-61e98185]{width:100%;height:22.5rem;box-sizing:border-box;border-radius:0 0 .375rem .375rem;-webkit-overflow-scrolling:touch}.hero[data-v-61e98185]{position:relative;padding:0 0 .25rem;box-sizing:border-box}.hero-brand[data-v-61e98185]{position:relative;overflow:hidden;width:100%;height:5.375rem;border-radius:0 0 2.25rem 2.25rem;box-sizing:border-box}.hero-content[data-v-61e98185]{position:relative;z-index:2;margin-top:-3.5rem;padding:0 .75rem;box-sizing:border-box}.stat-card[data-v-61e98185]{position:relative;overflow:hidden;border-radius:.5rem;box-sizing:border-box;box-shadow:0 .25rem .75rem rgba(0,0,0,.06);background-color:#fafafa}.stat-card__body[data-v-61e98185]{position:relative;z-index:1;padding:.625rem .625rem .5625rem;box-sizing:border-box}.stat-note[data-v-61e98185]{margin:.1875rem 0 .3125rem;font-size:.65625rem;color:#86909c;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-main[data-v-61e98185]{position:relative;z-index:1;display:flex;align-items:flex-start;gap:.5rem}.stat-left[data-v-61e98185]{flex:3 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}.stat-label[data-v-61e98185]{font-size:.9375rem;color:#4e5969;line-height:1.35}.stat-num[data-v-61e98185]{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:400;color:#1d2129;line-height:1.25}.stat-right[data-v-61e98185]{flex:3 1 0;min-width:0;display:flex;flex-direction:column}.live-list[data-v-61e98185]{flex:1;display:flex;flex-direction:column;width:100%;min-height:5.25rem}.live-venue-row[data-v-61e98185]{flex:1;min-height:1.625rem;padding:.25rem 0;border-bottom:.03125rem solid #eceef2;display:flex;align-items:center;box-sizing:border-box}.live-venue-row[data-v-61e98185]:first-child{padding-top:0}.live-venue-row[data-v-61e98185]:last-child{border-bottom:none}.live-row-one[data-v-61e98185]{display:flex;align-items:center;gap:.25rem;width:100%;min-width:0}.live-name[data-v-61e98185]{flex:1;min-width:0;font-size:.6875rem;color:#1d2129;font-weight:400;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-count[data-v-61e98185]{flex-shrink:0;font-size:.6875rem;color:#05c9ac;font-weight:400;line-height:1.3}.live-venue-row.is-empty .live-name[data-v-61e98185],.live-venue-row.is-empty .live-count[data-v-61e98185]{color:#86909c;font-weight:400}.stat-foot[data-v-61e98185]{margin-top:.25rem;padding-top:0;display:flex;justify-content:flex-end;width:100%}.stat-foot-link[data-v-61e98185]{font-size:.625rem;color:#05c9ac;font-weight:400;line-height:1.3}.stat-section[data-v-61e98185]{margin:.3125rem .75rem 0;padding:0;box-sizing:border-box}.map-section[data-v-61e98185]{margin:.75rem .5rem 0;background:#fff;border-radius:.5rem;padding:.625rem .5rem .5rem;position:relative;z-index:1;box-shadow:0 .125rem .5rem rgba(0,0,0,.04)}.hero-content .map-section[data-v-61e98185]{margin:0;width:100%;box-sizing:border-box;padding:.625rem .5rem}.toolbar[data-v-61e98185]{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.tabs[data-v-61e98185]{display:flex;align-items:flex-end;gap:.5rem;flex-shrink:0}.tab[data-v-61e98185]{font-size:.75rem;color:#86909c;padding-bottom:.25rem;position:relative}.tab.on[data-v-61e98185]{font-size:14px;color:#1d2129;font-weight:400}.tab.on[data-v-61e98185]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:.125rem;background:#05c9ac;border-radius:.0625rem}.search-wrap[data-v-61e98185]{flex:1;min-width:0;height:1.75rem;background:#f7f8fa;border-radius:.875rem;display:flex;align-items:center;padding:0 .4375rem 0 .5rem;border:.03125rem solid #eceef2;box-sizing:border-box}.search-input[data-v-61e98185]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-61e98185]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-61e98185]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-61e98185]{display:flex;flex-wrap:nowrap;gap:.1875rem;margin-bottom:.375rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.125rem}.filters uni-picker[data-v-61e98185]{flex:0 0 auto;display:block}.f-item[data-v-61e98185]{flex:0 0 auto;min-width:4.125rem;height:1.75rem;padding:0 .1875rem 0 .25rem;display:flex;align-items:center;justify-content:space-between;gap:.125rem;background:#fff;border-radius:.375rem;border:.03125rem solid #e8eaed;box-shadow:0 .0625rem .3125rem rgba(15,23,42,.04);box-sizing:border-box}.f-item-text[data-v-61e98185]{flex:1;min-width:0;font-size:.625rem;color:#4e5969;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-item-arrow[data-v-61e98185]{width:.5rem;height:.5rem;flex-shrink:0}.map-wrap[data-v-61e98185]{position:relative;width:100%;border-radius:.375rem;overflow:hidden}.main-map[data-v-61e98185]{width:100%;height:22.5rem;border-radius:.375rem;display:block}.venue-sheet[data-v-61e98185]{position:absolute;left:0;right:0;bottom:0;padding:0 .25rem .25rem;border-radius:0 0 .375rem .375rem;pointer-events:none}.venue-sheet-inner[data-v-61e98185]{pointer-events:auto;background:#fff;border-radius:.375rem;padding:.375rem .4375rem;box-shadow:0 -.0625rem .5rem rgba(0,0,0,.06);border:.03125rem solid #eef1f5}.sheet-bar[data-v-61e98185]{width:1.375rem;height:.1875rem;background:#e5e6eb;border-radius:.09375rem;margin:0 auto .3125rem}.sheet-row[data-v-61e98185]{display:flex;gap:.375rem;align-items:flex-start}.sheet-cover[data-v-61e98185]{width:3.75rem;height:2.625rem;border-radius:.25rem;flex-shrink:0}.sheet-main[data-v-61e98185]{flex:1;min-width:0}.sheet-name[data-v-61e98185]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.3;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-tags-line[data-v-61e98185]{margin-top:.125rem;min-height:1.25rem;width:100%;box-sizing:border-box}.sheet-meta[data-v-61e98185]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:.1875rem;max-width:100%}.sheet-type[data-v-61e98185]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-meta-sep[data-v-61e98185]{font-size:.625rem;color:#c9cdd4}.sheet-ticket[data-v-61e98185]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-ticket.free[data-v-61e98185]{color:#00b42a;background:rgba(0,180,42,.1)}.sheet-ticket.paid[data-v-61e98185]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-61e98185]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;flex-shrink:0;white-space:nowrap;max-width:100%}.sheet-actions[data-v-61e98185]{margin-top:.375rem;display:flex;gap:.375rem;justify-content:flex-end}.sheet-btn[data-v-61e98185]{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;text-align:center;min-width:0;flex:0 1 auto;max-width:4.375rem;font-weight:400;line-height:1.35}.sheet-btn.ghost[data-v-61e98185]{background:#f7f8fa;color:#252525;border:.03125rem solid #eceef2}.sheet-btn.primary[data-v-61e98185]{background:#05c9ac;color:#fff;font-weight:400}.venue-row[data-v-61e98185]{display:flex;gap:.5rem;padding:.5rem 0;border-bottom:.03125rem solid #f0f2f5}.venue-thumb[data-v-61e98185]{width:5.5rem;height:3.4375rem;border-radius:.25rem;flex-shrink:0}.venue-info[data-v-61e98185]{flex:1;min-width:0}.venue-name[data-v-61e98185]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}.venue-tags-line[data-v-61e98185]{margin-top:.1875rem;min-height:1.25rem;width:100%;box-sizing:border-box}.venue-meta[data-v-61e98185]{display:flex;flex-direction:row;flex-wrap:wrap;gap:.25rem;max-width:100%;align-items:flex-start}.venue-type-pill[data-v-61e98185],.venue-ticket-pill[data-v-61e98185]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.venue-ticket-pill.free[data-v-61e98185]{color:#00b42a;background:rgba(0,180,42,.1)}.venue-ticket-pill.paid[data-v-61e98185]{color:#f53f3f;background:rgba(245,63,63,.08)}.empty-tip[data-v-61e98185]{text-align:center;padding:2.5rem 0;font-size:.75rem;color:#86909c}.section[data-v-61e98185]{background:#fff;margin:.5rem .5rem 0;border-radius:.5rem;padding:.625rem .5rem}.sec-head[data-v-61e98185]{display:flex;align-items:center;margin-bottom:.5rem}.sec-bar[data-v-61e98185]{width:.1875rem;height:.875rem;background:#05c9ac;border-radius:.09375rem;margin-right:.375rem}.sec-title[data-v-61e98185]{flex:1;font-size:1rem;font-weight:400;color:#1d2129}.sec-more[data-v-61e98185]{font-size:.75rem;color:#86909c}.act-scroll[data-v-61e98185]{width:100%;white-space:nowrap}.act-scroll-row[data-v-61e98185]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:.625rem;padding:0 .125rem .25rem 0}.act-card[data-v-61e98185]{flex-shrink:0;width:12.5rem;box-sizing:border-box;display:flex;flex-direction:column}.act-img-wrap[data-v-61e98185]{position:relative;z-index:2;width:11.25rem;height:5.625rem;margin:0 auto -2.8125rem;border-radius:.375rem;overflow:hidden;box-shadow:0 .125rem .5rem rgba(0,0,0,.08)}.act-img[data-v-61e98185]{width:11.25rem;height:5.625rem;display:block}.act-bts-corner-tag[data-v-61e98185]{position:absolute;right:.3125rem;bottom:.3125rem;z-index:3;font-size:.625rem;line-height:1.25;color:#f3f;background-color:rgba(255,51,255,.14);padding:.1875rem .4375rem;border-radius:31.21875rem;max-width:calc(100% - .75rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.act-book-badge[data-v-61e98185]{position:absolute;right:.375rem;bottom:.3125rem;z-index:2;max-width:calc(100% - .75rem);display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0;background:transparent;box-sizing:border-box}.act-book-badge.is-grab[data-v-61e98185]{padding:.1875rem .5rem;background:linear-gradient(135deg,#ff8a4c,#ff6b35);border-radius:31.21875rem;min-height:0}.act-book-text[data-v-61e98185]{font-size:.625rem;color:#fff;line-height:1.25;white-space:nowrap;text-shadow:0 .03125rem .1875rem rgba(0,0,0,.55)}.act-book-text.is-grab[data-v-61e98185]{text-shadow:none}.act-body[data-v-61e98185]{width:12.5rem;box-sizing:border-box;padding:3.1875rem .5rem .5625rem;background:#fff;border-radius:.375rem;box-shadow:0 .125rem .5rem rgba(0,0,0,.04);min-height:9rem;display:flex;flex-direction:column;justify-content:flex-start}.act-title[data-v-61e98185]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;height:1.25rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-tags[data-v-61e98185]{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.25rem;margin-top:.25rem;height:1.25rem;overflow:hidden;align-items:center}.act-tag-chip[data-v-61e98185]{font-size:.625rem;color:#05c9ac;line-height:.875rem;padding:.125rem .3125rem;background:rgba(5,201,172,.12);border-radius:.1875rem;flex-shrink:0;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-meta[data-v-61e98185]{display:block;width:100%;margin-top:.1875rem;height:1.0625rem;line-height:1.0625rem;font-size:.75rem;color:#86909c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag[data-v-61e98185]{position:absolute;z-index:3;left:0;top:.375rem;color:#fff;font-size:.6875rem;line-height:1.25;border-radius:0 .625rem .625rem 0;padding:.1875rem .4375rem;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag.st-ongoing[data-v-61e98185]{background:rgba(22,194,169,.92)}.act-schedule-tag.st-not_started[data-v-61e98185]{background:rgba(22,93,255,.92)}.act-schedule-tag.st-ended[data-v-61e98185]{background:rgba(134,144,156,.95)}.tour-card[data-v-61e98185]{margin-bottom:.625rem;border-radius:.5rem;overflow:hidden;background:#fff;box-shadow:0 .125rem .625rem rgba(0,0,0,.06)}.tour-card[data-v-61e98185]:last-child{margin-bottom:0}.tour-img-wrap[data-v-61e98185]{position:relative;width:100%;aspect-ratio:2/1;border-radius:.5rem .5rem 0 0;overflow:hidden}.tour-img[data-v-61e98185]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.tour-body[data-v-61e98185]{padding:.5625rem .625rem .5rem}.tour-title[data-v-61e98185]{font-size:.875rem;color:#1d2129;font-weight:400;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tour-stops-timeline[data-v-61e98185]{margin-top:.4375rem}.tour-stop-row[data-v-61e98185]{display:flex;flex-direction:row;align-items:stretch}.tour-timeline-axis[data-v-61e98185]{width:.875rem;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin-right:.3125rem}.tour-dot-cell[data-v-61e98185]{height:1.125rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%}.tour-tl-dot[data-v-61e98185]{width:.375rem;height:.375rem;border-radius:50%;background:#c9cdd4;flex-shrink:0}.tour-tl-line[data-v-61e98185]{width:.0625rem;flex:1;min-height:.375rem;margin-top:0;background:#e5e6eb}.tour-stop-name[data-v-61e98185]{flex:1;min-width:0;padding-bottom:.375rem;font-size:.75rem;color:#86909c;line-height:1.125rem;box-sizing:border-box}.tour-stop-row:last-child .tour-stop-name[data-v-61e98185]{padding-bottom:0}.tour-tags-row[data-v-61e98185]{margin-top:.4375rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.3125rem}.tour-tag[data-v-61e98185]{font-size:.6875rem;color:#05c9ac;background:rgba(5,201,172,.12);padding:.1875rem .4375rem;border-radius:.25rem;line-height:1.3}.bottom-safe[data-v-61e98185]{height:.75rem}.loading-mask[data-v-61e98185]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:10080;background:rgba(255,255,255,.5);text-align:center;padding-top:40vh;color:#1d2129;font-size:.9375rem} diff --git a/public/h5/assets/index-BgY1dkGI.js b/public/h5/assets/index-B62HYGKy.js similarity index 99% rename from public/h5/assets/index-BgY1dkGI.js rename to public/h5/assets/index-B62HYGKy.js index 31cd842..80831d2 100644 --- a/public/h5/assets/index-BgY1dkGI.js +++ b/public/h5/assets/index-B62HYGKy.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.9AgdTzrz.js","assets/peopleCounting.DW67gGwD.js","assets/poster.C6TYC1FC.js","assets/search.BJnl3YRK.js","assets/suzhouDistrictPolygons.U6J8TgzC.js","assets/activity.DEGdoGAe.js","assets/ticketMap.CbUUwCDd.js","assets/venueTypes.DuAf5T5V.js","assets/venueThemeColors.DRxjaxXI.js","assets/text.BxMbQPAt.js","assets/index-DwmFFnEI.css","assets/pages-map-index.Dgze_GGJ.js","assets/content.CIu3j-dc.js","assets/index-C9msxzml.css","assets/pages-activity-index.D0ZTzMg5.js","assets/index-0gIirsLe.css","assets/pages-discover-index.BVLjhhea.js","assets/index-VYwrAfu5.css","assets/pages-mine-index.BAQeTfCa.js","assets/localProfile.5oNLnbIP.js","assets/index-By93HabS.css","assets/pages-mine-profile.C7d_D4c9.js","assets/profile-DLIKTfa7.css","assets/pages-mine-orders.D2OlW7Sg.js","assets/datetime.BfIJTcZ8.js","assets/orders-79U_RYd8.css","assets/pages-activity-detail.C5mQtqfi.js","assets/phone.D0RMb4AO.js","assets/icon4.CHREtDdF.js","assets/icon_up.DJ5zmdk8.js","assets/detail-D558zBx-.css","assets/pages-activity-behind-scenes.DLGUBToV.js","assets/behind-scenes-CVvncTcL.css","assets/pages-activity-registrations.BpQtNYyE.js","assets/registrations-DG7cUV1L.css","assets/pages-ticket-grab-detail.Q0ZCx711.js","assets/richText.Cl1iMeI3.js","assets/icon8.CJEwVaG3.js","assets/detail-BHEGHPVM.css","assets/pages-ticket-grab-reserve.Dny_tk4R.js","assets/reserve-CMQMb2Cl.css","assets/pages-activity-reserve.B48Q38fF.js","assets/reserve-102QS-bu.css","assets/pages-mine-reservation-detail.rD4AfXrh.js","assets/reservation-detail-DlApvrOE.css","assets/pages-study-tour-detail.Bcb9VQul.js","assets/detail-tQ7bHtHX.css","assets/pages-venue-detail.BDi74c8r.js","assets/detail-o8tNHYLq.css","assets/pages-stats-index.DY6DWHJ7.js","assets/index-DliCCtSI.css","assets/pages-traffic-index.CpwH2SIG.js","assets/index-BTD3bE7Y.css"] + __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.DnYbnA4J.js","assets/peopleCounting.DplW7Jyp.js","assets/poster.C6TYC1FC.js","assets/search.BJnl3YRK.js","assets/suzhouDistrictPolygons.U6J8TgzC.js","assets/activity.DEGdoGAe.js","assets/ticketMap.b6piD_5W.js","assets/venueTypes.DuAf5T5V.js","assets/venueThemeColors.DRxjaxXI.js","assets/text.BxMbQPAt.js","assets/index-95uyKbx3.css","assets/pages-map-index.DEgD__Sx.js","assets/content.DxtMXvVw.js","assets/index-C9msxzml.css","assets/pages-activity-index.DytkJuMf.js","assets/index-0gIirsLe.css","assets/pages-discover-index.mYNZEveb.js","assets/index-VYwrAfu5.css","assets/pages-mine-index.BrioApEa.js","assets/localProfile.BNBxvTJ-.js","assets/index-By93HabS.css","assets/pages-mine-profile.DB22_GSu.js","assets/profile-DLIKTfa7.css","assets/pages-mine-orders.DJYMRcvP.js","assets/datetime.BfIJTcZ8.js","assets/orders-79U_RYd8.css","assets/pages-activity-detail.t9RkLama.js","assets/phone.Dfri_fbO.js","assets/icon4.CHREtDdF.js","assets/icon_up.DJ5zmdk8.js","assets/detail-D558zBx-.css","assets/pages-activity-behind-scenes.DzgRSqCs.js","assets/behind-scenes-CVvncTcL.css","assets/pages-activity-registrations.dOB1SGvM.js","assets/registrations-DG7cUV1L.css","assets/pages-ticket-grab-detail.B8YSBNSn.js","assets/richText.Cl1iMeI3.js","assets/icon8.CJEwVaG3.js","assets/detail-BHEGHPVM.css","assets/pages-ticket-grab-reserve.Caff2A-_.js","assets/reserve-CMQMb2Cl.css","assets/pages-activity-reserve.DlLHEOOg.js","assets/reserve-102QS-bu.css","assets/pages-mine-reservation-detail.BIv1e_Nn.js","assets/reservation-detail-DlApvrOE.css","assets/pages-study-tour-detail.CkRe3Hsz.js","assets/detail-tQ7bHtHX.css","assets/pages-venue-detail.DuLv3xxo.js","assets/detail-o8tNHYLq.css","assets/pages-stats-index.B0rHxCdo.js","assets/index-DliCCtSI.css","assets/pages-traffic-index.C5NRI40V.js","assets/index-BTD3bE7Y.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -22,7 +22,7 @@ function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const o={},r=[] * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT - */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const ia="undefined"!=typeof document;function sa(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const aa=Object.assign;function la(e,t){const n={};for(const o in t){const r=t[o];n[o]=ua(r)?r.map(e):e(r)}return n}const ca=()=>{},ua=Array.isArray,da=/#/g,fa=/&/g,pa=/\//g,ha=/=/g,ga=/\?/g,ma=/\+/g,va=/%5B/g,ya=/%5D/g,ba=/%5E/g,_a=/%60/g,wa=/%7B/g,xa=/%7C/g,Sa=/%7D/g,ka=/%20/g;function Ca(e){return encodeURI(""+e).replace(xa,"|").replace(va,"[").replace(ya,"]")}function Ta(e){return Ca(e).replace(ma,"%2B").replace(ka,"+").replace(da,"%23").replace(fa,"%26").replace(_a,"`").replace(wa,"{").replace(Sa,"}").replace(ba,"^")}function Ea(e){return Ta(e).replace(ha,"%3D")}function Ma(e){return null==e?"":function(e){return Ca(e).replace(da,"%23").replace(ga,"%3F")}(e).replace(pa,"%2F")}function Aa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function La(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Aa(s)}}function Oa(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function $a(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ia(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ra(e[n],t[n]))return!1;return!0}function Ra(e,t){return ua(e)?za(e,t):ua(t)?za(t,e):e===t}function za(e,t){return ua(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Ba={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Da,Na,ja,Fa;function qa(e){if(!e)if(ia){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Pa,"")}(Na=Da||(Da={})).pop="pop",Na.push="push",(Fa=ja||(ja={})).back="back",Fa.forward="forward",Fa.unknown="";const Va=/^[^#]+#/;function Wa(e,t){return e.replace(Va,"#")+t}const Ha=()=>({left:window.scrollX,top:window.scrollY});function Ua(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Ya(e,t){return(history.state?history.state.position-t:-1)+e}const Xa=new Map;function Ka(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Oa(n,"")}return Oa(n,e)+o+r}function Ga(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ha():null}}function Ja(e){const{history:t,location:n}=window,o={value:Ka(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=aa({},r.value,t.state,{forward:e,scroll:Ha()});i(s.current,s,!0),i(e,aa({},Ga(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,aa({},t.state,Ga(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Za(e){const t=Ja(e=qa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Ka(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach(e=>{e(n.value,l,{delta:u,type:Da.pop,direction:u?u>0?ja.forward:ja.back:ja.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(aa({},e.state,{scroll:Ha()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=aa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Wa.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Qa(e){return"string"==typeof e||"symbol"==typeof e}const el=Symbol("");var tl,nl;function ol(e,t){return aa(new Error,{type:e,[el]:!0},t)}function rl(e,t){return e instanceof Error&&el in e&&(null==t||!!(e.type&t))}(nl=tl||(tl={}))[nl.aborted=4]="aborted",nl[nl.cancelled=8]="cancelled",nl[nl.duplicated=16]="duplicated";const il="[^/]+?",sl={sensitive:!1,strict:!1,start:!0,end:!0},al=/[.+*?^${}()[\]/\\]/g;function ll(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function cl(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const dl={type:0,value:""},fl=/[a-zA-Z0-9_]/;function pl(e,t,n){const o=function(e,t){const n=aa({},sl,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:ca}function i(e){if(Qa(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;cl(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(_l(t)&&0===cl(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!vl(e)&&o.set(e.record.name,e)}return t=bl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>r(e)),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ol(1,{location:e});s=r.record.name,a=aa(gl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&gl(e.params,r.keys.map(e=>e.name))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find(e=>e.re.test(i)),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!r)throw ol(1,{location:e,currentLocation:t});s=r.record.name,a=aa({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:yl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function gl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ml(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function vl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yl(e){return e.reduce((e,t)=>aa(e,t.meta),{})}function bl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function _l({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function wl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ta(e)):[o&&Ta(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function Sl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ua(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const kl=Symbol(""),Cl=Symbol(""),Tl=Symbol(""),El=Symbol(""),Ml=Symbol("");function Al(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Pl(e,t,n,o,r,i=e=>e()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=e=>{var i;!1===e?l(ol(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ol(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Ll(e,t,n,o,r=e=>e()){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(sa(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Pl(l,n,o,s,e,r))}else{let l=a();i.push(()=>l.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&sa(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,r)()}))}}return i}function Ol(e){const t=Zr(Tl),n=Zr(El),o=is(()=>{const n=Fn(e.to);return t.resolve(n)}),r=is(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex($a.bind(null,r));if(s>-1)return s;const a=Il(e[t-2]);return t>1&&Il(r)===a&&i[i.length-1].path!==a?i.findIndex($a.bind(null,e[t-2])):s}),i=is(()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!ua(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),s=is(()=>r.value>-1&&r.value===n.matched.length-1&&Ia(n.params,o.value.params));return{route:o,href:is(()=>o.value.href),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(ca):Promise.resolve()}}}const $l=Zo({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"}},useLink:Ol,setup(e,{slots:t}){const n=wn(Ol(e)),{options:o}=Zr(Tl),r=is(()=>({[Rl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Rl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ss("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Il(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rl=(e,t,n)=>null!=e?e:null!=t?t:n;function zl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Bl=Zo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Zr(Ml),r=is(()=>e.route||o.value),i=Zr(Cl,0),s=is(()=>{let e=Fn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=is(()=>r.value.matched[s.value]);Jr(Cl,is(()=>s.value+1)),Jr(kl,a),Jr(Ml,r);const l=Bn();return Io(()=>[l.value,a.value,e.name],([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&$a(t,r)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return zl(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=ss(c,aa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return zl(n.default,{Component:f,route:o})||f}}});function Dl(e){const t=hl(e.routes,e),n=e.parseQuery||wl,o=e.stringifyQuery||xl,r=e.history,i=Al(),s=Al(),a=Al(),l=Dn(Ba);let c=Ba;ia&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=la.bind(null,e=>""+e),d=la.bind(null,Ma),f=la.bind(null,Aa);function p(e,i){if(i=aa({},i||l.value),"string"==typeof e){const o=La(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return aa(o,s,{params:f(s.params),hash:Aa(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=aa({},e,{path:La(n,e.path,i.path).path});else{const t=aa({},e.params);for(const e in t)null==t[e]&&delete t[e];s=aa({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,aa({},e,{hash:(h=c,Ca(h).replace(wa,"{").replace(Sa,"}").replace(ba,"^")),path:a.path}));var h;const g=r.createHref(p);return aa({fullPath:p,hash:c,query:o===xl?Sl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?La(n,e,l.value.path):aa({},e)}function g(e,t){if(c!==e)return ol(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),aa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(aa(h(u),{state:"object"==typeof u?aa({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&$a(t.matched[o],n.matched[r])&&Ia(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=ol(16,{to:d,from:r}),L(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch(e=>rl(e)?rl(e,2)?e:P(e):A(e,d,r)).then(e=>{if(e){if(rl(e,2))return y(aa({replace:a},h(e.to),{state:"object"==typeof e.to?aa({},i,e.to.state):i,force:s}),t||d)}else e=S(d,r,!0,a,i);return x(d,r,e),e})}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s$a(e,i))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(e=>$a(e,a))||r.push(a))}return[n,o,r]}(e,t);n=Ll(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),z(n).then(()=>{n=[];for(const o of i.list())n.push(Pl(o,e,t));return n.push(l),z(n)}).then(()=>{n=Ll(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),z(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ua(o.beforeEnter))for(const r of o.beforeEnter)n.push(Pl(r,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),z(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ll(a,"beforeRouteEnter",e,t,_),n.push(l),z(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),z(n)}).catch(e=>rl(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===Ba,c=ia?history.state:{};n&&(o||a?r.replace(e.fullPath,aa({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,L(e,t,n,a),P()}let k;function C(){k||(k=r.listen((e,t,n)=>{if(!R.listening)return;const o=p(e),i=v(o);if(i)return void y(aa(i,{replace:!0}),o).catch(ca);c=o;const s=l.value;var a,u;ia&&(a=Ya(s.fullPath,n.delta),u=Ha(),Xa.set(a,u)),w(o,s).catch(e=>rl(e,12)?e:rl(e,2)?(y(e.to,o).then(e=>{rl(e,20)&&!n.delta&&n.type===Da.pop&&r.go(-1,!1)}).catch(ca),Promise.reject()):(n.delta&&r.go(-n.delta,!1),A(e,o,s))).then(e=>{(e=e||S(o,s,!1))&&(n.delta&&!rl(e,8)?r.go(-n.delta,!1):n.type===Da.pop&&rl(e,20)&&r.go(-1,!1)),x(o,s,e)}).catch(ca)}))}let T,E=Al(),M=Al();function A(e,t,n){P(e);const o=M.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function P(e){return T||(T=!e,C(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function L(t,n,o,r){const{scrollBehavior:i}=e;if(!ia||!i)return Promise.resolve();const s=!o&&function(e){const t=Xa.get(e);return Xa.delete(e),t}(Ya(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return oo().then(()=>i(t,n,s)).then(e=>e&&Ua(e)).catch(e=>A(e,t,n))}const O=e=>r.go(e);let $;const I=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return Qa(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:p,options:e,push:m,replace:function(e){return m(aa(h(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:M.add,isReady:function(){return T&&l.value!==Ba?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",$l),e.component("RouterView",Bl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),ia&&!$&&l.value===Ba&&($=!0,m(r.location).catch(e=>{}));const t={};for(const o in Ba)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Tl,this),e.provide(El,xn(t)),e.provide(Ml,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=Ba,k&&k(),k=null,l.value=Ba,$=!1,T=!1),n()}}};function z(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return R}function Nl(e){return Zr(El)}const jl=["{","}"];const Fl=/^(?:\d)+/,ql=/^(?:\w)+/;const Vl="zh-Hans",Wl="zh-Hant",Hl="en",Ul="fr",Yl="es",Xl=Object.prototype.hasOwnProperty,Kl=(e,t)=>Xl.call(e,t),Gl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=jl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?Vl:e.indexOf("-hant")>-1?Wl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Wl:Vl);var n;let o=[Hl,Ul,Yl];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return r||void 0}class Zl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Hl,this.fallbackLocale=Hl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Gl,this.messages=n||{},this.setLocale(e||Hl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Jl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach(e=>{Kl(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Jl(t,this.messages))&&(o=this.messages[t]):n=t,Kl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Ql(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&kf?kf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Hl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Hl);const r=new Zl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=dm().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function ec(e,t){return e.indexOf(t[0])>-1}const tc=Ie(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let nc;function oc(e){return ec(e,te)?sc().f(e,function(){const e=kf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function rc(e,t){if(1===t.length){if(e){const n=e=>v(e)&&ec(e,te),o=t[0];let r=[];if(p(e)&&(r=e.filter(e=>n(e[o]))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return rc(e&&e[n],t)}function ic(e,t){const n=rc(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>ic(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>oc(e),set(t){e=t}})}return!0}function sc(){if(!nc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,nc=Ql(e),tc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>nc.add(e,__uniConfig.locales[e])),nc.setLocale(e)}}return nc}function ac(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const lc=Ie(()=>{const e="uni.async.",t=["error"];sc().add(Hl,ac(e,t,["The connection timed out, click the screen to try again."]),!1),sc().add(Yl,ac(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),sc().add(Ul,ac(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),sc().add(Vl,ac(e,t,["连接服务器超时,点击屏幕重试"]),!1),sc().add(Wl,ac(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),cc=Ie(()=>{const e="uni.showToast.",t=["unpaired"];sc().add(Hl,ac(e,t,["Please note showToast must be paired with hideToast"]),!1),sc().add(Yl,ac(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),sc().add(Ul,ac(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),sc().add(Vl,ac(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),sc().add(Wl,ac(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),uc=Ie(()=>{const e="uni.showLoading.",t=["unpaired"];sc().add(Hl,ac(e,t,["Please note showLoading must be paired with hideLoading"]),!1),sc().add(Yl,ac(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),sc().add(Ul,ac(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),sc().add(Vl,ac(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),sc().add(Wl,ac(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),dc=Ie(()=>{const e="uni.chooseFile.",t=["notUserActivation"];sc().add(Hl,ac(e,t,["File chooser dialog can only be shown with a user activation"]),!1),sc().add(Yl,ac(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),sc().add(Ul,ac(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),sc().add(Vl,ac(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),sc().add(Wl,ac(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),fc=Ie(()=>{const e="uni.setClipboardData.",t=["success","fail"];sc().add(Hl,ac(e,t,["Content copied","Copy failed, please copy manually"]),!1),sc().add(Yl,ac(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),sc().add(Ul,ac(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),sc().add(Vl,ac(e,t,["内容已复制","复制失败,请手动复制"]),!1),sc().add(Wl,ac(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),pc=Ie(()=>{const e="uni.picker.",t=["done","cancel"];sc().add(Hl,ac(e,t,["Done","Cancel"]),!1),sc().add(Yl,ac(e,t,["OK","Cancelar"]),!1),sc().add(Ul,ac(e,t,["OK","Annuler"]),!1),sc().add(Vl,ac(e,t,["完成","取消"]),!1),sc().add(Wl,ac(e,t,["完成","取消"]),!1)}),hc=Ie(()=>{const e="uni.video.",t=["danmu","volume"];sc().add(Hl,ac(e,t,["Danmu","Volume"]),!1),sc().add(Yl,ac(e,t,["Danmu","Volumen"]),!1),sc().add(Ul,ac(e,t,["Danmu","Le Volume"]),!1),sc().add(Vl,ac(e,t,["弹幕","音量"]),!1),sc().add(Wl,ac(e,t,["彈幕","音量"]),!1)});function gc(e){const t=new lt;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const mc="invokeViewApi",vc="invokeServiceApi";let yc=1;const bc=Object.create(null);function _c(e,t){return e+"."+t}function wc(e,t,n){t=_c(e,t),bc[t]||(bc[t]=n)}function xc({id:e,name:t,args:n},o){t=_c(o,t);const r=t=>{e&&Ay.publishHandler(mc+"."+e,t)},i=bc[t];i?i(n,r):r({})}const Sc=c(gc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Ay,i=n?yc++:0;n&&o(vc+"."+i,n,!0),r(vc,{id:i,name:e,args:t})}}),kc=Ke(!0);let Cc;function Tc(){Cc&&(clearTimeout(Cc),Cc=null)}let Ec=0,Mc=0;function Ac(e){if(Tc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ec=t,Mc=n,Cc=setTimeout(function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)},350)}function Pc(e){if(!Cc)return;if(1!==e.touches.length)return Tc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ec)>10||Math.abs(n-Mc)>10?Tc():void 0}function Lc(e,t){const n=Number(e);return isNaN(n)?t:n}function Oc(){const e=__uniConfig.globalStyle||{},t=Lc(e.rpxCalcMaxDeviceWidth,960),n=Lc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function $c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Rc,zc=["top","left","right","bottom"],Bc={};function Dc(){return Rc="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Nc(){if(Rc="string"==typeof Rc?Rc:Dc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),zc.forEach(function(e){s(o,e)}),document.body.appendChild(o),i(),Ic=!0}else zc.forEach(function(e){Bc[e]=0});function r(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function i(t){t?e.push(t):e.forEach(function(e){e()})}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Rc+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Fc.length||setTimeout(function(){var e={};Fc.forEach(function(t){e[t]=Bc[t]}),Fc.length=0,qc.forEach(function(t){t(e)})},0);Fc.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(Bc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function jc(e){return Ic||Nc(),Bc[e]}var Fc=[];var qc=[];const Vc=$c({get support(){return 0!=("string"==typeof Rc?Rc:Dc()).length},get top(){return jc("top")},get left(){return jc("left")},get right(){return jc("right")},get bottom(){return jc("bottom")},onChange:function(e){Dc()&&(Ic||Nc(),"function"==typeof e&&qc.push(e))},offChange:function(e){var t=qc.indexOf(e);t>=0&&qc.splice(t,1)}}),Wc=ta(()=>{},["prevent"]),Hc=ta(e=>{},["stop"]);function Uc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Yc(){const e=Uc(document.documentElement.style,"--window-top");return e?e+Vc.top:0}function Xc(){const e=document.documentElement.style,t=Yc(),n=Uc(e,"--window-bottom"),o=Uc(e,"--window-left"),r=Uc(e,"--window-right"),i=Uc(e,"--top-window-height");return{top:t,bottom:n?n+Vc.bottom:0,left:o?o+Vc.left:0,right:r?r+Vc.right:0,topWindowHeight:i||0}}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Gc(e){return Kc(e)}function Jc(e){return Symbol(e)}function Zc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Qc(e,t=!1){if(t)return function(e){if(!Zc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>nf(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Zc(e)?nf(t):t}return e}function eu(e){return e.$page}function tu(e){return 0===e.tagName.indexOf("UNI-")}const nu="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ou="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function ru(e,t="#000",n=27){return zi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[zi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){{const{$pageInstance:e}=Xi();return e&&pu(e.proxy)}}function su(e){const t=je(e);if(t.$page)return pu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return pu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?pu(n):void 0}function au(){const e=Tp(),t=e.length;if(t)return e[t-1]}function lu(){var e;const t=null==(e=au())?void 0:e.$page;if(t)return t.meta}function cu(){const e=lu();return e?e.id:-1}function uu(){const e=au();if(e)return e.$vm}const du=["navigationBar","pullToRefresh"];function fu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);du.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function pu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function hu(e,t,n){if(v(e))n=t,t=e,e=uu();else if("number"==typeof e){const t=Tp().find(t=>eu(t).id===e);e=t?t.$vm:uu()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-vu)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(vu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(mu=setTimeout(s,300))),o=!1};return function(){clearTimeout(mu),o||requestAnimationFrame(s),o=!0}}function bu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return bu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),$e(i.concat(n).join("/"))}function _u(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function wu(){Oc(),Ue(tu),window.addEventListener("touchstart",Ac,kc),window.addEventListener("touchmove",Pc,kc),window.addEventListener("touchend",Tc,kc),window.addEventListener("touchcancel",Tc,kc)}class xu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(qe(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter(e=>e.el&&qe(e.el));if(e.length>0)return t?e.map(e=>e.el):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Tu(this.$el.querySelector(e));return t?Su(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Ay.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce((e,n)=>(e[n]=t[n],e),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Su(e,t=!0){if(t&&e&&(e=Fe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new xu(e)),e.$el.__wxsComponentDescriptor}function ku(e,t){return Su(e,t)}function Cu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>ku(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Fe(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,ku(r,!1)]}}function Tu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Eu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Ge(t?r:function(e){for(;!tu(e);)e=e.parentElement;return e}(r)),a=Ge(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&S(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Mu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Au(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Yc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Mu(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Yc();i.touches=Au(e.touches,t),i.changedTouches=Au(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(i,t,{get:()=>e[t]})})}return Cu(i,t,n)||[i]},createNativeEvent:Eu},Symbol.toStringTag,{value:"Module"});function Lu(e){!function(e){const t=e.globalProperties;c(t,Pu),t.$gcd=ku}(e._context.config)}let Ou=1;function $u(e){return(e||cu())+"."+mc}const Iu=c(gc("view"),{invokeOnCallback:(e,t)=>Py.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Py,s=o?Ou++:0;o&&r(mc+"."+s,o,!0),i($u(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Py,a=Ou++,l=mc+"."+a;return r(l,n),s($u(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Ru(e){hu(au(),ge,e),Py.invokeOnCallback("onWindowResize",e)}function zu(e){const t=au();hu(dm(),re,e),hu(t,re)}function Bu(){hu(dm(),ie),hu(au(),ie)}const Du=[ve,be];function Nu(){Du.forEach(e=>Py.subscribe(e,function(e){return(t,n)=>{hu(parseInt(n),e,t)}}(e)))}function ju(){!function(){const{on:e}=Py;e(ge,Ru),e(Pe,zu),e(Le,Bu)}(),Nu()}function Fu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new nt(this.$page.id)),e.eventChannel}}function qu(e){e._context.config.globalProperties.getOpenerEventChannel=Fu}function Vu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Wu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${nf(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Hu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach(e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(s=s.map(Wu)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Wu(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach(t=>{e.$el.style[t]=a[t]}),n+=1,n{i()},0)}const Uu={props:["animation"],watch:{animation:{deep:!0,handler(){Hu(this)}}},mounted(){Hu(this)}},Yu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Uu),Xu(e)},Xu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Zo(e));function Ku(e){return e.__wwe=!0,e}function Gu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Ge(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ju={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Zu(e){const t=Bn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout(()=>{t.value=!0,r||i()},parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ku(function(e){e.touches.length>1||s(e)}),onMousedown:Ku(function(e){r||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ku(function(){a()}),onMouseup:Ku(function(){r&&l()}),onTouchcancel:Ku(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Qu(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ed=Jc("uf"),td=Jc("ul");function nd(e,t,n){const o=iu();n&&!e||S(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Ay.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Ay.on(r,t[r]):e&&Ay.on(`uni-${r}-${o}-${e}`,t[r])})}function od(e,t,n){const o=iu();n&&!e||S(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Ay.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Ay.off(r,t[r]):e&&Ay.off(`uni-${r}-${o}-${e}`,t[r])})}const rd=Yu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Bn(null),o=Zr(ed,!1),{hovering:r,binding:i}=Zu(e),s=Ku((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;}),a=Zr(td,!1);return a&&(a.addHandler(s),wr(()=>{a.removeHandler(s)})),function(e,t){nd(e.id,t),Io(()=>e.id,(e,n)=>{od(n,t,!0),nd(e,t,!0)}),xr(()=>{od(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Qu(e,"disabled"),l=Qu(e,"loading"),c=Qu(e,"plain"),u=o&&"none"!==o;return zi("uni-button",Vi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),id=Jc("upm");function sd(){return Zr(id)}function ad(e){const t=function(e){return wn(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Qc(e.offset)),e.height&&(e.height=Qc(e.height)),e.range&&(e.range=Qc(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+Vc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Tp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(fu(Nl().meta,e)))))}(e);return Jr(id,t),t}function ld(){return Nl()}function cd(){return history.state&&history.state.__id__||1}const ud=["original","compressed"],dd=["album","camera"],fd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function pd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function hd(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function gd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let md=1;const vd={};function yd(e,t,n,o=!1){return vd[e]={name:t,keepAlive:o,callback:n},e}function bd(e,t,n){if("number"==typeof e){const o=vd[e];if(o)return o.keepAlive||delete vd[e],o.callback(t,n)}return t}function _d(e){for(const t in vd)if(vd[t].name===e)return!0;return!1}const wd="success",xd="fail",Sd="complete";function kd(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=gd(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=md++;return yd(u,e,u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)}),u}const Cd="success",Td="fail",Ed="complete",Md={},Ad={};function Pd(e,t){return function(n){return e(n,t)||n}}function Ld(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Od(e,t={}){return[Cd,Td,Ed].forEach(n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Ld(o,e,t).then(e=>m(r)&&r(e)||e)}}),t}function $d(e,t){const n=[];p(Md.returnValue)&&n.push(...Md.returnValue);const o=Ad[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Id(e){const t=Object.create(null);Object.keys(Md).forEach(e=>{"returnValue"!==e&&(t[e]=Md[e].slice())});const n=Ad[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Rd(e,t,n,o){const r=Id(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Ld(r.invoke,n).then(n=>t(Od(Id(e),n),...o))}return t(Od(r,n),...o)}return t(n,...o)}function zd(e,t){return(n={},...o)=>function(e){return!(!S(e)||![wd,xd,Sd].find(t=>m(e[t])))}(n)?$d(e,Rd(e,t,c({},n),o)):$d(e,new Promise((r,i)=>{Rd(e,t,c({},n,{success:r,fail:i}),o)}))}function Bd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,bd(e,c({errMsg:i},o))}function Dd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{Nd(o);const r=Dd(0,[o],0,n);if(r)throw new Error(r);const i=!_d(e);!function(e,t){yd(md++,e,t,!0)}(e,o),i&&(!function(e){Py.on("api."+e,t=>{for(const n in vd){const o=vd[n];o.name===e&&o.callback(t)}})}(e),t())}}function Fd(e,t,n){return o=>{Nd(o);const r=Dd(0,[o],0,n);if(r)throw new Error(r);!function(e,t){for(const n in vd){const o=vd[n];o.callback===t&&o.name===e&&delete vd[n]}}(e=e.replace("off","on"),o);_d(e)||(!function(e){Py.off("api."+e)}(e),t())}}function qd(e,t,n,o){return n=>{const r=kd(e,n,o),i=Dd(0,[n],0,o);return i?Bd(r,e,i):t(n,{resolve:t=>function(e,t,n){return bd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Bd(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Vd(e,t,n){return jd(e,t,n)}function Wd(e,t,n){return Fd(e,t,n)}function Hd(e,t,n,o){return zd(e,qd(e,t,0,o))}function Ud(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Dd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Yd(e,t,n,o){return zd(e,function(e,t,n,o){return qd(e,t,0,o)}(e,t,0,o))}let Xd=!1,Kd=0,Gd=0,Jd=960,Zd=375,Qd=750;function ef(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Jp(),t=eh(Qp(e,Zp(e)));return{platform:Up?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Kd=e,Gd=t,Xd="ios"===n}function tf(e,t){const n=Number(e);return isNaN(n)?t:n}const nf=Ud(0,(e,t)=>{if(0===Kd&&(ef(),function(){const e=__uniConfig.globalStyle||{};Jd=tf(e.rpxCalcMaxDeviceWidth,960),Zd=tf(e.rpxCalcBaseDeviceWidth,375),Qd=tf(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Kd;n=e===Qd||n<=Jd?n:Zd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Gd&&Xd?.5:1),e<0?-o:o}),of=[.5,.8,1,1.25,1.5,2];const rf=(e,t,n,o)=>{!function(e,t,n,o,r){Py.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)})};var sf=["scale","rotate","translate","setTransform","transform"],af=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],lf=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const cf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function uf(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim()))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))});var n=e.toLowerCase();if(f(cf,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(cf[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class df{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,uf(t)])}}class ff{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class pf{constructor(e){this.width=e}}class hf{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){Py.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{r&&r(e)})}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new df("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new df("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new ff(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new pf(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()}),1===o.length&&a(),o=s.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const gf=Ie(()=>{[...sf,...af].forEach(function(e){hf.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),lf.forEach(function(e){hf.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",uf(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=uf(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),mf=Ud(0,(e,t)=>{if(gf(),t)return new hf(e,su(t));const n=su(uu());if(n)return new hf(e,n);Py.emit(ae,"createCanvasContext:fail")});let vf=0,yf={};const bf={canvas:hf,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){rf(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){rf(this.id,this.pageId,"moveToLocation",e)}getScale(e){rf(this.id,this.pageId,"getScale",e)}getRegion(e){rf(this.id,this.pageId,"getRegion",e)}includePoints(e){rf(this.id,this.pageId,"includePoints",e)}translateMarker(e){rf(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){rf(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){rf(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){rf(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){rf(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){rf(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){rf(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){rf(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){rf(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){rf(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){rf(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){rf(this.id,this.pageId,"openMapApp",e)}on(e,t){rf(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){th(this.id,this.pageId,"play")}pause(){th(this.id,this.pageId,"pause")}stop(){th(this.id,this.pageId,"stop")}seek(e){th(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){th(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~of.indexOf(e)||(e=1),th(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){th(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){th(this.id,this.pageId,"exitFullScreen")}showStatusBar(){th(this.id,this.pageId,"showStatusBar")}hideStatusBar(){th(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(vf++);r.callbackId=e,yf[e]=o}Py.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:e,data:t})=>{i&&(Be(yf[e],t),delete yf[e])})}(this.id,this.pageId,e,t)}}};function _f(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=bf[n];e.context=new r(t,o),delete e.contextInfo}}class wf{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class xf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):oh(i,n)?i:i.querySelector(n);return e?nh(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(nh(t,r))}),!l&&oh(i,n)&&e.unshift(nh(i,r)),e}}(e,t,n,r,i))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{p(e)?e.forEach(_f):_f(e);const o=n[t];m(o)&&o.call(this,e)}),m(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=je(e),this}select(e){return this._nodesRef=new wf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new wf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new wf(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const Sf=Ud(0,e=>((e=je(e))&&!su(e)&&(e=null),new xf(e||uu()))),kf=Ud(0,()=>{const e=dm();return e&&e.$vm?e.$vm.$locale:sc().getLocale()}),Cf={[ue]:[],[ce]:[],[ae]:[],[re]:[],[ie]:[]};const Tf={formatArgs:{showToast:!0},beforeInvoke(){fc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=sc(),o=n("uni.setClipboardData.success");o&&qv({title:o,icon:"success",mask:!1})}},Ef="onCompass",Mf=["wgs84","gcj02"],Af={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Mf.indexOf(e)?t.type=Mf[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},Pf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=hd(e,ud)},sourceType(e,t){t.sourceType=hd(e,dd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Lf="json",Of=["text","arraybuffer"],$f=encodeURIComponent;const If={formatArgs:{method(e,t){t.method=pd((e||"").toUpperCase(),fd)},data(e,t){t.data=e||""},url(e,t){t.method===fd[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter(e=>e),s={};i.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[$f(a)]=$f(e)}return r=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==fd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Lf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Of.indexOf(t.responseType)&&(t.responseType="text")}}},Rf={formatArgs:{filePath(e,t){e&&(t.filePath=Vp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const zf={url:{type:String,required:!0}},Bf="navigateTo",Df="redirectTo",Nf="switchTab",jf="preloadPage",Ff=(Hf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Hf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Xf(Bf)),qf=Xf(Df),Vf=Xf(Nf),Wf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Tp().length-1,e)}}};function Hf(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Uf;function Yf(){Uf=""}function Xf(e){return{formatArgs:{url:Kf(e)},beforeAll:Yf}}function Kf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Tp();return n.length&&(t=eu(n[n.length-1]).route),bu(t,e)}(t)).split("?")[0],r=_u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Bf||e===Df){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Nf&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Nf&&e!==jf||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==jf){if(Uf===t&&"appLaunch"!==n.openType)return`${Uf} locked`;__uniConfig.ready&&(Uf=t)}else if(r.meta.isTabBar){const e=Tp(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Gf={formatArgs:{title:"",mask:!1}},Jf=["success","loading","none","error"],Zf={formatArgs:{title:"",icon(e,t){t.icon=pd(e,Jf)},image(e,t){t.image=e?Vp(e):""},duration:1500,mask:!1}},Qf="stopPullDownRefresh";function ep(){const e=uu();if(!e)return;const t=Cp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Mp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,hu(e,ie))}function tp(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function np(e){const t=Cp().values();for(const n of t){const t=bp(n);if(tp(e,t))return n.$.__isActive=!0,t.id}}const op=Yd(Nf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(_p.handledBeforeEntryPageRoutes)return ep(),sp({type:Nf,url:e,tabBarText:t,isAutomatedTesting:n},np(e)).then(o).catch(r);xp.push({args:{type:Nf,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Vf);function rp(){const e=au();if(!e)return;const t=bp(e);Mp(Op(t.path,t.id))}const ip=Yd(Df,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(_p.handledBeforeEntryPageRoutes)return rp(),sp({type:Df,url:e,isAutomatedTesting:t}).then(n).catch(o);Sp.push({args:{type:Df,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,qf);function sp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=dm().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:et(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Ap,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(i=>{if(rl(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach(t=>{e.eventChannel._addListener(t,"on",o[t])}),e.eventChannel._clearCache()):e.eventChannel=new nt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function ap(){if(_p.handledBeforeEntryPageRoutes)return;_p.handledBeforeEntryPageRoutes=!0;const e=[...wp];wp.length=0,e.forEach(({args:e,resolve:t,reject:n})=>sp(e).then(t).catch(n));const t=[...xp];xp.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(ep(),sp(e,np(e.url)).then(t).catch(n)));const n=[...Sp];Sp.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(rp(),sp(e).then(t).catch(n)));const o=[...kp];kp.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(function(){const e=Cp().keys();for(const t of e)Mp(t)}(),sp(e).then(t).catch(n)))}let lp;function cp(){var e;return lp||(lp=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,tc()&&e.list&&e.list.forEach(e=>{ic(e,["text"])}),e))),lp}function up(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const dp=up("top:env(a)"),fp=up("top:constant(a)"),pp=up("backdrop-filter:blur(10px)"),hp=(()=>dp?"env":fp?"constant":"")();function gp(e){let t=0;if(e.isTabBar){const e=cp();e.shown&&(t=parseInt(e.height))}var n;Gc({"--window-top":(n=0,hp?`calc(${n}px + ${hp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":mp(t)})}function mp(e){return hp?`calc(${e}px + ${hp}(safe-area-inset-bottom))`:`${e}px`}const vp="$$",yp=new Map;function bp(e){return e.$page}const _p={handledBeforeEntryPageRoutes:!1},wp=[],xp=[],Sp=[],kp=[];function Cp(){return yp}function Tp(){return Ep()}function Ep(){const e=[],t=yp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Mp(e,t=!0){const n=yp.get(e);n.$.__isUnload=!0,hu(n,fe),yp.delete(e),t&&function(e){const t=$p.get(e);t&&($p.delete(e),Ip.pruneCacheEntry(t))}(e)}let Ap=cd();function Pp(e){const t=sd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=dt(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:$e(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Lp(e){const t=Pp(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),yp.set(Op(t.path,t.id),e),1===yp.size&&setTimeout(()=>{ap()},0)}function Op(e,t){return e+vp+t}const $p=new Map,Ip={get:e=>$p.get(e),set(e,t){!function(e){const t=parseInt(e.split(vp)[1]);if(!t)return;Ip.forEach((e,n)=>{const o=parseInt(n.split(vp)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Ip.delete(n),Ip.pruneCacheEntry(e),oo(()=>{yp.forEach((e,t)=>{e.$.isUnmounted&&yp.delete(t)})})}})}(e),$p.set(e,t)},delete(e){$p.get(e)&&$p.delete(e)},forEach(e){$p.forEach(e)}};function Rp(e,t){!function(e){const t=Bp(e),{body:n}=document;Dp&&n.removeAttribute(Dp),t&&n.setAttribute(t,""),Dp=t}(e),gp(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Fp(e,t)}function zp(e){const t=Bp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Bp(e){return e.type.__scopeId}let Dp;const Np=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let jp;function Fp(e,t){if(document.removeEventListener("touchmove",gu),jp&&document.removeEventListener("scroll",jp),t.disableScroll)return document.addEventListener("touchmove",gu,Np);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=bp(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Ay.publishHandler(ve,{scrollTop:o},e),n&&Ay.emit(e+"."+ve,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Ay.publishHandler(be,{},s)),jp=yu(i),requestAnimationFrame(()=>document.addEventListener("scroll",jp))}function qp(e){const{base:t}=__uniConfig.router;return 0===$e(e).indexOf(t)?$e(e):t+e}function Vp(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return qp(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Ep();return o.length?qp(bu(bp(o[o.length-1]).route,e).slice(1)):e}const Wp=navigator.userAgent,Hp=/android/i.test(Wp),Up=/iphone|ipad|ipod/i.test(Wp),Yp=Wp.match(/Windows NT ([\d|\d.\d]*)/i),Xp=/Macintosh|Mac/i.test(Wp),Kp=/Linux|X11/i.test(Wp),Gp=Xp&&navigator.maxTouchPoints>0;function Jp(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Zp(e){return e&&90===Math.abs(window.orientation)}function Qp(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function eh(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function th(e,t,n,o){Py.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function nh(e,t){const n={},{top:o,topWindowHeight:r}=Xc();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ye(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(p(t.properties)&&t.properties.forEach(e=>{e=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach(e=>{n[e]=o[e]})}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function oh(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const rh={};function ih(e,t){const n=rh[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return sh(s,o)}(e)):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function sh(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function ah(e){for(const n in rh)if(f(rh,n)){if(rh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return rh[t]=e,t}const lh=Vu(),ch=Vu();const uh=Yu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Bn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=wn({width:-1,height:-1});return Io(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ar(o),yr(()=>{t.initial&&oo(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>zi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"]),zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const dh=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function fh(e,t=!0){const n=t?dh:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let ph=!1;function hh(){if(ph)return;ph=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=dh,o*=dh,r*=dh,i*=dh,s*=dh,a*=dh,l=u?l*dh:l,c=u?c*dh:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==dh&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*dh});else if(Array.isArray(e))for(let t=0;thh());function mh(e){return e?Vp(e):e}function vh(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function yh(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let bh;function _h(e=0,t=0){return bh||(bh=document.createElement("canvas")),bh.width=e,bh.height=t,bh}const wh=Yu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){gh();const o=Bn(null),r=Bn(null),i=Bn(null),s=Bn(!1),a=function(e){return(t,n)=>{e(t,Eu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=cg({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=is(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];i[t]&&o.push(Ku(e=>{const o=e.currentTarget.getBoundingClientRect();yh(o,e.touches),yh(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Wc),i[t]=o}),i});return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],r={};const i=is(()=>e.hidpi?dh:1);function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);fh(o,e.hidpi),t.putImageData(n,0,0)}else fh(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=mh(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=mh(o),n[1]=o),o&&!r[o]&&i()})}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const p=t.value;let h;const g=p.offsetWidth-e;o=o?Math.min(o,g):g;const m=p.offsetHeight-n;r=r?Math.min(r,m):m,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=_h(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(p,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)h=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);h=Array.prototype.slice.call(e.data)}b={data:h,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=_h(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const h={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:p};function g(e,t,n){let o=h[e];0!==e.indexOf("_")&&m(o)&&o(t,n)}return c(h,{_resize:s,_handleSubscribe:g})}(e,r,s);return qg(h,Wg(e.canvasId),!0),yr(()=>{g()}),()=>{const{canvasId:t,disableScroll:s}=e;return zi("uni-canvas",Vi({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,p.value),[zi("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),zi("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),zi(uh,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function xh(){}const Sh={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function kh(e,t,n){function o(e){const t=is(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",xh,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",xh,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Io(()=>t.value,e=>e&&o(e))}var Ch=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Th=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Eh=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Mh=Ih("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Ah=Ih("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Ph=Ih("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Lh=Ih("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Oh=Ih("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),$h=Ih("script,style");function Ih(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Bh={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},Dh=Yu({name:"Image",props:Rh,setup(e,{emit:t}){const n=Bn(null),o=function(e,t){const n=Bn(""),o=is(()=>{let e="auto",o="";const r=Bh[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),r=wn({rootEl:e,src:is(()=>t.src?Vp(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return yr(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Gu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=zh[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Nh&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Io(()=>t.mode,(e,t)=>{zh[t]&&r(),zh[e]&&o()}),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),oo(()=>{o()}),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Io(()=>e.src,e=>l(e)),Io(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),yr(()=>l(e.src)),wr(()=>c())}(o,e,n,i,r),()=>zi("uni-image",{ref:n},[zi("div",{style:o.modeStyle},null,4),zh[e.mode]?zi(uh,{onResize:i},null,8,["onResize"]):zi("span",null,null)],512)}});const Nh="Google Inc."===navigator.vendor;const jh=Ke(!0),Fh=[];let qh=0,Vh=!1;const Wh=e=>Fh.forEach(t=>t.userAction=e);function Hh(e={userAction:!1}){if(!Vh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!qh&&Wh(!0),qh++,setTimeout(()=>{! --qh&&Wh(!1)},0)},jh)}),Vh=!0}Fh.push(e)}function Uh(){const e=wn({userAction:!1});return yr(()=>{Hh(e)}),wr(()=>{!function(e){const t=Fh.indexOf(e);t>=0&&Fh.splice(t,1)}(e)}),{state:e}}function Yh(){const e=wn({attrs:{}});return yr(()=>{let t=Xi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Xh(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function Kh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Gh=["none","text","decimal","numeric","tel","search","email","url"],Jh=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~Gh.indexOf(e)},cursorColor:{type:String,default:""}},Sh),Zh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Qh(e,t,n,o){let r=null;r=tt(n=>{t.value=Kh(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Io(()=>e.modelValue,r),Io(()=>e.value,r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return vr(()=>{r.cancel(),i.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function eg(e,t){Uh();const n=is(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Io(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),yr(()=>{n.value&&oo(o)})}function tg(e,t,n,o){wc(cu(),"getSelectedTextRange",Xh);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Bn(null),r=Gu(t,n),i=is(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=is(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=is(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=is(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=Kh(e.modelValue,e.type)||Kh(e.value,e.type);const u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Io(()=>u.focus,e=>n("update:focus",e)),Io(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Qh(e,i,n,s);eg(e,r),kh(0,r);const{state:l}=Yh();!function(e,t){const n=Zr(ed,!1);if(!n)return;const o=Xi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),wr(()=>{n.removeField(r)})}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Io([()=>t.selectionStart,()=>t.selectionEnd],s),Io(()=>t.cursor,a),Io(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const ng=c({},Jh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),og=Ie(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function rg(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&og()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function ig(e){return"insertFromPaste"===e.inputType}const sg=Yu({name:"Input",props:ng,emits:["confirm",...Zh],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=is(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),s=is(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(P(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),a=is(()=>{if(e.inputmode)return e.inputmode});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Bn(null!=t?t.toLocaleString():"");return Io(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Io(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Bn("")}(e,i),c={fn:null};const u=Bn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=tg(e,u,t,(e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=rg(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=rg(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!ig(e))return n.value=l.value=t.value,!1}});Io(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Io(()=>e.maxlength,e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)});const m=["number","digit"],v=is(()=>m.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&h?zi("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):zi("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?ig(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return zi("uni-input",{ref:u},[zi("div",{class:"uni-input-wrapper"},[No(zi("div",Vi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ms,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?zi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const ag=["class","style"],lg=/^on[A-Z]+/,cg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Xi(),r=Dn({}),i=Dn({}),s=Dn({}),a=n.concat(ag);return o.attrs=wn(o.attrs),Oo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:lg.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function ug(e){const t=[];return p(e)&&e.forEach(e=>{Pi(e)?e.type===yi?t.push(...ug(e.children)):t.push(e):p(e)&&t.push(...ug(e))}),t}const dg=function(e,t,n,o){e.addEventListener(t,e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let fg,pg;function hg(e,t,n){wr(()=>{document.removeEventListener("mousemove",fg),document.removeEventListener("mouseup",pg)});let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;dg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)}),dg(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)}),dg(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=fg=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),dg(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const f=pg=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),dg(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}const gg=Yu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Gu(o,n),s=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return Io(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),a=Bn(null);yr(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=Bn([]),c=Bn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==_i);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Jr("getPickerViewColumn",function(e){return is({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map(e=>e);n("update:value",e),i("change",{},{value:e})}}})}),Jr("pickerViewProps",e),Jr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=ug(e);l.value=t,oo(()=>{c.value=t})}return zi("uni-picker-view",{ref:o},[zi(uh,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),zi("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class mg{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function vg(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!yg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(yg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),yg(t,.4)&&(t=0),yg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&yg(o-e,.4)&&yg(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),vg(this.x(),this._endPosition,.4)&&yg(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class _g{constructor(e,t,n){this._extent=e,this._friction=t||new mg(.01),this._spring=n||new bg(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class wg{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new _g(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),m(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),m(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(m(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),m(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const xg=Yu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Zr("getPickerViewColumn"),s=Xi(),a=i?i(s):Bn(0),l=Zr("pickerViewProps"),c=Zr("pickerViewState"),u=Bn(34),d=Bn(null);yr(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=is(()=>(c.height-u.value)/2),{state:p}=Yh();let h;const g=wn({current:a.value,length:0});let m;function v(){h&&!m&&(m=!0,oo(()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)}))}Io(()=>a.value,e=>{e!==g.current&&(g.current=e,v())}),Io(()=>g.current,e=>a.value=e),Io([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(g.current+t,g.length-1);g.current=r=Math.max(r,0),h.scrollTo(r*u.value)}}}const w=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new wg(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new mg(1e-4),spring:new bg(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,hg(e,e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),v()};return yr(w),()=>{const e=t.default&&t.default();g.length=ug(e).length;const n=`${f.value}px 0`;return zi("uni-picker-view-column",{ref:o},[zi("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[zi("div",Vi(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),zi("div",Vi(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[zi(uh,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),zi("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Sg={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},kg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Cg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map(n=>{var o;if(S(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!f(Sg,i))return;return function(e,t){if(S(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Vp(o))}}(i,n.attrs),r=c(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),ss(n.name,r,Cg(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Di((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return f(kg,t)&&kg[t]?kg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function Tg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={children:[]};return function(e,t){var n,o,r,i=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&$h[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Eg=Yu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Xi(),o=n&&n.vnode.scopeId||"",r=Bn(null),i=Bn([]),s=Gu(r,t);function a(e,t={}){s("itemclick",e,t)}return Io(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=Tg(e.nodes)),i.value=Cg(o,a,t)},{immediate:!0,deep:!0}),()=>ss("uni-rich-text",{ref:r},ss("div",{},i.value))}}),Mg=Yu({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=Bn(null),o=is(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),r=is(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return zi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?zi("div",{class:"uni-scroll-view-refresh"},[zi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?zi("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[zi("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),zi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?zi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[zi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?zi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Ag=Ke(!0),Pg=Yu({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Gu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=is(()=>Number(e.scrollTop)||0),n=is(()=>Number(e.scrollLeft)||0),o=wn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=is(()=>e.scrollX),h=is(()=>e.scrollY),g=is(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),m=is(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-k.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-k.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-k.y}))}t.refreshState=n}}let k={x:0,y:0},C={y:e.refresherThreshold};return yr(()=>{oo(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===k)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-k.x)>Math.abs(i-k.y))if(p.value){if(0===l.scrollLeft&&o>k.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&ok.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(k={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),k={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Ag),s.value.addEventListener("touchmove",l,Ke(!1)),s.value.addEventListener("scroll",i,Ke(!1)),s.value.addEventListener("touchend",g,Ag),wr(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)})}),ar(()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Io(n,e=>{b(e)}),Io(o,e=>{_(e)}),Io(()=>e.scrollIntoView,e=>{w(e)}),Io(()=>e.refresherTriggered,e=>{!0===e?S("refreshing"):!1===e&&S("restore")}),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),h=is(()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),g=is(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return zi("uni-scroll-view",{ref:r},[zi("div",{ref:s,class:"uni-scroll-view"},[zi("div",{ref:i,style:h.value,class:g.value},[t?zi(Mg,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,zi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Lg(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=is(()=>n.value.length>t.displayMultipleItems),y=is(()=>e.circular&&v.value);function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),p=null,h=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function S(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;ae;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),p&&(b(p.toPos),p=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-g),g=l):(b(l),e.autoplay&&k())):(u=!0,b(-t.displayMultipleItems-1))}),Io(()=>t.interval,()=>{c&&(s(),k())}),Io(()=>t.current,(e,o)=>{!function(e,o){const r=m;m="";const s=n.value;if(!r){const t=s.length;S(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Io(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Io(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),yr(()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(g):(m="touch",t.current=r,S(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}hg(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),g=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(r){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}})}),xr(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){S(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Og=Yu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Gu(o,n),i=Bn(null),s=Bn(null),a=function(e){return wn({interval:is(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:is(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:is(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=is(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Qc(e.previousMargin,!0),bottom:Qc(e.nextMargin,!0)}:{top:0,bottom:0,left:Qc(e.previousMargin,!0),right:Qc(e.nextMargin,!0)}),t}),c=is(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=Bn([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}f.value=e}Jr("addSwiperContext",function(e){d.push(e),p()});Jr("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Lg(e,a,f,s,n,r);let v=()=>null;return v=$g(o,e,a,h,f,g,m),()=>{const n=t.default&&t.default();return u=ug(n),zi("uni-swiper",{ref:o},[zi("div",{ref:i,class:"uni-swiper-wrapper"},[zi("div",{class:"uni-swiper-slides",style:l.value},[zi("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&zi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>zi("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,u=!1,d=Bn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Oo(()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,b()}),Oo(()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,u=!0,a&&(d.value=!0))});const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const g=()=>ru("M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a{d.value=f},300);d.value=f},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return yr(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?zi(yi,null,[zi("div",Vi({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},p),[g()],16,["onClick"]),zi("div",Vi({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},p),[g()],16,["onClick"])]):null}},Ig=Yu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Bn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return yr(()=>{const e=Zr("addSwiperContext");e&&e(o)}),xr(()=>{const e=Zr("removeSwiperContext");e&&e(o)}),()=>zi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Rg={ensp:" ",emsp:" ",nbsp:" "};function zg(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Rg[t]&&" "===i&&(i=Rg[t]),r?(o+="n"===i?ee:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Rg.nbsp).replace(/ /g,Rg.ensp).replace(/ /g,Rg.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const Bg=Yu({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Bn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==_i){const n=zg(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Di(e)),t!==r&&o.push(zi("br"))})}else o.push(t)}),zi("uni-text",{ref:n,selectable:!!e.selectable||null},[zi("span",null,o)],8,["selectable"])}}}),Dg=Yu({name:"View",props:c({},Ju),setup(e,{slots:t}){const n=Bn(null),{hovering:o,binding:r}=Zu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?zi("uni-view",Vi({class:o.value?i:"",ref:n},r),[Mr(t,"default")],16):zi("uni-view",{ref:n},[Mr(t,"default")],512)}}});function Ng(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function jg(e,t,n){e&&wc(n||cu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Fg(e,t){e&&function(e,t){t=_c(e,t),delete bc[t]}(t||cu(),e)}function qg(e,t,n,o){const r=Xi().proxy;yr(()=>{jg(t||Ng(r),e,o),!n&&t||Io(()=>r.id,(t,n)=>{jg(Ng(r,t),e,o),Fg(n&&Ng(r,n))})}),wr(()=>{Fg(t||Ng(r),o)})}let Vg=0;function Wg(e){const t=iu(),n=Xi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Vg++;return yr(()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}}),`${o}.${r}`}function Hg(e,t,n,o){m(t)&&gr(e,t.bind(n),o)}function Ug(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(rt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach(e=>Hg(o,e,n,t)):Hg(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,hu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&hu(n,re)}catch(r){console.error(r.message+ee+r.stack)}}}function Yg(e,t,n){Ug(e,t,n)}function Xg(e,t,n){return e[t]=n}function Kg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Gg(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[ae]?hu(i.proxy,ae,n):Yn(n,0,o&&o.$.vnode,!1)}}function Jg(e,t){return e?[...new Set([].concat(e,t))]:t}function Zg(e){const t=e.config;var n;t.errorHandler=st(e,Gg),n=t.optionMergeStrategies,rt.forEach(e=>{n[e]=Jg});const o=t.globalProperties;o.$set=Xg,o.$applyOptions=Yg,o.$callMethod=Kg,function(e){it.forEach(t=>t(e))}(e)}function Qg(e){const t=Dl({history:nm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:tm});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(em[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let em=Object.create(null);const tm=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,em[o]);if(t)return t}return{left:0,top:0};var o};function nm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Za(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Ep(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=bp(t[r]);Mp(Op(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const om={install(e){Zg(e),Lu(e),qu(e),e.config.warnHandler||(e.config.warnHandler=rm),Qg(e)}};function rm(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const im={class:"uni-async-loading"},sm=zi("i",{class:"uni-loading"},null,-1),am=Xu({name:"AsyncLoading",render:()=>(ki(),Ai("div",im,[sm]))});function lm(){window.location.reload()}const cm=Xu({name:"AsyncError",props:["error"],setup(){lc();const{t:e}=sc();return()=>zi("div",{class:"uni-async-error",onClick:lm},[e("uni.async.error")],8,["onClick"])}});let um;function dm(){return um}function fm(e){um=e,Object.defineProperty(um.$.ctx,"$children",{get:()=>Ep().map(e=>e.$vm)});const t=um.$.appContext.app;t.component(am.name)||t.component(am.name,am),t.component(cm.name)||t.component(cm.name,cm),function(e){e.$vm=e,e.$mpType="app";const t=Bn(sc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(um),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(um),ju(),wu()}function pm(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Xi();if(n(r.proxy),o(r),i)return i(e,t)},e}function hm(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?pm(e.default,t):pm(e,t)}function gm(e){return hm(e,{clone:!0,init:Lp,setup(e){e.$pageInstance=e;const t=ld(),n=Ze(t.query);e.attrs.__pageQuery=n,bp(e.proxy).options=n,e.proxy.options=n;const o=sd();var r,i;return gp(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),Io([e.onReachBottom,e.onPageScroll],()=>{const t=au();e.proxy===t&&Fp(e,o)},{once:!0}),vr(()=>{Rp(e,o)}),yr(()=>{zp(e);const{onReady:n}=e;n&&I(n),bm(t)}),cr(()=>{if(!e.__isVisible){Rp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&I(n),oo(()=>{bm(t)})}},"ba",r),function(e,t){cr(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&I(t)}}}),i=o.id,Ay.subscribe(_c(i,mc),xc),wr(()=>{!function(e){Ay.unsubscribe(_c(e,mc)),Object.keys(bc).forEach(t=>{0===t.indexOf(e+".")&&delete bc[t]})}(o.id)}),n}})}function mm(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=ov(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Py.emit(ge,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function vm(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Py.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function ym(){const{emit:e}=Py;"visible"===document.visibilityState?e(Pe,c({},ch)):e(Le)}function bm(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&hu("onTabItemTap",{index:n,text:t,pagePath:o})}function _m(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function wm(e,t,n){const o=wn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(a){function l(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=a.targetTouches[0],d=u.pageX,f=u.pageY,p=r,h=t.value;if("progress"===c?(!function(e){const n=t.value,r=n.duration;let i=e/600*r+o.currentTimeOld;i<0?i=0:i>r&&(i=r);o.currentTimeNew=i}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=i,o.volumeNew=i)}(f-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(f-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=h.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const xm={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},Sm=Yu({name:"Video",props:xm,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=Bn(null),i=Bn(null),s=Gu(r,t),{state:a}=Uh(),{$attrs:l}=cg({excludeListeners:!0});sc(),hc();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:T}=function(e,t,n){const o=Bn(null),r=is(()=>Vp(e.src)),i=is(()=>"true"===e.muted||!0===e.muted),s=wn({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Io(()=>r.value,()=>{s.playing=!1,s.currentTime=0}),Io(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Io(()=>i.value,e=>{o.value.muted=e}),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:M,updateDanmu:A,toggleDanmu:P,sendDanmu:L}=function(e,t){const n=Bn(null),o=wn({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return i.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:$,emitFullscreenChange:I,toggleFullscreen:R,requestFullScreen:z,exitFullScreen:B}=function(e,t,n,o,r){const i=wn({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return wr(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:D,onTouchstart:N,onTouchend:j,onTouchmove:F}=wm(e,c,O),{state:q,progressRef:V,ballRef:W,clickProgress:H,toggleControls:U}=function(e,t,n,o){const r=Bn(null),i=Bn(null),s=is(()=>e.showCenterPlayBtn&&!t.start),a=Bn(!0),l=is(()=>!s.value&&e.controls&&a.value),c=wn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function f(){u&&(clearTimeout(u),u=null)}return wr(()=>{u&&clearTimeout(u)}),Io(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),yr(()=>{const e=Ke(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(h=100),t.progress=h,null==o||o(t.duration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)}),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)}),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,g,e=>{D.currentTimeNew=e});!function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};qg((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Wg(),!0)}(d,f,h,g,L,m,z,B);const Y=function(e,t,n){const o=is(()=>"progress"===t.gestureType||n.touching);return Io(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Io([()=>e.currentTime,()=>{xm.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Io(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,D,q);return()=>zi("uni-video",{ref:r,id:e.id,onClick:U},[zi("div",{ref:i,class:"uni-video-container",onTouchstart:N,onTouchend:j,onTouchmove:F,onFullscreenchange:ta($,["stop"]),onWebkitfullscreenchange:ta(e=>$(e,!0),["stop"])},[zi("video",Vi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:S,onPause:k,onEnded:C,onTimeupdate:e=>{T(e),A(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),No(zi("div",{class:"uni-video-bar uni-video-bar-full",onClick:ta(()=>{},["stop"])},[zi("div",{class:"uni-video-controls"},[No(zi("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ta(v,["stop"])},null,10,["onClick"]),[[Ms,e.showPlayBtn]]),No(zi("div",{class:"uni-video-current-time"},[_m(u.currentTime)],512),[[Ms,e.showProgress]]),No(zi("div",{ref:V,class:"uni-video-progress-container",onClick:ta(H,["stop"])},[zi("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[zi("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),zi("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),zi("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[zi("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Ms,e.showProgress]]),No(zi("div",{class:"uni-video-duration"},[_m(Number(e.duration)||u.duration)],512),[[Ms,e.showProgress]])]),No(zi("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ta(P,["stop"])},null,10,["onClick"]),[[Ms,e.danmuBtn]]),No(zi("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:ta(()=>R(!O.fullscreen),["stop"])},null,10,["onClick"]),[[Ms,e.showFullscreenBtn]])],8,["onClick"]),[[Ms,q.controlsShow]]),No(zi("div",{ref:M,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ms,u.start&&E.enable]]),q.centerPlayBtnShow&&zi("div",{class:"uni-video-cover",onClick:ta(()=>{},["stop"])},[zi("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ta(d,["stop"])},null,8,["onClick"])],8,["onClick"]),zi("div",{class:"uni-video-loading"},["volume"===D.gestureType?zi("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":D.toastThin},style:{marginTop:"5px"}},[!D.toastThin&&D.volumeNew>0&&"volume"===D.gestureType?zi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!D.toastThin&&zi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),zi("div",{class:"uni-video-toast-draw",style:{width:100*D.volumeNew+"%"}},null)],2):null]),zi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[zi("div",{class:"uni-video-toast-title"},[zi("span",{class:"uni-video-toast-title-current-time"},[_m(D.currentTimeNew)])," / ",Number(e.duration)||_m(u.duration)])],2),zi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}});let km,Cm=0;function Tm(e,t,n,o){var r,i=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+Cm++,l=t.timeout||3e4;function c(){clearTimeout(r),delete window[a],i.remove()}window[a]=e=>{m(n)&&n(e),c()},i.onerror=()=>{m(o)&&o(),c()},r=setTimeout(function(){m(o)&&o(),c()},l),i.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(i)}function Em(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function r(){}function i(){this.Text&&this.option.map.remove(this.Text)}function s(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(e={},a){this.createAMapText=o,this.removeAMapText=i,this.createBMapText=r,this.removeBMapText=s,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(Rm())this.callback=a,this.visible&&this.createAMapText();else if(zm())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(r),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,Rm()?this.visible&&this.createAMapText():zm()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!Rm()&&!zm()){const t=new(e.OverlayView||e.Overlay);a.prototype.setMap=t.setMap,a.prototype.getMap=t.getMap,a.prototype.getPanes=t.getPanes,a.prototype.getProjection=t.getProjection,a.prototype.map_changed=t.map_changed,a.prototype.set=t.set,a.prototype.get=t.get,a.prototype.setOptions=t.setValues,a.prototype.bindTo=t.bindTo,a.prototype.bindsTo=t.bindsTo,a.prototype.notify=t.notify,a.prototype.setValues=t.setValues,a.prototype.unbind=t.unbind,a.prototype.unbindAll=t.unbindAll,a.prototype.addListener=t.addListener}return a}const Mm={};function Am(e,t){const n=Om();if(!n.key)return void console.error("Map key not configured.");const o=Mm[n.type]=Mm[n.type]||[];if(km)t(km);else if(window[n.type]&&window[n.type].maps)km=Rm()||zm()?window[n.type]:window[n.type].maps,km.Callout=km.Callout||Em(km),t(km);else if(o.length)o.push(t);else{o.push(t);const r=window,i="__map_callback__"+n.type;r[i]=function(){delete r[i],km=Rm()||zm()?window[n.type]:window[n.type].maps,km.Callout=Em(km),o.forEach(e=>e(km)),o.length=0},Rm()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=Pm(n.type);n.type===Lm.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Lm.BMAP?s.src=`${a}ak=${n.key}&callback=${i}`:s.src=`${a}key=${n.key}&callback=${i}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const Pm=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var Lm=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Lm||{});function Om(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let $m=!1,Im=!1;const Rm=()=>Im?$m:(Im=!0,$m="AMap"===Om().type),zm=()=>"BMapGL"===Om().type;const Bm=Xu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=Zr("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),xr(()=>{n.remove()}),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),r=document.createElement("div");return Object.keys(o).forEach(e=>{r.style[e]=o[e]||""}),n.innerText=`.${t}{${r.getAttribute("style")}}`,t}}(t);let r;function i(e){Rm()?e.removeAMapText():e.setMap(null)}if(n((n,s,a)=>{function l(e){const l=e.title;let c;c=Rm()?new s.LngLat(e.longitude,e.latitude):zm()?new s.Point(e.longitude,e.latitude):new s.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const f=e.anchor||{};let p,h,g,m,v="number"==typeof f.x?f.x:.5,y="number"==typeof f.y?f.y:1;e.iconPath&&(e.width||e.height)?(h=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(h=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),p="MarkerImage"in s?new s.MarkerImage(u.src,null,null,new s.Point(v*h,y*g),new s.Size(h,g)):"Icon"in s?new s.Icon({image:u.src,size:new s.Size(h,g),imageSize:new s.Size(h,g),imageOffset:new s.Pixel(v*h,y*g)}):{url:u.src,anchor:new s.Point(v,y),size:new s.Size(h,g)},zm()?(r=new s.Marker(new s.Point(c.lng,c.lat)),n.addOverlay(r)):(r.setPosition(c),r.setIcon(p)),"setRotation"in r&&r.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in r&&(r.label.setMap(null),delete r.label),b.content){const e={borderColor:b.borderColor,borderWidth:(Number(b.borderWidth)||0)+"px",padding:(Number(b.padding)||0)+"px",borderRadius:(Number(b.borderRadius)||0)+"px",backgroundColor:b.bgColor,color:b.color,fontSize:(b.fontSize||14)+"px",lineHeight:(b.fontSize||14)+"px",marginLeft:(Number(b.anchorX||b.x)||0)+"px",marginTop:(Number(b.anchorY||b.y)||0)+"px"};if("Label"in s)_=new s.Label({position:c,map:n,clickable:!1,content:b.content,style:e}),r.label=_;else if("setLabel"in r)if(Rm()){const t=`
\n ${b.content}\n
`;r.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);r.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,S=r.callout;if(w.content||l){Rm()&&w.content&&(w.content=w.content.replaceAll("\n","
"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let i=-d/2;if((e.width||e.height)&&(i+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:i,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||o,display:w.display}:{position:c,map:n,top:m,offsetY:i,content:l,boxShadow:o},S)S.setOption(x);else if(Rm()){const e=()=>{""!==t&&a("callouttap",{},{markerId:Number(t)})};S=r.callout=new s.Callout(x,e)}else S=r.callout=new s.Callout(x),S.div.onclick=function(e){""!==t&&a("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},Om().type===Lm.GOOGLE&&(S.div.ontouchstart=function(e){e.stopPropagation()},S.div.onpointerdown=function(e){e.stopPropagation()})}else S&&(i(S),delete r.callout)},e.iconPath?u.src=Vp(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){zm()||(r=new s.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=s.event||s.Event;zm()||o.addListener(r,"click",()=>{const n=r.callout;if(n&&!n.alwaysVisible)if(Rm())n.visible=!n.visible,n.visible?r.callout.createAMapText():r.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&a("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})})}(e),Io(e,l)}),t){const e=Zr("addMapChidlContext"),o=Zr("removeMapChidlContext"),i={id:t,translate(e){n((t,n,o)=>{const i=e.destination,s=e.duration,a=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in r&&(c=r.getRotation());const u=r.getPosition(),d=new n.LatLng(i.latitude,i.longitude),f=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof s?s:1e3)/36e5),p=n.event||n.Event,h=p.addListener(r,"moving",e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)}),g=p.addListener(r,"moveend",()=>{g.remove(),h.remove(),r.lastPosition=u,r.setPosition(d);const t=r.label;t&&t.setPosition(d);const n=r.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()});let v=0;a&&(r.lastPosition&&(v=n.geometry.spherical.computeHeading(r.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in r&&r.setRotation(c+l),"moveTo"in r?r.moveTo(d,f):(r.setPosition(d),p.trigger(r,"moveend",{}))})}};e(i),xr(()=>o(i))}return xr(function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))}),()=>null}});function Dm(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,i,s]=t.match(/(\w{2})/g);const a=parseInt(o,16),l=parseInt(r,16),c=parseInt(i,16);return s?{r:a,g:l,b:c,a:(`0x100${s}`-65536)/255}:{r:a,g:l,b:c,a:1}}const Nm={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}},jm=Xu({name:"MapPolyline",props:Nm,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Zr("onMapReady")((r,i)=>{function s(e){const o=[];e.points.forEach(e=>{let t;t=Rm()?[e.longitude,e.latitude]:zm()?new i.Point(e.longitude,e.latitude):new i.LatLng(e.latitude,e.longitude),o.push(t)});const s=Number(e.width)||1,{r:a,g:l,b:c,a:u}=Dm(e.color),{r:d,g:f,b:p,a:h}=Dm(e.borderColor),g={map:r,clickable:!1,path:o,strokeWeight:s,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:r,clickable:!1,path:o,strokeWeight:s+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(a,l,c,u),v.strokeColor=new i.Color(d,f,p,h)):(g.strokeColor=`rgb(${a}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${f}, ${p})`,v.strokeOpacity=h),m&&(n=new i.Polyline(v)),zm()?(t=new i.Polyline(g.path,g),r.addOverlay(t)):t=new i.Polyline(g)}s(e),Io(e,function(e){o(),s(e)})}),xr(o),()=>null}}),Fm=Xu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return Zr("onMapReady")((o,r)=>{function i(e){const n=Rm()||zm()?[e.longitude,e.latitude]:new r.LatLng(e.latitude,e.longitude),i={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(zm())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:s}=Dm(e.fillColor),{r:a,g:l,b:c,a:u}=Dm(e.color);"Color"in r?(i.fillColor=new r.Color(t,n,o,s),i.strokeColor=new r.Color(a,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${o})`,i.fillOpacity=s,i.strokeColor=`rgb(${a}, ${l}, ${c})`,i.strokeOpacity=u)}if(zm()){let e=new r.Point(i.center[0],i.center[1]);t=new r.Circle(e,i.radius,i),o.addOverlay(t)}else t=new r.Circle(i),Rm()&&o.add(t)}i(e),Io(e,function(e){n(),i(e)})}),xr(n),()=>null}}),qm={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},Vm=Xu({name:"MapControl",props:qm,setup(e){const t=is(()=>Vp(e.iconPath)),n=is(()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t}),o=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>zi("div",{class:"uni-map-control"},[zi("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Wm=Yd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Hm="__DC_STAT_UUID",Um=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Ym;function Xm(){if(Ym=Ym||Um[Hm],!Ym){Ym=Date.now()+""+Math.floor(1e7*Math.random());try{Um[Hm]=Ym}catch(e){}}return Ym}function Km(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Gm(){let e,t="0",n="",o="phone";const r=navigator.language;if(Up){e="iOS";const o=Wp.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Wp.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Hp){e="Android";const o=Wp.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Wp.match(/\((.+?)\)/),i=r?r[1].split(";"):Wp.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Jp(),n=Zp(t),o=Qp(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=eh(o);let s=window.innerHeight;const a=Vc.top,l={left:Vc.left,right:i-Vc.right,top:Vc.top,bottom:s-Vc.bottom,width:i-Vc.left-Vc.right,height:s-Vc.top-Vc.bottom},{top:c,bottom:u}=Xc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Vc.top,right:Vc.right,bottom:Vc.bottom,left:Vc.left},screenTop:r-s}});let Zm,Qm=!0;function ev(){Qm&&(Zm=Gm())}const tv=Ud(0,()=>{ev();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Zm;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Xm(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:u})}),nv=Ud(0,()=>{ev();const{theme:e,language:t,browserName:n,browserVersion:o}=Zm;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:kf?kf():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})}),ov=Ud(0,()=>{Qm=!0,ev(),Qm=!1;const e=Jm(),t=tv(),n=nv();Qm=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Zm,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});let rv=null;const iv=Vd(Ef,()=>{av()}),sv=Wd("offCompass",()=>{lv()}),av=Yd("startCompass",(e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!rv){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then(e=>{"granted"===e?(o(),t()):n(`${e}`)}).catch(e=>{n(`${e}`)});o()}t()}else n();function o(){rv=function(e){const t=360-(null!==e.alpha?e.alpha:360);Py.invokeOnCallback(Ef,{direction:t})},window.addEventListener("deviceorientation",rv,!1)}}),lv=Yd("stopCompass",(e,{resolve:t})=>{rv&&(window.removeEventListener("deviceorientation",rv,!1),rv=null),t()});const cv=Yd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())});var n,o,r},0,Tf);const uv=Ud(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function dv(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const fv=Ud(0,e=>{try{return dv(e)}catch(t){return""}}),pv=Ud(0,e=>{localStorage&&localStorage.removeItem(e)}),hv={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};let gv=null;const mv=Yd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{dc();const{t:i}=sc();gv&&(document.body.removeChild(gv),gv=null),gv=function({count:e,sourceType:t,type:n,extension:o}){Hh();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${hv[n][t]||t}`}}).join(","),e&&e>1&&(r.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(gv),gv.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),gv.addEventListener("change",function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||ah(t),i)}),oe)},tempFiles:r})}),gv.click(),qh||console.warn(i("uni.chooseFile.notUserActivation"))},0,Pf),vv={esc:["Esc","Escape"],enter:["Enter"]},yv=Object.keys(vv);function bv(){const e=Bn(""),t=Bn(!1),n=n=>{if(t.value)return;const o=yv.find(e=>-1!==vv[e].indexOf(n.key));o&&(e.value=o),oo(()=>e.value="")};return yr(()=>{document.addEventListener("keyup",n)}),wr(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const _v=Hd("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new xv(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout(function(){h.abort(),u("timeout",{errCode:5})},l);f.signal.addEventListener("abort",function(){clearTimeout(p),u("abort",{errCode:600003})}),window.fetch(e,f).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=wv(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=kv(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;h=new xv(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=kv(n,i,r)),c({data:n,statusCode:e,header:Sv(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h},0,If),wv=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Sv(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function kv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class Cv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Tv=Hd("uploadFile",({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Cv;return p(r)&&r.length||(n||c("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(sh(e)):ih(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach(e=>{d.append(e,s[e])}),Object.values(r).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(i).forEach(e=>{o.setRequestHeader(e,i[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},a),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,Rf),Ev=Yd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const s=Om();new Promise((e,r)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),r,{enableHighAccuracy:o||t,timeout:n||1e5}):r(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{s.type===Lm.QQ?Tm(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${s.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):s.type===Lm.GOOGLE?_v({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${s.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):s.type===Lm.AMAP?Am([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=Om();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Tm(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:r}=n.locations[0];e({longitude:o,latitude:r,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{Am([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:r}=o.locations[0];e({longitude:r,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then(e=>{r({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{i(e.message)})}).catch(e=>{i(e.message||JSON.stringify(e))})},0,Af),Mv=Yd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===hu(me,{from:e.from||"navigateBack"})&&(o=!1),o?(dm().$router.go(-e.delta),t()):n(me)},0,Wf),Av=Yd(Bf,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(_p.handledBeforeEntryPageRoutes)return sp({type:Bf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);wp.push({args:{type:Bf,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Ff);function Pv(e){__uniConfig.darkmode&&Py.on(le,e)}function Lv(e){let t={};return __uniConfig.darkmode&&(t=dt(e,__uniConfig.themeConfig,Km())),__uniConfig.darkmode?t:e}const Ov={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Jf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},$v="uni-toast__icon",Iv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Rv=e=>Iv[e],zv=Zo({name:"Toast",props:Ov,setup(e){cc(),uc();const{Icon:t}=function(e){const t=Bn(Rv(Km())),n=({theme:e})=>t.value=Rv(e);Oo(()=>{var t;e.visible?Pv(n):(t=n,Py.off(le,t))});const o=is(()=>{switch(e.icon){case"success":return zi(ru(nu,t.value,38),{class:$v});case"error":return zi(ru(ou,t.value,38),{class:$v});case"loading":return zi("i",{class:[$v,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=function(e,{onEsc:t,onEnter:n}){const o=Bn(e.visible),{key:r,disable:i}=bv();return Io(()=>e.visible,e=>o.value=e),Io(()=>o.value,e=>i.value=!e),Oo(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return zi(hs,{name:"uni-fade"},{default:()=>[No(zi("uni-toast",{"data-duration":r},[o?zi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Wc},null,40,["onTouchmove"]):"",s||t.value?zi("div",{class:"uni-toast"},[s?zi("img",{src:s,class:$v},null,10,["src"]):t.value,zi("p",{class:"uni-toast__content"},[i])]):zi("div",{class:"uni-sample-toast"},[zi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ms,n.value]])]})}}});let Bv,Dv,Nv="";const jv=gt();function Fv(e){Bv?c(Bv,e):(Bv=wn(c(e,{visible:!1})),oo(()=>{var e,t,n;jv.run(()=>{Io([()=>Bv.visible,()=>Bv.duration],([e,t])=>{if(e){if(Dv&&clearTimeout(Dv),"onShowLoading"===Nv)return;Dv=setTimeout(()=>{Uv("onHideToast")},t)}else Dv&&clearTimeout(Dv)})}),Py.on("onHidePopup",()=>Uv("onHidePopup")),(e=zv,t=Bv,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ra(Zo({setup:()=>()=>(ki(),Ai(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))})),setTimeout(()=>{Bv.visible=!0},10)}const qv=Yd("showToast",(e,{resolve:t,reject:n})=>{Fv(e),Nv="onShowToast",t()},0,Zf),Vv={icon:"loading",duration:1e8,image:""},Wv=Yd("showLoading",(e,{resolve:t,reject:n})=>{c(e,Vv),Fv(e),Nv="onShowLoading",t()},0,Gf),Hv=Yd("hideLoading",(e,{resolve:t,reject:n})=>{Uv("onHideLoading"),t()});function Uv(e){const{t:t}=sc();if(!Nv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Nv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Nv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Nv="",setTimeout(()=>{Bv.visible=!1},10)}const Yv=Yd("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then(()=>{o.add&&o.add(r)})}return new Promise(o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:s,featureSettings:a}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Vp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Vp(t.substring(4,t.length-1))}')`:Vp(t),n).then(()=>{o()}).catch(e=>{r(`loadFontFace:fail ${e}`)})});function Xv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Py.emit("onNavigationBarChange",{titleText:t})}Oo(t),ar(t)}const Kv=Yd(Qf,(e,{resolve:t})=>{Py.invokeViewMethod(Qf,{},cu()),t()}),Gv=Xu({name:"TabBar",setup(){const e=Bn([]),t=cp(),n=function(e,t){const n=Cn(e),o=n?wn(Lv(e)):Lv(e);return __uniConfig.darkmode&&n&&Io(e,e=>{const t=Lv(e);for(const n in t)o[n]=t[n]}),t&&Pv(t),o}(t,()=>{const e=Lv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Bn(c({type:"midButton"},e.midButton)),Oo(n)}(n,e),function(e){Io(()=>e.shown,t=>{Gc({"--window-bottom":mp(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Oo(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=r}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:r}=t;let i=$e(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?op({from:"tabBar",url:i,tabBarText:r}):hu("onTabItemTap",{index:n,text:r,pagePath:o})}}}(Nl(),n,e),{style:r,borderStyle:i,placeholderStyle:s}=function(e){const t=is(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||pp&&n&&"none"!==n&&(t=ey[n]),{backgroundColor:t||Jv,backdropFilter:"none"!==n?"blur(10px)":n}}),n=is(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:ty[t]||ty.black}}),o=is(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return yr(()=>{n.iconfontSrc&&Yv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,r,i,s,a){return zi("div",{key:s,class:"uni-tabbar__item",onClick:a(r,s)},[ny(e,t||"",n,o,r,i)],8,["onClick"])}(a?r:i,a&&n.selectedIconPath||n.iconPath||"",n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,s,t)})}(n,o,e);return zi("uni-tabbar",{class:"uni-tabbar-"+n.position},[zi("div",{class:"uni-tabbar",style:r.value},[zi("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),zi("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Jv="#f7f7fa",Zv="rgb(0, 0, 0, 0.8)",Qv="rgb(250, 250, 250, 0.8)",ey={dark:Zv,light:Qv,extralight:Qv},ty={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function ny(e,t,n,o,r,i){const{height:s}=i;return zi("div",{class:"uni-tabbar__bd",style:{height:s}},[n?ry(n,o||Zv,r,i):t&&oy(t,r,i),r.text&&iy(e,r,i),r.redDot&&sy(r.badge)],4)}function oy(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return zi("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&zi("img",{src:Vp(e)},null,8,["src"])],6)}function ry(e,t,n,o){var r;const{type:i,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||a,color:t};return zi("div",{class:l,style:c},["midButton"!==i&&zi("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function iy(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:s}=n;return zi("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[r],4)}function sy(e){return zi("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const ay="0px",ly=Xu({name:"Layout",setup(e,{emit:t}){const n=Bn(null);Kc({"--status-bar-height":ay,"--top-window-height":ay,"--window-left":ay,"--window-right":ay,"--window-margin":ay,"--tab-bar-height":ay});const o=function(){const e=Nl();return{routeKey:is(()=>Op("/"+e.meta.route,cd())),isTabBar:is(()=>e.meta.isTabBar),routeCache:Ip}}(),{layoutState:r,windowState:i}=function(){ld();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Io(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Io(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Io(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:is(()=>({}))}}}();!function(e,t){const n=ld();function o(){const o=document.body.clientWidth,r=Ep();let i={};if(r.length>0){i=bp(r[r.length-1]).meta}else{const e=_u(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,oo(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,oo(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Io([()=>n.path],o),yr(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(){const e=ld(),t=cp(),n=is(()=>e.meta.isTabBar&&t.shown);return Kc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=Bn(!1);return is(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(s);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return zi(Bl,null,{default:bo(({Component:o})=>[(ki(),Ai(ir,{matchBy:"key",cache:n},[(ki(),Ai(Eo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return No(zi(Gv,null,null,512),[[Ms,e.value]])}(s);return zi("uni-app",{ref:n,class:a.value},[e,t],2)}}});const cy="MAP_LOCATION",uy=Xu({name:"MapLocation",setup(){const e=wn({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){Ev({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),sv(t)};const r=Zr("onMapReady");let i;iv(t),r(n),xr(o);const s=Zr("addMapChidlContext"),a=Zr("removeMapChidlContext"),l={id:cy,state:e};s(l),xr(()=>a(l))}return()=>e.latitude?zi(Bm,Vi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMz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qXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII="},e),null,16,["iconPath"]):null}}),dy=Xu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return Zr("onMapReady")((n,o,r)=>{function i(){const{points:r,strokeWidth:i,strokeColor:s,dashArray:a,fillColor:l,zIndex:c}=e,u=r.map(e=>{const{latitude:t,longitude:n}=e;return Rm()?[n,t]:zm()?new o.Point(n,t):new o.LatLng(t,n)}),{r:d,g:f,b:p,a:h}=Dm(l),{r:g,g:m,b:v,a:y}=Dm(s),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:a.some(e=>e>0)?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};o.Color?(b.fillColor=new o.Color(d,f,p,h),b.strokeColor=new o.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${f}, ${p})`,b.fillOpacity=h,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):zm()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}i(),Io(e,i)}),xr(()=>{t.setMap(null)}),()=>null}});function fy(e){const t=[];return p(e)&&e.forEach(e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})}),t}function py(e,t,n){return zm()?function(e,t,n){return new e.Point(n,t)}(e,t,n):Rm()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function hy(e){return"getLat"in e?e.getLat():zm()?e.lat:e.lat()}function gy(e){return"getLng"in e?e.getLng():zm()?e.lng:e.lng()}function my(e,t,n){const o=Gu(t,n),r=Bn(null);let i,s;const a=wn({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:fy(e.includePoints)}),l=[];let u,d;function f(e){u?e(s,i,o):l.push(e)}const p=[];function h(e){d?e():l.push(e)}const g={};function m(){d=!0,p.forEach(e=>e()),p.length=0}function v(){const e=s.getCenter();return{scale:s.getZoom(),centerLocation:{latitude:hy(e),longitude:gy(e)}}}function y(){if(Rm()){const e=[];a.includePoints.forEach(t=>{e.push([t.longitude,t.latitude])});const t=new i.Bounds(...e);s.setBounds(t)}else if(zm());else{const e=new i.LatLngBounds;a.includePoints.forEach(({latitude:t,longitude:n})=>{const o=new i.LatLng(t,n);e.extend(o)}),s.fitBounds(e)}}function b(){const t=r.value,l=py(i,a.latitude,a.longitude),u=i.event||i.Event,d=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(zm()&&(d.centerAndZoom(l,Number(e.scale)),d.enableScrollWheelZoom(),d._printLog&&d._printLog("uniapp")),Io(()=>e.scale,e=>{d.setZoom(Number(e)||16)}),h(()=>{a.includePoints.length&&(y(),function(){const e=py(i,a.latitude,a.longitude);s.setCenter(e)}())}),zm())d.addEventListener("click",()=>{o("tap",{},{}),o("click",{},{})}),d.addEventListener("dragstart",()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})}),d.addEventListener("dragend",()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},v()))});else{const e=u.addListener(d,"bounds_changed",()=>{e.remove(),m()});u.addListener(d,"complete",()=>{m()}),u.addListener(d,"click",()=>{o("tap",{},{}),o("click",{},{})}),u.addListener(d,"dragstart",()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})}),u.addListener(d,"dragend",()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},v()))});const t=()=>{n("update:scale",d.getZoom()),o("regionchange",{},c({type:"end",causedBy:"scale"},v()))};u.addListener(d,"zoom_changed",t),u.addListener(d,"zoomend",t),u.addListener(d,"center_changed",()=>{const e=d.getCenter(),t=hy(e),o=gy(e);n("update:latitude",t),n("update:longitude",o)})}return d}Io([()=>e.latitude,()=>e.longitude],([e,t])=>{const n=Number(e),o=Number(t);if((n!==a.latitude||o!==a.longitude)&&(a.latitude=n,a.longitude=o,s)){const e=py(i,a.latitude,a.longitude);s.setCenter(e)}}),Io(()=>e.includePoints,e=>{a.includePoints=fy(e),d&&y()},{deep:!0});try{qg((e,t={})=>{switch(e){case"getCenterLocation":f(()=>{const n=s.getCenter();Be(t,{latitude:hy(n),longitude:gy(n),errMsg:`${e}:ok`})});break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g[cy];e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(a.latitude=n,a.longitude=o,s){const e=py(i,n,o);s.setCenter(e)}f(()=>{Be(t,`${e}:ok`)})}else Be(t,`${e}:fail`)}break;case"translateMarker":f(()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){Be(t,`${e}:fail ${o.message}`)}Be(t,`${e}:ok`)}else Be(t,`${e}:fail not found`)});break;case"includePoints":a.includePoints=fy(t.includePoints),(d||Rm())&&y(),h(()=>{Be(t,`${e}:ok`)});break;case"getRegion":h(()=>{const n=s.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();Be(t,{southwest:{latitude:hy(o),longitude:gy(o)},northeast:{latitude:hy(r),longitude:gy(r)},errMsg:`${e}:ok`})});break;case"getScale":f(()=>{Be(t,{scale:s.getZoom(),errMsg:`${e}:ok`})})}},Wg(),!0)}catch(_){}return yr(()=>{Am(e.libraries,e=>{i=e,s=b(),u=!0,l.forEach(e=>e(s,i,o)),l.length=0,o("updated",{},{})})}),Jr("onMapReady",f),Jr("addMapChidlContext",function(e){g[e.id]=e}),Jr("removeMapChidlContext",function(e){delete g[e.id]}),{state:a,mapRef:r,trigger:o}}const vy=Yu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=Bn(null),{mapRef:r,trigger:i}=my(e,o,t);return()=>zi("uni-map",{ref:o,id:e.id},[zi("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map(e=>zi(Bm,Vi({key:e.id},e),null,16)),e.polyline.map(e=>zi(jm,e,null,16)),e.circles.map(e=>zi(Fm,e,null,16)),e.controls.map(e=>zi(Vm,Vi(e,{trigger:i}),null,16,["trigger"])),e.showLocation&&zi(uy,null,null),e.polygons.map(e=>zi(dy,e,null,16)),zi("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function yy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pi(e)}function by(e){if(e.mode===xy.TIME)return"00:00";if(e.mode===xy.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Sy.YEAR:return t.toString();case Sy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function _y(e){if(e.mode===xy.TIME)return"23:59";if(e.mode===xy.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Sy.YEAR:return t.toString();case Sy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function wy(e,t,n,o){const r=e.mode===xy.DATE?"-":":",i=e.mode===xy.DATE?t.dateArray:t.timeArray;let s;if(e.mode===xy.TIME)s=2;else switch(e.fields){case Sy.YEAR:s=1;break;case Sy.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c=0&&(l=o?wy(e,t,o):l.map(()=>0)),l}const xy={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Sy={YEAR:"year",MONTH:"month",DAY:"day"},ky={PICKER:"picker",SELECT:"select"},Cy=Yu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:xy.SELECTOR,validator:e=>Object.values(xy).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>by(e)},end:{type:String,default:e=>_y(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){pc();const{t:o}=sc(),r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Bn(!1),{state:u,rangeArray:d}=function(e){const t=wn({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=is(()=>{let n=e.range;switch(e.mode){case xy.SELECTOR:return[n];case xy.MULTISELECTOR:return n;case xy.TIME:return t.timeArray;case xy.DATE:{const n=t.dateArray;switch(e.fields){case Sy.YEAR:return[n[0]];case Sy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Gu(r,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:S,_resetFormData:k,_getFormData:C,_createTime:T,_createDate:E,_setValueSync:M}=function(e,t,n,o,r,i,s){const a=function(){const e=Bn(!1);return e.value=Ty(),e}(),l=function(){const e=Bn("");return e.value=Ey(),e}(),c=is(()=>{const t=e.selectorType;return Object.values(ky).includes(t)?t:a.value?ky.PICKER:ky.SELECT}),u=is(()=>e.mode===xy.DATE&&!Object.values(Sy).includes(e.fields)&&t.isDesktop?l.value:""),d=is(()=>wy(e,t,e.start,by(e))),f=is(()=>wy(e,t,e.end,_y(e)));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout(()=>{t.visible=!0},20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case xy.SELECTOR:t.valueSync=0;break;case xy.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case xy.DATE:case xy.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&to&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;na?0:s)}}break;case xy.TIME:case xy.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function k(){let n,o=t.valueSync;switch(e.mode){case xy.MULTISELECTOR:n=[...o];break;case xy.TIME:n=wy(e,t,o,ze({mode:xy.TIME}));break;case xy.DATE:n=wy(e,t,o,ze({mode:xy.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case xy.SELECTOR:return n[0];case xy.MULTISELECTOR:return n.map(e=>e);case xy.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case xy.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function T(){M(),t.valueChangeSource="click";const e=C();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function A(){e.mode===xy.SELECTOR&&c.value===ky.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function P(e){const n=e.target;t.valueSync=n.value,oo(()=>{T()})}function L(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function O(e){t.valueArray=$(e.detail.value,!0)}function $(t,n){const{getLocale:o}=sc();if(e.mode===xy.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Sy.YEAR:return t;case Sy.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function I(t,n){const{getLocale:o}=sc();if(e.mode===xy.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Sy.YEAR&&n===(e.fields===Sy.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return Io(()=>t.visible,e=>{e?(clearTimeout(My),t.contentVisible=e,A()):My=setTimeout(()=>{t.contentVisible=e},300)}),Io([()=>e.mode,()=>e.value,()=>e.range],S,{deep:!0}),Io(()=>t.valueSync,k,{deep:!0}),Io(()=>t.valueArray,o=>{if(e.mode===xy.TIME||e.mode===xy.DATE){const n=e.mode===xy.TIME?_:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===xy.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();in(i)&&x(o,i)}o.forEach((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===xy.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))})}),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:T,_l10nColumn:$,_l10nItem:I,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:S,_fixInputPosition:L,_pickerViewChange:O}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=bv();Oo(()=>{r.value=!e.visible}),Io(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,S),function(e,t){const n=Zr(ed,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),wr(()=>{n.removeField(o)})}}(k,C),T(),E(),M();const A=function(e){const t=Bn(0),n=Bn(0),o=is(()=>t.value>=500&&n.value>=500),r=is(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width?s.width:300),o=a(s.top),l=a(s.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-t/2);r.left=`${d}px`,s.width&&(r.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),i.left=`${f}px`;const p=n.value/2;o+l-p>p-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t});return yr(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=ov();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),xr(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:r}}(u);return Oo(()=>{u.isDesktop=A.isDesktop.value,u.popupStyle=A.popupStyle.value}),wr(()=>{i.value&&i.value.remove()}),yr(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:k,valueSync:C}=u,{rangeKey:T,mode:E,start:M,end:A}=e,P=Qu(e,"disabled");return zi("uni-picker",Vi({ref:r},P,{onClick:Ku(m)}),[l.value?zi("div",{ref:i,class:["uni-picker-container",`uni-${E}-${g.value}`],onWheel:Wc,onTouchmove:Wc},[zi(hs,{name:"uni-fade"},{default:()=>[No(zi("div",{class:"uni-mask uni-picker-mask",onClick:Ku(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Ms,c]])]}),h.value?null:zi("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:k.content},[zi("div",{class:"uni-picker-header",onClick:Hc},[zi("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ku(x)},[o("uni.picker.cancel")],8,["onClick"]),zi("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:S},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?zi(gg,{value:v(p),class:"uni-picker-content",onChange:w},yy(t=Er(v(d.value),(e,t)=>{let n;return zi(xg,{key:t},yy(n=Er(e,(e,n)=>zi("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[T]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,zi("div",{ref:s,class:"uni-picker-select",onWheel:Hc,onTouchmove:Hc},[Er(d.value[0],(e,t)=>zi("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,S()}},["object"==typeof e?e[T]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),zi("div",{style:k.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,zi("div",null,[n.default&&n.default()]),h.value?zi("div",{class:"uni-picker-system",onMousemove:Ku(_)},[zi("input",{class:["uni-picker-system_input",h.value],ref:a,value:C,type:E,tabindex:"-1",min:M,max:A,onChange:e=>{b(e),Hc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Ty=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const Ey=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let My;const Ay=c(Sc,{publishHandler(e,t,n){Py.subscribeHandler(e,t,n)}}),Py=c(Iu,{publishHandler(e,t,n){Ay.subscribeHandler(e,t,n)}}),Ly={name:"PageRefresh",setup(){const{pullToRefresh:e}=sd();return{offset:e.offset,color:e.color}}},Oy=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},$y={class:"uni-page-refresh-inner"},Iy=["fill"],Ry=[Ri("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Ri("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],zy={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},By=["stroke"];const Dy=Oy(Ly,[["render",function(e,t,n,o,r,i){return ki(),Mi("uni-page-refresh",null,[Ri("div",{style:Ve({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ri("div",$y,[(ki(),Mi("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},Ry,8,Iy)),(ki(),Mi("svg",zy,[Ri("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,By)]))])],4)])}]]);function Ny(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const jy="pulling",Fy="reached",qy="aborting",Vy="refreshing",Wy="restoring";function Hy(e){const t=sd(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let s,a,l,c,u,d,f,p;qg(()=>{t.enablePullDownRefresh&&(p||(p=Vy,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),qg(()=>{t.enablePullDownRefresh&&p===Vy&&(y(),p=Wy,v(),function(e){if(!a)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{y(),p=h=g=null}))},Qf,!1,n),yr(()=>{s=e.value.$el,a=s.querySelector(".uni-page-refresh"),l=a.style,c=a.querySelector(".uni-page-refresh-inner").style});let h=null,g=null;function m(e){p&&s&&s.classList[e]("uni-page-refresh--"+p)}function v(){m("add")}function y(){m("remove")}const b=Ku(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([qy,Vy,Wy].indexOf(p)>=0)}),_=Ku(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!Ny(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!p)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,p=jy,v()),n-=g,n<0&&(n=0),h=n;(n>=r&&p!==Fy||n1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=Ku(e=>{t.enablePullDownRefresh&&Ny(e,u,d)&&null!==p&&(p===jy?(y(),p=qy,v(),function(e){if(!a)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{y(),p=h=g=null})):p===Fy&&(y(),p=Vy,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",hu(n,_e))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const Uy=Xu({name:"PageBody",setup(e,t){const n=sd(),o=Bn(null),r=Bn(null),i=n.enablePullDownRefresh?Hy(o):null,s=Bn(null);return Io(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?i:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return zi(Dy,{ref:e},null,512)}(o,n);return zi(yi,null,[e,zi("uni-page-wrapper",Vi({ref:r},s.value),[zi("uni-page-body",null,[Mr(t.slots,"default")]),null],16)])}}});const Yy=Xu({name:"Page",setup(e,t){let n=ad(cd());n.navigationBar;const o={};return Xv(n),()=>zi("uni-page",{"data-page":n.route,style:o},[Xy(t),null])}});function Xy(e){return ki(),Ai(Uy,{key:0},{default:bo(()=>[Mr(e.slots,"page")]),_:3})}const Ky={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=nf;const Gy=Object.assign({}),Jy=Object.assign;window.__uniConfig=Jy({tabBar:{position:"bottom",color:"#86909c",selectedColor:"#16c2a9",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"首页",iconPath:"/static/tab/icon1.png",selectedIconPath:"/static/tab/icon1_cur.png"},{pagePath:"pages/map/index",text:"场馆",iconPath:"/static/tab/icon2.png",selectedIconPath:"/static/tab/icon2_cur.png"},{pagePath:"pages/activity/index",text:"活动",iconPath:"/static/tab/icon3.png",selectedIconPath:"/static/tab/icon3_cur.png"},{pagePath:"pages/mine/index",text:"我的",iconPath:"/static/tab/icon4.png",selectedIconPath:"/static/tab/icon4_cur.png"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},globalStyle:{backgroundColor:"#f7f8fa",navigationBar:{backgroundColor:"#ffffff",titleText:"苏州市科普场馆地图",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"4.83"},{appId:"__UNI__SZKP_MAP_H5",appName:"szkp-map-h5",appVersion:"0.1.0",appVersionCode:"100",async:Ky,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{tencent:{key:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2"}}},qqMapKey:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Gy).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Jy(e[n]||(e[n]={}),Gy[t].default),e},{}),router:{mode:"hash",base:"/h5/",assets:"assets",routerBase:"/h5/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Zy={delay:Ky.delay,timeout:Ky.timeout,suspensible:Ky.suspensible};Ky.loading&&(Zy.loadingComponent={name:"SystemAsyncLoading",render:()=>zi(Co(Ky.loading))}),Ky.error&&(Zy.errorComponent={name:"SystemAsyncError",props:["error"],render(){return zi(Co(Ky.error),{error:this.error})}});const Qy=()=>t(()=>import("./pages-index-index.9AgdTzrz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>gm(e.default||e)),eb=er(Jy({loader:Qy},Zy)),tb=()=>t(()=>import("./pages-map-index.Dgze_GGJ.js"),__vite__mapDeps([11,12,2,3,4,7,8,9,13])).then(e=>gm(e.default||e)),nb=er(Jy({loader:tb},Zy)),ob=()=>t(()=>import("./pages-activity-index.D0ZTzMg5.js"),__vite__mapDeps([14,12,8,5,2,3,15])).then(e=>gm(e.default||e)),rb=er(Jy({loader:ob},Zy)),ib=()=>t(()=>import("./pages-discover-index.BVLjhhea.js"),__vite__mapDeps([16,12,2,3,17])).then(e=>gm(e.default||e)),sb=er(Jy({loader:ib},Zy)),ab=()=>t(()=>import("./pages-mine-index.BAQeTfCa.js"),__vite__mapDeps([18,19,20])).then(e=>gm(e.default||e)),lb=er(Jy({loader:ab},Zy)),cb=()=>t(()=>import("./pages-mine-profile.C7d_D4c9.js"),__vite__mapDeps([21,19,22])).then(e=>gm(e.default||e)),ub=er(Jy({loader:cb},Zy)),db=()=>t(()=>import("./pages-mine-orders.D2OlW7Sg.js"),__vite__mapDeps([23,12,24,25])).then(e=>gm(e.default||e)),fb=er(Jy({loader:db},Zy)),pb=()=>t(()=>import("./pages-activity-detail.C5mQtqfi.js"),__vite__mapDeps([26,12,8,5,27,9,28,29,2,30])).then(e=>gm(e.default||e)),hb=er(Jy({loader:pb},Zy)),gb=()=>t(()=>import("./pages-activity-behind-scenes.DLGUBToV.js"),__vite__mapDeps([31,12,32])).then(e=>gm(e.default||e)),mb=er(Jy({loader:gb},Zy)),vb=()=>t(()=>import("./pages-activity-registrations.BpQtNYyE.js"),__vite__mapDeps([33,12,2,34])).then(e=>gm(e.default||e)),yb=er(Jy({loader:vb},Zy)),bb=()=>t(()=>import("./pages-ticket-grab-detail.Q0ZCx711.js"),__vite__mapDeps([35,12,8,5,36,28,37,2,38])).then(e=>gm(e.default||e)),_b=er(Jy({loader:bb},Zy)),wb=()=>t(()=>import("./pages-ticket-grab-reserve.Dny_tk4R.js"),__vite__mapDeps([39,12,19,36,40])).then(e=>gm(e.default||e)),xb=er(Jy({loader:wb},Zy)),Sb=()=>t(()=>import("./pages-activity-reserve.B48Q38fF.js"),__vite__mapDeps([41,12,19,36,29,42])).then(e=>gm(e.default||e)),kb=er(Jy({loader:Sb},Zy)),Cb=()=>t(()=>import("./pages-mine-reservation-detail.rD4AfXrh.js"),__vite__mapDeps([43,12,8,24,44])).then(e=>gm(e.default||e)),Tb=er(Jy({loader:Cb},Zy)),Eb=()=>t(()=>import("./pages-study-tour-detail.Bcb9VQul.js"),__vite__mapDeps([45,12,29,6,7,8,46])).then(e=>gm(e.default||e)),Mb=er(Jy({loader:Eb},Zy)),Ab=()=>t(()=>import("./pages-venue-detail.BDi74c8r.js"),__vite__mapDeps([47,12,5,7,8,27,9,28,37,29,2,48])).then(e=>gm(e.default||e)),Pb=er(Jy({loader:Ab},Zy)),Lb=()=>t(()=>import("./pages-stats-index.DY6DWHJ7.js"),__vite__mapDeps([49,12,1,2,50])).then(e=>gm(e.default||e)),Ob=er(Jy({loader:Lb},Zy)),$b=()=>t(()=>import("./pages-traffic-index.CpwH2SIG.js"),__vite__mapDeps([51,52])).then(e=>gm(e.default||e)),Ib=er(Jy({loader:$b},Zy));function Rb(e,t){return ki(),Ai(Yy,null,{page:bo(()=>[zi(e,Jy({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(eb,t)}},loader:Qy,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"苏州市科普场馆地图",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(nb,t)}},loader:tb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"场馆列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(rb,t)}},loader:ob,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"活动",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/discover/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(sb,t)}},loader:ib,meta:{enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"科普四季研学线路推荐",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(lb,t)}},loader:ab,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/profile",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(ub,t)}},loader:cb,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/orders",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(fb,t)}},loader:db,meta:{navigationBar:{titleText:"我的活动预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(hb,t)}},loader:pb,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/behind-scenes",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(mb,t)}},loader:gb,meta:{navigationBar:{titleText:"活动花絮",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/registrations",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(yb,t)}},loader:vb,meta:{navigationBar:{titleText:"已报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(_b,t)}},loader:bb,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/reserve",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(xb,t)}},loader:wb,meta:{navigationBar:{titleText:"抢票预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/reserve",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(kb,t)}},loader:Sb,meta:{navigationBar:{titleText:"预约报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/reservation-detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Tb,t)}},loader:Cb,meta:{navigationBar:{titleText:"预约详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/study-tour/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Mb,t)}},loader:Eb,meta:{navigationBar:{titleText:"研学线路",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/venue/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Pb,t)}},loader:Ab,meta:{navigationBar:{titleText:"场馆详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/stats/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Ob,t)}},loader:Lb,meta:{enablePullDownRefresh:!0,backgroundColor:"#eef1f4",navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/traffic/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Ib,t)}},loader:$b,meta:{navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e + */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const ia="undefined"!=typeof document;function sa(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const aa=Object.assign;function la(e,t){const n={};for(const o in t){const r=t[o];n[o]=ua(r)?r.map(e):e(r)}return n}const ca=()=>{},ua=Array.isArray,da=/#/g,fa=/&/g,pa=/\//g,ha=/=/g,ga=/\?/g,ma=/\+/g,va=/%5B/g,ya=/%5D/g,ba=/%5E/g,_a=/%60/g,wa=/%7B/g,xa=/%7C/g,Sa=/%7D/g,ka=/%20/g;function Ca(e){return encodeURI(""+e).replace(xa,"|").replace(va,"[").replace(ya,"]")}function Ta(e){return Ca(e).replace(ma,"%2B").replace(ka,"+").replace(da,"%23").replace(fa,"%26").replace(_a,"`").replace(wa,"{").replace(Sa,"}").replace(ba,"^")}function Ea(e){return Ta(e).replace(ha,"%3D")}function Ma(e){return null==e?"":function(e){return Ca(e).replace(da,"%23").replace(ga,"%3F")}(e).replace(pa,"%2F")}function Aa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function La(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Aa(s)}}function Oa(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function $a(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ia(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ra(e[n],t[n]))return!1;return!0}function Ra(e,t){return ua(e)?za(e,t):ua(t)?za(t,e):e===t}function za(e,t){return ua(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Ba={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Da,Na,ja,Fa;function qa(e){if(!e)if(ia){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Pa,"")}(Na=Da||(Da={})).pop="pop",Na.push="push",(Fa=ja||(ja={})).back="back",Fa.forward="forward",Fa.unknown="";const Va=/^[^#]+#/;function Wa(e,t){return e.replace(Va,"#")+t}const Ha=()=>({left:window.scrollX,top:window.scrollY});function Ua(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Ya(e,t){return(history.state?history.state.position-t:-1)+e}const Xa=new Map;function Ka(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Oa(n,"")}return Oa(n,e)+o+r}function Ga(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ha():null}}function Ja(e){const{history:t,location:n}=window,o={value:Ka(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=aa({},r.value,t.state,{forward:e,scroll:Ha()});i(s.current,s,!0),i(e,aa({},Ga(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,aa({},t.state,Ga(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Za(e){const t=Ja(e=qa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Ka(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach(e=>{e(n.value,l,{delta:u,type:Da.pop,direction:u?u>0?ja.forward:ja.back:ja.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(aa({},e.state,{scroll:Ha()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=aa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Wa.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Qa(e){return"string"==typeof e||"symbol"==typeof e}const el=Symbol("");var tl,nl;function ol(e,t){return aa(new Error,{type:e,[el]:!0},t)}function rl(e,t){return e instanceof Error&&el in e&&(null==t||!!(e.type&t))}(nl=tl||(tl={}))[nl.aborted=4]="aborted",nl[nl.cancelled=8]="cancelled",nl[nl.duplicated=16]="duplicated";const il="[^/]+?",sl={sensitive:!1,strict:!1,start:!0,end:!0},al=/[.+*?^${}()[\]/\\]/g;function ll(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function cl(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const dl={type:0,value:""},fl=/[a-zA-Z0-9_]/;function pl(e,t,n){const o=function(e,t){const n=aa({},sl,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:ca}function i(e){if(Qa(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;cl(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(_l(t)&&0===cl(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!vl(e)&&o.set(e.record.name,e)}return t=bl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>r(e)),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ol(1,{location:e});s=r.record.name,a=aa(gl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&gl(e.params,r.keys.map(e=>e.name))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find(e=>e.re.test(i)),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!r)throw ol(1,{location:e,currentLocation:t});s=r.record.name,a=aa({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:yl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function gl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ml(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function vl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yl(e){return e.reduce((e,t)=>aa(e,t.meta),{})}function bl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function _l({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function wl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ta(e)):[o&&Ta(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function Sl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ua(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const kl=Symbol(""),Cl=Symbol(""),Tl=Symbol(""),El=Symbol(""),Ml=Symbol("");function Al(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Pl(e,t,n,o,r,i=e=>e()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=e=>{var i;!1===e?l(ol(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ol(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Ll(e,t,n,o,r=e=>e()){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(sa(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Pl(l,n,o,s,e,r))}else{let l=a();i.push(()=>l.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&sa(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,r)()}))}}return i}function Ol(e){const t=Zr(Tl),n=Zr(El),o=is(()=>{const n=Fn(e.to);return t.resolve(n)}),r=is(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex($a.bind(null,r));if(s>-1)return s;const a=Il(e[t-2]);return t>1&&Il(r)===a&&i[i.length-1].path!==a?i.findIndex($a.bind(null,e[t-2])):s}),i=is(()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!ua(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),s=is(()=>r.value>-1&&r.value===n.matched.length-1&&Ia(n.params,o.value.params));return{route:o,href:is(()=>o.value.href),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(ca):Promise.resolve()}}}const $l=Zo({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"}},useLink:Ol,setup(e,{slots:t}){const n=wn(Ol(e)),{options:o}=Zr(Tl),r=is(()=>({[Rl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Rl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ss("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Il(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rl=(e,t,n)=>null!=e?e:null!=t?t:n;function zl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Bl=Zo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Zr(Ml),r=is(()=>e.route||o.value),i=Zr(Cl,0),s=is(()=>{let e=Fn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=is(()=>r.value.matched[s.value]);Jr(Cl,is(()=>s.value+1)),Jr(kl,a),Jr(Ml,r);const l=Bn();return Io(()=>[l.value,a.value,e.name],([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&$a(t,r)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return zl(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=ss(c,aa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return zl(n.default,{Component:f,route:o})||f}}});function Dl(e){const t=hl(e.routes,e),n=e.parseQuery||wl,o=e.stringifyQuery||xl,r=e.history,i=Al(),s=Al(),a=Al(),l=Dn(Ba);let c=Ba;ia&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=la.bind(null,e=>""+e),d=la.bind(null,Ma),f=la.bind(null,Aa);function p(e,i){if(i=aa({},i||l.value),"string"==typeof e){const o=La(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return aa(o,s,{params:f(s.params),hash:Aa(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=aa({},e,{path:La(n,e.path,i.path).path});else{const t=aa({},e.params);for(const e in t)null==t[e]&&delete t[e];s=aa({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,aa({},e,{hash:(h=c,Ca(h).replace(wa,"{").replace(Sa,"}").replace(ba,"^")),path:a.path}));var h;const g=r.createHref(p);return aa({fullPath:p,hash:c,query:o===xl?Sl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?La(n,e,l.value.path):aa({},e)}function g(e,t){if(c!==e)return ol(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),aa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(aa(h(u),{state:"object"==typeof u?aa({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&$a(t.matched[o],n.matched[r])&&Ia(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=ol(16,{to:d,from:r}),L(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch(e=>rl(e)?rl(e,2)?e:P(e):A(e,d,r)).then(e=>{if(e){if(rl(e,2))return y(aa({replace:a},h(e.to),{state:"object"==typeof e.to?aa({},i,e.to.state):i,force:s}),t||d)}else e=S(d,r,!0,a,i);return x(d,r,e),e})}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s$a(e,i))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(e=>$a(e,a))||r.push(a))}return[n,o,r]}(e,t);n=Ll(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),z(n).then(()=>{n=[];for(const o of i.list())n.push(Pl(o,e,t));return n.push(l),z(n)}).then(()=>{n=Ll(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),z(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ua(o.beforeEnter))for(const r of o.beforeEnter)n.push(Pl(r,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),z(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ll(a,"beforeRouteEnter",e,t,_),n.push(l),z(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),z(n)}).catch(e=>rl(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===Ba,c=ia?history.state:{};n&&(o||a?r.replace(e.fullPath,aa({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,L(e,t,n,a),P()}let k;function C(){k||(k=r.listen((e,t,n)=>{if(!R.listening)return;const o=p(e),i=v(o);if(i)return void y(aa(i,{replace:!0}),o).catch(ca);c=o;const s=l.value;var a,u;ia&&(a=Ya(s.fullPath,n.delta),u=Ha(),Xa.set(a,u)),w(o,s).catch(e=>rl(e,12)?e:rl(e,2)?(y(e.to,o).then(e=>{rl(e,20)&&!n.delta&&n.type===Da.pop&&r.go(-1,!1)}).catch(ca),Promise.reject()):(n.delta&&r.go(-n.delta,!1),A(e,o,s))).then(e=>{(e=e||S(o,s,!1))&&(n.delta&&!rl(e,8)?r.go(-n.delta,!1):n.type===Da.pop&&rl(e,20)&&r.go(-1,!1)),x(o,s,e)}).catch(ca)}))}let T,E=Al(),M=Al();function A(e,t,n){P(e);const o=M.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function P(e){return T||(T=!e,C(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function L(t,n,o,r){const{scrollBehavior:i}=e;if(!ia||!i)return Promise.resolve();const s=!o&&function(e){const t=Xa.get(e);return Xa.delete(e),t}(Ya(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return oo().then(()=>i(t,n,s)).then(e=>e&&Ua(e)).catch(e=>A(e,t,n))}const O=e=>r.go(e);let $;const I=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return Qa(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:p,options:e,push:m,replace:function(e){return m(aa(h(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:M.add,isReady:function(){return T&&l.value!==Ba?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",$l),e.component("RouterView",Bl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),ia&&!$&&l.value===Ba&&($=!0,m(r.location).catch(e=>{}));const t={};for(const o in Ba)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Tl,this),e.provide(El,xn(t)),e.provide(Ml,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=Ba,k&&k(),k=null,l.value=Ba,$=!1,T=!1),n()}}};function z(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return R}function Nl(e){return Zr(El)}const jl=["{","}"];const Fl=/^(?:\d)+/,ql=/^(?:\w)+/;const Vl="zh-Hans",Wl="zh-Hant",Hl="en",Ul="fr",Yl="es",Xl=Object.prototype.hasOwnProperty,Kl=(e,t)=>Xl.call(e,t),Gl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=jl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?Vl:e.indexOf("-hant")>-1?Wl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Wl:Vl);var n;let o=[Hl,Ul,Yl];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return r||void 0}class Zl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Hl,this.fallbackLocale=Hl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Gl,this.messages=n||{},this.setLocale(e||Hl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Jl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach(e=>{Kl(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Jl(t,this.messages))&&(o=this.messages[t]):n=t,Kl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Ql(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&kf?kf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Hl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Hl);const r=new Zl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=dm().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function ec(e,t){return e.indexOf(t[0])>-1}const tc=Ie(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let nc;function oc(e){return ec(e,te)?sc().f(e,function(){const e=kf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function rc(e,t){if(1===t.length){if(e){const n=e=>v(e)&&ec(e,te),o=t[0];let r=[];if(p(e)&&(r=e.filter(e=>n(e[o]))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return rc(e&&e[n],t)}function ic(e,t){const n=rc(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>ic(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>oc(e),set(t){e=t}})}return!0}function sc(){if(!nc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,nc=Ql(e),tc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>nc.add(e,__uniConfig.locales[e])),nc.setLocale(e)}}return nc}function ac(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const lc=Ie(()=>{const e="uni.async.",t=["error"];sc().add(Hl,ac(e,t,["The connection timed out, click the screen to try again."]),!1),sc().add(Yl,ac(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),sc().add(Ul,ac(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),sc().add(Vl,ac(e,t,["连接服务器超时,点击屏幕重试"]),!1),sc().add(Wl,ac(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),cc=Ie(()=>{const e="uni.showToast.",t=["unpaired"];sc().add(Hl,ac(e,t,["Please note showToast must be paired with hideToast"]),!1),sc().add(Yl,ac(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),sc().add(Ul,ac(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),sc().add(Vl,ac(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),sc().add(Wl,ac(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),uc=Ie(()=>{const e="uni.showLoading.",t=["unpaired"];sc().add(Hl,ac(e,t,["Please note showLoading must be paired with hideLoading"]),!1),sc().add(Yl,ac(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),sc().add(Ul,ac(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),sc().add(Vl,ac(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),sc().add(Wl,ac(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),dc=Ie(()=>{const e="uni.chooseFile.",t=["notUserActivation"];sc().add(Hl,ac(e,t,["File chooser dialog can only be shown with a user activation"]),!1),sc().add(Yl,ac(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),sc().add(Ul,ac(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),sc().add(Vl,ac(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),sc().add(Wl,ac(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),fc=Ie(()=>{const e="uni.setClipboardData.",t=["success","fail"];sc().add(Hl,ac(e,t,["Content copied","Copy failed, please copy manually"]),!1),sc().add(Yl,ac(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),sc().add(Ul,ac(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),sc().add(Vl,ac(e,t,["内容已复制","复制失败,请手动复制"]),!1),sc().add(Wl,ac(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),pc=Ie(()=>{const e="uni.picker.",t=["done","cancel"];sc().add(Hl,ac(e,t,["Done","Cancel"]),!1),sc().add(Yl,ac(e,t,["OK","Cancelar"]),!1),sc().add(Ul,ac(e,t,["OK","Annuler"]),!1),sc().add(Vl,ac(e,t,["完成","取消"]),!1),sc().add(Wl,ac(e,t,["完成","取消"]),!1)}),hc=Ie(()=>{const e="uni.video.",t=["danmu","volume"];sc().add(Hl,ac(e,t,["Danmu","Volume"]),!1),sc().add(Yl,ac(e,t,["Danmu","Volumen"]),!1),sc().add(Ul,ac(e,t,["Danmu","Le Volume"]),!1),sc().add(Vl,ac(e,t,["弹幕","音量"]),!1),sc().add(Wl,ac(e,t,["彈幕","音量"]),!1)});function gc(e){const t=new lt;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const mc="invokeViewApi",vc="invokeServiceApi";let yc=1;const bc=Object.create(null);function _c(e,t){return e+"."+t}function wc(e,t,n){t=_c(e,t),bc[t]||(bc[t]=n)}function xc({id:e,name:t,args:n},o){t=_c(o,t);const r=t=>{e&&Ay.publishHandler(mc+"."+e,t)},i=bc[t];i?i(n,r):r({})}const Sc=c(gc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Ay,i=n?yc++:0;n&&o(vc+"."+i,n,!0),r(vc,{id:i,name:e,args:t})}}),kc=Ke(!0);let Cc;function Tc(){Cc&&(clearTimeout(Cc),Cc=null)}let Ec=0,Mc=0;function Ac(e){if(Tc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ec=t,Mc=n,Cc=setTimeout(function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)},350)}function Pc(e){if(!Cc)return;if(1!==e.touches.length)return Tc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ec)>10||Math.abs(n-Mc)>10?Tc():void 0}function Lc(e,t){const n=Number(e);return isNaN(n)?t:n}function Oc(){const e=__uniConfig.globalStyle||{},t=Lc(e.rpxCalcMaxDeviceWidth,960),n=Lc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function $c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Rc,zc=["top","left","right","bottom"],Bc={};function Dc(){return Rc="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Nc(){if(Rc="string"==typeof Rc?Rc:Dc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),zc.forEach(function(e){s(o,e)}),document.body.appendChild(o),i(),Ic=!0}else zc.forEach(function(e){Bc[e]=0});function r(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function i(t){t?e.push(t):e.forEach(function(e){e()})}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Rc+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Fc.length||setTimeout(function(){var e={};Fc.forEach(function(t){e[t]=Bc[t]}),Fc.length=0,qc.forEach(function(t){t(e)})},0);Fc.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(Bc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function jc(e){return Ic||Nc(),Bc[e]}var Fc=[];var qc=[];const Vc=$c({get support(){return 0!=("string"==typeof Rc?Rc:Dc()).length},get top(){return jc("top")},get left(){return jc("left")},get right(){return jc("right")},get bottom(){return jc("bottom")},onChange:function(e){Dc()&&(Ic||Nc(),"function"==typeof e&&qc.push(e))},offChange:function(e){var t=qc.indexOf(e);t>=0&&qc.splice(t,1)}}),Wc=ta(()=>{},["prevent"]),Hc=ta(e=>{},["stop"]);function Uc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Yc(){const e=Uc(document.documentElement.style,"--window-top");return e?e+Vc.top:0}function Xc(){const e=document.documentElement.style,t=Yc(),n=Uc(e,"--window-bottom"),o=Uc(e,"--window-left"),r=Uc(e,"--window-right"),i=Uc(e,"--top-window-height");return{top:t,bottom:n?n+Vc.bottom:0,left:o?o+Vc.left:0,right:r?r+Vc.right:0,topWindowHeight:i||0}}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Gc(e){return Kc(e)}function Jc(e){return Symbol(e)}function Zc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Qc(e,t=!1){if(t)return function(e){if(!Zc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>nf(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Zc(e)?nf(t):t}return e}function eu(e){return e.$page}function tu(e){return 0===e.tagName.indexOf("UNI-")}const nu="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ou="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function ru(e,t="#000",n=27){return zi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[zi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){{const{$pageInstance:e}=Xi();return e&&pu(e.proxy)}}function su(e){const t=je(e);if(t.$page)return pu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return pu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?pu(n):void 0}function au(){const e=Tp(),t=e.length;if(t)return e[t-1]}function lu(){var e;const t=null==(e=au())?void 0:e.$page;if(t)return t.meta}function cu(){const e=lu();return e?e.id:-1}function uu(){const e=au();if(e)return e.$vm}const du=["navigationBar","pullToRefresh"];function fu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);du.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function pu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function hu(e,t,n){if(v(e))n=t,t=e,e=uu();else if("number"==typeof e){const t=Tp().find(t=>eu(t).id===e);e=t?t.$vm:uu()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-vu)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(vu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(mu=setTimeout(s,300))),o=!1};return function(){clearTimeout(mu),o||requestAnimationFrame(s),o=!0}}function bu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return bu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),$e(i.concat(n).join("/"))}function _u(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function wu(){Oc(),Ue(tu),window.addEventListener("touchstart",Ac,kc),window.addEventListener("touchmove",Pc,kc),window.addEventListener("touchend",Tc,kc),window.addEventListener("touchcancel",Tc,kc)}class xu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(qe(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter(e=>e.el&&qe(e.el));if(e.length>0)return t?e.map(e=>e.el):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Tu(this.$el.querySelector(e));return t?Su(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Ay.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce((e,n)=>(e[n]=t[n],e),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Su(e,t=!0){if(t&&e&&(e=Fe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new xu(e)),e.$el.__wxsComponentDescriptor}function ku(e,t){return Su(e,t)}function Cu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>ku(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Fe(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,ku(r,!1)]}}function Tu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Eu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Ge(t?r:function(e){for(;!tu(e);)e=e.parentElement;return e}(r)),a=Ge(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&S(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Mu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Au(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Yc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Mu(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Yc();i.touches=Au(e.touches,t),i.changedTouches=Au(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(i,t,{get:()=>e[t]})})}return Cu(i,t,n)||[i]},createNativeEvent:Eu},Symbol.toStringTag,{value:"Module"});function Lu(e){!function(e){const t=e.globalProperties;c(t,Pu),t.$gcd=ku}(e._context.config)}let Ou=1;function $u(e){return(e||cu())+"."+mc}const Iu=c(gc("view"),{invokeOnCallback:(e,t)=>Py.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Py,s=o?Ou++:0;o&&r(mc+"."+s,o,!0),i($u(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Py,a=Ou++,l=mc+"."+a;return r(l,n),s($u(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Ru(e){hu(au(),ge,e),Py.invokeOnCallback("onWindowResize",e)}function zu(e){const t=au();hu(dm(),re,e),hu(t,re)}function Bu(){hu(dm(),ie),hu(au(),ie)}const Du=[ve,be];function Nu(){Du.forEach(e=>Py.subscribe(e,function(e){return(t,n)=>{hu(parseInt(n),e,t)}}(e)))}function ju(){!function(){const{on:e}=Py;e(ge,Ru),e(Pe,zu),e(Le,Bu)}(),Nu()}function Fu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new nt(this.$page.id)),e.eventChannel}}function qu(e){e._context.config.globalProperties.getOpenerEventChannel=Fu}function Vu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Wu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${nf(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Hu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach(e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(s=s.map(Wu)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Wu(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach(t=>{e.$el.style[t]=a[t]}),n+=1,n{i()},0)}const Uu={props:["animation"],watch:{animation:{deep:!0,handler(){Hu(this)}}},mounted(){Hu(this)}},Yu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Uu),Xu(e)},Xu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Zo(e));function Ku(e){return e.__wwe=!0,e}function Gu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Ge(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ju={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Zu(e){const t=Bn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout(()=>{t.value=!0,r||i()},parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ku(function(e){e.touches.length>1||s(e)}),onMousedown:Ku(function(e){r||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ku(function(){a()}),onMouseup:Ku(function(){r&&l()}),onTouchcancel:Ku(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Qu(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ed=Jc("uf"),td=Jc("ul");function nd(e,t,n){const o=iu();n&&!e||S(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Ay.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Ay.on(r,t[r]):e&&Ay.on(`uni-${r}-${o}-${e}`,t[r])})}function od(e,t,n){const o=iu();n&&!e||S(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Ay.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Ay.off(r,t[r]):e&&Ay.off(`uni-${r}-${o}-${e}`,t[r])})}const rd=Yu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Bn(null),o=Zr(ed,!1),{hovering:r,binding:i}=Zu(e),s=Ku((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;}),a=Zr(td,!1);return a&&(a.addHandler(s),wr(()=>{a.removeHandler(s)})),function(e,t){nd(e.id,t),Io(()=>e.id,(e,n)=>{od(n,t,!0),nd(e,t,!0)}),xr(()=>{od(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Qu(e,"disabled"),l=Qu(e,"loading"),c=Qu(e,"plain"),u=o&&"none"!==o;return zi("uni-button",Vi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),id=Jc("upm");function sd(){return Zr(id)}function ad(e){const t=function(e){return wn(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Qc(e.offset)),e.height&&(e.height=Qc(e.height)),e.range&&(e.range=Qc(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+Vc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Tp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(fu(Nl().meta,e)))))}(e);return Jr(id,t),t}function ld(){return Nl()}function cd(){return history.state&&history.state.__id__||1}const ud=["original","compressed"],dd=["album","camera"],fd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function pd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function hd(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function gd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let md=1;const vd={};function yd(e,t,n,o=!1){return vd[e]={name:t,keepAlive:o,callback:n},e}function bd(e,t,n){if("number"==typeof e){const o=vd[e];if(o)return o.keepAlive||delete vd[e],o.callback(t,n)}return t}function _d(e){for(const t in vd)if(vd[t].name===e)return!0;return!1}const wd="success",xd="fail",Sd="complete";function kd(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=gd(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=md++;return yd(u,e,u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)}),u}const Cd="success",Td="fail",Ed="complete",Md={},Ad={};function Pd(e,t){return function(n){return e(n,t)||n}}function Ld(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Od(e,t={}){return[Cd,Td,Ed].forEach(n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Ld(o,e,t).then(e=>m(r)&&r(e)||e)}}),t}function $d(e,t){const n=[];p(Md.returnValue)&&n.push(...Md.returnValue);const o=Ad[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Id(e){const t=Object.create(null);Object.keys(Md).forEach(e=>{"returnValue"!==e&&(t[e]=Md[e].slice())});const n=Ad[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Rd(e,t,n,o){const r=Id(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Ld(r.invoke,n).then(n=>t(Od(Id(e),n),...o))}return t(Od(r,n),...o)}return t(n,...o)}function zd(e,t){return(n={},...o)=>function(e){return!(!S(e)||![wd,xd,Sd].find(t=>m(e[t])))}(n)?$d(e,Rd(e,t,c({},n),o)):$d(e,new Promise((r,i)=>{Rd(e,t,c({},n,{success:r,fail:i}),o)}))}function Bd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,bd(e,c({errMsg:i},o))}function Dd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{Nd(o);const r=Dd(0,[o],0,n);if(r)throw new Error(r);const i=!_d(e);!function(e,t){yd(md++,e,t,!0)}(e,o),i&&(!function(e){Py.on("api."+e,t=>{for(const n in vd){const o=vd[n];o.name===e&&o.callback(t)}})}(e),t())}}function Fd(e,t,n){return o=>{Nd(o);const r=Dd(0,[o],0,n);if(r)throw new Error(r);!function(e,t){for(const n in vd){const o=vd[n];o.callback===t&&o.name===e&&delete vd[n]}}(e=e.replace("off","on"),o);_d(e)||(!function(e){Py.off("api."+e)}(e),t())}}function qd(e,t,n,o){return n=>{const r=kd(e,n,o),i=Dd(0,[n],0,o);return i?Bd(r,e,i):t(n,{resolve:t=>function(e,t,n){return bd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Bd(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Vd(e,t,n){return jd(e,t,n)}function Wd(e,t,n){return Fd(e,t,n)}function Hd(e,t,n,o){return zd(e,qd(e,t,0,o))}function Ud(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Dd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Yd(e,t,n,o){return zd(e,function(e,t,n,o){return qd(e,t,0,o)}(e,t,0,o))}let Xd=!1,Kd=0,Gd=0,Jd=960,Zd=375,Qd=750;function ef(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Jp(),t=eh(Qp(e,Zp(e)));return{platform:Up?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Kd=e,Gd=t,Xd="ios"===n}function tf(e,t){const n=Number(e);return isNaN(n)?t:n}const nf=Ud(0,(e,t)=>{if(0===Kd&&(ef(),function(){const e=__uniConfig.globalStyle||{};Jd=tf(e.rpxCalcMaxDeviceWidth,960),Zd=tf(e.rpxCalcBaseDeviceWidth,375),Qd=tf(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Kd;n=e===Qd||n<=Jd?n:Zd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Gd&&Xd?.5:1),e<0?-o:o}),of=[.5,.8,1,1.25,1.5,2];const rf=(e,t,n,o)=>{!function(e,t,n,o,r){Py.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)})};var sf=["scale","rotate","translate","setTransform","transform"],af=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],lf=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const cf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function uf(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim()))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))});var n=e.toLowerCase();if(f(cf,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(cf[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class df{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,uf(t)])}}class ff{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class pf{constructor(e){this.width=e}}class hf{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){Py.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{r&&r(e)})}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new df("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new df("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new ff(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new pf(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()}),1===o.length&&a(),o=s.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const gf=Ie(()=>{[...sf,...af].forEach(function(e){hf.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),lf.forEach(function(e){hf.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",uf(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=uf(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),mf=Ud(0,(e,t)=>{if(gf(),t)return new hf(e,su(t));const n=su(uu());if(n)return new hf(e,n);Py.emit(ae,"createCanvasContext:fail")});let vf=0,yf={};const bf={canvas:hf,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){rf(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){rf(this.id,this.pageId,"moveToLocation",e)}getScale(e){rf(this.id,this.pageId,"getScale",e)}getRegion(e){rf(this.id,this.pageId,"getRegion",e)}includePoints(e){rf(this.id,this.pageId,"includePoints",e)}translateMarker(e){rf(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){rf(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){rf(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){rf(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){rf(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){rf(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){rf(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){rf(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){rf(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){rf(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){rf(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){rf(this.id,this.pageId,"openMapApp",e)}on(e,t){rf(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){th(this.id,this.pageId,"play")}pause(){th(this.id,this.pageId,"pause")}stop(){th(this.id,this.pageId,"stop")}seek(e){th(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){th(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~of.indexOf(e)||(e=1),th(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){th(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){th(this.id,this.pageId,"exitFullScreen")}showStatusBar(){th(this.id,this.pageId,"showStatusBar")}hideStatusBar(){th(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(vf++);r.callbackId=e,yf[e]=o}Py.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:e,data:t})=>{i&&(Be(yf[e],t),delete yf[e])})}(this.id,this.pageId,e,t)}}};function _f(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=bf[n];e.context=new r(t,o),delete e.contextInfo}}class wf{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class xf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):oh(i,n)?i:i.querySelector(n);return e?nh(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(nh(t,r))}),!l&&oh(i,n)&&e.unshift(nh(i,r)),e}}(e,t,n,r,i))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{p(e)?e.forEach(_f):_f(e);const o=n[t];m(o)&&o.call(this,e)}),m(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=je(e),this}select(e){return this._nodesRef=new wf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new wf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new wf(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const Sf=Ud(0,e=>((e=je(e))&&!su(e)&&(e=null),new xf(e||uu()))),kf=Ud(0,()=>{const e=dm();return e&&e.$vm?e.$vm.$locale:sc().getLocale()}),Cf={[ue]:[],[ce]:[],[ae]:[],[re]:[],[ie]:[]};const Tf={formatArgs:{showToast:!0},beforeInvoke(){fc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=sc(),o=n("uni.setClipboardData.success");o&&qv({title:o,icon:"success",mask:!1})}},Ef="onCompass",Mf=["wgs84","gcj02"],Af={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Mf.indexOf(e)?t.type=Mf[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},Pf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=hd(e,ud)},sourceType(e,t){t.sourceType=hd(e,dd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Lf="json",Of=["text","arraybuffer"],$f=encodeURIComponent;const If={formatArgs:{method(e,t){t.method=pd((e||"").toUpperCase(),fd)},data(e,t){t.data=e||""},url(e,t){t.method===fd[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter(e=>e),s={};i.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[$f(a)]=$f(e)}return r=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==fd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Lf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Of.indexOf(t.responseType)&&(t.responseType="text")}}},Rf={formatArgs:{filePath(e,t){e&&(t.filePath=Vp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const zf={url:{type:String,required:!0}},Bf="navigateTo",Df="redirectTo",Nf="switchTab",jf="preloadPage",Ff=(Hf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Hf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Xf(Bf)),qf=Xf(Df),Vf=Xf(Nf),Wf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Tp().length-1,e)}}};function Hf(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Uf;function Yf(){Uf=""}function Xf(e){return{formatArgs:{url:Kf(e)},beforeAll:Yf}}function Kf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Tp();return n.length&&(t=eu(n[n.length-1]).route),bu(t,e)}(t)).split("?")[0],r=_u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Bf||e===Df){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Nf&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Nf&&e!==jf||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==jf){if(Uf===t&&"appLaunch"!==n.openType)return`${Uf} locked`;__uniConfig.ready&&(Uf=t)}else if(r.meta.isTabBar){const e=Tp(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Gf={formatArgs:{title:"",mask:!1}},Jf=["success","loading","none","error"],Zf={formatArgs:{title:"",icon(e,t){t.icon=pd(e,Jf)},image(e,t){t.image=e?Vp(e):""},duration:1500,mask:!1}},Qf="stopPullDownRefresh";function ep(){const e=uu();if(!e)return;const t=Cp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Mp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,hu(e,ie))}function tp(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function np(e){const t=Cp().values();for(const n of t){const t=bp(n);if(tp(e,t))return n.$.__isActive=!0,t.id}}const op=Yd(Nf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(_p.handledBeforeEntryPageRoutes)return ep(),sp({type:Nf,url:e,tabBarText:t,isAutomatedTesting:n},np(e)).then(o).catch(r);xp.push({args:{type:Nf,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Vf);function rp(){const e=au();if(!e)return;const t=bp(e);Mp(Op(t.path,t.id))}const ip=Yd(Df,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(_p.handledBeforeEntryPageRoutes)return rp(),sp({type:Df,url:e,isAutomatedTesting:t}).then(n).catch(o);Sp.push({args:{type:Df,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,qf);function sp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=dm().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:et(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Ap,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(i=>{if(rl(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach(t=>{e.eventChannel._addListener(t,"on",o[t])}),e.eventChannel._clearCache()):e.eventChannel=new nt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function ap(){if(_p.handledBeforeEntryPageRoutes)return;_p.handledBeforeEntryPageRoutes=!0;const e=[...wp];wp.length=0,e.forEach(({args:e,resolve:t,reject:n})=>sp(e).then(t).catch(n));const t=[...xp];xp.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(ep(),sp(e,np(e.url)).then(t).catch(n)));const n=[...Sp];Sp.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(rp(),sp(e).then(t).catch(n)));const o=[...kp];kp.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(function(){const e=Cp().keys();for(const t of e)Mp(t)}(),sp(e).then(t).catch(n)))}let lp;function cp(){var e;return lp||(lp=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,tc()&&e.list&&e.list.forEach(e=>{ic(e,["text"])}),e))),lp}function up(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const dp=up("top:env(a)"),fp=up("top:constant(a)"),pp=up("backdrop-filter:blur(10px)"),hp=(()=>dp?"env":fp?"constant":"")();function gp(e){let t=0;if(e.isTabBar){const e=cp();e.shown&&(t=parseInt(e.height))}var n;Gc({"--window-top":(n=0,hp?`calc(${n}px + ${hp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":mp(t)})}function mp(e){return hp?`calc(${e}px + ${hp}(safe-area-inset-bottom))`:`${e}px`}const vp="$$",yp=new Map;function bp(e){return e.$page}const _p={handledBeforeEntryPageRoutes:!1},wp=[],xp=[],Sp=[],kp=[];function Cp(){return yp}function Tp(){return Ep()}function Ep(){const e=[],t=yp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Mp(e,t=!0){const n=yp.get(e);n.$.__isUnload=!0,hu(n,fe),yp.delete(e),t&&function(e){const t=$p.get(e);t&&($p.delete(e),Ip.pruneCacheEntry(t))}(e)}let Ap=cd();function Pp(e){const t=sd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=dt(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:$e(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Lp(e){const t=Pp(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),yp.set(Op(t.path,t.id),e),1===yp.size&&setTimeout(()=>{ap()},0)}function Op(e,t){return e+vp+t}const $p=new Map,Ip={get:e=>$p.get(e),set(e,t){!function(e){const t=parseInt(e.split(vp)[1]);if(!t)return;Ip.forEach((e,n)=>{const o=parseInt(n.split(vp)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Ip.delete(n),Ip.pruneCacheEntry(e),oo(()=>{yp.forEach((e,t)=>{e.$.isUnmounted&&yp.delete(t)})})}})}(e),$p.set(e,t)},delete(e){$p.get(e)&&$p.delete(e)},forEach(e){$p.forEach(e)}};function Rp(e,t){!function(e){const t=Bp(e),{body:n}=document;Dp&&n.removeAttribute(Dp),t&&n.setAttribute(t,""),Dp=t}(e),gp(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Fp(e,t)}function zp(e){const t=Bp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Bp(e){return e.type.__scopeId}let Dp;const Np=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let jp;function Fp(e,t){if(document.removeEventListener("touchmove",gu),jp&&document.removeEventListener("scroll",jp),t.disableScroll)return document.addEventListener("touchmove",gu,Np);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=bp(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Ay.publishHandler(ve,{scrollTop:o},e),n&&Ay.emit(e+"."+ve,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Ay.publishHandler(be,{},s)),jp=yu(i),requestAnimationFrame(()=>document.addEventListener("scroll",jp))}function qp(e){const{base:t}=__uniConfig.router;return 0===$e(e).indexOf(t)?$e(e):t+e}function Vp(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return qp(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Ep();return o.length?qp(bu(bp(o[o.length-1]).route,e).slice(1)):e}const Wp=navigator.userAgent,Hp=/android/i.test(Wp),Up=/iphone|ipad|ipod/i.test(Wp),Yp=Wp.match(/Windows NT ([\d|\d.\d]*)/i),Xp=/Macintosh|Mac/i.test(Wp),Kp=/Linux|X11/i.test(Wp),Gp=Xp&&navigator.maxTouchPoints>0;function Jp(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Zp(e){return e&&90===Math.abs(window.orientation)}function Qp(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function eh(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function th(e,t,n,o){Py.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function nh(e,t){const n={},{top:o,topWindowHeight:r}=Xc();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ye(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(p(t.properties)&&t.properties.forEach(e=>{e=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach(e=>{n[e]=o[e]})}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function oh(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const rh={};function ih(e,t){const n=rh[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return sh(s,o)}(e)):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function sh(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function ah(e){for(const n in rh)if(f(rh,n)){if(rh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return rh[t]=e,t}const lh=Vu(),ch=Vu();const uh=Yu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Bn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=wn({width:-1,height:-1});return Io(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ar(o),yr(()=>{t.initial&&oo(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>zi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"]),zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const dh=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function fh(e,t=!0){const n=t?dh:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let ph=!1;function hh(){if(ph)return;ph=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=dh,o*=dh,r*=dh,i*=dh,s*=dh,a*=dh,l=u?l*dh:l,c=u?c*dh:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==dh&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*dh});else if(Array.isArray(e))for(let t=0;thh());function mh(e){return e?Vp(e):e}function vh(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function yh(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let bh;function _h(e=0,t=0){return bh||(bh=document.createElement("canvas")),bh.width=e,bh.height=t,bh}const wh=Yu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){gh();const o=Bn(null),r=Bn(null),i=Bn(null),s=Bn(!1),a=function(e){return(t,n)=>{e(t,Eu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=cg({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=is(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];i[t]&&o.push(Ku(e=>{const o=e.currentTarget.getBoundingClientRect();yh(o,e.touches),yh(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Wc),i[t]=o}),i});return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],r={};const i=is(()=>e.hidpi?dh:1);function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);fh(o,e.hidpi),t.putImageData(n,0,0)}else fh(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=mh(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=mh(o),n[1]=o),o&&!r[o]&&i()})}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const p=t.value;let h;const g=p.offsetWidth-e;o=o?Math.min(o,g):g;const m=p.offsetHeight-n;r=r?Math.min(r,m):m,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=_h(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(p,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)h=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);h=Array.prototype.slice.call(e.data)}b={data:h,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=_h(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const h={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:p};function g(e,t,n){let o=h[e];0!==e.indexOf("_")&&m(o)&&o(t,n)}return c(h,{_resize:s,_handleSubscribe:g})}(e,r,s);return qg(h,Wg(e.canvasId),!0),yr(()=>{g()}),()=>{const{canvasId:t,disableScroll:s}=e;return zi("uni-canvas",Vi({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,p.value),[zi("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),zi("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),zi(uh,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function xh(){}const Sh={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function kh(e,t,n){function o(e){const t=is(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",xh,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",xh,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Io(()=>t.value,e=>e&&o(e))}var Ch=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Th=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Eh=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Mh=Ih("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Ah=Ih("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Ph=Ih("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Lh=Ih("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Oh=Ih("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),$h=Ih("script,style");function Ih(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Bh={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},Dh=Yu({name:"Image",props:Rh,setup(e,{emit:t}){const n=Bn(null),o=function(e,t){const n=Bn(""),o=is(()=>{let e="auto",o="";const r=Bh[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),r=wn({rootEl:e,src:is(()=>t.src?Vp(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return yr(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Gu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=zh[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Nh&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Io(()=>t.mode,(e,t)=>{zh[t]&&r(),zh[e]&&o()}),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),oo(()=>{o()}),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Io(()=>e.src,e=>l(e)),Io(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),yr(()=>l(e.src)),wr(()=>c())}(o,e,n,i,r),()=>zi("uni-image",{ref:n},[zi("div",{style:o.modeStyle},null,4),zh[e.mode]?zi(uh,{onResize:i},null,8,["onResize"]):zi("span",null,null)],512)}});const Nh="Google Inc."===navigator.vendor;const jh=Ke(!0),Fh=[];let qh=0,Vh=!1;const Wh=e=>Fh.forEach(t=>t.userAction=e);function Hh(e={userAction:!1}){if(!Vh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!qh&&Wh(!0),qh++,setTimeout(()=>{! --qh&&Wh(!1)},0)},jh)}),Vh=!0}Fh.push(e)}function Uh(){const e=wn({userAction:!1});return yr(()=>{Hh(e)}),wr(()=>{!function(e){const t=Fh.indexOf(e);t>=0&&Fh.splice(t,1)}(e)}),{state:e}}function Yh(){const e=wn({attrs:{}});return yr(()=>{let t=Xi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Xh(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function Kh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Gh=["none","text","decimal","numeric","tel","search","email","url"],Jh=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~Gh.indexOf(e)},cursorColor:{type:String,default:""}},Sh),Zh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Qh(e,t,n,o){let r=null;r=tt(n=>{t.value=Kh(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Io(()=>e.modelValue,r),Io(()=>e.value,r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return vr(()=>{r.cancel(),i.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function eg(e,t){Uh();const n=is(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Io(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),yr(()=>{n.value&&oo(o)})}function tg(e,t,n,o){wc(cu(),"getSelectedTextRange",Xh);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Bn(null),r=Gu(t,n),i=is(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=is(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=is(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=is(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=Kh(e.modelValue,e.type)||Kh(e.value,e.type);const u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Io(()=>u.focus,e=>n("update:focus",e)),Io(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Qh(e,i,n,s);eg(e,r),kh(0,r);const{state:l}=Yh();!function(e,t){const n=Zr(ed,!1);if(!n)return;const o=Xi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),wr(()=>{n.removeField(r)})}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Io([()=>t.selectionStart,()=>t.selectionEnd],s),Io(()=>t.cursor,a),Io(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const ng=c({},Jh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),og=Ie(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function rg(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&og()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function ig(e){return"insertFromPaste"===e.inputType}const sg=Yu({name:"Input",props:ng,emits:["confirm",...Zh],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=is(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),s=is(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(P(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),a=is(()=>{if(e.inputmode)return e.inputmode});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Bn(null!=t?t.toLocaleString():"");return Io(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Io(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Bn("")}(e,i),c={fn:null};const u=Bn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=tg(e,u,t,(e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=rg(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=rg(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!ig(e))return n.value=l.value=t.value,!1}});Io(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Io(()=>e.maxlength,e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)});const m=["number","digit"],v=is(()=>m.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&h?zi("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):zi("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?ig(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return zi("uni-input",{ref:u},[zi("div",{class:"uni-input-wrapper"},[No(zi("div",Vi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ms,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?zi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const ag=["class","style"],lg=/^on[A-Z]+/,cg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Xi(),r=Dn({}),i=Dn({}),s=Dn({}),a=n.concat(ag);return o.attrs=wn(o.attrs),Oo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:lg.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function ug(e){const t=[];return p(e)&&e.forEach(e=>{Pi(e)?e.type===yi?t.push(...ug(e.children)):t.push(e):p(e)&&t.push(...ug(e))}),t}const dg=function(e,t,n,o){e.addEventListener(t,e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let fg,pg;function hg(e,t,n){wr(()=>{document.removeEventListener("mousemove",fg),document.removeEventListener("mouseup",pg)});let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;dg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)}),dg(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)}),dg(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=fg=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),dg(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const f=pg=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),dg(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}const gg=Yu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Gu(o,n),s=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return Io(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),a=Bn(null);yr(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=Bn([]),c=Bn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==_i);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Jr("getPickerViewColumn",function(e){return is({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map(e=>e);n("update:value",e),i("change",{},{value:e})}}})}),Jr("pickerViewProps",e),Jr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=ug(e);l.value=t,oo(()=>{c.value=t})}return zi("uni-picker-view",{ref:o},[zi(uh,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),zi("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class mg{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function vg(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!yg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(yg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),yg(t,.4)&&(t=0),yg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&yg(o-e,.4)&&yg(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),vg(this.x(),this._endPosition,.4)&&yg(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class _g{constructor(e,t,n){this._extent=e,this._friction=t||new mg(.01),this._spring=n||new bg(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class wg{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new _g(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),m(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),m(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(m(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),m(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const xg=Yu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Zr("getPickerViewColumn"),s=Xi(),a=i?i(s):Bn(0),l=Zr("pickerViewProps"),c=Zr("pickerViewState"),u=Bn(34),d=Bn(null);yr(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=is(()=>(c.height-u.value)/2),{state:p}=Yh();let h;const g=wn({current:a.value,length:0});let m;function v(){h&&!m&&(m=!0,oo(()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)}))}Io(()=>a.value,e=>{e!==g.current&&(g.current=e,v())}),Io(()=>g.current,e=>a.value=e),Io([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(g.current+t,g.length-1);g.current=r=Math.max(r,0),h.scrollTo(r*u.value)}}}const w=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new wg(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new mg(1e-4),spring:new bg(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,hg(e,e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),v()};return yr(w),()=>{const e=t.default&&t.default();g.length=ug(e).length;const n=`${f.value}px 0`;return zi("uni-picker-view-column",{ref:o},[zi("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[zi("div",Vi(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),zi("div",Vi(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[zi(uh,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),zi("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Sg={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},kg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Cg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map(n=>{var o;if(S(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!f(Sg,i))return;return function(e,t){if(S(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Vp(o))}}(i,n.attrs),r=c(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),ss(n.name,r,Cg(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Di((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return f(kg,t)&&kg[t]?kg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function Tg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={children:[]};return function(e,t){var n,o,r,i=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&$h[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Eg=Yu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Xi(),o=n&&n.vnode.scopeId||"",r=Bn(null),i=Bn([]),s=Gu(r,t);function a(e,t={}){s("itemclick",e,t)}return Io(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=Tg(e.nodes)),i.value=Cg(o,a,t)},{immediate:!0,deep:!0}),()=>ss("uni-rich-text",{ref:r},ss("div",{},i.value))}}),Mg=Yu({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=Bn(null),o=is(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),r=is(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return zi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?zi("div",{class:"uni-scroll-view-refresh"},[zi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?zi("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[zi("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),zi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?zi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[zi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?zi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Ag=Ke(!0),Pg=Yu({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Gu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=is(()=>Number(e.scrollTop)||0),n=is(()=>Number(e.scrollLeft)||0),o=wn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=is(()=>e.scrollX),h=is(()=>e.scrollY),g=is(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),m=is(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-k.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-k.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-k.y}))}t.refreshState=n}}let k={x:0,y:0},C={y:e.refresherThreshold};return yr(()=>{oo(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===k)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-k.x)>Math.abs(i-k.y))if(p.value){if(0===l.scrollLeft&&o>k.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&ok.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(k={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),k={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Ag),s.value.addEventListener("touchmove",l,Ke(!1)),s.value.addEventListener("scroll",i,Ke(!1)),s.value.addEventListener("touchend",g,Ag),wr(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)})}),ar(()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Io(n,e=>{b(e)}),Io(o,e=>{_(e)}),Io(()=>e.scrollIntoView,e=>{w(e)}),Io(()=>e.refresherTriggered,e=>{!0===e?S("refreshing"):!1===e&&S("restore")}),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),h=is(()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),g=is(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return zi("uni-scroll-view",{ref:r},[zi("div",{ref:s,class:"uni-scroll-view"},[zi("div",{ref:i,style:h.value,class:g.value},[t?zi(Mg,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,zi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Lg(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=is(()=>n.value.length>t.displayMultipleItems),y=is(()=>e.circular&&v.value);function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),p=null,h=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function S(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;ae;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),p&&(b(p.toPos),p=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-g),g=l):(b(l),e.autoplay&&k())):(u=!0,b(-t.displayMultipleItems-1))}),Io(()=>t.interval,()=>{c&&(s(),k())}),Io(()=>t.current,(e,o)=>{!function(e,o){const r=m;m="";const s=n.value;if(!r){const t=s.length;S(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Io(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Io(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),yr(()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(g):(m="touch",t.current=r,S(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}hg(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),g=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(r){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}})}),xr(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){S(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Og=Yu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Gu(o,n),i=Bn(null),s=Bn(null),a=function(e){return wn({interval:is(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:is(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:is(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=is(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Qc(e.previousMargin,!0),bottom:Qc(e.nextMargin,!0)}:{top:0,bottom:0,left:Qc(e.previousMargin,!0),right:Qc(e.nextMargin,!0)}),t}),c=is(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=Bn([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}f.value=e}Jr("addSwiperContext",function(e){d.push(e),p()});Jr("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Lg(e,a,f,s,n,r);let v=()=>null;return v=$g(o,e,a,h,f,g,m),()=>{const n=t.default&&t.default();return u=ug(n),zi("uni-swiper",{ref:o},[zi("div",{ref:i,class:"uni-swiper-wrapper"},[zi("div",{class:"uni-swiper-slides",style:l.value},[zi("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&zi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>zi("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,u=!1,d=Bn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Oo(()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,b()}),Oo(()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,u=!0,a&&(d.value=!0))});const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const g=()=>ru("M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a{d.value=f},300);d.value=f},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return yr(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?zi(yi,null,[zi("div",Vi({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},p),[g()],16,["onClick"]),zi("div",Vi({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},p),[g()],16,["onClick"])]):null}},Ig=Yu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Bn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return yr(()=>{const e=Zr("addSwiperContext");e&&e(o)}),xr(()=>{const e=Zr("removeSwiperContext");e&&e(o)}),()=>zi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Rg={ensp:" ",emsp:" ",nbsp:" "};function zg(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Rg[t]&&" "===i&&(i=Rg[t]),r?(o+="n"===i?ee:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Rg.nbsp).replace(/ /g,Rg.ensp).replace(/ /g,Rg.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const Bg=Yu({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Bn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==_i){const n=zg(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Di(e)),t!==r&&o.push(zi("br"))})}else o.push(t)}),zi("uni-text",{ref:n,selectable:!!e.selectable||null},[zi("span",null,o)],8,["selectable"])}}}),Dg=Yu({name:"View",props:c({},Ju),setup(e,{slots:t}){const n=Bn(null),{hovering:o,binding:r}=Zu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?zi("uni-view",Vi({class:o.value?i:"",ref:n},r),[Mr(t,"default")],16):zi("uni-view",{ref:n},[Mr(t,"default")],512)}}});function Ng(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function jg(e,t,n){e&&wc(n||cu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Fg(e,t){e&&function(e,t){t=_c(e,t),delete bc[t]}(t||cu(),e)}function qg(e,t,n,o){const r=Xi().proxy;yr(()=>{jg(t||Ng(r),e,o),!n&&t||Io(()=>r.id,(t,n)=>{jg(Ng(r,t),e,o),Fg(n&&Ng(r,n))})}),wr(()=>{Fg(t||Ng(r),o)})}let Vg=0;function Wg(e){const t=iu(),n=Xi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Vg++;return yr(()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}}),`${o}.${r}`}function Hg(e,t,n,o){m(t)&&gr(e,t.bind(n),o)}function Ug(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(rt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach(e=>Hg(o,e,n,t)):Hg(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,hu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&hu(n,re)}catch(r){console.error(r.message+ee+r.stack)}}}function Yg(e,t,n){Ug(e,t,n)}function Xg(e,t,n){return e[t]=n}function Kg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Gg(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[ae]?hu(i.proxy,ae,n):Yn(n,0,o&&o.$.vnode,!1)}}function Jg(e,t){return e?[...new Set([].concat(e,t))]:t}function Zg(e){const t=e.config;var n;t.errorHandler=st(e,Gg),n=t.optionMergeStrategies,rt.forEach(e=>{n[e]=Jg});const o=t.globalProperties;o.$set=Xg,o.$applyOptions=Yg,o.$callMethod=Kg,function(e){it.forEach(t=>t(e))}(e)}function Qg(e){const t=Dl({history:nm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:tm});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(em[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let em=Object.create(null);const tm=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,em[o]);if(t)return t}return{left:0,top:0};var o};function nm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Za(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Ep(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=bp(t[r]);Mp(Op(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const om={install(e){Zg(e),Lu(e),qu(e),e.config.warnHandler||(e.config.warnHandler=rm),Qg(e)}};function rm(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const im={class:"uni-async-loading"},sm=zi("i",{class:"uni-loading"},null,-1),am=Xu({name:"AsyncLoading",render:()=>(ki(),Ai("div",im,[sm]))});function lm(){window.location.reload()}const cm=Xu({name:"AsyncError",props:["error"],setup(){lc();const{t:e}=sc();return()=>zi("div",{class:"uni-async-error",onClick:lm},[e("uni.async.error")],8,["onClick"])}});let um;function dm(){return um}function fm(e){um=e,Object.defineProperty(um.$.ctx,"$children",{get:()=>Ep().map(e=>e.$vm)});const t=um.$.appContext.app;t.component(am.name)||t.component(am.name,am),t.component(cm.name)||t.component(cm.name,cm),function(e){e.$vm=e,e.$mpType="app";const t=Bn(sc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(um),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(um),ju(),wu()}function pm(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Xi();if(n(r.proxy),o(r),i)return i(e,t)},e}function hm(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?pm(e.default,t):pm(e,t)}function gm(e){return hm(e,{clone:!0,init:Lp,setup(e){e.$pageInstance=e;const t=ld(),n=Ze(t.query);e.attrs.__pageQuery=n,bp(e.proxy).options=n,e.proxy.options=n;const o=sd();var r,i;return gp(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),Io([e.onReachBottom,e.onPageScroll],()=>{const t=au();e.proxy===t&&Fp(e,o)},{once:!0}),vr(()=>{Rp(e,o)}),yr(()=>{zp(e);const{onReady:n}=e;n&&I(n),bm(t)}),cr(()=>{if(!e.__isVisible){Rp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&I(n),oo(()=>{bm(t)})}},"ba",r),function(e,t){cr(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&I(t)}}}),i=o.id,Ay.subscribe(_c(i,mc),xc),wr(()=>{!function(e){Ay.unsubscribe(_c(e,mc)),Object.keys(bc).forEach(t=>{0===t.indexOf(e+".")&&delete bc[t]})}(o.id)}),n}})}function mm(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=ov(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Py.emit(ge,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function vm(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Py.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function ym(){const{emit:e}=Py;"visible"===document.visibilityState?e(Pe,c({},ch)):e(Le)}function bm(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&hu("onTabItemTap",{index:n,text:t,pagePath:o})}function _m(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function wm(e,t,n){const o=wn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(a){function l(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=a.targetTouches[0],d=u.pageX,f=u.pageY,p=r,h=t.value;if("progress"===c?(!function(e){const n=t.value,r=n.duration;let i=e/600*r+o.currentTimeOld;i<0?i=0:i>r&&(i=r);o.currentTimeNew=i}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=i,o.volumeNew=i)}(f-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(f-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=h.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const xm={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},Sm=Yu({name:"Video",props:xm,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=Bn(null),i=Bn(null),s=Gu(r,t),{state:a}=Uh(),{$attrs:l}=cg({excludeListeners:!0});sc(),hc();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:T}=function(e,t,n){const o=Bn(null),r=is(()=>Vp(e.src)),i=is(()=>"true"===e.muted||!0===e.muted),s=wn({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Io(()=>r.value,()=>{s.playing=!1,s.currentTime=0}),Io(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Io(()=>i.value,e=>{o.value.muted=e}),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:M,updateDanmu:A,toggleDanmu:P,sendDanmu:L}=function(e,t){const n=Bn(null),o=wn({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return i.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:$,emitFullscreenChange:I,toggleFullscreen:R,requestFullScreen:z,exitFullScreen:B}=function(e,t,n,o,r){const i=wn({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return wr(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:D,onTouchstart:N,onTouchend:j,onTouchmove:F}=wm(e,c,O),{state:q,progressRef:V,ballRef:W,clickProgress:H,toggleControls:U}=function(e,t,n,o){const r=Bn(null),i=Bn(null),s=is(()=>e.showCenterPlayBtn&&!t.start),a=Bn(!0),l=is(()=>!s.value&&e.controls&&a.value),c=wn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function f(){u&&(clearTimeout(u),u=null)}return wr(()=>{u&&clearTimeout(u)}),Io(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),yr(()=>{const e=Ke(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(h=100),t.progress=h,null==o||o(t.duration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)}),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)}),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,g,e=>{D.currentTimeNew=e});!function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};qg((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Wg(),!0)}(d,f,h,g,L,m,z,B);const Y=function(e,t,n){const o=is(()=>"progress"===t.gestureType||n.touching);return Io(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Io([()=>e.currentTime,()=>{xm.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Io(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,D,q);return()=>zi("uni-video",{ref:r,id:e.id,onClick:U},[zi("div",{ref:i,class:"uni-video-container",onTouchstart:N,onTouchend:j,onTouchmove:F,onFullscreenchange:ta($,["stop"]),onWebkitfullscreenchange:ta(e=>$(e,!0),["stop"])},[zi("video",Vi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:S,onPause:k,onEnded:C,onTimeupdate:e=>{T(e),A(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),No(zi("div",{class:"uni-video-bar uni-video-bar-full",onClick:ta(()=>{},["stop"])},[zi("div",{class:"uni-video-controls"},[No(zi("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ta(v,["stop"])},null,10,["onClick"]),[[Ms,e.showPlayBtn]]),No(zi("div",{class:"uni-video-current-time"},[_m(u.currentTime)],512),[[Ms,e.showProgress]]),No(zi("div",{ref:V,class:"uni-video-progress-container",onClick:ta(H,["stop"])},[zi("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[zi("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),zi("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),zi("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[zi("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Ms,e.showProgress]]),No(zi("div",{class:"uni-video-duration"},[_m(Number(e.duration)||u.duration)],512),[[Ms,e.showProgress]])]),No(zi("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ta(P,["stop"])},null,10,["onClick"]),[[Ms,e.danmuBtn]]),No(zi("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:ta(()=>R(!O.fullscreen),["stop"])},null,10,["onClick"]),[[Ms,e.showFullscreenBtn]])],8,["onClick"]),[[Ms,q.controlsShow]]),No(zi("div",{ref:M,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ms,u.start&&E.enable]]),q.centerPlayBtnShow&&zi("div",{class:"uni-video-cover",onClick:ta(()=>{},["stop"])},[zi("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ta(d,["stop"])},null,8,["onClick"])],8,["onClick"]),zi("div",{class:"uni-video-loading"},["volume"===D.gestureType?zi("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":D.toastThin},style:{marginTop:"5px"}},[!D.toastThin&&D.volumeNew>0&&"volume"===D.gestureType?zi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!D.toastThin&&zi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),zi("div",{class:"uni-video-toast-draw",style:{width:100*D.volumeNew+"%"}},null)],2):null]),zi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[zi("div",{class:"uni-video-toast-title"},[zi("span",{class:"uni-video-toast-title-current-time"},[_m(D.currentTimeNew)])," / ",Number(e.duration)||_m(u.duration)])],2),zi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}});let km,Cm=0;function Tm(e,t,n,o){var r,i=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+Cm++,l=t.timeout||3e4;function c(){clearTimeout(r),delete window[a],i.remove()}window[a]=e=>{m(n)&&n(e),c()},i.onerror=()=>{m(o)&&o(),c()},r=setTimeout(function(){m(o)&&o(),c()},l),i.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(i)}function Em(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function r(){}function i(){this.Text&&this.option.map.remove(this.Text)}function s(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(e={},a){this.createAMapText=o,this.removeAMapText=i,this.createBMapText=r,this.removeBMapText=s,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(Rm())this.callback=a,this.visible&&this.createAMapText();else if(zm())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(r),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,Rm()?this.visible&&this.createAMapText():zm()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!Rm()&&!zm()){const t=new(e.OverlayView||e.Overlay);a.prototype.setMap=t.setMap,a.prototype.getMap=t.getMap,a.prototype.getPanes=t.getPanes,a.prototype.getProjection=t.getProjection,a.prototype.map_changed=t.map_changed,a.prototype.set=t.set,a.prototype.get=t.get,a.prototype.setOptions=t.setValues,a.prototype.bindTo=t.bindTo,a.prototype.bindsTo=t.bindsTo,a.prototype.notify=t.notify,a.prototype.setValues=t.setValues,a.prototype.unbind=t.unbind,a.prototype.unbindAll=t.unbindAll,a.prototype.addListener=t.addListener}return a}const Mm={};function Am(e,t){const n=Om();if(!n.key)return void console.error("Map key not configured.");const o=Mm[n.type]=Mm[n.type]||[];if(km)t(km);else if(window[n.type]&&window[n.type].maps)km=Rm()||zm()?window[n.type]:window[n.type].maps,km.Callout=km.Callout||Em(km),t(km);else if(o.length)o.push(t);else{o.push(t);const r=window,i="__map_callback__"+n.type;r[i]=function(){delete r[i],km=Rm()||zm()?window[n.type]:window[n.type].maps,km.Callout=Em(km),o.forEach(e=>e(km)),o.length=0},Rm()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=Pm(n.type);n.type===Lm.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Lm.BMAP?s.src=`${a}ak=${n.key}&callback=${i}`:s.src=`${a}key=${n.key}&callback=${i}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const Pm=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var Lm=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Lm||{});function Om(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let $m=!1,Im=!1;const Rm=()=>Im?$m:(Im=!0,$m="AMap"===Om().type),zm=()=>"BMapGL"===Om().type;const Bm=Xu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=Zr("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),xr(()=>{n.remove()}),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),r=document.createElement("div");return Object.keys(o).forEach(e=>{r.style[e]=o[e]||""}),n.innerText=`.${t}{${r.getAttribute("style")}}`,t}}(t);let r;function i(e){Rm()?e.removeAMapText():e.setMap(null)}if(n((n,s,a)=>{function l(e){const l=e.title;let c;c=Rm()?new s.LngLat(e.longitude,e.latitude):zm()?new s.Point(e.longitude,e.latitude):new s.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const f=e.anchor||{};let p,h,g,m,v="number"==typeof f.x?f.x:.5,y="number"==typeof f.y?f.y:1;e.iconPath&&(e.width||e.height)?(h=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(h=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),p="MarkerImage"in s?new s.MarkerImage(u.src,null,null,new s.Point(v*h,y*g),new s.Size(h,g)):"Icon"in s?new s.Icon({image:u.src,size:new s.Size(h,g),imageSize:new s.Size(h,g),imageOffset:new s.Pixel(v*h,y*g)}):{url:u.src,anchor:new s.Point(v,y),size:new s.Size(h,g)},zm()?(r=new s.Marker(new s.Point(c.lng,c.lat)),n.addOverlay(r)):(r.setPosition(c),r.setIcon(p)),"setRotation"in r&&r.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in r&&(r.label.setMap(null),delete r.label),b.content){const e={borderColor:b.borderColor,borderWidth:(Number(b.borderWidth)||0)+"px",padding:(Number(b.padding)||0)+"px",borderRadius:(Number(b.borderRadius)||0)+"px",backgroundColor:b.bgColor,color:b.color,fontSize:(b.fontSize||14)+"px",lineHeight:(b.fontSize||14)+"px",marginLeft:(Number(b.anchorX||b.x)||0)+"px",marginTop:(Number(b.anchorY||b.y)||0)+"px"};if("Label"in s)_=new s.Label({position:c,map:n,clickable:!1,content:b.content,style:e}),r.label=_;else if("setLabel"in r)if(Rm()){const t=`
\n ${b.content}\n
`;r.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);r.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,S=r.callout;if(w.content||l){Rm()&&w.content&&(w.content=w.content.replaceAll("\n","
"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let i=-d/2;if((e.width||e.height)&&(i+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:i,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||o,display:w.display}:{position:c,map:n,top:m,offsetY:i,content:l,boxShadow:o},S)S.setOption(x);else if(Rm()){const e=()=>{""!==t&&a("callouttap",{},{markerId:Number(t)})};S=r.callout=new s.Callout(x,e)}else S=r.callout=new s.Callout(x),S.div.onclick=function(e){""!==t&&a("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},Om().type===Lm.GOOGLE&&(S.div.ontouchstart=function(e){e.stopPropagation()},S.div.onpointerdown=function(e){e.stopPropagation()})}else S&&(i(S),delete r.callout)},e.iconPath?u.src=Vp(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){zm()||(r=new s.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=s.event||s.Event;zm()||o.addListener(r,"click",()=>{const n=r.callout;if(n&&!n.alwaysVisible)if(Rm())n.visible=!n.visible,n.visible?r.callout.createAMapText():r.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&a("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})})}(e),Io(e,l)}),t){const e=Zr("addMapChidlContext"),o=Zr("removeMapChidlContext"),i={id:t,translate(e){n((t,n,o)=>{const i=e.destination,s=e.duration,a=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in r&&(c=r.getRotation());const u=r.getPosition(),d=new n.LatLng(i.latitude,i.longitude),f=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof s?s:1e3)/36e5),p=n.event||n.Event,h=p.addListener(r,"moving",e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)}),g=p.addListener(r,"moveend",()=>{g.remove(),h.remove(),r.lastPosition=u,r.setPosition(d);const t=r.label;t&&t.setPosition(d);const n=r.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()});let v=0;a&&(r.lastPosition&&(v=n.geometry.spherical.computeHeading(r.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in r&&r.setRotation(c+l),"moveTo"in r?r.moveTo(d,f):(r.setPosition(d),p.trigger(r,"moveend",{}))})}};e(i),xr(()=>o(i))}return xr(function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))}),()=>null}});function Dm(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,i,s]=t.match(/(\w{2})/g);const a=parseInt(o,16),l=parseInt(r,16),c=parseInt(i,16);return s?{r:a,g:l,b:c,a:(`0x100${s}`-65536)/255}:{r:a,g:l,b:c,a:1}}const Nm={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}},jm=Xu({name:"MapPolyline",props:Nm,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Zr("onMapReady")((r,i)=>{function s(e){const o=[];e.points.forEach(e=>{let t;t=Rm()?[e.longitude,e.latitude]:zm()?new i.Point(e.longitude,e.latitude):new i.LatLng(e.latitude,e.longitude),o.push(t)});const s=Number(e.width)||1,{r:a,g:l,b:c,a:u}=Dm(e.color),{r:d,g:f,b:p,a:h}=Dm(e.borderColor),g={map:r,clickable:!1,path:o,strokeWeight:s,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:r,clickable:!1,path:o,strokeWeight:s+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(a,l,c,u),v.strokeColor=new i.Color(d,f,p,h)):(g.strokeColor=`rgb(${a}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${f}, ${p})`,v.strokeOpacity=h),m&&(n=new i.Polyline(v)),zm()?(t=new i.Polyline(g.path,g),r.addOverlay(t)):t=new i.Polyline(g)}s(e),Io(e,function(e){o(),s(e)})}),xr(o),()=>null}}),Fm=Xu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return Zr("onMapReady")((o,r)=>{function i(e){const n=Rm()||zm()?[e.longitude,e.latitude]:new r.LatLng(e.latitude,e.longitude),i={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(zm())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:s}=Dm(e.fillColor),{r:a,g:l,b:c,a:u}=Dm(e.color);"Color"in r?(i.fillColor=new r.Color(t,n,o,s),i.strokeColor=new r.Color(a,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${o})`,i.fillOpacity=s,i.strokeColor=`rgb(${a}, ${l}, ${c})`,i.strokeOpacity=u)}if(zm()){let e=new r.Point(i.center[0],i.center[1]);t=new r.Circle(e,i.radius,i),o.addOverlay(t)}else t=new r.Circle(i),Rm()&&o.add(t)}i(e),Io(e,function(e){n(),i(e)})}),xr(n),()=>null}}),qm={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},Vm=Xu({name:"MapControl",props:qm,setup(e){const t=is(()=>Vp(e.iconPath)),n=is(()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t}),o=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>zi("div",{class:"uni-map-control"},[zi("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Wm=Yd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Hm="__DC_STAT_UUID",Um=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Ym;function Xm(){if(Ym=Ym||Um[Hm],!Ym){Ym=Date.now()+""+Math.floor(1e7*Math.random());try{Um[Hm]=Ym}catch(e){}}return Ym}function Km(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Gm(){let e,t="0",n="",o="phone";const r=navigator.language;if(Up){e="iOS";const o=Wp.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Wp.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Hp){e="Android";const o=Wp.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Wp.match(/\((.+?)\)/),i=r?r[1].split(";"):Wp.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Jp(),n=Zp(t),o=Qp(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=eh(o);let s=window.innerHeight;const a=Vc.top,l={left:Vc.left,right:i-Vc.right,top:Vc.top,bottom:s-Vc.bottom,width:i-Vc.left-Vc.right,height:s-Vc.top-Vc.bottom},{top:c,bottom:u}=Xc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Vc.top,right:Vc.right,bottom:Vc.bottom,left:Vc.left},screenTop:r-s}});let Zm,Qm=!0;function ev(){Qm&&(Zm=Gm())}const tv=Ud(0,()=>{ev();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Zm;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Xm(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:u})}),nv=Ud(0,()=>{ev();const{theme:e,language:t,browserName:n,browserVersion:o}=Zm;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:kf?kf():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})}),ov=Ud(0,()=>{Qm=!0,ev(),Qm=!1;const e=Jm(),t=tv(),n=nv();Qm=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Zm,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});let rv=null;const iv=Vd(Ef,()=>{av()}),sv=Wd("offCompass",()=>{lv()}),av=Yd("startCompass",(e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!rv){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then(e=>{"granted"===e?(o(),t()):n(`${e}`)}).catch(e=>{n(`${e}`)});o()}t()}else n();function o(){rv=function(e){const t=360-(null!==e.alpha?e.alpha:360);Py.invokeOnCallback(Ef,{direction:t})},window.addEventListener("deviceorientation",rv,!1)}}),lv=Yd("stopCompass",(e,{resolve:t})=>{rv&&(window.removeEventListener("deviceorientation",rv,!1),rv=null),t()});const cv=Yd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())});var n,o,r},0,Tf);const uv=Ud(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function dv(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const fv=Ud(0,e=>{try{return dv(e)}catch(t){return""}}),pv=Ud(0,e=>{localStorage&&localStorage.removeItem(e)}),hv={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};let gv=null;const mv=Yd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{dc();const{t:i}=sc();gv&&(document.body.removeChild(gv),gv=null),gv=function({count:e,sourceType:t,type:n,extension:o}){Hh();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${hv[n][t]||t}`}}).join(","),e&&e>1&&(r.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(gv),gv.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),gv.addEventListener("change",function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||ah(t),i)}),oe)},tempFiles:r})}),gv.click(),qh||console.warn(i("uni.chooseFile.notUserActivation"))},0,Pf),vv={esc:["Esc","Escape"],enter:["Enter"]},yv=Object.keys(vv);function bv(){const e=Bn(""),t=Bn(!1),n=n=>{if(t.value)return;const o=yv.find(e=>-1!==vv[e].indexOf(n.key));o&&(e.value=o),oo(()=>e.value="")};return yr(()=>{document.addEventListener("keyup",n)}),wr(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const _v=Hd("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new xv(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout(function(){h.abort(),u("timeout",{errCode:5})},l);f.signal.addEventListener("abort",function(){clearTimeout(p),u("abort",{errCode:600003})}),window.fetch(e,f).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=wv(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=kv(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;h=new xv(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=kv(n,i,r)),c({data:n,statusCode:e,header:Sv(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h},0,If),wv=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Sv(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function kv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class Cv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Tv=Hd("uploadFile",({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Cv;return p(r)&&r.length||(n||c("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(sh(e)):ih(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach(e=>{d.append(e,s[e])}),Object.values(r).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(i).forEach(e=>{o.setRequestHeader(e,i[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},a),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,Rf),Ev=Yd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const s=Om();new Promise((e,r)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),r,{enableHighAccuracy:o||t,timeout:n||1e5}):r(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{s.type===Lm.QQ?Tm(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${s.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):s.type===Lm.GOOGLE?_v({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${s.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):s.type===Lm.AMAP?Am([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=Om();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Tm(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:r}=n.locations[0];e({longitude:o,latitude:r,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{Am([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:r}=o.locations[0];e({longitude:r,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then(e=>{r({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{i(e.message)})}).catch(e=>{i(e.message||JSON.stringify(e))})},0,Af),Mv=Yd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===hu(me,{from:e.from||"navigateBack"})&&(o=!1),o?(dm().$router.go(-e.delta),t()):n(me)},0,Wf),Av=Yd(Bf,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(_p.handledBeforeEntryPageRoutes)return sp({type:Bf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);wp.push({args:{type:Bf,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Ff);function Pv(e){__uniConfig.darkmode&&Py.on(le,e)}function Lv(e){let t={};return __uniConfig.darkmode&&(t=dt(e,__uniConfig.themeConfig,Km())),__uniConfig.darkmode?t:e}const Ov={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Jf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},$v="uni-toast__icon",Iv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Rv=e=>Iv[e],zv=Zo({name:"Toast",props:Ov,setup(e){cc(),uc();const{Icon:t}=function(e){const t=Bn(Rv(Km())),n=({theme:e})=>t.value=Rv(e);Oo(()=>{var t;e.visible?Pv(n):(t=n,Py.off(le,t))});const o=is(()=>{switch(e.icon){case"success":return zi(ru(nu,t.value,38),{class:$v});case"error":return zi(ru(ou,t.value,38),{class:$v});case"loading":return zi("i",{class:[$v,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=function(e,{onEsc:t,onEnter:n}){const o=Bn(e.visible),{key:r,disable:i}=bv();return Io(()=>e.visible,e=>o.value=e),Io(()=>o.value,e=>i.value=!e),Oo(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return zi(hs,{name:"uni-fade"},{default:()=>[No(zi("uni-toast",{"data-duration":r},[o?zi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Wc},null,40,["onTouchmove"]):"",s||t.value?zi("div",{class:"uni-toast"},[s?zi("img",{src:s,class:$v},null,10,["src"]):t.value,zi("p",{class:"uni-toast__content"},[i])]):zi("div",{class:"uni-sample-toast"},[zi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ms,n.value]])]})}}});let Bv,Dv,Nv="";const jv=gt();function Fv(e){Bv?c(Bv,e):(Bv=wn(c(e,{visible:!1})),oo(()=>{var e,t,n;jv.run(()=>{Io([()=>Bv.visible,()=>Bv.duration],([e,t])=>{if(e){if(Dv&&clearTimeout(Dv),"onShowLoading"===Nv)return;Dv=setTimeout(()=>{Uv("onHideToast")},t)}else Dv&&clearTimeout(Dv)})}),Py.on("onHidePopup",()=>Uv("onHidePopup")),(e=zv,t=Bv,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ra(Zo({setup:()=>()=>(ki(),Ai(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))})),setTimeout(()=>{Bv.visible=!0},10)}const qv=Yd("showToast",(e,{resolve:t,reject:n})=>{Fv(e),Nv="onShowToast",t()},0,Zf),Vv={icon:"loading",duration:1e8,image:""},Wv=Yd("showLoading",(e,{resolve:t,reject:n})=>{c(e,Vv),Fv(e),Nv="onShowLoading",t()},0,Gf),Hv=Yd("hideLoading",(e,{resolve:t,reject:n})=>{Uv("onHideLoading"),t()});function Uv(e){const{t:t}=sc();if(!Nv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Nv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Nv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Nv="",setTimeout(()=>{Bv.visible=!1},10)}const Yv=Yd("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then(()=>{o.add&&o.add(r)})}return new Promise(o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:s,featureSettings:a}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Vp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Vp(t.substring(4,t.length-1))}')`:Vp(t),n).then(()=>{o()}).catch(e=>{r(`loadFontFace:fail ${e}`)})});function Xv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Py.emit("onNavigationBarChange",{titleText:t})}Oo(t),ar(t)}const Kv=Yd(Qf,(e,{resolve:t})=>{Py.invokeViewMethod(Qf,{},cu()),t()}),Gv=Xu({name:"TabBar",setup(){const e=Bn([]),t=cp(),n=function(e,t){const n=Cn(e),o=n?wn(Lv(e)):Lv(e);return __uniConfig.darkmode&&n&&Io(e,e=>{const t=Lv(e);for(const n in t)o[n]=t[n]}),t&&Pv(t),o}(t,()=>{const e=Lv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Bn(c({type:"midButton"},e.midButton)),Oo(n)}(n,e),function(e){Io(()=>e.shown,t=>{Gc({"--window-bottom":mp(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Oo(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=r}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:r}=t;let i=$e(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?op({from:"tabBar",url:i,tabBarText:r}):hu("onTabItemTap",{index:n,text:r,pagePath:o})}}}(Nl(),n,e),{style:r,borderStyle:i,placeholderStyle:s}=function(e){const t=is(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||pp&&n&&"none"!==n&&(t=ey[n]),{backgroundColor:t||Jv,backdropFilter:"none"!==n?"blur(10px)":n}}),n=is(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:ty[t]||ty.black}}),o=is(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return yr(()=>{n.iconfontSrc&&Yv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,r,i,s,a){return zi("div",{key:s,class:"uni-tabbar__item",onClick:a(r,s)},[ny(e,t||"",n,o,r,i)],8,["onClick"])}(a?r:i,a&&n.selectedIconPath||n.iconPath||"",n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,s,t)})}(n,o,e);return zi("uni-tabbar",{class:"uni-tabbar-"+n.position},[zi("div",{class:"uni-tabbar",style:r.value},[zi("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),zi("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Jv="#f7f7fa",Zv="rgb(0, 0, 0, 0.8)",Qv="rgb(250, 250, 250, 0.8)",ey={dark:Zv,light:Qv,extralight:Qv},ty={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function ny(e,t,n,o,r,i){const{height:s}=i;return zi("div",{class:"uni-tabbar__bd",style:{height:s}},[n?ry(n,o||Zv,r,i):t&&oy(t,r,i),r.text&&iy(e,r,i),r.redDot&&sy(r.badge)],4)}function oy(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return zi("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&zi("img",{src:Vp(e)},null,8,["src"])],6)}function ry(e,t,n,o){var r;const{type:i,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||a,color:t};return zi("div",{class:l,style:c},["midButton"!==i&&zi("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function iy(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:s}=n;return zi("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[r],4)}function sy(e){return zi("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const ay="0px",ly=Xu({name:"Layout",setup(e,{emit:t}){const n=Bn(null);Kc({"--status-bar-height":ay,"--top-window-height":ay,"--window-left":ay,"--window-right":ay,"--window-margin":ay,"--tab-bar-height":ay});const o=function(){const e=Nl();return{routeKey:is(()=>Op("/"+e.meta.route,cd())),isTabBar:is(()=>e.meta.isTabBar),routeCache:Ip}}(),{layoutState:r,windowState:i}=function(){ld();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Io(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Io(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Io(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:is(()=>({}))}}}();!function(e,t){const n=ld();function o(){const o=document.body.clientWidth,r=Ep();let i={};if(r.length>0){i=bp(r[r.length-1]).meta}else{const e=_u(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,oo(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,oo(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Io([()=>n.path],o),yr(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(){const e=ld(),t=cp(),n=is(()=>e.meta.isTabBar&&t.shown);return Kc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=Bn(!1);return is(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(s);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return zi(Bl,null,{default:bo(({Component:o})=>[(ki(),Ai(ir,{matchBy:"key",cache:n},[(ki(),Ai(Eo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return No(zi(Gv,null,null,512),[[Ms,e.value]])}(s);return zi("uni-app",{ref:n,class:a.value},[e,t],2)}}});const cy="MAP_LOCATION",uy=Xu({name:"MapLocation",setup(){const e=wn({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){Ev({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),sv(t)};const r=Zr("onMapReady");let i;iv(t),r(n),xr(o);const s=Zr("addMapChidlContext"),a=Zr("removeMapChidlContext"),l={id:cy,state:e};s(l),xr(()=>a(l))}return()=>e.latitude?zi(Bm,Vi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM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fPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII="},e),null,16,["iconPath"]):null}}),dy=Xu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return Zr("onMapReady")((n,o,r)=>{function i(){const{points:r,strokeWidth:i,strokeColor:s,dashArray:a,fillColor:l,zIndex:c}=e,u=r.map(e=>{const{latitude:t,longitude:n}=e;return Rm()?[n,t]:zm()?new o.Point(n,t):new o.LatLng(t,n)}),{r:d,g:f,b:p,a:h}=Dm(l),{r:g,g:m,b:v,a:y}=Dm(s),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:a.some(e=>e>0)?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};o.Color?(b.fillColor=new o.Color(d,f,p,h),b.strokeColor=new o.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${f}, ${p})`,b.fillOpacity=h,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):zm()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}i(),Io(e,i)}),xr(()=>{t.setMap(null)}),()=>null}});function fy(e){const t=[];return p(e)&&e.forEach(e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})}),t}function py(e,t,n){return zm()?function(e,t,n){return new e.Point(n,t)}(e,t,n):Rm()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function hy(e){return"getLat"in e?e.getLat():zm()?e.lat:e.lat()}function gy(e){return"getLng"in e?e.getLng():zm()?e.lng:e.lng()}function my(e,t,n){const o=Gu(t,n),r=Bn(null);let i,s;const a=wn({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:fy(e.includePoints)}),l=[];let u,d;function f(e){u?e(s,i,o):l.push(e)}const p=[];function h(e){d?e():l.push(e)}const g={};function m(){d=!0,p.forEach(e=>e()),p.length=0}function v(){const e=s.getCenter();return{scale:s.getZoom(),centerLocation:{latitude:hy(e),longitude:gy(e)}}}function y(){if(Rm()){const e=[];a.includePoints.forEach(t=>{e.push([t.longitude,t.latitude])});const t=new i.Bounds(...e);s.setBounds(t)}else if(zm());else{const e=new i.LatLngBounds;a.includePoints.forEach(({latitude:t,longitude:n})=>{const o=new i.LatLng(t,n);e.extend(o)}),s.fitBounds(e)}}function b(){const t=r.value,l=py(i,a.latitude,a.longitude),u=i.event||i.Event,d=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(zm()&&(d.centerAndZoom(l,Number(e.scale)),d.enableScrollWheelZoom(),d._printLog&&d._printLog("uniapp")),Io(()=>e.scale,e=>{d.setZoom(Number(e)||16)}),h(()=>{a.includePoints.length&&(y(),function(){const e=py(i,a.latitude,a.longitude);s.setCenter(e)}())}),zm())d.addEventListener("click",()=>{o("tap",{},{}),o("click",{},{})}),d.addEventListener("dragstart",()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})}),d.addEventListener("dragend",()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},v()))});else{const e=u.addListener(d,"bounds_changed",()=>{e.remove(),m()});u.addListener(d,"complete",()=>{m()}),u.addListener(d,"click",()=>{o("tap",{},{}),o("click",{},{})}),u.addListener(d,"dragstart",()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})}),u.addListener(d,"dragend",()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},v()))});const t=()=>{n("update:scale",d.getZoom()),o("regionchange",{},c({type:"end",causedBy:"scale"},v()))};u.addListener(d,"zoom_changed",t),u.addListener(d,"zoomend",t),u.addListener(d,"center_changed",()=>{const e=d.getCenter(),t=hy(e),o=gy(e);n("update:latitude",t),n("update:longitude",o)})}return d}Io([()=>e.latitude,()=>e.longitude],([e,t])=>{const n=Number(e),o=Number(t);if((n!==a.latitude||o!==a.longitude)&&(a.latitude=n,a.longitude=o,s)){const e=py(i,a.latitude,a.longitude);s.setCenter(e)}}),Io(()=>e.includePoints,e=>{a.includePoints=fy(e),d&&y()},{deep:!0});try{qg((e,t={})=>{switch(e){case"getCenterLocation":f(()=>{const n=s.getCenter();Be(t,{latitude:hy(n),longitude:gy(n),errMsg:`${e}:ok`})});break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g[cy];e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(a.latitude=n,a.longitude=o,s){const e=py(i,n,o);s.setCenter(e)}f(()=>{Be(t,`${e}:ok`)})}else Be(t,`${e}:fail`)}break;case"translateMarker":f(()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){Be(t,`${e}:fail ${o.message}`)}Be(t,`${e}:ok`)}else Be(t,`${e}:fail not found`)});break;case"includePoints":a.includePoints=fy(t.includePoints),(d||Rm())&&y(),h(()=>{Be(t,`${e}:ok`)});break;case"getRegion":h(()=>{const n=s.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();Be(t,{southwest:{latitude:hy(o),longitude:gy(o)},northeast:{latitude:hy(r),longitude:gy(r)},errMsg:`${e}:ok`})});break;case"getScale":f(()=>{Be(t,{scale:s.getZoom(),errMsg:`${e}:ok`})})}},Wg(),!0)}catch(_){}return yr(()=>{Am(e.libraries,e=>{i=e,s=b(),u=!0,l.forEach(e=>e(s,i,o)),l.length=0,o("updated",{},{})})}),Jr("onMapReady",f),Jr("addMapChidlContext",function(e){g[e.id]=e}),Jr("removeMapChidlContext",function(e){delete g[e.id]}),{state:a,mapRef:r,trigger:o}}const vy=Yu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=Bn(null),{mapRef:r,trigger:i}=my(e,o,t);return()=>zi("uni-map",{ref:o,id:e.id},[zi("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map(e=>zi(Bm,Vi({key:e.id},e),null,16)),e.polyline.map(e=>zi(jm,e,null,16)),e.circles.map(e=>zi(Fm,e,null,16)),e.controls.map(e=>zi(Vm,Vi(e,{trigger:i}),null,16,["trigger"])),e.showLocation&&zi(uy,null,null),e.polygons.map(e=>zi(dy,e,null,16)),zi("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function yy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pi(e)}function by(e){if(e.mode===xy.TIME)return"00:00";if(e.mode===xy.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Sy.YEAR:return t.toString();case Sy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function _y(e){if(e.mode===xy.TIME)return"23:59";if(e.mode===xy.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Sy.YEAR:return t.toString();case Sy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function wy(e,t,n,o){const r=e.mode===xy.DATE?"-":":",i=e.mode===xy.DATE?t.dateArray:t.timeArray;let s;if(e.mode===xy.TIME)s=2;else switch(e.fields){case Sy.YEAR:s=1;break;case Sy.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c=0&&(l=o?wy(e,t,o):l.map(()=>0)),l}const xy={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Sy={YEAR:"year",MONTH:"month",DAY:"day"},ky={PICKER:"picker",SELECT:"select"},Cy=Yu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:xy.SELECTOR,validator:e=>Object.values(xy).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>by(e)},end:{type:String,default:e=>_y(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){pc();const{t:o}=sc(),r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Bn(!1),{state:u,rangeArray:d}=function(e){const t=wn({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=is(()=>{let n=e.range;switch(e.mode){case xy.SELECTOR:return[n];case xy.MULTISELECTOR:return n;case xy.TIME:return t.timeArray;case xy.DATE:{const n=t.dateArray;switch(e.fields){case Sy.YEAR:return[n[0]];case Sy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Gu(r,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:S,_resetFormData:k,_getFormData:C,_createTime:T,_createDate:E,_setValueSync:M}=function(e,t,n,o,r,i,s){const a=function(){const e=Bn(!1);return e.value=Ty(),e}(),l=function(){const e=Bn("");return e.value=Ey(),e}(),c=is(()=>{const t=e.selectorType;return Object.values(ky).includes(t)?t:a.value?ky.PICKER:ky.SELECT}),u=is(()=>e.mode===xy.DATE&&!Object.values(Sy).includes(e.fields)&&t.isDesktop?l.value:""),d=is(()=>wy(e,t,e.start,by(e))),f=is(()=>wy(e,t,e.end,_y(e)));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout(()=>{t.visible=!0},20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case xy.SELECTOR:t.valueSync=0;break;case xy.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case xy.DATE:case xy.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&to&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;na?0:s)}}break;case xy.TIME:case xy.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function k(){let n,o=t.valueSync;switch(e.mode){case xy.MULTISELECTOR:n=[...o];break;case xy.TIME:n=wy(e,t,o,ze({mode:xy.TIME}));break;case xy.DATE:n=wy(e,t,o,ze({mode:xy.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case xy.SELECTOR:return n[0];case xy.MULTISELECTOR:return n.map(e=>e);case xy.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case xy.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function T(){M(),t.valueChangeSource="click";const e=C();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function A(){e.mode===xy.SELECTOR&&c.value===ky.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function P(e){const n=e.target;t.valueSync=n.value,oo(()=>{T()})}function L(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function O(e){t.valueArray=$(e.detail.value,!0)}function $(t,n){const{getLocale:o}=sc();if(e.mode===xy.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Sy.YEAR:return t;case Sy.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function I(t,n){const{getLocale:o}=sc();if(e.mode===xy.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Sy.YEAR&&n===(e.fields===Sy.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return Io(()=>t.visible,e=>{e?(clearTimeout(My),t.contentVisible=e,A()):My=setTimeout(()=>{t.contentVisible=e},300)}),Io([()=>e.mode,()=>e.value,()=>e.range],S,{deep:!0}),Io(()=>t.valueSync,k,{deep:!0}),Io(()=>t.valueArray,o=>{if(e.mode===xy.TIME||e.mode===xy.DATE){const n=e.mode===xy.TIME?_:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===xy.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();in(i)&&x(o,i)}o.forEach((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===xy.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))})}),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:T,_l10nColumn:$,_l10nItem:I,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:S,_fixInputPosition:L,_pickerViewChange:O}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=bv();Oo(()=>{r.value=!e.visible}),Io(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,S),function(e,t){const n=Zr(ed,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),wr(()=>{n.removeField(o)})}}(k,C),T(),E(),M();const A=function(e){const t=Bn(0),n=Bn(0),o=is(()=>t.value>=500&&n.value>=500),r=is(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width?s.width:300),o=a(s.top),l=a(s.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-t/2);r.left=`${d}px`,s.width&&(r.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),i.left=`${f}px`;const p=n.value/2;o+l-p>p-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t});return yr(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=ov();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),xr(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:r}}(u);return Oo(()=>{u.isDesktop=A.isDesktop.value,u.popupStyle=A.popupStyle.value}),wr(()=>{i.value&&i.value.remove()}),yr(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:k,valueSync:C}=u,{rangeKey:T,mode:E,start:M,end:A}=e,P=Qu(e,"disabled");return zi("uni-picker",Vi({ref:r},P,{onClick:Ku(m)}),[l.value?zi("div",{ref:i,class:["uni-picker-container",`uni-${E}-${g.value}`],onWheel:Wc,onTouchmove:Wc},[zi(hs,{name:"uni-fade"},{default:()=>[No(zi("div",{class:"uni-mask uni-picker-mask",onClick:Ku(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Ms,c]])]}),h.value?null:zi("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:k.content},[zi("div",{class:"uni-picker-header",onClick:Hc},[zi("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ku(x)},[o("uni.picker.cancel")],8,["onClick"]),zi("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:S},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?zi(gg,{value:v(p),class:"uni-picker-content",onChange:w},yy(t=Er(v(d.value),(e,t)=>{let n;return zi(xg,{key:t},yy(n=Er(e,(e,n)=>zi("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[T]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,zi("div",{ref:s,class:"uni-picker-select",onWheel:Hc,onTouchmove:Hc},[Er(d.value[0],(e,t)=>zi("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,S()}},["object"==typeof e?e[T]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),zi("div",{style:k.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,zi("div",null,[n.default&&n.default()]),h.value?zi("div",{class:"uni-picker-system",onMousemove:Ku(_)},[zi("input",{class:["uni-picker-system_input",h.value],ref:a,value:C,type:E,tabindex:"-1",min:M,max:A,onChange:e=>{b(e),Hc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Ty=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const Ey=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let My;const Ay=c(Sc,{publishHandler(e,t,n){Py.subscribeHandler(e,t,n)}}),Py=c(Iu,{publishHandler(e,t,n){Ay.subscribeHandler(e,t,n)}}),Ly={name:"PageRefresh",setup(){const{pullToRefresh:e}=sd();return{offset:e.offset,color:e.color}}},Oy=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},$y={class:"uni-page-refresh-inner"},Iy=["fill"],Ry=[Ri("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Ri("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],zy={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},By=["stroke"];const Dy=Oy(Ly,[["render",function(e,t,n,o,r,i){return ki(),Mi("uni-page-refresh",null,[Ri("div",{style:Ve({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ri("div",$y,[(ki(),Mi("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},Ry,8,Iy)),(ki(),Mi("svg",zy,[Ri("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,By)]))])],4)])}]]);function Ny(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const jy="pulling",Fy="reached",qy="aborting",Vy="refreshing",Wy="restoring";function Hy(e){const t=sd(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let s,a,l,c,u,d,f,p;qg(()=>{t.enablePullDownRefresh&&(p||(p=Vy,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),qg(()=>{t.enablePullDownRefresh&&p===Vy&&(y(),p=Wy,v(),function(e){if(!a)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{y(),p=h=g=null}))},Qf,!1,n),yr(()=>{s=e.value.$el,a=s.querySelector(".uni-page-refresh"),l=a.style,c=a.querySelector(".uni-page-refresh-inner").style});let h=null,g=null;function m(e){p&&s&&s.classList[e]("uni-page-refresh--"+p)}function v(){m("add")}function y(){m("remove")}const b=Ku(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([qy,Vy,Wy].indexOf(p)>=0)}),_=Ku(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!Ny(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!p)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,p=jy,v()),n-=g,n<0&&(n=0),h=n;(n>=r&&p!==Fy||n1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=Ku(e=>{t.enablePullDownRefresh&&Ny(e,u,d)&&null!==p&&(p===jy?(y(),p=qy,v(),function(e){if(!a)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{y(),p=h=g=null})):p===Fy&&(y(),p=Vy,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",hu(n,_e))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const Uy=Xu({name:"PageBody",setup(e,t){const n=sd(),o=Bn(null),r=Bn(null),i=n.enablePullDownRefresh?Hy(o):null,s=Bn(null);return Io(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?i:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return zi(Dy,{ref:e},null,512)}(o,n);return zi(yi,null,[e,zi("uni-page-wrapper",Vi({ref:r},s.value),[zi("uni-page-body",null,[Mr(t.slots,"default")]),null],16)])}}});const Yy=Xu({name:"Page",setup(e,t){let n=ad(cd());n.navigationBar;const o={};return Xv(n),()=>zi("uni-page",{"data-page":n.route,style:o},[Xy(t),null])}});function Xy(e){return ki(),Ai(Uy,{key:0},{default:bo(()=>[Mr(e.slots,"page")]),_:3})}const Ky={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=nf;const Gy=Object.assign({}),Jy=Object.assign;window.__uniConfig=Jy({tabBar:{position:"bottom",color:"#86909c",selectedColor:"#16c2a9",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"首页",iconPath:"/static/tab/icon1.png",selectedIconPath:"/static/tab/icon1_cur.png"},{pagePath:"pages/map/index",text:"场馆",iconPath:"/static/tab/icon2.png",selectedIconPath:"/static/tab/icon2_cur.png"},{pagePath:"pages/activity/index",text:"活动",iconPath:"/static/tab/icon3.png",selectedIconPath:"/static/tab/icon3_cur.png"},{pagePath:"pages/mine/index",text:"我的",iconPath:"/static/tab/icon4.png",selectedIconPath:"/static/tab/icon4_cur.png"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},globalStyle:{backgroundColor:"#f7f8fa",navigationBar:{backgroundColor:"#ffffff",titleText:"苏州市科普场馆地图",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"4.83"},{appId:"__UNI__SZKP_MAP_H5",appName:"szkp-map-h5",appVersion:"0.1.0",appVersionCode:"100",async:Ky,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{tencent:{key:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2"}}},qqMapKey:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Gy).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Jy(e[n]||(e[n]={}),Gy[t].default),e},{}),router:{mode:"hash",base:"/h5/",assets:"assets",routerBase:"/h5/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Zy={delay:Ky.delay,timeout:Ky.timeout,suspensible:Ky.suspensible};Ky.loading&&(Zy.loadingComponent={name:"SystemAsyncLoading",render:()=>zi(Co(Ky.loading))}),Ky.error&&(Zy.errorComponent={name:"SystemAsyncError",props:["error"],render(){return zi(Co(Ky.error),{error:this.error})}});const Qy=()=>t(()=>import("./pages-index-index.DnYbnA4J.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>gm(e.default||e)),eb=er(Jy({loader:Qy},Zy)),tb=()=>t(()=>import("./pages-map-index.DEgD__Sx.js"),__vite__mapDeps([11,12,2,3,4,7,8,9,13])).then(e=>gm(e.default||e)),nb=er(Jy({loader:tb},Zy)),ob=()=>t(()=>import("./pages-activity-index.DytkJuMf.js"),__vite__mapDeps([14,12,8,5,2,3,15])).then(e=>gm(e.default||e)),rb=er(Jy({loader:ob},Zy)),ib=()=>t(()=>import("./pages-discover-index.mYNZEveb.js"),__vite__mapDeps([16,12,2,3,17])).then(e=>gm(e.default||e)),sb=er(Jy({loader:ib},Zy)),ab=()=>t(()=>import("./pages-mine-index.BrioApEa.js"),__vite__mapDeps([18,19,20])).then(e=>gm(e.default||e)),lb=er(Jy({loader:ab},Zy)),cb=()=>t(()=>import("./pages-mine-profile.DB22_GSu.js"),__vite__mapDeps([21,19,22])).then(e=>gm(e.default||e)),ub=er(Jy({loader:cb},Zy)),db=()=>t(()=>import("./pages-mine-orders.DJYMRcvP.js"),__vite__mapDeps([23,12,24,25])).then(e=>gm(e.default||e)),fb=er(Jy({loader:db},Zy)),pb=()=>t(()=>import("./pages-activity-detail.t9RkLama.js"),__vite__mapDeps([26,12,8,5,27,9,28,29,2,30])).then(e=>gm(e.default||e)),hb=er(Jy({loader:pb},Zy)),gb=()=>t(()=>import("./pages-activity-behind-scenes.DzgRSqCs.js"),__vite__mapDeps([31,12,32])).then(e=>gm(e.default||e)),mb=er(Jy({loader:gb},Zy)),vb=()=>t(()=>import("./pages-activity-registrations.dOB1SGvM.js"),__vite__mapDeps([33,12,2,34])).then(e=>gm(e.default||e)),yb=er(Jy({loader:vb},Zy)),bb=()=>t(()=>import("./pages-ticket-grab-detail.B8YSBNSn.js"),__vite__mapDeps([35,12,8,5,36,28,37,2,38])).then(e=>gm(e.default||e)),_b=er(Jy({loader:bb},Zy)),wb=()=>t(()=>import("./pages-ticket-grab-reserve.Caff2A-_.js"),__vite__mapDeps([39,12,19,36,40])).then(e=>gm(e.default||e)),xb=er(Jy({loader:wb},Zy)),Sb=()=>t(()=>import("./pages-activity-reserve.DlLHEOOg.js"),__vite__mapDeps([41,12,19,36,29,42])).then(e=>gm(e.default||e)),kb=er(Jy({loader:Sb},Zy)),Cb=()=>t(()=>import("./pages-mine-reservation-detail.BIv1e_Nn.js"),__vite__mapDeps([43,12,8,24,44])).then(e=>gm(e.default||e)),Tb=er(Jy({loader:Cb},Zy)),Eb=()=>t(()=>import("./pages-study-tour-detail.CkRe3Hsz.js"),__vite__mapDeps([45,12,29,6,7,8,46])).then(e=>gm(e.default||e)),Mb=er(Jy({loader:Eb},Zy)),Ab=()=>t(()=>import("./pages-venue-detail.DuLv3xxo.js"),__vite__mapDeps([47,12,5,7,8,27,9,28,37,29,2,48])).then(e=>gm(e.default||e)),Pb=er(Jy({loader:Ab},Zy)),Lb=()=>t(()=>import("./pages-stats-index.B0rHxCdo.js"),__vite__mapDeps([49,12,1,2,50])).then(e=>gm(e.default||e)),Ob=er(Jy({loader:Lb},Zy)),$b=()=>t(()=>import("./pages-traffic-index.C5NRI40V.js"),__vite__mapDeps([51,52])).then(e=>gm(e.default||e)),Ib=er(Jy({loader:$b},Zy));function Rb(e,t){return ki(),Ai(Yy,null,{page:bo(()=>[zi(e,Jy({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(eb,t)}},loader:Qy,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"苏州市科普场馆地图",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(nb,t)}},loader:tb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"场馆列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(rb,t)}},loader:ob,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"活动",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/discover/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(sb,t)}},loader:ib,meta:{enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"科普四季研学线路推荐",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(lb,t)}},loader:ab,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/profile",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(ub,t)}},loader:cb,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/orders",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(fb,t)}},loader:db,meta:{navigationBar:{titleText:"我的活动预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(hb,t)}},loader:pb,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/behind-scenes",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(mb,t)}},loader:gb,meta:{navigationBar:{titleText:"活动花絮",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/registrations",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(yb,t)}},loader:vb,meta:{navigationBar:{titleText:"已报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(_b,t)}},loader:bb,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/reserve",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(xb,t)}},loader:wb,meta:{navigationBar:{titleText:"抢票预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/reserve",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(kb,t)}},loader:Sb,meta:{navigationBar:{titleText:"预约报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/reservation-detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Tb,t)}},loader:Cb,meta:{navigationBar:{titleText:"预约详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/study-tour/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Mb,t)}},loader:Eb,meta:{navigationBar:{titleText:"研学线路",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/venue/detail",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Pb,t)}},loader:Ab,meta:{navigationBar:{titleText:"场馆详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/stats/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Ob,t)}},loader:Lb,meta:{enablePullDownRefresh:!0,backgroundColor:"#eef1f4",navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/traffic/index",component:{setup(){const e=dm(),t=e&&e.$route&&e.$route.query||{};return()=>Rb(Ib,t)}},loader:$b,meta:{navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e /*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote diff --git a/public/h5/assets/index-DwmFFnEI.css b/public/h5/assets/index-DwmFFnEI.css deleted file mode 100644 index 0c7063e..0000000 --- a/public/h5/assets/index-DwmFFnEI.css +++ /dev/null @@ -1 +0,0 @@ -b[data-v-208b5201],strong[data-v-208b5201]{font-weight:400}uni-page-body[data-v-208b5201]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:#f7f8fa;color:#252525;font-weight:400;--brand-color: #05c9ac;--fs-tag: .625rem;--fs-body: .75rem;--fs-subtitle: .875rem;--fs-title: 1rem;--color-text: #252525;--color-text-sub: #8c8c8c}body[data-v-208b5201]{background:#f7f8fa}.font-s[data-v-208b5201]{font-size:var(--fs-body)}.font-m[data-v-208b5201]{font-size:var(--fs-subtitle)}.font-l[data-v-208b5201]{font-size:var(--fs-title)}uni-button[data-v-208b5201],.uni-button[data-v-208b5201]{font-weight:400}.page-root[data-v-208b5201]{min-height:100vh;position:relative}.page[data-v-208b5201]{min-height:100vh;background:#fff}.venue-list-scroll[data-v-208b5201]{width:100%;height:22.5rem;box-sizing:border-box;border-radius:0 0 .375rem .375rem;-webkit-overflow-scrolling:touch}.hero[data-v-208b5201]{position:relative;padding:0 0 .25rem;box-sizing:border-box}.hero-brand[data-v-208b5201]{position:relative;overflow:hidden;width:100%;height:5.375rem;border-radius:0 0 2.25rem 2.25rem;box-sizing:border-box}.hero-content[data-v-208b5201]{position:relative;z-index:2;margin-top:-3.5rem;padding:0 .75rem;box-sizing:border-box}.stat-card[data-v-208b5201]{position:relative;overflow:hidden;border-radius:.5rem;box-sizing:border-box;box-shadow:0 .25rem .75rem rgba(0,0,0,.06);background-color:#fafafa}.stat-card__body[data-v-208b5201]{position:relative;z-index:1;padding:.625rem .625rem .5625rem;box-sizing:border-box}.stat-note[data-v-208b5201]{margin:.1875rem 0 .3125rem;font-size:.65625rem;color:#86909c;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-main[data-v-208b5201]{position:relative;z-index:1;display:flex;align-items:flex-start;gap:.5rem}.stat-left[data-v-208b5201]{flex:3 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}.stat-label[data-v-208b5201]{font-size:.9375rem;color:#4e5969;line-height:1.35}.stat-num[data-v-208b5201]{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:400;color:#1d2129;line-height:1.25}.stat-right[data-v-208b5201]{flex:3 1 0;min-width:0;display:flex;flex-direction:column}.live-list[data-v-208b5201]{flex:1;display:flex;flex-direction:column;width:100%;min-height:5.25rem}.live-venue-row[data-v-208b5201]{flex:1;min-height:1.625rem;padding:.25rem 0;border-bottom:.03125rem solid #eceef2;display:flex;align-items:center;box-sizing:border-box}.live-venue-row[data-v-208b5201]:first-child{padding-top:0}.live-venue-row[data-v-208b5201]:last-child{border-bottom:none}.live-row-one[data-v-208b5201]{display:flex;align-items:center;gap:.25rem;width:100%;min-width:0}.live-name[data-v-208b5201]{flex:1;min-width:0;font-size:.6875rem;color:#1d2129;font-weight:400;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-count[data-v-208b5201]{flex-shrink:0;font-size:.6875rem;color:#05c9ac;font-weight:400;line-height:1.3}.live-venue-row.is-empty .live-name[data-v-208b5201],.live-venue-row.is-empty .live-count[data-v-208b5201]{color:#86909c;font-weight:400}.stat-foot[data-v-208b5201]{margin-top:.25rem;padding-top:0;display:flex;justify-content:flex-end;width:100%}.stat-foot-link[data-v-208b5201]{font-size:.625rem;color:#05c9ac;font-weight:400;line-height:1.3}.stat-section[data-v-208b5201]{margin:.3125rem .75rem 0;padding:0;box-sizing:border-box}.map-section[data-v-208b5201]{margin:.75rem .5rem 0;background:#fff;border-radius:.5rem;padding:.625rem .5rem .5rem;position:relative;z-index:1;box-shadow:0 .125rem .5rem rgba(0,0,0,.04)}.hero-content .map-section[data-v-208b5201]{margin:0;width:100%;box-sizing:border-box;padding:.625rem .5rem}.toolbar[data-v-208b5201]{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.tabs[data-v-208b5201]{display:flex;align-items:flex-end;gap:.5rem;flex-shrink:0}.tab[data-v-208b5201]{font-size:.75rem;color:#86909c;padding-bottom:.25rem;position:relative}.tab.on[data-v-208b5201]{font-size:14px;color:#1d2129;font-weight:400}.tab.on[data-v-208b5201]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:.125rem;background:#05c9ac;border-radius:.0625rem}.search-wrap[data-v-208b5201]{flex:1;min-width:0;height:1.75rem;background:#f7f8fa;border-radius:.875rem;display:flex;align-items:center;padding:0 .4375rem 0 .5rem;border:.03125rem solid #eceef2;box-sizing:border-box}.search-input[data-v-208b5201]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-208b5201]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-208b5201]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-208b5201]{display:flex;flex-wrap:nowrap;gap:.1875rem;margin-bottom:.375rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.125rem}.filters uni-picker[data-v-208b5201]{flex:0 0 auto;display:block}.f-item[data-v-208b5201]{flex:0 0 auto;min-width:4.125rem;height:1.75rem;padding:0 .1875rem 0 .25rem;display:flex;align-items:center;justify-content:space-between;gap:.125rem;background:#fff;border-radius:.375rem;border:.03125rem solid #e8eaed;box-shadow:0 .0625rem .3125rem rgba(15,23,42,.04);box-sizing:border-box}.f-item-text[data-v-208b5201]{flex:1;min-width:0;font-size:.625rem;color:#4e5969;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-item-arrow[data-v-208b5201]{width:.5rem;height:.5rem;flex-shrink:0}.map-wrap[data-v-208b5201]{position:relative;width:100%;border-radius:.375rem;overflow:hidden}.main-map[data-v-208b5201]{width:100%;height:22.5rem;border-radius:.375rem;display:block}.venue-sheet[data-v-208b5201]{position:absolute;left:0;right:0;bottom:0;padding:0 .25rem .25rem;border-radius:0 0 .375rem .375rem;pointer-events:none}.venue-sheet-inner[data-v-208b5201]{pointer-events:auto;background:#fff;border-radius:.375rem;padding:.375rem .4375rem;box-shadow:0 -.0625rem .5rem rgba(0,0,0,.06);border:.03125rem solid #eef1f5}.sheet-bar[data-v-208b5201]{width:1.375rem;height:.1875rem;background:#e5e6eb;border-radius:.09375rem;margin:0 auto .3125rem}.sheet-row[data-v-208b5201]{display:flex;gap:.375rem;align-items:flex-start}.sheet-cover[data-v-208b5201]{width:3.75rem;height:2.625rem;border-radius:.25rem;flex-shrink:0}.sheet-main[data-v-208b5201]{flex:1;min-width:0}.sheet-name[data-v-208b5201]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.3;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-tags-line[data-v-208b5201]{margin-top:.125rem;min-height:1.25rem;width:100%;box-sizing:border-box}.sheet-meta[data-v-208b5201]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:.1875rem;max-width:100%}.sheet-type[data-v-208b5201]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-meta-sep[data-v-208b5201]{font-size:.625rem;color:#c9cdd4}.sheet-ticket[data-v-208b5201]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-ticket.free[data-v-208b5201]{color:#00b42a;background:rgba(0,180,42,.1)}.sheet-ticket.paid[data-v-208b5201]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-208b5201]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;flex-shrink:0;white-space:nowrap;max-width:100%}.sheet-actions[data-v-208b5201]{margin-top:.375rem;display:flex;gap:.375rem;justify-content:flex-end}.sheet-btn[data-v-208b5201]{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;text-align:center;min-width:0;flex:0 1 auto;max-width:4.375rem;font-weight:400;line-height:1.35}.sheet-btn.ghost[data-v-208b5201]{background:#f7f8fa;color:#252525;border:.03125rem solid #eceef2}.sheet-btn.primary[data-v-208b5201]{background:#05c9ac;color:#fff;font-weight:400}.venue-row[data-v-208b5201]{display:flex;gap:.5rem;padding:.5rem 0;border-bottom:.03125rem solid #f0f2f5}.venue-thumb[data-v-208b5201]{width:5.5rem;height:3.4375rem;border-radius:.25rem;flex-shrink:0}.venue-info[data-v-208b5201]{flex:1;min-width:0}.venue-name[data-v-208b5201]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}.venue-tags-line[data-v-208b5201]{margin-top:.1875rem;min-height:1.25rem;width:100%;box-sizing:border-box}.venue-meta[data-v-208b5201]{display:flex;flex-direction:row;flex-wrap:wrap;gap:.25rem;max-width:100%;align-items:flex-start}.venue-type-pill[data-v-208b5201],.venue-ticket-pill[data-v-208b5201]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.venue-ticket-pill.free[data-v-208b5201]{color:#00b42a;background:rgba(0,180,42,.1)}.venue-ticket-pill.paid[data-v-208b5201]{color:#f53f3f;background:rgba(245,63,63,.08)}.empty-tip[data-v-208b5201]{text-align:center;padding:2.5rem 0;font-size:.75rem;color:#86909c}.section[data-v-208b5201]{background:#fff;margin:.5rem .5rem 0;border-radius:.5rem;padding:.625rem .5rem}.sec-head[data-v-208b5201]{display:flex;align-items:center;margin-bottom:.5rem}.sec-bar[data-v-208b5201]{width:.1875rem;height:.875rem;background:#05c9ac;border-radius:.09375rem;margin-right:.375rem}.sec-title[data-v-208b5201]{flex:1;font-size:1rem;font-weight:400;color:#1d2129}.sec-more[data-v-208b5201]{font-size:.75rem;color:#86909c}.act-scroll[data-v-208b5201]{width:100%;white-space:nowrap}.act-scroll-row[data-v-208b5201]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:.625rem;padding:0 .125rem .25rem 0}.act-card[data-v-208b5201]{flex-shrink:0;width:12.5rem;box-sizing:border-box;display:flex;flex-direction:column}.act-img-wrap[data-v-208b5201]{position:relative;z-index:2;width:11.25rem;height:5.625rem;margin:0 auto -2.8125rem;border-radius:.375rem;overflow:hidden;box-shadow:0 .125rem .5rem rgba(0,0,0,.08)}.act-img[data-v-208b5201]{width:11.25rem;height:5.625rem;display:block}.act-bts-corner-tag[data-v-208b5201]{position:absolute;right:.3125rem;bottom:.3125rem;z-index:3;font-size:.625rem;line-height:1.25;color:#f3f;background-color:rgba(255,51,255,.14);padding:.1875rem .4375rem;border-radius:31.21875rem;max-width:calc(100% - .75rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.act-book-badge[data-v-208b5201]{position:absolute;right:.375rem;bottom:.3125rem;z-index:2;max-width:calc(100% - .75rem);display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0;background:transparent;box-sizing:border-box}.act-book-badge.is-grab[data-v-208b5201]{padding:.1875rem .5rem;background:linear-gradient(135deg,#ff8a4c,#ff6b35);border-radius:31.21875rem;min-height:0}.act-book-text[data-v-208b5201]{font-size:.625rem;color:#fff;line-height:1.25;white-space:nowrap;text-shadow:0 .03125rem .1875rem rgba(0,0,0,.55)}.act-book-text.is-grab[data-v-208b5201]{text-shadow:none}.act-body[data-v-208b5201]{width:12.5rem;box-sizing:border-box;padding:3.1875rem .5rem .5625rem;background:#fff;border-radius:.375rem;box-shadow:0 .125rem .5rem rgba(0,0,0,.04);min-height:9rem;display:flex;flex-direction:column;justify-content:flex-start}.act-title[data-v-208b5201]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;height:1.25rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-tags[data-v-208b5201]{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.25rem;margin-top:.25rem;height:1.25rem;overflow:hidden;align-items:center}.act-tag-chip[data-v-208b5201]{font-size:.625rem;color:#05c9ac;line-height:.875rem;padding:.125rem .3125rem;background:rgba(5,201,172,.12);border-radius:.1875rem;flex-shrink:0;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-meta[data-v-208b5201]{display:block;width:100%;margin-top:.1875rem;height:1.0625rem;line-height:1.0625rem;font-size:.75rem;color:#86909c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag[data-v-208b5201]{position:absolute;z-index:3;left:0;top:.375rem;color:#fff;font-size:.6875rem;line-height:1.25;border-radius:0 .625rem .625rem 0;padding:.1875rem .4375rem;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag.st-ongoing[data-v-208b5201]{background:rgba(22,194,169,.92)}.act-schedule-tag.st-not_started[data-v-208b5201]{background:rgba(22,93,255,.92)}.act-schedule-tag.st-ended[data-v-208b5201]{background:rgba(134,144,156,.95)}.tour-card[data-v-208b5201]{margin-bottom:.625rem;border-radius:.5rem;overflow:hidden;background:#fff;box-shadow:0 .125rem .625rem rgba(0,0,0,.06)}.tour-card[data-v-208b5201]:last-child{margin-bottom:0}.tour-img-wrap[data-v-208b5201]{position:relative;width:100%;aspect-ratio:2/1;border-radius:.5rem .5rem 0 0;overflow:hidden}.tour-img[data-v-208b5201]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.tour-body[data-v-208b5201]{padding:.5625rem .625rem .5rem}.tour-title[data-v-208b5201]{font-size:.875rem;color:#1d2129;font-weight:400;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tour-stops-timeline[data-v-208b5201]{margin-top:.4375rem}.tour-stop-row[data-v-208b5201]{display:flex;flex-direction:row;align-items:stretch}.tour-timeline-axis[data-v-208b5201]{width:.875rem;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin-right:.3125rem}.tour-dot-cell[data-v-208b5201]{height:1.125rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%}.tour-tl-dot[data-v-208b5201]{width:.375rem;height:.375rem;border-radius:50%;background:#c9cdd4;flex-shrink:0}.tour-tl-line[data-v-208b5201]{width:.0625rem;flex:1;min-height:.375rem;margin-top:0;background:#e5e6eb}.tour-stop-name[data-v-208b5201]{flex:1;min-width:0;padding-bottom:.375rem;font-size:.75rem;color:#86909c;line-height:1.125rem;box-sizing:border-box}.tour-stop-row:last-child .tour-stop-name[data-v-208b5201]{padding-bottom:0}.tour-tags-row[data-v-208b5201]{margin-top:.4375rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.3125rem}.tour-tag[data-v-208b5201]{font-size:.6875rem;color:#05c9ac;background:rgba(5,201,172,.12);padding:.1875rem .4375rem;border-radius:.25rem;line-height:1.3}.bottom-safe[data-v-208b5201]{height:.75rem}.loading-mask[data-v-208b5201]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:10080;background:rgba(255,255,255,.5);text-align:center;padding-top:40vh;color:#1d2129;font-size:.9375rem} diff --git a/public/h5/assets/localProfile.5oNLnbIP.js b/public/h5/assets/localProfile.BNBxvTJ-.js similarity index 85% rename from public/h5/assets/localProfile.5oNLnbIP.js rename to public/h5/assets/localProfile.BNBxvTJ-.js index e918c95..e0d0d60 100644 --- a/public/h5/assets/localProfile.5oNLnbIP.js +++ b/public/h5/assets/localProfile.BNBxvTJ-.js @@ -1 +1 @@ -import{h as t,g as n,S as r,b as e}from"./index-BgY1dkGI.js";function o(){return t.get("/h5/me/profile",{},{withAuth:!0})}function i(n){return t.put("/h5/me/profile",n,{withAuth:!0})}function u(){try{const t=n(r.localProfile);if(!t)return null;const e="string"==typeof t?JSON.parse(t):t;return e&&"object"==typeof e?e:null}catch{return null}}function l(t){e(r.localProfile,JSON.stringify(t))}export{o as g,u as l,l as s,i as u}; +import{h as t,g as n,S as r,b as e}from"./index-B62HYGKy.js";function o(){return t.get("/h5/me/profile",{},{withAuth:!0})}function i(n){return t.put("/h5/me/profile",n,{withAuth:!0})}function u(){try{const t=n(r.localProfile);if(!t)return null;const e="string"==typeof t?JSON.parse(t):t;return e&&"object"==typeof e?e:null}catch{return null}}function l(t){e(r.localProfile,JSON.stringify(t))}export{o as g,u as l,l as s,i as u}; diff --git a/public/h5/assets/pages-activity-behind-scenes.DLGUBToV.js b/public/h5/assets/pages-activity-behind-scenes.DzgRSqCs.js similarity index 94% rename from public/h5/assets/pages-activity-behind-scenes.DLGUBToV.js rename to public/h5/assets/pages-activity-behind-scenes.DzgRSqCs.js index d8a2cb8..9396522 100644 --- a/public/h5/assets/pages-activity-behind-scenes.DLGUBToV.js +++ b/public/h5/assets/pages-activity-behind-scenes.DzgRSqCs.js @@ -1 +1 @@ -import{d as e,e as a,f as l,Y as s,F as t,q as u,l as n,k as c,K as i,G as r,n as v,p as d,a6 as o,v as f,y as _,D as p,H as m,z as y,Z as h,$ as k,_ as g}from"./index-BgY1dkGI.js";import{f as b}from"./content.CIu3j-dc.js";const w=g(e({__name:"behind-scenes",setup(e){const g=a(0),w=a(""),C=a([]),j=a(!1),F=a(!1),S=a(0),x=l(()=>C.value);function A(){F.value=!1}function I(e){var a;const l=null==(a=e.detail)?void 0:a.current;"number"==typeof l&&(S.value=l)}return s(e=>{const a=e&&"object"==typeof e?e.id:void 0;g.value=null!=a&&""!==a?parseInt(String(a),10):0,g.value&&async function(){j.value=!0;try{const e=await b(g.value);w.value=String((null==e?void 0:e.title)||"");const a=Array.isArray(null==e?void 0:e.behind_scenes_media)?e.behind_scenes_media:[];C.value=a.map(e=>String((null==e?void 0:e.url)||"").trim()).filter(e=>e.length>0)}catch{w.value="",C.value=[]}finally{j.value=!1}}()}),(e,a)=>{const l=f,s=v,g=y,b=k,q=h;return d(),t(r,null,[u(s,{class:"page"},{default:n(()=>[u(o),u(s,{class:"head"},{default:n(()=>[u(l,{class:"title"},{default:n(()=>[_(p(w.value),1)]),_:1}),u(l,{class:"sub"},{default:n(()=>[_("活动花絮")]),_:1})]),_:1}),j.value?(d(),c(s,{key:0,class:"hint"},{default:n(()=>[_("加载中…")]),_:1})):(d(),c(s,{key:1,class:"grid"},{default:n(()=>[(d(!0),t(r,null,m(C.value,(e,a)=>(d(),c(g,{key:"bts-"+a+"-"+e,class:"thumb",src:e,mode:"aspectFill",onClick:e=>function(e){S.value=e,F.value=!0}(a)},null,8,["src","onClick"]))),128))]),_:1})),j.value||C.value.length?i("",!0):(d(),c(s,{key:2,class:"hint muted"},{default:n(()=>[_("暂无花絮图片")]),_:1}))]),_:1}),F.value?(d(),c(s,{key:0,class:"preview-mask"},{default:n(()=>[u(s,{class:"preview-toolbar"},{default:n(()=>[u(l,{class:"preview-count"},{default:n(()=>[_(p(S.value+1)+" / "+p(x.value.length),1)]),_:1}),u(l,{class:"preview-close",onClick:A},{default:n(()=>[_("关闭")]),_:1})]),_:1}),u(q,{class:"preview-swiper",current:S.value,onChange:I},{default:n(()=>[(d(!0),t(r,null,m(x.value,(e,a)=>(d(),c(b,{key:"pv-"+a},{default:n(()=>[u(s,{class:"preview-slide"},{default:n(()=>[u(g,{class:"preview-img",src:e,mode:"aspectFit"},null,8,["src"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["current"])]),_:1})):i("",!0)],64)}}}),[["__scopeId","data-v-f28245f2"]]);export{w as default}; +import{d as e,e as a,f as l,Y as s,F as t,q as u,l as n,k as c,K as i,G as r,n as v,p as d,a6 as o,v as f,y as _,D as p,H as m,z as y,Z as h,$ as k,_ as g}from"./index-B62HYGKy.js";import{f as b}from"./content.DxtMXvVw.js";const w=g(e({__name:"behind-scenes",setup(e){const g=a(0),w=a(""),C=a([]),j=a(!1),F=a(!1),S=a(0),x=l(()=>C.value);function A(){F.value=!1}function I(e){var a;const l=null==(a=e.detail)?void 0:a.current;"number"==typeof l&&(S.value=l)}return s(e=>{const a=e&&"object"==typeof e?e.id:void 0;g.value=null!=a&&""!==a?parseInt(String(a),10):0,g.value&&async function(){j.value=!0;try{const e=await b(g.value);w.value=String((null==e?void 0:e.title)||"");const a=Array.isArray(null==e?void 0:e.behind_scenes_media)?e.behind_scenes_media:[];C.value=a.map(e=>String((null==e?void 0:e.url)||"").trim()).filter(e=>e.length>0)}catch{w.value="",C.value=[]}finally{j.value=!1}}()}),(e,a)=>{const l=f,s=v,g=y,b=k,q=h;return d(),t(r,null,[u(s,{class:"page"},{default:n(()=>[u(o),u(s,{class:"head"},{default:n(()=>[u(l,{class:"title"},{default:n(()=>[_(p(w.value),1)]),_:1}),u(l,{class:"sub"},{default:n(()=>[_("活动花絮")]),_:1})]),_:1}),j.value?(d(),c(s,{key:0,class:"hint"},{default:n(()=>[_("加载中…")]),_:1})):(d(),c(s,{key:1,class:"grid"},{default:n(()=>[(d(!0),t(r,null,m(C.value,(e,a)=>(d(),c(g,{key:"bts-"+a+"-"+e,class:"thumb",src:e,mode:"aspectFill",onClick:e=>function(e){S.value=e,F.value=!0}(a)},null,8,["src","onClick"]))),128))]),_:1})),j.value||C.value.length?i("",!0):(d(),c(s,{key:2,class:"hint muted"},{default:n(()=>[_("暂无花絮图片")]),_:1}))]),_:1}),F.value?(d(),c(s,{key:0,class:"preview-mask"},{default:n(()=>[u(s,{class:"preview-toolbar"},{default:n(()=>[u(l,{class:"preview-count"},{default:n(()=>[_(p(S.value+1)+" / "+p(x.value.length),1)]),_:1}),u(l,{class:"preview-close",onClick:A},{default:n(()=>[_("关闭")]),_:1})]),_:1}),u(q,{class:"preview-swiper",current:S.value,onChange:I},{default:n(()=>[(d(!0),t(r,null,m(x.value,(e,a)=>(d(),c(b,{key:"pv-"+a},{default:n(()=>[u(s,{class:"preview-slide"},{default:n(()=>[u(g,{class:"preview-img",src:e,mode:"aspectFit"},null,8,["src"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["current"])]),_:1})):i("",!0)],64)}}}),[["__scopeId","data-v-f28245f2"]]);export{w as default}; diff --git a/public/h5/assets/pages-activity-detail.C5mQtqfi.js b/public/h5/assets/pages-activity-detail.t9RkLama.js similarity index 98% rename from public/h5/assets/pages-activity-detail.C5mQtqfi.js rename to public/h5/assets/pages-activity-detail.t9RkLama.js index c1a882e..3884a0a 100644 --- a/public/h5/assets/pages-activity-detail.C5mQtqfi.js +++ b/public/h5/assets/pages-activity-detail.t9RkLama.js @@ -1 +1 @@ -import{d as e,e as l,f as a,w as s,Y as t,o as n,k as i,l as o,n as u,U as r,p as c,q as d,t as v,Z as f,F as _,G as m,H as p,$ as g,z as y,a0 as h,K as k,v as b,y as w,D as x,J as $,B as S,E as C,x as j,a1 as F,V as N,L as A,s as q,a2 as z,a3 as B,a4 as P,a5 as R,u as I,_ as T}from"./index-BgY1dkGI.js";import{f as U,g as D,p as E,h as G}from"./content.CIu3j-dc.js";import{a as H}from"./venueThemeColors.DRxjaxXI.js";import{c as J,f as K}from"./activity.DEGdoGAe.js";import{s as L,i as V,a as Y,d as Z,b as M}from"./phone.D0RMb4AO.js";import{i as O,a as Q,b as W}from"./icon4.CHREtDdF.js";import{i as X,a as ee}from"./icon_up.DJ5zmdk8.js";import{P as le}from"./poster.C6TYC1FC.js";import"./text.BxMbQPAt.js";const ae=T(e({__name:"detail",setup(e){function T(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,s)=>{const t=String(a).trim();if(/style\s*=/i.test(t))return/max-width\s*:/i.test(t)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,s)=>/max-width/i.test(s)?e:`style=${a}${s};${l}${a}`);return`"===s?" />":">"}`})}function ae(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const se=l(0),te=l(!1),ne=l(null),ie=l(null),oe=l(!0),ue=l(!1),re=l(!1),ce=l(!1),de=a(()=>{const e=ne.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:le}]:[{type:"image",url:le}]}),ve=a(()=>{const e=ne.value;if(!e)return"ongoing";const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:J(e.start_at,e.end_at)}),fe=a(()=>"ended"===ve.value),_e=a(()=>{if(!fe.value||!ne.value)return!1;const e=ne.value.behind_scenes_media;return!!Array.isArray(e)&&e.some(e=>String((null==e?void 0:e.url)||"").trim().length>0)});function me(){var e;const l=null==(e=ne.value)?void 0:e.id;l&&A({url:`/pages/activity/behind-scenes?id=${l}`})}const pe=a(()=>{var e;const l=null==(e=ne.value)?void 0:e.reservation_type;return!l||"online"===l}),ge=a(()=>{var e;return!fe.value&&!0===(null==(e=ne.value)?void 0:e.is_bookable)&&pe.value}),ye=a(()=>{var e,l;return"other"===(null==(e=ne.value)?void 0:e.reservation_type)&&!!String((null==(l=ne.value)?void 0:l.external_url)||"").trim()}),he=a(()=>{var e;return Array.isArray(null==(e=ne.value)?void 0:e.booking_days)?ne.value.booking_days:[]}),ke=a(()=>{var e;return L(null==(e=ne.value)?void 0:e.contact_phone)}),be=a(()=>{var e;if(!pe.value)return null;const l=null==(e=ne.value)?void 0:e.registrations_preview;return!l||(l.reservation_total??0)<1?null:l}),we=a(()=>{const e=be.value;return!!e&&e.reservation_total>5});function xe(){var e,l;const a=null==(e=ne.value)?void 0:e.id,s=null==(l=ne.value)?void 0:l.title;if(!a)return;const t=s?`?id=${a}&title=${encodeURIComponent(String(s))}`:`?id=${a}`;A({url:`/pages/activity/registrations${t}`})}const $e=l(0);function Se(e){const l=Number(null==e?void 0:e.booked_count);return!Number.isFinite(l)||l<=0?"":(null==e?void 0:e.enrolled_count_text)?String(e.enrolled_count_text):"已报名数:"+l}function Ce(){var e;const l=null==(e=ne.value)?void 0:e.id;if(!l)return;const a=he.value;if(!a.length)return void A({url:`/pages/activity/reserve?id=${l}`});if(!$e.value)return void q({title:"请先选择场次",icon:"none"});const s=a.find(e=>e.id===$e.value);s?s.is_bookable&&A({url:`/pages/activity/reserve?id=${l}&day_id=${$e.value}`}):q({title:"场次无效",icon:"none"})}const je=a(()=>{var e;const l=null==(e=ne.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let s="";if(/<[a-z][\s\S]*>/i.test(a)){s=`
${T(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);s=`
${e}
`}return ae(s)?s:""}),Fe=a(()=>{var e;const l=null==(e=ne.value)?void 0:e.detail_html;if(!l)return"";const a=T(String(l));return ae(a)?a:""});function Ne(e){return null==e?"":String(e).trim()}function Ae(e){return Ne(e).length>0}function qe(e){const l=String(e||"").trim();return"free"===l?"免费":"paid"===l?"收费":l?Ne(l):""}function ze(){var e,l,a,s,t;const{lat:n,lng:i}=function(){var e,l,a,s,t,n;return{lat:Number((null==(e=ne.value)?void 0:e.lat)??(null==(a=null==(l=ne.value)?void 0:l.venue)?void 0:a.lat)??0),lng:Number((null==(s=ne.value)?void 0:s.lng)??(null==(n=null==(t=ne.value)?void 0:t.venue)?void 0:n.lng)??0)}}(),o=null!=(null==(e=ne.value)?void 0:e.location)&&String(ne.value.location).trim()||(null==(l=ne.value)?void 0:l.address)||(null==(s=null==(a=ne.value)?void 0:a.venue)?void 0:s.address)||"";z({lat:n,lng:i,name:(null==(t=ne.value)?void 0:t.title)||"活动地点",address:o})}function Be(){var e,l;const a=null==(e=ne.value)?void 0:e.id,s=String((null==(l=ne.value)?void 0:l.external_url)||"").trim();if(a&&s){if("undefined"!=typeof window){window.open(s,"_blank","noopener,noreferrer")||window.location.assign(s)}G(a).catch(()=>{})}}function Pe(){var e,l;const a=Number((null==(l=null==(e=ne.value)?void 0:e.venue)?void 0:l.id)??0);a?A({url:`/pages/venue/detail?id=${a}`}):q({title:"暂无场馆详情",icon:"none"})}return s([Fe,je],()=>{oe.value=!0,ue.value=!0,B(()=>{setTimeout(()=>{var e;const l=null==(e=P())?void 0:e.proxy,a=R();l&&a.in(l);const s=I(187);a.select(".judge-activity-detail").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];re.value=!!(l&&l.height&&l.height>s+1),ce.value=!!(a&&a.height&&a.height>s+1),ce.value?ue.value=!1:ue.value=!0})},120)})}),t(e=>{se.value=Number((null==e?void 0:e.id)||0),te.value=!1}),s(se,()=>{te.value=!1}),n(()=>{se.value&&async function(){const e=se.value;if(!e)return;const[l,a]=await Promise.all([U(e),D()]);ne.value=l,ie.value=a,te.value||(te.value=!0,E(e).catch(()=>{}))}()}),(e,l)=>{const a=r("SubPageBackBtn"),s=y,t=h,n=g,A=f,q=u,z=b,B=F,P=v,R=N;return c(),i(q,{class:"page"},{default:o(()=>[d(a),d(P,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e;return[d(q,{class:"hero"},{default:o(()=>[de.value.length?(c(),i(A,{key:0,class:"hero-swiper",circular:"",autoplay:de.value.length>1,interval:4e3,"indicator-dots":de.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:o(()=>[(c(!0),_(m,null,p(de.value,(e,l)=>(c(),i(n,{key:"s-"+l,class:"swiper-item"},{default:o(()=>["video"!==e.type?(c(),i(s,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(c(),i(t,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):k("",!0)]),_:1}),d(q,{class:"main-card"},{default:o(()=>{var e,a,t,n,u,r;return[d(z,{class:"act-title"},{default:o(()=>{var e;return[w(x((null==(e=ne.value)?void 0:e.title)||"-"),1)]}),_:1}),(null==(a=null==(e=ne.value)?void 0:e.tags)?void 0:a.length)?(c(),i(q,{key:0,class:"act-tags"},{default:o(()=>[(c(!0),_(m,null,p((ne.value.tags||[]).slice(0,4),(e,l)=>{var a;return c(),i(z,{key:"tg-"+l+"-"+e,class:"act-tag-chip",style:$(S(H)(l,null==(a=ie.value)?void 0:a.venue_type))},{default:o(()=>[w(x(e),1)]),_:2},1032,["style"])}),128))]),_:1})):k("",!0),(null==(n=null==(t=ne.value)?void 0:t.venue)?void 0:n.name)?(c(),i(q,{key:1,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(V),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("举办场馆:")]),_:1}),d(z,{class:"info-value info-value--venue",onClick:C(Pe,["stop"])},{default:o(()=>[w(x(ne.value.venue.name),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&Ae(ne.value.contact_name)?(c(),i(q,{key:2,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(O),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("联系人:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>[w(x(Ne(ne.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&ke.value.length?(c(),i(q,{key:3,class:"info-row info-row--phones"},{default:o(()=>[d(s,{class:"info-ico",src:S(Y),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("联系方式:")]),_:1}),d(q,{class:"phone-list"},{default:o(()=>[(c(!0),_(m,null,p(ke.value,(e,l)=>(c(),i(z,{key:"act-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:C(l=>S(Z)(e),["stop"])},{default:o(()=>[w(x(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):k("",!0),ne.value?(c(),i(q,{key:4,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(Q),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("活动日期:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>{var e,l;return[w(x(S(K)(null==(e=ne.value)?void 0:e.start_at,null==(l=ne.value)?void 0:l.end_at)),1)]}),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&Ae(ne.value.specific_time)?(c(),i(q,{key:5,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("具体时间:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>[w(x(Ne(ne.value.specific_time)),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value?(c(),i(q,{key:6,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("报名方式:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>{return[w(x((e=ne.value.reservation_type,e&&"online"!==e?"phone"===e?"电话预约":"wechat_mp"===e?"公众号预约":"offline_visit"===e?"线下预约":"none"===e?"无需预约":"offline"===e?"线下预约":"other"===e?"外链跳转预约":String(e):"线上预约")),1)];var e}),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&qe(ne.value.offline_reservation_method)?(c(),i(q,{key:7,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("门票说明:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>[w(x(qe(ne.value.offline_reservation_method)),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&Ae(ne.value.location||(null==(r=null==(u=ne.value)?void 0:u.venue)?void 0:r.address))?(c(),i(q,{key:8,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(M),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("活动地点:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>{var e,l;return[w(x(Ne(ne.value.location||(null==(l=null==(e=ne.value)?void 0:e.venue)?void 0:l.address))),1)]}),_:1})]),_:1})]),_:1})):k("",!0),je.value?(c(),i(q,{key:9,class:"notice-block"},{default:o(()=>[d(q,{class:"sec-title-row notice-head-row"},{default:o(()=>[d(z,{class:"notice-label"},{default:o(()=>[w("预约须知")]),_:1}),ce.value?(c(),i(q,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>ue.value=!ue.value)},{default:o(()=>[d(s,{class:"expand-arrow-img",src:ue.value?S(X):S(ee),mode:"aspectFit"},null,8,["src"])]),_:1})):k("",!0)]),_:1}),d(q,{class:j(["notice-block-body judge-notice",{"is-collapsed":ce.value&&!ue.value}])},{default:o(()=>[d(B,{class:"notice-inline-rich",nodes:je.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):k("",!0)]}),_:1}),(null==(e=ne.value)?void 0:e.summary)?(c(),i(q,{key:0,class:"summary-card"},{default:o(()=>[d(q,{class:"sec-title-row"},{default:o(()=>[d(z,{class:"sec-title"},{default:o(()=>[w("活动简介")]),_:1})]),_:1}),d(z,{class:"summary-text"},{default:o(()=>[w(x(ne.value.summary),1)]),_:1})]),_:1})):k("",!0),pe.value&&he.value.length?(c(),i(q,{key:1,class:"session-card-wrap"},{default:o(()=>[d(q,{class:"sec-title-row session-sec-hd"},{default:o(()=>[d(q,{class:"session-sec-bar"}),d(z,{class:"sec-title"},{default:o(()=>[w("活动场次")]),_:1})]),_:1}),(c(!0),_(m,null,p(he.value,(e,l)=>(c(),i(q,{key:"ss-"+e.id+"-"+l,class:j(["session-item",{on:e.is_bookable&&$e.value===e.id,dim:!e.is_bookable}]),onClick:l=>function(e){(null==e?void 0:e.id)&&e.is_bookable&&($e.value=Number(e.id))}(e)},{default:o(()=>[e.is_bookable&&$e.value===e.id?(c(),i(q,{key:0,class:"session-check"},{default:o(()=>[w("✓")]),_:1})):k("",!0),d(z,{class:"session-name"},{default:o(()=>[w(x(e.session_name||e.time_display||"场次"),1)]),_:2},1024),d(z,{class:"session-time"},{default:o(()=>[w("场次时间:"+x(e.time_display||"-"),1)]),_:2},1024),d(z,{class:"session-quota"},{default:o(()=>[w("人数限制:"+x(Number(e.day_quota)||0)+"人",1)]),_:2},1024),d(q,{class:"session-status-line"},{default:o(()=>[d(z,{class:j(["session-action","sk-"+(e.status_kind||"open")])},{default:o(()=>[w(x(e.action_headline||e.status_text||"-"),1)]),_:2},1032,["class"]),Se(e)?(c(),i(z,{key:0,class:"session-enrolled"},{default:o(()=>[w(x(Se(e)),1)]),_:2},1024)):k("",!0)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):k("",!0),be.value?(c(),i(q,{key:2,class:"enrolled-card"},{default:o(()=>[d(q,{class:"enrolled-hd"},{default:o(()=>[d(q,{class:"enrolled-hd-left"},{default:o(()=>[d(q,{class:"enrolled-title-col"},{default:o(()=>[d(q,{class:"enrolled-title-with-bar"},{default:o(()=>[d(z,{class:"enrolled-title-line"},{default:o(()=>[w("已报名("+x(be.value.reservation_total)+")",1)]),_:1}),d(q,{class:"enrolled-title-bar"})]),_:1})]),_:1})]),_:1}),we.value?(c(),i(q,{key:0,class:"enrolled-more",onClick:xe},{default:o(()=>[d(z,{class:"enrolled-more-text"},{default:o(()=>[w("更多报名")]),_:1}),d(z,{class:"enrolled-more-ico"},{default:o(()=>[w("›")]),_:1})]),_:1})):k("",!0)]),_:1}),d(q,{class:"enrolled-hd-line"}),d(q,{class:"enrolled-avatars"},{default:o(()=>[(c(!0),_(m,null,p(be.value.items,(e,l)=>(c(),i(q,{key:"enr-pv-"+e.id+"-"+l,class:"enrolled-user"},{default:o(()=>[d(s,{class:"enrolled-avatar",src:e.avatar_url||S(le),mode:"aspectFill"},null,8,["src"]),d(z,{class:"enrolled-uname"},{default:o(()=>[w(x(e.visitor_name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):k("",!0),Fe.value?(c(),i(q,{key:3,class:"intro-card"},{default:o(()=>[d(q,{class:"sec-title-row"},{default:o(()=>[d(z,{class:"sec-title"},{default:o(()=>[w("活动详情")]),_:1}),re.value?(c(),i(q,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>oe.value=!oe.value)},{default:o(()=>[d(s,{class:"expand-arrow-img",src:oe.value?S(X):S(ee),mode:"aspectFit"},null,8,["src"])]),_:1})):k("",!0)]),_:1}),d(q,{class:j(["intro-rich-wrap judge-activity-detail",{"is-collapsed":re.value&&!oe.value}])},{default:o(()=>[d(B,{class:"intro-rich",nodes:Fe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):k("",!0),d(q,{class:"safe-bottom"})]}),_:1}),d(q,{class:"action-bar"},{default:o(()=>[d(R,{class:j(["btn ghost",{"btn-full":!ye.value&&!ge.value&&!_e.value}]),onClick:ze},{default:o(()=>[w("一键导航")]),_:1},8,["class"]),_e.value?(c(),i(R,{key:0,class:"btn bts",onClick:me},{default:o(()=>[w("活动花絮")]),_:1})):k("",!0),ye.value?(c(),i(R,{key:1,class:"btn primary",onClick:Be},{default:o(()=>[w("立即查看")]),_:1})):k("",!0),ge.value?(c(),i(R,{key:2,class:"btn primary",onClick:Ce},{default:o(()=>[w("立即预约")]),_:1})):k("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-f1c86e74"]]);export{ae as default}; +import{d as e,e as l,f as a,w as s,Y as t,o as n,k as i,l as o,n as u,U as r,p as c,q as d,t as v,Z as f,F as _,G as m,H as p,$ as g,z as y,a0 as h,K as k,v as b,y as w,D as x,J as $,B as S,E as C,x as j,a1 as F,V as N,L as A,s as q,a2 as z,a3 as B,a4 as P,a5 as R,u as I,_ as T}from"./index-B62HYGKy.js";import{f as U,g as D,p as E,h as G}from"./content.DxtMXvVw.js";import{a as H}from"./venueThemeColors.DRxjaxXI.js";import{c as J,f as K}from"./activity.DEGdoGAe.js";import{s as L,i as V,a as Y,d as Z,b as M}from"./phone.Dfri_fbO.js";import{i as O,a as Q,b as W}from"./icon4.CHREtDdF.js";import{i as X,a as ee}from"./icon_up.DJ5zmdk8.js";import{P as le}from"./poster.C6TYC1FC.js";import"./text.BxMbQPAt.js";const ae=T(e({__name:"detail",setup(e){function T(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,s)=>{const t=String(a).trim();if(/style\s*=/i.test(t))return/max-width\s*:/i.test(t)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,s)=>/max-width/i.test(s)?e:`style=${a}${s};${l}${a}`);return`"===s?" />":">"}`})}function ae(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const se=l(0),te=l(!1),ne=l(null),ie=l(null),oe=l(!0),ue=l(!1),re=l(!1),ce=l(!1),de=a(()=>{const e=ne.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:le}]:[{type:"image",url:le}]}),ve=a(()=>{const e=ne.value;if(!e)return"ongoing";const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:J(e.start_at,e.end_at)}),fe=a(()=>"ended"===ve.value),_e=a(()=>{if(!fe.value||!ne.value)return!1;const e=ne.value.behind_scenes_media;return!!Array.isArray(e)&&e.some(e=>String((null==e?void 0:e.url)||"").trim().length>0)});function me(){var e;const l=null==(e=ne.value)?void 0:e.id;l&&A({url:`/pages/activity/behind-scenes?id=${l}`})}const pe=a(()=>{var e;const l=null==(e=ne.value)?void 0:e.reservation_type;return!l||"online"===l}),ge=a(()=>{var e;return!fe.value&&!0===(null==(e=ne.value)?void 0:e.is_bookable)&&pe.value}),ye=a(()=>{var e,l;return"other"===(null==(e=ne.value)?void 0:e.reservation_type)&&!!String((null==(l=ne.value)?void 0:l.external_url)||"").trim()}),he=a(()=>{var e;return Array.isArray(null==(e=ne.value)?void 0:e.booking_days)?ne.value.booking_days:[]}),ke=a(()=>{var e;return L(null==(e=ne.value)?void 0:e.contact_phone)}),be=a(()=>{var e;if(!pe.value)return null;const l=null==(e=ne.value)?void 0:e.registrations_preview;return!l||(l.reservation_total??0)<1?null:l}),we=a(()=>{const e=be.value;return!!e&&e.reservation_total>5});function xe(){var e,l;const a=null==(e=ne.value)?void 0:e.id,s=null==(l=ne.value)?void 0:l.title;if(!a)return;const t=s?`?id=${a}&title=${encodeURIComponent(String(s))}`:`?id=${a}`;A({url:`/pages/activity/registrations${t}`})}const $e=l(0);function Se(e){const l=Number(null==e?void 0:e.booked_count);return!Number.isFinite(l)||l<=0?"":(null==e?void 0:e.enrolled_count_text)?String(e.enrolled_count_text):"已报名数:"+l}function Ce(){var e;const l=null==(e=ne.value)?void 0:e.id;if(!l)return;const a=he.value;if(!a.length)return void A({url:`/pages/activity/reserve?id=${l}`});if(!$e.value)return void q({title:"请先选择场次",icon:"none"});const s=a.find(e=>e.id===$e.value);s?s.is_bookable&&A({url:`/pages/activity/reserve?id=${l}&day_id=${$e.value}`}):q({title:"场次无效",icon:"none"})}const je=a(()=>{var e;const l=null==(e=ne.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let s="";if(/<[a-z][\s\S]*>/i.test(a)){s=`
${T(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);s=`
${e}
`}return ae(s)?s:""}),Fe=a(()=>{var e;const l=null==(e=ne.value)?void 0:e.detail_html;if(!l)return"";const a=T(String(l));return ae(a)?a:""});function Ne(e){return null==e?"":String(e).trim()}function Ae(e){return Ne(e).length>0}function qe(e){const l=String(e||"").trim();return"free"===l?"免费":"paid"===l?"收费":l?Ne(l):""}function ze(){var e,l,a,s,t;const{lat:n,lng:i}=function(){var e,l,a,s,t,n;return{lat:Number((null==(e=ne.value)?void 0:e.lat)??(null==(a=null==(l=ne.value)?void 0:l.venue)?void 0:a.lat)??0),lng:Number((null==(s=ne.value)?void 0:s.lng)??(null==(n=null==(t=ne.value)?void 0:t.venue)?void 0:n.lng)??0)}}(),o=null!=(null==(e=ne.value)?void 0:e.location)&&String(ne.value.location).trim()||(null==(l=ne.value)?void 0:l.address)||(null==(s=null==(a=ne.value)?void 0:a.venue)?void 0:s.address)||"";z({lat:n,lng:i,name:(null==(t=ne.value)?void 0:t.title)||"活动地点",address:o})}function Be(){var e,l;const a=null==(e=ne.value)?void 0:e.id,s=String((null==(l=ne.value)?void 0:l.external_url)||"").trim();if(a&&s){if("undefined"!=typeof window){window.open(s,"_blank","noopener,noreferrer")||window.location.assign(s)}G(a).catch(()=>{})}}function Pe(){var e,l;const a=Number((null==(l=null==(e=ne.value)?void 0:e.venue)?void 0:l.id)??0);a?A({url:`/pages/venue/detail?id=${a}`}):q({title:"暂无场馆详情",icon:"none"})}return s([Fe,je],()=>{oe.value=!0,ue.value=!0,B(()=>{setTimeout(()=>{var e;const l=null==(e=P())?void 0:e.proxy,a=R();l&&a.in(l);const s=I(187);a.select(".judge-activity-detail").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];re.value=!!(l&&l.height&&l.height>s+1),ce.value=!!(a&&a.height&&a.height>s+1),ce.value?ue.value=!1:ue.value=!0})},120)})}),t(e=>{se.value=Number((null==e?void 0:e.id)||0),te.value=!1}),s(se,()=>{te.value=!1}),n(()=>{se.value&&async function(){const e=se.value;if(!e)return;const[l,a]=await Promise.all([U(e),D()]);ne.value=l,ie.value=a,te.value||(te.value=!0,E(e).catch(()=>{}))}()}),(e,l)=>{const a=r("SubPageBackBtn"),s=y,t=h,n=g,A=f,q=u,z=b,B=F,P=v,R=N;return c(),i(q,{class:"page"},{default:o(()=>[d(a),d(P,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e;return[d(q,{class:"hero"},{default:o(()=>[de.value.length?(c(),i(A,{key:0,class:"hero-swiper",circular:"",autoplay:de.value.length>1,interval:4e3,"indicator-dots":de.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:o(()=>[(c(!0),_(m,null,p(de.value,(e,l)=>(c(),i(n,{key:"s-"+l,class:"swiper-item"},{default:o(()=>["video"!==e.type?(c(),i(s,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(c(),i(t,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):k("",!0)]),_:1}),d(q,{class:"main-card"},{default:o(()=>{var e,a,t,n,u,r;return[d(z,{class:"act-title"},{default:o(()=>{var e;return[w(x((null==(e=ne.value)?void 0:e.title)||"-"),1)]}),_:1}),(null==(a=null==(e=ne.value)?void 0:e.tags)?void 0:a.length)?(c(),i(q,{key:0,class:"act-tags"},{default:o(()=>[(c(!0),_(m,null,p((ne.value.tags||[]).slice(0,4),(e,l)=>{var a;return c(),i(z,{key:"tg-"+l+"-"+e,class:"act-tag-chip",style:$(S(H)(l,null==(a=ie.value)?void 0:a.venue_type))},{default:o(()=>[w(x(e),1)]),_:2},1032,["style"])}),128))]),_:1})):k("",!0),(null==(n=null==(t=ne.value)?void 0:t.venue)?void 0:n.name)?(c(),i(q,{key:1,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(V),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("举办场馆:")]),_:1}),d(z,{class:"info-value info-value--venue",onClick:C(Pe,["stop"])},{default:o(()=>[w(x(ne.value.venue.name),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&Ae(ne.value.contact_name)?(c(),i(q,{key:2,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(O),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("联系人:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>[w(x(Ne(ne.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&ke.value.length?(c(),i(q,{key:3,class:"info-row info-row--phones"},{default:o(()=>[d(s,{class:"info-ico",src:S(Y),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("联系方式:")]),_:1}),d(q,{class:"phone-list"},{default:o(()=>[(c(!0),_(m,null,p(ke.value,(e,l)=>(c(),i(z,{key:"act-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:C(l=>S(Z)(e),["stop"])},{default:o(()=>[w(x(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):k("",!0),ne.value?(c(),i(q,{key:4,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(Q),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("活动日期:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>{var e,l;return[w(x(S(K)(null==(e=ne.value)?void 0:e.start_at,null==(l=ne.value)?void 0:l.end_at)),1)]}),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&Ae(ne.value.specific_time)?(c(),i(q,{key:5,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("具体时间:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>[w(x(Ne(ne.value.specific_time)),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value?(c(),i(q,{key:6,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("报名方式:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>{return[w(x((e=ne.value.reservation_type,e&&"online"!==e?"phone"===e?"电话预约":"wechat_mp"===e?"公众号预约":"offline_visit"===e?"线下预约":"none"===e?"无需预约":"offline"===e?"线下预约":"other"===e?"外链跳转预约":String(e):"线上预约")),1)];var e}),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&qe(ne.value.offline_reservation_method)?(c(),i(q,{key:7,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("门票说明:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>[w(x(qe(ne.value.offline_reservation_method)),1)]),_:1})]),_:1})]),_:1})):k("",!0),ne.value&&Ae(ne.value.location||(null==(r=null==(u=ne.value)?void 0:u.venue)?void 0:r.address))?(c(),i(q,{key:8,class:"info-row"},{default:o(()=>[d(s,{class:"info-ico",src:S(M),mode:"aspectFit"},null,8,["src"]),d(q,{class:"info-text-col info-text-col--line"},{default:o(()=>[d(z,{class:"info-label"},{default:o(()=>[w("活动地点:")]),_:1}),d(z,{class:"info-value"},{default:o(()=>{var e,l;return[w(x(Ne(ne.value.location||(null==(l=null==(e=ne.value)?void 0:e.venue)?void 0:l.address))),1)]}),_:1})]),_:1})]),_:1})):k("",!0),je.value?(c(),i(q,{key:9,class:"notice-block"},{default:o(()=>[d(q,{class:"sec-title-row notice-head-row"},{default:o(()=>[d(z,{class:"notice-label"},{default:o(()=>[w("预约须知")]),_:1}),ce.value?(c(),i(q,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>ue.value=!ue.value)},{default:o(()=>[d(s,{class:"expand-arrow-img",src:ue.value?S(X):S(ee),mode:"aspectFit"},null,8,["src"])]),_:1})):k("",!0)]),_:1}),d(q,{class:j(["notice-block-body judge-notice",{"is-collapsed":ce.value&&!ue.value}])},{default:o(()=>[d(B,{class:"notice-inline-rich",nodes:je.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):k("",!0)]}),_:1}),(null==(e=ne.value)?void 0:e.summary)?(c(),i(q,{key:0,class:"summary-card"},{default:o(()=>[d(q,{class:"sec-title-row"},{default:o(()=>[d(z,{class:"sec-title"},{default:o(()=>[w("活动简介")]),_:1})]),_:1}),d(z,{class:"summary-text"},{default:o(()=>[w(x(ne.value.summary),1)]),_:1})]),_:1})):k("",!0),pe.value&&he.value.length?(c(),i(q,{key:1,class:"session-card-wrap"},{default:o(()=>[d(q,{class:"sec-title-row session-sec-hd"},{default:o(()=>[d(q,{class:"session-sec-bar"}),d(z,{class:"sec-title"},{default:o(()=>[w("活动场次")]),_:1})]),_:1}),(c(!0),_(m,null,p(he.value,(e,l)=>(c(),i(q,{key:"ss-"+e.id+"-"+l,class:j(["session-item",{on:e.is_bookable&&$e.value===e.id,dim:!e.is_bookable}]),onClick:l=>function(e){(null==e?void 0:e.id)&&e.is_bookable&&($e.value=Number(e.id))}(e)},{default:o(()=>[e.is_bookable&&$e.value===e.id?(c(),i(q,{key:0,class:"session-check"},{default:o(()=>[w("✓")]),_:1})):k("",!0),d(z,{class:"session-name"},{default:o(()=>[w(x(e.session_name||e.time_display||"场次"),1)]),_:2},1024),d(z,{class:"session-time"},{default:o(()=>[w("场次时间:"+x(e.time_display||"-"),1)]),_:2},1024),d(z,{class:"session-quota"},{default:o(()=>[w("人数限制:"+x(Number(e.day_quota)||0)+"人",1)]),_:2},1024),d(q,{class:"session-status-line"},{default:o(()=>[d(z,{class:j(["session-action","sk-"+(e.status_kind||"open")])},{default:o(()=>[w(x(e.action_headline||e.status_text||"-"),1)]),_:2},1032,["class"]),Se(e)?(c(),i(z,{key:0,class:"session-enrolled"},{default:o(()=>[w(x(Se(e)),1)]),_:2},1024)):k("",!0)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):k("",!0),be.value?(c(),i(q,{key:2,class:"enrolled-card"},{default:o(()=>[d(q,{class:"enrolled-hd"},{default:o(()=>[d(q,{class:"enrolled-hd-left"},{default:o(()=>[d(q,{class:"enrolled-title-col"},{default:o(()=>[d(q,{class:"enrolled-title-with-bar"},{default:o(()=>[d(z,{class:"enrolled-title-line"},{default:o(()=>[w("已报名("+x(be.value.reservation_total)+")",1)]),_:1}),d(q,{class:"enrolled-title-bar"})]),_:1})]),_:1})]),_:1}),we.value?(c(),i(q,{key:0,class:"enrolled-more",onClick:xe},{default:o(()=>[d(z,{class:"enrolled-more-text"},{default:o(()=>[w("更多报名")]),_:1}),d(z,{class:"enrolled-more-ico"},{default:o(()=>[w("›")]),_:1})]),_:1})):k("",!0)]),_:1}),d(q,{class:"enrolled-hd-line"}),d(q,{class:"enrolled-avatars"},{default:o(()=>[(c(!0),_(m,null,p(be.value.items,(e,l)=>(c(),i(q,{key:"enr-pv-"+e.id+"-"+l,class:"enrolled-user"},{default:o(()=>[d(s,{class:"enrolled-avatar",src:e.avatar_url||S(le),mode:"aspectFill"},null,8,["src"]),d(z,{class:"enrolled-uname"},{default:o(()=>[w(x(e.visitor_name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):k("",!0),Fe.value?(c(),i(q,{key:3,class:"intro-card"},{default:o(()=>[d(q,{class:"sec-title-row"},{default:o(()=>[d(z,{class:"sec-title"},{default:o(()=>[w("活动详情")]),_:1}),re.value?(c(),i(q,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>oe.value=!oe.value)},{default:o(()=>[d(s,{class:"expand-arrow-img",src:oe.value?S(X):S(ee),mode:"aspectFit"},null,8,["src"])]),_:1})):k("",!0)]),_:1}),d(q,{class:j(["intro-rich-wrap judge-activity-detail",{"is-collapsed":re.value&&!oe.value}])},{default:o(()=>[d(B,{class:"intro-rich",nodes:Fe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):k("",!0),d(q,{class:"safe-bottom"})]}),_:1}),d(q,{class:"action-bar"},{default:o(()=>[d(R,{class:j(["btn ghost",{"btn-full":!ye.value&&!ge.value&&!_e.value}]),onClick:ze},{default:o(()=>[w("一键导航")]),_:1},8,["class"]),_e.value?(c(),i(R,{key:0,class:"btn bts",onClick:me},{default:o(()=>[w("活动花絮")]),_:1})):k("",!0),ye.value?(c(),i(R,{key:1,class:"btn primary",onClick:Be},{default:o(()=>[w("立即查看")]),_:1})):k("",!0),ge.value?(c(),i(R,{key:2,class:"btn primary",onClick:Ce},{default:o(()=>[w("立即预约")]),_:1})):k("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-f1c86e74"]]);export{ae as default}; diff --git a/public/h5/assets/pages-activity-index.D0ZTzMg5.js b/public/h5/assets/pages-activity-index.DytkJuMf.js similarity index 97% rename from public/h5/assets/pages-activity-index.D0ZTzMg5.js rename to public/h5/assets/pages-activity-index.DytkJuMf.js index 3d10b39..4ff36bc 100644 --- a/public/h5/assets/pages-activity-index.D0ZTzMg5.js +++ b/public/h5/assets/pages-activity-index.DytkJuMf.js @@ -1 +1 @@ -import{d as a,e,f as l,j as t,O as s,P as u,Q as i,k as n,l as c,n as r,p as o,q as d,I as v,z as _,B as f,F as y,G as g,H as k,x as m,v as p,y as b,D as h,K as C,J as j,E as w,L as P,_ as A}from"./index-BgY1dkGI.js";import{g as x,b as N}from"./content.CIu3j-dc.js";import{a as $}from"./venueThemeColors.DRxjaxXI.js";import{f as F,a as V,i as z,c as I}from"./activity.DEGdoGAe.js";import{P as q}from"./poster.C6TYC1FC.js";import{s as B}from"./search.BJnl3YRK.js";const D=A(a({__name:"index",setup(a){const A=e([]),D=e(null),E=e(1),G=e(0),H=e(!1),J=e(!1),K=e(""),L=e(""),O=[{value:"",label:"全部状态"},{value:"ongoing",label:"进行中"},{value:"not_started",label:"未开始"},{value:"ended",label:"已结束"}],Q=l(()=>G.value>0&&E.value{!async function(){try{D.value=await x()}catch{D.value=null}E.value=1,await T(1,!1)}()}),s(()=>{H.value||J.value||!Q.value||T(E.value+1,!0)}),u(async()=>{try{await U()}finally{i()}}),(a,e)=>{const l=v,t=_,s=r,u=p;return o(),n(s,{class:"page"},{default:c(()=>[d(s,{class:"filter-section"},{default:c(()=>[d(s,{class:"toolbar"},{default:c(()=>[d(s,{class:"search-wrap"},{default:c(()=>[d(l,{modelValue:K.value,"onUpdate:modelValue":e[0]||(e[0]=a=>K.value=a),class:"search-input",placeholder:"请输入活动名称","placeholder-class":"ph","confirm-type":"search",onConfirm:M},null,8,["modelValue"]),d(t,{class:"search-icon-img",src:f(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),d(s,{class:"filters"},{default:c(()=>[(o(),y(g,null,k(O,a=>d(s,{key:a.value,class:m(["f-item f-item--status",{"f-item--active":L.value===a.value}]),onClick:e=>{return l=a.value,L.value=l,void U();var l}},{default:c(()=>[d(u,{class:"f-item-text"},{default:c(()=>[b(h(a.label),1)]),_:2},1024)]),_:2},1032,["class","onClick"])),64))]),_:1})]),_:1}),d(s,{class:"list-inner"},{default:c(()=>[(o(!0),y(g,null,k(A.value,a=>(o(),n(s,{key:(a.list_kind||"activity")+"-"+a.id,class:"item",onClick:e=>R(a)},{default:c(()=>[d(s,{class:"poster-wrap"},{default:c(()=>{return[d(t,{class:"poster",src:a.image||f(q),mode:"aspectFill"},null,8,["src"]),d(s,{class:m(["status",(e=a,`st-${S(e)}`)])},{default:c(()=>[b(h(W(a)),1)]),_:2},1032,["class"]),"ticket_grab"===a.list_kind&&a.can_grab_today?(o(),n(s,{key:0,class:"grab-badge"},{default:c(()=>[b("抢票")]),_:1})):C("",!0)];var e}),_:2},1024),d(s,{class:"body"},{default:c(()=>{var e;return[d(s,{class:"title"},{default:c(()=>[b(h(a.title),1)]),_:2},1024),(null==(e=a.tags)?void 0:e.length)?(o(),n(s,{key:0,class:"act-tags"},{default:c(()=>[(o(!0),y(g,null,k((a.tags||[]).slice(0,4),(e,l)=>{var t;return o(),n(u,{key:"t-"+a.id+"-"+l,class:"act-tag-chip",style:j(f($)(l,null==(t=D.value)?void 0:t.venue_type))},{default:c(()=>[b(h(e),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):C("",!0),d(s,{class:"meta"},{default:c(()=>[b(h(f(F)(a.start_at,a.end_at)),1)]),_:2},1024),d(s,{class:"venue-action-row"},{default:c(()=>{return["ticket_grab"===a.list_kind?(o(),n(u,{key:0,class:"venue-inline"},{default:c(()=>[b(h(Number(a.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(o(),n(u,{key:1,class:"venue-inline"},{default:c(()=>[b(h(a.venue_name||"场馆待定"),1)]),_:2},1024)),(e=a,"ticket_grab"!==e.list_kind&&"ended"===e.schedule_status&&!0===e.has_behind_scenes?(o(),n(s,{key:2,class:"bts-pill",onClick:w(e=>function(a){if("ticket_grab"===a.list_kind)return;const e=Number(null==a?void 0:a.id);e&&P({url:`/pages/activity/behind-scenes?id=${e}`})}(a),["stop"])},{default:c(()=>[b("活动花絮")]),_:2},1032,["onClick"])):C("",!0)),"ticket_grab"===a.list_kind&&X(a)?(o(),n(s,{key:3,class:"btn",onClick:w(e=>R(a),["stop"])},{default:c(()=>[b("立即抢票")]),_:2},1032,["onClick"])):C("",!0)];var e}),_:2},1024)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),H.value&&!A.value.length?(o(),n(s,{key:0,class:"hint"},{default:c(()=>[b("加载中…")]),_:1})):C("",!0),J.value?(o(),n(s,{key:1,class:"hint"},{default:c(()=>[b("加载更多…")]),_:1})):C("",!0),G.value>0&&!Q.value&&A.value.length&&!H.value?(o(),n(s,{key:2,class:"hint muted"},{default:c(()=>[b("没有更多了")]),_:1})):C("",!0),H.value||A.value.length?C("",!0):(o(),n(s,{key:3,class:"hint muted"},{default:c(()=>[b("暂无活动")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-16b24b82"]]);export{D as default}; +import{d as a,e,f as l,j as t,O as s,P as u,Q as i,k as n,l as c,n as r,p as o,q as d,I as v,z as _,B as f,F as y,G as g,H as k,x as m,v as p,y as b,D as h,K as C,J as j,E as w,L as P,_ as A}from"./index-B62HYGKy.js";import{g as x,b as N}from"./content.DxtMXvVw.js";import{a as $}from"./venueThemeColors.DRxjaxXI.js";import{f as F,a as V,i as z,c as I}from"./activity.DEGdoGAe.js";import{P as q}from"./poster.C6TYC1FC.js";import{s as B}from"./search.BJnl3YRK.js";const D=A(a({__name:"index",setup(a){const A=e([]),D=e(null),E=e(1),G=e(0),H=e(!1),J=e(!1),K=e(""),L=e(""),O=[{value:"",label:"全部状态"},{value:"ongoing",label:"进行中"},{value:"not_started",label:"未开始"},{value:"ended",label:"已结束"}],Q=l(()=>G.value>0&&E.value{!async function(){try{D.value=await x()}catch{D.value=null}E.value=1,await T(1,!1)}()}),s(()=>{H.value||J.value||!Q.value||T(E.value+1,!0)}),u(async()=>{try{await U()}finally{i()}}),(a,e)=>{const l=v,t=_,s=r,u=p;return o(),n(s,{class:"page"},{default:c(()=>[d(s,{class:"filter-section"},{default:c(()=>[d(s,{class:"toolbar"},{default:c(()=>[d(s,{class:"search-wrap"},{default:c(()=>[d(l,{modelValue:K.value,"onUpdate:modelValue":e[0]||(e[0]=a=>K.value=a),class:"search-input",placeholder:"请输入活动名称","placeholder-class":"ph","confirm-type":"search",onConfirm:M},null,8,["modelValue"]),d(t,{class:"search-icon-img",src:f(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),d(s,{class:"filters"},{default:c(()=>[(o(),y(g,null,k(O,a=>d(s,{key:a.value,class:m(["f-item f-item--status",{"f-item--active":L.value===a.value}]),onClick:e=>{return l=a.value,L.value=l,void U();var l}},{default:c(()=>[d(u,{class:"f-item-text"},{default:c(()=>[b(h(a.label),1)]),_:2},1024)]),_:2},1032,["class","onClick"])),64))]),_:1})]),_:1}),d(s,{class:"list-inner"},{default:c(()=>[(o(!0),y(g,null,k(A.value,a=>(o(),n(s,{key:(a.list_kind||"activity")+"-"+a.id,class:"item",onClick:e=>R(a)},{default:c(()=>[d(s,{class:"poster-wrap"},{default:c(()=>{return[d(t,{class:"poster",src:a.image||f(q),mode:"aspectFill"},null,8,["src"]),d(s,{class:m(["status",(e=a,`st-${S(e)}`)])},{default:c(()=>[b(h(W(a)),1)]),_:2},1032,["class"]),"ticket_grab"===a.list_kind&&a.can_grab_today?(o(),n(s,{key:0,class:"grab-badge"},{default:c(()=>[b("抢票")]),_:1})):C("",!0)];var e}),_:2},1024),d(s,{class:"body"},{default:c(()=>{var e;return[d(s,{class:"title"},{default:c(()=>[b(h(a.title),1)]),_:2},1024),(null==(e=a.tags)?void 0:e.length)?(o(),n(s,{key:0,class:"act-tags"},{default:c(()=>[(o(!0),y(g,null,k((a.tags||[]).slice(0,4),(e,l)=>{var t;return o(),n(u,{key:"t-"+a.id+"-"+l,class:"act-tag-chip",style:j(f($)(l,null==(t=D.value)?void 0:t.venue_type))},{default:c(()=>[b(h(e),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):C("",!0),d(s,{class:"meta"},{default:c(()=>[b(h(f(F)(a.start_at,a.end_at)),1)]),_:2},1024),d(s,{class:"venue-action-row"},{default:c(()=>{return["ticket_grab"===a.list_kind?(o(),n(u,{key:0,class:"venue-inline"},{default:c(()=>[b(h(Number(a.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(o(),n(u,{key:1,class:"venue-inline"},{default:c(()=>[b(h(a.venue_name||"场馆待定"),1)]),_:2},1024)),(e=a,"ticket_grab"!==e.list_kind&&"ended"===e.schedule_status&&!0===e.has_behind_scenes?(o(),n(s,{key:2,class:"bts-pill",onClick:w(e=>function(a){if("ticket_grab"===a.list_kind)return;const e=Number(null==a?void 0:a.id);e&&P({url:`/pages/activity/behind-scenes?id=${e}`})}(a),["stop"])},{default:c(()=>[b("活动花絮")]),_:2},1032,["onClick"])):C("",!0)),"ticket_grab"===a.list_kind&&X(a)?(o(),n(s,{key:3,class:"btn",onClick:w(e=>R(a),["stop"])},{default:c(()=>[b("立即抢票")]),_:2},1032,["onClick"])):C("",!0)];var e}),_:2},1024)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),H.value&&!A.value.length?(o(),n(s,{key:0,class:"hint"},{default:c(()=>[b("加载中…")]),_:1})):C("",!0),J.value?(o(),n(s,{key:1,class:"hint"},{default:c(()=>[b("加载更多…")]),_:1})):C("",!0),G.value>0&&!Q.value&&A.value.length&&!H.value?(o(),n(s,{key:2,class:"hint muted"},{default:c(()=>[b("没有更多了")]),_:1})):C("",!0),H.value||A.value.length?C("",!0):(o(),n(s,{key:3,class:"hint muted"},{default:c(()=>[b("暂无活动")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-16b24b82"]]);export{D as default}; diff --git a/public/h5/assets/pages-activity-registrations.BpQtNYyE.js b/public/h5/assets/pages-activity-registrations.dOB1SGvM.js similarity index 95% rename from public/h5/assets/pages-activity-registrations.BpQtNYyE.js rename to public/h5/assets/pages-activity-registrations.dOB1SGvM.js index d7d917c..dd03632 100644 --- a/public/h5/assets/pages-activity-registrations.BpQtNYyE.js +++ b/public/h5/assets/pages-activity-registrations.dOB1SGvM.js @@ -1 +1 @@ -import{d as a,e,f as t,Y as l,k as s,l as u,n,U as r,p as i,q as c,v as o,y as v,D as d,K as f,t as _,F as g,G as m,H as p,x as y,z as h,B as $,_ as k}from"./index-BgY1dkGI.js";import{i as S}from"./content.CIu3j-dc.js";import{P as w}from"./poster.C6TYC1FC.js";const b=k(a({__name:"registrations",setup(a){const k=e(0),b=e(""),x=e(!1),N=e(!1),j=e(1),B=e(1),D=e(0),F=e([]);function z(a){const e=(a.session_name||"").trim(),t=(a.session_time_text||"").trim(),l=(a.activity_date||"").trim();return e&&t?`${e} · ${t}`:t||(e&&l?`${e} · ${l}`:e||(l||"场次信息"))}function H(a){if(!a)return"—";const e=new Date(a);return Number.isNaN(e.getTime())?"—":`${e.getFullYear()}/${e.getMonth()+1}/${e.getDate()} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}`}const I=t(()=>j.value!I.value&&F.value.length>0&&!x.value&&!N.value);async function P(a,e){if(k.value){if(e){if(N.value||!I.value)return;N.value=!0}else x.value=!0;try{const t=await S(k.value,{page:a,page_size:20});D.value=t.total,B.value=t.last_page||1,t.activity_title&&(b.value=t.activity_title),F.value=e?[...F.value,...t.data||[]]:t.data||[],j.value=a}catch{e||(F.value=[])}finally{x.value=!1,N.value=!1}}}function U(){!I.value||x.value||N.value||P(j.value+1,!0)}return l(a=>{k.value=Number((null==a?void 0:a.id)||0);const e=null==a?void 0:a.title;if(e&&"string"==typeof e)try{b.value=decodeURIComponent(e)}catch{b.value=e}P(1,!1)}),(a,e)=>{const t=r("SubPageBackBtn"),l=o,k=n,S=h,N=_;return i(),s(k,{class:"page"},{default:u(()=>[c(t),c(k,{class:"body"},{default:u(()=>[b.value?(i(),s(k,{key:0,class:"act-hd"},{default:u(()=>[c(l,{class:"act-hd-t"},{default:u(()=>[v(d(b.value),1)]),_:1})]),_:1})):f("",!0),c(N,{"scroll-y":"",class:"scroll","lower-threshold":100,onScrolltolower:U},{default:u(()=>[x.value&&!F.value.length?(i(),s(k,{key:0,class:"state-tip"},{default:u(()=>[v("加载中…")]),_:1})):(i(),s(k,{key:1,class:"list-outer"},{default:u(()=>[F.value.length?(i(),s(k,{key:0,class:"list-wrap"},{default:u(()=>[(i(!0),g(m,null,p(F.value,(a,e)=>(i(),s(k,{key:"enr-"+a.id,class:y(["enr-row",{"is-last":e===F.value.length-1}])},{default:u(()=>[c(S,{class:"enr-avatar",src:a.avatar_url||$(w),mode:"aspectFill"},null,8,["src"]),c(k,{class:"enr-mid"},{default:u(()=>[c(k,{class:"enr-name-row"},{default:u(()=>[c(l,{class:"enr-name"},{default:u(()=>[v(d(a.visitor_name||"—"),1)]),_:2},1024),c(l,{class:"enr-time"},{default:u(()=>[v(d(H(a.created_at)),1)]),_:2},1024)]),_:2},1024),c(l,{class:"enr-session"},{default:u(()=>[v(d(z(a)),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})):f("",!0),x.value||F.value.length?f("",!0):(i(),s(k,{key:1,class:"state-tip"},{default:u(()=>[v("暂无报名")]),_:1})),M.value?(i(),s(k,{key:2,class:"enr-end"},{default:u(()=>[v("这回真没了~")]),_:1})):f("",!0)]),_:1}))]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-fcaf9d69"]]);export{b as default}; +import{d as a,e,f as t,Y as l,k as s,l as u,n,U as r,p as i,q as c,v as o,y as v,D as d,K as f,t as _,F as g,G as m,H as p,x as y,z as h,B as $,_ as k}from"./index-B62HYGKy.js";import{i as S}from"./content.DxtMXvVw.js";import{P as w}from"./poster.C6TYC1FC.js";const b=k(a({__name:"registrations",setup(a){const k=e(0),b=e(""),x=e(!1),N=e(!1),j=e(1),B=e(1),D=e(0),F=e([]);function z(a){const e=(a.session_name||"").trim(),t=(a.session_time_text||"").trim(),l=(a.activity_date||"").trim();return e&&t?`${e} · ${t}`:t||(e&&l?`${e} · ${l}`:e||(l||"场次信息"))}function H(a){if(!a)return"—";const e=new Date(a);return Number.isNaN(e.getTime())?"—":`${e.getFullYear()}/${e.getMonth()+1}/${e.getDate()} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}`}const I=t(()=>j.value!I.value&&F.value.length>0&&!x.value&&!N.value);async function P(a,e){if(k.value){if(e){if(N.value||!I.value)return;N.value=!0}else x.value=!0;try{const t=await S(k.value,{page:a,page_size:20});D.value=t.total,B.value=t.last_page||1,t.activity_title&&(b.value=t.activity_title),F.value=e?[...F.value,...t.data||[]]:t.data||[],j.value=a}catch{e||(F.value=[])}finally{x.value=!1,N.value=!1}}}function U(){!I.value||x.value||N.value||P(j.value+1,!0)}return l(a=>{k.value=Number((null==a?void 0:a.id)||0);const e=null==a?void 0:a.title;if(e&&"string"==typeof e)try{b.value=decodeURIComponent(e)}catch{b.value=e}P(1,!1)}),(a,e)=>{const t=r("SubPageBackBtn"),l=o,k=n,S=h,N=_;return i(),s(k,{class:"page"},{default:u(()=>[c(t),c(k,{class:"body"},{default:u(()=>[b.value?(i(),s(k,{key:0,class:"act-hd"},{default:u(()=>[c(l,{class:"act-hd-t"},{default:u(()=>[v(d(b.value),1)]),_:1})]),_:1})):f("",!0),c(N,{"scroll-y":"",class:"scroll","lower-threshold":100,onScrolltolower:U},{default:u(()=>[x.value&&!F.value.length?(i(),s(k,{key:0,class:"state-tip"},{default:u(()=>[v("加载中…")]),_:1})):(i(),s(k,{key:1,class:"list-outer"},{default:u(()=>[F.value.length?(i(),s(k,{key:0,class:"list-wrap"},{default:u(()=>[(i(!0),g(m,null,p(F.value,(a,e)=>(i(),s(k,{key:"enr-"+a.id,class:y(["enr-row",{"is-last":e===F.value.length-1}])},{default:u(()=>[c(S,{class:"enr-avatar",src:a.avatar_url||$(w),mode:"aspectFill"},null,8,["src"]),c(k,{class:"enr-mid"},{default:u(()=>[c(k,{class:"enr-name-row"},{default:u(()=>[c(l,{class:"enr-name"},{default:u(()=>[v(d(a.visitor_name||"—"),1)]),_:2},1024),c(l,{class:"enr-time"},{default:u(()=>[v(d(H(a.created_at)),1)]),_:2},1024)]),_:2},1024),c(l,{class:"enr-session"},{default:u(()=>[v(d(z(a)),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})):f("",!0),x.value||F.value.length?f("",!0):(i(),s(k,{key:1,class:"state-tip"},{default:u(()=>[v("暂无报名")]),_:1})),M.value?(i(),s(k,{key:2,class:"enr-end"},{default:u(()=>[v("这回真没了~")]),_:1})):f("",!0)]),_:1}))]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-fcaf9d69"]]);export{b as default}; diff --git a/public/h5/assets/pages-activity-reserve.B48Q38fF.js b/public/h5/assets/pages-activity-reserve.DlLHEOOg.js similarity index 97% rename from public/h5/assets/pages-activity-reserve.B48Q38fF.js rename to public/h5/assets/pages-activity-reserve.DlLHEOOg.js index 0a3ef8e..b393d28 100644 --- a/public/h5/assets/pages-activity-reserve.B48Q38fF.js +++ b/public/h5/assets/pages-activity-reserve.DlLHEOOg.js @@ -1 +1 @@ -import{d as e,e as a,f as l,w as u,Y as o,k as i,l as t,s,n,g as v,S as d,U as c,p as r,q as _,t as p,y as f,D as m,v as y,z as b,B as g,K as h,x as k,a1 as x,I as w,V as M,a7 as N,a3 as V,a4 as j,a5 as C,u as A,_ as $}from"./index-BgY1dkGI.js";import{n as B,o as T}from"./content.CIu3j-dc.js";import{g as U,l as S}from"./localProfile.5oNLnbIP.js";import{b as z}from"./richText.Cl1iMeI3.js";import{i as I,a as P}from"./icon_up.DJ5zmdk8.js";const q=$(e({__name:"reserve",setup(e){const $=a(0),q=a(0),D=a(!1),F=a(!1),K=a(null),O=a(!0),R=a(!1),Y=a({activity_day_id:0,visitor_name:"",visitor_phone:"",booking_type:"individual",people_count:1}),E=l(()=>{var e;return((null==(e=K.value)?void 0:e.days)||[]).find(e=>e.id===Y.value.activity_day_id)}),G=l(()=>{const e=E.value;return!0===(null==e?void 0:e.is_bookable)}),H=l(()=>!!Y.value.activity_day_id&&G.value&&!!Y.value.visitor_name&&/^1\d{10}$/.test(Y.value.visitor_phone)),J=l(()=>{var e,a;return z(null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.reservation_notice)});u(J,()=>{O.value=!0,V(()=>{setTimeout(()=>{var e;const a=null==(e=j())?void 0:e.proxy,l=C();a&&l.in(a);const u=A(187);l.select(".judge-notice-reserve").boundingClientRect(),l.exec(e=>{const[a]=e||[];R.value=!!(a&&a.height&&a.height>u+1),R.value?O.value=!1:O.value=!0})},120)})});const L=l(()=>{var e,a;return String((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.booking_audience)||"both")}),Q=l(()=>{var e,a;return Math.max(1,Number((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.min_people_per_order)||1))}),W=l(()=>{var e,a;const l=Math.max(1,Number((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.max_people_per_order)||1));return Math.max(l,Q.value)}),X=l(()=>{var e,a;return(null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.booking_modes)||["individual","group"]}),Z=l(()=>"individual"===L.value),ee=l(()=>"group"===L.value),ae=l(()=>`团体(${Q.value}-${W.value}人)`),le=l(()=>"group"===L.value||"both"===L.value&&"group"===Y.value.booking_type),ue=l(()=>le.value&&Math.floor(Number(Y.value.people_count)||Q.value)<=Q.value),oe=l(()=>le.value&&Math.floor(Number(Y.value.people_count)||Q.value)>=W.value);function ie(){if("individual"===L.value)return Y.value.booking_type="individual",void(Y.value.people_count=1);if("group"===L.value?Y.value.booking_type="group":X.value.includes(Y.value.booking_type)||(Y.value.booking_type="individual"),"individual"===Y.value.booking_type)return void(Y.value.people_count=1);const e=Math.floor(Number(Y.value.people_count||0));Y.value.people_count=Math.min(W.value,Math.max(Q.value,e||Q.value))}function te(){ee.value||(Y.value.booking_type="individual",ie())}function se(){Z.value||(Y.value.booking_type="group",ie())}async function ne(){var e;if($.value){D.value=!0;try{K.value=await B($.value),ie();const a=(null==(e=K.value)?void 0:e.days)||[];q.value&&a.some(e=>e.id===q.value)?Y.value.activity_day_id=q.value:function(){var e;const a=(null==(e=K.value)?void 0:e.days)||[];if(!a.length)return void(Y.value.activity_day_id=0);const l=a.filter(e=>e.is_bookable);l.length?Y.value.activity_day_id=l[0].id:Y.value.activity_day_id=a[0].id}(),await async function(){if(v(d.accessToken))try{const e=await U();return(null==e?void 0:e.real_name)&&(Y.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&(Y.value.visitor_phone=e.phone))}catch{}const e=S();(null==e?void 0:e.real_name)&&(Y.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&(Y.value.visitor_phone=e.phone)}()}catch(a){s({title:(null==a?void 0:a.message)||"加载预约信息失败",icon:"none"})}finally{D.value=!1}}}function ve(){ue.value||(Y.value.people_count=Math.max(Q.value,(Number(Y.value.people_count)||Q.value)-1),ie())}function de(){oe.value||(Y.value.people_count=Math.min(W.value,(Number(Y.value.people_count)||Q.value)+1),ie())}async function ce(){if($.value)if(G.value)if(H.value)if(ie(),"group"===Y.value.booking_type&&(Y.value.people_countW.value))s({title:`人数需在 ${Q.value}-${W.value} 之间`,icon:"none"});else{F.value=!0;try{await T($.value,Y.value),s({title:"预约成功",icon:"success"}),setTimeout(()=>{N({url:`/pages/activity/detail?id=${$.value}`})},500)}catch(e){const a=(null==e?void 0:e.errors)||{},l=Array.isArray(a.activity_day_id)&&a.activity_day_id[0]||Array.isArray(a.visitor_phone)&&a.visitor_phone[0]||""||("string"==typeof(null==e?void 0:e.message)?e.message:"")||Object.keys(a).map(e=>Array.isArray(a[e])?a[e][0]:"").find(Boolean)||"预约失败";s({title:l,icon:"none"})}finally{F.value=!1}}else s({title:"请完整填写预约信息",icon:"none"});else s({title:"当前场次不可预约,请返回活动详情重新选择",icon:"none"})}return o(e=>{$.value=Number((null==e?void 0:e.id)||0),q.value=Number((null==e?void 0:e.day_id)||0),ne()}),(e,a)=>{const l=c("SubPageBackBtn"),u=n,o=y,s=b,v=x,d=w,N=p,V=M;return r(),i(u,{class:"page-wrap"},{default:t(()=>[_(l),_(N,{"scroll-y":"",class:"page"},{default:t(()=>[D.value?(r(),i(u,{key:0,class:"loading-tip"},{default:t(()=>[f("加载中…")]),_:1})):(r(),i(u,{key:1,class:"content"},{default:t(()=>[_(u,{class:"card"},{default:t(()=>[_(u,{class:"act-title"},{default:t(()=>{var e,a;return[f(m((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.title)||"活动预约"),1)]}),_:1}),_(u,{class:"field-label"},{default:t(()=>[f("预约场次")]),_:1}),E.value?(r(),i(u,{key:0,class:"session-info"},{default:t(()=>[_(o,{class:"session-info-name"},{default:t(()=>[f(m(E.value.session_name||"场次"),1)]),_:1}),_(o,{class:"session-info-line"},{default:t(()=>[f("场次时间:"+m(E.value.time_display||"-"),1)]),_:1}),_(o,{class:"session-info-line"},{default:t(()=>[f(m(E.value.enrolled_count_text||"已报名数:"+(Number(E.value.booked_count)||0)),1)]),_:1})]),_:1})):(r(),i(u,{key:1,class:"session-info session-info--empty"},{default:t(()=>[f("暂无场次信息")]),_:1})),J.value?(r(),i(u,{key:2,class:"notice-block"},{default:t(()=>[_(u,{class:"sec-title-row notice-head-row"},{default:t(()=>[_(o,{class:"notice-label"},{default:t(()=>[f("预约须知")]),_:1}),R.value?(r(),i(u,{key:0,class:"expand-arrow-tap",onClick:a[0]||(a[0]=e=>O.value=!O.value)},{default:t(()=>[_(s,{class:"expand-arrow-img",src:O.value?g(I):g(P),mode:"aspectFit"},null,8,["src"])]),_:1})):h("",!0)]),_:1}),_(u,{class:k(["notice-block-body judge-notice-reserve",{"is-collapsed":R.value&&!O.value}])},{default:t(()=>[_(v,{class:"notice-inline-rich",nodes:J.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):h("",!0)]),_:1}),K.value?(r(),i(u,{key:0,class:"card"},{default:t(()=>[_(u,{class:"mode-row"},{default:t(()=>[_(o,{class:"mode-label"},{default:t(()=>[f("预约类型")]),_:1}),_(u,{class:"mode-btns"},{default:t(()=>[_(u,{class:k(["mode-pill",{on:"individual"===Y.value.booking_type,disabled:ee.value}]),onClick:te},{default:t(()=>[f("个人")]),_:1},8,["class"]),_(u,{class:k(["mode-pill",{on:"group"===Y.value.booking_type,disabled:Z.value}]),onClick:se},{default:t(()=>[f(m(ae.value),1)]),_:1},8,["class"])]),_:1})]),_:1}),le.value?(r(),i(u,{key:0,class:"count-row"},{default:t(()=>[_(o,{class:"count-name"},{default:t(()=>[f("参观人数")]),_:1}),_(u,{class:"stepper"},{default:t(()=>[_(u,{class:k(["step-btn",{disabled:ue.value}]),onClick:ve},{default:t(()=>[f("−")]),_:1},8,["class"]),_(d,{modelValue:Y.value.people_count,"onUpdate:modelValue":a[1]||(a[1]=e=>Y.value.people_count=e),modelModifiers:{number:!0},class:"step-val",type:"number",onBlur:a[2]||(a[2]=e=>ie())},null,8,["modelValue"]),_(u,{class:k(["step-btn",{disabled:oe.value}]),onClick:de},{default:t(()=>[f("+")]),_:1},8,["class"])]),_:1})]),_:1})):h("",!0)]),_:1})):h("",!0),_(u,{class:"card"},{default:t(()=>[_(u,{class:"card-hd"},{default:t(()=>[f("联系人信息")]),_:1}),_(u,{class:"form-row"},{default:t(()=>[_(o,{class:"form-label"},{default:t(()=>[f("联系人")]),_:1}),_(d,{modelValue:Y.value.visitor_name,"onUpdate:modelValue":a[3]||(a[3]=e=>Y.value.visitor_name=e),class:"form-input",placeholder:"请输入姓名","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(u,{class:"form-row last"},{default:t(()=>[_(o,{class:"form-label"},{default:t(()=>[f("手机号")]),_:1}),_(d,{modelValue:Y.value.visitor_phone,"onUpdate:modelValue":a[4]||(a[4]=e=>Y.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"输入手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),_(u,{class:"safe-bottom"})]),_:1}),_(u,{class:"action-bar"},{default:t(()=>[_(V,{class:"btn primary",disabled:!H.value||F.value||D.value,onClick:ce},{default:t(()=>[f(m(F.value?"提交中...":"确认预约"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-306273fd"]]);export{q as default}; +import{d as e,e as a,f as l,w as u,Y as o,k as i,l as t,s,n,g as v,S as d,U as c,p as r,q as _,t as p,y as f,D as m,v as y,z as b,B as g,K as h,x as k,a1 as x,I as w,V as M,a7 as N,a3 as V,a4 as j,a5 as C,u as A,_ as $}from"./index-B62HYGKy.js";import{n as B,o as T}from"./content.DxtMXvVw.js";import{g as U,l as S}from"./localProfile.BNBxvTJ-.js";import{b as z}from"./richText.Cl1iMeI3.js";import{i as I,a as P}from"./icon_up.DJ5zmdk8.js";const q=$(e({__name:"reserve",setup(e){const $=a(0),q=a(0),D=a(!1),F=a(!1),K=a(null),O=a(!0),R=a(!1),Y=a({activity_day_id:0,visitor_name:"",visitor_phone:"",booking_type:"individual",people_count:1}),E=l(()=>{var e;return((null==(e=K.value)?void 0:e.days)||[]).find(e=>e.id===Y.value.activity_day_id)}),G=l(()=>{const e=E.value;return!0===(null==e?void 0:e.is_bookable)}),H=l(()=>!!Y.value.activity_day_id&&G.value&&!!Y.value.visitor_name&&/^1\d{10}$/.test(Y.value.visitor_phone)),J=l(()=>{var e,a;return z(null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.reservation_notice)});u(J,()=>{O.value=!0,V(()=>{setTimeout(()=>{var e;const a=null==(e=j())?void 0:e.proxy,l=C();a&&l.in(a);const u=A(187);l.select(".judge-notice-reserve").boundingClientRect(),l.exec(e=>{const[a]=e||[];R.value=!!(a&&a.height&&a.height>u+1),R.value?O.value=!1:O.value=!0})},120)})});const L=l(()=>{var e,a;return String((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.booking_audience)||"both")}),Q=l(()=>{var e,a;return Math.max(1,Number((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.min_people_per_order)||1))}),W=l(()=>{var e,a;const l=Math.max(1,Number((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.max_people_per_order)||1));return Math.max(l,Q.value)}),X=l(()=>{var e,a;return(null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.booking_modes)||["individual","group"]}),Z=l(()=>"individual"===L.value),ee=l(()=>"group"===L.value),ae=l(()=>`团体(${Q.value}-${W.value}人)`),le=l(()=>"group"===L.value||"both"===L.value&&"group"===Y.value.booking_type),ue=l(()=>le.value&&Math.floor(Number(Y.value.people_count)||Q.value)<=Q.value),oe=l(()=>le.value&&Math.floor(Number(Y.value.people_count)||Q.value)>=W.value);function ie(){if("individual"===L.value)return Y.value.booking_type="individual",void(Y.value.people_count=1);if("group"===L.value?Y.value.booking_type="group":X.value.includes(Y.value.booking_type)||(Y.value.booking_type="individual"),"individual"===Y.value.booking_type)return void(Y.value.people_count=1);const e=Math.floor(Number(Y.value.people_count||0));Y.value.people_count=Math.min(W.value,Math.max(Q.value,e||Q.value))}function te(){ee.value||(Y.value.booking_type="individual",ie())}function se(){Z.value||(Y.value.booking_type="group",ie())}async function ne(){var e;if($.value){D.value=!0;try{K.value=await B($.value),ie();const a=(null==(e=K.value)?void 0:e.days)||[];q.value&&a.some(e=>e.id===q.value)?Y.value.activity_day_id=q.value:function(){var e;const a=(null==(e=K.value)?void 0:e.days)||[];if(!a.length)return void(Y.value.activity_day_id=0);const l=a.filter(e=>e.is_bookable);l.length?Y.value.activity_day_id=l[0].id:Y.value.activity_day_id=a[0].id}(),await async function(){if(v(d.accessToken))try{const e=await U();return(null==e?void 0:e.real_name)&&(Y.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&(Y.value.visitor_phone=e.phone))}catch{}const e=S();(null==e?void 0:e.real_name)&&(Y.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&(Y.value.visitor_phone=e.phone)}()}catch(a){s({title:(null==a?void 0:a.message)||"加载预约信息失败",icon:"none"})}finally{D.value=!1}}}function ve(){ue.value||(Y.value.people_count=Math.max(Q.value,(Number(Y.value.people_count)||Q.value)-1),ie())}function de(){oe.value||(Y.value.people_count=Math.min(W.value,(Number(Y.value.people_count)||Q.value)+1),ie())}async function ce(){if($.value)if(G.value)if(H.value)if(ie(),"group"===Y.value.booking_type&&(Y.value.people_countW.value))s({title:`人数需在 ${Q.value}-${W.value} 之间`,icon:"none"});else{F.value=!0;try{await T($.value,Y.value),s({title:"预约成功",icon:"success"}),setTimeout(()=>{N({url:`/pages/activity/detail?id=${$.value}`})},500)}catch(e){const a=(null==e?void 0:e.errors)||{},l=Array.isArray(a.activity_day_id)&&a.activity_day_id[0]||Array.isArray(a.visitor_phone)&&a.visitor_phone[0]||""||("string"==typeof(null==e?void 0:e.message)?e.message:"")||Object.keys(a).map(e=>Array.isArray(a[e])?a[e][0]:"").find(Boolean)||"预约失败";s({title:l,icon:"none"})}finally{F.value=!1}}else s({title:"请完整填写预约信息",icon:"none"});else s({title:"当前场次不可预约,请返回活动详情重新选择",icon:"none"})}return o(e=>{$.value=Number((null==e?void 0:e.id)||0),q.value=Number((null==e?void 0:e.day_id)||0),ne()}),(e,a)=>{const l=c("SubPageBackBtn"),u=n,o=y,s=b,v=x,d=w,N=p,V=M;return r(),i(u,{class:"page-wrap"},{default:t(()=>[_(l),_(N,{"scroll-y":"",class:"page"},{default:t(()=>[D.value?(r(),i(u,{key:0,class:"loading-tip"},{default:t(()=>[f("加载中…")]),_:1})):(r(),i(u,{key:1,class:"content"},{default:t(()=>[_(u,{class:"card"},{default:t(()=>[_(u,{class:"act-title"},{default:t(()=>{var e,a;return[f(m((null==(a=null==(e=K.value)?void 0:e.activity)?void 0:a.title)||"活动预约"),1)]}),_:1}),_(u,{class:"field-label"},{default:t(()=>[f("预约场次")]),_:1}),E.value?(r(),i(u,{key:0,class:"session-info"},{default:t(()=>[_(o,{class:"session-info-name"},{default:t(()=>[f(m(E.value.session_name||"场次"),1)]),_:1}),_(o,{class:"session-info-line"},{default:t(()=>[f("场次时间:"+m(E.value.time_display||"-"),1)]),_:1}),_(o,{class:"session-info-line"},{default:t(()=>[f(m(E.value.enrolled_count_text||"已报名数:"+(Number(E.value.booked_count)||0)),1)]),_:1})]),_:1})):(r(),i(u,{key:1,class:"session-info session-info--empty"},{default:t(()=>[f("暂无场次信息")]),_:1})),J.value?(r(),i(u,{key:2,class:"notice-block"},{default:t(()=>[_(u,{class:"sec-title-row notice-head-row"},{default:t(()=>[_(o,{class:"notice-label"},{default:t(()=>[f("预约须知")]),_:1}),R.value?(r(),i(u,{key:0,class:"expand-arrow-tap",onClick:a[0]||(a[0]=e=>O.value=!O.value)},{default:t(()=>[_(s,{class:"expand-arrow-img",src:O.value?g(I):g(P),mode:"aspectFit"},null,8,["src"])]),_:1})):h("",!0)]),_:1}),_(u,{class:k(["notice-block-body judge-notice-reserve",{"is-collapsed":R.value&&!O.value}])},{default:t(()=>[_(v,{class:"notice-inline-rich",nodes:J.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):h("",!0)]),_:1}),K.value?(r(),i(u,{key:0,class:"card"},{default:t(()=>[_(u,{class:"mode-row"},{default:t(()=>[_(o,{class:"mode-label"},{default:t(()=>[f("预约类型")]),_:1}),_(u,{class:"mode-btns"},{default:t(()=>[_(u,{class:k(["mode-pill",{on:"individual"===Y.value.booking_type,disabled:ee.value}]),onClick:te},{default:t(()=>[f("个人")]),_:1},8,["class"]),_(u,{class:k(["mode-pill",{on:"group"===Y.value.booking_type,disabled:Z.value}]),onClick:se},{default:t(()=>[f(m(ae.value),1)]),_:1},8,["class"])]),_:1})]),_:1}),le.value?(r(),i(u,{key:0,class:"count-row"},{default:t(()=>[_(o,{class:"count-name"},{default:t(()=>[f("参观人数")]),_:1}),_(u,{class:"stepper"},{default:t(()=>[_(u,{class:k(["step-btn",{disabled:ue.value}]),onClick:ve},{default:t(()=>[f("−")]),_:1},8,["class"]),_(d,{modelValue:Y.value.people_count,"onUpdate:modelValue":a[1]||(a[1]=e=>Y.value.people_count=e),modelModifiers:{number:!0},class:"step-val",type:"number",onBlur:a[2]||(a[2]=e=>ie())},null,8,["modelValue"]),_(u,{class:k(["step-btn",{disabled:oe.value}]),onClick:de},{default:t(()=>[f("+")]),_:1},8,["class"])]),_:1})]),_:1})):h("",!0)]),_:1})):h("",!0),_(u,{class:"card"},{default:t(()=>[_(u,{class:"card-hd"},{default:t(()=>[f("联系人信息")]),_:1}),_(u,{class:"form-row"},{default:t(()=>[_(o,{class:"form-label"},{default:t(()=>[f("联系人")]),_:1}),_(d,{modelValue:Y.value.visitor_name,"onUpdate:modelValue":a[3]||(a[3]=e=>Y.value.visitor_name=e),class:"form-input",placeholder:"请输入姓名","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(u,{class:"form-row last"},{default:t(()=>[_(o,{class:"form-label"},{default:t(()=>[f("手机号")]),_:1}),_(d,{modelValue:Y.value.visitor_phone,"onUpdate:modelValue":a[4]||(a[4]=e=>Y.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"输入手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),_(u,{class:"safe-bottom"})]),_:1}),_(u,{class:"action-bar"},{default:t(()=>[_(V,{class:"btn primary",disabled:!H.value||F.value||D.value,onClick:ce},{default:t(()=>[f(m(F.value?"提交中...":"确认预约"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-306273fd"]]);export{q as default}; diff --git a/public/h5/assets/pages-discover-index.BVLjhhea.js b/public/h5/assets/pages-discover-index.mYNZEveb.js similarity index 97% rename from public/h5/assets/pages-discover-index.BVLjhhea.js rename to public/h5/assets/pages-discover-index.mYNZEveb.js index 4ea6d74..a55b789 100644 --- a/public/h5/assets/pages-discover-index.BVLjhhea.js +++ b/public/h5/assets/pages-discover-index.mYNZEveb.js @@ -1 +1 @@ -import{d as a,e as s,j as e,P as l,Q as t,k as u,l as r,n as o,p as c,q as n,I as i,z as d,B as f,F as m,G as _,H as v,v as p,y as h,D as y,K as g,L as k,R as b,T as x,N as w,_ as j}from"./index-BgY1dkGI.js";import{c as C}from"./content.CIu3j-dc.js";import{P as F}from"./poster.C6TYC1FC.js";import{s as V}from"./search.BJnl3YRK.js";const I=j(a({__name:"index",setup(a){const j=s([]),I=s(!1),N=s("");async function P(){I.value=!0;try{j.value=await C({keyword:N.value.trim()||void 0})||[]}catch{j.value=[]}finally{I.value=!1}}function q(){P()}function z(){b().length>1?x({fail:()=>{w({url:"/pages/index/index"})}}):w({url:"/pages/index/index"})}return e(()=>{P()}),l(async()=>{try{await P()}finally{t()}}),(a,s)=>{const e=o,l=i,t=d,b=p;return c(),u(e,{class:"page"},{default:r(()=>[n(e,{class:"filter-section"},{default:r(()=>[n(e,{class:"toolbar"},{default:r(()=>[n(e,{class:"back-btn","hover-class":"back-btn--hover","hover-stay-time":"80",onClick:z},{default:r(()=>[n(e,{class:"back-btn__icon","aria-hidden":"true"})]),_:1}),n(e,{class:"search-wrap"},{default:r(()=>[n(l,{modelValue:N.value,"onUpdate:modelValue":s[0]||(s[0]=a=>N.value=a),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph","confirm-type":"search",onConfirm:q},null,8,["modelValue"]),n(t,{class:"search-icon-img",src:f(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1}),n(e,{class:"section"},{default:r(()=>[(c(!0),m(_,null,v(j.value,a=>(c(),u(e,{key:a.id,class:"tour-card",onClick:s=>{return e=a.id,void k({url:`/pages/study-tour/detail?id=${e}`});var e}},{default:r(()=>[n(e,{class:"tour-img-wrap"},{default:r(()=>[n(t,{class:"tour-img",src:a.cover_image||f(F),mode:"aspectFill"},null,8,["src"])]),_:2},1024),n(e,{class:"tour-body"},{default:r(()=>{var s;return[n(b,{class:"tour-title"},{default:r(()=>[h(y(a.name),1)]),_:2},1024),n(e,{class:"tour-stops-timeline"},{default:r(()=>[(c(!0),m(_,null,v(a.venue_names||[],(s,l)=>(c(),u(e,{key:"v-"+a.id+"-"+l,class:"tour-stop-row"},{default:r(()=>[n(e,{class:"tour-timeline-axis"},{default:r(()=>{var s;return[n(e,{class:"tour-dot-cell"},{default:r(()=>[n(e,{class:"tour-tl-dot"})]),_:1}),Number(l)<((null==(s=a.venue_names)?void 0:s.length)||0)-1?(c(),u(e,{key:0,class:"tour-tl-line"})):g("",!0)]}),_:2},1024),n(b,{class:"tour-stop-name"},{default:r(()=>[h(y(s),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(s=a.tags)?void 0:s.length)?(c(),u(e,{key:0,class:"tour-tags-row"},{default:r(()=>[(c(!0),m(_,null,v(a.tags,(s,e)=>(c(),u(b,{key:"t-"+a.id+"-"+e,class:"tour-tag"},{default:r(()=>[h(y(s),1)]),_:2},1024))),128))]),_:2},1024)):g("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),I.value&&!j.value.length?(c(),u(e,{key:0,class:"hint"},{default:r(()=>[h("加载中…")]),_:1})):g("",!0),I.value||j.value.length?g("",!0):(c(),u(e,{key:1,class:"hint muted"},{default:r(()=>[h("暂无科普四季研学线路推荐")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-e6cee6f0"]]);export{I as default}; +import{d as a,e as s,j as e,P as l,Q as t,k as u,l as r,n as o,p as c,q as n,I as i,z as d,B as f,F as m,G as _,H as v,v as p,y as h,D as y,K as g,L as k,R as b,T as x,N as w,_ as j}from"./index-B62HYGKy.js";import{c as C}from"./content.DxtMXvVw.js";import{P as F}from"./poster.C6TYC1FC.js";import{s as V}from"./search.BJnl3YRK.js";const I=j(a({__name:"index",setup(a){const j=s([]),I=s(!1),N=s("");async function P(){I.value=!0;try{j.value=await C({keyword:N.value.trim()||void 0})||[]}catch{j.value=[]}finally{I.value=!1}}function q(){P()}function z(){b().length>1?x({fail:()=>{w({url:"/pages/index/index"})}}):w({url:"/pages/index/index"})}return e(()=>{P()}),l(async()=>{try{await P()}finally{t()}}),(a,s)=>{const e=o,l=i,t=d,b=p;return c(),u(e,{class:"page"},{default:r(()=>[n(e,{class:"filter-section"},{default:r(()=>[n(e,{class:"toolbar"},{default:r(()=>[n(e,{class:"back-btn","hover-class":"back-btn--hover","hover-stay-time":"80",onClick:z},{default:r(()=>[n(e,{class:"back-btn__icon","aria-hidden":"true"})]),_:1}),n(e,{class:"search-wrap"},{default:r(()=>[n(l,{modelValue:N.value,"onUpdate:modelValue":s[0]||(s[0]=a=>N.value=a),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph","confirm-type":"search",onConfirm:q},null,8,["modelValue"]),n(t,{class:"search-icon-img",src:f(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1}),n(e,{class:"section"},{default:r(()=>[(c(!0),m(_,null,v(j.value,a=>(c(),u(e,{key:a.id,class:"tour-card",onClick:s=>{return e=a.id,void k({url:`/pages/study-tour/detail?id=${e}`});var e}},{default:r(()=>[n(e,{class:"tour-img-wrap"},{default:r(()=>[n(t,{class:"tour-img",src:a.cover_image||f(F),mode:"aspectFill"},null,8,["src"])]),_:2},1024),n(e,{class:"tour-body"},{default:r(()=>{var s;return[n(b,{class:"tour-title"},{default:r(()=>[h(y(a.name),1)]),_:2},1024),n(e,{class:"tour-stops-timeline"},{default:r(()=>[(c(!0),m(_,null,v(a.venue_names||[],(s,l)=>(c(),u(e,{key:"v-"+a.id+"-"+l,class:"tour-stop-row"},{default:r(()=>[n(e,{class:"tour-timeline-axis"},{default:r(()=>{var s;return[n(e,{class:"tour-dot-cell"},{default:r(()=>[n(e,{class:"tour-tl-dot"})]),_:1}),Number(l)<((null==(s=a.venue_names)?void 0:s.length)||0)-1?(c(),u(e,{key:0,class:"tour-tl-line"})):g("",!0)]}),_:2},1024),n(b,{class:"tour-stop-name"},{default:r(()=>[h(y(s),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(s=a.tags)?void 0:s.length)?(c(),u(e,{key:0,class:"tour-tags-row"},{default:r(()=>[(c(!0),m(_,null,v(a.tags,(s,e)=>(c(),u(b,{key:"t-"+a.id+"-"+e,class:"tour-tag"},{default:r(()=>[h(y(s),1)]),_:2},1024))),128))]),_:2},1024)):g("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),I.value&&!j.value.length?(c(),u(e,{key:0,class:"hint"},{default:r(()=>[h("加载中…")]),_:1})):g("",!0),I.value||j.value.length?g("",!0):(c(),u(e,{key:1,class:"hint muted"},{default:r(()=>[h("暂无科普四季研学线路推荐")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-e6cee6f0"]]);export{I as default}; diff --git a/public/h5/assets/pages-index-index.9AgdTzrz.js b/public/h5/assets/pages-index-index.9AgdTzrz.js deleted file mode 100644 index da77176..0000000 --- a/public/h5/assets/pages-index-index.9AgdTzrz.js +++ /dev/null @@ -1 +0,0 @@ -import{h as e,i as l,g as a,S as t,s as u,r as n,a as s,b as o,c as i,A as r,d as c,e as d,f as v,w as f,o as m,j as _,k as p,l as g,m as h,n as y,u as b,p as k,q as w,t as N,v as C,x as S,y as x,I as F,z as $,B as I,C as j,D as P,M as z,E as T,F as A,G as M,H as R,J as L,K as V,L as q,N as D,_ as U}from"./index-BgY1dkGI.js";import{g as B,t as E,b as X,v as G,n as H,a as J}from"./peopleCounting.DW67gGwD.js";import{P as K}from"./poster.C6TYC1FC.js";import{s as W}from"./search.BJnl3YRK.js";import{v as Y,g as O,a as Q,m as Z,d as ee,b as le}from"./suzhouDistrictPolygons.U6J8TgzC.js";import{f as ae,a as te,c as ue}from"./activity.DEGdoGAe.js";import{S as ne,t as se,g as oe,c as ie}from"./ticketMap.CbUUwCDd.js";import{v as re}from"./venueTypes.DuAf5T5V.js";import{v as ce,o as de,a as ve,c as fe}from"./venueThemeColors.DRxjaxXI.js";import{m as me,a as _e}from"./text.BxMbQPAt.js";const pe="szkp_force_loc_prompt",ge="szkp_wechat_oauth_denied",he="szkp_h5_oauth_state_ss";let ye=null;function be(){return ye||(ye=async function(){var c,d;if(!l())return!0;const v=new URL(window.location.href),f=v.searchParams.get("code"),m=v.searchParams.get("state");if(v.searchParams.get("err")){try{window.sessionStorage.setItem(ge,"1")}catch{}return v.searchParams.delete("code"),v.searchParams.delete("state"),v.searchParams.delete("err"),window.history.replaceState({},"",v.pathname+v.search+v.hash),!0}if(f){let l="";try{l=window.sessionStorage.getItem(he)||""}catch{}l||(l=a(t.oauthState)||"");if(Boolean(m&&l&&String(m)!==String(l))){u({title:"授权状态异常,请关闭页面后重试",icon:"none"});try{window.sessionStorage.removeItem(he)}catch{}n(t.oauthState)}else{s({title:"授权登录中…",mask:!0});try{const l=await e.post("/h5/wechat/oauth",{code:f},{withAuth:!1});if(null==l?void 0:l.token){o(t.accessToken,l.token);try{window.sessionStorage.setItem(pe,"1")}catch{}}}catch(g){const e=(null==g?void 0:g.message)||(null==(d=null==(c=null==g?void 0:g.errors)?void 0:c.code)?void 0:d[0])||"微信登录失败";u({title:e,icon:"none"})}finally{i()}}try{window.sessionStorage.removeItem(he)}catch{}return n(t.oauthState),v.searchParams.delete("code"),v.searchParams.delete("state"),window.history.replaceState({},"",v.pathname+v.search+v.hash),!0}if(a(t.accessToken))return!0;try{if("1"===window.sessionStorage.getItem(ge))return!0}catch{}const _=encodeURIComponent(function(){if("undefined"==typeof window)return"";const e=new URL(window.location.href);return e.hash="",e.search="",e.toString()}()),p=`${Date.now()}-${Math.random().toString(36).slice(2,10)}`;try{window.sessionStorage.setItem(he,p)}catch{}return o(t.oauthState,p),window.location.href=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${r.wechatAppId}&redirect_uri=${_}&response_type=code&scope=snsapi_userinfo&state=${p}#wechat_redirect`,!1}().finally(()=>{ye=null})),ye}const ke={lat:31.2989,lng:120.5853},we={lat:.085,lng:.098};function Ne(e=we){const l=ke,a=e.lat,t=e.lng;return[{latitude:l.lat-a,longitude:l.lng-t},{latitude:l.lat-a,longitude:l.lng+t},{latitude:l.lat+a,longitude:l.lng-t},{latitude:l.lat+a,longitude:l.lng+t}]}const Ce="苏州科技馆",Se=.92,xe=U(c({__name:"index",setup(l){const a={backgroundImage:"url(/h5/assets/head-BCNsV_in.png)",backgroundSize:"cover",backgroundPosition:"center top",backgroundRepeat:"no-repeat"},t=d(!1),n=d(null),s=d(null),o=d({latitude:ke.lat,longitude:ke.lng}),i=d(11),r=d("map"),c=d(""),U=d("区域"),pe=d(""),ge=d("主题"),he=d(""),ye=d("预约模式"),we=d(""),xe=d("开放模式"),Fe=d(""),$e=d("收费类型"),Ie=d(""),je=d(null);function Pe(e){return`${e}_14_${Math.round(b(ne))}`}const ze=d({}),Te=v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[])a[t.value]=t.label;return a}),Ae=v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[])a[t.value]=t.label;return a}),Me=v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[])a[t.value]=t.label;return a});function Re(e){return e?Te.value[e]||e:""}function Le(e){return e?Ae.value[e]||e:""}function Ve(e){return e?Me.value[e]||e:""}v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_booking_mode)??[])a[t.value]=t.label;return a});v(()=>{var e,l;const a=E(s.value);if(null!=a)return a.toLocaleString();return Number((null==(l=null==(e=n.value)?void 0:e.stats)?void 0:l.in_venue_total)??0).toLocaleString()}),v(()=>{var e;const l=s.value;if(l&&200===l.code&&Array.isArray(l.venues)){const e=X(l.groups),a=[...l.venues].map(l=>{var a,t,u;const s=G(l.venueId),o=null!=s?null==(u=null==(t=null==(a=n.value)?void 0:a.all_venues)?void 0:t.find(e=>e.id===s))?void 0:u.name:void 0;return{id:s??0,name:J(l,e,o),people_count:H(l.enter,l.exit)}}).filter(e=>e.id>0).sort((e,l)=>l.people_count-e.people_count),t=[];for(let l=0;l<3;l++){const e=a[l];e&&e.people_count>0?t.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):t.push({id:0,name:"",people_count:0,empty:!0})}return t}const a=[...(null==(e=n.value)?void 0:e.top_live_venues)??[]].sort((e,l)=>Number(l.people_count??0)-Number(e.people_count??0)),t=[];for(let u=0;u<3;u++){const e=a[u];e&&Number(e.people_count)>0?t.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):t.push({id:0,name:"",people_count:0,empty:!0})}return t});const qe=v(()=>{var e,l;return[{label:"区域",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.district)??[]).map(e=>({label:e.label,value:e.value}))]}),De=v(()=>{var e,l;return[{label:"主题",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Ue=v(()=>{var e,l;return[{label:"预约模式",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Be=v(()=>{var e,l;return[{label:"开放模式",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Ee=v(()=>{var e,l;return[{label:"收费类型",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Xe(e,l){const a=e.findIndex(e=>e.value===l);return a>=0?a:0}const Ge=v(()=>Xe(qe.value,pe.value)),He=v(()=>Xe(De.value,he.value)),Je=v(()=>Xe(Ue.value,we.value)),Ke=v(()=>Xe(Be.value,Fe.value)),We=v(()=>Xe(Ee.value,Ie.value));function Ye(e){const l=qe.value[Number(e.detail.value)];l&&(U.value=l.label,pe.value=l.value)}function Oe(e){const l=De.value[Number(e.detail.value)];l&&(ge.value=l.label,he.value=l.value)}function Qe(e){const l=Ue.value[Number(e.detail.value)];l&&(ye.value=l.label,we.value=l.value)}function Ze(e){const l=Be.value[Number(e.detail.value)];l&&(xe.value=l.label,Fe.value=l.value)}function el(e){const l=Ee.value[Number(e.detail.value)];l&&($e.value=l.label,Ie.value=l.value)}function ll(e){return re(e)}function al(e){const l=Number(e.sort);return Number.isFinite(l)?l:0}function tl(e,l){const a=al(e)-al(l);return 0!==a?a:e.id-l.id}function ul(e){const l=[];for(const a of e){const e=Number(a.lat),t=Number(a.lng);Number.isFinite(e)&&Number.isFinite(t)&&l.push({lat:e,lng:t})}return l}const nl=v(()=>{var e;const l=c.value.trim(),a=(null==(e=n.value)?void 0:e.all_venues)??[],t=l&&a.some(e=>me(e.name,l));return a.filter(e=>{if(!1===e.is_active)return!1;if(pe.value&&!Y(String(e.district||""),pe.value))return!1;if(he.value&&!ll(e).includes(he.value))return!1;if(we.value&&(e.booking_mode||"")!==we.value)return!1;if(Fe.value&&(e.open_mode||"")!==Fe.value)return!1;if("free"===Ie.value&&"free"!==(e.ticket_type||""))return!1;if("paid"===Ie.value&&"paid"!==(e.ticket_type||""))return!1;if(l)if(t){if(!me(e.name,l))return!1}else{const a=`${e.name||""}${e.address||""}`;if(!_e(a,l,String(e.name||"")))return!1}return!0})}),sl=v(()=>[...nl.value].sort(tl)),ol=v(()=>{if(!c.value.trim())return null;const e=sl.value;if(1!==e.length)return null;const l=e[0],a=Number(l.lat),t=Number(l.lng);return Number.isFinite(a)&&Number.isFinite(t)?l:null}),il=v(()=>{var e;if(!c.value.trim())return null;if(null==(e=pe.value)?void 0:e.trim())return null;const l=sl.value;if(l.length<2)return null;for(const a of l){const e=Number(a.lat),l=Number(a.lng);if(Number.isFinite(e)&&Number.isFinite(l))return a}return null}),rl=v(()=>{var e,l;const a=null==(e=pe.value)?void 0:e.trim();return a?((null==(l=n.value)?void 0:l.map_venues)??[]).filter(e=>Y(String(e.district||""),a)):[]}),cl=v(()=>{var e;if(!(null==(e=pe.value)?void 0:e.trim()))return null;const l=pe.value.trim(),a=O(l);if(null==a?void 0:a.length)return a;const t=Q(ul(rl.value));return t&&t.length>=3?[t]:null}),dl=v(()=>{const e=cl.value;return(null==e?void 0:e.length)?e.map(e=>({points:e,strokeWidth:2,strokeColor:"#05C9ACE6",fillColor:"#05C9AC14",zIndex:5})):[]}),vl=v(()=>{var e;if(!(null==(e=pe.value)?void 0:e.trim()))return[];const l=cl.value,a=[];if(null==l?void 0:l.length)for(const t of l)for(const e of t)a.push({latitude:e.latitude,longitude:e.longitude});if(!a.length){const e=Q(ul(rl.value),.012);if(null==e?void 0:e.length)for(const l of e)a.push({latitude:l.latitude,longitude:l.longitude})}return a});function fl(e,l){if(!e.length)return[];let a=1/0,t=-1/0,u=1/0,n=-1/0;for(const c of e)c.latitudet&&(t=c.latitude),c.longituden&&(n=c.longitude);if(!Number.isFinite(a)||t<=a||!Number.isFinite(u)||n<=u)return e.map(e=>({...e}));const s=(a+t)/2,o=(u+n)/2,i=(t-a)/2*l,r=(n-u)/2*l;return[{latitude:s-i,longitude:o-r},{latitude:s-i,longitude:o+r},{latitude:s+i,longitude:o-r},{latitude:s+i,longitude:o+r}]}const ml=v(()=>!!(he.value||we.value||Fe.value||Ie.value||c.value.trim())),_l=v(()=>{var e,l;if(null==(e=pe.value)?void 0:e.trim()){const e=vl.value;if(e.length)return fl(e,Se)}if(!(null==(l=pe.value)?void 0:l.trim())&&ml.value&&sl.value.length>0){const e=Ne().map(e=>({...e})),l=Q(ul(sl.value),.018);if(null==l?void 0:l.length)for(const a of l)e.push({latitude:a.latitude,longitude:a.longitude});return fl(e,Se)}return fl(Ne(),Se)}),pl=v(()=>Z(pe.value)),gl=v(()=>{if(ol.value)return 15;const e=pl.value;return null!=e?e:ml.value?9:i.value}),hl=v(()=>{if(null!=pl.value)return;if(ml.value)return;const e=_l.value;return e.length?e:void 0}),yl=v(()=>{const e=ol.value;if(e)return`s-${e.id}-${c.value.trim()}`;const l=il.value;if(l)return`m-${l.id}-${c.value.trim()}`;const a=pl.value;return null!=a?`d-${pe.value||""}-${a}`:ml.value?"z9":"fit"}),bl=v(()=>{var e;if((null==(e=pe.value)?void 0:e.trim())&&vl.value.length)try{const e=b(48);return[e,e,e,e]}catch{return[16,16,16,16]}}),kl=v(()=>!!(pe.value||he.value||we.value||Fe.value||Ie.value||c.value.trim())),wl=v(()=>null==je.value?null:nl.value.find(e=>e.id===je.value)??null);function Nl(e){var l,a;if(!e)return"#05c9ac";const t=re(e)[0];if(t&&(null==(a=null==(l=n.value)?void 0:l.venue_dicts)?void 0:a.venue_type)){const e=n.value.venue_dicts.venue_type.find(e=>e.value===t);if(null==e?void 0:e.color)return e.color}return e.venue_type_color||"#05c9ac"}function Cl(e){var l,a;return fe(e,null==(a=null==(l=n.value)?void 0:l.venue_dicts)?void 0:a.venue_type)}f([sl,pe,cl,ml,c],()=>{var e,l;const a=ol.value;if(a)return void(o.value={latitude:Number(a.lat),longitude:Number(a.lng)});const t=il.value;if(t)return void(o.value={latitude:Number(t.lat),longitude:Number(t.lng)});const u=cl.value;if((null==(e=pe.value)?void 0:e.trim())&&(null==u?void 0:u.length)){const e=le(u);return void(o.value={latitude:e.latitude,longitude:e.longitude})}(null==(l=pe.value)?void 0:l.trim())||ml.value,Dl()}),f(nl,e=>{null==je.value||e.some(e=>e.id===je.value)||(je.value=null)}),f(r,e=>{if("list"===e&&(je.value=null),"map"===e){const e=Z(pe.value);null!=e?i.value=e:ml.value?i.value=9:i.value=11}}),f([pe,he,we,Fe,Ie,c],()=>{"map"===r.value&&setTimeout(()=>{const e=Z(pe.value);null!=e?i.value=e:ml.value?i.value=9:i.value=11},100)});let Sl=null;f([sl,kl],()=>{Sl&&(clearTimeout(Sl),Sl=null),"map"===r.value&&(!kl.value||sl.value.length>0||(Sl=setTimeout(()=>{Sl=null,u({title:"暂无符合条件的场馆",icon:"none",duration:2e3})},150)))}),f(sl,e=>{!async function(e){for(const l of e){if((l.name||"").trim()!==Ce)continue;const e=Pe(l.id);if(ze.value[e])continue;const a=se(l,()=>Nl(l)),t=Math.round(b(ne)),u=await ie("/h5/assets/szkjg-ddwNVcuX.jpg",a,t);u&&(ze.value={...ze.value,[e]:u})}}(e)},{immediate:!0});const xl=v(()=>Math.round(b(ne))),Fl=v(()=>{const e=gl.value>=13;return sl.value.map(l=>{const a=se(l,()=>Nl(l)),t=Pe(l.id),u=(l.name||"").trim()===Ce&&!!ze.value[t],n=u?ze.value[t]:oe(a),s={id:l.id,latitude:l.lat,longitude:l.lng,width:u?xl.value:28,height:u?xl.value:32,iconPath:n,anchor:u?{x:.5,y:.5}:{x:.5,y:1}},o=(l.name||"").trim();return e&&o&&(s.label={content:o,color:"#1d2129",fontSize:11,bgColor:"rgba(255,255,255,0.92)",padding:3,borderRadius:4,anchorX:0,anchorY:-4}),s})});function $l(e){var l;if(ml.value)return;if(null!=Z(pe.value))return;const a=null==e?void 0:e.detail;if(!a||"begin"===a.type)return;const t="number"==typeof a.scale?a.scale:"number"==typeof(null==(l=a.detail)?void 0:l.scale)?a.detail.scale:null;null!=t&&Number.isFinite(t)&&(i.value=t)}let Il=!1;function jl(e){var l;const a=null==(l=null==e?void 0:e.detail)?void 0:l.markerId;null!=a&&(je.value=Number(a),Il=!0,setTimeout(()=>{Il=!1},400))}function Pl(){Il||(je.value=null)}function zl(){je.value=null}function Tl(e){e&&q({url:`/pages/venue/detail?id=${e}`})}function Al(){D({url:"/pages/activity/index"})}function Ml(){q({url:"/pages/discover/index"})}function Rl(e){const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:ue(e.start_at,e.end_at)}function Ll(e){return te(Rl(e))}function Vl(e){return`st-${Rl(e)}`}function ql(e){return"ticket_grab"!==e.list_kind&&("ended"===Rl(e)&&!0===e.has_behind_scenes)}function Dl(){o.value={latitude:ke.lat,longitude:ke.lng}}async function Ul(){t.value=!0;try{const l=await e.get("/h5/home",{},{withAuth:!1});ze.value={},n.value=l,Dl(),await h().catch(()=>{})}catch(l){u({title:(null==l?void 0:l.message)||"加载首页失败",icon:"none"})}finally{t.value=!1}}return m(()=>{!async function(){try{s.value=await B()}catch{s.value=null}}()}),_(async()=>{await be()&&await Ul()}),(e,l)=>{const u=y,s=C,i=F,d=$,v=j,f=z,m=N;return k(),p(u,{class:"page-root"},{default:g(()=>[w(m,{"scroll-y":"",class:"page"},{default:g(()=>{var e,_;return[w(u,{class:"hero"},{default:g(()=>[w(u,{class:"hero-brand",style:a}),w(u,{class:"hero-content"},{default:g(()=>[w(u,{class:"map-section"},{default:g(()=>[w(u,{class:"toolbar"},{default:g(()=>[w(u,{class:"tabs"},{default:g(()=>[w(s,{class:S(["tab",{on:"map"===r.value}]),onClick:l[0]||(l[0]=e=>r.value="map")},{default:g(()=>[x("地图")]),_:1},8,["class"]),w(s,{class:S(["tab",{on:"list"===r.value}]),onClick:l[1]||(l[1]=e=>r.value="list")},{default:g(()=>[x("列表")]),_:1},8,["class"])]),_:1}),w(u,{class:"search-wrap"},{default:g(()=>[w(i,{modelValue:c.value,"onUpdate:modelValue":l[2]||(l[2]=e=>c.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),w(d,{class:"search-icon-img",src:I(W),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),w(u,{class:"filters"},{default:g(()=>[w(v,{mode:"selector",range:qe.value,"range-key":"label",value:Ge.value,onChange:Ye},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(U.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:De.value,"range-key":"label",value:He.value,onChange:Oe},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(ge.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:Ee.value,"range-key":"label",value:We.value,onChange:el},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P($e.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:Ue.value,"range-key":"label",value:Je.value,onChange:Qe},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(ye.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:Be.value,"range-key":"label",value:Ke.value,onChange:Ze},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(xe.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1}),"map"===r.value?(k(),p(u,{key:0,class:"map-wrap"},{default:g(()=>[(k(),p(f,{key:yl.value,class:"main-map",latitude:o.value.latitude,longitude:o.value.longitude,markers:Fl.value,scale:gl.value,polygons:dl.value,"include-points":hl.value,padding:bl.value,"enable-3D":!1,"enable-poi":!1,"enable-building":!1,"enable-traffic":!1,"show-compass":!1,onRegionchange:$l,onMarkertap:jl,onTap:Pl},null,8,["latitude","longitude","markers","scale","polygons","include-points","padding"])),wl.value?(k(),p(u,{key:0,class:"venue-sheet",onClick:l[4]||(l[4]=T(()=>{},["stop"]))},{default:g(()=>[w(u,{class:"venue-sheet-inner"},{default:g(()=>[w(u,{class:"sheet-bar"}),w(u,{class:"sheet-row"},{default:g(()=>[w(d,{class:"sheet-cover",src:wl.value.image||I(K),mode:"aspectFill"},null,8,["src"]),w(u,{class:"sheet-main"},{default:g(()=>[w(s,{class:"sheet-name"},{default:g(()=>[x(P(wl.value.name),1)]),_:1}),w(u,{class:"sheet-tags-line"},{default:g(()=>[w(u,{class:"sheet-meta"},{default:g(()=>{var e,l;return[(k(!0),A(M,null,R(ll(wl.value),(e,l)=>(k(),p(s,{key:"svm-"+l,class:"sheet-type",style:L(I(ce)(Cl(e)))},{default:g(()=>[x(P(Re(e)||e),1)]),_:2},1032,["style"]))),128)),wl.value.ticket_type?(k(),p(s,{key:0,class:S(["sheet-ticket","paid"===wl.value.ticket_type?"paid":"free"])},{default:g(()=>[x(P(Le(wl.value.ticket_type)),1)]),_:1},8,["class"])):V("",!0),wl.value.open_mode?(k(),p(s,{key:1,class:"open-mode-tag",style:L(I(de)(wl.value.open_mode,null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode))},{default:g(()=>[x(P(Ve(wl.value.open_mode)),1)]),_:1},8,["style"])):V("",!0)]}),_:1})]),_:1})]),_:1})]),_:1}),w(u,{class:"sheet-actions"},{default:g(()=>[w(u,{class:"sheet-btn ghost",onClick:zl},{default:g(()=>[x("关闭")]),_:1}),w(u,{class:"sheet-btn primary",onClick:l[3]||(l[3]=e=>Tl(wl.value.id))},{default:g(()=>[x("详情")]),_:1})]),_:1})]),_:1})]),_:1})):V("",!0)]),_:1})):(k(),p(m,{key:1,"scroll-y":"",class:"venue-list-scroll"},{default:g(()=>[(k(!0),A(M,null,R(sl.value,e=>(k(),p(u,{key:e.id,class:"venue-row",onClick:l=>Tl(e.id)},{default:g(()=>[w(d,{class:"venue-thumb",src:e.image||I(K),mode:"aspectFill"},null,8,["src"]),w(u,{class:"venue-info"},{default:g(()=>[w(s,{class:"venue-name"},{default:g(()=>[x(P(e.name),1)]),_:2},1024),w(u,{class:"venue-tags-line"},{default:g(()=>[w(u,{class:"venue-meta"},{default:g(()=>{var l,a;return[(k(!0),A(M,null,R(ll(e),(l,a)=>(k(),p(s,{key:"vml-"+e.id+"-"+a,class:"venue-type-pill",style:L(I(ce)(Cl(l)))},{default:g(()=>[x(P(Re(l)||l),1)]),_:2},1032,["style"]))),128)),e.ticket_type?(k(),p(s,{key:0,class:S(["venue-ticket-pill","paid"===e.ticket_type?"paid":"free"])},{default:g(()=>[x(P(Le(e.ticket_type)),1)]),_:2},1032,["class"])):V("",!0),e.open_mode?(k(),p(s,{key:1,class:"open-mode-tag",style:L(I(de)(e.open_mode,null==(a=null==(l=n.value)?void 0:l.venue_dicts)?void 0:a.venue_open_mode))},{default:g(()=>[x(P(Ve(e.open_mode)),1)]),_:2},1032,["style"])):V("",!0)]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),sl.value.length?V("",!0):(k(),p(u,{key:0,class:"empty-tip"},{default:g(()=>[x(P(kl.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1}))]),_:1})]),_:1})]),_:1}),V("",!0),w(u,{class:"section"},{default:g(()=>[w(u,{class:"sec-head"},{default:g(()=>[w(u,{class:"sec-bar"}),w(s,{class:"sec-title"},{default:g(()=>[x("热门活动")]),_:1}),w(s,{class:"sec-more",onClick:Al},{default:g(()=>[x("更多 >")]),_:1})]),_:1}),w(m,{"scroll-x":"",class:"act-scroll","show-scrollbar":!1,"enable-flex":!0},{default:g(()=>[w(u,{class:"act-scroll-row"},{default:g(()=>{var e;return[(k(!0),A(M,null,R((null==(e=n.value)?void 0:e.hot_activities)??[],e=>(k(),p(u,{key:(e.list_kind||"activity")+"-"+e.id,class:"act-card",onClick:l=>function(e){"ticket_grab"!==e.list_kind?q({url:`/pages/activity/detail?id=${e.id}`}):q({url:`/pages/ticket-grab/detail?id=${e.id}`})}(e)},{default:g(()=>[w(u,{class:"act-img-wrap"},{default:g(()=>[w(d,{class:"act-img",src:e.image||I(K),mode:"aspectFill"},null,8,["src"]),w(u,{class:S(["act-schedule-tag",Vl(e)])},{default:g(()=>[x(P(Ll(e)),1)]),_:2},1032,["class"]),ql(e)?(k(),p(u,{key:0,class:"act-bts-corner-tag"},{default:g(()=>[x("活动花絮")]),_:1})):V("",!0),"ticket_grab"===e.list_kind&&e.can_grab_today?(k(),p(u,{key:1,class:"act-book-badge is-grab"},{default:g(()=>[w(s,{class:"act-book-text is-grab"},{default:g(()=>[x("抢票")]),_:1})]),_:1})):V("",!0)]),_:2},1024),w(u,{class:"act-body"},{default:g(()=>[w(s,{class:"act-title"},{default:g(()=>[x(P(e.title),1)]),_:2},1024),w(u,{class:"act-tags"},{default:g(()=>[(k(!0),A(M,null,R(e.tags||[],(l,a)=>{var t,u;return k(),p(s,{key:"tag-"+e.id+"-"+a,class:"act-tag-chip",style:L(I(ve)(a,null==(u=null==(t=n.value)?void 0:t.venue_dicts)?void 0:u.venue_type))},{default:g(()=>[x(P(l),1)]),_:2},1032,["style"])}),128))]),_:2},1024),w(s,{class:"act-meta"},{default:g(()=>[x(P(I(ae)(e.start_at,e.end_at)),1)]),_:2},1024),"ticket_grab"===e.list_kind?(k(),p(s,{key:0,class:"act-meta"},{default:g(()=>[x(P(Number(e.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(k(),p(s,{key:1,class:"act-meta"},{default:g(()=>[x(P(e.venue_name||e.address||"苏州"),1)]),_:2},1024))]),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})]),_:1})]),_:1}),((null==(_=null==(e=n.value)?void 0:e.study_tours)?void 0:_.length)??0)>0?(k(),p(u,{key:1,class:"section"},{default:g(()=>{var e;return[w(u,{class:"sec-head"},{default:g(()=>[w(u,{class:"sec-bar"}),w(s,{class:"sec-title"},{default:g(()=>[x("科普四季研学线路推荐")]),_:1}),w(s,{class:"sec-more",onClick:Ml},{default:g(()=>[x("更多 >")]),_:1})]),_:1}),(k(!0),A(M,null,R((null==(e=n.value)?void 0:e.study_tours)??[],e=>(k(),p(u,{key:e.id,class:"tour-card",onClick:l=>{return a=e.id,void q({url:`/pages/study-tour/detail?id=${a}`});var a}},{default:g(()=>[w(u,{class:"tour-img-wrap"},{default:g(()=>[w(d,{class:"tour-img",src:e.cover_image||I(K),mode:"aspectFill"},null,8,["src"])]),_:2},1024),w(u,{class:"tour-body"},{default:g(()=>{var l;return[w(s,{class:"tour-title"},{default:g(()=>[x(P(e.name),1)]),_:2},1024),w(u,{class:"tour-stops-timeline"},{default:g(()=>[(k(!0),A(M,null,R(e.venue_names,(l,a)=>(k(),p(u,{key:"v-"+e.id+"-"+a,class:"tour-stop-row"},{default:g(()=>[w(u,{class:"tour-timeline-axis"},{default:g(()=>[w(u,{class:"tour-dot-cell"},{default:g(()=>[w(u,{class:"tour-tl-dot"})]),_:1}),a[x(P(l),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(l=e.tags)?void 0:l.length)?(k(),p(u,{key:0,class:"tour-tags-row"},{default:g(()=>[(k(!0),A(M,null,R(e.tags,(l,a)=>{var t,u;return k(),p(s,{key:"t-"+e.id+"-"+a,class:"tour-tag",style:L(I(ve)(a,null==(u=null==(t=n.value)?void 0:t.venue_dicts)?void 0:u.venue_type))},{default:g(()=>[x(P(l),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):V("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})):V("",!0),w(u,{class:"bottom-safe"}),t.value?(k(),p(u,{key:2,class:"loading-mask"},{default:g(()=>[x("加载中...")]),_:1})):V("",!0)]}),_:1})]),_:1})}}}),[["__scopeId","data-v-208b5201"]]);export{xe as default}; diff --git a/public/h5/assets/pages-index-index.DnYbnA4J.js b/public/h5/assets/pages-index-index.DnYbnA4J.js new file mode 100644 index 0000000..a58e9ff --- /dev/null +++ b/public/h5/assets/pages-index-index.DnYbnA4J.js @@ -0,0 +1 @@ +import{h as e,i as l,g as a,S as t,s as u,r as n,a as s,b as o,c as i,A as r,d as c,e as d,f as v,w as f,o as m,j as _,k as p,l as g,m as h,n as y,u as b,p as k,q as w,t as N,v as C,x as S,y as x,I as F,z as $,B as I,C as j,D as P,M as z,E as A,F as T,G as R,H as L,J as M,K as q,L as B,N as D,_ as U}from"./index-B62HYGKy.js";import{g as V,t as E,b as G,v as Y,n as H,a as J}from"./peopleCounting.DplW7Jyp.js";import{P as K}from"./poster.C6TYC1FC.js";import{s as Q}from"./search.BJnl3YRK.js";import{v as W,g as X,a as Z,m as O,d as ee,b as le}from"./suzhouDistrictPolygons.U6J8TgzC.js";import{f as ae,a as te,c as ue}from"./activity.DEGdoGAe.js";import{S as ne,t as se,g as oe}from"./ticketMap.b6piD_5W.js";import{v as ie}from"./venueTypes.DuAf5T5V.js";import{v as re,o as ce,a as de,c as ve}from"./venueThemeColors.DRxjaxXI.js";import{m as fe,a as me}from"./text.BxMbQPAt.js";const _e="szkp_force_loc_prompt",pe="szkp_wechat_oauth_denied",ge="szkp_h5_oauth_state_ss";let he=null;function ye(){return he||(he=async function(){var c,d;if(!l())return!0;const v=new URL(window.location.href),f=v.searchParams.get("code"),m=v.searchParams.get("state");if(v.searchParams.get("err")){try{window.sessionStorage.setItem(pe,"1")}catch{}return v.searchParams.delete("code"),v.searchParams.delete("state"),v.searchParams.delete("err"),window.history.replaceState({},"",v.pathname+v.search+v.hash),!0}if(f){let l="";try{l=window.sessionStorage.getItem(ge)||""}catch{}l||(l=a(t.oauthState)||"");if(Boolean(m&&l&&String(m)!==String(l))){u({title:"授权状态异常,请关闭页面后重试",icon:"none"});try{window.sessionStorage.removeItem(ge)}catch{}n(t.oauthState)}else{s({title:"授权登录中…",mask:!0});try{const l=await e.post("/h5/wechat/oauth",{code:f},{withAuth:!1});if(null==l?void 0:l.token){o(t.accessToken,l.token);try{window.sessionStorage.setItem(_e,"1")}catch{}}}catch(g){const e=(null==g?void 0:g.message)||(null==(d=null==(c=null==g?void 0:g.errors)?void 0:c.code)?void 0:d[0])||"微信登录失败";u({title:e,icon:"none"})}finally{i()}}try{window.sessionStorage.removeItem(ge)}catch{}return n(t.oauthState),v.searchParams.delete("code"),v.searchParams.delete("state"),window.history.replaceState({},"",v.pathname+v.search+v.hash),!0}if(a(t.accessToken))return!0;try{if("1"===window.sessionStorage.getItem(pe))return!0}catch{}const _=encodeURIComponent(function(){if("undefined"==typeof window)return"";const e=new URL(window.location.href);return e.hash="",e.search="",e.toString()}()),p=`${Date.now()}-${Math.random().toString(36).slice(2,10)}`;try{window.sessionStorage.setItem(ge,p)}catch{}return o(t.oauthState,p),window.location.href=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${r.wechatAppId}&redirect_uri=${_}&response_type=code&scope=snsapi_userinfo&state=${p}#wechat_redirect`,!1}().finally(()=>{he=null})),he}const be={lat:31.2989,lng:120.5853},ke={lat:.085,lng:.098};function we(e=ke){const l=be,a=e.lat,t=e.lng;return[{latitude:l.lat-a,longitude:l.lng-t},{latitude:l.lat-a,longitude:l.lng+t},{latitude:l.lat+a,longitude:l.lng-t},{latitude:l.lat+a,longitude:l.lng+t}]}const Ne=.92,Ce=U(c({__name:"index",setup(l){const a={backgroundImage:"url(/h5/assets/head-BCNsV_in.png)",backgroundSize:"cover",backgroundPosition:"center top",backgroundRepeat:"no-repeat"},t=d(!1),n=d(null),s=d(null),o=d({latitude:be.lat,longitude:be.lng}),i=d(11),r=d("map"),c=d(""),U=d("区域"),_e=d(""),pe=d("主题"),ge=d(""),he=d("预约模式"),ke=d(""),Ce=d("开放模式"),Se=d(""),xe=d("收费类型"),Fe=d(""),$e=d(null),Ie=v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[])a[t.value]=t.label;return a}),je=v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[])a[t.value]=t.label;return a}),Pe=v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[])a[t.value]=t.label;return a});function ze(e){return e?Ie.value[e]||e:""}function Ae(e){return e?je.value[e]||e:""}function Te(e){return e?Pe.value[e]||e:""}v(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_booking_mode)??[])a[t.value]=t.label;return a});v(()=>{var e,l;const a=E(s.value);if(null!=a)return a.toLocaleString();return Number((null==(l=null==(e=n.value)?void 0:e.stats)?void 0:l.in_venue_total)??0).toLocaleString()}),v(()=>{var e;const l=s.value;if(l&&200===l.code&&Array.isArray(l.venues)){const e=G(l.groups),a=[...l.venues].map(l=>{var a,t,u;const s=Y(l.venueId),o=null!=s?null==(u=null==(t=null==(a=n.value)?void 0:a.all_venues)?void 0:t.find(e=>e.id===s))?void 0:u.name:void 0;return{id:s??0,name:J(l,e,o),people_count:H(l.enter,l.exit)}}).filter(e=>e.id>0).sort((e,l)=>l.people_count-e.people_count),t=[];for(let l=0;l<3;l++){const e=a[l];e&&e.people_count>0?t.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):t.push({id:0,name:"",people_count:0,empty:!0})}return t}const a=[...(null==(e=n.value)?void 0:e.top_live_venues)??[]].sort((e,l)=>Number(l.people_count??0)-Number(e.people_count??0)),t=[];for(let u=0;u<3;u++){const e=a[u];e&&Number(e.people_count)>0?t.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):t.push({id:0,name:"",people_count:0,empty:!0})}return t});const Re=v(()=>{var e,l;return[{label:"区域",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.district)??[]).map(e=>({label:e.label,value:e.value}))]}),Le=v(()=>{var e,l;return[{label:"主题",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Me=v(()=>{var e,l;return[{label:"预约模式",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),qe=v(()=>{var e,l;return[{label:"开放模式",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Be=v(()=>{var e,l;return[{label:"收费类型",value:""},...((null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function De(e,l){const a=e.findIndex(e=>e.value===l);return a>=0?a:0}const Ue=v(()=>De(Re.value,_e.value)),Ve=v(()=>De(Le.value,ge.value)),Ee=v(()=>De(Me.value,ke.value)),Ge=v(()=>De(qe.value,Se.value)),Ye=v(()=>De(Be.value,Fe.value));function He(e){const l=Re.value[Number(e.detail.value)];l&&(U.value=l.label,_e.value=l.value)}function Je(e){const l=Le.value[Number(e.detail.value)];l&&(pe.value=l.label,ge.value=l.value)}function Ke(e){const l=Me.value[Number(e.detail.value)];l&&(he.value=l.label,ke.value=l.value)}function Qe(e){const l=qe.value[Number(e.detail.value)];l&&(Ce.value=l.label,Se.value=l.value)}function We(e){const l=Be.value[Number(e.detail.value)];l&&(xe.value=l.label,Fe.value=l.value)}function Xe(e){return ie(e)}function Ze(e){const l=Number(e.sort);return Number.isFinite(l)?l:0}function Oe(e,l){const a=Ze(e)-Ze(l);return 0!==a?a:e.id-l.id}function el(e){const l=[];for(const a of e){const e=Number(a.lat),t=Number(a.lng);Number.isFinite(e)&&Number.isFinite(t)&&l.push({lat:e,lng:t})}return l}const ll=v(()=>{var e;const l=c.value.trim(),a=(null==(e=n.value)?void 0:e.all_venues)??[],t=l&&a.some(e=>fe(e.name,l));return a.filter(e=>{if(!1===e.is_active)return!1;if(_e.value&&!W(String(e.district||""),_e.value))return!1;if(ge.value&&!Xe(e).includes(ge.value))return!1;if(ke.value&&(e.booking_mode||"")!==ke.value)return!1;if(Se.value&&(e.open_mode||"")!==Se.value)return!1;if("free"===Fe.value&&"free"!==(e.ticket_type||""))return!1;if("paid"===Fe.value&&"paid"!==(e.ticket_type||""))return!1;if(l)if(t){if(!fe(e.name,l))return!1}else{const a=`${e.name||""}${e.address||""}`;if(!me(a,l,String(e.name||"")))return!1}return!0})}),al=v(()=>[...ll.value].sort(Oe)),tl=v(()=>{if(!c.value.trim())return null;const e=al.value;if(1!==e.length)return null;const l=e[0],a=Number(l.lat),t=Number(l.lng);return Number.isFinite(a)&&Number.isFinite(t)?l:null}),ul=v(()=>{var e;if(!c.value.trim())return null;if(null==(e=_e.value)?void 0:e.trim())return null;const l=al.value;if(l.length<2)return null;for(const a of l){const e=Number(a.lat),l=Number(a.lng);if(Number.isFinite(e)&&Number.isFinite(l))return a}return null}),nl=v(()=>{var e,l;const a=null==(e=_e.value)?void 0:e.trim();return a?((null==(l=n.value)?void 0:l.map_venues)??[]).filter(e=>W(String(e.district||""),a)):[]}),sl=v(()=>{var e;if(!(null==(e=_e.value)?void 0:e.trim()))return null;const l=_e.value.trim(),a=X(l);if(null==a?void 0:a.length)return a;const t=Z(el(nl.value));return t&&t.length>=3?[t]:null}),ol=v(()=>{const e=sl.value;return(null==e?void 0:e.length)?e.map(e=>({points:e,strokeWidth:2,strokeColor:"#05C9ACE6",fillColor:"#05C9AC14",zIndex:5})):[]}),il=v(()=>{var e;if(!(null==(e=_e.value)?void 0:e.trim()))return[];const l=sl.value,a=[];if(null==l?void 0:l.length)for(const t of l)for(const e of t)a.push({latitude:e.latitude,longitude:e.longitude});if(!a.length){const e=Z(el(nl.value),.012);if(null==e?void 0:e.length)for(const l of e)a.push({latitude:l.latitude,longitude:l.longitude})}return a});function rl(e,l){if(!e.length)return[];let a=1/0,t=-1/0,u=1/0,n=-1/0;for(const c of e)c.latitudet&&(t=c.latitude),c.longituden&&(n=c.longitude);if(!Number.isFinite(a)||t<=a||!Number.isFinite(u)||n<=u)return e.map(e=>({...e}));const s=(a+t)/2,o=(u+n)/2,i=(t-a)/2*l,r=(n-u)/2*l;return[{latitude:s-i,longitude:o-r},{latitude:s-i,longitude:o+r},{latitude:s+i,longitude:o-r},{latitude:s+i,longitude:o+r}]}const cl=v(()=>!!(ge.value||ke.value||Se.value||Fe.value||c.value.trim())),dl=v(()=>{var e,l;if(null==(e=_e.value)?void 0:e.trim()){const e=il.value;if(e.length)return rl(e,Ne)}if(!(null==(l=_e.value)?void 0:l.trim())&&cl.value&&al.value.length>0){const e=we().map(e=>({...e})),l=Z(el(al.value),.018);if(null==l?void 0:l.length)for(const a of l)e.push({latitude:a.latitude,longitude:a.longitude});return rl(e,Ne)}return rl(we(),Ne)}),vl=v(()=>O(_e.value)),fl=v(()=>{if(tl.value)return 15;const e=vl.value;return null!=e?e:cl.value?9:i.value}),ml=v(()=>{if(null!=vl.value)return;if(cl.value)return;const e=dl.value;return e.length?e:void 0}),_l=v(()=>{const e=tl.value;if(e)return`s-${e.id}-${c.value.trim()}`;const l=ul.value;if(l)return`m-${l.id}-${c.value.trim()}`;const a=vl.value;return null!=a?`d-${_e.value||""}-${a}`:cl.value?"z9":"fit"}),pl=v(()=>{var e;if((null==(e=_e.value)?void 0:e.trim())&&il.value.length)try{const e=b(48);return[e,e,e,e]}catch{return[16,16,16,16]}}),gl=v(()=>!!(_e.value||ge.value||ke.value||Se.value||Fe.value||c.value.trim())),hl=v(()=>null==$e.value?null:ll.value.find(e=>e.id===$e.value)??null);function yl(e){var l,a;return ve(e,null==(a=null==(l=n.value)?void 0:l.venue_dicts)?void 0:a.venue_type)}f([al,_e,sl,cl,c],()=>{var e,l;const a=tl.value;if(a)return void(o.value={latitude:Number(a.lat),longitude:Number(a.lng)});const t=ul.value;if(t)return void(o.value={latitude:Number(t.lat),longitude:Number(t.lng)});const u=sl.value;if((null==(e=_e.value)?void 0:e.trim())&&(null==u?void 0:u.length)){const e=le(u);return void(o.value={latitude:e.latitude,longitude:e.longitude})}(null==(l=_e.value)?void 0:l.trim())||cl.value,Rl()}),f(ll,e=>{null==$e.value||e.some(e=>e.id===$e.value)||($e.value=null)}),f(r,e=>{if("list"===e&&($e.value=null),"map"===e){const e=O(_e.value);null!=e?i.value=e:cl.value?i.value=9:i.value=11}}),f([_e,ge,ke,Se,Fe,c],()=>{"map"===r.value&&setTimeout(()=>{const e=O(_e.value);null!=e?i.value=e:cl.value?i.value=9:i.value=11},100)});let bl=null;f([al,gl],()=>{bl&&(clearTimeout(bl),bl=null),"map"===r.value&&(!gl.value||al.value.length>0||(bl=setTimeout(()=>{bl=null,u({title:"暂无符合条件的场馆",icon:"none",duration:2e3})},150)))});const kl=v(()=>Math.round(b(ne))),wl=v(()=>{const e=fl.value>=13;return al.value.map(l=>{const a=(l.name||"").trim(),t="苏州科技馆"===a,u=se(l,()=>function(e){var l,a;if(!e)return"#05c9ac";const t=ie(e)[0];if(t&&(null==(a=null==(l=n.value)?void 0:l.venue_dicts)?void 0:a.venue_type)){const e=n.value.venue_dicts.venue_type.find(e=>e.value===t);if(null==e?void 0:e.color)return e.color}return e.venue_type_color||"#05c9ac"}(l)),s=t?"/h5/assets/szkjg-BA5yQZYG.jpg":oe(u),o={id:l.id,latitude:l.lat,longitude:l.lng,width:t?kl.value:28,height:t?kl.value:32,iconPath:s,anchor:t?{x:.5,y:.5}:{x:.5,y:1}};return e&&a&&(o.label={content:a,color:"#1d2129",fontSize:11,bgColor:"rgba(255,255,255,0.92)",padding:3,borderRadius:4,anchorX:0,anchorY:-4}),o})});function Nl(e){var l;if(cl.value)return;if(null!=O(_e.value))return;const a=null==e?void 0:e.detail;if(!a||"begin"===a.type)return;const t="number"==typeof a.scale?a.scale:"number"==typeof(null==(l=a.detail)?void 0:l.scale)?a.detail.scale:null;null!=t&&Number.isFinite(t)&&(i.value=t)}let Cl=!1;function Sl(e){var l;const a=null==(l=null==e?void 0:e.detail)?void 0:l.markerId;null!=a&&($e.value=Number(a),Cl=!0,setTimeout(()=>{Cl=!1},400))}function xl(){Cl||($e.value=null)}function Fl(){$e.value=null}function $l(e){e&&B({url:`/pages/venue/detail?id=${e}`})}function Il(){D({url:"/pages/activity/index"})}function jl(){B({url:"/pages/discover/index"})}function Pl(e){const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:ue(e.start_at,e.end_at)}function zl(e){return te(Pl(e))}function Al(e){return`st-${Pl(e)}`}function Tl(e){return"ticket_grab"!==e.list_kind&&("ended"===Pl(e)&&!0===e.has_behind_scenes)}function Rl(){o.value={latitude:be.lat,longitude:be.lng}}async function Ll(){t.value=!0;try{const l=await e.get("/h5/home",{},{withAuth:!1});n.value=l,Rl(),await h().catch(()=>{})}catch(l){u({title:(null==l?void 0:l.message)||"加载首页失败",icon:"none"})}finally{t.value=!1}}return m(()=>{!async function(){try{s.value=await V()}catch{s.value=null}}()}),_(async()=>{await ye()&&await Ll()}),(e,l)=>{const u=y,s=C,i=F,d=$,v=j,f=z,m=N;return k(),p(u,{class:"page-root"},{default:g(()=>[w(m,{"scroll-y":"",class:"page"},{default:g(()=>{var e,_;return[w(u,{class:"hero"},{default:g(()=>[w(u,{class:"hero-brand",style:a}),w(u,{class:"hero-content"},{default:g(()=>[w(u,{class:"map-section"},{default:g(()=>[w(u,{class:"toolbar"},{default:g(()=>[w(u,{class:"tabs"},{default:g(()=>[w(s,{class:S(["tab",{on:"map"===r.value}]),onClick:l[0]||(l[0]=e=>r.value="map")},{default:g(()=>[x("地图")]),_:1},8,["class"]),w(s,{class:S(["tab",{on:"list"===r.value}]),onClick:l[1]||(l[1]=e=>r.value="list")},{default:g(()=>[x("列表")]),_:1},8,["class"])]),_:1}),w(u,{class:"search-wrap"},{default:g(()=>[w(i,{modelValue:c.value,"onUpdate:modelValue":l[2]||(l[2]=e=>c.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),w(d,{class:"search-icon-img",src:I(Q),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),w(u,{class:"filters"},{default:g(()=>[w(v,{mode:"selector",range:Re.value,"range-key":"label",value:Ue.value,onChange:He},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(U.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:Le.value,"range-key":"label",value:Ve.value,onChange:Je},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(pe.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:Be.value,"range-key":"label",value:Ye.value,onChange:We},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(xe.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:Me.value,"range-key":"label",value:Ee.value,onChange:Ke},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(he.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(v,{mode:"selector",range:qe.value,"range-key":"label",value:Ge.value,onChange:Qe},{default:g(()=>[w(u,{class:"f-item"},{default:g(()=>[w(s,{class:"f-item-text"},{default:g(()=>[x(P(Ce.value),1)]),_:1}),w(d,{class:"f-item-arrow",src:I(ee),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1}),"map"===r.value?(k(),p(u,{key:0,class:"map-wrap"},{default:g(()=>[(k(),p(f,{key:_l.value,class:"main-map",latitude:o.value.latitude,longitude:o.value.longitude,markers:wl.value,scale:fl.value,polygons:ol.value,"include-points":ml.value,padding:pl.value,"enable-3D":!1,"enable-poi":!1,"enable-building":!1,"enable-traffic":!1,"show-compass":!1,onRegionchange:Nl,onMarkertap:Sl,onTap:xl},null,8,["latitude","longitude","markers","scale","polygons","include-points","padding"])),hl.value?(k(),p(u,{key:0,class:"venue-sheet",onClick:l[4]||(l[4]=A(()=>{},["stop"]))},{default:g(()=>[w(u,{class:"venue-sheet-inner"},{default:g(()=>[w(u,{class:"sheet-bar"}),w(u,{class:"sheet-row"},{default:g(()=>[w(d,{class:"sheet-cover",src:hl.value.image||I(K),mode:"aspectFill"},null,8,["src"]),w(u,{class:"sheet-main"},{default:g(()=>[w(s,{class:"sheet-name"},{default:g(()=>[x(P(hl.value.name),1)]),_:1}),w(u,{class:"sheet-tags-line"},{default:g(()=>[w(u,{class:"sheet-meta"},{default:g(()=>{var e,l;return[(k(!0),T(R,null,L(Xe(hl.value),(e,l)=>(k(),p(s,{key:"svm-"+l,class:"sheet-type",style:M(I(re)(yl(e)))},{default:g(()=>[x(P(ze(e)||e),1)]),_:2},1032,["style"]))),128)),hl.value.ticket_type?(k(),p(s,{key:0,class:S(["sheet-ticket","paid"===hl.value.ticket_type?"paid":"free"])},{default:g(()=>[x(P(Ae(hl.value.ticket_type)),1)]),_:1},8,["class"])):q("",!0),hl.value.open_mode?(k(),p(s,{key:1,class:"open-mode-tag",style:M(I(ce)(hl.value.open_mode,null==(l=null==(e=n.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode))},{default:g(()=>[x(P(Te(hl.value.open_mode)),1)]),_:1},8,["style"])):q("",!0)]}),_:1})]),_:1})]),_:1})]),_:1}),w(u,{class:"sheet-actions"},{default:g(()=>[w(u,{class:"sheet-btn ghost",onClick:Fl},{default:g(()=>[x("关闭")]),_:1}),w(u,{class:"sheet-btn primary",onClick:l[3]||(l[3]=e=>$l(hl.value.id))},{default:g(()=>[x("详情")]),_:1})]),_:1})]),_:1})]),_:1})):q("",!0)]),_:1})):(k(),p(m,{key:1,"scroll-y":"",class:"venue-list-scroll"},{default:g(()=>[(k(!0),T(R,null,L(al.value,e=>(k(),p(u,{key:e.id,class:"venue-row",onClick:l=>$l(e.id)},{default:g(()=>[w(d,{class:"venue-thumb",src:e.image||I(K),mode:"aspectFill"},null,8,["src"]),w(u,{class:"venue-info"},{default:g(()=>[w(s,{class:"venue-name"},{default:g(()=>[x(P(e.name),1)]),_:2},1024),w(u,{class:"venue-tags-line"},{default:g(()=>[w(u,{class:"venue-meta"},{default:g(()=>{var l,a;return[(k(!0),T(R,null,L(Xe(e),(l,a)=>(k(),p(s,{key:"vml-"+e.id+"-"+a,class:"venue-type-pill",style:M(I(re)(yl(l)))},{default:g(()=>[x(P(ze(l)||l),1)]),_:2},1032,["style"]))),128)),e.ticket_type?(k(),p(s,{key:0,class:S(["venue-ticket-pill","paid"===e.ticket_type?"paid":"free"])},{default:g(()=>[x(P(Ae(e.ticket_type)),1)]),_:2},1032,["class"])):q("",!0),e.open_mode?(k(),p(s,{key:1,class:"open-mode-tag",style:M(I(ce)(e.open_mode,null==(a=null==(l=n.value)?void 0:l.venue_dicts)?void 0:a.venue_open_mode))},{default:g(()=>[x(P(Te(e.open_mode)),1)]),_:2},1032,["style"])):q("",!0)]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),al.value.length?q("",!0):(k(),p(u,{key:0,class:"empty-tip"},{default:g(()=>[x(P(gl.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1}))]),_:1})]),_:1})]),_:1}),q("",!0),w(u,{class:"section"},{default:g(()=>[w(u,{class:"sec-head"},{default:g(()=>[w(u,{class:"sec-bar"}),w(s,{class:"sec-title"},{default:g(()=>[x("热门活动")]),_:1}),w(s,{class:"sec-more",onClick:Il},{default:g(()=>[x("更多 >")]),_:1})]),_:1}),w(m,{"scroll-x":"",class:"act-scroll","show-scrollbar":!1,"enable-flex":!0},{default:g(()=>[w(u,{class:"act-scroll-row"},{default:g(()=>{var e;return[(k(!0),T(R,null,L((null==(e=n.value)?void 0:e.hot_activities)??[],e=>(k(),p(u,{key:(e.list_kind||"activity")+"-"+e.id,class:"act-card",onClick:l=>function(e){"ticket_grab"!==e.list_kind?B({url:`/pages/activity/detail?id=${e.id}`}):B({url:`/pages/ticket-grab/detail?id=${e.id}`})}(e)},{default:g(()=>[w(u,{class:"act-img-wrap"},{default:g(()=>[w(d,{class:"act-img",src:e.image||I(K),mode:"aspectFill"},null,8,["src"]),w(u,{class:S(["act-schedule-tag",Al(e)])},{default:g(()=>[x(P(zl(e)),1)]),_:2},1032,["class"]),Tl(e)?(k(),p(u,{key:0,class:"act-bts-corner-tag"},{default:g(()=>[x("活动花絮")]),_:1})):q("",!0),"ticket_grab"===e.list_kind&&e.can_grab_today?(k(),p(u,{key:1,class:"act-book-badge is-grab"},{default:g(()=>[w(s,{class:"act-book-text is-grab"},{default:g(()=>[x("抢票")]),_:1})]),_:1})):q("",!0)]),_:2},1024),w(u,{class:"act-body"},{default:g(()=>[w(s,{class:"act-title"},{default:g(()=>[x(P(e.title),1)]),_:2},1024),w(u,{class:"act-tags"},{default:g(()=>[(k(!0),T(R,null,L(e.tags||[],(l,a)=>{var t,u;return k(),p(s,{key:"tag-"+e.id+"-"+a,class:"act-tag-chip",style:M(I(de)(a,null==(u=null==(t=n.value)?void 0:t.venue_dicts)?void 0:u.venue_type))},{default:g(()=>[x(P(l),1)]),_:2},1032,["style"])}),128))]),_:2},1024),w(s,{class:"act-meta"},{default:g(()=>[x(P(I(ae)(e.start_at,e.end_at)),1)]),_:2},1024),"ticket_grab"===e.list_kind?(k(),p(s,{key:0,class:"act-meta"},{default:g(()=>[x(P(Number(e.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(k(),p(s,{key:1,class:"act-meta"},{default:g(()=>[x(P(e.venue_name||e.address||"苏州"),1)]),_:2},1024))]),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})]),_:1})]),_:1}),((null==(_=null==(e=n.value)?void 0:e.study_tours)?void 0:_.length)??0)>0?(k(),p(u,{key:1,class:"section"},{default:g(()=>{var e;return[w(u,{class:"sec-head"},{default:g(()=>[w(u,{class:"sec-bar"}),w(s,{class:"sec-title"},{default:g(()=>[x("科普四季研学线路推荐")]),_:1}),w(s,{class:"sec-more",onClick:jl},{default:g(()=>[x("更多 >")]),_:1})]),_:1}),(k(!0),T(R,null,L((null==(e=n.value)?void 0:e.study_tours)??[],e=>(k(),p(u,{key:e.id,class:"tour-card",onClick:l=>{return a=e.id,void B({url:`/pages/study-tour/detail?id=${a}`});var a}},{default:g(()=>[w(u,{class:"tour-img-wrap"},{default:g(()=>[w(d,{class:"tour-img",src:e.cover_image||I(K),mode:"aspectFill"},null,8,["src"])]),_:2},1024),w(u,{class:"tour-body"},{default:g(()=>{var l;return[w(s,{class:"tour-title"},{default:g(()=>[x(P(e.name),1)]),_:2},1024),w(u,{class:"tour-stops-timeline"},{default:g(()=>[(k(!0),T(R,null,L(e.venue_names,(l,a)=>(k(),p(u,{key:"v-"+e.id+"-"+a,class:"tour-stop-row"},{default:g(()=>[w(u,{class:"tour-timeline-axis"},{default:g(()=>[w(u,{class:"tour-dot-cell"},{default:g(()=>[w(u,{class:"tour-tl-dot"})]),_:1}),a[x(P(l),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(l=e.tags)?void 0:l.length)?(k(),p(u,{key:0,class:"tour-tags-row"},{default:g(()=>[(k(!0),T(R,null,L(e.tags,(l,a)=>{var t,u;return k(),p(s,{key:"t-"+e.id+"-"+a,class:"tour-tag",style:M(I(de)(a,null==(u=null==(t=n.value)?void 0:t.venue_dicts)?void 0:u.venue_type))},{default:g(()=>[x(P(l),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):q("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})):q("",!0),w(u,{class:"bottom-safe"}),t.value?(k(),p(u,{key:2,class:"loading-mask"},{default:g(()=>[x("加载中...")]),_:1})):q("",!0)]}),_:1})]),_:1})}}}),[["__scopeId","data-v-61e98185"]]);export{Ce as default}; diff --git a/public/h5/assets/pages-map-index.Dgze_GGJ.js b/public/h5/assets/pages-map-index.DEgD__Sx.js similarity index 98% rename from public/h5/assets/pages-map-index.Dgze_GGJ.js rename to public/h5/assets/pages-map-index.DEgD__Sx.js index ba6656b..6a7b1a6 100644 --- a/public/h5/assets/pages-map-index.Dgze_GGJ.js +++ b/public/h5/assets/pages-map-index.DEgD__Sx.js @@ -1 +1 @@ -import{d as e,e as a,f as l,j as u,k as t,l as s,n as r,p as n,q as v,I as o,z as i,B as c,C as d,v as m,y as f,D as p,F as _,G as b,H as g,J as y,x as k,K as h,L as x,_ as j}from"./index-BgY1dkGI.js";import{g as C,a as N}from"./content.CIu3j-dc.js";import{P as w}from"./poster.C6TYC1FC.js";import{s as F}from"./search.BJnl3YRK.js";import{v as S,d as I}from"./suzhouDistrictPolygons.U6J8TgzC.js";import{v as P}from"./venueTypes.DuAf5T5V.js";import{v as V,c as $,o as q}from"./venueThemeColors.DRxjaxXI.js";import{m as z,a as D}from"./text.BxMbQPAt.js";const T=j(e({__name:"index",setup(e){const j=a([]),T=a(null),B=a(""),G=a("区域"),H=a(""),J=a("主题"),K=a(""),L=a("预约模式"),U=a(""),A=a("开放模式"),E=a(""),M=a("收费类型"),O=a(""),Q=l(()=>{var e;return[{label:"区域",value:""},...((null==(e=T.value)?void 0:e.district)??[]).map(e=>({label:e.label,value:e.value}))]}),R=l(()=>{var e;return[{label:"主题",value:""},...((null==(e=T.value)?void 0:e.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),W=l(()=>{var e;return[{label:"预约模式",value:""},...((null==(e=T.value)?void 0:e.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),X=l(()=>{var e;return[{label:"开放模式",value:""},...((null==(e=T.value)?void 0:e.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Y=l(()=>{var e;return[{label:"收费类型",value:""},...((null==(e=T.value)?void 0:e.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Z(e){return P(e)}const ee=l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.venue_type)??[])a[l.value]=l.label;return a}),ae=l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.ticket_type)??[])a[l.value]=l.label;return a}),le=l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.venue_open_mode)??[])a[l.value]=l.label;return a});l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.venue_booking_mode)??[])a[l.value]=l.label;return a});const ue=l(()=>{const e=B.value.trim(),a=j.value,l=e&&a.some(a=>z(String(a.name??""),e));return a.filter(a=>{if(!1===a.is_active)return!1;if(H.value&&!S(String(a.district||""),H.value))return!1;if(K.value&&!Z(a).includes(K.value))return!1;if(U.value&&(a.booking_mode||"")!==U.value)return!1;if(E.value&&(a.open_mode||"")!==E.value)return!1;if("free"===O.value&&"free"!==(a.ticket_type||""))return!1;if("paid"===O.value&&"paid"!==(a.ticket_type||""))return!1;if(e)if(l){if(!z(String(a.name??""),e))return!1}else{const l=`${a.name||""}${a.address||""}`;if(!D(l,e,String(a.name||"")))return!1}return!0})});function te(e,a){const l=Number((null==e?void 0:e.sort)??0),u=Number((null==a?void 0:a.sort)??0);return l!==u?l-u:Number(null==e?void 0:e.id)-Number(null==a?void 0:a.id)}const se=l(()=>[...ue.value].sort(te));function re(e,a){const l=e.findIndex(e=>e.value===a);return l>=0?l:0}const ne=l(()=>re(Q.value,H.value)),ve=l(()=>re(R.value,K.value)),oe=l(()=>re(W.value,U.value)),ie=l(()=>re(X.value,E.value)),ce=l(()=>re(Y.value,O.value));function de(e){const a=Q.value[Number(e.detail.value)];a&&(G.value=a.label,H.value=a.value)}function me(e){const a=R.value[Number(e.detail.value)];a&&(J.value=a.label,K.value=a.value)}function fe(e){const a=W.value[Number(e.detail.value)];a&&(L.value=a.label,U.value=a.value)}function pe(e){const a=X.value[Number(e.detail.value)];a&&(A.value=a.label,E.value=a.value)}function _e(e){const a=Y.value[Number(e.detail.value)];a&&(M.value=a.label,O.value=a.value)}const be=l(()=>!!(H.value||K.value||U.value||E.value||O.value||B.value.trim()));return u(()=>{!async function(){const[e,a]=await Promise.all([C(),N()]);T.value=e,j.value=a||[]}()}),(e,a)=>{const l=o,u=i,j=r,C=m,N=d;return n(),t(j,{class:"page"},{default:s(()=>[v(j,{class:"map-section"},{default:s(()=>[v(j,{class:"toolbar"},{default:s(()=>[v(j,{class:"search-wrap"},{default:s(()=>[v(l,{modelValue:B.value,"onUpdate:modelValue":a[0]||(a[0]=e=>B.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),v(u,{class:"search-icon-img",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),v(j,{class:"filters"},{default:s(()=>[v(N,{mode:"selector",range:Q.value,"range-key":"label",value:ne.value,onChange:de},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(G.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:R.value,"range-key":"label",value:ve.value,onChange:me},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(J.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:Y.value,"range-key":"label",value:ce.value,onChange:_e},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(M.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:W.value,"range-key":"label",value:oe.value,onChange:fe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(L.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:X.value,"range-key":"label",value:ie.value,onChange:pe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(A.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1})]),_:1}),v(j,{class:"list"},{default:s(()=>[(n(!0),_(b,null,g(se.value,e=>(n(),t(j,{key:e.id,class:"item",onClick:a=>{return l=e.id,void x({url:`/pages/venue/detail?id=${l}`});var l}},{default:s(()=>[v(u,{class:"img",src:e.cover_image||c(w),mode:"aspectFill"},null,8,["src"]),v(j,{class:"body"},{default:s(()=>[v(j,{class:"name"},{default:s(()=>[f(p(e.name),1)]),_:2},1024),Z(e).length||e.ticket_type||e.open_mode?(n(),t(j,{key:0,class:"meta-row"},{default:s(()=>{var a;return[(n(!0),_(b,null,g(Z(e),(a,l)=>{var u;return n(),t(C,{key:"vt-"+e.id+"-"+l,class:"meta-pill",style:y(c(V)(c($)(a,null==(u=T.value)?void 0:u.venue_type)))},{default:s(()=>{return[f(p((e=a,(e?ee.value[e]||e:"")||a)),1)];var e}),_:2},1032,["style"])}),128)),e.ticket_type?(n(),t(C,{key:0,class:k(["meta-pill","paid"===e.ticket_type?"meta-pill--paid":"meta-pill--free"])},{default:s(()=>{return[f(p((a=e.ticket_type,a?ae.value[a]||a:"")),1)];var a}),_:2},1032,["class"])):h("",!0),e.open_mode?(n(),t(C,{key:1,class:"open-mode-tag",style:y(c(q)(e.open_mode,null==(a=T.value)?void 0:a.venue_open_mode))},{default:s(()=>{return[f(p((a=e.open_mode,a?le.value[a]||a:"")),1)];var a}),_:2},1032,["style"])):h("",!0)]}),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),se.value.length?h("",!0):(n(),t(j,{key:0,class:"empty-tip"},{default:s(()=>[f(p(be.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-7cc25480"]]);export{T as default}; +import{d as e,e as a,f as l,j as u,k as t,l as s,n as r,p as n,q as v,I as o,z as i,B as c,C as d,v as m,y as f,D as p,F as _,G as b,H as g,J as y,x as k,K as h,L as x,_ as j}from"./index-B62HYGKy.js";import{g as C,a as N}from"./content.DxtMXvVw.js";import{P as w}from"./poster.C6TYC1FC.js";import{s as F}from"./search.BJnl3YRK.js";import{v as S,d as I}from"./suzhouDistrictPolygons.U6J8TgzC.js";import{v as P}from"./venueTypes.DuAf5T5V.js";import{v as V,c as $,o as q}from"./venueThemeColors.DRxjaxXI.js";import{m as z,a as D}from"./text.BxMbQPAt.js";const T=j(e({__name:"index",setup(e){const j=a([]),T=a(null),B=a(""),G=a("区域"),H=a(""),J=a("主题"),K=a(""),L=a("预约模式"),U=a(""),A=a("开放模式"),E=a(""),M=a("收费类型"),O=a(""),Q=l(()=>{var e;return[{label:"区域",value:""},...((null==(e=T.value)?void 0:e.district)??[]).map(e=>({label:e.label,value:e.value}))]}),R=l(()=>{var e;return[{label:"主题",value:""},...((null==(e=T.value)?void 0:e.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),W=l(()=>{var e;return[{label:"预约模式",value:""},...((null==(e=T.value)?void 0:e.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),X=l(()=>{var e;return[{label:"开放模式",value:""},...((null==(e=T.value)?void 0:e.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Y=l(()=>{var e;return[{label:"收费类型",value:""},...((null==(e=T.value)?void 0:e.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Z(e){return P(e)}const ee=l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.venue_type)??[])a[l.value]=l.label;return a}),ae=l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.ticket_type)??[])a[l.value]=l.label;return a}),le=l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.venue_open_mode)??[])a[l.value]=l.label;return a});l(()=>{var e;const a={};for(const l of(null==(e=T.value)?void 0:e.venue_booking_mode)??[])a[l.value]=l.label;return a});const ue=l(()=>{const e=B.value.trim(),a=j.value,l=e&&a.some(a=>z(String(a.name??""),e));return a.filter(a=>{if(!1===a.is_active)return!1;if(H.value&&!S(String(a.district||""),H.value))return!1;if(K.value&&!Z(a).includes(K.value))return!1;if(U.value&&(a.booking_mode||"")!==U.value)return!1;if(E.value&&(a.open_mode||"")!==E.value)return!1;if("free"===O.value&&"free"!==(a.ticket_type||""))return!1;if("paid"===O.value&&"paid"!==(a.ticket_type||""))return!1;if(e)if(l){if(!z(String(a.name??""),e))return!1}else{const l=`${a.name||""}${a.address||""}`;if(!D(l,e,String(a.name||"")))return!1}return!0})});function te(e,a){const l=Number((null==e?void 0:e.sort)??0),u=Number((null==a?void 0:a.sort)??0);return l!==u?l-u:Number(null==e?void 0:e.id)-Number(null==a?void 0:a.id)}const se=l(()=>[...ue.value].sort(te));function re(e,a){const l=e.findIndex(e=>e.value===a);return l>=0?l:0}const ne=l(()=>re(Q.value,H.value)),ve=l(()=>re(R.value,K.value)),oe=l(()=>re(W.value,U.value)),ie=l(()=>re(X.value,E.value)),ce=l(()=>re(Y.value,O.value));function de(e){const a=Q.value[Number(e.detail.value)];a&&(G.value=a.label,H.value=a.value)}function me(e){const a=R.value[Number(e.detail.value)];a&&(J.value=a.label,K.value=a.value)}function fe(e){const a=W.value[Number(e.detail.value)];a&&(L.value=a.label,U.value=a.value)}function pe(e){const a=X.value[Number(e.detail.value)];a&&(A.value=a.label,E.value=a.value)}function _e(e){const a=Y.value[Number(e.detail.value)];a&&(M.value=a.label,O.value=a.value)}const be=l(()=>!!(H.value||K.value||U.value||E.value||O.value||B.value.trim()));return u(()=>{!async function(){const[e,a]=await Promise.all([C(),N()]);T.value=e,j.value=a||[]}()}),(e,a)=>{const l=o,u=i,j=r,C=m,N=d;return n(),t(j,{class:"page"},{default:s(()=>[v(j,{class:"map-section"},{default:s(()=>[v(j,{class:"toolbar"},{default:s(()=>[v(j,{class:"search-wrap"},{default:s(()=>[v(l,{modelValue:B.value,"onUpdate:modelValue":a[0]||(a[0]=e=>B.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),v(u,{class:"search-icon-img",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),v(j,{class:"filters"},{default:s(()=>[v(N,{mode:"selector",range:Q.value,"range-key":"label",value:ne.value,onChange:de},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(G.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:R.value,"range-key":"label",value:ve.value,onChange:me},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(J.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:Y.value,"range-key":"label",value:ce.value,onChange:_e},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(M.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:W.value,"range-key":"label",value:oe.value,onChange:fe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(L.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:X.value,"range-key":"label",value:ie.value,onChange:pe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(A.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1})]),_:1}),v(j,{class:"list"},{default:s(()=>[(n(!0),_(b,null,g(se.value,e=>(n(),t(j,{key:e.id,class:"item",onClick:a=>{return l=e.id,void x({url:`/pages/venue/detail?id=${l}`});var l}},{default:s(()=>[v(u,{class:"img",src:e.cover_image||c(w),mode:"aspectFill"},null,8,["src"]),v(j,{class:"body"},{default:s(()=>[v(j,{class:"name"},{default:s(()=>[f(p(e.name),1)]),_:2},1024),Z(e).length||e.ticket_type||e.open_mode?(n(),t(j,{key:0,class:"meta-row"},{default:s(()=>{var a;return[(n(!0),_(b,null,g(Z(e),(a,l)=>{var u;return n(),t(C,{key:"vt-"+e.id+"-"+l,class:"meta-pill",style:y(c(V)(c($)(a,null==(u=T.value)?void 0:u.venue_type)))},{default:s(()=>{return[f(p((e=a,(e?ee.value[e]||e:"")||a)),1)];var e}),_:2},1032,["style"])}),128)),e.ticket_type?(n(),t(C,{key:0,class:k(["meta-pill","paid"===e.ticket_type?"meta-pill--paid":"meta-pill--free"])},{default:s(()=>{return[f(p((a=e.ticket_type,a?ae.value[a]||a:"")),1)];var a}),_:2},1032,["class"])):h("",!0),e.open_mode?(n(),t(C,{key:1,class:"open-mode-tag",style:y(c(q)(e.open_mode,null==(a=T.value)?void 0:a.venue_open_mode))},{default:s(()=>{return[f(p((a=e.open_mode,a?le.value[a]||a:"")),1)];var a}),_:2},1032,["style"])):h("",!0)]}),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),se.value.length?h("",!0):(n(),t(j,{key:0,class:"empty-tip"},{default:s(()=>[f(p(be.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-7cc25480"]]);export{T as default}; diff --git a/public/h5/assets/pages-mine-index.BAQeTfCa.js b/public/h5/assets/pages-mine-index.BrioApEa.js similarity index 96% rename from public/h5/assets/pages-mine-index.BAQeTfCa.js rename to public/h5/assets/pages-mine-index.BrioApEa.js index fca6399..c848c7d 100644 --- a/public/h5/assets/pages-mine-index.BAQeTfCa.js +++ b/public/h5/assets/pages-mine-index.BrioApEa.js @@ -1 +1 @@ -import{d as a,e as l,o as e,k as s,l as n,g as u,S as t,n as o,p as c,q as r,z as i,y as d,D as f,v,L as _,_ as p}from"./index-BgY1dkGI.js";import{g as m,l as h}from"./localProfile.5oNLnbIP.js";const k=p(a({__name:"index",setup(a){const p=l("游客"),k=l(""),g=l("");function y(a){return a&&11===a.length?`${a.slice(0,3)}****${a.slice(7)}`:a||""}function x(){_({url:"/pages/mine/profile"})}function C(){_({url:"/pages/mine/orders"})}return e(()=>{!async function(){var a;if(u(t.accessToken))try{const a=await m();return p.value=(a.real_name||a.nickname||"用户").trim()||"用户",k.value=a.phone?y(a.phone):"",void(g.value=a.avatar_url||"")}catch{}const l=h();p.value=(null==(a=null==l?void 0:l.real_name)?void 0:a.trim())||"游客",k.value=(null==l?void 0:l.phone)?y(l.phone):"",g.value=(null==l?void 0:l.avatar_url)||""}()}),(a,l)=>{const e=i,u=o,t=v;return c(),s(u,{class:"page"},{default:n(()=>[r(u,{class:"header"},{default:n(()=>[r(u,{class:"profile",onClick:x},{default:n(()=>[g.value?(c(),s(e,{key:0,class:"avatar",src:g.value,mode:"aspectFill"},null,8,["src"])):(c(),s(u,{key:1,class:"avatar placeholder"})),r(u,{class:"profile-info"},{default:n(()=>[r(u,{class:"name"},{default:n(()=>[d(f(p.value),1)]),_:1}),r(u,{class:"phone"},{default:n(()=>[d(f(k.value||"完善信息方便预约"),1)]),_:1})]),_:1})]),_:1})]),_:1}),r(u,{class:"panel"},{default:n(()=>[r(u,{class:"menu-item",onClick:x},{default:n(()=>[r(t,null,{default:n(()=>[d("我的信息")]),_:1}),r(t,null,{default:n(()=>[d(">")]),_:1})]),_:1}),r(u,{class:"menu-item",onClick:C},{default:n(()=>[r(t,null,{default:n(()=>[d("预约记录")]),_:1}),r(t,null,{default:n(()=>[d(">")]),_:1})]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-0d216b84"]]);export{k as default}; +import{d as a,e as l,o as e,k as s,l as n,g as u,S as t,n as o,p as c,q as r,z as i,y as d,D as f,v,L as _,_ as p}from"./index-B62HYGKy.js";import{g as m,l as h}from"./localProfile.BNBxvTJ-.js";const k=p(a({__name:"index",setup(a){const p=l("游客"),k=l(""),g=l("");function y(a){return a&&11===a.length?`${a.slice(0,3)}****${a.slice(7)}`:a||""}function x(){_({url:"/pages/mine/profile"})}function C(){_({url:"/pages/mine/orders"})}return e(()=>{!async function(){var a;if(u(t.accessToken))try{const a=await m();return p.value=(a.real_name||a.nickname||"用户").trim()||"用户",k.value=a.phone?y(a.phone):"",void(g.value=a.avatar_url||"")}catch{}const l=h();p.value=(null==(a=null==l?void 0:l.real_name)?void 0:a.trim())||"游客",k.value=(null==l?void 0:l.phone)?y(l.phone):"",g.value=(null==l?void 0:l.avatar_url)||""}()}),(a,l)=>{const e=i,u=o,t=v;return c(),s(u,{class:"page"},{default:n(()=>[r(u,{class:"header"},{default:n(()=>[r(u,{class:"profile",onClick:x},{default:n(()=>[g.value?(c(),s(e,{key:0,class:"avatar",src:g.value,mode:"aspectFill"},null,8,["src"])):(c(),s(u,{key:1,class:"avatar placeholder"})),r(u,{class:"profile-info"},{default:n(()=>[r(u,{class:"name"},{default:n(()=>[d(f(p.value),1)]),_:1}),r(u,{class:"phone"},{default:n(()=>[d(f(k.value||"完善信息方便预约"),1)]),_:1})]),_:1})]),_:1})]),_:1}),r(u,{class:"panel"},{default:n(()=>[r(u,{class:"menu-item",onClick:x},{default:n(()=>[r(t,null,{default:n(()=>[d("我的信息")]),_:1}),r(t,null,{default:n(()=>[d(">")]),_:1})]),_:1}),r(u,{class:"menu-item",onClick:C},{default:n(()=>[r(t,null,{default:n(()=>[d("预约记录")]),_:1}),r(t,null,{default:n(()=>[d(">")]),_:1})]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-0d216b84"]]);export{k as default}; diff --git a/public/h5/assets/pages-mine-orders.D2OlW7Sg.js b/public/h5/assets/pages-mine-orders.DJYMRcvP.js similarity index 98% rename from public/h5/assets/pages-mine-orders.D2OlW7Sg.js rename to public/h5/assets/pages-mine-orders.DJYMRcvP.js index 2682ea6..a8f512e 100644 --- a/public/h5/assets/pages-mine-orders.D2OlW7Sg.js +++ b/public/h5/assets/pages-mine-orders.DJYMRcvP.js @@ -1 +1 @@ -import{d as a,e,f as l,j as t,k as n,l as i,g as s,S as c,s as u,n as d,U as r,p as o,q as v,v as _,y as f,x as p,K as g,F as k,G as y,H as m,D as h,B as C,V as b,E as x,L as S,_ as $}from"./index-BgY1dkGI.js";import{d as j,e as w}from"./content.CIu3j-dc.js";import{f as B,a as q,i as D}from"./datetime.BfIJTcZ8.js";const E=$(a({__name:"orders",setup(a){const $=e([]),E=e(!1),F=e("all"),G=l(()=>{const a=$.value.filter(a=>"ticket_grab"===(null==a?void 0:a.reservation_kind));return"all"===F.value?a:a.filter(a=>a.status===F.value)});function H(){return!!s(c.accessToken)}function I(a){return"pending"===a?"待核销":"verified"===a?"已核销":"cancelled"===a?"已取消":"expired"===a?"已过期":a||"-"}function K(a){return"pending"===(null==a?void 0:a.status)&&!D(function(a){var e,l;return"ticket_grab"===(null==a?void 0:a.reservation_kind)?(null==a?void 0:a.entry_date)||(null==(e=null==a?void 0:a.activity_day)?void 0:e.activity_date):null==(l=null==a?void 0:a.activity_day)?void 0:l.activity_date}(a))}function L(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim(),t=String(e.session_name||"").trim();return l?t?`${t} ${l}`:l:B(e.activity_date)}function N(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim();return l||B(e.activity_date)}function P(a){return`预约人:${String((null==a?void 0:a.visitor_name)||"").trim()||"-"}|${String((null==a?void 0:a.visitor_phone)||"").trim()||"-"}|${Number(null==a?void 0:a.ticket_count)||1}人`}async function T(){if(H()){E.value=!0;try{$.value=await j()}catch(a){u({title:(null==a?void 0:a.message)||"加载失败",icon:"none"})}finally{E.value=!1}}else u({title:"请先通过微信登录",icon:"none"})}const U=e(!1),V=e(0),z=e(null);function A(){U.value=!1,V.value=0,z.value=null}async function J(){const a=V.value,e=z.value;if(A(),a&&e&&K(e))try{await w(a),u({title:"取消成功",icon:"success"}),await T()}catch(l){u({title:(null==l?void 0:l.message)||"取消失败",icon:"none"})}}return t(()=>{H()&&T()}),(a,e)=>{const l=r("SubPageBackBtn"),t=_,s=d,c=b;return o(),n(s,{class:"page"},{default:i(()=>[v(l),v(s,{class:"notice-top"},{default:i(()=>[v(t,{class:"notice-text"},{default:i(()=>[f("请按时到场参与活动,累计 3 次无故未履约,将限制 3 个月预约资格,感谢诚信守约。")]),_:1})]),_:1}),v(s,{class:"card"},{default:i(()=>[v(s,{class:"title"},{default:i(()=>[f("我的活动预约")]),_:1}),v(s,{class:"filters"},{default:i(()=>[v(s,{class:p(["chip",{active:"all"===F.value}]),onClick:e[0]||(e[0]=a=>F.value="all")},{default:i(()=>[f("全部")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"pending"===F.value}]),onClick:e[1]||(e[1]=a=>F.value="pending")},{default:i(()=>[f("待核销")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"verified"===F.value}]),onClick:e[2]||(e[2]=a=>F.value="verified")},{default:i(()=>[f("已核销")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"cancelled"===F.value}]),onClick:e[3]||(e[3]=a=>F.value="cancelled")},{default:i(()=>[f("已取消")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"expired"===F.value}]),onClick:e[4]||(e[4]=a=>F.value="expired")},{default:i(()=>[f("已过期")]),_:1},8,["class"])]),_:1})]),_:1}),E.value||!H()||G.value.length?g("",!0):(o(),n(s,{key:0,class:"empty-hint"},{default:i(()=>[f("当前没有预约记录")]),_:1})),(o(!0),k(y,null,m(G.value,a=>(o(),n(s,{key:a.id,class:"order-card"},{default:i(()=>[v(s,{class:"order-top"},{default:i(()=>{return[v(s,{class:"t"},{default:i(()=>{var e;return[f(h((null==(e=a.activity)?void 0:e.title)||"-"),1)]}),_:2},1024),v(s,{class:p(["status",(e=a.status,"pending"===e?"pending":"verified"===e?"verified":"expired"===e?"expired":"cancelled")])},{default:i(()=>[f(h(I(a.status)),1)]),_:2},1032,["class"])];var e}),_:2},1024),"ticket_grab"===a.reservation_kind?(o(),k(y,{key:0},[v(s,{class:"line"},{default:i(()=>{var e;return[f("预约场馆:"+h((null==(e=a.venue)?void 0:e.name)||"-"),1)]}),_:2},1024),v(s,{class:"line"},{default:i(()=>[f(h(P(a)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("入馆日期:"+h(C(B)(a.entry_date)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("下单时间:"+h(C(q)(a.created_at)),1)]),_:2},1024)],64)):(o(),k(y,{key:1},[v(s,{class:"line"},{default:i(()=>[f("预约场次:"+h(L(a)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("联系人:"+h(a.visitor_name||"-")+" | "+h(a.visitor_phone||"-")+" "+h(a.ticket_count||1)+"人",1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("场次时间:"+h(N(a)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("下单时间:"+h(C(q)(a.created_at)),1)]),_:2},1024)],64)),v(s,{class:"actions"},{default:i(()=>[K(a)?(o(),n(c,{key:0,class:"btn-light mini",onClick:x(e=>{return l=a.id,t=a,void(H()&&(K(t)?(V.value=l,z.value=t,U.value=!0):u({title:"当前不可取消",icon:"none"})));var l,t},["stop"])},{default:i(()=>[f("取消")]),_:2},1032,["onClick"])):g("",!0),v(c,{class:"btn-main mini",onClick:x(e=>{return l=a.id,void(H()?S({url:`/pages/mine/reservation-detail?id=${l}`}):u({title:"请先通过微信登录",icon:"none"}));var l},["stop"])},{default:i(()=>[f("查看详情")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),U.value?(o(),n(s,{key:1,class:"cancel-mask",onClick:A},{default:i(()=>[v(s,{class:"cancel-panel",onClick:e[5]||(e[5]=x(()=>{},["stop"]))},{default:i(()=>[v(t,{class:"cancel-dlg-title"},{default:i(()=>[f("取消预约")]),_:1}),v(t,{class:"cancel-dlg-body"},{default:i(()=>[f(h("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),v(s,{class:"cancel-dlg-actions"},{default:i(()=>[v(c,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:A},{default:i(()=>[f("返回")]),_:1}),v(c,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:J},{default:i(()=>[f("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):g("",!0)]),_:1})}}}),[["__scopeId","data-v-e1aafd92"]]);export{E as default}; +import{d as a,e,f as l,j as t,k as n,l as i,g as s,S as c,s as u,n as d,U as r,p as o,q as v,v as _,y as f,x as p,K as g,F as k,G as y,H as m,D as h,B as C,V as b,E as x,L as S,_ as $}from"./index-B62HYGKy.js";import{d as j,e as w}from"./content.DxtMXvVw.js";import{f as B,a as q,i as D}from"./datetime.BfIJTcZ8.js";const E=$(a({__name:"orders",setup(a){const $=e([]),E=e(!1),F=e("all"),G=l(()=>{const a=$.value.filter(a=>"ticket_grab"===(null==a?void 0:a.reservation_kind));return"all"===F.value?a:a.filter(a=>a.status===F.value)});function H(){return!!s(c.accessToken)}function I(a){return"pending"===a?"待核销":"verified"===a?"已核销":"cancelled"===a?"已取消":"expired"===a?"已过期":a||"-"}function K(a){return"pending"===(null==a?void 0:a.status)&&!D(function(a){var e,l;return"ticket_grab"===(null==a?void 0:a.reservation_kind)?(null==a?void 0:a.entry_date)||(null==(e=null==a?void 0:a.activity_day)?void 0:e.activity_date):null==(l=null==a?void 0:a.activity_day)?void 0:l.activity_date}(a))}function L(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim(),t=String(e.session_name||"").trim();return l?t?`${t} ${l}`:l:B(e.activity_date)}function N(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim();return l||B(e.activity_date)}function P(a){return`预约人:${String((null==a?void 0:a.visitor_name)||"").trim()||"-"}|${String((null==a?void 0:a.visitor_phone)||"").trim()||"-"}|${Number(null==a?void 0:a.ticket_count)||1}人`}async function T(){if(H()){E.value=!0;try{$.value=await j()}catch(a){u({title:(null==a?void 0:a.message)||"加载失败",icon:"none"})}finally{E.value=!1}}else u({title:"请先通过微信登录",icon:"none"})}const U=e(!1),V=e(0),z=e(null);function A(){U.value=!1,V.value=0,z.value=null}async function J(){const a=V.value,e=z.value;if(A(),a&&e&&K(e))try{await w(a),u({title:"取消成功",icon:"success"}),await T()}catch(l){u({title:(null==l?void 0:l.message)||"取消失败",icon:"none"})}}return t(()=>{H()&&T()}),(a,e)=>{const l=r("SubPageBackBtn"),t=_,s=d,c=b;return o(),n(s,{class:"page"},{default:i(()=>[v(l),v(s,{class:"notice-top"},{default:i(()=>[v(t,{class:"notice-text"},{default:i(()=>[f("请按时到场参与活动,累计 3 次无故未履约,将限制 3 个月预约资格,感谢诚信守约。")]),_:1})]),_:1}),v(s,{class:"card"},{default:i(()=>[v(s,{class:"title"},{default:i(()=>[f("我的活动预约")]),_:1}),v(s,{class:"filters"},{default:i(()=>[v(s,{class:p(["chip",{active:"all"===F.value}]),onClick:e[0]||(e[0]=a=>F.value="all")},{default:i(()=>[f("全部")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"pending"===F.value}]),onClick:e[1]||(e[1]=a=>F.value="pending")},{default:i(()=>[f("待核销")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"verified"===F.value}]),onClick:e[2]||(e[2]=a=>F.value="verified")},{default:i(()=>[f("已核销")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"cancelled"===F.value}]),onClick:e[3]||(e[3]=a=>F.value="cancelled")},{default:i(()=>[f("已取消")]),_:1},8,["class"]),v(s,{class:p(["chip",{active:"expired"===F.value}]),onClick:e[4]||(e[4]=a=>F.value="expired")},{default:i(()=>[f("已过期")]),_:1},8,["class"])]),_:1})]),_:1}),E.value||!H()||G.value.length?g("",!0):(o(),n(s,{key:0,class:"empty-hint"},{default:i(()=>[f("当前没有预约记录")]),_:1})),(o(!0),k(y,null,m(G.value,a=>(o(),n(s,{key:a.id,class:"order-card"},{default:i(()=>[v(s,{class:"order-top"},{default:i(()=>{return[v(s,{class:"t"},{default:i(()=>{var e;return[f(h((null==(e=a.activity)?void 0:e.title)||"-"),1)]}),_:2},1024),v(s,{class:p(["status",(e=a.status,"pending"===e?"pending":"verified"===e?"verified":"expired"===e?"expired":"cancelled")])},{default:i(()=>[f(h(I(a.status)),1)]),_:2},1032,["class"])];var e}),_:2},1024),"ticket_grab"===a.reservation_kind?(o(),k(y,{key:0},[v(s,{class:"line"},{default:i(()=>{var e;return[f("预约场馆:"+h((null==(e=a.venue)?void 0:e.name)||"-"),1)]}),_:2},1024),v(s,{class:"line"},{default:i(()=>[f(h(P(a)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("入馆日期:"+h(C(B)(a.entry_date)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("下单时间:"+h(C(q)(a.created_at)),1)]),_:2},1024)],64)):(o(),k(y,{key:1},[v(s,{class:"line"},{default:i(()=>[f("预约场次:"+h(L(a)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("联系人:"+h(a.visitor_name||"-")+" | "+h(a.visitor_phone||"-")+" "+h(a.ticket_count||1)+"人",1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("场次时间:"+h(N(a)),1)]),_:2},1024),v(s,{class:"line"},{default:i(()=>[f("下单时间:"+h(C(q)(a.created_at)),1)]),_:2},1024)],64)),v(s,{class:"actions"},{default:i(()=>[K(a)?(o(),n(c,{key:0,class:"btn-light mini",onClick:x(e=>{return l=a.id,t=a,void(H()&&(K(t)?(V.value=l,z.value=t,U.value=!0):u({title:"当前不可取消",icon:"none"})));var l,t},["stop"])},{default:i(()=>[f("取消")]),_:2},1032,["onClick"])):g("",!0),v(c,{class:"btn-main mini",onClick:x(e=>{return l=a.id,void(H()?S({url:`/pages/mine/reservation-detail?id=${l}`}):u({title:"请先通过微信登录",icon:"none"}));var l},["stop"])},{default:i(()=>[f("查看详情")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),U.value?(o(),n(s,{key:1,class:"cancel-mask",onClick:A},{default:i(()=>[v(s,{class:"cancel-panel",onClick:e[5]||(e[5]=x(()=>{},["stop"]))},{default:i(()=>[v(t,{class:"cancel-dlg-title"},{default:i(()=>[f("取消预约")]),_:1}),v(t,{class:"cancel-dlg-body"},{default:i(()=>[f(h("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),v(s,{class:"cancel-dlg-actions"},{default:i(()=>[v(c,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:A},{default:i(()=>[f("返回")]),_:1}),v(c,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:J},{default:i(()=>[f("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):g("",!0)]),_:1})}}}),[["__scopeId","data-v-e1aafd92"]]);export{E as default}; diff --git a/public/h5/assets/pages-mine-profile.C7d_D4c9.js b/public/h5/assets/pages-mine-profile.DB22_GSu.js similarity index 95% rename from public/h5/assets/pages-mine-profile.C7d_D4c9.js rename to public/h5/assets/pages-mine-profile.DB22_GSu.js index 8df61fd..7588e20 100644 --- a/public/h5/assets/pages-mine-profile.C7d_D4c9.js +++ b/public/h5/assets/pages-mine-profile.DB22_GSu.js @@ -1 +1 @@ -import{d as a,e,j as l,k as s,l as t,g as n,S as u,n as r,U as c,p as o,q as v,y as i,z as d,D as _,v as p,I as m,V as f,s as h,W as y,a as b,X as k,c as g,_ as V}from"./index-BgY1dkGI.js";import{g as w,l as j,u as x,s as P}from"./localProfile.5oNLnbIP.js";const T=V(a({__name:"profile",setup(a){const V=e(!0),T=e(!1),U=e(!1),z=e({real_name:"",phone:"",avatar_url:""});function B(a){z.value.real_name=a.real_name||"",z.value.phone=a.phone||"",z.value.avatar_url=a.avatar_url||""}function C(){U.value?y({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:async a=>{const e=a.tempFilePaths[0];if(e)try{b({title:"上传中"});const{url:a}=await k(e);z.value.avatar_url=a}catch(l){h({title:(null==l?void 0:l.message)||"上传失败",icon:"none"})}finally{g()}}}):h({title:"请先通过微信登录后再上传头像",icon:"none"})}async function F(){if(z.value.real_name.trim())if(/^1\d{10}$/.test(z.value.phone.trim())){T.value=!0;try{const a={real_name:z.value.real_name.trim(),phone:z.value.phone.trim(),avatar_url:z.value.avatar_url||void 0};U.value&&await x(a),P({real_name:a.real_name,phone:a.phone,avatar_url:a.avatar_url}),h({title:"保存成功",icon:"success"})}catch(a){h({title:(null==a?void 0:a.message)||"保存失败",icon:"none"})}finally{T.value=!1}}else h({title:"请填写11位手机号",icon:"none"});else h({title:"请填写姓名",icon:"none"})}return l(()=>{!async function(){V.value=!0,U.value=!!n(u.accessToken);try{if(U.value)try{const a=await w();z.value.real_name=a.real_name||"",z.value.phone=a.phone||"",z.value.avatar_url=a.avatar_url||""}catch{const a=j();a&&B(a)}else{const a=j();a&&B(a)}}finally{V.value=!1}}()}),(a,e)=>{const l=c("SubPageBackBtn"),n=r,u=d,h=p,y=m,b=f;return o(),s(n,{class:"page"},{default:t(()=>[v(l),V.value?(o(),s(n,{key:0,class:"loading"},{default:t(()=>[i("加载中…")]),_:1})):(o(),s(n,{key:1,class:"content"},{default:t(()=>[v(n,{class:"avatar-block"},{default:t(()=>[v(n,{class:"avatar-wrap",onClick:C},{default:t(()=>[z.value.avatar_url?(o(),s(u,{key:0,class:"avatar",src:z.value.avatar_url,mode:"aspectFill"},null,8,["src"])):(o(),s(n,{key:1,class:"avatar placeholder"})),v(n,{class:"avatar-tip"},{default:t(()=>[i(_(U.value?"点击更换头像":"登录后可上传头像"),1)]),_:1})]),_:1})]),_:1}),v(n,{class:"card"},{default:t(()=>[v(n,{class:"row"},{default:t(()=>[v(h,{class:"label"},{default:t(()=>[i("姓名")]),_:1}),v(y,{modelValue:z.value.real_name,"onUpdate:modelValue":e[0]||(e[0]=a=>z.value.real_name=a),class:"input",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),v(n,{class:"row last"},{default:t(()=>[v(h,{class:"label"},{default:t(()=>[i("手机号")]),_:1}),v(y,{modelValue:z.value.phone,"onUpdate:modelValue":e[1]||(e[1]=a=>z.value.phone=a),class:"input",type:"number",maxlength:"11",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1}),v(b,{class:"btn",disabled:T.value,onClick:F},{default:t(()=>[i(_(T.value?"保存中…":"保存"),1)]),_:1},8,["disabled"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-f84b8690"]]);export{T as default}; +import{d as a,e,j as l,k as s,l as t,g as n,S as u,n as r,U as c,p as o,q as v,y as i,z as d,D as _,v as p,I as m,V as f,s as h,W as y,a as b,X as k,c as g,_ as V}from"./index-B62HYGKy.js";import{g as w,l as j,u as x,s as P}from"./localProfile.BNBxvTJ-.js";const T=V(a({__name:"profile",setup(a){const V=e(!0),T=e(!1),U=e(!1),z=e({real_name:"",phone:"",avatar_url:""});function B(a){z.value.real_name=a.real_name||"",z.value.phone=a.phone||"",z.value.avatar_url=a.avatar_url||""}function C(){U.value?y({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:async a=>{const e=a.tempFilePaths[0];if(e)try{b({title:"上传中"});const{url:a}=await k(e);z.value.avatar_url=a}catch(l){h({title:(null==l?void 0:l.message)||"上传失败",icon:"none"})}finally{g()}}}):h({title:"请先通过微信登录后再上传头像",icon:"none"})}async function F(){if(z.value.real_name.trim())if(/^1\d{10}$/.test(z.value.phone.trim())){T.value=!0;try{const a={real_name:z.value.real_name.trim(),phone:z.value.phone.trim(),avatar_url:z.value.avatar_url||void 0};U.value&&await x(a),P({real_name:a.real_name,phone:a.phone,avatar_url:a.avatar_url}),h({title:"保存成功",icon:"success"})}catch(a){h({title:(null==a?void 0:a.message)||"保存失败",icon:"none"})}finally{T.value=!1}}else h({title:"请填写11位手机号",icon:"none"});else h({title:"请填写姓名",icon:"none"})}return l(()=>{!async function(){V.value=!0,U.value=!!n(u.accessToken);try{if(U.value)try{const a=await w();z.value.real_name=a.real_name||"",z.value.phone=a.phone||"",z.value.avatar_url=a.avatar_url||""}catch{const a=j();a&&B(a)}else{const a=j();a&&B(a)}}finally{V.value=!1}}()}),(a,e)=>{const l=c("SubPageBackBtn"),n=r,u=d,h=p,y=m,b=f;return o(),s(n,{class:"page"},{default:t(()=>[v(l),V.value?(o(),s(n,{key:0,class:"loading"},{default:t(()=>[i("加载中…")]),_:1})):(o(),s(n,{key:1,class:"content"},{default:t(()=>[v(n,{class:"avatar-block"},{default:t(()=>[v(n,{class:"avatar-wrap",onClick:C},{default:t(()=>[z.value.avatar_url?(o(),s(u,{key:0,class:"avatar",src:z.value.avatar_url,mode:"aspectFill"},null,8,["src"])):(o(),s(n,{key:1,class:"avatar placeholder"})),v(n,{class:"avatar-tip"},{default:t(()=>[i(_(U.value?"点击更换头像":"登录后可上传头像"),1)]),_:1})]),_:1})]),_:1}),v(n,{class:"card"},{default:t(()=>[v(n,{class:"row"},{default:t(()=>[v(h,{class:"label"},{default:t(()=>[i("姓名")]),_:1}),v(y,{modelValue:z.value.real_name,"onUpdate:modelValue":e[0]||(e[0]=a=>z.value.real_name=a),class:"input",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),v(n,{class:"row last"},{default:t(()=>[v(h,{class:"label"},{default:t(()=>[i("手机号")]),_:1}),v(y,{modelValue:z.value.phone,"onUpdate:modelValue":e[1]||(e[1]=a=>z.value.phone=a),class:"input",type:"number",maxlength:"11",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1}),v(b,{class:"btn",disabled:T.value,onClick:F},{default:t(()=>[i(_(T.value?"保存中…":"保存"),1)]),_:1},8,["disabled"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-f84b8690"]]);export{T as default}; diff --git a/public/h5/assets/pages-mine-reservation-detail.rD4AfXrh.js b/public/h5/assets/pages-mine-reservation-detail.BIv1e_Nn.js similarity index 99% rename from public/h5/assets/pages-mine-reservation-detail.rD4AfXrh.js rename to public/h5/assets/pages-mine-reservation-detail.BIv1e_Nn.js index 0c9f045..5e3f99c 100644 --- a/public/h5/assets/pages-mine-reservation-detail.rD4AfXrh.js +++ b/public/h5/assets/pages-mine-reservation-detail.BIv1e_Nn.js @@ -1 +1 @@ -import{d as t,e,f as n,Y as r,k as o,l as a,s as i,n as s,g as l,S as u,U as c,p as d,q as f,y as g,K as h,D as v,F as p,G as m,H as y,v as w,J as E,B as _,z as C,V as A,E as B,a8 as b,a2 as I,_ as M}from"./index-BgY1dkGI.js";import{g as N,q as T,e as P}from"./content.CIu3j-dc.js";import{a as k}from"./venueThemeColors.DRxjaxXI.js";import{i as R,f as L,a as S}from"./datetime.BfIJTcZ8.js";var U={},x={},F={};let D;const z=[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];F.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},F.getSymbolTotalCodewords=function(t){return z[t]},F.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},F.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');D=t},F.isKanjiModeEnabled=function(){return void 0!==D},F.toSJIS=function(t){return D(t)};var H,J={};function K(){this.buffer=[],this.length=0}(H=J).L={bit:1},H.M={bit:0},H.Q={bit:3},H.H={bit:2},H.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},H.from=function(t,e){if(H.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return H.L;case"m":case"medium":return H.M;case"q":case"quartile":return H.Q;case"h":case"high":return H.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},K.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Y=K;function q(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)}q.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},q.prototype.get=function(t,e){return this.data[t*this.size+e]},q.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},q.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var j=q,V={};!function(t){const e=F.getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),o=145===r?26:2*Math.ceil((r-13)/(2*n-2)),a=[r-7];for(let e=1;e=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const n=t.size;let r=0,o=0,a=0,i=null,s=null;for(let l=0;l=5&&(r+=e+(o-5)),i=n,o=1),n=t.get(u,l),n===s?a++:(a>=5&&(r+=e+(a-5)),s=n,a=1)}o>=5&&(r+=e+(o-5)),a>=5&&(r+=e+(a-5))}return r},t.getPenaltyN2=function(t){const e=t.size;let r=0;for(let n=0;n=10&&(1488===o||93===o)&&n++,a=a<<1&2047|t.get(i,r),i>=10&&(1488===a||93===a)&&n++}return n*r},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r=0;){const t=r[0];for(let a=0;a0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var it=at,st={},lt={},ut={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},ct={};const dt="[0-9]+";let ft="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ft=ft.replace(/u/g,"\\u");const gt="(?:(?![A-Z0-9 $%*+\\-./:]|"+ft+")(?:.|[\r\n]))+";ct.KANJI=new RegExp(ft,"g"),ct.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ct.BYTE=new RegExp(gt,"g"),ct.NUMERIC=new RegExp(dt,"g"),ct.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const ht=new RegExp("^"+ft+"$"),vt=new RegExp("^"+dt+"$"),pt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ct.testKanji=function(t){return ht.test(t)},ct.testNumeric=function(t){return vt.test(t)},ct.testAlphanumeric=function(t){return pt.test(t)},function(t){const e=ut,n=ct;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(r){return n}}}(lt),function(t){const e=F,n=Z,r=J,o=lt,a=ut,i=e.getBCHDigit(7973);function s(t,e){return o.getCharCountIndicator(t,e)+4}function l(t,e){let n=0;return t.forEach(function(t){const r=s(t.mode,e);n+=r+t.getBitsLength()}),n}t.from=function(t,e){return a.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,i){if(!a.isValid(t))throw new Error("Invalid QR Code version");void 0===i&&(i=o.BYTE);const l=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(i===o.MIXED)return l;const u=l-s(i,t);switch(i){case o.NUMERIC:return Math.floor(u/10*3);case o.ALPHANUMERIC:return Math.floor(u/11*2);case o.KANJI:return Math.floor(u/13);case o.BYTE:default:return Math.floor(u/8)}},t.getBestVersionForData=function(e,n){let a;const i=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(l(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,i);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(a.mode,a.getLength(),i)},t.getEncodedBits=function(t){if(!a.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-i>=0;)n^=7973<=0;)r^=1335<0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var At=Ct;const Bt=lt,bt=["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 It(t){this.mode=Bt.ALPHANUMERIC,this.data=t}It.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},It.prototype.getLength=function(){return this.data.length},It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)},It.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*bt.indexOf(this.data[e]);n+=bt.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(bt.indexOf(this.data[e]),6)};var Mt=It;const Nt=lt;function Tt(t){this.mode=Nt.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}Tt.getBitsLength=function(t){return 8*t},Tt.prototype.getLength=function(){return this.data.length},Tt.prototype.getBitsLength=function(){return Tt.getBitsLength(this.data.length)},Tt.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}};var St,Ut=Lt,xt={exports:{}},Ft=xt.exports=St={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var a,i,s,l,u,c,d,f=St.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(s in i=(a=f.pop()).value,l=a.cost,u=t[i]||{})u.hasOwnProperty(s)&&(c=l+u[s],d=o[s],(void 0===o[s]||d>c)&&(o[s]=c,f.push(s,c),r[s]=i));if(void 0!==n&&void 0===o[n]){var g=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(g)}return r},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var r=St.single_source_shortest_paths(t,e,n);return St.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=St.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};!function(t){const e=lt,n=At,r=Mt,o=Pt,a=Ut,i=ct,s=F,l=Ft;function u(t){return unescape(encodeURIComponent(t)).length}function c(t,e,n){const r=[];let o;for(;null!==(o=t.exec(n));)r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function d(t){const n=c(i.NUMERIC,e.NUMERIC,t),r=c(i.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,a;s.isKanjiModeEnabled()?(o=c(i.BYTE,e.BYTE,t),a=c(i.KANJI,e.KANJI,t)):(o=c(i.BYTE_KANJI,e.BYTE,t),a=[]);return n.concat(r,o,a).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function f(t,i){switch(i){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return a.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function g(t,i){let l;const u=e.getBestModeForData(t);if(l=e.from(i,u),l!==e.BYTE&&l.bit=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[])}(c))},t.rawSplit=function(e){return t.fromArray(d(e,s.isKanjiModeEnabled()))}}(Et);const Dt=F,zt=J,Ht=Y,Jt=j,Kt=V,Yt=$,qt=Q,jt=Z,Vt=it,$t=st,Ot=mt,Qt=lt,Zt=Et;function Xt(t,e,n){const r=t.size,o=Ot.getEncodedBits(e,n);let a,i;for(a=0;a<15;a++)i=1==(o>>a&1),a<6?t.set(a,8,i,!0):a<8?t.set(a+1,8,i,!0):t.set(r-15+a,8,i,!0),a<8?t.set(8,r-a-1,i,!0):a<9?t.set(8,15-a-1+1,i,!0):t.set(8,15-a-1,i,!0);t.set(r-8,8,1,!0)}function Wt(t,e,n){const r=new Ht;n.forEach(function(e){r.put(e.mode.bit,4),r.put(e.getLength(),Qt.getCharCountIndicator(e.mode,t)),e.write(r)});const o=8*(Dt.getSymbolTotalCodewords(t)-jt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const a=(o-r.getLengthInBits())/8;for(let i=0;i=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?t.set(e+r,a+o,!0,!0):t.set(e+r,a+o,!1,!0))}}(l,e),function(t){const e=t.size;for(let n=8;n=7&&function(t,e){const n=t.size,r=$t.getEncodedBits(e);let o,a,i;for(let s=0;s<18;s++)o=Math.floor(s/3),a=s%3+n-8-3,i=1==(r>>s&1),t.set(o,a,i,!0),t.set(a,o,i,!0)}(l,e),function(t,e){const n=t.size;let r=-1,o=n-1,a=7,i=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(o,s-n)){let r=!1;i>>a&1)),t.set(o,s-n,r),a--,-1===a&&(i++,a=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(l,i),isNaN(r)&&(r=qt.getBestMask(l,Xt.bind(null,l,n))),qt.applyMask(r,l),Xt(l,n,r),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}x.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=zt.M;return void 0!==e&&(o=zt.from(e.errorCorrectionLevel,zt.M),n=$t.from(e.version),r=qt.from(e.maskPattern),e.toSJISFunc&&Dt.setToSJISFunction(e.toSJISFunc)),Gt(t,n,o,r)};var te={},ee={};!function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:n,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const o=n.modules.size,a=n.modules.data,i=t.getScale(o,r),s=Math.floor((o+2*r.margin)*i),l=r.margin*i,u=[r.color.light,r.color.dark];for(let t=0;t=l&&n>=l&&t':"",l="0&&l>0&&t[s-1]||(r+=a?ae("M",l+n,.5+u+n):ae("m",o,0),o=0,a=!1),l+1',u='viewBox="0 0 '+i+" "+i+'"',c=''+s+l+"\n";return"function"==typeof n&&n(null,c),c};const ie=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},se=x,le=te,ue=ne;function ce(t,e,n,r,o){const a=[].slice.call(arguments,1),i=a.length,s="function"==typeof a[i-1];if(!s&&!ie())throw new Error("Callback required as last argument");if(!s){if(i<1)throw new Error("Too few arguments provided");return 1===i?(n=e,e=r=void 0):2!==i||e.getContext||(r=n,n=e,e=void 0),new Promise(function(o,a){try{const a=se.create(n,r);o(t(a,e,r))}catch(i){a(i)}})}if(i<2)throw new Error("Too few arguments provided");2===i?(o=n,n=e,e=r=void 0):3===i&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const a=se.create(n,r);o(null,t(a,e,r))}catch(l){o(l)}}U.create=se.create,U.toCanvas=ce.bind(null,le.render),U.toDataURL=ce.bind(null,le.renderToDataURL),U.toString=ce.bind(null,function(t,e,n){return ue.render(t,n)});const de=M(t({__name:"reservation-detail",setup(t){const M=e(null),x=e(null),F=e(""),D=e(!1),z=e(!1),H=e("");function J(){return!!l(u.accessToken)}const K=n(()=>{var t,e;const n=M.value;if(n)return"ticket_grab"===n.reservation_kind?n.entry_date||(null==(t=n.activity_day)?void 0:t.activity_date):null==(e=n.activity_day)?void 0:e.activity_date}),Y=n(()=>{const t=M.value;return!(!t||"pending"!==t.status)&&!R(K.value)}),q=n(()=>{var t;const e=null==(t=M.value)?void 0:t.activity;if(!(null==e?void 0:e.start_at)&&!(null==e?void 0:e.end_at))return"-";const n=e.start_at?L(e.start_at):"",r=e.end_at?L(e.end_at):"";return n&&r&&n===r?n:n&&r?`${n} ~ ${r}`:n||r||"-"}),j=n(()=>{var t,e;const n=null==(t=M.value)?void 0:t.venue,r=null==(e=M.value)?void 0:e.activity;return String((null==n?void 0:n.address)||(null==r?void 0:r.address)||"").trim()||"-"}),V=n(()=>{const t=M.value;if(!t)return"预约人:-|-|-人";return`预约人:${String(t.visitor_name||"").trim()||"-"}|${String(t.visitor_phone||"").trim()||"-"}|${Number(t.ticket_count)||1}人`});const $=e([]);function O(){var t;const e=(null==(t=M.value)?void 0:t.qr_token)||"";e&&b({data:e})}function Q(){const t=M.value,e=null==t?void 0:t.activity,n=null==t?void 0:t.venue,r="ticket_grab"===(null==t?void 0:t.reservation_kind),o=Number((r&&null!=(null==n?void 0:n.lat)?n.lat:null==e?void 0:e.lat)??(null==n?void 0:n.lat)??(null==e?void 0:e.lat)??0),a=Number((r&&null!=(null==n?void 0:n.lng)?n.lng:null==e?void 0:e.lng)??(null==n?void 0:n.lng)??(null==e?void 0:e.lng)??0),i=(r?null==n?void 0:n.name:null==e?void 0:e.title)||"场馆",s=String((null==n?void 0:n.address)||(null==e?void 0:e.address)||"").trim();I({lat:o,lng:a,name:i,address:s||"苏州",emptyHint:"暂未标注地图坐标,无法导航"})}async function Z(t){if(!t)return;const e=/^1\d{10}$/.test(F.value);if(e||J()){D.value=!0;try{if(!x.value)try{x.value=await N()}catch{x.value=null}M.value=await T(t,e?F.value:void 0),await async function(){var t;const e=null==(t=M.value)?void 0:t.qr_token;if(e)try{H.value=await U.toDataURL(e,{width:320,margin:1,errorCorrectionLevel:"M"})}catch{H.value=""}else H.value=""}(),function(){var t;const e=(null==(t=M.value)?void 0:t.visitor_name)||"观众";$.value=H.value?[{label:e,qr:H.value}]:[]}()}catch(n){i({title:(null==n?void 0:n.message)||"加载详情失败",icon:"none"})}finally{D.value=!1}}else i({title:"缺少验证信息",icon:"none"})}const X=e(!1);function W(){X.value=!1}function G(){var t;(null==(t=M.value)?void 0:t.id)&&(Y.value?(/^1\d{10}$/.test(F.value)||J())&&(X.value=!0):i({title:"当前不可取消(已核销/已取消或预约日已过)",icon:"none"}))}async function tt(){var t;if(X.value=!1,!(null==(t=M.value)?void 0:t.id))return;if(!Y.value)return;const e=/^1\d{10}$/.test(F.value);if(e||J()){z.value=!0;try{await P(M.value.id,e?F.value:void 0),i({title:"取消成功",icon:"success"}),await Z(M.value.id)}catch(n){i({title:(null==n?void 0:n.message)||"取消失败",icon:"none"})}finally{z.value=!1}}}return r(t=>{const e=Number((null==t?void 0:t.id)||0);F.value=String((null==t?void 0:t.phone)||""),Z(e)}),(t,e)=>{const n=c("SubPageBackBtn"),r=s,i=w,l=C,u=A;return d(),o(r,{class:"page"},{default:a(()=>{var t,s;return[f(n),D.value&&!M.value?(d(),o(r,{key:0,class:"loading"},{default:a(()=>[g("加载中…")]),_:1})):h("",!0),f(r,{class:"card"},{default:a(()=>{var t,e,n;return[f(r,{class:"title"},{default:a(()=>{var t,e;return[g(v((null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.title)||"-"),1)]}),_:1}),(null==(n=null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.tags)?void 0:n.length)?(d(),o(r,{key:0,class:"tags"},{default:a(()=>[(d(!0),p(m,null,y(M.value.activity.tags,(t,e)=>{var n;return d(),o(i,{key:e,class:"tag",style:E(_(k)(e,null==(n=x.value)?void 0:n.venue_type))},{default:a(()=>[g(v(t),1)]),_:2},1032,["style"])}),128))]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>[g("活动时间:"+v(q.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e;return[g("预约场馆:"+v((null==(e=null==(t=M.value)?void 0:t.venue)?void 0:e.name)||"-"),1)]}),_:1}),f(r,{class:"addr-row"},{default:a(()=>[f(i,{class:"meta meta--grow"},{default:a(()=>[g("场馆地址:"+v(j.value),1)]),_:1}),f(r,{class:"nav-btn",onClick:Q},{default:a(()=>[g("导航")]),_:1})]),_:1})]}),_:1}),f(r,{class:"card"},{default:a(()=>{var t,e,n,i,s;return[f(r,{class:"sec-label"},{default:a(()=>[g("预约信息")]),_:1}),"ticket_grab"===(null==(t=M.value)?void 0:t.reservation_kind)?(d(),p(m,{key:0},[f(r,{class:"meta"},{default:a(()=>[g(v(V.value),1)]),_:1}),(null==(e=M.value)?void 0:e.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[g("证件号码:"+v(M.value.id_card),1)]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>{var t;return[g("入馆日期:"+v(_(L)(null==(t=M.value)?void 0:t.entry_date)),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[g("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(n=M.value)?void 0:n.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[g("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):h("",!0)],64)):(d(),p(m,{key:1},[f(r,{class:"meta"},{default:a(()=>{var t,e;return[g("预约场次:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.session_name)||"").trim()||"-"),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e,n,r;return[g("场次/入馆时间:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.time_range_text)||"").trim()||_(L)(null==(r=null==(n=M.value)?void 0:n.activity_day)?void 0:r.activity_date)),1)]}),_:1}),(null==(i=M.value)?void 0:i.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[g("证件号码:"+v(M.value.id_card),1)]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>[g(v(V.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[g("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(s=M.value)?void 0:s.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[g("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):h("",!0)],64))]}),_:1}),(null==(t=M.value)?void 0:t.qr_token)&&"pending"===(null==(s=M.value)?void 0:s.status)?(d(),o(r,{key:1,class:"card"},{default:a(()=>[f(r,{class:"sub-title"},{default:a(()=>[g("入馆凭证")]),_:1}),(d(!0),p(m,null,y($.value,(t,e)=>(d(),o(r,{class:"ticket",key:e},{default:a(()=>[f(r,{class:"ticket-head"},{default:a(()=>[f(i,null,{default:a(()=>[g("请向工作人员出示此码")]),_:1}),f(i,{class:"copy",onClick:O},{default:a(()=>[g("复制码")]),_:1})]),_:1}),t.qr?(d(),o(l,{key:0,class:"qr",src:t.qr,mode:"aspectFit"},null,8,["src"])):(d(),o(r,{key:1,class:"tip"},{default:a(()=>[g("二维码生成中...")]),_:1})),f(r,{class:"qr-name"},{default:a(()=>[g(v(t.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):h("",!0),Y.value?(d(),o(r,{key:2,class:"action"},{default:a(()=>[f(u,{class:"btn",disabled:z.value||D.value,onClick:G},{default:a(()=>[g(v(z.value?"取消中...":"取消预约"),1)]),_:1},8,["disabled"])]),_:1})):h("",!0),X.value?(d(),o(r,{key:3,class:"cancel-mask",onClick:W},{default:a(()=>[f(r,{class:"cancel-panel",onClick:e[0]||(e[0]=B(()=>{},["stop"]))},{default:a(()=>[f(i,{class:"cancel-dlg-title"},{default:a(()=>[g("取消预约")]),_:1}),f(i,{class:"cancel-dlg-body"},{default:a(()=>[g(v("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),f(r,{class:"cancel-dlg-actions"},{default:a(()=>[f(u,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:W},{default:a(()=>[g("返回")]),_:1}),f(u,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:tt},{default:a(()=>[g("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0)]}),_:1})}}}),[["__scopeId","data-v-c4ecbdd3"]]);export{de as default}; +import{d as t,e,f as n,Y as r,k as o,l as a,s as i,n as s,g as l,S as u,U as c,p as d,q as f,y as g,K as h,D as v,F as p,G as m,H as y,v as w,J as E,B as _,z as C,V as A,E as B,a8 as b,a2 as I,_ as M}from"./index-B62HYGKy.js";import{g as N,q as T,e as P}from"./content.DxtMXvVw.js";import{a as k}from"./venueThemeColors.DRxjaxXI.js";import{i as R,f as L,a as S}from"./datetime.BfIJTcZ8.js";var U={},x={},F={};let D;const z=[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];F.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},F.getSymbolTotalCodewords=function(t){return z[t]},F.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},F.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');D=t},F.isKanjiModeEnabled=function(){return void 0!==D},F.toSJIS=function(t){return D(t)};var H,J={};function K(){this.buffer=[],this.length=0}(H=J).L={bit:1},H.M={bit:0},H.Q={bit:3},H.H={bit:2},H.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},H.from=function(t,e){if(H.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return H.L;case"m":case"medium":return H.M;case"q":case"quartile":return H.Q;case"h":case"high":return H.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},K.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Y=K;function q(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)}q.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},q.prototype.get=function(t,e){return this.data[t*this.size+e]},q.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},q.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var j=q,V={};!function(t){const e=F.getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),o=145===r?26:2*Math.ceil((r-13)/(2*n-2)),a=[r-7];for(let e=1;e=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const n=t.size;let r=0,o=0,a=0,i=null,s=null;for(let l=0;l=5&&(r+=e+(o-5)),i=n,o=1),n=t.get(u,l),n===s?a++:(a>=5&&(r+=e+(a-5)),s=n,a=1)}o>=5&&(r+=e+(o-5)),a>=5&&(r+=e+(a-5))}return r},t.getPenaltyN2=function(t){const e=t.size;let r=0;for(let n=0;n=10&&(1488===o||93===o)&&n++,a=a<<1&2047|t.get(i,r),i>=10&&(1488===a||93===a)&&n++}return n*r},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r=0;){const t=r[0];for(let a=0;a0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var it=at,st={},lt={},ut={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},ct={};const dt="[0-9]+";let ft="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ft=ft.replace(/u/g,"\\u");const gt="(?:(?![A-Z0-9 $%*+\\-./:]|"+ft+")(?:.|[\r\n]))+";ct.KANJI=new RegExp(ft,"g"),ct.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ct.BYTE=new RegExp(gt,"g"),ct.NUMERIC=new RegExp(dt,"g"),ct.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const ht=new RegExp("^"+ft+"$"),vt=new RegExp("^"+dt+"$"),pt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ct.testKanji=function(t){return ht.test(t)},ct.testNumeric=function(t){return vt.test(t)},ct.testAlphanumeric=function(t){return pt.test(t)},function(t){const e=ut,n=ct;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(r){return n}}}(lt),function(t){const e=F,n=Z,r=J,o=lt,a=ut,i=e.getBCHDigit(7973);function s(t,e){return o.getCharCountIndicator(t,e)+4}function l(t,e){let n=0;return t.forEach(function(t){const r=s(t.mode,e);n+=r+t.getBitsLength()}),n}t.from=function(t,e){return a.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,i){if(!a.isValid(t))throw new Error("Invalid QR Code version");void 0===i&&(i=o.BYTE);const l=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(i===o.MIXED)return l;const u=l-s(i,t);switch(i){case o.NUMERIC:return Math.floor(u/10*3);case o.ALPHANUMERIC:return Math.floor(u/11*2);case o.KANJI:return Math.floor(u/13);case o.BYTE:default:return Math.floor(u/8)}},t.getBestVersionForData=function(e,n){let a;const i=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(l(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,i);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(a.mode,a.getLength(),i)},t.getEncodedBits=function(t){if(!a.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-i>=0;)n^=7973<=0;)r^=1335<0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var At=Ct;const Bt=lt,bt=["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 It(t){this.mode=Bt.ALPHANUMERIC,this.data=t}It.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},It.prototype.getLength=function(){return this.data.length},It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)},It.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*bt.indexOf(this.data[e]);n+=bt.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(bt.indexOf(this.data[e]),6)};var Mt=It;const Nt=lt;function Tt(t){this.mode=Nt.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}Tt.getBitsLength=function(t){return 8*t},Tt.prototype.getLength=function(){return this.data.length},Tt.prototype.getBitsLength=function(){return Tt.getBitsLength(this.data.length)},Tt.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}};var St,Ut=Lt,xt={exports:{}},Ft=xt.exports=St={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var a,i,s,l,u,c,d,f=St.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(s in i=(a=f.pop()).value,l=a.cost,u=t[i]||{})u.hasOwnProperty(s)&&(c=l+u[s],d=o[s],(void 0===o[s]||d>c)&&(o[s]=c,f.push(s,c),r[s]=i));if(void 0!==n&&void 0===o[n]){var g=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(g)}return r},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var r=St.single_source_shortest_paths(t,e,n);return St.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=St.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};!function(t){const e=lt,n=At,r=Mt,o=Pt,a=Ut,i=ct,s=F,l=Ft;function u(t){return unescape(encodeURIComponent(t)).length}function c(t,e,n){const r=[];let o;for(;null!==(o=t.exec(n));)r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function d(t){const n=c(i.NUMERIC,e.NUMERIC,t),r=c(i.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,a;s.isKanjiModeEnabled()?(o=c(i.BYTE,e.BYTE,t),a=c(i.KANJI,e.KANJI,t)):(o=c(i.BYTE_KANJI,e.BYTE,t),a=[]);return n.concat(r,o,a).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function f(t,i){switch(i){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return a.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function g(t,i){let l;const u=e.getBestModeForData(t);if(l=e.from(i,u),l!==e.BYTE&&l.bit=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[])}(c))},t.rawSplit=function(e){return t.fromArray(d(e,s.isKanjiModeEnabled()))}}(Et);const Dt=F,zt=J,Ht=Y,Jt=j,Kt=V,Yt=$,qt=Q,jt=Z,Vt=it,$t=st,Ot=mt,Qt=lt,Zt=Et;function Xt(t,e,n){const r=t.size,o=Ot.getEncodedBits(e,n);let a,i;for(a=0;a<15;a++)i=1==(o>>a&1),a<6?t.set(a,8,i,!0):a<8?t.set(a+1,8,i,!0):t.set(r-15+a,8,i,!0),a<8?t.set(8,r-a-1,i,!0):a<9?t.set(8,15-a-1+1,i,!0):t.set(8,15-a-1,i,!0);t.set(r-8,8,1,!0)}function Wt(t,e,n){const r=new Ht;n.forEach(function(e){r.put(e.mode.bit,4),r.put(e.getLength(),Qt.getCharCountIndicator(e.mode,t)),e.write(r)});const o=8*(Dt.getSymbolTotalCodewords(t)-jt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const a=(o-r.getLengthInBits())/8;for(let i=0;i=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?t.set(e+r,a+o,!0,!0):t.set(e+r,a+o,!1,!0))}}(l,e),function(t){const e=t.size;for(let n=8;n=7&&function(t,e){const n=t.size,r=$t.getEncodedBits(e);let o,a,i;for(let s=0;s<18;s++)o=Math.floor(s/3),a=s%3+n-8-3,i=1==(r>>s&1),t.set(o,a,i,!0),t.set(a,o,i,!0)}(l,e),function(t,e){const n=t.size;let r=-1,o=n-1,a=7,i=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(o,s-n)){let r=!1;i>>a&1)),t.set(o,s-n,r),a--,-1===a&&(i++,a=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(l,i),isNaN(r)&&(r=qt.getBestMask(l,Xt.bind(null,l,n))),qt.applyMask(r,l),Xt(l,n,r),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}x.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=zt.M;return void 0!==e&&(o=zt.from(e.errorCorrectionLevel,zt.M),n=$t.from(e.version),r=qt.from(e.maskPattern),e.toSJISFunc&&Dt.setToSJISFunction(e.toSJISFunc)),Gt(t,n,o,r)};var te={},ee={};!function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:n,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const o=n.modules.size,a=n.modules.data,i=t.getScale(o,r),s=Math.floor((o+2*r.margin)*i),l=r.margin*i,u=[r.color.light,r.color.dark];for(let t=0;t=l&&n>=l&&t':"",l="0&&l>0&&t[s-1]||(r+=a?ae("M",l+n,.5+u+n):ae("m",o,0),o=0,a=!1),l+1',u='viewBox="0 0 '+i+" "+i+'"',c=''+s+l+"\n";return"function"==typeof n&&n(null,c),c};const ie=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},se=x,le=te,ue=ne;function ce(t,e,n,r,o){const a=[].slice.call(arguments,1),i=a.length,s="function"==typeof a[i-1];if(!s&&!ie())throw new Error("Callback required as last argument");if(!s){if(i<1)throw new Error("Too few arguments provided");return 1===i?(n=e,e=r=void 0):2!==i||e.getContext||(r=n,n=e,e=void 0),new Promise(function(o,a){try{const a=se.create(n,r);o(t(a,e,r))}catch(i){a(i)}})}if(i<2)throw new Error("Too few arguments provided");2===i?(o=n,n=e,e=r=void 0):3===i&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const a=se.create(n,r);o(null,t(a,e,r))}catch(l){o(l)}}U.create=se.create,U.toCanvas=ce.bind(null,le.render),U.toDataURL=ce.bind(null,le.renderToDataURL),U.toString=ce.bind(null,function(t,e,n){return ue.render(t,n)});const de=M(t({__name:"reservation-detail",setup(t){const M=e(null),x=e(null),F=e(""),D=e(!1),z=e(!1),H=e("");function J(){return!!l(u.accessToken)}const K=n(()=>{var t,e;const n=M.value;if(n)return"ticket_grab"===n.reservation_kind?n.entry_date||(null==(t=n.activity_day)?void 0:t.activity_date):null==(e=n.activity_day)?void 0:e.activity_date}),Y=n(()=>{const t=M.value;return!(!t||"pending"!==t.status)&&!R(K.value)}),q=n(()=>{var t;const e=null==(t=M.value)?void 0:t.activity;if(!(null==e?void 0:e.start_at)&&!(null==e?void 0:e.end_at))return"-";const n=e.start_at?L(e.start_at):"",r=e.end_at?L(e.end_at):"";return n&&r&&n===r?n:n&&r?`${n} ~ ${r}`:n||r||"-"}),j=n(()=>{var t,e;const n=null==(t=M.value)?void 0:t.venue,r=null==(e=M.value)?void 0:e.activity;return String((null==n?void 0:n.address)||(null==r?void 0:r.address)||"").trim()||"-"}),V=n(()=>{const t=M.value;if(!t)return"预约人:-|-|-人";return`预约人:${String(t.visitor_name||"").trim()||"-"}|${String(t.visitor_phone||"").trim()||"-"}|${Number(t.ticket_count)||1}人`});const $=e([]);function O(){var t;const e=(null==(t=M.value)?void 0:t.qr_token)||"";e&&b({data:e})}function Q(){const t=M.value,e=null==t?void 0:t.activity,n=null==t?void 0:t.venue,r="ticket_grab"===(null==t?void 0:t.reservation_kind),o=Number((r&&null!=(null==n?void 0:n.lat)?n.lat:null==e?void 0:e.lat)??(null==n?void 0:n.lat)??(null==e?void 0:e.lat)??0),a=Number((r&&null!=(null==n?void 0:n.lng)?n.lng:null==e?void 0:e.lng)??(null==n?void 0:n.lng)??(null==e?void 0:e.lng)??0),i=(r?null==n?void 0:n.name:null==e?void 0:e.title)||"场馆",s=String((null==n?void 0:n.address)||(null==e?void 0:e.address)||"").trim();I({lat:o,lng:a,name:i,address:s||"苏州",emptyHint:"暂未标注地图坐标,无法导航"})}async function Z(t){if(!t)return;const e=/^1\d{10}$/.test(F.value);if(e||J()){D.value=!0;try{if(!x.value)try{x.value=await N()}catch{x.value=null}M.value=await T(t,e?F.value:void 0),await async function(){var t;const e=null==(t=M.value)?void 0:t.qr_token;if(e)try{H.value=await U.toDataURL(e,{width:320,margin:1,errorCorrectionLevel:"M"})}catch{H.value=""}else H.value=""}(),function(){var t;const e=(null==(t=M.value)?void 0:t.visitor_name)||"观众";$.value=H.value?[{label:e,qr:H.value}]:[]}()}catch(n){i({title:(null==n?void 0:n.message)||"加载详情失败",icon:"none"})}finally{D.value=!1}}else i({title:"缺少验证信息",icon:"none"})}const X=e(!1);function W(){X.value=!1}function G(){var t;(null==(t=M.value)?void 0:t.id)&&(Y.value?(/^1\d{10}$/.test(F.value)||J())&&(X.value=!0):i({title:"当前不可取消(已核销/已取消或预约日已过)",icon:"none"}))}async function tt(){var t;if(X.value=!1,!(null==(t=M.value)?void 0:t.id))return;if(!Y.value)return;const e=/^1\d{10}$/.test(F.value);if(e||J()){z.value=!0;try{await P(M.value.id,e?F.value:void 0),i({title:"取消成功",icon:"success"}),await Z(M.value.id)}catch(n){i({title:(null==n?void 0:n.message)||"取消失败",icon:"none"})}finally{z.value=!1}}}return r(t=>{const e=Number((null==t?void 0:t.id)||0);F.value=String((null==t?void 0:t.phone)||""),Z(e)}),(t,e)=>{const n=c("SubPageBackBtn"),r=s,i=w,l=C,u=A;return d(),o(r,{class:"page"},{default:a(()=>{var t,s;return[f(n),D.value&&!M.value?(d(),o(r,{key:0,class:"loading"},{default:a(()=>[g("加载中…")]),_:1})):h("",!0),f(r,{class:"card"},{default:a(()=>{var t,e,n;return[f(r,{class:"title"},{default:a(()=>{var t,e;return[g(v((null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.title)||"-"),1)]}),_:1}),(null==(n=null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.tags)?void 0:n.length)?(d(),o(r,{key:0,class:"tags"},{default:a(()=>[(d(!0),p(m,null,y(M.value.activity.tags,(t,e)=>{var n;return d(),o(i,{key:e,class:"tag",style:E(_(k)(e,null==(n=x.value)?void 0:n.venue_type))},{default:a(()=>[g(v(t),1)]),_:2},1032,["style"])}),128))]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>[g("活动时间:"+v(q.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e;return[g("预约场馆:"+v((null==(e=null==(t=M.value)?void 0:t.venue)?void 0:e.name)||"-"),1)]}),_:1}),f(r,{class:"addr-row"},{default:a(()=>[f(i,{class:"meta meta--grow"},{default:a(()=>[g("场馆地址:"+v(j.value),1)]),_:1}),f(r,{class:"nav-btn",onClick:Q},{default:a(()=>[g("导航")]),_:1})]),_:1})]}),_:1}),f(r,{class:"card"},{default:a(()=>{var t,e,n,i,s;return[f(r,{class:"sec-label"},{default:a(()=>[g("预约信息")]),_:1}),"ticket_grab"===(null==(t=M.value)?void 0:t.reservation_kind)?(d(),p(m,{key:0},[f(r,{class:"meta"},{default:a(()=>[g(v(V.value),1)]),_:1}),(null==(e=M.value)?void 0:e.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[g("证件号码:"+v(M.value.id_card),1)]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>{var t;return[g("入馆日期:"+v(_(L)(null==(t=M.value)?void 0:t.entry_date)),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[g("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(n=M.value)?void 0:n.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[g("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):h("",!0)],64)):(d(),p(m,{key:1},[f(r,{class:"meta"},{default:a(()=>{var t,e;return[g("预约场次:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.session_name)||"").trim()||"-"),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e,n,r;return[g("场次/入馆时间:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.time_range_text)||"").trim()||_(L)(null==(r=null==(n=M.value)?void 0:n.activity_day)?void 0:r.activity_date)),1)]}),_:1}),(null==(i=M.value)?void 0:i.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[g("证件号码:"+v(M.value.id_card),1)]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>[g(v(V.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[g("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(s=M.value)?void 0:s.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[g("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):h("",!0)],64))]}),_:1}),(null==(t=M.value)?void 0:t.qr_token)&&"pending"===(null==(s=M.value)?void 0:s.status)?(d(),o(r,{key:1,class:"card"},{default:a(()=>[f(r,{class:"sub-title"},{default:a(()=>[g("入馆凭证")]),_:1}),(d(!0),p(m,null,y($.value,(t,e)=>(d(),o(r,{class:"ticket",key:e},{default:a(()=>[f(r,{class:"ticket-head"},{default:a(()=>[f(i,null,{default:a(()=>[g("请向工作人员出示此码")]),_:1}),f(i,{class:"copy",onClick:O},{default:a(()=>[g("复制码")]),_:1})]),_:1}),t.qr?(d(),o(l,{key:0,class:"qr",src:t.qr,mode:"aspectFit"},null,8,["src"])):(d(),o(r,{key:1,class:"tip"},{default:a(()=>[g("二维码生成中...")]),_:1})),f(r,{class:"qr-name"},{default:a(()=>[g(v(t.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):h("",!0),Y.value?(d(),o(r,{key:2,class:"action"},{default:a(()=>[f(u,{class:"btn",disabled:z.value||D.value,onClick:G},{default:a(()=>[g(v(z.value?"取消中...":"取消预约"),1)]),_:1},8,["disabled"])]),_:1})):h("",!0),X.value?(d(),o(r,{key:3,class:"cancel-mask",onClick:W},{default:a(()=>[f(r,{class:"cancel-panel",onClick:e[0]||(e[0]=B(()=>{},["stop"]))},{default:a(()=>[f(i,{class:"cancel-dlg-title"},{default:a(()=>[g("取消预约")]),_:1}),f(i,{class:"cancel-dlg-body"},{default:a(()=>[g(v("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),f(r,{class:"cancel-dlg-actions"},{default:a(()=>[f(u,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:W},{default:a(()=>[g("返回")]),_:1}),f(u,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:tt},{default:a(()=>[g("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0)]}),_:1})}}}),[["__scopeId","data-v-c4ecbdd3"]]);export{de as default}; diff --git a/public/h5/assets/pages-stats-index.DY6DWHJ7.js b/public/h5/assets/pages-stats-index.B0rHxCdo.js similarity index 96% rename from public/h5/assets/pages-stats-index.DY6DWHJ7.js rename to public/h5/assets/pages-stats-index.B0rHxCdo.js index a5f7c5c..46d713b 100644 --- a/public/h5/assets/pages-stats-index.DY6DWHJ7.js +++ b/public/h5/assets/pages-stats-index.B0rHxCdo.js @@ -1 +1 @@ -import{d as a,e as s,j as t,aa as l,o as e,P as n,Q as u,k as i,l as c,s as o,n as r,U as d,p as f,q as _,J as m,v,y as p,F as y,G as g,H as k,x as h,D as C,z as b,B as w,K as j,L as x,_ as B}from"./index-BgY1dkGI.js";import{a as P,g as A}from"./content.CIu3j-dc.js";import{g as F,l as H}from"./peopleCounting.DW67gGwD.js";import{P as L}from"./poster.C6TYC1FC.js";const S=B(a({__name:"index",setup(a){const B=s(!0),S=s([]),q=s(6);async function z(){B.value=!0;try{const[a,s,t]=await Promise.all([P({only_included_in_stats:!0}),A().catch(()=>null),F().catch(()=>null)]),l=Array.isArray(a)?a:[],e=function(a){const s={};for(const t of(null==a?void 0:a.district)??[]){const a=(t.value||"").trim();a&&(s[a]=(t.label||"").trim()||a)}return s}(s),n=H(t);S.value=function(a,s,t){const l=a.map(a=>{const l=(a.district||"").trim(),e=l?s[l]??l:"";return{id:a.id,name:a.name||"未命名场馆",district:e,cover_image:a.cover_image||null,liveCount:t.has(a.id)?t.get(a.id):null}}),e=l.filter(a=>null!==a.liveCount),n=l.filter(a=>null===a.liveCount);return e.sort((a,s)=>(s.liveCount??0)-(a.liveCount??0)),[...e,...n]}(l,e,n)}catch(a){o({title:(null==a?void 0:a.message)||"加载失败",icon:"none"}),S.value=[]}finally{B.value=!1}}return t(()=>{try{const a=l();q.value=Number(a.statusBarHeight||0)+6}catch{q.value=6}}),e(()=>{z()}),n(async()=>{try{await z()}finally{u()}}),(a,s)=>{const t=d("SubPageBackBtn"),l=r,e=v,n=b;return f(),i(l,{class:"page"},{default:c(()=>[_(l,{class:"stats-header",style:m({paddingTop:q.value+"px"})},{default:c(()=>[_(l,{class:"stats-header-row"},{default:c(()=>[_(t,{embedded:""}),_(l,{class:"stats-title-line"},{default:c(()=>[_(l,{class:"title-left"},{default:c(()=>[_(l,{class:"bar","aria-hidden":"true"}),_(e,{class:"title"},{default:c(()=>[p("实时人数排行")]),_:1})]),_:1}),_(e,{class:"title-hint"},{default:c(()=>[p("纳入市科协人数统计系统场馆")]),_:1})]),_:1})]),_:1})]),_:1},8,["style"]),B.value&&!S.value.length?(f(),i(l,{key:0,class:"state"},{default:c(()=>[p("加载中…")]),_:1})):S.value.length?(f(),i(l,{key:2,class:"list"},{default:c(()=>[(f(!0),y(g,null,k(S.value,(a,s)=>(f(),i(l,{key:a.id,class:h(["row",{"is-top1":0===s,"is-top2":1===s,"is-top3":2===s}]),onClick:s=>{var t;(t=a.id)&&x({url:`/pages/venue/detail?id=${t}`})}},{default:c(()=>[_(l,{class:"rank-wrap"},{default:c(()=>[s<3?(f(),i(l,{key:0,class:h(["medal","m"+(s+1)])},{default:c(()=>[p(C(s+1),1)]),_:2},1032,["class"])):(f(),i(e,{key:1,class:"rank-num"},{default:c(()=>[p(C(s+1),1)]),_:2},1024))]),_:2},1024),_(n,{class:"thumb",src:a.cover_image||w(L),mode:"aspectFill"},null,8,["src"]),_(l,{class:"mid"},{default:c(()=>[_(e,{class:"name"},{default:c(()=>[p(C(a.name),1)]),_:2},1024),a.district?(f(),i(e,{key:0,class:"district"},{default:c(()=>[p(C(a.district),1)]),_:2},1024)):j("",!0)]),_:2},1024),_(l,{class:"count-block"},{default:c(()=>[_(e,{class:"count-label"},{default:c(()=>[p("实时人数")]),_:1}),_(l,{class:"count-row"},{default:c(()=>[_(e,{class:h(["count",{"count--na":null===a.liveCount}])},{default:c(()=>[p(C(null===a.liveCount?"—":a.liveCount.toLocaleString()),1)]),_:2},1032,["class"]),_(e,{class:"unit"},{default:c(()=>[p("人")]),_:1})]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):(f(),i(l,{key:1,class:"state muted"},{default:c(()=>[p("暂无已上架场馆")]),_:1})),_(l,{class:"bottom-safe"})]),_:1})}}}),[["__scopeId","data-v-6a7f291a"]]);export{S as default}; +import{d as a,e as s,j as t,aa as l,o as e,P as n,Q as u,k as i,l as c,s as o,n as r,U as d,p as f,q as _,J as m,v,y as p,F as y,G as g,H as k,x as h,D as C,z as b,B as w,K as j,L as x,_ as B}from"./index-B62HYGKy.js";import{a as P,g as A}from"./content.DxtMXvVw.js";import{g as F,l as H}from"./peopleCounting.DplW7Jyp.js";import{P as L}from"./poster.C6TYC1FC.js";const S=B(a({__name:"index",setup(a){const B=s(!0),S=s([]),q=s(6);async function z(){B.value=!0;try{const[a,s,t]=await Promise.all([P({only_included_in_stats:!0}),A().catch(()=>null),F().catch(()=>null)]),l=Array.isArray(a)?a:[],e=function(a){const s={};for(const t of(null==a?void 0:a.district)??[]){const a=(t.value||"").trim();a&&(s[a]=(t.label||"").trim()||a)}return s}(s),n=H(t);S.value=function(a,s,t){const l=a.map(a=>{const l=(a.district||"").trim(),e=l?s[l]??l:"";return{id:a.id,name:a.name||"未命名场馆",district:e,cover_image:a.cover_image||null,liveCount:t.has(a.id)?t.get(a.id):null}}),e=l.filter(a=>null!==a.liveCount),n=l.filter(a=>null===a.liveCount);return e.sort((a,s)=>(s.liveCount??0)-(a.liveCount??0)),[...e,...n]}(l,e,n)}catch(a){o({title:(null==a?void 0:a.message)||"加载失败",icon:"none"}),S.value=[]}finally{B.value=!1}}return t(()=>{try{const a=l();q.value=Number(a.statusBarHeight||0)+6}catch{q.value=6}}),e(()=>{z()}),n(async()=>{try{await z()}finally{u()}}),(a,s)=>{const t=d("SubPageBackBtn"),l=r,e=v,n=b;return f(),i(l,{class:"page"},{default:c(()=>[_(l,{class:"stats-header",style:m({paddingTop:q.value+"px"})},{default:c(()=>[_(l,{class:"stats-header-row"},{default:c(()=>[_(t,{embedded:""}),_(l,{class:"stats-title-line"},{default:c(()=>[_(l,{class:"title-left"},{default:c(()=>[_(l,{class:"bar","aria-hidden":"true"}),_(e,{class:"title"},{default:c(()=>[p("实时人数排行")]),_:1})]),_:1}),_(e,{class:"title-hint"},{default:c(()=>[p("纳入市科协人数统计系统场馆")]),_:1})]),_:1})]),_:1})]),_:1},8,["style"]),B.value&&!S.value.length?(f(),i(l,{key:0,class:"state"},{default:c(()=>[p("加载中…")]),_:1})):S.value.length?(f(),i(l,{key:2,class:"list"},{default:c(()=>[(f(!0),y(g,null,k(S.value,(a,s)=>(f(),i(l,{key:a.id,class:h(["row",{"is-top1":0===s,"is-top2":1===s,"is-top3":2===s}]),onClick:s=>{var t;(t=a.id)&&x({url:`/pages/venue/detail?id=${t}`})}},{default:c(()=>[_(l,{class:"rank-wrap"},{default:c(()=>[s<3?(f(),i(l,{key:0,class:h(["medal","m"+(s+1)])},{default:c(()=>[p(C(s+1),1)]),_:2},1032,["class"])):(f(),i(e,{key:1,class:"rank-num"},{default:c(()=>[p(C(s+1),1)]),_:2},1024))]),_:2},1024),_(n,{class:"thumb",src:a.cover_image||w(L),mode:"aspectFill"},null,8,["src"]),_(l,{class:"mid"},{default:c(()=>[_(e,{class:"name"},{default:c(()=>[p(C(a.name),1)]),_:2},1024),a.district?(f(),i(e,{key:0,class:"district"},{default:c(()=>[p(C(a.district),1)]),_:2},1024)):j("",!0)]),_:2},1024),_(l,{class:"count-block"},{default:c(()=>[_(e,{class:"count-label"},{default:c(()=>[p("实时人数")]),_:1}),_(l,{class:"count-row"},{default:c(()=>[_(e,{class:h(["count",{"count--na":null===a.liveCount}])},{default:c(()=>[p(C(null===a.liveCount?"—":a.liveCount.toLocaleString()),1)]),_:2},1032,["class"]),_(e,{class:"unit"},{default:c(()=>[p("人")]),_:1})]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):(f(),i(l,{key:1,class:"state muted"},{default:c(()=>[p("暂无已上架场馆")]),_:1})),_(l,{class:"bottom-safe"})]),_:1})}}}),[["__scopeId","data-v-6a7f291a"]]);export{S as default}; diff --git a/public/h5/assets/pages-study-tour-detail.Bcb9VQul.js b/public/h5/assets/pages-study-tour-detail.CkRe3Hsz.js similarity index 97% rename from public/h5/assets/pages-study-tour-detail.Bcb9VQul.js rename to public/h5/assets/pages-study-tour-detail.CkRe3Hsz.js index b9d5091..757f8cc 100644 --- a/public/h5/assets/pages-study-tour-detail.Bcb9VQul.js +++ b/public/h5/assets/pages-study-tour-detail.CkRe3Hsz.js @@ -1 +1 @@ -import{d as e,e as t,f as a,w as l,Y as s,k as n,l as u,n as r,u as i,U as o,p as c,q as d,t as v,M as g,v as f,y as p,D as m,F as h,G as y,H as _,J as b,B as k,K as w,E as N,z as x,x as $,a1 as C,L as S,a2 as j,a3 as F,a4 as z,a5 as B,_ as q}from"./index-BgY1dkGI.js";import{r as P,g as T}from"./content.CIu3j-dc.js";import{i as D,a as I}from"./icon_up.DJ5zmdk8.js";import{g as K,t as L}from"./ticketMap.CbUUwCDd.js";import{v as M}from"./venueTypes.DuAf5T5V.js";import{a as R,c as Y}from"./venueThemeColors.DRxjaxXI.js";const E=q(e({__name:"detail",setup(e){const q=t(null),E=t(null),G=t(!0),H=t(!1);function J(e){return L({venue_type_color:e.venue_type_color},()=>function(e){var t;const a=M(e)[0];if(a)return Y(a,null==(t=E.value)?void 0:t.venue_type);const l=e.venue_type_color;return l&&"string"==typeof l&&l.trim()?l.trim():"#05c9ac"}(e))}function U(e){return{background:J(e),color:"#ffffff"}}const A=a(()=>{var e;const t=null==(e=q.value)?void 0:e.intro_html;if(null==t||""===t)return"";const a=String(t);let l="";if(/<[a-z][\s\S]*>/i.test(a)){const e=function(e){if(!e||"string"!=typeof e)return"";const t="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,l)=>{const s=String(a).trim();return/style\s*=/i.test(s)?/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,l)=>/max-width/i.test(l)?e:`style=${a}${l};${t}${a}`):`"===l?" />":">"}`})}(a);l=`
${e}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);l=`
${e}
`}return(s=l)&&String(s).trim()&&String(s).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0?l:"";var s}),O=a(()=>{var e;const t=((null==(e=q.value)?void 0:e.venues)||[]).map(e=>({lat:Number(e.lat),lng:Number(e.lng)})).filter(e=>Number.isFinite(e.lat)&&Number.isFinite(e.lng)&&e.lat&&e.lng);if(!t.length)return{latitude:31.2989,longitude:120.5853};const a=t.reduce((e,t)=>({lat:e.lat+t.lat,lng:e.lng+t.lng}),{lat:0,lng:0});return{latitude:a.lat/t.length,longitude:a.lng/t.length}}),Q=a(()=>{var e;return((null==(e=q.value)?void 0:e.venues)||[]).map(e=>({latitude:Number(e.lat),longitude:Number(e.lng)})).filter(e=>Number.isFinite(e.latitude)&&Number.isFinite(e.longitude)&&e.latitude&&e.longitude)}),V=a(()=>{const e=Q.value.length;return e>=5?10:e>=3?11:e>=2?12:13}),W=a(()=>{if(Q.value.length)try{const e=i(56);return[e,e,e,e]}catch{return[20,20,20,20]}}),X=a(()=>{var e;return((null==(e=q.value)?void 0:e.venues)||[]).map((e,t)=>{const a=Number(e.lat),l=Number(e.lng);if(!a||!l)return null;const s=J(e),n=K(s);return{id:Number(e.id)||t+1,latitude:a,longitude:l,width:28,height:32,iconPath:n,anchor:{x:.5,y:1},callout:{content:`${t+1}. ${e.name||"场馆"}`,color:"#333333",fontSize:12,borderRadius:8,bgColor:"#ffffff",padding:8,display:"BYCLICK"}}}).filter(Boolean)});return l(A,()=>{G.value=!0,F(()=>{setTimeout(()=>{var e;const t=null==(e=z())?void 0:e.proxy,a=B();t&&a.in(t);const l=i(187);a.select(".judge-intro").boundingClientRect(),a.exec(e=>{const[t]=e||[];H.value=!!(t&&t.height&&t.height>l+1),G.value=!0})},120)})}),s(async e=>{const t=Number((null==e?void 0:e.id)||0);if(!t)return;const[a,l]=await Promise.all([P(t),T()]);q.value=a,E.value=l}),(e,t)=>{const a=o("SubPageBackBtn"),l=g,s=f,i=r,F=x,z=C,B=v;return c(),n(i,{class:"page"},{default:u(()=>[d(a),d(B,{"scroll-y":"",class:"scroll"},{default:u(()=>[d(l,{class:"map",latitude:O.value.latitude,longitude:O.value.longitude,markers:X.value,scale:V.value,"include-points":Q.value.length?Q.value:void 0,padding:W.value,"enable-3D":!1,"enable-poi":!1,"enable-building":!1,"enable-traffic":!1,"show-compass":!1,"show-location":""},null,8,["latitude","longitude","markers","scale","include-points","padding"]),d(i,{class:"main-card"},{default:u(()=>{var e,t,a;return[d(s,{class:"tour-title"},{default:u(()=>{var e;return[p(m((null==(e=q.value)?void 0:e.name)||"-"),1)]}),_:1}),(null==(t=null==(e=q.value)?void 0:e.tags)?void 0:t.length)?(c(),n(i,{key:0,class:"act-tags"},{default:u(()=>[(c(!0),h(y,null,_((q.value.tags||[]).slice(0,4),(e,t)=>{var a;return c(),n(s,{key:"tg-"+t+"-"+e,class:"act-tag-chip",style:b(k(R)(t,null==(a=E.value)?void 0:a.venue_type))},{default:u(()=>[p(m(e),1)]),_:2},1032,["style"])}),128))]),_:1})):w("",!0),(c(!0),h(y,null,_((null==(a=q.value)?void 0:a.venues)||[],(e,t)=>(c(),n(i,{key:e.id,class:"venue-row",onClick:t=>{return a=e.id,void S({url:`/pages/venue/detail?id=${a}`});var a}},{default:u(()=>[d(i,{class:"idx",style:b(U(e))},{default:u(()=>[p(m(Number(t)+1),1)]),_:2},1032,["style"]),d(i,{class:"venue-mid"},{default:u(()=>[d(i,{class:"name"},{default:u(()=>[p(m(e.name),1)]),_:2},1024),d(i,{class:"addr"},{default:u(()=>[p(m(e.address||"-"),1)]),_:2},1024)]),_:2},1024),d(i,{class:"go",onClick:N(t=>function(e){j({lat:Number(e.lat),lng:Number(e.lng),name:e.name||"站点",address:e.address||""})}(e),["stop"])},{default:u(()=>[p("导航")]),_:2},1032,["onClick"])]),_:2},1032,["onClick"]))),128))]}),_:1}),A.value?(c(),n(i,{key:0,class:"intro-card"},{default:u(()=>[d(i,{class:"sec-title-row"},{default:u(()=>[d(s,{class:"sec-title"},{default:u(()=>[p("线路简介")]),_:1}),H.value?(c(),n(i,{key:0,class:"expand-arrow-tap",onClick:t[0]||(t[0]=e=>G.value=!G.value)},{default:u(()=>[d(F,{class:"expand-arrow-img",src:G.value?k(D):k(I),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),d(i,{class:$(["intro-rich-wrap judge-intro",{"is-collapsed":H.value&&!G.value}])},{default:u(()=>[d(z,{class:"intro-rich",nodes:A.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0),d(i,{class:"safe-bottom"})]),_:1})]),_:1})}}}),[["__scopeId","data-v-21fb8a30"]]);export{E as default}; +import{d as e,e as t,f as a,w as l,Y as s,k as n,l as u,n as r,u as i,U as o,p as c,q as d,t as v,M as g,v as f,y as p,D as m,F as h,G as y,H as _,J as b,B as k,K as w,E as N,z as x,x as $,a1 as C,L as S,a2 as j,a3 as F,a4 as z,a5 as B,_ as q}from"./index-B62HYGKy.js";import{r as P,g as T}from"./content.DxtMXvVw.js";import{i as D,a as I}from"./icon_up.DJ5zmdk8.js";import{g as K,t as L}from"./ticketMap.b6piD_5W.js";import{v as M}from"./venueTypes.DuAf5T5V.js";import{a as R,c as Y}from"./venueThemeColors.DRxjaxXI.js";const E=q(e({__name:"detail",setup(e){const q=t(null),E=t(null),G=t(!0),H=t(!1);function J(e){return L({venue_type_color:e.venue_type_color},()=>function(e){var t;const a=M(e)[0];if(a)return Y(a,null==(t=E.value)?void 0:t.venue_type);const l=e.venue_type_color;return l&&"string"==typeof l&&l.trim()?l.trim():"#05c9ac"}(e))}function U(e){return{background:J(e),color:"#ffffff"}}const A=a(()=>{var e;const t=null==(e=q.value)?void 0:e.intro_html;if(null==t||""===t)return"";const a=String(t);let l="";if(/<[a-z][\s\S]*>/i.test(a)){const e=function(e){if(!e||"string"!=typeof e)return"";const t="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,l)=>{const s=String(a).trim();return/style\s*=/i.test(s)?/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,l)=>/max-width/i.test(l)?e:`style=${a}${l};${t}${a}`):`"===l?" />":">"}`})}(a);l=`
${e}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);l=`
${e}
`}return(s=l)&&String(s).trim()&&String(s).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0?l:"";var s}),O=a(()=>{var e;const t=((null==(e=q.value)?void 0:e.venues)||[]).map(e=>({lat:Number(e.lat),lng:Number(e.lng)})).filter(e=>Number.isFinite(e.lat)&&Number.isFinite(e.lng)&&e.lat&&e.lng);if(!t.length)return{latitude:31.2989,longitude:120.5853};const a=t.reduce((e,t)=>({lat:e.lat+t.lat,lng:e.lng+t.lng}),{lat:0,lng:0});return{latitude:a.lat/t.length,longitude:a.lng/t.length}}),Q=a(()=>{var e;return((null==(e=q.value)?void 0:e.venues)||[]).map(e=>({latitude:Number(e.lat),longitude:Number(e.lng)})).filter(e=>Number.isFinite(e.latitude)&&Number.isFinite(e.longitude)&&e.latitude&&e.longitude)}),V=a(()=>{const e=Q.value.length;return e>=5?10:e>=3?11:e>=2?12:13}),W=a(()=>{if(Q.value.length)try{const e=i(56);return[e,e,e,e]}catch{return[20,20,20,20]}}),X=a(()=>{var e;return((null==(e=q.value)?void 0:e.venues)||[]).map((e,t)=>{const a=Number(e.lat),l=Number(e.lng);if(!a||!l)return null;const s=J(e),n=K(s);return{id:Number(e.id)||t+1,latitude:a,longitude:l,width:28,height:32,iconPath:n,anchor:{x:.5,y:1},callout:{content:`${t+1}. ${e.name||"场馆"}`,color:"#333333",fontSize:12,borderRadius:8,bgColor:"#ffffff",padding:8,display:"BYCLICK"}}}).filter(Boolean)});return l(A,()=>{G.value=!0,F(()=>{setTimeout(()=>{var e;const t=null==(e=z())?void 0:e.proxy,a=B();t&&a.in(t);const l=i(187);a.select(".judge-intro").boundingClientRect(),a.exec(e=>{const[t]=e||[];H.value=!!(t&&t.height&&t.height>l+1),G.value=!0})},120)})}),s(async e=>{const t=Number((null==e?void 0:e.id)||0);if(!t)return;const[a,l]=await Promise.all([P(t),T()]);q.value=a,E.value=l}),(e,t)=>{const a=o("SubPageBackBtn"),l=g,s=f,i=r,F=x,z=C,B=v;return c(),n(i,{class:"page"},{default:u(()=>[d(a),d(B,{"scroll-y":"",class:"scroll"},{default:u(()=>[d(l,{class:"map",latitude:O.value.latitude,longitude:O.value.longitude,markers:X.value,scale:V.value,"include-points":Q.value.length?Q.value:void 0,padding:W.value,"enable-3D":!1,"enable-poi":!1,"enable-building":!1,"enable-traffic":!1,"show-compass":!1,"show-location":""},null,8,["latitude","longitude","markers","scale","include-points","padding"]),d(i,{class:"main-card"},{default:u(()=>{var e,t,a;return[d(s,{class:"tour-title"},{default:u(()=>{var e;return[p(m((null==(e=q.value)?void 0:e.name)||"-"),1)]}),_:1}),(null==(t=null==(e=q.value)?void 0:e.tags)?void 0:t.length)?(c(),n(i,{key:0,class:"act-tags"},{default:u(()=>[(c(!0),h(y,null,_((q.value.tags||[]).slice(0,4),(e,t)=>{var a;return c(),n(s,{key:"tg-"+t+"-"+e,class:"act-tag-chip",style:b(k(R)(t,null==(a=E.value)?void 0:a.venue_type))},{default:u(()=>[p(m(e),1)]),_:2},1032,["style"])}),128))]),_:1})):w("",!0),(c(!0),h(y,null,_((null==(a=q.value)?void 0:a.venues)||[],(e,t)=>(c(),n(i,{key:e.id,class:"venue-row",onClick:t=>{return a=e.id,void S({url:`/pages/venue/detail?id=${a}`});var a}},{default:u(()=>[d(i,{class:"idx",style:b(U(e))},{default:u(()=>[p(m(Number(t)+1),1)]),_:2},1032,["style"]),d(i,{class:"venue-mid"},{default:u(()=>[d(i,{class:"name"},{default:u(()=>[p(m(e.name),1)]),_:2},1024),d(i,{class:"addr"},{default:u(()=>[p(m(e.address||"-"),1)]),_:2},1024)]),_:2},1024),d(i,{class:"go",onClick:N(t=>function(e){j({lat:Number(e.lat),lng:Number(e.lng),name:e.name||"站点",address:e.address||""})}(e),["stop"])},{default:u(()=>[p("导航")]),_:2},1032,["onClick"])]),_:2},1032,["onClick"]))),128))]}),_:1}),A.value?(c(),n(i,{key:0,class:"intro-card"},{default:u(()=>[d(i,{class:"sec-title-row"},{default:u(()=>[d(s,{class:"sec-title"},{default:u(()=>[p("线路简介")]),_:1}),H.value?(c(),n(i,{key:0,class:"expand-arrow-tap",onClick:t[0]||(t[0]=e=>G.value=!G.value)},{default:u(()=>[d(F,{class:"expand-arrow-img",src:G.value?k(D):k(I),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),d(i,{class:$(["intro-rich-wrap judge-intro",{"is-collapsed":H.value&&!G.value}])},{default:u(()=>[d(z,{class:"intro-rich",nodes:A.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0),d(i,{class:"safe-bottom"})]),_:1})]),_:1})}}}),[["__scopeId","data-v-21fb8a30"]]);export{E as default}; diff --git a/public/h5/assets/pages-ticket-grab-detail.Q0ZCx711.js b/public/h5/assets/pages-ticket-grab-detail.B8YSBNSn.js similarity index 98% rename from public/h5/assets/pages-ticket-grab-detail.Q0ZCx711.js rename to public/h5/assets/pages-ticket-grab-detail.B8YSBNSn.js index e8a9ff6..352313e 100644 --- a/public/h5/assets/pages-ticket-grab-detail.Q0ZCx711.js +++ b/public/h5/assets/pages-ticket-grab-detail.B8YSBNSn.js @@ -1 +1 @@ -import{d as e,e as a,f as l,Y as s,o as t,k as u,l as n,n as i,U as r,p as c,q as o,v as d,y as v,t as f,Z as _,F as m,G as y,H as g,$ as p,z as k,a0 as b,K as h,D as w,J as x,B as j,a1 as $,s as F,L as N,_ as S}from"./index-BgY1dkGI.js";import{g as A,j as B}from"./content.CIu3j-dc.js";import{a as C}from"./venueThemeColors.DRxjaxXI.js";import{f as z}from"./activity.DEGdoGAe.js";import{b as P,n as T,h as q}from"./richText.Cl1iMeI3.js";import{a as D,b as G,i as H}from"./icon4.CHREtDdF.js";import{i as I}from"./icon8.CJEwVaG3.js";import{P as J}from"./poster.C6TYC1FC.js";const K=S(e({__name:"detail",setup(e){const S=a(0),K=a(null),L=a(null),U=a(!1),Y=a(!0),Z=l(()=>{const e=K.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:J}]:[{type:"image",url:J}]}),E=l(()=>{var e;return P(null==(e=K.value)?void 0:e.reservation_notice)}),M=l(()=>{var e;const a=null==(e=K.value)?void 0:e.detail_html;if(!a)return"";const l=T(String(a));return q(l)?l:""}),O=l(()=>{var e;return Array.isArray(null==(e=K.value)?void 0:e.venue_blocks)?K.value.venue_blocks:[]}),Q=l(()=>{const e=K.value;if(!(null==e?void 0:e.booking_start_at)&&!(null==e?void 0:e.booking_end_at))return"";return`开放预约:${e.booking_start_at||"—"} 至 ${e.booking_end_at||"—"}`}),R=l(()=>{const e=K.value;if(!(null==e?void 0:e.daily_release_start_time))return"";const a=String(e.daily_release_start_time).trim(),l=null!=e.daily_release_end_time&&""!==e.daily_release_end_time?String(e.daily_release_end_time).trim():"23:59";return"23:59"===l?`放票时间:每日 ${a} 起`:`放票时间:每日 ${a} 至 ${l}`}),V={all:"全部人员",school_age:"学龄内学生"},W=l(()=>{var e;const a=null==(e=K.value)?void 0:e.booking_audience;if(null==a||""===a)return"";const l=String(a).trim();return`预约人群:${V[l]||l}`});function X(e){const a=Number(null==e?void 0:e.today_remaining);return Number.isNaN(a)?"—":String(a)}return s(e=>{S.value=Number((null==e?void 0:e.id)||0)}),t(()=>{S.value&&async function(){const e=S.value;if(Y.value=!0,U.value=!1,!e)return U.value=!0,K.value=null,void(Y.value=!1);try{L.value=await A()}catch{L.value=null}try{K.value=await B(e)}catch{U.value=!0,K.value=null}finally{Y.value=!1}}()}),(e,a)=>{const l=r("SubPageBackBtn"),s=d,t=i,S=k,A=b,B=p,P=_,T=$,q=f;return c(),u(t,{class:"page"},{default:n(()=>[o(l),Y.value?(c(),u(t,{key:0,class:"loading-wrap"},{default:n(()=>[o(s,{class:"loading-text"},{default:n(()=>[v("加载中…")]),_:1})]),_:1})):!U.value&&K.value?(c(),u(q,{key:1,"scroll-y":"",class:"scroll"},{default:n(()=>{var e;return[o(t,{class:"hero"},{default:n(()=>[Z.value.length?(c(),u(P,{key:0,class:"hero-swiper",circular:"",autoplay:Z.value.length>1,interval:4e3,"indicator-dots":Z.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:n(()=>[(c(!0),m(y,null,g(Z.value,(e,a)=>(c(),u(B,{key:"s-"+a,class:"swiper-item"},{default:n(()=>["video"!==e.type?(c(),u(S,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(c(),u(A,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):h("",!0)]),_:1}),o(t,{class:"main-card"},{default:n(()=>{var e,a;return[o(t,{class:"title-row"},{default:n(()=>[o(s,{class:"act-title"},{default:n(()=>{var e;return[v(w((null==(e=K.value)?void 0:e.title)||"-"),1)]}),_:1})]),_:1}),(null==(a=null==(e=K.value)?void 0:e.tags)?void 0:a.length)?(c(),u(t,{key:0,class:"act-tags"},{default:n(()=>[(c(!0),m(y,null,g((K.value.tags||[]).slice(0,4),(e,a)=>{var l;return c(),u(s,{key:"tg-"+a+"-"+e,class:"act-tag-chip",style:x(j(C)(a,null==(l=L.value)?void 0:l.venue_type))},{default:n(()=>[v(w(e),1)]),_:2},1032,["style"])}),128))]),_:1})):h("",!0),K.value?(c(),u(t,{key:1,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(D),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-label"},{default:n(()=>[v("活动日期:")]),_:1}),o(s,{class:"info-value"},{default:n(()=>{var e,a;return[v(w(j(z)(null==(e=K.value)?void 0:e.start_at,null==(a=K.value)?void 0:a.end_at)),1)]}),_:1})]),_:1})]),_:1})):h("",!0),Q.value?(c(),u(t,{key:2,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(G),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-value info-value--inline"},{default:n(()=>[v(w(Q.value),1)]),_:1})]),_:1})]),_:1})):h("",!0),R.value?(c(),u(t,{key:3,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(I),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-value info-value--inline"},{default:n(()=>[v(w(R.value),1)]),_:1})]),_:1})]),_:1})):h("",!0),W.value?(c(),u(t,{key:4,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(H),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-value info-value--inline"},{default:n(()=>[v(w(W.value),1)]),_:1})]),_:1})]),_:1})):h("",!0),E.value?(c(),u(t,{key:5,class:"notice-block"},{default:n(()=>[o(t,{class:"sec-title-row notice-head-row"},{default:n(()=>[o(s,{class:"notice-label"},{default:n(()=>[v("预约须知")]),_:1})]),_:1}),o(t,{class:"notice-block-body"},{default:n(()=>[o(T,{class:"notice-inline-rich",nodes:E.value},null,8,["nodes"])]),_:1})]),_:1})):h("",!0)]}),_:1}),(null==(e=K.value)?void 0:e.summary)?(c(),u(t,{key:0,class:"summary-card"},{default:n(()=>[o(t,{class:"sec-title-row"},{default:n(()=>[o(s,{class:"sec-title"},{default:n(()=>[v("简介")]),_:1})]),_:1}),o(s,{class:"summary-text"},{default:n(()=>[v(w(K.value.summary),1)]),_:1})]),_:1})):h("",!0),O.value.length?(c(),u(t,{key:1,class:"venue-block-wrap"},{default:n(()=>[o(t,{class:"sec-title-row venue-sec-title"},{default:n(()=>[o(s,{class:"sec-title"},{default:n(()=>[v("参与场馆")]),_:1})]),_:1}),(c(!0),m(y,null,g(O.value,(e,a)=>(c(),u(t,{key:"vb-"+e.id+"-"+a,class:"venue-row",onClick:a=>function(e,a){const l=Number(null==e?void 0:e.id);if(!l)return void F({title:"场馆信息异常",icon:"none"});N({url:`/pages/venue/detail?id=${l}&ticket_grab_event_id=${a}`})}(e,K.value.id)},{default:n(()=>[o(t,{class:"venue-cover-wrap"},{default:n(()=>[o(S,{class:"venue-cover",src:e.cover_image||j(J),mode:"aspectFill"},null,8,["src"]),o(t,{class:"venue-grab-badge"},{default:n(()=>[v("立即抢票")]),_:1})]),_:2},1024),o(t,{class:"venue-body"},{default:n(()=>[o(s,{class:"venue-name"},{default:n(()=>[v(w(e.name||"场馆"),1)]),_:2},1024),e.district?(c(),u(s,{key:0,class:"venue-meta"},{default:n(()=>[v(w(e.district),1)]),_:2},1024)):h("",!0),o(s,{class:"venue-meta addr"},{default:n(()=>[v("今日余票:"+w(X(e)),1)]),_:2},1024)]),_:2},1024),o(s,{class:"chev"},{default:n(()=>[v("›")]),_:1})]),_:2},1032,["onClick"]))),128)),o(t,{class:"venue-hint"},{default:n(()=>[v("请进入场馆后按系统提示完成抢票预约")]),_:1})]),_:1})):h("",!0),M.value?(c(),u(t,{key:2,class:"intro-card"},{default:n(()=>[o(t,{class:"sec-title-row"},{default:n(()=>[o(s,{class:"sec-title"},{default:n(()=>[v("活动详情")]),_:1})]),_:1}),o(t,{class:"intro-rich-wrap"},{default:n(()=>[o(T,{class:"intro-rich",nodes:M.value},null,8,["nodes"])]),_:1})]),_:1})):h("",!0),o(t,{class:"safe-bottom"})]}),_:1})):(c(),u(t,{key:2,class:"err-wrap"},{default:n(()=>[o(s,{class:"err-text"},{default:n(()=>[v("加载失败或活动已下架")]),_:1})]),_:1}))]),_:1})}}}),[["__scopeId","data-v-d52db4c4"]]);export{K as default}; +import{d as e,e as a,f as l,Y as s,o as t,k as u,l as n,n as i,U as r,p as c,q as o,v as d,y as v,t as f,Z as _,F as m,G as y,H as g,$ as p,z as k,a0 as b,K as h,D as w,J as x,B as j,a1 as $,s as F,L as N,_ as S}from"./index-B62HYGKy.js";import{g as A,j as B}from"./content.DxtMXvVw.js";import{a as C}from"./venueThemeColors.DRxjaxXI.js";import{f as z}from"./activity.DEGdoGAe.js";import{b as P,n as T,h as q}from"./richText.Cl1iMeI3.js";import{a as D,b as G,i as H}from"./icon4.CHREtDdF.js";import{i as I}from"./icon8.CJEwVaG3.js";import{P as J}from"./poster.C6TYC1FC.js";const K=S(e({__name:"detail",setup(e){const S=a(0),K=a(null),L=a(null),U=a(!1),Y=a(!0),Z=l(()=>{const e=K.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:J}]:[{type:"image",url:J}]}),E=l(()=>{var e;return P(null==(e=K.value)?void 0:e.reservation_notice)}),M=l(()=>{var e;const a=null==(e=K.value)?void 0:e.detail_html;if(!a)return"";const l=T(String(a));return q(l)?l:""}),O=l(()=>{var e;return Array.isArray(null==(e=K.value)?void 0:e.venue_blocks)?K.value.venue_blocks:[]}),Q=l(()=>{const e=K.value;if(!(null==e?void 0:e.booking_start_at)&&!(null==e?void 0:e.booking_end_at))return"";return`开放预约:${e.booking_start_at||"—"} 至 ${e.booking_end_at||"—"}`}),R=l(()=>{const e=K.value;if(!(null==e?void 0:e.daily_release_start_time))return"";const a=String(e.daily_release_start_time).trim(),l=null!=e.daily_release_end_time&&""!==e.daily_release_end_time?String(e.daily_release_end_time).trim():"23:59";return"23:59"===l?`放票时间:每日 ${a} 起`:`放票时间:每日 ${a} 至 ${l}`}),V={all:"全部人员",school_age:"学龄内学生"},W=l(()=>{var e;const a=null==(e=K.value)?void 0:e.booking_audience;if(null==a||""===a)return"";const l=String(a).trim();return`预约人群:${V[l]||l}`});function X(e){const a=Number(null==e?void 0:e.today_remaining);return Number.isNaN(a)?"—":String(a)}return s(e=>{S.value=Number((null==e?void 0:e.id)||0)}),t(()=>{S.value&&async function(){const e=S.value;if(Y.value=!0,U.value=!1,!e)return U.value=!0,K.value=null,void(Y.value=!1);try{L.value=await A()}catch{L.value=null}try{K.value=await B(e)}catch{U.value=!0,K.value=null}finally{Y.value=!1}}()}),(e,a)=>{const l=r("SubPageBackBtn"),s=d,t=i,S=k,A=b,B=p,P=_,T=$,q=f;return c(),u(t,{class:"page"},{default:n(()=>[o(l),Y.value?(c(),u(t,{key:0,class:"loading-wrap"},{default:n(()=>[o(s,{class:"loading-text"},{default:n(()=>[v("加载中…")]),_:1})]),_:1})):!U.value&&K.value?(c(),u(q,{key:1,"scroll-y":"",class:"scroll"},{default:n(()=>{var e;return[o(t,{class:"hero"},{default:n(()=>[Z.value.length?(c(),u(P,{key:0,class:"hero-swiper",circular:"",autoplay:Z.value.length>1,interval:4e3,"indicator-dots":Z.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:n(()=>[(c(!0),m(y,null,g(Z.value,(e,a)=>(c(),u(B,{key:"s-"+a,class:"swiper-item"},{default:n(()=>["video"!==e.type?(c(),u(S,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(c(),u(A,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):h("",!0)]),_:1}),o(t,{class:"main-card"},{default:n(()=>{var e,a;return[o(t,{class:"title-row"},{default:n(()=>[o(s,{class:"act-title"},{default:n(()=>{var e;return[v(w((null==(e=K.value)?void 0:e.title)||"-"),1)]}),_:1})]),_:1}),(null==(a=null==(e=K.value)?void 0:e.tags)?void 0:a.length)?(c(),u(t,{key:0,class:"act-tags"},{default:n(()=>[(c(!0),m(y,null,g((K.value.tags||[]).slice(0,4),(e,a)=>{var l;return c(),u(s,{key:"tg-"+a+"-"+e,class:"act-tag-chip",style:x(j(C)(a,null==(l=L.value)?void 0:l.venue_type))},{default:n(()=>[v(w(e),1)]),_:2},1032,["style"])}),128))]),_:1})):h("",!0),K.value?(c(),u(t,{key:1,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(D),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-label"},{default:n(()=>[v("活动日期:")]),_:1}),o(s,{class:"info-value"},{default:n(()=>{var e,a;return[v(w(j(z)(null==(e=K.value)?void 0:e.start_at,null==(a=K.value)?void 0:a.end_at)),1)]}),_:1})]),_:1})]),_:1})):h("",!0),Q.value?(c(),u(t,{key:2,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(G),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-value info-value--inline"},{default:n(()=>[v(w(Q.value),1)]),_:1})]),_:1})]),_:1})):h("",!0),R.value?(c(),u(t,{key:3,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(I),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-value info-value--inline"},{default:n(()=>[v(w(R.value),1)]),_:1})]),_:1})]),_:1})):h("",!0),W.value?(c(),u(t,{key:4,class:"info-row"},{default:n(()=>[o(S,{class:"info-ico",src:j(H),mode:"aspectFit"},null,8,["src"]),o(t,{class:"info-text-col"},{default:n(()=>[o(s,{class:"info-value info-value--inline"},{default:n(()=>[v(w(W.value),1)]),_:1})]),_:1})]),_:1})):h("",!0),E.value?(c(),u(t,{key:5,class:"notice-block"},{default:n(()=>[o(t,{class:"sec-title-row notice-head-row"},{default:n(()=>[o(s,{class:"notice-label"},{default:n(()=>[v("预约须知")]),_:1})]),_:1}),o(t,{class:"notice-block-body"},{default:n(()=>[o(T,{class:"notice-inline-rich",nodes:E.value},null,8,["nodes"])]),_:1})]),_:1})):h("",!0)]}),_:1}),(null==(e=K.value)?void 0:e.summary)?(c(),u(t,{key:0,class:"summary-card"},{default:n(()=>[o(t,{class:"sec-title-row"},{default:n(()=>[o(s,{class:"sec-title"},{default:n(()=>[v("简介")]),_:1})]),_:1}),o(s,{class:"summary-text"},{default:n(()=>[v(w(K.value.summary),1)]),_:1})]),_:1})):h("",!0),O.value.length?(c(),u(t,{key:1,class:"venue-block-wrap"},{default:n(()=>[o(t,{class:"sec-title-row venue-sec-title"},{default:n(()=>[o(s,{class:"sec-title"},{default:n(()=>[v("参与场馆")]),_:1})]),_:1}),(c(!0),m(y,null,g(O.value,(e,a)=>(c(),u(t,{key:"vb-"+e.id+"-"+a,class:"venue-row",onClick:a=>function(e,a){const l=Number(null==e?void 0:e.id);if(!l)return void F({title:"场馆信息异常",icon:"none"});N({url:`/pages/venue/detail?id=${l}&ticket_grab_event_id=${a}`})}(e,K.value.id)},{default:n(()=>[o(t,{class:"venue-cover-wrap"},{default:n(()=>[o(S,{class:"venue-cover",src:e.cover_image||j(J),mode:"aspectFill"},null,8,["src"]),o(t,{class:"venue-grab-badge"},{default:n(()=>[v("立即抢票")]),_:1})]),_:2},1024),o(t,{class:"venue-body"},{default:n(()=>[o(s,{class:"venue-name"},{default:n(()=>[v(w(e.name||"场馆"),1)]),_:2},1024),e.district?(c(),u(s,{key:0,class:"venue-meta"},{default:n(()=>[v(w(e.district),1)]),_:2},1024)):h("",!0),o(s,{class:"venue-meta addr"},{default:n(()=>[v("今日余票:"+w(X(e)),1)]),_:2},1024)]),_:2},1024),o(s,{class:"chev"},{default:n(()=>[v("›")]),_:1})]),_:2},1032,["onClick"]))),128)),o(t,{class:"venue-hint"},{default:n(()=>[v("请进入场馆后按系统提示完成抢票预约")]),_:1})]),_:1})):h("",!0),M.value?(c(),u(t,{key:2,class:"intro-card"},{default:n(()=>[o(t,{class:"sec-title-row"},{default:n(()=>[o(s,{class:"sec-title"},{default:n(()=>[v("活动详情")]),_:1})]),_:1}),o(t,{class:"intro-rich-wrap"},{default:n(()=>[o(T,{class:"intro-rich",nodes:M.value},null,8,["nodes"])]),_:1})]),_:1})):h("",!0),o(t,{class:"safe-bottom"})]}),_:1})):(c(),u(t,{key:2,class:"err-wrap"},{default:n(()=>[o(s,{class:"err-text"},{default:n(()=>[v("加载失败或活动已下架")]),_:1})]),_:1}))]),_:1})}}}),[["__scopeId","data-v-d52db4c4"]]);export{K as default}; diff --git a/public/h5/assets/pages-ticket-grab-reserve.Dny_tk4R.js b/public/h5/assets/pages-ticket-grab-reserve.Caff2A-_.js similarity index 98% rename from public/h5/assets/pages-ticket-grab-reserve.Dny_tk4R.js rename to public/h5/assets/pages-ticket-grab-reserve.Caff2A-_.js index 5910d4a..34fa765 100644 --- a/public/h5/assets/pages-ticket-grab-reserve.Dny_tk4R.js +++ b/public/h5/assets/pages-ticket-grab-reserve.Caff2A-_.js @@ -1 +1 @@ -import{d as e,e as l,f as a,w as t,Y as n,s as u,k as o,l as i,n as r,g as s,S as v,U as d,p as c,q as _,t as m,y as f,D as p,K as y,x as g,v as k,I as h,E as b,C as w,a1 as S,V as C,a7 as V,T as x,_ as U}from"./index-BgY1dkGI.js";import{k as $,l as j,m as N}from"./content.CIu3j-dc.js";import{g as T,l as B}from"./localProfile.5oNLnbIP.js";import{b as P}from"./richText.Cl1iMeI3.js";function I(e,l,a){const t=function(e){const l=String(e||"").trim().toUpperCase();return/^\d{17}[\dX]$/.test(l)?l.slice(6,14):null}(e);return t?l||a?function(e,l,a){if(!e||8!==e.length)return!1;if(!l&&!a)return!0;if(l&&ea.replace(/-/g,""))return!1;return!0}(t,l,a)?{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:t,reason:"该证件的出生日期不在本次活动允许范围内"}:{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:null,reason:"请填写正确的 18 位身份证号"}}const O=U(e({__name:"reserve",setup(e){const U=l(0),O=l(0),X=l(!0),q=l(!1),z=l(null),D=l(""),E=l({visitor_name:"",visitor_phone:"",id_card:"",entry_date:"",ticket_mode:"single"}),K=a(()=>/^1\d{10}$/.test(String(E.value.visitor_phone||"").trim())),M=a(()=>{var e;return(null==(e=z.value)?void 0:e.entry_dates)||[]}),Y=a(()=>{var e,l;return"school_age"===String((null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.booking_audience)||"")}),A=a(()=>{var e,l;return P(null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.reservation_notice)}),F=a(()=>{var e,l;return Number((null==(l=null==(e=z.value)?void 0:e.today_release)?void 0:l.remaining)??0)}),G=a(()=>{var e,l;return(null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.age_limit_start)||null}),H=a(()=>{var e,l;return(null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.age_limit_end)||null}),J=a(()=>/^\d{17}[\dXx]$/.test(String(E.value.id_card||"").trim())),L=a(()=>J.value?I(String(E.value.id_card).trim().toUpperCase(),G.value,H.value):null),Q=a(()=>{var e,l;return!!(null==(e=E.value.visitor_name)?void 0:e.trim())&&(!!K.value&&(!!J.value&&!0===(null==(l=L.value)?void 0:l.ok)))}),R=a(()=>{const e=z.value;return e?e.in_booking_window?e.in_daily_release_time?e.today_release?F.value<=0?"今日余票已发完。":e.can_book_now?"":"当前暂无法预约。":"今日无放票计划。":"当前不在今日放票时段内,请稍后再试。":"当前不在该活动的预约开放日期内,无法提交。":""}),W=a(()=>Y.value&&Q.value&&F.value>=2),Z=a(()=>{const e=M.value;return e.length?["请选择入馆日期",...e]:[]}),ee=a(()=>{const e=M.value;if(!E.value.entry_date)return 0;const l=e.indexOf(E.value.entry_date);return l>=0?l+1:0}),le=a(()=>{var e,l,a;return!!(null==(e=z.value)?void 0:e.can_book_now)&&(!R.value&&(!!(null==(l=E.value.visitor_name)?void 0:l.trim())&&(!!K.value&&(!!J.value&&(!!(null==(a=L.value)?void 0:a.ok)&&(!!Q.value&&(!!E.value.entry_date&&!(Y.value&&"pair"===E.value.ticket_mode&&F.value<2))))))))});function ae(){var e;Q.value||((null==(e=E.value.visitor_name)?void 0:e.trim())?K.value?J.value?L.value&&!L.value.ok&&u({title:L.value.reason||"该证件出生日期不在允许范围",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请先填写姓名",icon:"none"}))}function te(){Q.value||ae()}function ne(e){var l;if(!Q.value)return void ae();const a=Number((null==(l=null==e?void 0:e.detail)?void 0:l.value)??0),t=M.value;if(!t.length)return;if(0===a)return void(E.value.entry_date="");const n=a-1;E.value.entry_date=t[n]??""}function ue(){Y.value&&(Q.value?E.value.ticket_mode="single":ae())}function oe(){Y.value&&(Q.value?W.value?E.value.ticket_mode="pair":u({title:"一大一小需至少 2 张余票",icon:"none"}):ae())}async function ie(){if(U.value&&O.value){X.value=!0;try{const[e,l]=await Promise.all([$(U.value,O.value),j(O.value).catch(()=>null)]);z.value=e,D.value=(null==l?void 0:l.name)||"场馆",E.value.entry_date="",await async function(){if(s(v.accessToken))try{const e=await T();return(null==e?void 0:e.real_name)&&(E.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(E.value.visitor_phone=String(e.phone).trim()))}catch{}const e=B();(null==e?void 0:e.real_name)&&(E.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(E.value.visitor_phone=String(e.phone).trim())}()}catch(e){const l=(null==e?void 0:e.message)||(null==e?void 0:e.errMsg)||"加载失败";u({title:String(l),icon:"none"})}finally{X.value=!1}}else X.value=!1}async function re(){var e,l;if(le.value){q.value=!0;try{const e={venue_id:O.value,visitor_name:E.value.visitor_name.trim(),visitor_phone:String(E.value.visitor_phone).trim(),id_card:String(E.value.id_card).trim().toUpperCase(),entry_date:E.value.entry_date};Y.value&&(e.ticket_mode=E.value.ticket_mode);const a=await N(U.value,e);u({title:"抢票成功",icon:"success"});const t=null==(l=null==a?void 0:a.reservation)?void 0:l.id;setTimeout(()=>{t?V({url:`/pages/mine/reservation-detail?id=${t}`}):x()},400)}catch(a){const e="string"==typeof(null==a?void 0:a.message)&&a.message||Object.values((null==a?void 0:a.errors)||{}).flat().find(Boolean)||"预约失败";u({title:String(e),icon:"none"})}finally{q.value=!1}}else(null==(e=E.value.visitor_name)?void 0:e.trim())?K.value?J.value?L.value&&!L.value.ok?u({title:L.value.reason||"该证件年龄不符合",icon:"none"}):E.value.entry_date?u({title:R.value||"请完善信息",icon:"none"}):u({title:"请选择入馆日期",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请填写姓名",icon:"none"})}return t(Q,e=>{e||(E.value.entry_date="")},{flush:"post"}),t([()=>Y.value,Q,F],()=>{Y.value&&Q.value&&F.value<=1&&(E.value.ticket_mode="single")},{flush:"post"}),t([M,Q],()=>{if(!Q.value)return;const e=M.value;E.value.entry_date&&!e.includes(E.value.entry_date)&&(E.value.entry_date="")},{flush:"post"}),n(e=>{if(U.value=Number((null==e?void 0:e.event_id)||0),O.value=Number((null==e?void 0:e.venue_id)||0),!U.value||!O.value)return u({title:"参数无效",icon:"none"}),void(X.value=!1);ie()}),(e,l)=>{const a=d("SubPageBackBtn"),t=r,n=k,u=h,s=w,v=S,V=m,x=C;return c(),o(t,{class:"page-wrap"},{default:i(()=>[_(a),_(V,{"scroll-y":"",class:"page"},{default:i(()=>[X.value?(c(),o(t,{key:0,class:"loading-tip"},{default:i(()=>[f("加载中…")]),_:1})):(c(),o(t,{key:1,class:"content"},{default:i(()=>[_(t,{class:"card"},{default:i(()=>[_(t,{class:"act-title"},{default:i(()=>{var e,l;return[f(p((null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.title)||"抢票预约"),1)]}),_:1}),_(t,{class:"sub-line"},{default:i(()=>[f("预约场馆:"+p(D.value),1)]),_:1}),R.value?(c(),o(t,{key:0,class:"warn-line"},{default:i(()=>[f(p(R.value),1)]),_:1})):y("",!0)]),_:1}),_(t,{class:g(["card",{"field-locked":!Q.value}]),onClick:te},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约信息")]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("姓名")]),_:1}),_(u,{modelValue:E.value.visitor_name,"onUpdate:modelValue":l[0]||(l[0]=e=>E.value.visitor_name=e),class:"form-input",placeholder:"必填,与身份证一致","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("联系方式")]),_:1}),_(u,{modelValue:E.value.visitor_phone,"onUpdate:modelValue":l[1]||(l[1]=e=>E.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"必填,11 位手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("身份证号")]),_:1}),_(u,{modelValue:E.value.id_card,"onUpdate:modelValue":l[2]||(l[2]=e=>E.value.id_card=e),class:"form-input",placeholder:"必填,18 位","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),J.value&&L.value&&!L.value.ok?(c(),o(t,{key:0,class:"id-warn"},{default:i(()=>[f(p(L.value.reason),1)]),_:1})):y("",!0),M.value.length?(c(),o(t,{key:1,class:"form-row form-row--picker",onClick:l[3]||(l[3]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("入馆日期")]),_:1}),_(s,{mode:"selector",range:Z.value,value:ee.value,disabled:!Q.value,onChange:ne},{default:i(()=>[_(t,{class:g(["picker-val",{muted:!E.value.entry_date||!Q.value}])},{default:i(()=>[f(p(Q.value?E.value.entry_date||"请选择":"请先完成上方信息"),1)]),_:1},8,["class"])]),_:1},8,["range","value","disabled"])]),_:1})):(c(),o(t,{key:2,class:"form-row"},{default:i(()=>[_(n,{class:"form-muted"},{default:i(()=>[f("暂无可选入馆日期,请稍后再来")]),_:1})]),_:1})),Y.value?(c(),o(t,{key:3,class:"mode-wrap",onClick:l[4]||(l[4]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("名额类型")]),_:1}),_(t,{class:"mode-btns"},{default:i(()=>[_(t,{class:g(["mode-pill",{on:"single"===E.value.ticket_mode,disabled:!Q.value}]),onClick:ue},{default:i(()=>[f("单张")]),_:1},8,["class"]),_(t,{class:g(["mode-pill",{on:"pair"===E.value.ticket_mode,disabled:!Q.value||!W.value}]),onClick:oe},{default:i(()=>[f("一大一小(2 张)")]),_:1},8,["class"])]),_:1}),Y.value&&Q.value&&F.value<=1?(c(),o(t,{key:0,class:"mode-tip"},{default:i(()=>[f(" 当前仅剩 1 张,仅可选单张 ")]),_:1})):y("",!0)]),_:1})):y("",!0)]),_:1},8,["class"]),A.value?(c(),o(t,{key:0,class:"card notice-card"},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约须知")]),_:1}),_(t,{class:"promo-notice"},{default:i(()=>[_(v,{class:"promo-notice-rich",nodes:A.value},null,8,["nodes"])]),_:1})]),_:1})):y("",!0)]),_:1})),_(t,{class:"safe-bottom"})]),_:1}),_(t,{class:"action-bar"},{default:i(()=>[_(x,{class:"btn primary",disabled:!le.value||q.value||X.value,onClick:re},{default:i(()=>[f(p(q.value?"提交中…":"确认抢票"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-286e8350"]]);export{O as default}; +import{d as e,e as l,f as a,w as t,Y as n,s as u,k as o,l as i,n as r,g as s,S as v,U as d,p as c,q as _,t as m,y as f,D as p,K as y,x as g,v as k,I as h,E as b,C as w,a1 as S,V as C,a7 as V,T as x,_ as U}from"./index-B62HYGKy.js";import{k as $,l as j,m as N}from"./content.DxtMXvVw.js";import{g as T,l as B}from"./localProfile.BNBxvTJ-.js";import{b as P}from"./richText.Cl1iMeI3.js";function I(e,l,a){const t=function(e){const l=String(e||"").trim().toUpperCase();return/^\d{17}[\dX]$/.test(l)?l.slice(6,14):null}(e);return t?l||a?function(e,l,a){if(!e||8!==e.length)return!1;if(!l&&!a)return!0;if(l&&ea.replace(/-/g,""))return!1;return!0}(t,l,a)?{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:t,reason:"该证件的出生日期不在本次活动允许范围内"}:{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:null,reason:"请填写正确的 18 位身份证号"}}const O=U(e({__name:"reserve",setup(e){const U=l(0),O=l(0),X=l(!0),q=l(!1),z=l(null),D=l(""),E=l({visitor_name:"",visitor_phone:"",id_card:"",entry_date:"",ticket_mode:"single"}),K=a(()=>/^1\d{10}$/.test(String(E.value.visitor_phone||"").trim())),M=a(()=>{var e;return(null==(e=z.value)?void 0:e.entry_dates)||[]}),Y=a(()=>{var e,l;return"school_age"===String((null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.booking_audience)||"")}),A=a(()=>{var e,l;return P(null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.reservation_notice)}),F=a(()=>{var e,l;return Number((null==(l=null==(e=z.value)?void 0:e.today_release)?void 0:l.remaining)??0)}),G=a(()=>{var e,l;return(null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.age_limit_start)||null}),H=a(()=>{var e,l;return(null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.age_limit_end)||null}),J=a(()=>/^\d{17}[\dXx]$/.test(String(E.value.id_card||"").trim())),L=a(()=>J.value?I(String(E.value.id_card).trim().toUpperCase(),G.value,H.value):null),Q=a(()=>{var e,l;return!!(null==(e=E.value.visitor_name)?void 0:e.trim())&&(!!K.value&&(!!J.value&&!0===(null==(l=L.value)?void 0:l.ok)))}),R=a(()=>{const e=z.value;return e?e.in_booking_window?e.in_daily_release_time?e.today_release?F.value<=0?"今日余票已发完。":e.can_book_now?"":"当前暂无法预约。":"今日无放票计划。":"当前不在今日放票时段内,请稍后再试。":"当前不在该活动的预约开放日期内,无法提交。":""}),W=a(()=>Y.value&&Q.value&&F.value>=2),Z=a(()=>{const e=M.value;return e.length?["请选择入馆日期",...e]:[]}),ee=a(()=>{const e=M.value;if(!E.value.entry_date)return 0;const l=e.indexOf(E.value.entry_date);return l>=0?l+1:0}),le=a(()=>{var e,l,a;return!!(null==(e=z.value)?void 0:e.can_book_now)&&(!R.value&&(!!(null==(l=E.value.visitor_name)?void 0:l.trim())&&(!!K.value&&(!!J.value&&(!!(null==(a=L.value)?void 0:a.ok)&&(!!Q.value&&(!!E.value.entry_date&&!(Y.value&&"pair"===E.value.ticket_mode&&F.value<2))))))))});function ae(){var e;Q.value||((null==(e=E.value.visitor_name)?void 0:e.trim())?K.value?J.value?L.value&&!L.value.ok&&u({title:L.value.reason||"该证件出生日期不在允许范围",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请先填写姓名",icon:"none"}))}function te(){Q.value||ae()}function ne(e){var l;if(!Q.value)return void ae();const a=Number((null==(l=null==e?void 0:e.detail)?void 0:l.value)??0),t=M.value;if(!t.length)return;if(0===a)return void(E.value.entry_date="");const n=a-1;E.value.entry_date=t[n]??""}function ue(){Y.value&&(Q.value?E.value.ticket_mode="single":ae())}function oe(){Y.value&&(Q.value?W.value?E.value.ticket_mode="pair":u({title:"一大一小需至少 2 张余票",icon:"none"}):ae())}async function ie(){if(U.value&&O.value){X.value=!0;try{const[e,l]=await Promise.all([$(U.value,O.value),j(O.value).catch(()=>null)]);z.value=e,D.value=(null==l?void 0:l.name)||"场馆",E.value.entry_date="",await async function(){if(s(v.accessToken))try{const e=await T();return(null==e?void 0:e.real_name)&&(E.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(E.value.visitor_phone=String(e.phone).trim()))}catch{}const e=B();(null==e?void 0:e.real_name)&&(E.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(E.value.visitor_phone=String(e.phone).trim())}()}catch(e){const l=(null==e?void 0:e.message)||(null==e?void 0:e.errMsg)||"加载失败";u({title:String(l),icon:"none"})}finally{X.value=!1}}else X.value=!1}async function re(){var e,l;if(le.value){q.value=!0;try{const e={venue_id:O.value,visitor_name:E.value.visitor_name.trim(),visitor_phone:String(E.value.visitor_phone).trim(),id_card:String(E.value.id_card).trim().toUpperCase(),entry_date:E.value.entry_date};Y.value&&(e.ticket_mode=E.value.ticket_mode);const a=await N(U.value,e);u({title:"抢票成功",icon:"success"});const t=null==(l=null==a?void 0:a.reservation)?void 0:l.id;setTimeout(()=>{t?V({url:`/pages/mine/reservation-detail?id=${t}`}):x()},400)}catch(a){const e="string"==typeof(null==a?void 0:a.message)&&a.message||Object.values((null==a?void 0:a.errors)||{}).flat().find(Boolean)||"预约失败";u({title:String(e),icon:"none"})}finally{q.value=!1}}else(null==(e=E.value.visitor_name)?void 0:e.trim())?K.value?J.value?L.value&&!L.value.ok?u({title:L.value.reason||"该证件年龄不符合",icon:"none"}):E.value.entry_date?u({title:R.value||"请完善信息",icon:"none"}):u({title:"请选择入馆日期",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请填写姓名",icon:"none"})}return t(Q,e=>{e||(E.value.entry_date="")},{flush:"post"}),t([()=>Y.value,Q,F],()=>{Y.value&&Q.value&&F.value<=1&&(E.value.ticket_mode="single")},{flush:"post"}),t([M,Q],()=>{if(!Q.value)return;const e=M.value;E.value.entry_date&&!e.includes(E.value.entry_date)&&(E.value.entry_date="")},{flush:"post"}),n(e=>{if(U.value=Number((null==e?void 0:e.event_id)||0),O.value=Number((null==e?void 0:e.venue_id)||0),!U.value||!O.value)return u({title:"参数无效",icon:"none"}),void(X.value=!1);ie()}),(e,l)=>{const a=d("SubPageBackBtn"),t=r,n=k,u=h,s=w,v=S,V=m,x=C;return c(),o(t,{class:"page-wrap"},{default:i(()=>[_(a),_(V,{"scroll-y":"",class:"page"},{default:i(()=>[X.value?(c(),o(t,{key:0,class:"loading-tip"},{default:i(()=>[f("加载中…")]),_:1})):(c(),o(t,{key:1,class:"content"},{default:i(()=>[_(t,{class:"card"},{default:i(()=>[_(t,{class:"act-title"},{default:i(()=>{var e,l;return[f(p((null==(l=null==(e=z.value)?void 0:e.event)?void 0:l.title)||"抢票预约"),1)]}),_:1}),_(t,{class:"sub-line"},{default:i(()=>[f("预约场馆:"+p(D.value),1)]),_:1}),R.value?(c(),o(t,{key:0,class:"warn-line"},{default:i(()=>[f(p(R.value),1)]),_:1})):y("",!0)]),_:1}),_(t,{class:g(["card",{"field-locked":!Q.value}]),onClick:te},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约信息")]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("姓名")]),_:1}),_(u,{modelValue:E.value.visitor_name,"onUpdate:modelValue":l[0]||(l[0]=e=>E.value.visitor_name=e),class:"form-input",placeholder:"必填,与身份证一致","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("联系方式")]),_:1}),_(u,{modelValue:E.value.visitor_phone,"onUpdate:modelValue":l[1]||(l[1]=e=>E.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"必填,11 位手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("身份证号")]),_:1}),_(u,{modelValue:E.value.id_card,"onUpdate:modelValue":l[2]||(l[2]=e=>E.value.id_card=e),class:"form-input",placeholder:"必填,18 位","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),J.value&&L.value&&!L.value.ok?(c(),o(t,{key:0,class:"id-warn"},{default:i(()=>[f(p(L.value.reason),1)]),_:1})):y("",!0),M.value.length?(c(),o(t,{key:1,class:"form-row form-row--picker",onClick:l[3]||(l[3]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("入馆日期")]),_:1}),_(s,{mode:"selector",range:Z.value,value:ee.value,disabled:!Q.value,onChange:ne},{default:i(()=>[_(t,{class:g(["picker-val",{muted:!E.value.entry_date||!Q.value}])},{default:i(()=>[f(p(Q.value?E.value.entry_date||"请选择":"请先完成上方信息"),1)]),_:1},8,["class"])]),_:1},8,["range","value","disabled"])]),_:1})):(c(),o(t,{key:2,class:"form-row"},{default:i(()=>[_(n,{class:"form-muted"},{default:i(()=>[f("暂无可选入馆日期,请稍后再来")]),_:1})]),_:1})),Y.value?(c(),o(t,{key:3,class:"mode-wrap",onClick:l[4]||(l[4]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("名额类型")]),_:1}),_(t,{class:"mode-btns"},{default:i(()=>[_(t,{class:g(["mode-pill",{on:"single"===E.value.ticket_mode,disabled:!Q.value}]),onClick:ue},{default:i(()=>[f("单张")]),_:1},8,["class"]),_(t,{class:g(["mode-pill",{on:"pair"===E.value.ticket_mode,disabled:!Q.value||!W.value}]),onClick:oe},{default:i(()=>[f("一大一小(2 张)")]),_:1},8,["class"])]),_:1}),Y.value&&Q.value&&F.value<=1?(c(),o(t,{key:0,class:"mode-tip"},{default:i(()=>[f(" 当前仅剩 1 张,仅可选单张 ")]),_:1})):y("",!0)]),_:1})):y("",!0)]),_:1},8,["class"]),A.value?(c(),o(t,{key:0,class:"card notice-card"},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约须知")]),_:1}),_(t,{class:"promo-notice"},{default:i(()=>[_(v,{class:"promo-notice-rich",nodes:A.value},null,8,["nodes"])]),_:1})]),_:1})):y("",!0)]),_:1})),_(t,{class:"safe-bottom"})]),_:1}),_(t,{class:"action-bar"},{default:i(()=>[_(x,{class:"btn primary",disabled:!le.value||q.value||X.value,onClick:re},{default:i(()=>[f(p(q.value?"提交中…":"确认抢票"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-286e8350"]]);export{O as default}; diff --git a/public/h5/assets/pages-traffic-index.CpwH2SIG.js b/public/h5/assets/pages-traffic-index.C5NRI40V.js similarity index 98% rename from public/h5/assets/pages-traffic-index.CpwH2SIG.js rename to public/h5/assets/pages-traffic-index.C5NRI40V.js index 4703686..14bcb04 100644 --- a/public/h5/assets/pages-traffic-index.CpwH2SIG.js +++ b/public/h5/assets/pages-traffic-index.C5NRI40V.js @@ -1 +1 @@ -import{d as a,e,f as l,j as t,a3 as s,w as u,k as d,l as c,ac as v,n,U as i,p as r,q as o,v as f,y as h,x as y,D as x,ad as _,J as g,F as m,G as p,H as k,_ as S}from"./index-BgY1dkGI.js";const w="trafficLineChart",b=S(a({__name:"index",setup(a){const S=e("week"),b={week:[{date:"04-03",value:12358},{date:"04-04",value:15540},{date:"04-05",value:14200},{date:"04-06",value:18680},{date:"04-07",value:14820},{date:"04-08",value:20550},{date:"04-09",value:32100}],month:[{date:"04-01",value:12800},{date:"04-05",value:18800},{date:"04-10",value:17600},{date:"04-15",value:22900},{date:"04-20",value:19600},{date:"04-25",value:26400},{date:"04-30",value:30100}],year:[{date:"01月",value:268e3},{date:"03月",value:292e3},{date:"05月",value:318e3},{date:"07月",value:346e3},{date:"09月",value:332e3},{date:"11月",value:368e3},{date:"12月",value:392e3}]},T=l(()=>b[S.value]),C=l(()=>{var a,e;return`${(null==(a=T.value[0])?void 0:a.date)||"-"} 至 ${(null==(e=T.value[T.value.length-1])?void 0:e.date)||"-"}`}),F=l(()=>T.value.reduce((a,e)=>e.value>a.value?e:a,T.value[0]));function P(){const a=T.value;if(!a.length)return;const e=v(w),l=24,t=18,s=24,u=18,d=260,c=Math.min(...a.map(a=>a.value)),n=Math.max(...a.map(a=>a.value)),i=Math.max(1,n-c),r=680-u-t,o=d-l-s;e.clearRect(0,0,680,d);const f=e.createLinearGradient(0,l,0,d);f.addColorStop(0,"rgba(5,201,172,0.35)"),f.addColorStop(1,"rgba(5,201,172,0.02)");const h=a.map((e,t)=>({x:u+r*t/Math.max(1,a.length-1),y:l+(n-e.value)/i*o,value:e.value,date:e.date}));e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.lineTo(h[h.length-1].x,252),e.lineTo(h[0].x,252),e.closePath(),e.setFillStyle(f),e.fill(),e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.setStrokeStyle("#05c9ac"),e.setLineWidth(5),e.stroke(),e.setFillStyle("#ff7d00"),h.forEach(a=>{e.beginPath(),e.arc(a.x,a.y,6,0,2*Math.PI),e.fill(),e.setFillStyle("#4e5969"),e.setFontSize(20),e.fillText(a.value.toLocaleString(),a.x-34,a.y-12),e.setFillStyle("#ff7d00")}),e.draw()}return t(async()=>{await s(),P()}),u(S,async()=>{await s(),P()}),(a,e)=>{const l=i("SubPageBackBtn"),t=n,s=f,u=_;return r(),d(t,{class:"page"},{default:c(()=>[o(l),o(t,{class:"section-title"},{default:c(()=>[o(t,{class:"bar"}),o(s,{class:"title"},{default:c(()=>[h("全市参观人数")]),_:1}),o(t,{class:"period"},{default:c(()=>[o(s,{class:y({active:"week"===S.value}),onClick:e[0]||(e[0]=a=>S.value="week")},{default:c(()=>[h("周")]),_:1},8,["class"]),o(s,{class:y({active:"month"===S.value}),onClick:e[1]||(e[1]=a=>S.value="month")},{default:c(()=>[h("月")]),_:1},8,["class"]),o(s,{class:y({active:"year"===S.value}),onClick:e[2]||(e[2]=a=>S.value="year")},{default:c(()=>[h("年")]),_:1},8,["class"])]),_:1})]),_:1}),o(t,{class:"date-range"},{default:c(()=>[h(x(C.value),1)]),_:1}),o(t,{class:"chart-card"},{default:c(()=>[o(u,{"canvas-id":w,id:w,class:"chart-canvas",style:g("width:680rpx;height:260rpx;")},null,8,["style"]),o(t,{class:"x-axis"},{default:c(()=>[(r(!0),m(p,null,k(T.value,a=>(r(),d(s,{key:a.date},{default:c(()=>[h(x(a.date),1)]),_:2},1024))),128))]),_:1})]),_:1}),o(t,{class:"list-card"},{default:c(()=>[o(t,{class:"list-title"},{default:c(()=>[h("参观人数列表")]),_:1}),(r(!0),m(p,null,k(T.value,a=>(r(),d(t,{key:a.date,class:"row"},{default:c(()=>{var e;return[o(s,{class:"d"},{default:c(()=>[h(x(a.date),1)]),_:2},1024),o(s,{class:y(["c",{hot:a.date===(null==(e=F.value)?void 0:e.date)}])},{default:c(()=>{return[h(x((e=a.value,`${e.toLocaleString()}人`)),1)];var e}),_:2},1032,["class"])]}),_:2},1024))),128))]),_:1})]),_:1})}}}),[["__scopeId","data-v-90b339fd"]]);export{b as default}; +import{d as a,e,f as l,j as t,a3 as s,w as u,k as d,l as c,ac as v,n,U as i,p as r,q as o,v as f,y as h,x as y,D as x,ad as _,J as g,F as m,G as p,H as k,_ as S}from"./index-B62HYGKy.js";const w="trafficLineChart",b=S(a({__name:"index",setup(a){const S=e("week"),b={week:[{date:"04-03",value:12358},{date:"04-04",value:15540},{date:"04-05",value:14200},{date:"04-06",value:18680},{date:"04-07",value:14820},{date:"04-08",value:20550},{date:"04-09",value:32100}],month:[{date:"04-01",value:12800},{date:"04-05",value:18800},{date:"04-10",value:17600},{date:"04-15",value:22900},{date:"04-20",value:19600},{date:"04-25",value:26400},{date:"04-30",value:30100}],year:[{date:"01月",value:268e3},{date:"03月",value:292e3},{date:"05月",value:318e3},{date:"07月",value:346e3},{date:"09月",value:332e3},{date:"11月",value:368e3},{date:"12月",value:392e3}]},T=l(()=>b[S.value]),C=l(()=>{var a,e;return`${(null==(a=T.value[0])?void 0:a.date)||"-"} 至 ${(null==(e=T.value[T.value.length-1])?void 0:e.date)||"-"}`}),F=l(()=>T.value.reduce((a,e)=>e.value>a.value?e:a,T.value[0]));function P(){const a=T.value;if(!a.length)return;const e=v(w),l=24,t=18,s=24,u=18,d=260,c=Math.min(...a.map(a=>a.value)),n=Math.max(...a.map(a=>a.value)),i=Math.max(1,n-c),r=680-u-t,o=d-l-s;e.clearRect(0,0,680,d);const f=e.createLinearGradient(0,l,0,d);f.addColorStop(0,"rgba(5,201,172,0.35)"),f.addColorStop(1,"rgba(5,201,172,0.02)");const h=a.map((e,t)=>({x:u+r*t/Math.max(1,a.length-1),y:l+(n-e.value)/i*o,value:e.value,date:e.date}));e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.lineTo(h[h.length-1].x,252),e.lineTo(h[0].x,252),e.closePath(),e.setFillStyle(f),e.fill(),e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.setStrokeStyle("#05c9ac"),e.setLineWidth(5),e.stroke(),e.setFillStyle("#ff7d00"),h.forEach(a=>{e.beginPath(),e.arc(a.x,a.y,6,0,2*Math.PI),e.fill(),e.setFillStyle("#4e5969"),e.setFontSize(20),e.fillText(a.value.toLocaleString(),a.x-34,a.y-12),e.setFillStyle("#ff7d00")}),e.draw()}return t(async()=>{await s(),P()}),u(S,async()=>{await s(),P()}),(a,e)=>{const l=i("SubPageBackBtn"),t=n,s=f,u=_;return r(),d(t,{class:"page"},{default:c(()=>[o(l),o(t,{class:"section-title"},{default:c(()=>[o(t,{class:"bar"}),o(s,{class:"title"},{default:c(()=>[h("全市参观人数")]),_:1}),o(t,{class:"period"},{default:c(()=>[o(s,{class:y({active:"week"===S.value}),onClick:e[0]||(e[0]=a=>S.value="week")},{default:c(()=>[h("周")]),_:1},8,["class"]),o(s,{class:y({active:"month"===S.value}),onClick:e[1]||(e[1]=a=>S.value="month")},{default:c(()=>[h("月")]),_:1},8,["class"]),o(s,{class:y({active:"year"===S.value}),onClick:e[2]||(e[2]=a=>S.value="year")},{default:c(()=>[h("年")]),_:1},8,["class"])]),_:1})]),_:1}),o(t,{class:"date-range"},{default:c(()=>[h(x(C.value),1)]),_:1}),o(t,{class:"chart-card"},{default:c(()=>[o(u,{"canvas-id":w,id:w,class:"chart-canvas",style:g("width:680rpx;height:260rpx;")},null,8,["style"]),o(t,{class:"x-axis"},{default:c(()=>[(r(!0),m(p,null,k(T.value,a=>(r(),d(s,{key:a.date},{default:c(()=>[h(x(a.date),1)]),_:2},1024))),128))]),_:1})]),_:1}),o(t,{class:"list-card"},{default:c(()=>[o(t,{class:"list-title"},{default:c(()=>[h("参观人数列表")]),_:1}),(r(!0),m(p,null,k(T.value,a=>(r(),d(t,{key:a.date,class:"row"},{default:c(()=>{var e;return[o(s,{class:"d"},{default:c(()=>[h(x(a.date),1)]),_:2},1024),o(s,{class:y(["c",{hot:a.date===(null==(e=F.value)?void 0:e.date)}])},{default:c(()=>{return[h(x((e=a.value,`${e.toLocaleString()}人`)),1)];var e}),_:2},1032,["class"])]}),_:2},1024))),128))]),_:1})]),_:1})}}}),[["__scopeId","data-v-90b339fd"]]);export{b as default}; diff --git a/public/h5/assets/pages-venue-detail.BDi74c8r.js b/public/h5/assets/pages-venue-detail.DuLv3xxo.js similarity index 99% rename from public/h5/assets/pages-venue-detail.BDi74c8r.js rename to public/h5/assets/pages-venue-detail.DuLv3xxo.js index 1981136..4d96cc1 100644 --- a/public/h5/assets/pages-venue-detail.BDi74c8r.js +++ b/public/h5/assets/pages-venue-detail.DuLv3xxo.js @@ -1 +1 @@ -import{d as e,e as l,f as a,w as t,Y as s,o as n,k as i,l as o,n as u,U as c,p as r,q as v,t as d,Z as f,F as _,G as p,H as m,$ as k,z as g,a0 as h,K as y,v as b,y as A,D as w,J as x,B as F,x as C,E as G,a1 as B,V as j,L as S,a2 as D,s as N,a3 as Q,a4 as E,a5 as U,u as q,_ as I}from"./index-BgY1dkGI.js";import{l as R,g as V,k as K}from"./content.CIu3j-dc.js";import{f as O,a as L,c as z}from"./activity.DEGdoGAe.js";import{v as J}from"./venueTypes.DuAf5T5V.js";import{v as P,c as T,o as W}from"./venueThemeColors.DRxjaxXI.js";import{s as H,i as X,a as Y,d as Z,b as $}from"./phone.D0RMb4AO.js";import{b as M,a as ee,i as le}from"./icon4.CHREtDdF.js";import{i as ae}from"./icon8.CJEwVaG3.js";import{i as te,a as se}from"./icon_up.DJ5zmdk8.js";import{P as ne}from"./poster.C6TYC1FC.js";import{h as ie,s as oe}from"./text.BxMbQPAt.js";const ue={theme_nature_ecology:"自然生态",theme_tech_industry:"科技产业",theme_su_craft:"苏工苏艺",theme_life_health:"生命健康",theme_scientist_spirit:"弘扬科学家精神",theme_spark:"企业星火科技馆"},ce=I(e({__name:"detail",setup(e){const I={free:"免费",paid:"收费"};function ce(e){var l,a;if(!e)return"";const t=null==(a=null==(l=me.value)?void 0:l.venue_type)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)?t.label:ue[e]||e}function re(e){const l=null==e?void 0:e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:z(null==e?void 0:e.start_at,null==e?void 0:e.end_at)}function ve(e){return L(re(e))}function de(e){return`st-${re(e)}`}function fe(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const s=String(a).trim();if(/style\s*=/i.test(s))return/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`);return`"===t?" />":">"}`})}function _e(e){if(!e||!String(e).trim())return!1;const l=String(e);if(/]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const pe=l(null),me=l(null),ke=l(0),ge=a(()=>ke.value>0),he=l(null),ye=l(!1),be=a(()=>{var e,l;if(!ge.value)return"";const a=Number(null==(l=null==(e=he.value)?void 0:e.today_release)?void 0:l.remaining);return Number.isNaN(a)?"—":String(a)});function Ae(e){if(null==e||""===e)return null;const l=String(e).trim().slice(0,10);return/^\d{4}-\d{2}-\d{2}$/.test(l)?l:null}const we=a(()=>{var e;if(!ge.value||!ye.value)return!1;const l=null==(e=he.value)?void 0:e.event;if(!l)return!1;const a=Ae(l.booking_start_at),t=Ae(l.booking_end_at);if(!a||!t)return!1;const s=function(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}();return s>=a&&s<=t}),xe=a(()=>{var e;return Boolean(null==(e=he.value)?void 0:e.has_existing_reservation)}),Fe=l(!0),Ce=l(!1),Ge=l(!1),Be=l(!1),je=l(!0),Se=l(!1),De=a(()=>{const e=pe.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.cover_image?[{type:"image",url:e.cover_image}]:[{type:"image",url:ne}]:[{type:"image",url:ne}]}),Ne=a(()=>{var e;return H(null==(e=pe.value)?void 0:e.contact_phone)}),Qe=a(()=>{var e;const l=null==(e=pe.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let t="";if(/<[a-z][\s\S]*>/i.test(a)){t=`
${fe(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return _e(t)?t:""}),Ee=a(()=>{var e;const l=null==(e=pe.value)?void 0:e.detail_html;if(!l)return"";const a=fe(String(l));return _e(a)?`
${a}
`:""}),Ue=a(()=>{var e;return ie(null==(e=pe.value)?void 0:e.booking_method)}),qe=a(()=>Ue.value.length>0),Ie=a(()=>{var e;const l=null==(e=pe.value)?void 0:e.booking_qr_media;if(!Array.isArray(l))return[];const a=[];for(const t of l)if(t&&"object"==typeof t&&"image"===t.type){const e=String(t.url||"").trim();e&&a.push(e)}return a}),Re=a(()=>!!pe.value&&(qe.value||Ie.value.length>0)),Ve=a(()=>J(pe.value));function Ke(e){var l,a;if(!e)return"";const t=null==(a=null==(l=me.value)?void 0:l.venue_open_mode)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)||e}function Oe(e){return null==e?"":String(e).trim()}function Le(e){return Oe(e).length>0}function ze(e){return oe(e)}function Je(e){return ze(e).length>0}function Pe(){var e,l,a,t;const s=Number((null==(e=pe.value)?void 0:e.lat)||0),n=Number((null==(l=pe.value)?void 0:l.lng)||0);D({lat:s,lng:n,name:(null==(a=pe.value)?void 0:a.name)||"场馆",address:(null==(t=pe.value)?void 0:t.address)||""})}async function Te(){var e,l;const a=Number((null==(e=pe.value)?void 0:e.id)||0),t=ke.value;a&&t?(null==(l=he.value)?void 0:l.has_existing_reservation)||S({url:`/pages/ticket-grab/reserve?event_id=${t}&venue_id=${a}`}):N({title:"参数无效",icon:"none"})}return t([Ee,Qe],()=>{Fe.value=!0,Ce.value=!0,Q(()=>{setTimeout(()=>{var e;const l=null==(e=E())?void 0:e.proxy,a=U();l&&a.in(l);const t=q(187);a.select(".judge-intro").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];Ge.value=!!(l&&l.height&&l.height>t+1),Be.value=!!(a&&a.height&&a.height>t+1),Be.value?Ce.value=!1:Ce.value=!0})},120)})}),t(()=>{var e;return Oe(null==(e=pe.value)?void 0:e.ticket_content)},()=>{je.value=!0,Q(()=>{setTimeout(()=>{var e;const l=null==(e=E())?void 0:e.proxy,a=U();l&&a.in(l);const t=q(156);a.select(".judge-ticket-measure").boundingClientRect(),a.exec(e=>{const[l]=e||[],a=!!(l&&l.height&&l.height>t+1);Se.value=a,je.value=!a})},120)})},{flush:"post"}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const a=Number((null==e?void 0:e.ticket_grab_event_id)||0);ke.value=Number.isFinite(a)&&a>0?a:0;const[t,s]=await Promise.all([R(l,ke.value>0?{ticket_grab_event_id:ke.value}:{}),V()]);if(pe.value=t,me.value=s,ke.value>0){try{he.value=await K(ke.value,l)}catch{he.value=null}ye.value=!0}else he.value=null,ye.value=!1}),n(()=>{var e;ke.value>0&&(null==(e=pe.value)?void 0:e.id)&&async function(){var e;if(ke.value&&(null==(e=pe.value)?void 0:e.id))try{he.value=await K(ke.value,pe.value.id)}catch{}}()}),(e,l)=>{const a=c("SubPageBackBtn"),t=g,s=h,n=k,D=f,N=u,Q=b,E=B,U=d,q=j;return r(),i(N,{class:"page"},{default:o(()=>[v(a),v(U,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e,a;return[v(N,{class:"hero"},{default:o(()=>[De.value.length?(r(),i(D,{key:0,class:"hero-swiper",circular:"","indicator-dots":De.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:o(()=>[(r(!0),_(p,null,m(De.value,(e,l)=>(r(),i(n,{key:"s-"+l,class:"swiper-item"},{default:o(()=>["video"!==e.type?(r(),i(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(r(),i(s,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["indicator-dots"])):y("",!0)]),_:1}),v(N,{class:"main-card"},{default:o(()=>{var e,a;return[!ge.value&&pe.value&&Le(pe.value.ticket_content)?(r(),i(N,{key:0,class:"ticket-measure-host","aria-hidden":"true"},{default:o(()=>[v(N,{class:"info-row ticket-measure-row info-row--ticket-one"},{default:o(()=>[v(N,{class:"ticket-measure-ico","aria-hidden":"true"}),v(N,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("门票说明:")]),_:1}),v(Q,{class:"judge-ticket-measure ticket-plain"},{default:o(()=>[A(w(Oe(pe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})]),_:1})):y("",!0),v(Q,{class:"venue-name"},{default:o(()=>{var e;return[A(w((null==(e=pe.value)?void 0:e.name)||"-"),1)]}),_:1}),!ge.value&&(Ve.value.length||(null==(e=pe.value)?void 0:e.ticket_type)||(null==(a=pe.value)?void 0:a.open_mode))?(r(),i(N,{key:1,class:"chip-row"},{default:o(()=>{var e,l,a;return[(r(!0),_(p,null,m(Ve.value,(e,l)=>{var a;return r(),i(Q,{key:"vt-"+l,class:"chip",style:x(F(P)(F(T)(e,null==(a=me.value)?void 0:a.venue_type)))},{default:o(()=>[A(w(ce(e)),1)]),_:2},1032,["style"])}),128)),(null==(e=pe.value)?void 0:e.ticket_type)?(r(),i(Q,{key:0,class:C(["chip","paid"===pe.value.ticket_type?"chip-paid":"chip-free"])},{default:o(()=>{return[A(w((e=pe.value.ticket_type,e?I[e]||e:"")),1)];var e}),_:1},8,["class"])):y("",!0),(null==(l=pe.value)?void 0:l.open_mode)?(r(),i(Q,{key:1,class:"chip open-mode-tag",style:x(F(W)(pe.value.open_mode,null==(a=me.value)?void 0:a.venue_open_mode))},{default:o(()=>[A(w(Ke(pe.value.open_mode)),1)]),_:1},8,["style"])):y("",!0)]}),_:1})):y("",!0),ge.value?(r(),_(p,{key:2},[pe.value&&Je(pe.value.unit_name)?(r(),i(N,{key:0,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(X),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("所属单位:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.open_time)?(r(),i(N,{key:1,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(M),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("开放时间:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.open_time)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.contact_name)?(r(),i(N,{key:2,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAACgUlEQVRIibWWW4hOURTHf/t8h2FcZ0hyl+KBEkUeRIwnkyceRjy5vEjKC/KAeCGF8uaSJil5mHJ7Iy9ujVJErqGQ3D8zGsLM0TbrTPts57L3+fjXqrPXOWv/91p7r/8+auCNVnIwG1gFzAImAj+BZ8A14BTwIi84D1nEg4D9wHogzIivAruBg2WIQ1C2rxFoAxYWxA4HDgAzZIE9XsRRkrgCnHQgNbEGeAns8iEOrHELsNRnAsE2ydyDWCkMW22NXa3ON9bc43HA/BLZxphH72SRy8fmHo8FBtdAPF0O3Gcn4oznMqgD+htx9XJQR1lV0Jl+MUvdKR/81V+OeA90WASLgIaU8F9hpPp4tAq9AsaXJL4NfDPGkbRZWn9XzYz1as8DG0oSX7bGehGLU1r2z6JsATkigjDAk/SRaHdicuBjVkDQm3Gf3QG1xfIVWReodaA6feLStPow8BU4BAwtyPQpsBa4avgqGeVNwDxcJk4AN4EdQDMwxHr/BjgD7Ekp53bZrjxU0zKO8QBYKcIyBRgBdAPvgIdyLaZBK+CkAuKe0KEqr42DolvjbQ6pxn3geoF0dqhK+9msl01Ssrny99FP/Hr/nwNXgOPA3aKVp0FV2s/ZPq25+2Rvi/ADOAbsBD54EQe3EsTN0o/DPBN4DCwH7rkGmIdrGXBaxN0XU4GLwBLgiRU7Ghhp+bpj4slAa0nSGBOkWguA74Z/E7DV+vZToCUzQu2NUA3yXIvNiVAbrfj6CBVY1qgzngmsqCFTG5uBo/rOFf8l6f+4vXSJu0KUanGROA+MkVZsk5ALYgkE0qf/Gk1F8+lr8X8QTyskBqXVR59mp79DB+g91DqfDeA3q/KYf9QO7bUAAAAASUVORK5CYII="),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("联系人:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Ne.value.length?(r(),i(N,{key:3,class:"info-row info-row--phones"},{default:o(()=>[v(t,{class:"info-ico",src:F(Y),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("联系方式:")]),_:1}),v(N,{class:"phone-list"},{default:o(()=>[(r(!0),_(p,null,m(Ne.value,(e,l)=>(r(),i(Q,{key:"tg-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:G(l=>F(Z)(e),["stop"])},{default:o(()=>[A(w(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.address)?(r(),i(N,{key:4,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F($),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("场馆地址:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.address)),1)]),_:1})]),_:1})]),_:1})):y("",!0),ye.value?(r(),i(N,{key:5,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(ae),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("今日余票:")]),_:1}),v(Q,{class:"info-value info-value--em"},{default:o(()=>[A(w(be.value),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.qr_verify_method)?(r(),i(N,{key:6,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(ee),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line info-text-col--verify-one"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("核销方式说明:")]),_:1}),v(Q,{class:"info-value info-value--single-line"},{default:o(()=>[A(w(String(pe.value.qr_verify_method).trim()),1)]),_:1})]),_:1})]),_:1})):y("",!0)],64)):(r(),_(p,{key:3},[pe.value&&Je(pe.value.unit_name)?(r(),i(N,{key:0,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(X),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("所属单位:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.open_time)?(r(),i(N,{key:1,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(M),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("开放时间:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.open_time)),1)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Re.value?(r(),i(N,{key:2,class:"info-row info-row--booking"},{default:o(()=>[v(t,{class:"info-ico",src:F(ee),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line info-text-col--booking-row"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("预约方式:")]),_:1}),v(N,{class:"bm-value-col"},{default:o(()=>[qe.value?(r(),i(Q,{key:0,class:"info-value"},{default:o(()=>[A(w(Ue.value),1)]),_:1})):y("",!0),Ie.value.length?(r(),i(N,{key:1,class:"bm-qr-row"},{default:o(()=>[(r(!0),_(p,null,m(Ie.value,(e,l)=>(r(),i(t,{key:"bqr-"+l+"-"+e,class:"bm-qr",src:e,mode:"widthFix","show-menu-by-longpress":""},null,8,["src"]))),128))]),_:1})):y("",!0)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Je(pe.value.visit_form)?(r(),i(N,{key:3,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(le),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("参观形式:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.visit_form)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.consultation_hours)?(r(),i(N,{key:4,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAACOklEQVRIib2WO2hUQRSGv392QWOIWEQSGxVFMUkvwcZAwAdYCYJGC0GxUQLJVkErsbAxIikEMYgiaKGFjyJa+AIJGCvxQQLGKkUKjUiMIsKRCbN4ucy6c9eQAz+zO+c/9zD/zJkzahq/Th1bAewCdgBdQAfQBswB74EPwCvgUZiraeU6iU4Dp4D2iK8FWA/sCf+/AaPAGWAh9jEHIoLdoCnQOVB7DU4eq0EDoI+gwzGOM0QO/YbGDG2J+FLQbuimoQt5bnkx6V/zkl2qt4mJNhiWNBiTsRs0kiCXgZ6A5hK4A1lJszI+SJTpsqFeQycT+TcMNfvf1ZUNgVoTD8J0GGcS+T7HFUKyEuhsYqBHS25MQR+orWxob0K9LYXtLyP1LEMib71lUNcyJev0MnY0GKwETtZa/crWFgz6FcaVBeNWOZO+mkQDeGrSSIG4nw7c5OJFko4T4LrBfQbXD24nuOcJ8V/8DfK24EW7wdC4oauG1hh6YajH0CFDM/+Im/RF/bJAcWZxLLSho2HuNqgT9LsG/5lKE/ebgfmCm50336kPAk3AG6AU4WzyMn43dLHB3lXFdkPTht4ZKkX8jw19kpt4SFjnQgPHOdX8s2K2euv7HnWkwb2rhwpoNt/P7hoa/k8587iV/abLyVABhpdIujtAX3bCIZFDBek40nzElwJDGkI6kOfGXlceo4Y2G7pmyArIds/QVkPnY37xeqyeHBuBfeFFvA1YB/ja/OFPGDAV6swfa/9CjhvwBwLNF6GrRpkqAAAAAElFTkSuQmCC"),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("咨询时间:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.consultation_hours)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Ne.value.length?(r(),i(N,{key:5,class:"info-row info-row--phones"},{default:o(()=>[v(t,{class:"info-ico",src:F(Y),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("咨询电话:")]),_:1}),v(N,{class:"phone-list"},{default:o(()=>[(r(!0),_(p,null,m(Ne.value,(e,l)=>(r(),i(Q,{key:"ph-"+l+"-"+e,class:"phone-link phone-line",onClick:G(l=>F(Z)(e),["stop"])},{default:o(()=>[A(w(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.address)?(r(),i(N,{key:6,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F($),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("场馆地址:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.address)),1)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Le(pe.value.ticket_content)&&!Se.value?(r(),i(N,{key:7,class:"info-row info-row--ticket-one"},{default:o(()=>[v(t,{class:"info-ico",src:F(ae),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("门票说明:")]),_:1}),v(Q,{class:"info-value ticket-plain"},{default:o(()=>[A(w(Oe(pe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Le(pe.value.ticket_content)&&Se.value?(r(),i(N,{key:8,class:"ticket-block"},{default:o(()=>[v(N,{class:"info-row ticket-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(ae),mode:"aspectFit"},null,8,["src"]),v(N,{class:"ticket-col"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("门票说明:")]),_:1}),v(N,{class:"ticket-value-wrap"},{default:o(()=>[v(N,{class:C(["ticket-text-block",{"is-collapsed":!je.value}])},{default:o(()=>[v(Q,{class:"ticket-plain"},{default:o(()=>[A(w(Oe(pe.value.ticket_content)),1)]),_:1})]),_:1},8,["class"]),v(N,{class:"ticket-arrow-tap",onClick:l[0]||(l[0]=G(e=>je.value=!je.value,["stop"]))},{default:o(()=>[v(t,{class:"expand-arrow-img",src:je.value?F(te):F(se),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&Qe.value?(r(),i(N,{key:9,class:"notice-block"},{default:o(()=>[v(N,{class:"sec-title-row notice-head-row"},{default:o(()=>[v(Q,{class:"notice-label"},{default:o(()=>[A("预约须知")]),_:1}),Be.value?(r(),i(N,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>Ce.value=!Ce.value)},{default:o(()=>[v(t,{class:"expand-arrow-img",src:Ce.value?F(te):F(se),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),v(N,{class:C(["notice-block-body judge-notice",{"is-collapsed":Be.value&&!Ce.value}])},{default:o(()=>[v(E,{class:"notice-inline-rich",nodes:Qe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0)],64))]}),_:1}),Ee.value?(r(),i(N,{key:0,class:"intro-card"},{default:o(()=>[v(N,{class:"sec-title-row"},{default:o(()=>[v(Q,{class:"sec-title"},{default:o(()=>[A(w(ge.value?"详情":"场馆介绍"),1)]),_:1}),Ge.value?(r(),i(N,{key:0,class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>Fe.value=!Fe.value)},{default:o(()=>[v(t,{class:"expand-arrow-img",src:Fe.value?F(te):F(se),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),v(N,{class:C(["intro-rich-wrap judge-intro",{"is-collapsed":Ge.value&&!Fe.value}])},{default:o(()=>[v(E,{class:"intro-rich",nodes:Ee.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),!ge.value&&(null==(a=null==(e=pe.value)?void 0:e.activities)?void 0:a.length)?(r(),i(N,{key:1,class:"activities-card"},{default:o(()=>[v(N,{class:"sec-title-row"},{default:o(()=>[v(Q,{class:"sec-title"},{default:o(()=>[A("场馆活动")]),_:1})]),_:1}),(r(!0),_(p,null,m(pe.value.activities,e=>(r(),i(N,{key:e.id,class:"venue-act-row",onClick:l=>{var a;(a=e.id)&&S({url:`/pages/activity/detail?id=${a}`})}},{default:o(()=>[v(N,{class:"venue-act-cover-wrap"},{default:o(()=>[v(t,{class:"venue-act-cover",src:e.cover_image||F(ne),mode:"aspectFill"},null,8,["src"]),v(N,{class:C(["venue-act-status",de(e)])},{default:o(()=>[A(w(ve(e)),1)]),_:2},1032,["class"])]),_:2},1024),v(N,{class:"venue-act-body"},{default:o(()=>[v(Q,{class:"venue-act-title"},{default:o(()=>[A(w(e.title),1)]),_:2},1024),e.summary?(r(),i(Q,{key:0,class:"venue-act-sum"},{default:o(()=>[A(w(e.summary),1)]),_:2},1024)):y("",!0),v(N,{class:"venue-act-meta-row"},{default:o(()=>[v(Q,{class:"venue-act-meta"},{default:o(()=>[A(w(F(O)(e.start_at,e.end_at)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):y("",!0),v(N,{class:"safe-bottom"})]}),_:1}),v(N,{class:C(["action-bar",{"action-bar--row":we.value}])},{default:o(()=>[v(q,{class:C(["btn flex",ge.value?"btn-ghost":"btn-primary"]),onClick:Pe},{default:o(()=>[A("一键导航")]),_:1},8,["class"]),we.value?(r(),i(q,{key:0,class:C(["btn flex btn-primary",{"btn-grab-locked":xe.value}]),disabled:xe.value,onClick:Te},{default:o(()=>[A(" 立即抢票 ")]),_:1},8,["class","disabled"])):y("",!0)]),_:1},8,["class"])]),_:1})}}}),[["__scopeId","data-v-322d2400"]]);export{ce as default}; +import{d as e,e as l,f as a,w as t,Y as s,o as n,k as i,l as o,n as u,U as c,p as r,q as v,t as d,Z as f,F as _,G as p,H as m,$ as k,z as g,a0 as h,K as y,v as b,y as A,D as w,J as x,B as F,x as C,E as G,a1 as B,V as j,L as S,a2 as D,s as N,a3 as Q,a4 as E,a5 as U,u as q,_ as I}from"./index-B62HYGKy.js";import{l as R,g as V,k as K}from"./content.DxtMXvVw.js";import{f as O,a as L,c as z}from"./activity.DEGdoGAe.js";import{v as J}from"./venueTypes.DuAf5T5V.js";import{v as P,c as T,o as W}from"./venueThemeColors.DRxjaxXI.js";import{s as H,i as X,a as Y,d as Z,b as $}from"./phone.Dfri_fbO.js";import{b as M,a as ee,i as le}from"./icon4.CHREtDdF.js";import{i as ae}from"./icon8.CJEwVaG3.js";import{i as te,a as se}from"./icon_up.DJ5zmdk8.js";import{P as ne}from"./poster.C6TYC1FC.js";import{h as ie,s as oe}from"./text.BxMbQPAt.js";const ue={theme_nature_ecology:"自然生态",theme_tech_industry:"科技产业",theme_su_craft:"苏工苏艺",theme_life_health:"生命健康",theme_scientist_spirit:"弘扬科学家精神",theme_spark:"企业星火科技馆"},ce=I(e({__name:"detail",setup(e){const I={free:"免费",paid:"收费"};function ce(e){var l,a;if(!e)return"";const t=null==(a=null==(l=me.value)?void 0:l.venue_type)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)?t.label:ue[e]||e}function re(e){const l=null==e?void 0:e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:z(null==e?void 0:e.start_at,null==e?void 0:e.end_at)}function ve(e){return L(re(e))}function de(e){return`st-${re(e)}`}function fe(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const s=String(a).trim();if(/style\s*=/i.test(s))return/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`);return`"===t?" />":">"}`})}function _e(e){if(!e||!String(e).trim())return!1;const l=String(e);if(/]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const pe=l(null),me=l(null),ke=l(0),ge=a(()=>ke.value>0),he=l(null),ye=l(!1),be=a(()=>{var e,l;if(!ge.value)return"";const a=Number(null==(l=null==(e=he.value)?void 0:e.today_release)?void 0:l.remaining);return Number.isNaN(a)?"—":String(a)});function Ae(e){if(null==e||""===e)return null;const l=String(e).trim().slice(0,10);return/^\d{4}-\d{2}-\d{2}$/.test(l)?l:null}const we=a(()=>{var e;if(!ge.value||!ye.value)return!1;const l=null==(e=he.value)?void 0:e.event;if(!l)return!1;const a=Ae(l.booking_start_at),t=Ae(l.booking_end_at);if(!a||!t)return!1;const s=function(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}();return s>=a&&s<=t}),xe=a(()=>{var e;return Boolean(null==(e=he.value)?void 0:e.has_existing_reservation)}),Fe=l(!0),Ce=l(!1),Ge=l(!1),Be=l(!1),je=l(!0),Se=l(!1),De=a(()=>{const e=pe.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.cover_image?[{type:"image",url:e.cover_image}]:[{type:"image",url:ne}]:[{type:"image",url:ne}]}),Ne=a(()=>{var e;return H(null==(e=pe.value)?void 0:e.contact_phone)}),Qe=a(()=>{var e;const l=null==(e=pe.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let t="";if(/<[a-z][\s\S]*>/i.test(a)){t=`
${fe(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return _e(t)?t:""}),Ee=a(()=>{var e;const l=null==(e=pe.value)?void 0:e.detail_html;if(!l)return"";const a=fe(String(l));return _e(a)?`
${a}
`:""}),Ue=a(()=>{var e;return ie(null==(e=pe.value)?void 0:e.booking_method)}),qe=a(()=>Ue.value.length>0),Ie=a(()=>{var e;const l=null==(e=pe.value)?void 0:e.booking_qr_media;if(!Array.isArray(l))return[];const a=[];for(const t of l)if(t&&"object"==typeof t&&"image"===t.type){const e=String(t.url||"").trim();e&&a.push(e)}return a}),Re=a(()=>!!pe.value&&(qe.value||Ie.value.length>0)),Ve=a(()=>J(pe.value));function Ke(e){var l,a;if(!e)return"";const t=null==(a=null==(l=me.value)?void 0:l.venue_open_mode)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)||e}function Oe(e){return null==e?"":String(e).trim()}function Le(e){return Oe(e).length>0}function ze(e){return oe(e)}function Je(e){return ze(e).length>0}function Pe(){var e,l,a,t;const s=Number((null==(e=pe.value)?void 0:e.lat)||0),n=Number((null==(l=pe.value)?void 0:l.lng)||0);D({lat:s,lng:n,name:(null==(a=pe.value)?void 0:a.name)||"场馆",address:(null==(t=pe.value)?void 0:t.address)||""})}async function Te(){var e,l;const a=Number((null==(e=pe.value)?void 0:e.id)||0),t=ke.value;a&&t?(null==(l=he.value)?void 0:l.has_existing_reservation)||S({url:`/pages/ticket-grab/reserve?event_id=${t}&venue_id=${a}`}):N({title:"参数无效",icon:"none"})}return t([Ee,Qe],()=>{Fe.value=!0,Ce.value=!0,Q(()=>{setTimeout(()=>{var e;const l=null==(e=E())?void 0:e.proxy,a=U();l&&a.in(l);const t=q(187);a.select(".judge-intro").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];Ge.value=!!(l&&l.height&&l.height>t+1),Be.value=!!(a&&a.height&&a.height>t+1),Be.value?Ce.value=!1:Ce.value=!0})},120)})}),t(()=>{var e;return Oe(null==(e=pe.value)?void 0:e.ticket_content)},()=>{je.value=!0,Q(()=>{setTimeout(()=>{var e;const l=null==(e=E())?void 0:e.proxy,a=U();l&&a.in(l);const t=q(156);a.select(".judge-ticket-measure").boundingClientRect(),a.exec(e=>{const[l]=e||[],a=!!(l&&l.height&&l.height>t+1);Se.value=a,je.value=!a})},120)})},{flush:"post"}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const a=Number((null==e?void 0:e.ticket_grab_event_id)||0);ke.value=Number.isFinite(a)&&a>0?a:0;const[t,s]=await Promise.all([R(l,ke.value>0?{ticket_grab_event_id:ke.value}:{}),V()]);if(pe.value=t,me.value=s,ke.value>0){try{he.value=await K(ke.value,l)}catch{he.value=null}ye.value=!0}else he.value=null,ye.value=!1}),n(()=>{var e;ke.value>0&&(null==(e=pe.value)?void 0:e.id)&&async function(){var e;if(ke.value&&(null==(e=pe.value)?void 0:e.id))try{he.value=await K(ke.value,pe.value.id)}catch{}}()}),(e,l)=>{const a=c("SubPageBackBtn"),t=g,s=h,n=k,D=f,N=u,Q=b,E=B,U=d,q=j;return r(),i(N,{class:"page"},{default:o(()=>[v(a),v(U,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e,a;return[v(N,{class:"hero"},{default:o(()=>[De.value.length?(r(),i(D,{key:0,class:"hero-swiper",circular:"","indicator-dots":De.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:o(()=>[(r(!0),_(p,null,m(De.value,(e,l)=>(r(),i(n,{key:"s-"+l,class:"swiper-item"},{default:o(()=>["video"!==e.type?(r(),i(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(r(),i(s,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["indicator-dots"])):y("",!0)]),_:1}),v(N,{class:"main-card"},{default:o(()=>{var e,a;return[!ge.value&&pe.value&&Le(pe.value.ticket_content)?(r(),i(N,{key:0,class:"ticket-measure-host","aria-hidden":"true"},{default:o(()=>[v(N,{class:"info-row ticket-measure-row info-row--ticket-one"},{default:o(()=>[v(N,{class:"ticket-measure-ico","aria-hidden":"true"}),v(N,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("门票说明:")]),_:1}),v(Q,{class:"judge-ticket-measure ticket-plain"},{default:o(()=>[A(w(Oe(pe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})]),_:1})):y("",!0),v(Q,{class:"venue-name"},{default:o(()=>{var e;return[A(w((null==(e=pe.value)?void 0:e.name)||"-"),1)]}),_:1}),!ge.value&&(Ve.value.length||(null==(e=pe.value)?void 0:e.ticket_type)||(null==(a=pe.value)?void 0:a.open_mode))?(r(),i(N,{key:1,class:"chip-row"},{default:o(()=>{var e,l,a;return[(r(!0),_(p,null,m(Ve.value,(e,l)=>{var a;return r(),i(Q,{key:"vt-"+l,class:"chip",style:x(F(P)(F(T)(e,null==(a=me.value)?void 0:a.venue_type)))},{default:o(()=>[A(w(ce(e)),1)]),_:2},1032,["style"])}),128)),(null==(e=pe.value)?void 0:e.ticket_type)?(r(),i(Q,{key:0,class:C(["chip","paid"===pe.value.ticket_type?"chip-paid":"chip-free"])},{default:o(()=>{return[A(w((e=pe.value.ticket_type,e?I[e]||e:"")),1)];var e}),_:1},8,["class"])):y("",!0),(null==(l=pe.value)?void 0:l.open_mode)?(r(),i(Q,{key:1,class:"chip open-mode-tag",style:x(F(W)(pe.value.open_mode,null==(a=me.value)?void 0:a.venue_open_mode))},{default:o(()=>[A(w(Ke(pe.value.open_mode)),1)]),_:1},8,["style"])):y("",!0)]}),_:1})):y("",!0),ge.value?(r(),_(p,{key:2},[pe.value&&Je(pe.value.unit_name)?(r(),i(N,{key:0,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(X),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("所属单位:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.open_time)?(r(),i(N,{key:1,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(M),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("开放时间:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.open_time)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.contact_name)?(r(),i(N,{key:2,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAACgUlEQVRIibWWW4hOURTHf/t8h2FcZ0hyl+KBEkUeRIwnkyceRjy5vEjKC/KAeCGF8uaSJil5mHJ7Iy9ujVJErqGQ3D8zGsLM0TbrTPts57L3+fjXqrPXOWv/91p7r/8+auCNVnIwG1gFzAImAj+BZ8A14BTwIi84D1nEg4D9wHogzIivAruBg2WIQ1C2rxFoAxYWxA4HDgAzZIE9XsRRkrgCnHQgNbEGeAns8iEOrHELsNRnAsE2ydyDWCkMW22NXa3ON9bc43HA/BLZxphH72SRy8fmHo8FBtdAPF0O3Gcn4oznMqgD+htx9XJQR1lV0Jl+MUvdKR/81V+OeA90WASLgIaU8F9hpPp4tAq9AsaXJL4NfDPGkbRZWn9XzYz1as8DG0oSX7bGehGLU1r2z6JsATkigjDAk/SRaHdicuBjVkDQm3Gf3QG1xfIVWReodaA6feLStPow8BU4BAwtyPQpsBa4avgqGeVNwDxcJk4AN4EdQDMwxHr/BjgD7Ekp53bZrjxU0zKO8QBYKcIyBRgBdAPvgIdyLaZBK+CkAuKe0KEqr42DolvjbQ6pxn3geoF0dqhK+9msl01Ssrny99FP/Hr/nwNXgOPA3aKVp0FV2s/ZPq25+2Rvi/ADOAbsBD54EQe3EsTN0o/DPBN4DCwH7rkGmIdrGXBaxN0XU4GLwBLgiRU7Ghhp+bpj4slAa0nSGBOkWguA74Z/E7DV+vZToCUzQu2NUA3yXIvNiVAbrfj6CBVY1qgzngmsqCFTG5uBo/rOFf8l6f+4vXSJu0KUanGROA+MkVZsk5ALYgkE0qf/Gk1F8+lr8X8QTyskBqXVR59mp79DB+g91DqfDeA3q/KYf9QO7bUAAAAASUVORK5CYII="),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("联系人:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Ne.value.length?(r(),i(N,{key:3,class:"info-row info-row--phones"},{default:o(()=>[v(t,{class:"info-ico",src:F(Y),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("联系方式:")]),_:1}),v(N,{class:"phone-list"},{default:o(()=>[(r(!0),_(p,null,m(Ne.value,(e,l)=>(r(),i(Q,{key:"tg-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:G(l=>F(Z)(e),["stop"])},{default:o(()=>[A(w(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.address)?(r(),i(N,{key:4,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F($),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("场馆地址:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.address)),1)]),_:1})]),_:1})]),_:1})):y("",!0),ye.value?(r(),i(N,{key:5,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(ae),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("今日余票:")]),_:1}),v(Q,{class:"info-value info-value--em"},{default:o(()=>[A(w(be.value),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.qr_verify_method)?(r(),i(N,{key:6,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(ee),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line info-text-col--verify-one"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("核销方式说明:")]),_:1}),v(Q,{class:"info-value info-value--single-line"},{default:o(()=>[A(w(String(pe.value.qr_verify_method).trim()),1)]),_:1})]),_:1})]),_:1})):y("",!0)],64)):(r(),_(p,{key:3},[pe.value&&Je(pe.value.unit_name)?(r(),i(N,{key:0,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(X),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("所属单位:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.open_time)?(r(),i(N,{key:1,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(M),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("开放时间:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.open_time)),1)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Re.value?(r(),i(N,{key:2,class:"info-row info-row--booking"},{default:o(()=>[v(t,{class:"info-ico",src:F(ee),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line info-text-col--booking-row"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("预约方式:")]),_:1}),v(N,{class:"bm-value-col"},{default:o(()=>[qe.value?(r(),i(Q,{key:0,class:"info-value"},{default:o(()=>[A(w(Ue.value),1)]),_:1})):y("",!0),Ie.value.length?(r(),i(N,{key:1,class:"bm-qr-row"},{default:o(()=>[(r(!0),_(p,null,m(Ie.value,(e,l)=>(r(),i(t,{key:"bqr-"+l+"-"+e,class:"bm-qr",src:e,mode:"widthFix","show-menu-by-longpress":""},null,8,["src"]))),128))]),_:1})):y("",!0)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Je(pe.value.visit_form)?(r(),i(N,{key:3,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(le),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("参观形式:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.visit_form)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.consultation_hours)?(r(),i(N,{key:4,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAACOklEQVRIib2WO2hUQRSGv392QWOIWEQSGxVFMUkvwcZAwAdYCYJGC0GxUQLJVkErsbAxIikEMYgiaKGFjyJa+AIJGCvxQQLGKkUKjUiMIsKRCbN4ucy6c9eQAz+zO+c/9zD/zJkzahq/Th1bAewCdgBdQAfQBswB74EPwCvgUZiraeU6iU4Dp4D2iK8FWA/sCf+/AaPAGWAh9jEHIoLdoCnQOVB7DU4eq0EDoI+gwzGOM0QO/YbGDG2J+FLQbuimoQt5bnkx6V/zkl2qt4mJNhiWNBiTsRs0kiCXgZ6A5hK4A1lJszI+SJTpsqFeQycT+TcMNfvf1ZUNgVoTD8J0GGcS+T7HFUKyEuhsYqBHS25MQR+orWxob0K9LYXtLyP1LEMib71lUNcyJev0MnY0GKwETtZa/crWFgz6FcaVBeNWOZO+mkQDeGrSSIG4nw7c5OJFko4T4LrBfQbXD24nuOcJ8V/8DfK24EW7wdC4oauG1hh6YajH0CFDM/+Im/RF/bJAcWZxLLSho2HuNqgT9LsG/5lKE/ebgfmCm50336kPAk3AG6AU4WzyMn43dLHB3lXFdkPTht4ZKkX8jw19kpt4SFjnQgPHOdX8s2K2euv7HnWkwb2rhwpoNt/P7hoa/k8587iV/abLyVABhpdIujtAX3bCIZFDBek40nzElwJDGkI6kOfGXlceo4Y2G7pmyArIds/QVkPnY37xeqyeHBuBfeFFvA1YB/ja/OFPGDAV6swfa/9CjhvwBwLNF6GrRpkqAAAAAElFTkSuQmCC"),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("咨询时间:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.consultation_hours)),1)]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Ne.value.length?(r(),i(N,{key:5,class:"info-row info-row--phones"},{default:o(()=>[v(t,{class:"info-ico",src:F(Y),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("咨询电话:")]),_:1}),v(N,{class:"phone-list"},{default:o(()=>[(r(!0),_(p,null,m(Ne.value,(e,l)=>(r(),i(Q,{key:"ph-"+l+"-"+e,class:"phone-link phone-line",onClick:G(l=>F(Z)(e),["stop"])},{default:o(()=>[A(w(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):y("",!0),pe.value&&Je(pe.value.address)?(r(),i(N,{key:6,class:"info-row"},{default:o(()=>[v(t,{class:"info-ico",src:F($),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("场馆地址:")]),_:1}),v(Q,{class:"info-value"},{default:o(()=>[A(w(ze(pe.value.address)),1)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Le(pe.value.ticket_content)&&!Se.value?(r(),i(N,{key:7,class:"info-row info-row--ticket-one"},{default:o(()=>[v(t,{class:"info-ico",src:F(ae),mode:"aspectFit"},null,8,["src"]),v(N,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("门票说明:")]),_:1}),v(Q,{class:"info-value ticket-plain"},{default:o(()=>[A(w(Oe(pe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&pe.value&&Le(pe.value.ticket_content)&&Se.value?(r(),i(N,{key:8,class:"ticket-block"},{default:o(()=>[v(N,{class:"info-row ticket-row"},{default:o(()=>[v(t,{class:"info-ico",src:F(ae),mode:"aspectFit"},null,8,["src"]),v(N,{class:"ticket-col"},{default:o(()=>[v(Q,{class:"info-label"},{default:o(()=>[A("门票说明:")]),_:1}),v(N,{class:"ticket-value-wrap"},{default:o(()=>[v(N,{class:C(["ticket-text-block",{"is-collapsed":!je.value}])},{default:o(()=>[v(Q,{class:"ticket-plain"},{default:o(()=>[A(w(Oe(pe.value.ticket_content)),1)]),_:1})]),_:1},8,["class"]),v(N,{class:"ticket-arrow-tap",onClick:l[0]||(l[0]=G(e=>je.value=!je.value,["stop"]))},{default:o(()=>[v(t,{class:"expand-arrow-img",src:je.value?F(te):F(se),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):y("",!0),!ge.value&&Qe.value?(r(),i(N,{key:9,class:"notice-block"},{default:o(()=>[v(N,{class:"sec-title-row notice-head-row"},{default:o(()=>[v(Q,{class:"notice-label"},{default:o(()=>[A("预约须知")]),_:1}),Be.value?(r(),i(N,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>Ce.value=!Ce.value)},{default:o(()=>[v(t,{class:"expand-arrow-img",src:Ce.value?F(te):F(se),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),v(N,{class:C(["notice-block-body judge-notice",{"is-collapsed":Be.value&&!Ce.value}])},{default:o(()=>[v(E,{class:"notice-inline-rich",nodes:Qe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0)],64))]}),_:1}),Ee.value?(r(),i(N,{key:0,class:"intro-card"},{default:o(()=>[v(N,{class:"sec-title-row"},{default:o(()=>[v(Q,{class:"sec-title"},{default:o(()=>[A(w(ge.value?"详情":"场馆介绍"),1)]),_:1}),Ge.value?(r(),i(N,{key:0,class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>Fe.value=!Fe.value)},{default:o(()=>[v(t,{class:"expand-arrow-img",src:Fe.value?F(te):F(se),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),v(N,{class:C(["intro-rich-wrap judge-intro",{"is-collapsed":Ge.value&&!Fe.value}])},{default:o(()=>[v(E,{class:"intro-rich",nodes:Ee.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),!ge.value&&(null==(a=null==(e=pe.value)?void 0:e.activities)?void 0:a.length)?(r(),i(N,{key:1,class:"activities-card"},{default:o(()=>[v(N,{class:"sec-title-row"},{default:o(()=>[v(Q,{class:"sec-title"},{default:o(()=>[A("场馆活动")]),_:1})]),_:1}),(r(!0),_(p,null,m(pe.value.activities,e=>(r(),i(N,{key:e.id,class:"venue-act-row",onClick:l=>{var a;(a=e.id)&&S({url:`/pages/activity/detail?id=${a}`})}},{default:o(()=>[v(N,{class:"venue-act-cover-wrap"},{default:o(()=>[v(t,{class:"venue-act-cover",src:e.cover_image||F(ne),mode:"aspectFill"},null,8,["src"]),v(N,{class:C(["venue-act-status",de(e)])},{default:o(()=>[A(w(ve(e)),1)]),_:2},1032,["class"])]),_:2},1024),v(N,{class:"venue-act-body"},{default:o(()=>[v(Q,{class:"venue-act-title"},{default:o(()=>[A(w(e.title),1)]),_:2},1024),e.summary?(r(),i(Q,{key:0,class:"venue-act-sum"},{default:o(()=>[A(w(e.summary),1)]),_:2},1024)):y("",!0),v(N,{class:"venue-act-meta-row"},{default:o(()=>[v(Q,{class:"venue-act-meta"},{default:o(()=>[A(w(F(O)(e.start_at,e.end_at)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):y("",!0),v(N,{class:"safe-bottom"})]}),_:1}),v(N,{class:C(["action-bar",{"action-bar--row":we.value}])},{default:o(()=>[v(q,{class:C(["btn flex",ge.value?"btn-ghost":"btn-primary"]),onClick:Pe},{default:o(()=>[A("一键导航")]),_:1},8,["class"]),we.value?(r(),i(q,{key:0,class:C(["btn flex btn-primary",{"btn-grab-locked":xe.value}]),disabled:xe.value,onClick:Te},{default:o(()=>[A(" 立即抢票 ")]),_:1},8,["class","disabled"])):y("",!0)]),_:1},8,["class"])]),_:1})}}}),[["__scopeId","data-v-322d2400"]]);export{ce as default}; diff --git a/public/h5/assets/peopleCounting.DW67gGwD.js b/public/h5/assets/peopleCounting.DplW7Jyp.js similarity index 95% rename from public/h5/assets/peopleCounting.DW67gGwD.js rename to public/h5/assets/peopleCounting.DplW7Jyp.js index fb32998..7df5c35 100644 --- a/public/h5/assets/peopleCounting.DW67gGwD.js +++ b/public/h5/assets/peopleCounting.DplW7Jyp.js @@ -1 +1 @@ -import{ab as n,A as r}from"./index-BgY1dkGI.js";function e(){const e=r.peopleCountingUrl;return new Promise((r,t)=>{n({url:e,method:"GET",success:n=>{const e=n.statusCode||0;e>=200&&e<300?r(n.data):t(new Error(`客流接口 HTTP ${e}`))},fail:n=>t(n)})})}function t(n,r){return Math.max(0,Number(n??0)-Number(r??0))}function o(n){const r=Number(String(n).trim());return Number.isFinite(r)&&r>0?r:null}function u(n){const r=new Map;if(!Array.isArray(n))return r;for(const e of n){const n=String(e.groupId||"").trim().toUpperCase();if(!n)continue;const t=(e.groupName||"").trim();r.set(n,t||n)}return r}function s(n,r,e){const t=(e||"").trim();if(t)return t;for(const o of function(n){if(!n||"string"!=typeof n)return[];const r=[],e=/\[([A-Fa-f0-9]{32})\]/g;let t;for(;null!==(t=e.exec(n));)r.push(t[1].toUpperCase());return r}(n.includedGroups)){const n=r.get(o);if(n)return n}return(n.venueName||"").trim()||"—"}function i(n){const r=new Map;if(!n||200!==n.code||!Array.isArray(n.venues))return r;for(const e of n.venues){const n=o(e.venueId);null!=n&&r.set(n,t(e.enter,e.exit))}return r}function c(n){if(!n||200!==n.code||!Array.isArray(n.venues))return null;let r=0;for(const e of n.venues){const n=o(e.venueId);null==n||n<=0||(r+=t(e.enter,e.exit))}return r}export{s as a,u as b,e as g,i as l,t as n,c as t,o as v}; +import{ab as n,A as r}from"./index-B62HYGKy.js";function e(){const e=r.peopleCountingUrl;return new Promise((r,t)=>{n({url:e,method:"GET",success:n=>{const e=n.statusCode||0;e>=200&&e<300?r(n.data):t(new Error(`客流接口 HTTP ${e}`))},fail:n=>t(n)})})}function t(n,r){return Math.max(0,Number(n??0)-Number(r??0))}function o(n){const r=Number(String(n).trim());return Number.isFinite(r)&&r>0?r:null}function u(n){const r=new Map;if(!Array.isArray(n))return r;for(const e of n){const n=String(e.groupId||"").trim().toUpperCase();if(!n)continue;const t=(e.groupName||"").trim();r.set(n,t||n)}return r}function s(n,r,e){const t=(e||"").trim();if(t)return t;for(const o of function(n){if(!n||"string"!=typeof n)return[];const r=[],e=/\[([A-Fa-f0-9]{32})\]/g;let t;for(;null!==(t=e.exec(n));)r.push(t[1].toUpperCase());return r}(n.includedGroups)){const n=r.get(o);if(n)return n}return(n.venueName||"").trim()||"—"}function i(n){const r=new Map;if(!n||200!==n.code||!Array.isArray(n.venues))return r;for(const e of n.venues){const n=o(e.venueId);null!=n&&r.set(n,t(e.enter,e.exit))}return r}function c(n){if(!n||200!==n.code||!Array.isArray(n.venues))return null;let r=0;for(const e of n.venues){const n=o(e.venueId);null==n||n<=0||(r+=t(e.enter,e.exit))}return r}export{s as a,u as b,e as g,i as l,t as n,c as t,o as v}; diff --git a/public/h5/assets/phone.D0RMb4AO.js b/public/h5/assets/phone.Dfri_fbO.js similarity index 97% rename from public/h5/assets/phone.D0RMb4AO.js rename to public/h5/assets/phone.Dfri_fbO.js index 8994a19..64f4ca7 100644 --- a/public/h5/assets/phone.D0RMb4AO.js +++ b/public/h5/assets/phone.Dfri_fbO.js @@ -1 +1 @@ -import{s as A,a9 as i}from"./index-BgY1dkGI.js";import{s}from"./text.BxMbQPAt.js";const t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAbCAYAAABr/T8RAAABxklEQVRIicXXsY+MQRjH8c979rCiQERCriDR0CgkCoJCoTiEHBqV/0M09KIUiURDgoiImkIhl1CdXKIQCRWJyzUczloZeTbeW/u+9777ur1fMtl3952Z78xvnnlmNmu/uK2mJjCJc/iIy3hbt5NWxXpbcRzncRibc+924w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WdQV83bup060rdkmPscrONr3e32jX8YnMx3uWsP9crqIHUW8VMSRIo4XsaWI94s4OdP55l/HLtT5eDMnvNJUZ6VmMRj4Bz4oCls1OzRGAAAAAElFTkSuQmCC";function u(A){const i=s(A);return i?i.split(/[,,、;;/|]+/u).map(A=>A.trim()).filter(A=>""!==A):[]}function a(s){const t=function(A){return A.trim().replace(/\s+/g,"")}(s);t?i({phoneNumber:t}):A({title:"号码无效",icon:"none"})}export{e as a,r as b,a as d,t as i,u as s}; +import{s as A,a9 as i}from"./index-B62HYGKy.js";import{s}from"./text.BxMbQPAt.js";const t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAbCAYAAABr/T8RAAABxklEQVRIicXXsY+MQRjH8c979rCiQERCriDR0CgkCoJCoTiEHBqV/0M09KIUiURDgoiImkIhl1CdXKIQCRWJyzUczloZeTbeW/u+9777ur1fMtl3952Z78xvnnlmNmu/uK2mJjCJc/iIy3hbt5NWxXpbcRzncRibc+924wi+1wRnRe824hhOB3R7Qb192IYPtcDdf8FHMYUT2FWhj59KRl8IjiY7A3YGh+p2MoyS1WndbmDTKIA9JauvjxoqZtweNbQH7qwKeEBUjwYsWwJ+h+coc2E9TsY+bwD+O+NvOIXXFdpdxK2Cdxsiuy3gJb4OBOes/oX5igOeK4E+joyX9Ab3cRez+YrZ+PSDz9gS31/haYnVXbQjZ++I375gL97jAKYHtFuMfu/hURp4q7t0jfdHGVbrCtqNR75P5RIutBhrwBnoyHJK+f9K/3aaDUsWCxJ/N6L5bN/RWFcT+aheiKiucqg/w50G4E5+H2exFlW0tgH0j/JWp8TwMKz+UcHqZuC+/vdEWXGVXX1WVKt2SPzXTVxHKaqbwsdygVjVvjXJ6hTBTZRumSkHJPU+l9N8utBfjX8Dw878Jj7F8wye4GBJ/Q6u/Qah/1ByEhqpiwAAAABJRU5ErkJggg==",e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABuElEQVRIia2VP0sc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xrg1hyiJkr29DvYjL/69FNDNtJ3uWb2V2B1r4ilRSwqQkPOF/FjEfuKGG/RVxktYn8R51p0C4pY3BOxUMTwZK3/JRMiTog4JqK06KscF3FUxPkW3fzqu1JUp+7vFop6uAxXDmjLSsOStG2iNsN4peiXIk61pDhUxIoibimi10HR6iJuK2K4RTdWxK81g9EsWht6uZPGstjfZvGvw8M5UF0L83ccrAG+xje4v6NVb8YzuTUPZOrLM8CNA+g7iC+GSi0iu/FAtlzbsF2Npwc460fN8DD24LupdV2335rat7N0MgjV4bvYUYeyFrLaHk+ON+A+LPifzms37sVb+F7jwal1eCFbc32O+1xQskYvZhCTAWI6wFi+RhuyS5bMMcCZPF+Z+HM6QLmYQUnFttySsy3qFCrvr+VzOY1eyz4/SLxO7MrdP9Nrdo74kniV2NfUtwWospfYTPw0iwBH0nZPm75XkpuGjBd2F7YUDnXYVDlS2FrYVTjdZtOVQZXfiK3Ee5ML8T/6St/2pPNYl5/+LmrD4Szeylwll6TNWdQV83bup060rdkmPscrONr3e32jX8YnMx3uWsP9crqIHUW8VMSRIo4XsaWI94s4OdP55l/HLtT5eDMnvNJUZ6VmMRj4Bz4oCls1OzRGAAAAAElFTkSuQmCC";function u(A){const i=s(A);return i?i.split(/[,,、;;/|]+/u).map(A=>A.trim()).filter(A=>""!==A):[]}function a(s){const t=function(A){return A.trim().replace(/\s+/g,"")}(s);t?i({phoneNumber:t}):A({title:"号码无效",icon:"none"})}export{e as a,r as b,a as d,t as i,u as s}; diff --git a/public/h5/assets/szkjg-BA5yQZYG.jpg b/public/h5/assets/szkjg-BA5yQZYG.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a5a14ab23a7b70a37239aa5e6a19cf56f937b3e GIT binary patch literal 33259 zcmd42byQT*+dn!3L)XwKHGn7#4BefAAR#ey34=64Hw+~ypumtSsC12Vr-*`dcL_*? zNY}-0-S>Cb`}^H@-M{XvHEZ@c``Mo-_jC5%=b0F7O%)Qt`-A`hfaHm)k`4d>HqxvH!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6+Ubg~J1SgmiG zIUuyi1kDX@{3=4uOC#t=c5bz01Y=}aoSf#9HqEIs2E{Cevb-y`xqO01vh**>Xo(i& zHV$`~v@fFmh@kWU8t;_@<*XaYq@h-JUpCgD5GFaSB-tu$ z+{e^5+^nMMA&MUfVO%tC#>XYJ3G%FbS>}TMyQLZ!fUW@cz~av$z%~ ztSC-yW=49h=2tTFDyg@FDA+zXOsIo*E&r1MMlxd%qUWF2s!J`qnQ15DaHR;Wj^dpF zYfVR^mt^1g5*=sxBcM{M4aKHQ%hmC^*uFYN#v)_7v3%avjY6O+G3f=j4wesn#98QH-Ea^EN^cEG#Im zy31d6CZy8ul0Q76{v|*vDPcFRK-B0YY$a<7CcgTdg=QGDb{a&e7m~wp)1|+CfEXpU z?<52j|2mO-HHzF_SfEE~DGTqdCUbflqcXlrhvLsaqM5EVuBQiL>In|oSP(H)WQiPT z#|C8feNY=jj^cf2#XeU|4ohTcRnk~jd*V27x;i$U37KLFeTJ-6IxXC!V@?smZw856 z+SQ!7;K|gU5+it*Vn#+y36@8s!i)MZRuO!CyKxL5uJr8J;;c>?CGh*MhA($6-m2}K zRu6&}VQ6DbwkZv`Z>iuY\n\n\n\n`)}`;return t.set(r,i),i}const i=80;function a(t,n){return new Promise(e=>{const r=new Image;n&&(r.crossOrigin="anonymous"),r.onload=()=>e(r),r.onerror=()=>e(null),r.src=t})}async function o(t,n,r){const i=t.trim();if(!i||"undefined"==typeof document)return"";let o=await a(i,!0);if(o||(o=await a(i,!1)),!o)return"";const s=e(n||""),c=Math.max(24,Math.min(Math.round(r??40),512)),f=document.createElement("canvas");f.width=c,f.height=c;const u=f.getContext("2d");if(!u)return"";u.clearRect(0,0,c,c);const h=c/2,l=c/2,g=Math.max(2,Math.min(6,Math.round(.038*c))),m=c/2-g-.25,{naturalWidth:d,naturalHeight:$}=o,w=d||o.width||1,p=$||o.height||1,y=2*m,M=Math.max(y/w,y/p),x=w*M,v=p*M,C=h-x/2,k=l-v/2;return u.save(),u.beginPath(),u.arc(h,l,m,0,2*Math.PI),u.clip(),u.drawImage(o,C,k,x,v),u.restore(),u.beginPath(),u.arc(h,l,m+g/2,0,2*Math.PI),u.strokeStyle=s,u.lineWidth=g,u.lineCap="round",u.stroke(),f.toDataURL("image/png")}function s(t,n){const e=t.venue_type_color;return e&&"string"==typeof e&&function(t){if(!t||"string"!=typeof t)return null;let n=t.trim();n.startsWith("#")||(n=`#${n}`);const e=n.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(!e)return null;let r=e[1];return 3===r.length&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`),r.toLowerCase()}(e.trim())?e.trim():n()}export{i as S,o as c,r as g,s as t}; diff --git a/public/h5/assets/ticketMap.b6piD_5W.js b/public/h5/assets/ticketMap.b6piD_5W.js new file mode 100644 index 0000000..505bc50 --- /dev/null +++ b/public/h5/assets/ticketMap.b6piD_5W.js @@ -0,0 +1 @@ +const t=new Map,n="#05c9ac";function e(e){const r=function(t){if(!t||"string"!=typeof t)return n;let e=t.trim();if(e.startsWith("#")||(e=`#${e}`),/^#[0-9A-Fa-f]{6}$/.test(e))return e;if(/^#[0-9A-Fa-f]{3}$/.test(e)){const t=e[1],n=e[2],r=e[3];return`#${t}${t}${n}${n}${r}${r}`}return n}(e||"");if(t.has(r))return t.get(r);if("undefined"==typeof document)return t.set(r,""),"";const f=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(`\n\n\n\n`)}`;return t.set(r,f),f}const r=120;function f(t,n){const e=t.venue_type_color;return e&&"string"==typeof e&&function(t){if(!t||"string"!=typeof t)return null;let n=t.trim();n.startsWith("#")||(n=`#${n}`);const e=n.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(!e)return null;let r=e[1];return 3===r.length&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`),r.toLowerCase()}(e.trim())?e.trim():n()}export{r as S,e as g,f as t}; diff --git a/public/h5/index.html b/public/h5/index.html index 42dd0b3..5656000 100644 --- a/public/h5/index.html +++ b/public/h5/index.html @@ -9,7 +9,7 @@ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> 苏州市科普场馆地图 - + diff --git a/public/h5/static/szkjg.jpg b/public/h5/static/szkjg.jpg index ac5d22f01e08de2a8f30f0590ffc02182fc50273..4a5a14ab23a7b70a37239aa5e6a19cf56f937b3e 100644 GIT binary patch literal 33259 zcmd42byQT*+dn!3L)XwKHGn7#4BefAAR#ey34=64Hw+~ypumtSsC12Vr-*`dcL_*? zNY}-0-S>Cb`}^H@-M{XvHEZ@c``Mo-_jC5%=b0F7O%)Qt`-A`hfaHm)k`4d>HqxvH!Ww)UNJWI5y{f-ELf2nY&)VP7THJ}SF?g)rD z4?oPBk52$1D$ZjiVkIIdE+S^d4H4iI5aQ(%ETxOjTp(enR?7HQ||>FQzU`oDqxPxt@A;Lf@l8vo((-^$|b z{2vw`p32^LYW&L}|1GtLo*xpytAp@x^>VjHD0|EFK6 z{H$_Jgr=;5l@t)S?|>5vA4I85JT{bTHDwnU}6GdLNFnO zwIIw&P}u5D6(Lb8Yhe*vYa5||k5_WF_WJAGzvKTI>Nc*{cNqUSR{>i=0rBS|d@w$7 zTXC56b0J}vn7EKQ%tqA8N>EUc4QU6M1bBD+$BxEhZFDMMN zvK0}93Gs;t!Nm9kgki#>qWlOkK_O9ut<~Rv{zr^RsM>qndC%`(Q$!cx_OF(cJ>(x@ zAz@|xH{7LJt^fKNVZ-{b+xGvBJ^n|W|25vn4si$ie{lXkxqG|IgC@&%F6hvHn}>|7$${f0X`T#<8}ua(RKcOQO82fA!)0n`{2*8s7h> z*Z$G>U-Htw$?uZg-{yZ3?cK$HQZ>Tm4%+=L5nuY+ssaE3El-r>^?b8;TYOOLJwc1- zWm~~kBYQi~JVHQXr;BVx)QrAHCn>?vt36nwHS5)R=zg zyy>~}Ok(;W`(rRMgdpsjAt0`My;-s<`6!^Gsdz7OYs!T_RxPX*O0)E15AIR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