From 10a0804f659fc7b41913f3de78b032a80abd5c1a Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 22 Apr 2026 15:02:55 +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 --- public/h5/assets/{content.tJrjcqQa.js => content.6JrrMb8t.js} | 2 +- public/h5/assets/index-0QHTatok.css | 1 - public/h5/assets/{index-DBg2bUhq.js => index-BQ-ey0LP.js} | 4 ++-- public/h5/assets/index-CGM3N5pE.css | 1 + public/h5/assets/index-CJAmwMih.css | 1 - public/h5/assets/index-D_e0XFVT.css | 1 + .../{localProfile.LbgzO0uJ.js => localProfile.zmQ0g_RY.js} | 2 +- ...y-detail.BlVQmMv0.js => pages-activity-detail.CdFQmYr8.js} | 2 +- ...ity-index.A6qRECj0.js => pages-activity-index.C0XTC_IU.js} | 2 +- ...reserve.DIyRpwrS.js => pages-activity-reserve.D0vIYQhO.js} | 2 +- ...ver-index.C4iuUyKK.js => pages-discover-index.baQO9AM6.js} | 2 +- public/h5/assets/pages-index-index.C0AG9AAu.js | 1 - public/h5/assets/pages-index-index.JLDC1EBo.js | 1 + public/h5/assets/pages-map-index.CUzhLL1B.js | 1 - public/h5/assets/pages-map-index.XxvGOfwf.js | 1 + ...es-mine-index.BLny6hwl.js => pages-mine-index.8EOB1SXX.js} | 2 +- ...-mine-orders.CrIFT6f1.js => pages-mine-orders.PlDVko7R.js} | 2 +- ...ine-profile.DLcaMSjS.js => pages-mine-profile.BDQM_6GY.js} | 2 +- ....BgU7vUmO.js => pages-mine-reservation-detail.D-rbCCO6.js} | 2 +- ...-stats-index.DD3A1nNF.js => pages-stats-index.Bl5Js_6f.js} | 2 +- ...detail.DtbD0ndO.js => pages-study-tour-detail.DXLFCj-4.js} | 2 +- ...ffic-index.CHSAgAHe.js => pages-traffic-index.BIk4Vie9.js} | 2 +- ...enue-detail.BZba9FpN.js => pages-venue-detail.wnyfbR_X.js} | 2 +- public/h5/assets/suzhouDistrictPolygons.srVEtVX-.js | 1 + public/h5/index.html | 2 +- 25 files changed, 22 insertions(+), 21 deletions(-) rename public/h5/assets/{content.tJrjcqQa.js => content.6JrrMb8t.js} (94%) delete mode 100644 public/h5/assets/index-0QHTatok.css rename public/h5/assets/{index-DBg2bUhq.js => index-BQ-ey0LP.js} (97%) create mode 100644 public/h5/assets/index-CGM3N5pE.css delete mode 100644 public/h5/assets/index-CJAmwMih.css create mode 100644 public/h5/assets/index-D_e0XFVT.css rename public/h5/assets/{localProfile.LbgzO0uJ.js => localProfile.zmQ0g_RY.js} (85%) rename public/h5/assets/{pages-activity-detail.BlVQmMv0.js => pages-activity-detail.CdFQmYr8.js} (94%) rename public/h5/assets/{pages-activity-index.A6qRECj0.js => pages-activity-index.C0XTC_IU.js} (98%) rename public/h5/assets/{pages-activity-reserve.DIyRpwrS.js => pages-activity-reserve.D0vIYQhO.js} (98%) rename public/h5/assets/{pages-discover-index.C4iuUyKK.js => pages-discover-index.baQO9AM6.js} (54%) delete mode 100644 public/h5/assets/pages-index-index.C0AG9AAu.js create mode 100644 public/h5/assets/pages-index-index.JLDC1EBo.js delete mode 100644 public/h5/assets/pages-map-index.CUzhLL1B.js create mode 100644 public/h5/assets/pages-map-index.XxvGOfwf.js rename public/h5/assets/{pages-mine-index.BLny6hwl.js => pages-mine-index.8EOB1SXX.js} (92%) rename public/h5/assets/{pages-mine-orders.CrIFT6f1.js => pages-mine-orders.PlDVko7R.js} (63%) rename public/h5/assets/{pages-mine-profile.DLcaMSjS.js => pages-mine-profile.BDQM_6GY.js} (87%) rename public/h5/assets/{pages-mine-reservation-detail.BgU7vUmO.js => pages-mine-reservation-detail.D-rbCCO6.js} (99%) rename public/h5/assets/{pages-stats-index.DD3A1nNF.js => pages-stats-index.Bl5Js_6f.js} (55%) rename public/h5/assets/{pages-study-tour-detail.DtbD0ndO.js => pages-study-tour-detail.DXLFCj-4.js} (94%) rename public/h5/assets/{pages-traffic-index.CHSAgAHe.js => pages-traffic-index.BIk4Vie9.js} (98%) rename public/h5/assets/{pages-venue-detail.BZba9FpN.js => pages-venue-detail.wnyfbR_X.js} (99%) create mode 100644 public/h5/assets/suzhouDistrictPolygons.srVEtVX-.js diff --git a/public/h5/assets/content.tJrjcqQa.js b/public/h5/assets/content.6JrrMb8t.js similarity index 94% rename from public/h5/assets/content.tJrjcqQa.js rename to public/h5/assets/content.6JrrMb8t.js index 0e9de2b..ccf3630 100644 --- a/public/h5/assets/content.tJrjcqQa.js +++ b/public/h5/assets/content.6JrrMb8t.js @@ -1 +1 @@ -import{h as t}from"./index-DBg2bUhq.js";function n(n={}){return t.get("/h5/activities",n,{withAuth:!1})}function i(n){return t.get(`/h5/activities/${n}`,{},{withAuth:!1})}function e(){return t.get("/h5/venues",{},{withAuth:!1})}function s(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function u(n){return t.get(`/h5/venues/${n}`,{},{withAuth:!1})}function h(n){return t.get(`/h5/study-tours/${n}`,{},{withAuth:!1})}function r(n={}){return t.get("/h5/study-tours",n,{withAuth:!1})}function o(n){return t.get(`/h5/activities/${n}/booking-info`,{},{withAuth:!1})}function a(n,i){return t.post(`/h5/activities/${n}/reservations`,i,{withAuth:!0})}function c(n){const i={};return n&&/^1\d{10}$/.test(n)&&(i.visitor_phone=n),t.get("/h5/my/reservations",i,{withAuth:!0})}function f(n,i){const e={};return i&&/^1\d{10}$/.test(i)&&(e.visitor_phone=i),t.get(`/h5/my/reservations/${n}`,e,{withAuth:!0})}function v(n,i){const e={};return i&&/^1\d{10}$/.test(i)&&(e.visitor_phone=i),t.post(`/h5/my/reservations/${n}/cancel`,e,{withAuth:!0})}export{e as a,n as b,r as c,c as d,v as e,i as f,s as g,o as h,a as i,f as j,h as k,u as l}; +import{h as t}from"./index-BQ-ey0LP.js";function n(n={}){return t.get("/h5/activities",n,{withAuth:!1})}function i(n){return t.get(`/h5/activities/${n}`,{},{withAuth:!1})}function e(){return t.get("/h5/venues",{},{withAuth:!1})}function s(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function u(n){return t.get(`/h5/venues/${n}`,{},{withAuth:!1})}function h(n){return t.get(`/h5/study-tours/${n}`,{},{withAuth:!1})}function r(n={}){return t.get("/h5/study-tours",n,{withAuth:!1})}function o(n){return t.get(`/h5/activities/${n}/booking-info`,{},{withAuth:!1})}function a(n,i){return t.post(`/h5/activities/${n}/reservations`,i,{withAuth:!0})}function c(n){const i={};return n&&/^1\d{10}$/.test(n)&&(i.visitor_phone=n),t.get("/h5/my/reservations",i,{withAuth:!0})}function f(n,i){const e={};return i&&/^1\d{10}$/.test(i)&&(e.visitor_phone=i),t.get(`/h5/my/reservations/${n}`,e,{withAuth:!0})}function v(n,i){const e={};return i&&/^1\d{10}$/.test(i)&&(e.visitor_phone=i),t.post(`/h5/my/reservations/${n}/cancel`,e,{withAuth:!0})}export{e as a,n as b,r as c,c as d,v as e,i as f,s as g,o as h,a as i,f as j,h as k,u as l}; diff --git a/public/h5/assets/index-0QHTatok.css b/public/h5/assets/index-0QHTatok.css deleted file mode 100644 index 8ce3e61..0000000 --- a/public/h5/assets/index-0QHTatok.css +++ /dev/null @@ -1 +0,0 @@ -b[data-v-3488985c],strong[data-v-3488985c]{font-weight:400}uni-page-body[data-v-3488985c]{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-3488985c]{background:#f7f8fa}.font-s[data-v-3488985c]{font-size:var(--fs-body)}.font-m[data-v-3488985c]{font-size:var(--fs-subtitle)}.font-l[data-v-3488985c]{font-size:var(--fs-title)}uni-button[data-v-3488985c],.uni-button[data-v-3488985c]{font-weight:400}.page-root[data-v-3488985c]{min-height:100vh;position:relative}.page[data-v-3488985c]{min-height:100vh;background:#fff}.venue-list-scroll[data-v-3488985c]{width:100%;height:22.5rem;box-sizing:border-box;border-radius:0 0 .375rem .375rem;-webkit-overflow-scrolling:touch}.hero[data-v-3488985c]{position:relative;padding:0 0 .25rem;box-sizing:border-box}.hero-brand[data-v-3488985c]{width:100%;height:5.375rem;background:#05c9ac;border-radius:0 0 2.25rem 2.25rem;box-sizing:border-box}.hero-content[data-v-3488985c]{position:relative;z-index:2;margin-top:-3.5rem;padding:0 .75rem;box-sizing:border-box}.stat-card[data-v-3488985c]{background:#fafafa;border-radius:.5rem;padding:.625rem .625rem .5625rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.06)}.stat-main[data-v-3488985c]{display:flex;align-items:flex-start;gap:.5rem}.stat-left[data-v-3488985c]{flex:3 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}.stat-label[data-v-3488985c]{font-size:.9375rem;color:#4e5969;line-height:1.35}.stat-num[data-v-3488985c]{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:400;color:#1d2129;line-height:1.25}.stat-right[data-v-3488985c]{flex:5 1 0;min-width:0;display:flex;flex-direction:column}.live-list[data-v-3488985c]{flex:1;display:flex;flex-direction:column;width:100%;min-height:5.25rem}.live-venue-row[data-v-3488985c]{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-3488985c]:first-child{padding-top:0}.live-venue-row[data-v-3488985c]:last-child{border-bottom:none}.live-row-one[data-v-3488985c]{display:flex;align-items:center;gap:.25rem;width:100%;min-width:0}.live-top[data-v-3488985c]{font-size:.6875rem;color:#05c9ac;font-weight:400;flex-shrink:0;line-height:1.3}.live-name[data-v-3488985c]{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-3488985c]{flex-shrink:0;font-size:.6875rem;color:#05c9ac;font-weight:400;line-height:1.3}.live-venue-row.is-empty .live-name[data-v-3488985c],.live-venue-row.is-empty .live-count[data-v-3488985c]{color:#d0d3d9;font-weight:400}.live-venue-row.is-empty .live-top[data-v-3488985c]{color:rgba(5,201,172,.42)}.stat-foot[data-v-3488985c]{margin-top:.25rem;padding-top:0;display:flex;justify-content:flex-end;width:100%}.stat-foot-link[data-v-3488985c]{font-size:.625rem;color:#05c9ac;font-weight:400;line-height:1.3}.map-section[data-v-3488985c]{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)}.toolbar[data-v-3488985c]{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.tabs[data-v-3488985c]{display:flex;align-items:flex-end;gap:.5rem;flex-shrink:0}.tab[data-v-3488985c]{font-size:.75rem;color:#86909c;padding-bottom:.25rem;position:relative}.tab.on[data-v-3488985c]{font-size:14px;color:#1d2129;font-weight:400}.tab.on[data-v-3488985c]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:.125rem;background:#05c9ac;border-radius:.0625rem}.search-wrap[data-v-3488985c]{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-3488985c]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-3488985c]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-3488985c]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-3488985c]{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-3488985c]{flex:0 0 auto;display:block}.f-item[data-v-3488985c]{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-3488985c]{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-3488985c]{width:.5rem;height:.5rem;flex-shrink:0}.map-wrap[data-v-3488985c]{position:relative;width:100%;border-radius:.375rem;overflow:hidden}.main-map[data-v-3488985c]{width:100%;height:22.5rem;border-radius:.375rem;display:block}.venue-sheet[data-v-3488985c]{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-3488985c]{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-3488985c]{width:1.375rem;height:.1875rem;background:#e5e6eb;border-radius:.09375rem;margin:0 auto .3125rem}.sheet-row[data-v-3488985c]{display:flex;gap:.375rem;align-items:flex-start}.sheet-cover[data-v-3488985c]{width:3.75rem;height:2.625rem;border-radius:.25rem;flex-shrink:0}.sheet-main[data-v-3488985c]{flex:1;min-width:0}.sheet-name[data-v-3488985c]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.3}.sheet-meta[data-v-3488985c]{display:flex;flex-wrap:wrap;align-items:center;gap:.1875rem;margin-top:.125rem}.sheet-type[data-v-3488985c]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem}.sheet-meta-sep[data-v-3488985c]{font-size:.625rem;color:#c9cdd4}.sheet-ticket[data-v-3488985c]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem}.sheet-ticket.free[data-v-3488985c]{color:#00b42a;background:rgba(0,180,42,.1)}.sheet-ticket.paid[data-v-3488985c]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-3488985c]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;color:#0a826f;background:#e6f7f3}.sheet-actions[data-v-3488985c]{margin-top:.375rem;display:flex;gap:.375rem;justify-content:flex-end}.sheet-btn[data-v-3488985c]{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-3488985c]{background:#f7f8fa;color:#252525;border:.03125rem solid #eceef2}.sheet-btn.primary[data-v-3488985c]{background:#05c9ac;color:#fff;font-weight:400}.venue-row[data-v-3488985c]{display:flex;gap:.5rem;padding:.5rem 0;border-bottom:.03125rem solid #f0f2f5}.venue-thumb[data-v-3488985c]{width:5.5rem;height:3.4375rem;border-radius:.25rem;flex-shrink:0}.venue-info[data-v-3488985c]{flex:1;min-width:0}.venue-name[data-v-3488985c]{font-size:.875rem;color:#1d2129;font-weight:400}.venue-meta[data-v-3488985c]{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.1875rem}.venue-type-pill[data-v-3488985c],.venue-ticket-pill[data-v-3488985c]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem}.venue-ticket-pill.free[data-v-3488985c]{color:#00b42a;background:rgba(0,180,42,.1)}.venue-ticket-pill.paid[data-v-3488985c]{color:#f53f3f;background:rgba(245,63,63,.08)}.empty-tip[data-v-3488985c]{text-align:center;padding:2.5rem 0;font-size:.75rem;color:#86909c}.section[data-v-3488985c]{background:#fff;margin:.5rem .5rem 0;border-radius:.5rem;padding:.625rem .5rem}.sec-head[data-v-3488985c]{display:flex;align-items:center;margin-bottom:.5rem}.sec-bar[data-v-3488985c]{width:.1875rem;height:.875rem;background:#05c9ac;border-radius:.09375rem;margin-right:.375rem}.sec-title[data-v-3488985c]{flex:1;font-size:1rem;font-weight:400;color:#1d2129}.sec-more[data-v-3488985c]{font-size:.75rem;color:#86909c}.act-scroll[data-v-3488985c]{width:100%;white-space:nowrap}.act-scroll-row[data-v-3488985c]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:.625rem;padding:0 .125rem .25rem 0}.act-card[data-v-3488985c]{flex-shrink:0;width:12.5rem;box-sizing:border-box;display:flex;flex-direction:column}.act-img-wrap[data-v-3488985c]{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-3488985c]{width:11.25rem;height:5.625rem;display:block}.act-book-badge[data-v-3488985c]{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-bookable[data-v-3488985c]{padding:.1875rem .5rem;background:#05c9ac;border-radius:31.21875rem;min-height:0}.act-book-text[data-v-3488985c]{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-bookable[data-v-3488985c]{text-shadow:none}.act-body[data-v-3488985c]{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:6.3125rem}.act-title[data-v-3488985c]{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-3488985c]{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-3488985c]{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-3488985c]{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-3488985c]{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-3488985c]{background:rgba(22,194,169,.92)}.act-schedule-tag.st-not_started[data-v-3488985c]{background:rgba(22,93,255,.92)}.act-schedule-tag.st-ended[data-v-3488985c]{background:rgba(134,144,156,.95)}.tour-card[data-v-3488985c]{margin-bottom:.625rem;border-radius:.5rem;overflow:hidden;background:#fff;box-shadow:0 .125rem .625rem rgba(0,0,0,.06)}.tour-card[data-v-3488985c]:last-child{margin-bottom:0}.tour-img-wrap[data-v-3488985c]{position:relative;width:100%;aspect-ratio:2/1;border-radius:.5rem .5rem 0 0;overflow:hidden}.tour-img[data-v-3488985c]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.tour-body[data-v-3488985c]{padding:.5625rem .625rem .5rem}.tour-title[data-v-3488985c]{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-3488985c]{margin-top:.4375rem}.tour-stop-row[data-v-3488985c]{display:flex;flex-direction:row;align-items:stretch}.tour-timeline-axis[data-v-3488985c]{width:.875rem;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin-right:.3125rem}.tour-dot-cell[data-v-3488985c]{height:1.125rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%}.tour-tl-dot[data-v-3488985c]{width:.375rem;height:.375rem;border-radius:50%;background:#c9cdd4;flex-shrink:0}.tour-tl-line[data-v-3488985c]{width:.0625rem;flex:1;min-height:.375rem;margin-top:0;background:#e5e6eb}.tour-stop-name[data-v-3488985c]{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-3488985c]{padding-bottom:0}.tour-tags-row[data-v-3488985c]{margin-top:.4375rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.3125rem}.tour-tag[data-v-3488985c]{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-3488985c]{height:.75rem}.loading-mask[data-v-3488985c]{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-DBg2bUhq.js b/public/h5/assets/index-BQ-ey0LP.js similarity index 97% rename from public/h5/assets/index-DBg2bUhq.js rename to public/h5/assets/index-BQ-ey0LP.js index 62e00f1..3c9bae3 100644 --- a/public/h5/assets/index-DBg2bUhq.js +++ b/public/h5/assets/index-BQ-ey0LP.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.C0AG9AAu.js","assets/poster.DLiVsUXX.js","assets/search.BJnl3YRK.js","assets/down.BCKq9i8s.js","assets/activity.4NBjJ4my.js","assets/ticketMap.imr_2NOD.js","assets/venueThemeColors.ByZn0VY6.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-0QHTatok.css","assets/pages-map-index.CUzhLL1B.js","assets/content.tJrjcqQa.js","assets/index-CJAmwMih.css","assets/pages-activity-index.A6qRECj0.js","assets/index-Cc5RBApb.css","assets/pages-discover-index.C4iuUyKK.js","assets/index-DVgcdCLv.css","assets/pages-mine-index.BLny6hwl.js","assets/localProfile.LbgzO0uJ.js","assets/index-By93HabS.css","assets/pages-mine-profile.DLcaMSjS.js","assets/profile-XKO1cAQQ.css","assets/pages-mine-orders.CrIFT6f1.js","assets/datetime.BfIJTcZ8.js","assets/orders-Bhx-NegT.css","assets/pages-activity-detail.BlVQmMv0.js","assets/icon7.C1JV_D3L.js","assets/icon_up.DJ5zmdk8.js","assets/detail-BpbIbP1R.css","assets/pages-activity-reserve.DIyRpwrS.js","assets/reserve-Bin8WC0U.css","assets/pages-mine-reservation-detail.BgU7vUmO.js","assets/reservation-detail-DA3L_tRC.css","assets/pages-study-tour-detail.DtbD0ndO.js","assets/detail-pToJW9eH.css","assets/pages-venue-detail.BZba9FpN.js","assets/detail-wTtqKsVI.css","assets/pages-stats-index.DD3A1nNF.js","assets/index-CUcJIEaF.css","assets/pages-traffic-index.CHSAgAHe.js","assets/index-CTbD1Lrq.css"] + __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.JLDC1EBo.js","assets/poster.DLiVsUXX.js","assets/search.BJnl3YRK.js","assets/down.BCKq9i8s.js","assets/activity.4NBjJ4my.js","assets/suzhouDistrictPolygons.srVEtVX-.js","assets/ticketMap.imr_2NOD.js","assets/venueThemeColors.ByZn0VY6.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-CGM3N5pE.css","assets/pages-map-index.XxvGOfwf.js","assets/content.6JrrMb8t.js","assets/index-D_e0XFVT.css","assets/pages-activity-index.C0XTC_IU.js","assets/index-Cc5RBApb.css","assets/pages-discover-index.baQO9AM6.js","assets/index-DVgcdCLv.css","assets/pages-mine-index.8EOB1SXX.js","assets/localProfile.zmQ0g_RY.js","assets/index-By93HabS.css","assets/pages-mine-profile.BDQM_6GY.js","assets/profile-XKO1cAQQ.css","assets/pages-mine-orders.PlDVko7R.js","assets/datetime.BfIJTcZ8.js","assets/orders-Bhx-NegT.css","assets/pages-activity-detail.CdFQmYr8.js","assets/icon7.C1JV_D3L.js","assets/icon_up.DJ5zmdk8.js","assets/detail-BpbIbP1R.css","assets/pages-activity-reserve.D0vIYQhO.js","assets/reserve-Bin8WC0U.css","assets/pages-mine-reservation-detail.D-rbCCO6.js","assets/reservation-detail-DA3L_tRC.css","assets/pages-study-tour-detail.DXLFCj-4.js","assets/detail-pToJW9eH.css","assets/pages-venue-detail.wnyfbR_X.js","assets/detail-wTtqKsVI.css","assets/pages-stats-index.Bl5Js_6f.js","assets/index-CUcJIEaF.css","assets/pages-traffic-index.BIk4Vie9.js","assets/index-CTbD1Lrq.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={},i=[] * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT - */(e);if(!o)return;const i=t._component;m(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=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","")),r},t};const ra="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 i=t[o];n[o]=ua(i)?i.map(e):e(i)}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,Ca=/%7D/g,Sa=/%20/g;function ka(e){return encodeURI(""+e).replace(xa,"|").replace(va,"[").replace(ya,"]")}function Ta(e){return ka(e).replace(ma,"%2B").replace(Sa,"+").replace(da,"%23").replace(fa,"%26").replace(_a,"`").replace(wa,"{").replace(Ca,"}").replace(ba,"^")}function Aa(e){return Ta(e).replace(ha,"%3D")}function Ea(e){return null==e?"":function(e){return ka(e).replace(da,"%23").replace(ga,"%3F")}(e).replace(pa,"%2F")}function Ma(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function La(e,t,n="/"){let o,i={},r="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),i=e(r)),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("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,s,a=n.length-1;for(r=0;r1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+(r&&"?")+r+s,path:o,query:i,hash:Ma(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 Da(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ia(e[n],t[n]))return!1;return!0}function Ia(e,t){return ua(e)?Ra(e,t):ua(t)?Ra(t,e):e===t}function Ra(e,t){return ua(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const za={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ba,Na,ja,qa;function Fa(e){if(!e)if(ra){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=Ba||(Ba={})).pop="pop",Na.push="push",(qa=ja||(ja={})).back="back",qa.forward="forward",qa.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("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)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)}}(i,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 Ga(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Oa(n,"")}return Oa(n,e)+o+i}function Ka(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Ha():null}}function Ja(e){const{history:t,location:n}=window,o={value:Ga(e,n)},i={value:t.state};function r(o,r,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"](r,"",l),i.value=r}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const s=aa({},i.value,t.state,{forward:e,scroll:Ha()});r(s.current,s,!0),r(e,aa({},Ka(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){r(e,aa({},t.state,Ka(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function Qa(e){const t=Ja(e=Fa(e)),n=function(e,t,n,o){let i=[],r=[],s=null;const a=({state:r})=>{const a=Ga(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=a,t.value=r,s&&s===l)return void(s=null);u=c?r.position-c.position:0}else o(a);i.forEach(e=>{e(n.value,l,{delta:u,type:Ba.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){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],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 Za(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 il(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 rl="[^/]+?",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,i=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 i=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.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{r(f)}:ca}function r(e){if(Za(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;cl(e,t[i])<0?o=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if(_l(t)&&0===cl(e,t))return t;return}(e);i&&(o=t.lastIndexOf(i,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=>i(e)),{addRoute:i,resolve:function(e,t){let i,r,s,a={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw ol(1,{location:e});s=i.record.name,a=aa(gl(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&gl(e.params,i.keys.map(e=>e.name))),r=i.stringify(a)}else if(null!=e.path)r=e.path,i=n.find(e=>e.re.test(r)),i&&(a=i.parse(r),s=i.record.name);else{if(i=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw ol(1,{location:e,currentLocation:t});s=i.record.name,a=aa({},t.params,e.params),r=i.stringify(a)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:r,params:a,matched:l,meta:yl(l)}},removeRoute:r,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 Cl(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 Sl=Symbol(""),kl=Symbol(""),Tl=Symbol(""),Al=Symbol(""),El=Symbol("");function Ml(){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,i,r=e=>e()){const s=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=e=>{var r;!1===e?l(ol(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(ol(2,{from:t,to:e})):(s&&o.enterCallbacks[i]===s&&"function"==typeof e&&s.push(e),a())},u=r(()=>e.call(o&&o.instances[i],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,i=e=>e()){const r=[];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&&r.push(Pl(l,n,o,s,e,i))}else{let l=a();r.push(()=>l.then(r=>{if(!r)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=r).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&sa(l.default)?r.default:r;var l;s.mods[e]=r,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,i)()}))}}return r}function Ol(e){const t=Qi(Tl),n=Qi(Al),o=rs(()=>{const n=qn(e.to);return t.resolve(n)}),i=rs(()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const s=r.findIndex($a.bind(null,i));if(s>-1)return s;const a=Dl(e[t-2]);return t>1&&Dl(i)===a&&r[r.length-1].path!==a?r.findIndex($a.bind(null,e[t-2])):s}),r=rs(()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!ua(i)||i.length!==o.length||o.some((e,t)=>e!==i[t]))return!1}return!0}(n.params,o.value.params)),s=rs(()=>i.value>-1&&i.value===n.matched.length-1&&Da(n.params,o.value.params));return{route:o,href:rs(()=>o.value.href),isActive:r,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[qn(e.replace)?"replace":"push"](qn(e.to)).catch(ca):Promise.resolve()}}}const $l=Qo({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}=Qi(Tl),i=rs(()=>({[Il(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Il(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:i.value},o)}}});function Dl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Il=(e,t,n)=>null!=e?e:null!=t?t:n;function Rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const zl=Qo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Qi(El),i=rs(()=>e.route||o.value),r=Qi(kl,0),s=rs(()=>{let e=qn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=rs(()=>i.value.matched[s.value]);Ji(kl,rs(()=>s.value+1)),Ji(Sl,a),Ji(El,i);const l=zn();return Do(()=>[l.value,a.value,e.name],([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&$a(t,i)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,r=e.name,s=a.value,c=s&&s.components[r];if(!c)return Rl(n.default,{Component:c,route:o});const u=s.props[r],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[r]=null)},ref:l}));return Rl(n.default,{Component:f,route:o})||f}}});function Bl(e){const t=hl(e.routes,e),n=e.parseQuery||wl,o=e.stringifyQuery||xl,i=e.history,r=Ml(),s=Ml(),a=Ml(),l=Bn(za);let c=za;ra&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=la.bind(null,e=>""+e),d=la.bind(null,Ea),f=la.bind(null,Ma);function p(e,r){if(r=aa({},r||l.value),"string"==typeof e){const o=La(n,e,r.path),s=t.resolve({path:o.path},r),a=i.createHref(o.fullPath);return aa(o,s,{params:f(s.params),hash:Ma(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=aa({},e,{path:La(n,e.path,r.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)}),r.params=d(r.params)}const a=t.resolve(s,r),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,ka(h).replace(wa,"{").replace(Ca,"}").replace(ba,"^")),path:a.path}));var h;const g=i.createHref(p);return aa({fullPath:p,hash:c,query:o===xl?Cl(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),i=l.value,r=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(aa(h(u),{state:"object"==typeof u?aa({},r,u.state):r,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,i=n.matched.length-1;return o>-1&&o===i&&$a(t.matched[o],n.matched[i])&&Da(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(f=ol(16,{to:d,from:i}),L(i,i,!0,!1)),(f?Promise.resolve(f):w(d,i)).catch(e=>il(e)?il(e,2)?e:P(e):M(e,d,i)).then(e=>{if(e){if(il(e,2))return y(aa({replace:a},h(e.to),{state:"object"==typeof e.to?aa({},r,e.to.state):r,force:s}),t||d)}else e=C(d,i,!0,a,r);return x(d,i,e),e})}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=D.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,i,a]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;s$a(e,r))?o.push(r):n.push(r));const a=e.matched[s];a&&(t.matched.find(e=>$a(e,a))||i.push(a))}return[n,o,i]}(e,t);n=Ll(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),R(n).then(()=>{n=[];for(const o of r.list())n.push(Pl(o,e,t));return n.push(l),R(n)}).then(()=>{n=Ll(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),R(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ua(o.beforeEnter))for(const i of o.beforeEnter)n.push(Pl(i,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),R(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ll(a,"beforeRouteEnter",e,t,_),n.push(l),R(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),R(n)}).catch(e=>il(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function C(e,t,n,o,r){const s=g(e,t);if(s)return s;const a=t===za,c=ra?history.state:{};n&&(o||a?i.replace(e.fullPath,aa({scroll:a&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,L(e,t,n,a),P()}let S;function k(){S||(S=i.listen((e,t,n)=>{if(!I.listening)return;const o=p(e),r=v(o);if(r)return void y(aa(r,{replace:!0}),o).catch(ca);c=o;const s=l.value;var a,u;ra&&(a=Ya(s.fullPath,n.delta),u=Ha(),Xa.set(a,u)),w(o,s).catch(e=>il(e,12)?e:il(e,2)?(y(e.to,o).then(e=>{il(e,20)&&!n.delta&&n.type===Ba.pop&&i.go(-1,!1)}).catch(ca),Promise.reject()):(n.delta&&i.go(-n.delta,!1),M(e,o,s))).then(e=>{(e=e||C(o,s,!1))&&(n.delta&&!il(e,8)?i.go(-n.delta,!1):n.type===Ba.pop&&il(e,20)&&i.go(-1,!1)),x(o,s,e)}).catch(ca)}))}let T,A=Ml(),E=Ml();function M(e,t,n){P(e);const o=E.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function P(e){return T||(T=!e,k(),A.list().forEach(([t,n])=>e?n(e):t()),A.reset()),e}function L(t,n,o,i){const{scrollBehavior:r}=e;if(!ra||!r)return Promise.resolve();const s=!o&&function(e){const t=Xa.get(e);return Xa.delete(e),t}(Ya(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return oo().then(()=>r(t,n,s)).then(e=>e&&Ua(e)).catch(e=>M(e,t,n))}const O=e=>i.go(e);let $;const D=new Set,I={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return Za(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,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:r.add,beforeResolve:s.add,afterEach:a.add,onError:E.add,isReady:function(){return T&&l.value!==za?Promise.resolve():new Promise((e,t)=>{A.add([e,t])})},install(e){e.component("RouterLink",$l),e.component("RouterView",zl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>qn(l)}),ra&&!$&&l.value===za&&($=!0,m(i.location).catch(e=>{}));const t={};for(const o in za)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Tl,this),e.provide(Al,xn(t)),e.provide(El,l);const n=e.unmount;D.add(e),e.unmount=function(){D.delete(e),D.size<1&&(c=za,S&&S(),S=null,l.value=za,$=!1,T=!1),n()}}};function R(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return I}function Nl(e){return Qi(Al)}const jl=["{","}"];const ql=/^(?:\d)+/,Fl=/^(?:\w)+/;const Vl="zh-Hans",Wl="zh-Hant",Hl="en",Ul="fr",Yl="es",Xl=Object.prototype.hasOwnProperty,Gl=(e,t)=>Xl.call(e,t),Kl=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 i=0,r="";for(;i-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 i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class Ql{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale=Hl,this.fallbackLocale=Hl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||Kl,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=>{Gl(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,Gl(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 Zl(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&&Tf?Tf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Hl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Hl);const i=new Ql({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=gm().$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,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}function ec(e,t){return e.indexOf(t[0])>-1}const tc=De(()=>"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=Tf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function ic(e,t){if(1===t.length){if(e){const n=e=>v(e)&&ec(e,te),o=t[0];let i=[];if(p(e)&&(i=e.filter(e=>n(e[o]))).length)return i;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return ic(e&&e[n],t)}function rc(e,t){const n=ic(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>rc(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=Zl(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,i)=>(t[e+o]=n[i],t),{})}const lc=De(()=>{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=De(()=>{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=De(()=>{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=De(()=>{const e="uni.showModal.",t=["cancel","confirm"];sc().add(Hl,ac(e,t,["Cancel","OK"]),!1),sc().add(Yl,ac(e,t,["Cancelar","OK"]),!1),sc().add(Ul,ac(e,t,["Annuler","OK"]),!1),sc().add(Vl,ac(e,t,["取消","确定"]),!1),sc().add(Wl,ac(e,t,["取消","確定"]),!1)}),fc=De(()=>{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)}),pc=De(()=>{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)}),hc=De(()=>{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)}),gc=De(()=>{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 mc(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,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}const vc="invokeViewApi",yc="invokeServiceApi";let bc=1;const _c=Object.create(null);function wc(e,t){return e+"."+t}function xc(e,t,n){t=wc(e,t),_c[t]||(_c[t]=n)}function Cc({id:e,name:t,args:n},o){t=wc(o,t);const i=t=>{e&&Jy.publishHandler(vc+"."+e,t)},r=_c[t];r?r(n,i):i({})}const Sc=c(mc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=Jy,r=n?bc++:0;n&&o(yc+"."+r,n,!0),i(yc,{id:r,name:e,args:t})}}),kc=Ge(!0);let Tc;function Ac(){Tc&&(clearTimeout(Tc),Tc=null)}let Ec=0,Mc=0;function Pc(e){if(Ac(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ec=t,Mc=n,Tc=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 Lc(e){if(!Tc)return;if(1!==e.touches.length)return Ac();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ec)>10||Math.abs(n-Mc)>10?Ac():void 0}function Oc(e,t){const n=Number(e);return isNaN(n)?t:n}function $c(){const e=__uniConfig.globalStyle||{},t=Oc(e.rpxCalcMaxDeviceWidth,960),n=Oc(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 Dc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Rc,zc=["top","left","right","bottom"],Bc={};function Nc(){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 jc(){if(Rc="string"==typeof Rc?Rc:Nc()){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");i(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),r(),Ic=!0}else zc.forEach(function(e){Bc[e]=0});function i(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function r(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+")"};i(o,c),i(s,c),i(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),r(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,i=s.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,i=s.scrollTop,function(e){Fc.length||setTimeout(function(){var e={};Fc.forEach(function(t){e[t]=Bc[t]}),Fc.length=0,Vc.forEach(function(t){t(e)})},0);Fc.push(e)}(n))}o.addEventListener("scroll",r,t),s.addEventListener("scroll",r,t)});var u=getComputedStyle(o);Object.defineProperty(Bc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function qc(e){return Ic||jc(),Bc[e]}var Fc=[];var Vc=[];const Wc=Dc({get support(){return 0!=("string"==typeof Rc?Rc:Nc()).length},get top(){return qc("top")},get left(){return qc("left")},get right(){return qc("right")},get bottom(){return qc("bottom")},onChange:function(e){Nc()&&(Ic||jc(),"function"==typeof e&&Vc.push(e))},offChange:function(e){var t=Vc.indexOf(e);t>=0&&Vc.splice(t,1)}}),Hc=ta(()=>{},["prevent"]),Uc=ta(e=>{},["stop"]);function Yc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Xc(){const e=Yc(document.documentElement.style,"--window-top");return e?e+Wc.top:0}function Gc(){const e=document.documentElement.style,t=Xc(),n=Yc(e,"--window-bottom"),o=Yc(e,"--window-left"),i=Yc(e,"--window-right"),r=Yc(e,"--top-window-height");return{top:t,bottom:n?n+Wc.bottom:0,left:o?o+Wc.left:0,right:i?i+Wc.right:0,topWindowHeight:r||0}}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Jc(e){return Kc(e)}function Qc(e){return Symbol(e)}function Zc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function eu(e,t=!1){if(t)return function(e){if(!Zc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>rf(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Zc(e)?rf(t):t}return e}function tu(e){return e.$page}function nu(e){return 0===e.tagName.indexOf("UNI-")}const ou="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",iu="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",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";function su(e,t="#000",n=27){return Rr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Rr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function au(){{const{$pageInstance:e}=Xr();return e&&gu(e.proxy)}}function lu(e){const t=je(e);if(t.$page)return gu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return gu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?gu(n):void 0}function cu(){const e=Pp(),t=e.length;if(t)return e[t-1]}function uu(){var e;const t=null==(e=cu())?void 0:e.$page;if(t)return t.meta}function du(){const e=uu();return e?e.id:-1}function fu(){const e=cu();if(e)return e.$vm}const pu=["navigationBar","pullToRefresh"];function hu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);pu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function gu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function mu(e,t,n){if(v(e))n=t,t=e,e=fu();else if("number"==typeof e){const t=Pp().find(t=>tu(t).id===e);e=t?t.$vm:fu()}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,r=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-bu)>n;return!r||i&&!s?(!r&&i&&(i=!1),!1):(bu=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(s()||(yu=setTimeout(s,300))),o=!1};return function(){clearTimeout(yu),o||requestAnimationFrame(s),o=!0}}function wu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return wu(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i0?e.split("/"):[];return r.splice(r.length-i-1,i+1),$e(r.concat(n).join("/"))}function xu(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function Cu(){$c(),Ue(nu),window.addEventListener("touchstart",Pc,kc),window.addEventListener("touchmove",Lc,kc),window.addEventListener("touchend",Ac,kc),window.addEventListener("touchcancel",Ac,kc)}class Su{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Fe(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&&Fe(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=Eu(this.$el.querySelector(e));return t?ku(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&&Jy.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 ku(e,t=!0){if(t&&e&&(e=qe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Su(e)),e.$el.__wxsComponentDescriptor}function Tu(e,t){return ku(e,t)}function Au(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Tu(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=qe(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Tu(i,!1)]}}function Eu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Mu(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let s,a;s=Ke(t?i:function(e){for(;!nu(e);)e=e.parentElement;return e}(i)),a=Ke(r);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&C(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 Pu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Lu(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Xc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Pu(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Xc();r.touches=Lu(e.touches,t),r.changedTouches=Lu(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t]})})}return Au(r,t,n)||[r]},createNativeEvent:Mu},Symbol.toStringTag,{value:"Module"});function $u(e){!function(e){const t=e.globalProperties;c(t,Ou),t.$gcd=Tu}(e._context.config)}let Du=1;function Iu(e){return(e||du())+"."+vc}const Ru=c(mc("view"),{invokeOnCallback:(e,t)=>Qy.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=Qy,s=o?Du++:0;o&&i(vc+"."+s,o,!0),r(Iu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:s}=Qy,a=Du++,l=vc+"."+a;return i(l,n),s(Iu(o),{id:a,name:e,args:t},o),()=>{r(l)}}});function zu(e){mu(cu(),ge,e),Qy.invokeOnCallback("onWindowResize",e)}function Bu(e){const t=cu();mu(gm(),ie,e),mu(t,ie)}function Nu(){mu(gm(),re),mu(cu(),re)}const ju=[ve,be];function qu(){ju.forEach(e=>Qy.subscribe(e,function(e){return(t,n)=>{mu(parseInt(n),e,t)}}(e)))}function Fu(){!function(){const{on:e}=Qy;e(ge,zu),e(Pe,Bu),e(Le,Nu)}(),qu()}function Vu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new nt(this.$page.id)),e.eventChannel}}function Wu(e){e._context.config.globalProperties.getOpenerEventChannel=Vu}function Hu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Uu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${rf(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Yu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){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"],i=["width","height","left","right","top","bottom"],r=e.animates,s=e.option,a=s.transition,l={},c=[];return r.forEach(e=>{let r=e.type,s=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(s=s.map(Uu)),n.indexOf(r)>=0&&(s.length=1),c.push(`${r}(${s.join(",")})`);else if(o.concat(i).includes(s[0])){r=s[0];const e=s[1];l[r]=i.includes(r)?Uu(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{r()},0)}const Xu={props:["animation"],watch:{animation:{deep:!0,handler(){Yu(this)}}},mounted(){Yu(this)}},Gu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Xu),Ku(e)},Ku=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Qo(e));function Ju(e){return e.__wwe=!0,e}function Qu(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=Ke(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const Zu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ed(e){const t=zn(!1);let n,o,i=!1;function r(){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),i=!0,n=setTimeout(()=>{t.value=!0,i||r()},parseInt(e.hoverStartTime)))}function a(){i=!1,t.value&&r()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ju(function(e){e.touches.length>1||s(e)}),onMousedown:Ju(function(e){i||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ju(function(){a()}),onMouseup:Ju(function(){i&&l()}),onTouchcancel:Ju(function(){i=!1,t.value=!1,clearTimeout(n)})}}}function td(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const nd=Qc("uf"),od=Qc("ul");function id(e,t,n){const o=au();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Jy.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Jy.on(i,t[i]):e&&Jy.on(`uni-${i}-${o}-${e}`,t[i])})}function rd(e,t,n){const o=au();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Jy.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Jy.off(i,t[i]):e&&Jy.off(`uni-${i}-${o}-${e}`,t[i])})}const sd=Gu({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=zn(null),o=Qi(nd,!1),{hovering:i,binding:r}=ed(e),s=Ju((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),a=Qi(od,!1);return a&&(a.addHandler(s),wi(()=>{a.removeHandler(s)})),function(e,t){id(e.id,t),Do(()=>e.id,(e,n)=>{rd(n,t,!0),id(e,t,!0)}),xi(()=>{rd(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=td(e,"disabled"),l=td(e,"loading"),c=td(e,"plain"),u=o&&"none"!==o;return Rr("uni-button",Vr({ref:n,onClick:s,id:e.id,class:u&&i.value?o:""},u&&r,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),ad=Qc("upm");function ld(){return Qi(ad)}function cd(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=eu(e.offset)),e.height&&(e.height=eu(e.height)),e.range&&(e.range=eu(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:i}=n;"custom"!==i&&"transparent"!==o&&(t.offset+=44+Wc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Pp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(hu(Nl().meta,e)))))}(e);return Ji(ad,t),t}function ud(){return Nl()}function dd(){return history.state&&history.state.__id__||1}const fd=["original","compressed"],pd=["album","camera"],hd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function gd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function md(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function vd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let yd=1;const bd={};function _d(e,t,n,o=!1){return bd[e]={name:t,keepAlive:o,callback:n},e}function wd(e,t,n){if("number"==typeof e){const o=bd[e];if(o)return o.keepAlive||delete bd[e],o.callback(t,n)}return t}function xd(e){for(const t in bd)if(bd[t].name===e)return!0;return!1}const Cd="success",Sd="fail",kd="complete";function Td(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:i,fail:r,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=vd(o),delete e[n])}return t}(t),a=m(i),l=m(r),c=m(s),u=yd++;return _d(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&&i(u)):l&&r(u),c&&s(u)}),u}const Ad="success",Ed="fail",Md="complete",Pd={},Ld={};function Od(e,t){return function(n){return e(n,t)||n}}function $d(e,t,n){let o=!1;for(let i=0;ie(t),catch(){}}}function Dd(e,t={}){return[Ad,Ed,Md].forEach(n=>{const o=e[n];if(!p(o))return;const i=t[n];t[n]=function(e){$d(o,e,t).then(e=>m(i)&&i(e)||e)}}),t}function Id(e,t){const n=[];p(Pd.returnValue)&&n.push(...Pd.returnValue);const o=Ld[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Rd(e){const t=Object.create(null);Object.keys(Pd).forEach(e=>{"returnValue"!==e&&(t[e]=Pd[e].slice())});const n=Ld[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function zd(e,t,n,o){const i=Rd(e);if(i&&Object.keys(i).length){if(p(i.invoke)){return $d(i.invoke,n).then(n=>t(Dd(Rd(e),n),...o))}return t(Dd(i,n),...o)}return t(n,...o)}function Bd(e,t){return(n={},...o)=>function(e){return!(!C(e)||![Cd,Sd,kd].find(t=>m(e[t])))}(n)?Id(e,zd(e,t,c({},n),o)):Id(e,new Promise((i,r)=>{zd(e,t,c({},n,{success:i,fail:r}),o)}))}function Nd(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,wd(e,c({errMsg:r},o))}function jd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r{qd(o);const i=jd(0,[o],0,n);if(i)throw new Error(i);const r=!xd(e);!function(e,t){_d(yd++,e,t,!0)}(e,o),r&&(!function(e){Qy.on("api."+e,t=>{for(const n in bd){const o=bd[n];o.name===e&&o.callback(t)}})}(e),t())}}function Vd(e,t,n){return o=>{qd(o);const i=jd(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in bd){const o=bd[n];o.callback===t&&o.name===e&&delete bd[n]}}(e=e.replace("off","on"),o);xd(e)||(!function(e){Qy.off("api."+e)}(e),t())}}function Wd(e,t,n,o){return n=>{const i=Td(e,n,o),r=jd(0,[n],0,o);return r?Nd(i,e,r):t(n,{resolve:t=>function(e,t,n){return wd(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>Nd(i,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 Hd(e,t,n){return Fd(e,t,n)}function Ud(e,t,n){return Vd(e,t,n)}function Yd(e,t,n,o){return Bd(e,Wd(e,t,0,o))}function Xd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=jd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Gd(e,t,n,o){return Bd(e,function(e,t,n,o){return Wd(e,t,0,o)}(e,t,0,o))}let Kd=!1,Jd=0,Qd=0,Zd=960,ef=375,tf=750;function nf(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=th(),t=ih(oh(e,nh(e)));return{platform:Kp?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=i,n=r}Jd=e,Qd=t,Kd="ios"===n}function of(e,t){const n=Number(e);return isNaN(n)?t:n}const rf=Xd(0,(e,t)=>{if(0===Jd&&(nf(),function(){const e=__uniConfig.globalStyle||{};Zd=of(e.rpxCalcMaxDeviceWidth,960),ef=of(e.rpxCalcBaseDeviceWidth,375),tf=of(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Jd;n=e===tf||n<=Zd?n:ef;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Qd&&Kd?.5:1),e<0?-o:o}),sf=[.5,.8,1,1.25,1.5,2];const af=(e,t,n,o)=>{!function(e,t,n,o,i){Qy.invokeViewMethod("map."+e,{type:n,data:o},t,i)}(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 lf=["scale","rotate","translate","setTransform","transform"],cf=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],uf=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const df={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 ff(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(df,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(df[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),i=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,i,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class pf{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,ff(t)])}}class hf{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class gf{constructor(e){this.width=e}}class mf{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,i,r,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,i,r){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,i){Qy.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{i&&i(e)})}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new pf("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new pf("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 hf(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 gf(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,i,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,r]}),this.subpath.push([i,r])}arc(e,t,n,o,i,r=!1){this.path.push({method:"arc",data:[e,t,n,o,i,r]}),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,i){this.path.push({method:"arcTo",data:[e,t,n,o,i]}),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/),i=parseFloat(n[3]),r=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=i,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${i}px ${r}`]})}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 vf=De(()=>{[...lf,...cf].forEach(function(e){mf.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,i){var r=[t.toString(),n,o];"number"==typeof i&&r.push(i),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,i,r,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=i,c=r,n=void 0,o=void 0,i=void 0,r=void 0),u=d(n)&&d(o)&&d(i)&&d(r)?[t,s,a,l,c,n,o,i,r]: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)}),uf.forEach(function(e){mf.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",ff(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,i){i=ff(i),this.actions.push({method:e,data:[t,n,o,i]}),this.state.shadowBlur=o,this.state.shadowColor=i,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)})}),yf=Xd(0,(e,t)=>{if(vf(),t)return new mf(e,lu(t));const n=lu(fu());if(n)return new mf(e,n);Qy.emit(ae,"createCanvasContext:fail")});let bf=0,_f={};const wf={canvas:mf,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){af(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){af(this.id,this.pageId,"moveToLocation",e)}getScale(e){af(this.id,this.pageId,"getScale",e)}getRegion(e){af(this.id,this.pageId,"getRegion",e)}includePoints(e){af(this.id,this.pageId,"includePoints",e)}translateMarker(e){af(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){af(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){af(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){af(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){af(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){af(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){af(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){af(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){af(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){af(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){af(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){af(this.id,this.pageId,"openMapApp",e)}on(e,t){af(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){rh(this.id,this.pageId,"play")}pause(){rh(this.id,this.pageId,"pause")}stop(){rh(this.id,this.pageId,"stop")}seek(e){rh(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){rh(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~sf.indexOf(e)||(e=1),rh(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){rh(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){rh(this.id,this.pageId,"exitFullScreen")}showStatusBar(){rh(this.id,this.pageId,"showStatusBar")}hideStatusBar(){rh(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 i={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(bf++);i.callbackId=e,_f[e]=o}Qy.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,({callbackId:e,data:t})=>{r&&(ze(_f[e],t),delete _f[e])})}(this.id,this.pageId,e,t)}}};function xf(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=wf[n];e.context=new i(t,o),delete e.contextInfo}}class Cf{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 Sf{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:i,fields:r})=>{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}(r)):o.push(function(e,t,n,o,i){const r=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=r.parentElement;if(!s)return o?null:[];const{nodeType:a}=r,l=3===a||8===a;if(o){const e=l?s.querySelector(n):ah(r,n)?r:r.querySelector(n);return e?sh(e,i):null}{let e=[];const t=(l?s:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(sh(t,i))}),!l&&ah(r,n)&&e.unshift(sh(r,i)),e}}(e,t,n,i,r))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{p(e)?e.forEach(xf):xf(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 Cf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Cf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Cf(this,null,"",!0)}_push(e,t,n,o,i){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(i)}}const kf=Xd(0,e=>((e=je(e))&&!lu(e)&&(e=null),new Sf(e||fu()))),Tf=Xd(0,()=>{const e=gm();return e&&e.$vm?e.$vm.$locale:sc().getLocale()}),Af={[ue]:[],[ce]:[],[ae]:[],[ie]:[],[re]:[]};const Ef={formatArgs:{showToast:!0},beforeInvoke(){pc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=sc(),o=n("uni.setClipboardData.success");o&&uy({title:o,icon:"success",mask:!1})}},Mf="onCompass",Pf=["wgs84","gcj02"],Lf={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Pf.indexOf(e)?t.type=Pf[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},Of=(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}},$f={formatArgs:{latitude(e,t){const n=Of("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=Of("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},Df={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=md(e,fd)},sourceType(e,t){t.sourceType=md(e,pd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},If="json",Rf=["text","arraybuffer"],zf=encodeURIComponent;const Bf={formatArgs:{method(e,t){t.method=gd((e||"").toUpperCase(),hd)},data(e,t){t.data=e||""},url(e,t){t.method===hd[0]&&C(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 i=n[1]||"";e=n[0];const r=i.split("&").filter(e=>e),s={};r.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="":C(e)&&(e=JSON.stringify(e)),s[zf(a)]=zf(e)}return i=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==hd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||If).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Rf.indexOf(t.responseType)&&(t.responseType="text")}}},Nf={formatArgs:{filePath(e,t){e&&(t.filePath=Yp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const jf={url:{type:String,required:!0}},qf="navigateTo",Ff="redirectTo",Vf="switchTab",Wf="preloadPage";Hf=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"];var Hf;const Uf=Jf(qf),Yf=Jf(Ff),Xf=Jf(Vf);let Gf;function Kf(){Gf=""}function Jf(e){return{formatArgs:{url:Qf(e)},beforeAll:Kf}}function Qf(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=Pp();return n.length&&(t=tu(n[n.length-1]).route),wu(t,e)}(t)).split("?")[0],i=xu(o,!0);if(!i)return"page `"+t+"` is not found";if(e===qf||e===Ff){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Vf&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Vf&&e!==Wf||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.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(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==Wf){if(Gf===t&&"appLaunch"!==n.openType)return`${Gf} locked`;__uniConfig.ready&&(Gf=t)}else if(i.meta.isTabBar){const e=Pp(),t=i.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Zf={formatArgs:{title:"",mask:!1}},ep={beforeInvoke(){dc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=sc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=sc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},tp=["success","loading","none","error"],np={formatArgs:{title:"",icon(e,t){t.icon=gd(e,tp)},image(e,t){t.image=e?Yp(e):""},duration:1500,mask:!1}},op="stopPullDownRefresh";function ip(){const e=fu();if(!e)return;const t=Mp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Op(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,mu(e,re))}function rp(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function sp(e){const t=Mp().values();for(const n of t){const t=Cp(n);if(rp(e,t))return n.$.__isActive=!0,t.id}}const ap=Gd(Vf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(Sp.handledBeforeEntryPageRoutes)return ip(),up({type:Vf,url:e,tabBarText:t,isAutomatedTesting:n},sp(e)).then(o).catch(i);Tp.push({args:{type:Vf,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Xf);function lp(){const e=cu();if(!e)return;const t=Cp(e);Op(Rp(t.path,t.id))}const cp=Gd(Ff,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Sp.handledBeforeEntryPageRoutes)return lp(),up({type:Ff,url:e,isAutomatedTesting:t}).then(n).catch(o);Ap.push({args:{type:Ff,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Yf);function up({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const s=gm().$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||++$p,__type__:e}}(e,r);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(r=>{if(il(r))return c(r.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(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()})})}function dp(){if(Sp.handledBeforeEntryPageRoutes)return;Sp.handledBeforeEntryPageRoutes=!0;const e=[...kp];kp.length=0,e.forEach(({args:e,resolve:t,reject:n})=>up(e).then(t).catch(n));const t=[...Tp];Tp.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(ip(),up(e,sp(e.url)).then(t).catch(n)));const n=[...Ap];Ap.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(lp(),up(e).then(t).catch(n)));const o=[...Ep];Ep.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(function(){const e=Mp().keys();for(const t of e)Op(t)}(),up(e).then(t).catch(n)))}let fp;function pp(){var e;return fp||(fp=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,tc()&&e.list&&e.list.forEach(e=>{rc(e,["text"])}),e))),fp}function hp(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const gp=hp("top:env(a)"),mp=hp("top:constant(a)"),vp=hp("backdrop-filter:blur(10px)"),yp=(()=>gp?"env":mp?"constant":"")();function bp(e){let t=0;if(e.isTabBar){const e=pp();e.shown&&(t=parseInt(e.height))}var n;Jc({"--window-top":(n=0,yp?`calc(${n}px + ${yp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":_p(t)})}function _p(e){return yp?`calc(${e}px + ${yp}(safe-area-inset-bottom))`:`${e}px`}const wp="$$",xp=new Map;function Cp(e){return e.$page}const Sp={handledBeforeEntryPageRoutes:!1},kp=[],Tp=[],Ap=[],Ep=[];function Mp(){return xp}function Pp(){return Lp()}function Lp(){const e=[],t=xp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Op(e,t=!0){const n=xp.get(e);n.$.__isUnload=!0,mu(n,fe),xp.delete(e),t&&function(e){const t=zp.get(e);t&&(zp.delete(e),Bp.pruneCacheEntry(t))}(e)}let $p=dd();function Dp(e){const t=ld();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,i,r){const{id:s,route:a}=o,l=dt(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:s,path:$e(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Ip(e){const t=Dp(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),xp.set(Rp(t.path,t.id),e),1===xp.size&&setTimeout(()=>{dp()},0)}function Rp(e,t){return e+wp+t}const zp=new Map,Bp={get:e=>zp.get(e),set(e,t){!function(e){const t=parseInt(e.split(wp)[1]);if(!t)return;Bp.forEach((e,n)=>{const o=parseInt(n.split(wp)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Bp.delete(n),Bp.pruneCacheEntry(e),oo(()=>{xp.forEach((e,t)=>{e.$.isUnmounted&&xp.delete(t)})})}})}(e),zp.set(e,t)},delete(e){zp.get(e)&&zp.delete(e)},forEach(e){zp.forEach(e)}};function Np(e,t){!function(e){const t=qp(e),{body:n}=document;Fp&&n.removeAttribute(Fp),t&&n.setAttribute(t,""),Fp=t}(e),bp(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),Hp(e,t)}function jp(e){const t=qp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function qp(e){return e.type.__scopeId}let Fp;const Vp=!!(()=>{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 Wp;function Hp(e,t){if(document.removeEventListener("touchmove",vu),Wp&&document.removeEventListener("scroll",Wp),t.disableScroll)return document.addEventListener("touchmove",vu,Vp);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},s=Cp(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&Jy.publishHandler(ve,{scrollTop:o},e),n&&Jy.emit(e+"."+ve,{scrollTop:o})}}(s,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>Jy.publishHandler(be,{},s)),Wp=_u(r),requestAnimationFrame(()=>document.addEventListener("scroll",Wp))}function Up(e){const{base:t}=__uniConfig.router;return 0===$e(e).indexOf(t)?$e(e):t+e}function Yp(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 Up(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Lp();return o.length?Up(wu(Cp(o[o.length-1]).route,e).slice(1)):e}const Xp=navigator.userAgent,Gp=/android/i.test(Xp),Kp=/iphone|ipad|ipod/i.test(Xp),Jp=Xp.match(/Windows NT ([\d|\d.\d]*)/i),Qp=/Macintosh|Mac/i.test(Xp),Zp=/Linux|X11/i.test(Xp),eh=Qp&&navigator.maxTouchPoints>0;function th(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function nh(e){return e&&90===Math.abs(window.orientation)}function oh(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function ih(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function rh(e,t,n,o){Qy.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function sh(e,t){const n={},{top:o,topWindowHeight:i}=Gc();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 r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-i,n.bottom=r.bottom-o-i),t.size&&(n.width=r.width,n.height=r.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 ah(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 lh={};function ch(e,t){const n=lh[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]:"",i=atob(t[1]);let r=i.length;const s=new Uint8Array(r);for(;r--;)s[r]=i.charCodeAt(r);return uh(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 uh(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const i=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],i,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||i}}return n}function dh(e){for(const n in lh)if(f(lh,n)){if(lh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return lh[t]=e,t}const fh=Hu(),ph=Hu();const hh=Gu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=zn(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),i=function(e,t,n){const o=wn({width:-1,height:-1});return Do(()=>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){ai(o),yi(()=>{t.initial&&oo(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,i,o),()=>Rr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[Rr("div",{onScroll:i},[Rr("div",null,null)],40,["onScroll"]),Rr("div",{onScroll:i},[Rr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const gh=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 mh(e,t=!0){const n=t?gh:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let vh=!1;function yh(){if(vh)return;vh=!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,i,r,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=gh,o*=gh,i*=gh,r*=gh,s*=gh,a*=gh,l=u?l*gh:l,c=u?c*gh:c,e.call(this,t,n,o,i,r,s,a,l,c)}}(t.drawImage),1!==gh&&(!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*gh});else if(Array.isArray(e))for(let t=0;tyh());function _h(e){return e?Yp(e):e}function wh(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function xh(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let Ch;function Sh(e=0,t=0){return Ch||(Ch=document.createElement("canvas")),Ch.width=e,Ch.height=t,Ch}const kh=Gu({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}){bh();const o=zn(null),i=zn(null),r=zn(null),s=zn(!1),a=function(e){return(t,n)=>{e(t,Mu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=pg({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=rs(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,r=c({},(()=>{let e={};for(const t in i)if(f(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];r[t]&&o.push(Ju(e=>{const o=e.currentTarget.getBoundingClientRect();xh(o,e.touches),xh(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Hc),r[t]=o}),r});return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],i={};const r=rs(()=>e.hidpi?gh:1);function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*r.value)||o.height!==Math.floor(n.height*r.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);mh(o,e.hidpi),t.putImageData(n,0,0)}else mh(o,e.hidpi)}function a({actions:e,reserve:r},s){if(!e)return;if(n.value)return void o.push([e,r]);let a=t.value,c=a.getContext("2d");r||(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=_h(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=_h(o),n[1]=o),o&&!i[o]&&r()})}function u(e,t,r,s){let l=i[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]},r),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,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;i=i?Math.min(i,m):m,l?(s=o,a=i):s||a?s?a||(a=Math.round(i/o*s)):(a||(a=Math.round(i*r.value)),s=Math.round(o/i*a)):(s=Math.round(o*r.value),a=Math.round(i*r.value));const v=Sh(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,i,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:i,height:r,compressed:s},a){try{0,r||(r=Math.round(e.length/4/i));const s=Sh(i,r);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,r),0,0),t.value.getContext("2d").drawImage(s,n,o,i,r),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:i,destHeight:r,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,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,i,s);return Ug(h,Xg(e.canvasId),!0),yi(()=>{g()}),()=>{const{canvasId:t,disableScroll:s}=e;return Rr("uni-canvas",Vr({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,p.value),[Rr("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Rr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Rr(hh,{ref:r,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Th(){}const Ah={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 Eh(e,t,n){function o(e){const t=rs(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Th,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Th,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Do(()=>t.value,e=>e&&o(e))}var Mh=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Ph=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Lh=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Oh=Bh("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),$h=Bh("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"),Dh=Bh("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"),Ih=Bh("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Rh=Bh("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),zh=Bh("script,style");function Bh(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},qh={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"]},Fh=Gu({name:"Image",props:Nh,setup(e,{emit:t}){const n=zn(null),o=function(e,t){const n=zn(""),o=rs(()=>{let e="auto",o="";const i=qh[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),i=wn({rootEl:e,src:rs(()=>t.src?Yp(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return yi(()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0}),i}(n,e),i=Qu(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=jh[o];if(!i)return;const{origWidth:r,origHeight:s}=n,a=r&&s?r/s:0;if(!a)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Vh&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,a))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return Do(()=>t.mode,(e,t)=>{jh[t]&&i(),jh[e]&&o()}),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,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();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;a(u,d,l),oo(()=>{o()}),r.draggable=t.draggable,s&&s.remove(),s=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{a(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};Do(()=>e.src,e=>l(e)),Do(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),yi(()=>l(e.src)),wi(()=>c())}(o,e,n,r,i),()=>Rr("uni-image",{ref:n},[Rr("div",{style:o.modeStyle},null,4),jh[e.mode]?Rr(hh,{onResize:r},null,8,["onResize"]):Rr("span",null,null)],512)}});const Vh="Google Inc."===navigator.vendor;const Wh=Ge(!0),Hh=[];let Uh=0,Yh=!1;const Xh=e=>Hh.forEach(t=>t.userAction=e);function Gh(e={userAction:!1}){if(!Yh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Uh&&Xh(!0),Uh++,setTimeout(()=>{! --Uh&&Xh(!1)},0)},Wh)}),Yh=!0}Hh.push(e)}function Kh(){const e=wn({userAction:!1});return yi(()=>{Gh(e)}),wi(()=>{!function(e){const t=Hh.indexOf(e);t>=0&&Hh.splice(t,1)}(e)}),{state:e}}function Jh(){const e=wn({attrs:{}});return yi(()=>{let t=Xr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Qh(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 Zh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const eg=["none","text","decimal","numeric","tel","search","email","url"],tg=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=>!!~eg.indexOf(e)},cursorColor:{type:String,default:""}},Ah),ng=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function og(e,t,n,o){let i=null;i=tt(n=>{t.value=Zh(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Do(()=>e.modelValue,i),Do(()=>e.value,i);const r=function(e,t){let n,o,i=0;const r=function(...r){const s=Date.now();clearTimeout(n),o=()=>{o=null,i=s,e.apply(this,r)},s-i{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return vi(()=>{i.cancel(),r.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function ig(e,t){Kh();const n=rs(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Do(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),yi(()=>{n.value&&oo(o)})}function rg(e,t,n,o){xc(du(),"getSelectedTextRange",Qh);const{fieldRef:i,state:r,trigger:s}=function(e,t,n){const o=zn(null),i=Qu(t,n),r=rs(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=rs(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=rs(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=rs(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=Zh(e.modelValue,e.type)||Zh(e.value,e.type);const u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:s,cursor:a});return Do(()=>u.focus,e=>n("update:focus",e)),Do(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:a}=og(e,r,n,s);ig(e,i),Eh(0,i);const{state:l}=Jh();!function(e,t){const n=Qi(nd,!1);if(!n)return;const o=Xr(),i={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(i),wi(()=>{n.removeField(i)})}("name",r),function(e,t,n,o,i,r){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}Do([()=>t.selectionStart,()=>t.selectionEnd],s),Do(()=>t.cursor,a),Do(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(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)})}(i,r,e,s,a,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const sg=c({},tg,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),ag=De(()=>{{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 lg(e,t,n,o,i){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+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&ag()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function cg(e){return"insertFromPaste"===e.inputType}const ug=Gu({name:"Input",props:sg,emits:["confirm",...ng],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=rs(()=>{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=rs(()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(P(e.textContentType));return i[-1!==t?t:-1!==n?n:0]}),a=rs(()=>{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=zn(null!=t?t.toLocaleString():"");return Do(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Do(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return zn("")}(e,r),c={fn:null};const u=zn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=rg(e,u,t,(e,t)=>{const n=e.target;if("number"===r.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=lg(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=lg(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!cg(e))return n.value=l.value=t.value,!1}});Do(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Do(()=>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=rs(()=>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?Rr("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:r.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"]):Rr("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===r.value&&f.maxlength>0&&t.length>f.maxlength?cg(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:r.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 Rr("uni-input",{ref:u},[Rr("div",{class:"uni-input-wrapper"},[No(Rr("div",Vr(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Es,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Rr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const dg=["class","style"],fg=/^on[A-Z]+/,pg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Xr(),i=Bn({}),r=Bn({}),s=Bn({}),a=n.concat(dg);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:fg.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,s.value=e.exclude}),{$attrs:i,$listeners:r,$excludeAttrs:s}};function hg(e){const t=[];return p(e)&&e.forEach(e=>{Pr(e)?e.type===yr?t.push(...hg(e.children)):t.push(e):p(e)&&t.push(...hg(e))}),t}const gg=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 mg,vg;function yg(e,t,n){wi(()=>{document.removeEventListener("mousemove",mg),document.removeEventListener("mouseup",vg)});let o=0,i=0,r=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-i,ddx:a-r,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;gg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=s=e.touches[0].pageY,a(e,"start",o,i)}),gg(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=s=e.pageY,a(e,"start",o,i)}),gg(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=mg=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return r=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),gg(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=vg=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),gg(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 bg=Gu({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=zn(null),i=zn(null),r=Qu(o,n),s=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return Do(()=>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=zn(null);yi(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=zn([]),c=zn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==_r);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Ji("getPickerViewColumn",function(e){return rs({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),r("change",{},{value:e})}}})}),Ji("pickerViewProps",e),Ji("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=hg(e);l.value=t,oo(()=>{c.value=t})}return Rr("uni-picker-view",{ref:o},[Rr(hh,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),Rr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class _g{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 wg(e,t,n){return e>t-n&&e0){const i=(-n-Math.sqrt(r))/(2*o),s=(-n+Math.sqrt(r))/(2*o),a=(t-i*e)/(s-i),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,i*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,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*i*t+a*s*n}}}const s=Math.sqrt(4*o*i-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||!xg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(xg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),xg(t,.4)&&(t=0),xg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&xg(o-e,.4)&&xg(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()),wg(this.x(),this._endPosition,.4)&&xg(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 Sg{constructor(e,t,n){this._extent=e,this._friction=t||new _g(.01),this._spring=n||new Cg(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 kg{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 Sg(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,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(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 i=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(),i!==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 Tg=Gu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=zn(null),i=zn(null),r=Qi("getPickerViewColumn"),s=Xr(),a=r?r(s):zn(0),l=Qi("pickerViewProps"),c=Qi("pickerViewState"),u=zn(34),d=zn(null);yi(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=rs(()=>(c.height-u.value)/2),{state:p}=Jh();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)}))}Do(()=>a.value,e=>{e!==g.current&&(g.current=e,v())}),Do(()=>g.current,e=>a.value=e),Do([()=>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 i=Math.min(g.current+t,g.length-1);g.current=i=Math.max(i,0),h.scrollTo(i*u.value)}}}const w=()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new kg(e,t);function i(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,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.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 r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.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(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(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,i=n.historyTime[t],r=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-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 _g(1e-4),spring:new Cg(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,yg(e,e=>{switch(e.detail.state){case"start":r(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 yi(w),()=>{const e=t.default&&t.default();g.length=hg(e).length;const n=`${f.value}px 0`;return Rr("uni-picker-view-column",{ref:o},[Rr("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[Rr("div",Vr(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),Rr("div",Vr(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Rr(hh,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Rr("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Ag={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:""},Eg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Mg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map(n=>{var o;if(C(n)){if(!f(n,"type")||"node"===n.type){let i={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!f(Ag,r))return;return function(e,t){if(C(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Yp(o))}}(r,n.attrs),i=c(i,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,i,Mg(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Br((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return f(Eg,t)&&Eg[t]?Eg[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 Pg(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,i,r=[],s=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&zh[r.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",r.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&&r[o]!=n;o--);else var o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}c()}(e,{start:function(e,o,i){const r={name:e};if(0!==o.length&&(r.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)),i){const e=t[0]||n;e.children||(e.children=[]),e.children.push(r)}else t.unshift(r)},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 Lg=Gu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Xr(),o=n&&n.vnode.scopeId||"",i=zn(null),r=zn([]),s=Qu(i,t);function a(e,t={}){s("itemclick",e,t)}return Do(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=Pg(e.nodes)),r.value=Mg(o,a,t)},{immediate:!0,deep:!0}),()=>ss("uni-rich-text",{ref:i},ss("div",{},r.value))}}),Og=Gu({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=zn(null),o=rs(()=>{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}),i=rs(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:r,refresherDefaultStyle:s,refresherThreshold:a}=e;return Rr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Rr("div",{class:"uni-scroll-view-refresh"},[Rr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?Rr("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Rr("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),Rr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?Rr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Rr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Rr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),$g=Ge(!0),Dg=Gu({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 i=zn(null),r=zn(null),s=zn(null),a=zn(null),l=Qu(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=rs(()=>Number(e.scrollTop)||0),n=rs(()=>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,i,r,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=rs(()=>e.scrollX),h=rs(()=>e.scrollY),g=rs(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),m=rs(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,i="";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 r=a.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",f),r.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),r.addEventListener("transitionend",f),r.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function y(e){const n=e.target;i("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&&(i("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&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("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&&(i("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=r.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=s.value.scrollLeft+n;e.scrollWithAnimation?v(i,"x"):s.value.scrollLeft=i}if(h.value){let n=o.top-t.top,i=s.value.scrollTop+n;e.scrollWithAnimation?v(i,"y"):s.value.scrollTop=i}}}}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 C(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),i("refresherrefresh",{},{dy:k.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:k.y-S.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:k.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},k={y:e.refresherThreshold};return yi(()=>{oo(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(r-S.y))if(p.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?C("refreshing"):C("refresherabort"),S={x:0,y:0},k={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,$g),s.value.addEventListener("touchmove",l,Ge(!1)),s.value.addEventListener("scroll",r,Ge(!1)),s.value.addEventListener("touchend",g,$g),wi(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",r),s.value.removeEventListener("touchend",g)})}),ai(()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Do(n,e=>{b(e)}),Do(o,e=>{_(e)}),Do(()=>e.scrollIntoView,e=>{w(e)}),Do(()=>e.refresherTriggered,e=>{!0===e?C("refreshing"):!1===e&&C("restore")}),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,i,r,a,t),h=rs(()=>{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=rs(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Rr("uni-scroll-view",{ref:i},[Rr("div",{ref:s,class:"uni-scroll-view"},[Rr("div",{ref:r,style:h.value,class:g.value},[t?Rr(Og,{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,Rr("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Ig(e,t,n,o,i,r){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=rs(()=>n.value.length>t.displayMultipleItems),y=rs(()=>e.circular&&v.value);function b(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||y.value&&function(o){if(!u)for(let i=n.value,r=i.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(i-=c.length),i=a%1>.5||a<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,i=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();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+i*u*u/2),l=requestAnimationFrame(x)}function C(e,o,i){w();const r=t.duration,s=n.value.length;let a=d;if(y.value)if(i<0){for(;ae;)a-=s}else if(i>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,i=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),p&&(b(p.toPos),p=null);const i=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&&S())):(u=!0,b(-t.displayMultipleItems-1))}),Do(()=>t.interval,()=>{c&&(s(),S())}),Do(()=>t.current,(e,o)=>{!function(e,o){const i=m;m="";const s=n.value;if(!i){const t=s.length;C(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)}),Do(()=>t.currentItemId,e=>{i("update:currentItemId",e)}),Do(()=>e.autoplay&&!t.userTracking,k),k(e.autoplay&&!t.userTracking),yi(()=>{let i=!1,r=0,a=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=_(d+o);e?b(g):(m="touch",t.current=i,C(i,"touch",0!==o?o:0===i&&y.value&&d>=1?1:0))}yg(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,s(),g=d,r=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(!i){i=!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&&S())}return function(i){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;r=.6*r+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-i.dy/f.offsetHeight,-i.ddy/d):u(-i.dx/f.offsetWidth,-i.ddx/d)}(c.detail),!1}}})}),xi(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){C(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Rg=Gu({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=zn(null),i=Qu(o,n),r=zn(null),s=zn(null),a=function(e){return wn({interval:rs(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:rs(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:rs(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=rs(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:eu(e.previousMargin,!0),bottom:eu(e.nextMargin,!0)}:{top:0,bottom:0,left:eu(e.previousMargin,!0),right:eu(e.nextMargin,!0)}),t}),c=rs(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=zn([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}f.value=e}Ji("addSwiperContext",function(e){d.push(e),p()});Ji("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Ig(e,a,f,s,n,i);let v=()=>null;return v=zg(o,e,a,h,f,g,m),()=>{const n=t.default&&t.default();return u=hg(n),Rr("uni-swiper",{ref:o},[Rr("div",{ref:r,class:"uni-swiper-wrapper"},[Rr("div",{class:"uni-swiper-slides",style:l.value},[Rr("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Rr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>Rr("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=zn(!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=i.value.length,t=!r.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=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=a-1);break;case"next":l++,l>=a&&r.value&&(l=0)}o(l)}const g=()=>su(ru,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:i}=n,{left:r,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(i-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 yi(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Rr(yr,null,[Rr("div",Vr({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"]),Rr("div",Vr({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}},Bg=Gu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=zn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,s=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=s,r.style.transform=s)}};return yi(()=>{const e=Qi("addSwiperContext");e&&e(o)}),xi(()=>{const e=Qi("removeSwiperContext");e&&e(o)}),()=>Rr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Ng={ensp:" ",emsp:" ",nbsp:" "};function jg(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&Ng[t]&&" "===r&&(r=Ng[t]),i?(o+="n"===r?ee:"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/ /g,Ng.nbsp).replace(/ /g,Ng.ensp).replace(/ /g,Ng.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const qg=Gu({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=zn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==_r){const n=jg(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Br(e)),t!==i&&o.push(Rr("br"))})}else o.push(t)}),Rr("uni-text",{ref:n,selectable:!!e.selectable||null},[Rr("span",null,o)],8,["selectable"])}}}),Fg=Gu({name:"View",props:c({},Zu),setup(e,{slots:t}){const n=zn(null),{hovering:o,binding:i}=ed(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Rr("uni-view",Vr({class:o.value?r:"",ref:n},i),[Ei(t,"default")],16):Rr("uni-view",{ref:n},[Ei(t,"default")],512)}}});function Vg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Wg(e,t,n){e&&xc(n||du(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Hg(e,t){e&&function(e,t){t=wc(e,t),delete _c[t]}(t||du(),e)}function Ug(e,t,n,o){const i=Xr().proxy;yi(()=>{Wg(t||Vg(i),e,o),!n&&t||Do(()=>i.id,(t,n)=>{Wg(Vg(i,t),e,o),Hg(n&&Vg(i,n))})}),wi(()=>{Hg(t||Vg(i),o)})}let Yg=0;function Xg(e){const t=au(),n=Xr().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+Yg++;return yi(()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}}),`${o}.${i}`}function Gg(e,t,n,o){m(t)&&gi(e,t.bind(n),o)}function Kg(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))&&(it.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];p(i)?i.forEach(e=>Gg(o,e,n,t)):Gg(o,i,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,mu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&mu(n,ie)}catch(i){console.error(i.message+ee+i.stack)}}}function Jg(e,t,n){Kg(e,t,n)}function Qg(e,t,n){return e[t]=n}function Zg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function em(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r[ae]?mu(r.proxy,ae,n):Yn(n,0,o&&o.$.vnode,!1)}}function tm(e,t){return e?[...new Set([].concat(e,t))]:t}function nm(e){const t=e.config;var n;t.errorHandler=st(e,em),n=t.optionMergeStrategies,it.forEach(e=>{n[e]=tm});const o=t.globalProperties;o.$set=Qg,o.$applyOptions=Jg,o.$callMethod=Zg,function(e){rt.forEach(t=>t(e))}(e)}function om(e){const t=Bl({history:sm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:rm});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(im[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let im=Object.create(null);const rm=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,im[o]);if(t)return t}return{left:0,top:0};var o};function sm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Qa(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Lp(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=Cp(t[i]);Op(Rp(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const am={install(e){nm(e),$u(e),Wu(e),e.config.warnHandler||(e.config.warnHandler=lm),om(e)}};function lm(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 cm={class:"uni-async-loading"},um=Rr("i",{class:"uni-loading"},null,-1),dm=Ku({name:"AsyncLoading",render:()=>(Sr(),Mr("div",cm,[um]))});function fm(){window.location.reload()}const pm=Ku({name:"AsyncError",props:["error"],setup(){lc();const{t:e}=sc();return()=>Rr("div",{class:"uni-async-error",onClick:fm},[e("uni.async.error")],8,["onClick"])}});let hm;function gm(){return hm}function mm(e){hm=e,Object.defineProperty(hm.$.ctx,"$children",{get:()=>Lp().map(e=>e.$vm)});const t=hm.$.appContext.app;t.component(dm.name)||t.component(dm.name,dm),t.component(pm.name)||t.component(pm.name,pm),function(e){e.$vm=e,e.$mpType="app";const t=zn(sc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(hm),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}})}(hm),Fu(),Cu()}function vm(e,{clone:t,init:n,setup:o,before:i}){t&&(e=c({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=Xr();if(n(i.proxy),o(i),r)return r(e,t)},e}function ym(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?vm(e.default,t):vm(e,t)}function bm(e){return ym(e,{clone:!0,init:Ip,setup(e){e.$pageInstance=e;const t=ud(),n=Qe(t.query);e.attrs.__pageQuery=n,Cp(e.proxy).options=n,e.proxy.options=n;const o=ld();var i,r;return bp(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),Do([e.onReachBottom,e.onPageScroll],()=>{const t=cu();e.proxy===t&&Hp(e,o)},{once:!0}),vi(()=>{Np(e,o)}),yi(()=>{jp(e);const{onReady:n}=e;n&&D(n),Cm(t)}),ci(()=>{if(!e.__isVisible){Np(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&D(n),oo(()=>{Cm(t)})}},"ba",i),function(e,t){ci(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&D(t)}}}),r=o.id,Jy.subscribe(wc(r,vc),Cc),wi(()=>{!function(e){Jy.unsubscribe(wc(e,vc)),Object.keys(_c).forEach(t=>{0===t.indexOf(e+".")&&delete _c[t]})}(o.id)}),n}})}function _m(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=lv(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Qy.emit(ge,{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function wm(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Qy.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function xm(){const{emit:e}=Qy;"visible"===document.visibilityState?e(Pe,c({},ph)):e(Le)}function Cm(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&mu("onTabItemTap",{index:n,text:t,pagePath:o})}function Sm(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),i=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(r=i+":"+r),r}function km(e,t,n){const o=wn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let r=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.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=i,h=t.value;if("progress"===c?(!function(e){const n=t.value,i=n.duration;let r=e/600*i+o.currentTimeOld;r<0?r=0:r>i&&(r=i);o.currentTimeNew=r}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,i=o.volumeOld;let r;"number"==typeof i&&(r=i-e/200,r<0?r=0:r>1&&(r=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=r,o.volumeNew=r)}(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!=r||(r=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 Tm={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}},Am=Gu({name:"Video",props:Tm,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=zn(null),r=zn(null),s=Qu(i,t),{state:a}=Kh(),{$attrs:l}=pg({excludeListeners:!0});sc(),gc();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:C,onPause:S,onEnded:k,onTimeUpdate:T}=function(e,t,n){const o=zn(null),i=rs(()=>Yp(e.src)),r=rs(()=>"true"===e.muted||!0===e.muted),s=wn({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:r,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 Do(()=>i.value,()=>{s.playing=!1,s.currentTime=0}),Do(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Do(()=>r.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,i=t.target;o>0&&(i.currentTime=o),n("loadedmetadata",t,{width:i.videoWidth,height:i.videoHeight,duration:i.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:A,danmuRef:E,updateDanmu:M,toggleDanmu:P,sendDanmu:L}=function(e,t){const n=zn(null),o=wn({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const r=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 r.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=i,l={time:n,index:a.index};if(n>a.time)for(let i=a.index+1;i=(e.time||0)))break;l.index=i,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(r[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:$,emitFullscreenChange:D,toggleFullscreen:I,requestFullScreen:R,exitFullScreen:z}=function(e,t,n,o,i){const r=wn({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=i.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"),r.appendChild(l)),u&&a(e)}function c(){l(!1)}return wi(c),{state:r,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,r,c,a,i),{state:B,onTouchstart:N,onTouchend:j,onTouchmove:q}=km(e,c,O),{state:F,progressRef:V,ballRef:W,clickProgress:H,toggleControls:U}=function(e,t,n,o){const i=zn(null),r=zn(null),s=rs(()=>e.showCenterPlayBtn&&!t.start),a=zn(!0),l=rs(()=>!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 wi(()=>{u&&clearTimeout(u)}),Do(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),yi(()=>{const e=Ge(!1);let s,a,l,u=!0;const d=r.value;function f(e){const n=e.targetTouches[0],r=n.pageX,d=n.pageY;if(u&&Math.abs(r-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:i,ballRef:r,clickProgress:function(e){const o=i.value;let r=e.target,s=e.offsetX;for(;r&&r!==o;)s+=r.offsetLeft,r=r.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=>{B.currentTimeNew=e});!function(e,t,n,o,i,r,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:r,requestFullScreen:s,exitFullScreen:a};Ug((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)},Xg(),!0)}(d,f,h,g,L,m,R,z);const Y=function(e,t,n){const o=rs(()=>"progress"===t.gestureType||n.touching);return Do(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Do([()=>e.currentTime,()=>{Tm.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Do(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,B,F);return()=>Rr("uni-video",{ref:i,id:e.id,onClick:U},[Rr("div",{ref:r,class:"uni-video-container",onTouchstart:N,onTouchend:j,onTouchmove:q,onFullscreenchange:ta($,["stop"]),onWebkitfullscreenchange:ta(e=>$(e,!0),["stop"])},[Rr("video",Vr({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:C,onPause:S,onEnded:k,onTimeupdate:e=>{T(e),M(e)},onWebkitbeginfullscreen:()=>D(!0),onX5videoenterfullscreen:()=>D(!0),onWebkitendfullscreen:()=>D(!1),onX5videoexitfullscreen:()=>D(!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(Rr("div",{class:"uni-video-bar uni-video-bar-full",onClick:ta(()=>{},["stop"])},[Rr("div",{class:"uni-video-controls"},[No(Rr("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"]),[[Es,e.showPlayBtn]]),No(Rr("div",{class:"uni-video-current-time"},[Sm(u.currentTime)],512),[[Es,e.showProgress]]),No(Rr("div",{ref:V,class:"uni-video-progress-container",onClick:ta(H,["stop"])},[Rr("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[Rr("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),Rr("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),Rr("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[Rr("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Es,e.showProgress]]),No(Rr("div",{class:"uni-video-duration"},[Sm(Number(e.duration)||u.duration)],512),[[Es,e.showProgress]])]),No(Rr("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":A.enable},onClick:ta(P,["stop"])},null,10,["onClick"]),[[Es,e.danmuBtn]]),No(Rr("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:ta(()=>I(!O.fullscreen),["stop"])},null,10,["onClick"]),[[Es,e.showFullscreenBtn]])],8,["onClick"]),[[Es,F.controlsShow]]),No(Rr("div",{ref:E,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Es,u.start&&A.enable]]),F.centerPlayBtnShow&&Rr("div",{class:"uni-video-cover",onClick:ta(()=>{},["stop"])},[Rr("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ta(d,["stop"])},null,8,["onClick"])],8,["onClick"]),Rr("div",{class:"uni-video-loading"},["volume"===B.gestureType?Rr("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":B.toastThin},style:{marginTop:"5px"}},[!B.toastThin&&B.volumeNew>0&&"volume"===B.gestureType?Rr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!B.toastThin&&Rr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Rr("div",{class:"uni-video-toast-draw",style:{width:100*B.volumeNew+"%"}},null)],2):null]),Rr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[Rr("div",{class:"uni-video-toast-title"},[Rr("span",{class:"uni-video-toast-title-current-time"},[Sm(B.currentTimeNew)])," / ",Number(e.duration)||Sm(u.duration)])],2),Rr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}});let Em,Mm=0;function Pm(e,t,n,o){var i,r=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+Mm++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[a],r.remove()}window[a]=e=>{m(n)&&n(e),c()},r.onerror=()=>{m(o)&&o(),c()},i=setTimeout(function(){m(o)&&o(),c()},l),r.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(r)}function Lm(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 i(){}function r(){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=r,this.createBMapText=i,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(jm())this.callback=a,this.visible&&this.createAMapText();else if(qm())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 i=this.triangle=document.createElement("div");i.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(i),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,jm()?this.visible&&this.createAMapText():qm()?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(!jm()&&!qm()){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 Om={};function $m(e,t){const n=zm();if(!n.key)return void console.error("Map key not configured.");const o=Om[n.type]=Om[n.type]||[];if(Em)t(Em);else if(window[n.type]&&window[n.type].maps)Em=jm()||qm()?window[n.type]:window[n.type].maps,Em.Callout=Em.Callout||Lm(Em),t(Em);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],Em=jm()||qm()?window[n.type]:window[n.type].maps,Em.Callout=Lm(Em),o.forEach(e=>e(Em)),o.length=0},jm()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=Dm(n.type);n.type===Rm.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Rm.BMAP?s.src=`${a}ak=${n.key}&callback=${r}`:s.src=`${a}key=${n.key}&callback=${r}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const Dm=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]);const Im="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/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=";var Rm=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Rm||{});function zm(){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 Bm=!1,Nm=!1;const jm=()=>Nm?Bm:(Nm=!0,Bm="AMap"===zm().type),qm=()=>"BMapGL"===zm().type;const Fm=Ku({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=Qi("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),xi(()=>{n.remove()}),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),i=document.createElement("div");return Object.keys(o).forEach(e=>{i.style[e]=o[e]||""}),n.innerText=`.${t}{${i.getAttribute("style")}}`,t}}(t);let i;function r(e){jm()?e.removeAMapText():e.setMap(null)}if(n((n,s,a)=>{function l(e){const l=e.title;let c;c=jm()?new s.LngLat(e.longitude,e.latitude):qm()?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)},qm()?(i=new s.Marker(new s.Point(c.lng,c.lat)),n.addOverlay(i)):(i.setPosition(c),i.setIcon(p)),"setRotation"in i&&i.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in i&&(i.label.setMap(null),delete i.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}),i.label=_;else if("setLabel"in i)if(jm()){const t=`
\n ${b.content}\n
`;i.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);i.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,C=i.callout;if(w.content||l){jm()&&w.content&&(w.content=w.content.replaceAll("\n","
"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let r=-d/2;if((e.width||e.height)&&(r+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:r,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:r,content:l,boxShadow:o},C)C.setOption(x);else if(jm()){const e=()=>{""!==t&&a("callouttap",{},{markerId:Number(t)})};C=i.callout=new s.Callout(x,e)}else C=i.callout=new s.Callout(x),C.div.onclick=function(e){""!==t&&a("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},zm().type===Rm.GOOGLE&&(C.div.ontouchstart=function(e){e.stopPropagation()},C.div.onpointerdown=function(e){e.stopPropagation()})}else C&&(r(C),delete i.callout)},e.iconPath?u.src=Yp(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){qm()||(i=new s.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=s.event||s.Event;qm()||o.addListener(i,"click",()=>{const n=i.callout;if(n&&!n.alwaysVisible)if(jm())n.visible=!n.visible,n.visible?i.callout.createAMapText():i.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),Do(e,l)}),t){const e=Qi("addMapChidlContext"),o=Qi("removeMapChidlContext"),r={id:t,translate(e){n((t,n,o)=>{const r=e.destination,s=e.duration,a=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in i&&(c=i.getRotation());const u=i.getPosition(),d=new n.LatLng(r.latitude,r.longitude),f=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof s?s:1e3)/36e5),p=n.event||n.Event,h=p.addListener(i,"moving",e=>{const t=e.latLng,n=i.label;n&&n.setPosition(t);const o=i.callout;o&&o.setPosition(t)}),g=p.addListener(i,"moveend",()=>{g.remove(),h.remove(),i.lastPosition=u,i.setPosition(d);const t=i.label;t&&t.setPosition(d);const n=i.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()});let v=0;a&&(i.lastPosition&&(v=n.geometry.spherical.computeHeading(i.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in i&&i.setRotation(c+l),"moveTo"in i?i.moveTo(d,f):(i.setPosition(d),p.trigger(i,"moveend",{}))})}};e(r),xi(()=>o(r))}return xi(function(){i&&(i.label&&"setMap"in i.label&&i.label.setMap(null),i.callout&&r(i.callout),i.setMap(null))}),()=>null}});function Vm(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,i,r,s]=t.match(/(\w{2})/g);const a=parseInt(o,16),l=parseInt(i,16),c=parseInt(r,16);return s?{r:a,g:l,b:c,a:(`0x100${s}`-65536)/255}:{r:a,g:l,b:c,a:1}}const Wm={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:""}},Hm=Ku({name:"MapPolyline",props:Wm,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Qi("onMapReady")((i,r)=>{function s(e){const o=[];e.points.forEach(e=>{let t;t=jm()?[e.longitude,e.latitude]:qm()?new r.Point(e.longitude,e.latitude):new r.LatLng(e.latitude,e.longitude),o.push(t)});const s=Number(e.width)||1,{r:a,g:l,b:c,a:u}=Vm(e.color),{r:d,g:f,b:p,a:h}=Vm(e.borderColor),g={map:i,clickable:!1,path:o,strokeWeight:s,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:i,clickable:!1,path:o,strokeWeight:s+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in r?(g.strokeColor=new r.Color(a,l,c,u),v.strokeColor=new r.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 r.Polyline(v)),qm()?(t=new r.Polyline(g.path,g),i.addOverlay(t)):t=new r.Polyline(g)}s(e),Do(e,function(e){o(),s(e)})}),xi(o),()=>null}}),Um=Ku({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 Qi("onMapReady")((o,i)=>{function r(e){const n=jm()||qm()?[e.longitude,e.latitude]:new i.LatLng(e.latitude,e.longitude),r={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(qm())r.strokeColor=e.color,r.fillColor=e.fillColor||"#000",r.fillOpacity=1;else{const{r:t,g:n,b:o,a:s}=Vm(e.fillColor),{r:a,g:l,b:c,a:u}=Vm(e.color);"Color"in i?(r.fillColor=new i.Color(t,n,o,s),r.strokeColor=new i.Color(a,l,c,u)):(r.fillColor=`rgb(${t}, ${n}, ${o})`,r.fillOpacity=s,r.strokeColor=`rgb(${a}, ${l}, ${c})`,r.strokeOpacity=u)}if(qm()){let e=new i.Point(r.center[0],r.center[1]);t=new i.Circle(e,r.radius,r),o.addOverlay(t)}else t=new i.Circle(r),jm()&&o.add(t)}r(e),Do(e,function(e){n(),r(e)})}),xi(n),()=>null}}),Ym={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}},Xm=Ku({name:"MapControl",props:Ym,setup(e){const t=rs(()=>Yp(e.iconPath)),n=rs(()=>{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()=>Rr("div",{class:"uni-map-control"},[Rr("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Gm=Gd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Km="__DC_STAT_UUID",Jm=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Qm;function Zm(){if(Qm=Qm||Jm[Km],!Qm){Qm=Date.now()+""+Math.floor(1e7*Math.random());try{Jm[Km]=Qm}catch(e){}}return Qm}function ev(){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 tv(){let e,t="0",n="",o="phone";const i=navigator.language;if(Kp){e="iOS";const o=Xp.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=Xp.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Gp){e="Android";const o=Xp.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=Xp.match(/\((.+?)\)/),r=i?i[1].split(";"):Xp.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=th(),n=nh(t),o=oh(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=ih(o);let s=window.innerHeight;const a=Wc.top,l={left:Wc.left,right:r-Wc.right,top:Wc.top,bottom:s-Wc.bottom,width:r-Wc.left-Wc.right,height:s-Wc.top-Wc.bottom},{top:c,bottom:u}=Gc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Wc.top,right:Wc.right,bottom:Wc.bottom,left:Wc.left},screenTop:i-s}});let ov,iv=!0;function rv(){iv&&(ov=tv())}const sv=Xd(0,()=>{rv();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=ov;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Zm(),deviceOrientation:s,deviceType:a,model:o,platform:i,system:r,osName:l?l.toLowerCase():void 0,osVersion:u})}),av=Xd(0,()=>{rv();const{theme:e,language:t,browserName:n,browserVersion:o}=ov;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Tf?Tf():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},{})}),lv=Xd(0,()=>{iv=!0,rv(),iv=!1;const e=nv(),t=sv(),n=av();iv=!0;const{ua:o,browserName:i,browserVersion:r,osname:s,osversion:a}=ov,l=c(e,t,n,{ua:o,browserName:i,browserVersion:r,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 C(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});let cv=null;const uv=Hd(Mf,()=>{fv()}),dv=Ud("offCompass",()=>{pv()}),fv=Gd("startCompass",(e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!cv){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(){cv=function(e){const t=360-(null!==e.alpha?e.alpha:360);Qy.invokeOnCallback(Mf,{direction:t})},window.addEventListener("deviceorientation",cv,!1)}}),pv=Gd("stopCompass",(e,{resolve:t})=>{cv&&(window.removeEventListener("deviceorientation",cv,!1),cv=null),t()});const hv=Gd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],i=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 i=document.createElement("textarea");i.setAttribute("inputmode","none"),i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{a(i.next(e))}catch(n){t(n)}},s=e=>{try{a(i.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((i=i.apply(n,o)).next())});var n,o,i},0,Ef);const gv=Xd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function mv(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 vv=Xd(0,e=>{try{return mv(e)}catch(t){return""}}),yv=Xd(0,e=>{localStorage&&localStorage.removeItem(e)}),bv={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 _v=null;const wv=Gd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{fc();const{t:r}=sc();_v&&(document.body.removeChild(_v),_v=null),_v=function({count:e,sourceType:t,type:n,extension:o}){Gh();const i=document.createElement("input");return i.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${bv[n][t]||t}`}}).join(","),e&&e>1&&(i.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(_v),_v.addEventListener("cancel",()=>{i("chooseImage:fail cancel")}),_v.addEventListener("change",function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(r=r||dh(t),r)}),oe)},tempFiles:i})}),_v.click(),Uh||console.warn(r("uni.chooseFile.notUserActivation"))},0,Df),xv={esc:["Esc","Escape"],enter:["Enter"]},Cv=Object.keys(xv);function Sv(){const e=zn(""),t=zn(!1),n=n=>{if(t.value)return;const o=Cv.find(e=>-1!==xv[e].indexOf(n.key));o&&(e.value=o),oo(()=>e.value="")};return yi(()=>{document.addEventListener("keyup",n)}),wi(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const kv=Rr("div",{class:"uni-mask"},null,-1);function Tv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ia(Qo({setup:()=>()=>(Sr(),Mr(e,t,null,16))}))}function Av(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Ev(e,{onEsc:t,onEnter:n}){const o=zn(e.visible),{key:i,disable:r}=Sv();return Do(()=>e.visible,e=>o.value=e),Do(()=>o.value,e=>r.value=!e),Oo(()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let Mv=0,Pv="";function Lv(e){let t=Mv;Mv+=e?1:-1,Mv=Math.max(0,Mv),Mv>0?0===t&&(Pv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Pv,Pv="")}const Ov=Yd("request",({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,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 Dv(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=$v(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 i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=Rv(n,r,i)),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 Dv(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=r,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=Rv(n,r,i)),c({data:n,statusCode:e,header:Iv(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,Bf),$v=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 i=0;i{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 Iv(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 Rv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}class zv{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 Bv=Yd("uploadFile",({url:e,file:t,filePath:n,name:o,files:i,header:r={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new zv;return p(i)&&i.length||(n||c("file error"),i=[{name:o,file:t,uri:n}]),Promise.all(i.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(uh(e)):ch(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach(e=>{d.append(e,s[e])}),Object.values(i).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(r).forEach(e=>{o.setRequestHeader(e,r[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,Nf),Nv=Gd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const s=zm();new Promise((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{s.type===Rm.QQ?Pm(`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===Rm.GOOGLE?Ov({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===Rm.AMAP?$m([],()=>{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=zm();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Pm(`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:i}=n.locations[0];e({longitude:o,latitude:i,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=>{$m([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,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=>{i({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=>{r(e.message)})}).catch(e=>{r(e.message||JSON.stringify(e))})},0,Lf);const jv=Ku({name:"LocationView",props:{latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=function(e){const t=wn({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:Im,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return Do([()=>e.latitude,()=>e.longitude],n),n(),t}(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function i(){const t=zm();let o="";if(t.type===Rm.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===Rm.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}&from=${encodeURIComponent("我的位置")}`:""}&tocoord=${e.latitude}%2C${e.longitude}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else if(t.type===Rm.AMAP){o=`https://uri.amap.com/navigation?${n.location.latitude?`from=${n.location.longitude},${n.location.latitude},${encodeURIComponent("我的位置")}&`:""}to=${e.longitude},${e.latitude},${encodeURIComponent(e.name||"目的地")}`}window.open(o)}function r(){t("close")}function s({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}return yi(()=>Lv(!0)),xi(()=>Lv(!1)),Nv({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>Rr("div",{class:"uni-system-open-location"},[Rr(Ny,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[Rr("div",{class:"map-move",onClick:()=>s(n.location)},[su("M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z","#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),Rr("div",{class:"info"},[Rr("div",{class:"name",onClick:()=>s(n.marker)},[e.name],8,["onClick"]),Rr("div",{class:"address",onClick:()=>s(n.marker)},[e.address],8,["onClick"]),Rr("div",{class:"nav",onClick:i},[su("M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z","#ffffff",26)],8,["onClick"])]),Rr("div",{class:"nav-btn-back",onClick:r},[su(ru,"#ffffff",26)],8,["onClick"])])}});let qv=null;const Fv=Gd("openLocation",(e,{resolve:t})=>{qv?c(qv,e):(qv=wn(e),oo(()=>{const e=Tv(jv,qv,()=>{qv=null,oo(()=>{e.unmount()})});e.mount(Av("u-a-o"))})),t()},0,$f),Vv=Gd(qf,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(Sp.handledBeforeEntryPageRoutes)return up({type:qf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(i);kp.push({args:{type:qf,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Uf);function Wv(e){__uniConfig.darkmode&&Qy.on(le,e)}function Hv(e){Qy.off(le,e)}function Uv(e){let t={};return __uniConfig.darkmode&&(t=dt(e,__uniConfig.themeConfig,ev())),__uniConfig.darkmode?t:e}const Yv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Xv=Qo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=zn(""),o=()=>s.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),s=Ev(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),a=function(e){const t=zn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Yv[e].cancelColor})(e,t)};return Oo(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===ev()&&n({theme:"dark"}),Wv(n))):Hv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Rr(hs,{name:"uni-fade"},{default:()=>[No(Rr("uni-modal",{onTouchmove:Hc},[kv,Rr("div",{class:"uni-modal"},[t?Rr("div",{class:"uni-modal__hd"},[Rr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Rr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Rr("div",{class:"uni-modal__bd",onTouchmovePassive:Uc,textContent:o},null,40,["onTouchmovePassive","textContent"]),Rr("div",{class:"uni-modal__ft"},[l&&Rr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),Rr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Es,s.value]])]})}}});let Gv;const Kv=De(()=>{Qy.on("onHidePopup",()=>Gv.visible=!1)});let Jv;function Qv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Gv.editable&&(o.content=t),Jv&&Jv(o)}const Zv=Gd("showModal",(e,{resolve:t})=>{Kv(),Jv=t,Gv?(c(Gv,e),Gv.visible=!0):(Gv=wn(e),oo(()=>(Tv(Xv,Gv,Qv).mount(Av("u-a-m")),oo(()=>Gv.visible=!0))))},0,ep),ey={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==tp.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},ty="uni-toast__icon",ny={light:"#fff",dark:"rgba(255,255,255,0.9)"},oy=e=>ny[e],iy=Qo({name:"Toast",props:ey,setup(e){cc(),uc();const{Icon:t}=function(e){const t=zn(oy(ev())),n=({theme:e})=>t.value=oy(e);Oo(()=>{e.visible?Wv(n):Hv(n)});const o=rs(()=>{switch(e.icon){case"success":return Rr(su(ou,t.value,38),{class:ty});case"error":return Rr(su(iu,t.value,38),{class:ty});case"loading":return Rr("i",{class:[ty,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Ev(e,{});return()=>{const{mask:o,duration:i,title:r,image:s}=e;return Rr(hs,{name:"uni-fade"},{default:()=>[No(Rr("uni-toast",{"data-duration":i},[o?Rr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Hc},null,40,["onTouchmove"]):"",s||t.value?Rr("div",{class:"uni-toast"},[s?Rr("img",{src:s,class:ty},null,10,["src"]):t.value,Rr("p",{class:"uni-toast__content"},[r])]):Rr("div",{class:"uni-sample-toast"},[Rr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Es,n.value]])]})}}});let ry,sy,ay="";const ly=gt();function cy(e){ry?c(ry,e):(ry=wn(c(e,{visible:!1})),oo(()=>{ly.run(()=>{Do([()=>ry.visible,()=>ry.duration],([e,t])=>{if(e){if(sy&&clearTimeout(sy),"onShowLoading"===ay)return;sy=setTimeout(()=>{hy("onHideToast")},t)}else sy&&clearTimeout(sy)})}),Qy.on("onHidePopup",()=>hy("onHidePopup")),Tv(iy,ry,()=>{}).mount(Av("u-a-t"))})),setTimeout(()=>{ry.visible=!0},10)}const uy=Gd("showToast",(e,{resolve:t,reject:n})=>{cy(e),ay="onShowToast",t()},0,np),dy={icon:"loading",duration:1e8,image:""},fy=Gd("showLoading",(e,{resolve:t,reject:n})=>{c(e,dy),cy(e),ay="onShowLoading",t()},0,Zf),py=Gd("hideLoading",(e,{resolve:t,reject:n})=>{hy("onHideLoading"),t()});function hy(e){const{t:t}=sc();if(!ay)return;let n="";if("onHideToast"===e&&"onShowToast"!==ay?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==ay&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);ay="",setTimeout(()=>{ry.visible=!1},10)}const gy=Gd("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:i})=>{(function(e,t,n){const o=document.fonts;if(o){const i=new FontFace(e,t,n);return i.load().then(()=>{o.add&&o.add(i)})}return new Promise(o=>{const i=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:s,featureSettings:a}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),i&&r.push(`unicode-range:${i}`),s&&r.push(`font-variant:${s}`),a&&r.push(`font-feature-settings:${a}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(i),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Yp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Yp(t.substring(4,t.length-1))}')`:Yp(t),n).then(()=>{o()}).catch(e=>{i(`loadFontFace:fail ${e}`)})});function my(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Qy.emit("onNavigationBarChange",{titleText:t})}Oo(t),ai(t)}const vy=Gd(op,(e,{resolve:t})=>{Qy.invokeViewMethod(op,{},du()),t()}),yy=Ku({name:"TabBar",setup(){const e=zn([]),t=pp(),n=function(e,t){const n=kn(e),o=n?wn(Uv(e)):Uv(e);return __uniConfig.darkmode&&n&&Do(e,e=>{const t=Uv(e);for(const n in t)o[n]=t[n]}),t&&Wv(t),o}(t,()=>{const e=Uv(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}zn(c({type:"midButton"},e.midButton)),Oo(n)}(n,e),function(e){Do(()=>e.shown,t=>{Jc({"--window-bottom":_p(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,i=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=i}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:i}=t;let r=$e(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?ap({from:"tabBar",url:r,tabBarText:i}):mu("onTabItemTap",{index:n,text:i,pagePath:o})}}}(Nl(),n,e),{style:i,borderStyle:r,placeholderStyle:s}=function(e){const t=rs(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||vp&&n&&"none"!==n&&(t=xy[n]),{backgroundColor:t||by,backdropFilter:"none"!==n?"blur(10px)":n}}),n=rs(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:Cy[t]||Cy.black}}),o=rs(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return yi(()=>{n.iconfontSrc&&gy({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:r}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,i,r,s,a){return Rr("div",{key:s,class:"uni-tabbar__item",onClick:a(i,s)},[Sy(e,t||"",n,o,i,r)],8,["onClick"])}(a?i:r,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 Rr("uni-tabbar",{class:"uni-tabbar-"+n.position},[Rr("div",{class:"uni-tabbar",style:i.value},[Rr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),Rr("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const by="#f7f7fa",_y="rgb(0, 0, 0, 0.8)",wy="rgb(250, 250, 250, 0.8)",xy={dark:_y,light:wy,extralight:wy},Cy={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Sy(e,t,n,o,i,r){const{height:s}=r;return Rr("div",{class:"uni-tabbar__bd",style:{height:s}},[n?Ty(n,o||_y,i,r):t&&ky(t,i,r),i.text&&Ay(e,i,r),i.redDot&&Ey(i.badge)],4)}function ky(e,t,n){const{type:o,text:i}=t,{iconWidth:r}=n;return Rr("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&Rr("img",{src:Yp(e)},null,8,["src"])],6)}function Ty(e,t,n,o){var i;const{type:r,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||a,color:t};return Rr("div",{class:l,style:c},["midButton"!==r&&Rr("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Ay(e,t,n){const{iconPath:o,text:i}=t,{fontSize:r,spacing:s}=n;return Rr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[i],4)}function Ey(e){return Rr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const My="0px",Py=Ku({name:"Layout",setup(e,{emit:t}){const n=zn(null);Kc({"--status-bar-height":My,"--top-window-height":My,"--window-left":My,"--window-right":My,"--window-margin":My,"--tab-bar-height":My});const o=function(){const e=Nl();return{routeKey:rs(()=>Rp("/"+e.meta.route,dd())),isTabBar:rs(()=>e.meta.isTabBar),routeCache:Bp}}(),{layoutState:i,windowState:r}=function(){ud();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Do(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Do(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Do(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:rs(()=>({}))}}}();!function(e,t){const n=ud();function o(){const o=document.body.clientWidth,i=Lp();let r={};if(i.length>0){r=Cp(i[i.length-1]).meta}else{const e=xu(n.path,!0);e&&(r=e.meta)}const s=parseInt(String((f(r,"maxWidth")?r.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")}))}Do([()=>n.path],o),yi(()=>{o(),window.addEventListener("resize",o)})}(i,n);const s=function(){const e=ud(),t=pp(),n=rs(()=>e.meta.isTabBar&&t.shown);return Kc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=zn(!1);return rs(()=>({"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 Rr(zl,null,{default:bo(({Component:o})=>[(Sr(),Mr(ri,{matchBy:"key",cache:n},[(Sr(),Mr(Ao(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return No(Rr(yy,null,null,512),[[Es,e.value]])}(s);return Rr("uni-app",{ref:n,class:a.value},[e,t],2)}}});const Ly="MAP_LOCATION",Oy=Ku({name:"MapLocation",setup(){const e=wn({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){Nv({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{r=setTimeout(n,3e4)}})},o=function(){r&&clearTimeout(r),dv(t)};const i=Qi("onMapReady");let r;uv(t),i(n),xi(o);const s=Qi("addMapChidlContext"),a=Qi("removeMapChidlContext"),l={id:Ly,state:e};s(l),xi(()=>a(l))}return()=>e.latitude?Rr(Fm,Vr({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:Im},e),null,16,["iconPath"]):null}}),$y=Ku({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 Qi("onMapReady")((n,o,i)=>{function r(){const{points:i,strokeWidth:r,strokeColor:s,dashArray:a,fillColor:l,zIndex:c}=e,u=i.map(e=>{const{latitude:t,longitude:n}=e;return jm()?[n,t]:qm()?new o.Point(n,t):new o.LatLng(t,n)}),{r:d,g:f,b:p,a:h}=Vm(l),{r:g,g:m,b:v,a:y}=Vm(s),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:a.some(e=>e>0)?"dash":"solid",strokeWeight:r,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):qm()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}r(),Do(e,r)}),xi(()=>{t.setMap(null)}),()=>null}});function Dy(e){const t=[];return p(e)&&e.forEach(e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})}),t}function Iy(e,t,n){return qm()?function(e,t,n){return new e.Point(n,t)}(e,t,n):jm()?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 Ry(e){return"getLat"in e?e.getLat():qm()?e.lat:e.lat()}function zy(e){return"getLng"in e?e.getLng():qm()?e.lng:e.lng()}function By(e,t,n){const o=Qu(t,n),i=zn(null);let r,s;const a=wn({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Dy(e.includePoints)}),l=[];let u,d;function f(e){u?e(s,r,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:Ry(e),longitude:zy(e)}}}function y(){if(jm()){const e=[];a.includePoints.forEach(t=>{e.push([t.longitude,t.latitude])});const t=new r.Bounds(...e);s.setBounds(t)}else if(qm());else{const e=new r.LatLngBounds;a.includePoints.forEach(({latitude:t,longitude:n})=>{const o=new r.LatLng(t,n);e.extend(o)}),s.fitBounds(e)}}function b(){const t=i.value,l=Iy(r,a.latitude,a.longitude),u=r.event||r.Event,d=new r.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(qm()&&(d.centerAndZoom(l,Number(e.scale)),d.enableScrollWheelZoom(),d._printLog&&d._printLog("uniapp")),Do(()=>e.scale,e=>{d.setZoom(Number(e)||16)}),h(()=>{a.includePoints.length&&(y(),function(){const e=Iy(r,a.latitude,a.longitude);s.setCenter(e)}())}),qm())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=Ry(e),o=zy(e);n("update:latitude",t),n("update:longitude",o)})}return d}Do([()=>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=Iy(r,a.latitude,a.longitude);s.setCenter(e)}}),Do(()=>e.includePoints,e=>{a.includePoints=Dy(e),d&&y()},{deep:!0});try{Ug((e,t={})=>{switch(e){case"getCenterLocation":f(()=>{const n=s.getCenter();ze(t,{latitude:Ry(n),longitude:zy(n),errMsg:`${e}:ok`})});break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g[Ly];e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(a.latitude=n,a.longitude=o,s){const e=Iy(r,n,o);s.setCenter(e)}f(()=>{ze(t,`${e}:ok`)})}else ze(t,`${e}:fail`)}break;case"translateMarker":f(()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){ze(t,`${e}:fail ${o.message}`)}ze(t,`${e}:ok`)}else ze(t,`${e}:fail not found`)});break;case"includePoints":a.includePoints=Dy(t.includePoints),(d||jm())&&y(),h(()=>{ze(t,`${e}:ok`)});break;case"getRegion":h(()=>{const n=s.getBounds(),o=n.getSouthWest(),i=n.getNorthEast();ze(t,{southwest:{latitude:Ry(o),longitude:zy(o)},northeast:{latitude:Ry(i),longitude:zy(i)},errMsg:`${e}:ok`})});break;case"getScale":f(()=>{ze(t,{scale:s.getZoom(),errMsg:`${e}:ok`})})}},Xg(),!0)}catch(_){}return yi(()=>{$m(e.libraries,e=>{r=e,s=b(),u=!0,l.forEach(e=>e(s,r,o)),l.length=0,o("updated",{},{})})}),Ji("onMapReady",f),Ji("addMapChidlContext",function(e){g[e.id]=e}),Ji("removeMapChidlContext",function(e){delete g[e.id]}),{state:a,mapRef:i,trigger:o}}const Ny=Gu({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=zn(null),{mapRef:i,trigger:r}=By(e,o,t);return()=>Rr("uni-map",{ref:o,id:e.id},[Rr("div",{ref:i,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map(e=>Rr(Fm,Vr({key:e.id},e),null,16)),e.polyline.map(e=>Rr(Hm,e,null,16)),e.circles.map(e=>Rr(Um,e,null,16)),e.controls.map(e=>Rr(Xm,Vr(e,{trigger:r}),null,16,["trigger"])),e.showLocation&&Rr(Oy,null,null),e.polygons.map(e=>Rr($y,e,null,16)),Rr("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function jy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pr(e)}function qy(e){if(e.mode===Wy.TIME)return"00:00";if(e.mode===Wy.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Hy.YEAR:return t.toString();case Hy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Fy(e){if(e.mode===Wy.TIME)return"23:59";if(e.mode===Wy.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Hy.YEAR:return t.toString();case Hy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Vy(e,t,n,o){const i=e.mode===Wy.DATE?"-":":",r=e.mode===Wy.DATE?t.dateArray:t.timeArray;let s;if(e.mode===Wy.TIME)s=2;else switch(e.fields){case Hy.YEAR:s=1;break;case Hy.MONTH:s=2;break;default:s=3}const a=String(n).split(i);let l=[];for(let c=0;c=0&&(l=o?Vy(e,t,o):l.map(()=>0)),l}const Wy={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Hy={YEAR:"year",MONTH:"month",DAY:"day"},Uy={PICKER:"picker",SELECT:"select"},Yy=Gu({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:Wy.SELECTOR,validator:e=>Object.values(Wy).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>qy(e)},end:{type:String,default:e=>Fy(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){hc();const{t:o}=sc(),i=zn(null),r=zn(null),s=zn(null),a=zn(null),l=zn(!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=rs(()=>{let n=e.range;switch(e.mode){case Wy.SELECTOR:return[n];case Wy.MULTISELECTOR:return n;case Wy.TIME:return t.timeArray;case Wy.DATE:{const n=t.dateArray;switch(e.fields){case Hy.YEAR:return[n[0]];case Hy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Qu(i,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:C,_resetFormData:S,_getFormData:k,_createTime:T,_createDate:A,_setValueSync:E}=function(e,t,n,o,i,r,s){const a=function(){const e=zn(!1);return e.value=Xy(),e}(),l=function(){const e=zn("");return e.value=Gy(),e}(),c=rs(()=>{const t=e.selectorType;return Object.values(Uy).includes(t)?t:a.value?Uy.PICKER:Uy.SELECT}),u=rs(()=>e.mode===Wy.DATE&&!Object.values(Hy).includes(e.fields)&&t.isDesktop?l.value:""),d=rs(()=>Vy(e,t,e.start,qy(e))),f=rs(()=>Vy(e,t,e.end,Fy(e)));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,r=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=r.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 Wy.SELECTOR:t.valueSync=0;break;case Wy.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case Wy.DATE:case Wy.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,r=n.end;t<=r;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}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 Wy.TIME:case Wy.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case Wy.MULTISELECTOR:n=[...o];break;case Wy.TIME:n=Vy(e,t,o,Re({mode:Wy.TIME}));break;case Wy.DATE:n=Vy(e,t,o,Re({mode:Wy.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case Wy.SELECTOR:return n[0];case Wy.MULTISELECTOR:return n.map(e=>e);case Wy.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case Wy.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function T(){E(),t.valueChangeSource="click";const e=k();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function A(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:r}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function M(){e.mode===Wy.SELECTOR&&c.value===Uy.SELECT&&(r.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===Wy.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case Hy.YEAR:return t;case Hy.MONTH:return[t[1],t[0]];default:switch(i){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 D(t,n){const{getLocale:o}=sc();if(e.mode===Wy.DATE){const i=o();if(i.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Hy.YEAR&&n===(e.fields===Hy.MONTH||"es"!==i&&"fr"!==i?0:1)){let e;switch(i){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 Do(()=>t.visible,e=>{e?(clearTimeout(Ky),t.contentVisible=e,M()):Ky=setTimeout(()=>{t.contentVisible=e},300)}),Do([()=>e.mode,()=>e.value,()=>e.range],C,{deep:!0}),Do(()=>t.valueSync,S,{deep:!0}),Do(()=>t.valueArray,o=>{if(e.mode===Wy.TIME||e.mode===Wy.DATE){const n=e.mode===Wy.TIME?_:w,o=t.valueArray,i=d.value,r=f.value;if(e.mode===Wy.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,r=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();rn(r)&&x(o,r)}o.forEach((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===Wy.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))})}),{selectorTypeComputed:c,system:u,_show:h,_cancel:A,_change:T,_l10nColumn:$,_l10nItem:D,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:C,_fixInputPosition:L,_pickerViewChange:O}}(e,u,f,i,r,s,a);!function(e,t,n){const{key:o,disable:i}=Sv();Oo(()=>{i.value=!e.visible}),Do(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,C),function(e,t){const n=Qi(nd,!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),wi(()=>{n.removeField(o)})}}(S,k),T(),A(),E();const M=function(e){const t=zn(0),n=zn(0),o=rs(()=>t.value>=500&&n.value>=500),i=rs(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,r=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(r,{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;i.transform="none !important";const d=Math.max(0,u-t/2);i.left=`${d}px`,s.width&&(i.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),r.left=`${f}px`;const p=n.value/2;o+l-p>p-o?(i.top="auto",i.bottom=n.value-o+6+"px",r.bottom="-6px",r["border-width"]="6px 6px 0 6px",r["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+l+6}px`,r.top="-6px",r["border-width"]="0 6px 6px 6px",r["border-color"]="transparent transparent #fcfcfd transparent")}return t});return yi(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=lv();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),xi(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:i}}(u);return Oo(()=>{u.isDesktop=M.isDesktop.value,u.popupStyle=M.popupStyle.value}),wi(()=>{r.value&&r.value.remove()}),yi(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:S,valueSync:k}=u,{rangeKey:T,mode:A,start:E,end:M}=e,P=td(e,"disabled");return Rr("uni-picker",Vr({ref:i},P,{onClick:Ju(m)}),[l.value?Rr("div",{ref:r,class:["uni-picker-container",`uni-${A}-${g.value}`],onWheel:Hc,onTouchmove:Hc},[Rr(hs,{name:"uni-fade"},{default:()=>[No(Rr("div",{class:"uni-mask uni-picker-mask",onClick:Ju(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Es,c]])]}),h.value?null:Rr("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:S.content},[Rr("div",{class:"uni-picker-header",onClick:Uc},[Rr("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ju(x)},[o("uni.picker.cancel")],8,["onClick"]),Rr("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:C},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?Rr(bg,{value:v(p),class:"uni-picker-content",onChange:w},jy(t=Ai(v(d.value),(e,t)=>{let n;return Rr(Tg,{key:t},jy(n=Ai(e,(e,n)=>Rr("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,Rr("div",{ref:s,class:"uni-picker-select",onWheel:Uc,onTouchmove:Uc},[Ai(d.value[0],(e,t)=>Rr("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,C()}},["object"==typeof e?e[T]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),Rr("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,Rr("div",null,[n.default&&n.default()]),h.value?Rr("div",{class:"uni-picker-system",onMousemove:Ju(_)},[Rr("input",{class:["uni-picker-system_input",h.value],ref:a,value:k,type:A,tabindex:"-1",min:E,max:M,onChange:e=>{b(e),Uc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Xy=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const Gy=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let Ky;const Jy=c(Sc,{publishHandler(e,t,n){Qy.subscribeHandler(e,t,n)}}),Qy=c(Ru,{publishHandler(e,t,n){Jy.subscribeHandler(e,t,n)}}),Zy={name:"PageRefresh",setup(){const{pullToRefresh:e}=ld();return{offset:e.offset,color:e.color}}},eb=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},tb={class:"uni-page-refresh-inner"},nb=["fill"],ob=[Ir("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),Ir("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],ib={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},rb=["stroke"];const sb=eb(Zy,[["render",function(e,t,n,o,i,r){return Sr(),Er("uni-page-refresh",null,[Ir("div",{style:Ve({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ir("div",tb,[(Sr(),Er("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},ob,8,nb)),(Sr(),Er("svg",ib,[Ir("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,rb)]))])],4)])}]]);function ab(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 lb="pulling",cb="reached",ub="aborting",db="refreshing",fb="restoring";function pb(e){const t=ld(),{id:n,pullToRefresh:o}=t,{range:i,height:r}=o;let s,a,l,c,u,d,f,p;Ug(()=>{t.enablePullDownRefresh&&(p||(p=db,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),Ug(()=>{t.enablePullDownRefresh&&p===db&&(y(),p=fb,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}))},op,!1,n),yi(()=>{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=Ju(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([ub,db,fb].indexOf(p)>=0)}),_=Ju(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!ab(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=lb,v()),n-=g,n<0&&(n=0),h=n;(n>=i&&p!==cb||n1?t=1:t*=t*t;const n=Math.round(e/(i/r))||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=Ju(e=>{t.enablePullDownRefresh&&ab(e,u,d)&&null!==p&&(p===lb?(y(),p=ub,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===cb&&(y(),p=db,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+r+"px, 0)",mu(n,_e))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const hb=Ku({name:"PageBody",setup(e,t){const n=ld(),o=zn(null),i=zn(null),r=n.enablePullDownRefresh?pb(o):null,s=zn(null);return Do(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?r:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Rr(sb,{ref:e},null,512)}(o,n);return Rr(yr,null,[e,Rr("uni-page-wrapper",Vr({ref:i},s.value),[Rr("uni-page-body",null,[Ei(t.slots,"default")]),null],16)])}}});const gb=Ku({name:"Page",setup(e,t){let n=cd(dd());n.navigationBar;const o={};return my(n),()=>Rr("uni-page",{"data-page":n.route,style:o},[mb(t),null])}});function mb(e){return Sr(),Mr(hb,{key:0},{default:bo(()=>[Ei(e.slots,"page")]),_:3})}const vb={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=rf;const yb=Object.assign({}),bb=Object.assign;window.__uniConfig=bb({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:vb,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(yb).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return bb(e[n]||(e[n]={}),yb[t].default),e},{}),router:{mode:"hash",base:"/h5/",assets:"assets",routerBase:"/h5/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const _b={delay:vb.delay,timeout:vb.timeout,suspensible:vb.suspensible};vb.loading&&(_b.loadingComponent={name:"SystemAsyncLoading",render:()=>Rr(ko(vb.loading))}),vb.error&&(_b.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Rr(ko(vb.error),{error:this.error})}});const wb=()=>t(()=>import("./pages-index-index.C0AG9AAu.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])).then(e=>bm(e.default||e)),xb=ei(bb({loader:wb},_b)),Cb=()=>t(()=>import("./pages-map-index.CUzhLL1B.js"),__vite__mapDeps([9,10,1,2,3,6,7,11])).then(e=>bm(e.default||e)),Sb=ei(bb({loader:Cb},_b)),kb=()=>t(()=>import("./pages-activity-index.A6qRECj0.js"),__vite__mapDeps([12,10,4,1,2,3,7,13])).then(e=>bm(e.default||e)),Tb=ei(bb({loader:kb},_b)),Ab=()=>t(()=>import("./pages-discover-index.C4iuUyKK.js"),__vite__mapDeps([14,10,1,2,7,15])).then(e=>bm(e.default||e)),Eb=ei(bb({loader:Ab},_b)),Mb=()=>t(()=>import("./pages-mine-index.BLny6hwl.js"),__vite__mapDeps([16,17,7,18])).then(e=>bm(e.default||e)),Pb=ei(bb({loader:Mb},_b)),Lb=()=>t(()=>import("./pages-mine-profile.DLcaMSjS.js"),__vite__mapDeps([19,17,7,20])).then(e=>bm(e.default||e)),Ob=ei(bb({loader:Lb},_b)),$b=()=>t(()=>import("./pages-mine-orders.CrIFT6f1.js"),__vite__mapDeps([21,10,22,7,23])).then(e=>bm(e.default||e)),Db=ei(bb({loader:$b},_b)),Ib=()=>t(()=>import("./pages-activity-detail.BlVQmMv0.js"),__vite__mapDeps([24,10,4,25,26,1,7,27])).then(e=>bm(e.default||e)),Rb=ei(bb({loader:Ib},_b)),zb=()=>t(()=>import("./pages-activity-reserve.DIyRpwrS.js"),__vite__mapDeps([28,10,17,26,7,29])).then(e=>bm(e.default||e)),Bb=ei(bb({loader:zb},_b)),Nb=()=>t(()=>import("./pages-mine-reservation-detail.BgU7vUmO.js"),__vite__mapDeps([30,10,22,7,31])).then(e=>bm(e.default||e)),jb=ei(bb({loader:Nb},_b)),qb=()=>t(()=>import("./pages-study-tour-detail.DtbD0ndO.js"),__vite__mapDeps([32,10,26,5,6,7,33])).then(e=>bm(e.default||e)),Fb=ei(bb({loader:qb},_b)),Vb=()=>t(()=>import("./pages-venue-detail.BZba9FpN.js"),__vite__mapDeps([34,10,4,6,25,26,1,7,35])).then(e=>bm(e.default||e)),Wb=ei(bb({loader:Vb},_b)),Hb=()=>t(()=>import("./pages-stats-index.DD3A1nNF.js"),__vite__mapDeps([36,10,1,7,37])).then(e=>bm(e.default||e)),Ub=ei(bb({loader:Hb},_b)),Yb=()=>t(()=>import("./pages-traffic-index.CHSAgAHe.js"),__vite__mapDeps([38,7,39])).then(e=>bm(e.default||e)),Xb=ei(bb({loader:Yb},_b));function Gb(e,t){return Sr(),Mr(gb,null,{page:bo(()=>[Rr(e,bb({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(xb,t)}},loader:wb,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=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Sb,t)}},loader:Cb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"场馆列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Tb,t)}},loader:kb,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=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Eb,t)}},loader:Ab,meta:{enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"研学路线",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Pb,t)}},loader:Mb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/profile",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Ob,t)}},loader:Lb,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/orders",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Db,t)}},loader:$b,meta:{navigationBar:{titleText:"我的活动预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Rb,t)}},loader:Ib,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/reserve",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Bb,t)}},loader:zb,meta:{navigationBar:{titleText:"预约报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/reservation-detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(jb,t)}},loader:Nb,meta:{navigationBar:{titleText:"预约详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/study-tour/detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Fb,t)}},loader:qb,meta:{navigationBar:{titleText:"研学线路",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/venue/detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Wb,t)}},loader:Vb,meta:{navigationBar:{titleText:"场馆详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/stats/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Ub,t)}},loader:Hb,meta:{enablePullDownRefresh:!0,backgroundColor:"#eef1f4",navigationBar:{titleText:"今日客流量统计",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/traffic/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Xb,t)}},loader:Yb,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 i=t._component;m(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=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","")),r},t};const ra="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 i=t[o];n[o]=ua(i)?i.map(e):e(i)}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,Ca=/%7D/g,Sa=/%20/g;function ka(e){return encodeURI(""+e).replace(xa,"|").replace(va,"[").replace(ya,"]")}function Ta(e){return ka(e).replace(ma,"%2B").replace(Sa,"+").replace(da,"%23").replace(fa,"%26").replace(_a,"`").replace(wa,"{").replace(Ca,"}").replace(ba,"^")}function Aa(e){return Ta(e).replace(ha,"%3D")}function Ea(e){return null==e?"":function(e){return ka(e).replace(da,"%23").replace(ga,"%3F")}(e).replace(pa,"%2F")}function Ma(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function La(e,t,n="/"){let o,i={},r="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),i=e(r)),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("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,s,a=n.length-1;for(r=0;r1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+(r&&"?")+r+s,path:o,query:i,hash:Ma(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 Da(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ia(e[n],t[n]))return!1;return!0}function Ia(e,t){return ua(e)?Ra(e,t):ua(t)?Ra(t,e):e===t}function Ra(e,t){return ua(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const za={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ba,Na,ja,qa;function Fa(e){if(!e)if(ra){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=Ba||(Ba={})).pop="pop",Na.push="push",(qa=ja||(ja={})).back="back",qa.forward="forward",qa.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("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)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)}}(i,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 Ga(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Oa(n,"")}return Oa(n,e)+o+i}function Ka(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Ha():null}}function Ja(e){const{history:t,location:n}=window,o={value:Ga(e,n)},i={value:t.state};function r(o,r,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"](r,"",l),i.value=r}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const s=aa({},i.value,t.state,{forward:e,scroll:Ha()});r(s.current,s,!0),r(e,aa({},Ka(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){r(e,aa({},t.state,Ka(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function Qa(e){const t=Ja(e=Fa(e)),n=function(e,t,n,o){let i=[],r=[],s=null;const a=({state:r})=>{const a=Ga(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=a,t.value=r,s&&s===l)return void(s=null);u=c?r.position-c.position:0}else o(a);i.forEach(e=>{e(n.value,l,{delta:u,type:Ba.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){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],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 Za(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 il(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 rl="[^/]+?",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,i=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 i=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.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{r(f)}:ca}function r(e){if(Za(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;cl(e,t[i])<0?o=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if(_l(t)&&0===cl(e,t))return t;return}(e);i&&(o=t.lastIndexOf(i,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=>i(e)),{addRoute:i,resolve:function(e,t){let i,r,s,a={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw ol(1,{location:e});s=i.record.name,a=aa(gl(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&gl(e.params,i.keys.map(e=>e.name))),r=i.stringify(a)}else if(null!=e.path)r=e.path,i=n.find(e=>e.re.test(r)),i&&(a=i.parse(r),s=i.record.name);else{if(i=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw ol(1,{location:e,currentLocation:t});s=i.record.name,a=aa({},t.params,e.params),r=i.stringify(a)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:r,params:a,matched:l,meta:yl(l)}},removeRoute:r,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 Cl(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 Sl=Symbol(""),kl=Symbol(""),Tl=Symbol(""),Al=Symbol(""),El=Symbol("");function Ml(){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,i,r=e=>e()){const s=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=e=>{var r;!1===e?l(ol(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(ol(2,{from:t,to:e})):(s&&o.enterCallbacks[i]===s&&"function"==typeof e&&s.push(e),a())},u=r(()=>e.call(o&&o.instances[i],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,i=e=>e()){const r=[];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&&r.push(Pl(l,n,o,s,e,i))}else{let l=a();r.push(()=>l.then(r=>{if(!r)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=r).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&sa(l.default)?r.default:r;var l;s.mods[e]=r,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,i)()}))}}return r}function Ol(e){const t=Qi(Tl),n=Qi(Al),o=rs(()=>{const n=qn(e.to);return t.resolve(n)}),i=rs(()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const s=r.findIndex($a.bind(null,i));if(s>-1)return s;const a=Dl(e[t-2]);return t>1&&Dl(i)===a&&r[r.length-1].path!==a?r.findIndex($a.bind(null,e[t-2])):s}),r=rs(()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!ua(i)||i.length!==o.length||o.some((e,t)=>e!==i[t]))return!1}return!0}(n.params,o.value.params)),s=rs(()=>i.value>-1&&i.value===n.matched.length-1&&Da(n.params,o.value.params));return{route:o,href:rs(()=>o.value.href),isActive:r,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[qn(e.replace)?"replace":"push"](qn(e.to)).catch(ca):Promise.resolve()}}}const $l=Qo({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}=Qi(Tl),i=rs(()=>({[Il(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Il(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:i.value},o)}}});function Dl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Il=(e,t,n)=>null!=e?e:null!=t?t:n;function Rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const zl=Qo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Qi(El),i=rs(()=>e.route||o.value),r=Qi(kl,0),s=rs(()=>{let e=qn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=rs(()=>i.value.matched[s.value]);Ji(kl,rs(()=>s.value+1)),Ji(Sl,a),Ji(El,i);const l=zn();return Do(()=>[l.value,a.value,e.name],([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&$a(t,i)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,r=e.name,s=a.value,c=s&&s.components[r];if(!c)return Rl(n.default,{Component:c,route:o});const u=s.props[r],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[r]=null)},ref:l}));return Rl(n.default,{Component:f,route:o})||f}}});function Bl(e){const t=hl(e.routes,e),n=e.parseQuery||wl,o=e.stringifyQuery||xl,i=e.history,r=Ml(),s=Ml(),a=Ml(),l=Bn(za);let c=za;ra&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=la.bind(null,e=>""+e),d=la.bind(null,Ea),f=la.bind(null,Ma);function p(e,r){if(r=aa({},r||l.value),"string"==typeof e){const o=La(n,e,r.path),s=t.resolve({path:o.path},r),a=i.createHref(o.fullPath);return aa(o,s,{params:f(s.params),hash:Ma(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=aa({},e,{path:La(n,e.path,r.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)}),r.params=d(r.params)}const a=t.resolve(s,r),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,ka(h).replace(wa,"{").replace(Ca,"}").replace(ba,"^")),path:a.path}));var h;const g=i.createHref(p);return aa({fullPath:p,hash:c,query:o===xl?Cl(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),i=l.value,r=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(aa(h(u),{state:"object"==typeof u?aa({},r,u.state):r,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,i=n.matched.length-1;return o>-1&&o===i&&$a(t.matched[o],n.matched[i])&&Da(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(f=ol(16,{to:d,from:i}),L(i,i,!0,!1)),(f?Promise.resolve(f):w(d,i)).catch(e=>il(e)?il(e,2)?e:P(e):M(e,d,i)).then(e=>{if(e){if(il(e,2))return y(aa({replace:a},h(e.to),{state:"object"==typeof e.to?aa({},r,e.to.state):r,force:s}),t||d)}else e=C(d,i,!0,a,r);return x(d,i,e),e})}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=D.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,i,a]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;s$a(e,r))?o.push(r):n.push(r));const a=e.matched[s];a&&(t.matched.find(e=>$a(e,a))||i.push(a))}return[n,o,i]}(e,t);n=Ll(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),R(n).then(()=>{n=[];for(const o of r.list())n.push(Pl(o,e,t));return n.push(l),R(n)}).then(()=>{n=Ll(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),R(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ua(o.beforeEnter))for(const i of o.beforeEnter)n.push(Pl(i,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),R(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ll(a,"beforeRouteEnter",e,t,_),n.push(l),R(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),R(n)}).catch(e=>il(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function C(e,t,n,o,r){const s=g(e,t);if(s)return s;const a=t===za,c=ra?history.state:{};n&&(o||a?i.replace(e.fullPath,aa({scroll:a&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,L(e,t,n,a),P()}let S;function k(){S||(S=i.listen((e,t,n)=>{if(!I.listening)return;const o=p(e),r=v(o);if(r)return void y(aa(r,{replace:!0}),o).catch(ca);c=o;const s=l.value;var a,u;ra&&(a=Ya(s.fullPath,n.delta),u=Ha(),Xa.set(a,u)),w(o,s).catch(e=>il(e,12)?e:il(e,2)?(y(e.to,o).then(e=>{il(e,20)&&!n.delta&&n.type===Ba.pop&&i.go(-1,!1)}).catch(ca),Promise.reject()):(n.delta&&i.go(-n.delta,!1),M(e,o,s))).then(e=>{(e=e||C(o,s,!1))&&(n.delta&&!il(e,8)?i.go(-n.delta,!1):n.type===Ba.pop&&il(e,20)&&i.go(-1,!1)),x(o,s,e)}).catch(ca)}))}let T,A=Ml(),E=Ml();function M(e,t,n){P(e);const o=E.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function P(e){return T||(T=!e,k(),A.list().forEach(([t,n])=>e?n(e):t()),A.reset()),e}function L(t,n,o,i){const{scrollBehavior:r}=e;if(!ra||!r)return Promise.resolve();const s=!o&&function(e){const t=Xa.get(e);return Xa.delete(e),t}(Ya(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return oo().then(()=>r(t,n,s)).then(e=>e&&Ua(e)).catch(e=>M(e,t,n))}const O=e=>i.go(e);let $;const D=new Set,I={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return Za(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,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:r.add,beforeResolve:s.add,afterEach:a.add,onError:E.add,isReady:function(){return T&&l.value!==za?Promise.resolve():new Promise((e,t)=>{A.add([e,t])})},install(e){e.component("RouterLink",$l),e.component("RouterView",zl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>qn(l)}),ra&&!$&&l.value===za&&($=!0,m(i.location).catch(e=>{}));const t={};for(const o in za)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Tl,this),e.provide(Al,xn(t)),e.provide(El,l);const n=e.unmount;D.add(e),e.unmount=function(){D.delete(e),D.size<1&&(c=za,S&&S(),S=null,l.value=za,$=!1,T=!1),n()}}};function R(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return I}function Nl(e){return Qi(Al)}const jl=["{","}"];const ql=/^(?:\d)+/,Fl=/^(?:\w)+/;const Vl="zh-Hans",Wl="zh-Hant",Hl="en",Ul="fr",Yl="es",Xl=Object.prototype.hasOwnProperty,Gl=(e,t)=>Xl.call(e,t),Kl=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 i=0,r="";for(;i-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 i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class Ql{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale=Hl,this.fallbackLocale=Hl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||Kl,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=>{Gl(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,Gl(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 Zl(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&&Tf?Tf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Hl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Hl);const i=new Ql({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=gm().$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,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}function ec(e,t){return e.indexOf(t[0])>-1}const tc=De(()=>"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=Tf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function ic(e,t){if(1===t.length){if(e){const n=e=>v(e)&&ec(e,te),o=t[0];let i=[];if(p(e)&&(i=e.filter(e=>n(e[o]))).length)return i;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return ic(e&&e[n],t)}function rc(e,t){const n=ic(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>rc(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=Zl(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,i)=>(t[e+o]=n[i],t),{})}const lc=De(()=>{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=De(()=>{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=De(()=>{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=De(()=>{const e="uni.showModal.",t=["cancel","confirm"];sc().add(Hl,ac(e,t,["Cancel","OK"]),!1),sc().add(Yl,ac(e,t,["Cancelar","OK"]),!1),sc().add(Ul,ac(e,t,["Annuler","OK"]),!1),sc().add(Vl,ac(e,t,["取消","确定"]),!1),sc().add(Wl,ac(e,t,["取消","確定"]),!1)}),fc=De(()=>{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)}),pc=De(()=>{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)}),hc=De(()=>{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)}),gc=De(()=>{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 mc(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,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}const vc="invokeViewApi",yc="invokeServiceApi";let bc=1;const _c=Object.create(null);function wc(e,t){return e+"."+t}function xc(e,t,n){t=wc(e,t),_c[t]||(_c[t]=n)}function Cc({id:e,name:t,args:n},o){t=wc(o,t);const i=t=>{e&&Jy.publishHandler(vc+"."+e,t)},r=_c[t];r?r(n,i):i({})}const Sc=c(mc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=Jy,r=n?bc++:0;n&&o(yc+"."+r,n,!0),i(yc,{id:r,name:e,args:t})}}),kc=Ge(!0);let Tc;function Ac(){Tc&&(clearTimeout(Tc),Tc=null)}let Ec=0,Mc=0;function Pc(e){if(Ac(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ec=t,Mc=n,Tc=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 Lc(e){if(!Tc)return;if(1!==e.touches.length)return Ac();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ec)>10||Math.abs(n-Mc)>10?Ac():void 0}function Oc(e,t){const n=Number(e);return isNaN(n)?t:n}function $c(){const e=__uniConfig.globalStyle||{},t=Oc(e.rpxCalcMaxDeviceWidth,960),n=Oc(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 Dc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Rc,zc=["top","left","right","bottom"],Bc={};function Nc(){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 jc(){if(Rc="string"==typeof Rc?Rc:Nc()){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");i(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),r(),Ic=!0}else zc.forEach(function(e){Bc[e]=0});function i(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function r(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+")"};i(o,c),i(s,c),i(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),r(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,i=s.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,i=s.scrollTop,function(e){Fc.length||setTimeout(function(){var e={};Fc.forEach(function(t){e[t]=Bc[t]}),Fc.length=0,Vc.forEach(function(t){t(e)})},0);Fc.push(e)}(n))}o.addEventListener("scroll",r,t),s.addEventListener("scroll",r,t)});var u=getComputedStyle(o);Object.defineProperty(Bc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function qc(e){return Ic||jc(),Bc[e]}var Fc=[];var Vc=[];const Wc=Dc({get support(){return 0!=("string"==typeof Rc?Rc:Nc()).length},get top(){return qc("top")},get left(){return qc("left")},get right(){return qc("right")},get bottom(){return qc("bottom")},onChange:function(e){Nc()&&(Ic||jc(),"function"==typeof e&&Vc.push(e))},offChange:function(e){var t=Vc.indexOf(e);t>=0&&Vc.splice(t,1)}}),Hc=ta(()=>{},["prevent"]),Uc=ta(e=>{},["stop"]);function Yc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Xc(){const e=Yc(document.documentElement.style,"--window-top");return e?e+Wc.top:0}function Gc(){const e=document.documentElement.style,t=Xc(),n=Yc(e,"--window-bottom"),o=Yc(e,"--window-left"),i=Yc(e,"--window-right"),r=Yc(e,"--top-window-height");return{top:t,bottom:n?n+Wc.bottom:0,left:o?o+Wc.left:0,right:i?i+Wc.right:0,topWindowHeight:r||0}}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Jc(e){return Kc(e)}function Qc(e){return Symbol(e)}function Zc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function eu(e,t=!1){if(t)return function(e){if(!Zc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>rf(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Zc(e)?rf(t):t}return e}function tu(e){return e.$page}function nu(e){return 0===e.tagName.indexOf("UNI-")}const ou="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",iu="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",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";function su(e,t="#000",n=27){return Rr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Rr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function au(){{const{$pageInstance:e}=Xr();return e&&gu(e.proxy)}}function lu(e){const t=je(e);if(t.$page)return gu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return gu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?gu(n):void 0}function cu(){const e=Pp(),t=e.length;if(t)return e[t-1]}function uu(){var e;const t=null==(e=cu())?void 0:e.$page;if(t)return t.meta}function du(){const e=uu();return e?e.id:-1}function fu(){const e=cu();if(e)return e.$vm}const pu=["navigationBar","pullToRefresh"];function hu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);pu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function gu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function mu(e,t,n){if(v(e))n=t,t=e,e=fu();else if("number"==typeof e){const t=Pp().find(t=>tu(t).id===e);e=t?t.$vm:fu()}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,r=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-bu)>n;return!r||i&&!s?(!r&&i&&(i=!1),!1):(bu=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(s()||(yu=setTimeout(s,300))),o=!1};return function(){clearTimeout(yu),o||requestAnimationFrame(s),o=!0}}function wu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return wu(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i0?e.split("/"):[];return r.splice(r.length-i-1,i+1),$e(r.concat(n).join("/"))}function xu(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function Cu(){$c(),Ue(nu),window.addEventListener("touchstart",Pc,kc),window.addEventListener("touchmove",Lc,kc),window.addEventListener("touchend",Ac,kc),window.addEventListener("touchcancel",Ac,kc)}class Su{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Fe(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&&Fe(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=Eu(this.$el.querySelector(e));return t?ku(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&&Jy.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 ku(e,t=!0){if(t&&e&&(e=qe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Su(e)),e.$el.__wxsComponentDescriptor}function Tu(e,t){return ku(e,t)}function Au(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Tu(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=qe(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Tu(i,!1)]}}function Eu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Mu(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let s,a;s=Ke(t?i:function(e){for(;!nu(e);)e=e.parentElement;return e}(i)),a=Ke(r);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&C(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 Pu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Lu(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Xc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Pu(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Xc();r.touches=Lu(e.touches,t),r.changedTouches=Lu(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t]})})}return Au(r,t,n)||[r]},createNativeEvent:Mu},Symbol.toStringTag,{value:"Module"});function $u(e){!function(e){const t=e.globalProperties;c(t,Ou),t.$gcd=Tu}(e._context.config)}let Du=1;function Iu(e){return(e||du())+"."+vc}const Ru=c(mc("view"),{invokeOnCallback:(e,t)=>Qy.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=Qy,s=o?Du++:0;o&&i(vc+"."+s,o,!0),r(Iu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:s}=Qy,a=Du++,l=vc+"."+a;return i(l,n),s(Iu(o),{id:a,name:e,args:t},o),()=>{r(l)}}});function zu(e){mu(cu(),ge,e),Qy.invokeOnCallback("onWindowResize",e)}function Bu(e){const t=cu();mu(gm(),ie,e),mu(t,ie)}function Nu(){mu(gm(),re),mu(cu(),re)}const ju=[ve,be];function qu(){ju.forEach(e=>Qy.subscribe(e,function(e){return(t,n)=>{mu(parseInt(n),e,t)}}(e)))}function Fu(){!function(){const{on:e}=Qy;e(ge,zu),e(Pe,Bu),e(Le,Nu)}(),qu()}function Vu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new nt(this.$page.id)),e.eventChannel}}function Wu(e){e._context.config.globalProperties.getOpenerEventChannel=Vu}function Hu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Uu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${rf(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Yu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){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"],i=["width","height","left","right","top","bottom"],r=e.animates,s=e.option,a=s.transition,l={},c=[];return r.forEach(e=>{let r=e.type,s=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(s=s.map(Uu)),n.indexOf(r)>=0&&(s.length=1),c.push(`${r}(${s.join(",")})`);else if(o.concat(i).includes(s[0])){r=s[0];const e=s[1];l[r]=i.includes(r)?Uu(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{r()},0)}const Xu={props:["animation"],watch:{animation:{deep:!0,handler(){Yu(this)}}},mounted(){Yu(this)}},Gu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Xu),Ku(e)},Ku=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Qo(e));function Ju(e){return e.__wwe=!0,e}function Qu(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=Ke(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const Zu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ed(e){const t=zn(!1);let n,o,i=!1;function r(){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),i=!0,n=setTimeout(()=>{t.value=!0,i||r()},parseInt(e.hoverStartTime)))}function a(){i=!1,t.value&&r()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ju(function(e){e.touches.length>1||s(e)}),onMousedown:Ju(function(e){i||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ju(function(){a()}),onMouseup:Ju(function(){i&&l()}),onTouchcancel:Ju(function(){i=!1,t.value=!1,clearTimeout(n)})}}}function td(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const nd=Qc("uf"),od=Qc("ul");function id(e,t,n){const o=au();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Jy.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Jy.on(i,t[i]):e&&Jy.on(`uni-${i}-${o}-${e}`,t[i])})}function rd(e,t,n){const o=au();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Jy.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Jy.off(i,t[i]):e&&Jy.off(`uni-${i}-${o}-${e}`,t[i])})}const sd=Gu({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=zn(null),o=Qi(nd,!1),{hovering:i,binding:r}=ed(e),s=Ju((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),a=Qi(od,!1);return a&&(a.addHandler(s),wi(()=>{a.removeHandler(s)})),function(e,t){id(e.id,t),Do(()=>e.id,(e,n)=>{rd(n,t,!0),id(e,t,!0)}),xi(()=>{rd(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=td(e,"disabled"),l=td(e,"loading"),c=td(e,"plain"),u=o&&"none"!==o;return Rr("uni-button",Vr({ref:n,onClick:s,id:e.id,class:u&&i.value?o:""},u&&r,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),ad=Qc("upm");function ld(){return Qi(ad)}function cd(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=eu(e.offset)),e.height&&(e.height=eu(e.height)),e.range&&(e.range=eu(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:i}=n;"custom"!==i&&"transparent"!==o&&(t.offset+=44+Wc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Pp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(hu(Nl().meta,e)))))}(e);return Ji(ad,t),t}function ud(){return Nl()}function dd(){return history.state&&history.state.__id__||1}const fd=["original","compressed"],pd=["album","camera"],hd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function gd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function md(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function vd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let yd=1;const bd={};function _d(e,t,n,o=!1){return bd[e]={name:t,keepAlive:o,callback:n},e}function wd(e,t,n){if("number"==typeof e){const o=bd[e];if(o)return o.keepAlive||delete bd[e],o.callback(t,n)}return t}function xd(e){for(const t in bd)if(bd[t].name===e)return!0;return!1}const Cd="success",Sd="fail",kd="complete";function Td(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:i,fail:r,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=vd(o),delete e[n])}return t}(t),a=m(i),l=m(r),c=m(s),u=yd++;return _d(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&&i(u)):l&&r(u),c&&s(u)}),u}const Ad="success",Ed="fail",Md="complete",Pd={},Ld={};function Od(e,t){return function(n){return e(n,t)||n}}function $d(e,t,n){let o=!1;for(let i=0;ie(t),catch(){}}}function Dd(e,t={}){return[Ad,Ed,Md].forEach(n=>{const o=e[n];if(!p(o))return;const i=t[n];t[n]=function(e){$d(o,e,t).then(e=>m(i)&&i(e)||e)}}),t}function Id(e,t){const n=[];p(Pd.returnValue)&&n.push(...Pd.returnValue);const o=Ld[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Rd(e){const t=Object.create(null);Object.keys(Pd).forEach(e=>{"returnValue"!==e&&(t[e]=Pd[e].slice())});const n=Ld[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function zd(e,t,n,o){const i=Rd(e);if(i&&Object.keys(i).length){if(p(i.invoke)){return $d(i.invoke,n).then(n=>t(Dd(Rd(e),n),...o))}return t(Dd(i,n),...o)}return t(n,...o)}function Bd(e,t){return(n={},...o)=>function(e){return!(!C(e)||![Cd,Sd,kd].find(t=>m(e[t])))}(n)?Id(e,zd(e,t,c({},n),o)):Id(e,new Promise((i,r)=>{zd(e,t,c({},n,{success:i,fail:r}),o)}))}function Nd(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,wd(e,c({errMsg:r},o))}function jd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r{qd(o);const i=jd(0,[o],0,n);if(i)throw new Error(i);const r=!xd(e);!function(e,t){_d(yd++,e,t,!0)}(e,o),r&&(!function(e){Qy.on("api."+e,t=>{for(const n in bd){const o=bd[n];o.name===e&&o.callback(t)}})}(e),t())}}function Vd(e,t,n){return o=>{qd(o);const i=jd(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in bd){const o=bd[n];o.callback===t&&o.name===e&&delete bd[n]}}(e=e.replace("off","on"),o);xd(e)||(!function(e){Qy.off("api."+e)}(e),t())}}function Wd(e,t,n,o){return n=>{const i=Td(e,n,o),r=jd(0,[n],0,o);return r?Nd(i,e,r):t(n,{resolve:t=>function(e,t,n){return wd(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>Nd(i,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 Hd(e,t,n){return Fd(e,t,n)}function Ud(e,t,n){return Vd(e,t,n)}function Yd(e,t,n,o){return Bd(e,Wd(e,t,0,o))}function Xd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=jd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Gd(e,t,n,o){return Bd(e,function(e,t,n,o){return Wd(e,t,0,o)}(e,t,0,o))}let Kd=!1,Jd=0,Qd=0,Zd=960,ef=375,tf=750;function nf(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=th(),t=ih(oh(e,nh(e)));return{platform:Kp?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=i,n=r}Jd=e,Qd=t,Kd="ios"===n}function of(e,t){const n=Number(e);return isNaN(n)?t:n}const rf=Xd(0,(e,t)=>{if(0===Jd&&(nf(),function(){const e=__uniConfig.globalStyle||{};Zd=of(e.rpxCalcMaxDeviceWidth,960),ef=of(e.rpxCalcBaseDeviceWidth,375),tf=of(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Jd;n=e===tf||n<=Zd?n:ef;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Qd&&Kd?.5:1),e<0?-o:o}),sf=[.5,.8,1,1.25,1.5,2];const af=(e,t,n,o)=>{!function(e,t,n,o,i){Qy.invokeViewMethod("map."+e,{type:n,data:o},t,i)}(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 lf=["scale","rotate","translate","setTransform","transform"],cf=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],uf=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const df={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 ff(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(df,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(df[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),i=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,i,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class pf{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,ff(t)])}}class hf{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class gf{constructor(e){this.width=e}}class mf{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,i,r,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,i,r){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,i){Qy.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{i&&i(e)})}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new pf("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new pf("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 hf(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 gf(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,i,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,r]}),this.subpath.push([i,r])}arc(e,t,n,o,i,r=!1){this.path.push({method:"arc",data:[e,t,n,o,i,r]}),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,i){this.path.push({method:"arcTo",data:[e,t,n,o,i]}),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/),i=parseFloat(n[3]),r=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=i,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${i}px ${r}`]})}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 vf=De(()=>{[...lf,...cf].forEach(function(e){mf.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,i){var r=[t.toString(),n,o];"number"==typeof i&&r.push(i),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,i,r,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=i,c=r,n=void 0,o=void 0,i=void 0,r=void 0),u=d(n)&&d(o)&&d(i)&&d(r)?[t,s,a,l,c,n,o,i,r]: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)}),uf.forEach(function(e){mf.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",ff(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,i){i=ff(i),this.actions.push({method:e,data:[t,n,o,i]}),this.state.shadowBlur=o,this.state.shadowColor=i,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)})}),yf=Xd(0,(e,t)=>{if(vf(),t)return new mf(e,lu(t));const n=lu(fu());if(n)return new mf(e,n);Qy.emit(ae,"createCanvasContext:fail")});let bf=0,_f={};const wf={canvas:mf,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){af(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){af(this.id,this.pageId,"moveToLocation",e)}getScale(e){af(this.id,this.pageId,"getScale",e)}getRegion(e){af(this.id,this.pageId,"getRegion",e)}includePoints(e){af(this.id,this.pageId,"includePoints",e)}translateMarker(e){af(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){af(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){af(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){af(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){af(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){af(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){af(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){af(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){af(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){af(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){af(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){af(this.id,this.pageId,"openMapApp",e)}on(e,t){af(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){rh(this.id,this.pageId,"play")}pause(){rh(this.id,this.pageId,"pause")}stop(){rh(this.id,this.pageId,"stop")}seek(e){rh(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){rh(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~sf.indexOf(e)||(e=1),rh(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){rh(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){rh(this.id,this.pageId,"exitFullScreen")}showStatusBar(){rh(this.id,this.pageId,"showStatusBar")}hideStatusBar(){rh(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 i={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(bf++);i.callbackId=e,_f[e]=o}Qy.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,({callbackId:e,data:t})=>{r&&(ze(_f[e],t),delete _f[e])})}(this.id,this.pageId,e,t)}}};function xf(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=wf[n];e.context=new i(t,o),delete e.contextInfo}}class Cf{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 Sf{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:i,fields:r})=>{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}(r)):o.push(function(e,t,n,o,i){const r=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=r.parentElement;if(!s)return o?null:[];const{nodeType:a}=r,l=3===a||8===a;if(o){const e=l?s.querySelector(n):ah(r,n)?r:r.querySelector(n);return e?sh(e,i):null}{let e=[];const t=(l?s:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(sh(t,i))}),!l&&ah(r,n)&&e.unshift(sh(r,i)),e}}(e,t,n,i,r))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{p(e)?e.forEach(xf):xf(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 Cf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Cf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Cf(this,null,"",!0)}_push(e,t,n,o,i){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(i)}}const kf=Xd(0,e=>((e=je(e))&&!lu(e)&&(e=null),new Sf(e||fu()))),Tf=Xd(0,()=>{const e=gm();return e&&e.$vm?e.$vm.$locale:sc().getLocale()}),Af={[ue]:[],[ce]:[],[ae]:[],[ie]:[],[re]:[]};const Ef={formatArgs:{showToast:!0},beforeInvoke(){pc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=sc(),o=n("uni.setClipboardData.success");o&&uy({title:o,icon:"success",mask:!1})}},Mf="onCompass",Pf=["wgs84","gcj02"],Lf={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Pf.indexOf(e)?t.type=Pf[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},Of=(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}},$f={formatArgs:{latitude(e,t){const n=Of("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=Of("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},Df={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=md(e,fd)},sourceType(e,t){t.sourceType=md(e,pd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},If="json",Rf=["text","arraybuffer"],zf=encodeURIComponent;const Bf={formatArgs:{method(e,t){t.method=gd((e||"").toUpperCase(),hd)},data(e,t){t.data=e||""},url(e,t){t.method===hd[0]&&C(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 i=n[1]||"";e=n[0];const r=i.split("&").filter(e=>e),s={};r.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="":C(e)&&(e=JSON.stringify(e)),s[zf(a)]=zf(e)}return i=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==hd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||If).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Rf.indexOf(t.responseType)&&(t.responseType="text")}}},Nf={formatArgs:{filePath(e,t){e&&(t.filePath=Yp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const jf={url:{type:String,required:!0}},qf="navigateTo",Ff="redirectTo",Vf="switchTab",Wf="preloadPage";Hf=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"];var Hf;const Uf=Jf(qf),Yf=Jf(Ff),Xf=Jf(Vf);let Gf;function Kf(){Gf=""}function Jf(e){return{formatArgs:{url:Qf(e)},beforeAll:Kf}}function Qf(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=Pp();return n.length&&(t=tu(n[n.length-1]).route),wu(t,e)}(t)).split("?")[0],i=xu(o,!0);if(!i)return"page `"+t+"` is not found";if(e===qf||e===Ff){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Vf&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Vf&&e!==Wf||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.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(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==Wf){if(Gf===t&&"appLaunch"!==n.openType)return`${Gf} locked`;__uniConfig.ready&&(Gf=t)}else if(i.meta.isTabBar){const e=Pp(),t=i.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Zf={formatArgs:{title:"",mask:!1}},ep={beforeInvoke(){dc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=sc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=sc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},tp=["success","loading","none","error"],np={formatArgs:{title:"",icon(e,t){t.icon=gd(e,tp)},image(e,t){t.image=e?Yp(e):""},duration:1500,mask:!1}},op="stopPullDownRefresh";function ip(){const e=fu();if(!e)return;const t=Mp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Op(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,mu(e,re))}function rp(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function sp(e){const t=Mp().values();for(const n of t){const t=Cp(n);if(rp(e,t))return n.$.__isActive=!0,t.id}}const ap=Gd(Vf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(Sp.handledBeforeEntryPageRoutes)return ip(),up({type:Vf,url:e,tabBarText:t,isAutomatedTesting:n},sp(e)).then(o).catch(i);Tp.push({args:{type:Vf,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Xf);function lp(){const e=cu();if(!e)return;const t=Cp(e);Op(Rp(t.path,t.id))}const cp=Gd(Ff,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Sp.handledBeforeEntryPageRoutes)return lp(),up({type:Ff,url:e,isAutomatedTesting:t}).then(n).catch(o);Ap.push({args:{type:Ff,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Yf);function up({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const s=gm().$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||++$p,__type__:e}}(e,r);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(r=>{if(il(r))return c(r.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(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()})})}function dp(){if(Sp.handledBeforeEntryPageRoutes)return;Sp.handledBeforeEntryPageRoutes=!0;const e=[...kp];kp.length=0,e.forEach(({args:e,resolve:t,reject:n})=>up(e).then(t).catch(n));const t=[...Tp];Tp.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(ip(),up(e,sp(e.url)).then(t).catch(n)));const n=[...Ap];Ap.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(lp(),up(e).then(t).catch(n)));const o=[...Ep];Ep.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(function(){const e=Mp().keys();for(const t of e)Op(t)}(),up(e).then(t).catch(n)))}let fp;function pp(){var e;return fp||(fp=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,tc()&&e.list&&e.list.forEach(e=>{rc(e,["text"])}),e))),fp}function hp(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const gp=hp("top:env(a)"),mp=hp("top:constant(a)"),vp=hp("backdrop-filter:blur(10px)"),yp=(()=>gp?"env":mp?"constant":"")();function bp(e){let t=0;if(e.isTabBar){const e=pp();e.shown&&(t=parseInt(e.height))}var n;Jc({"--window-top":(n=0,yp?`calc(${n}px + ${yp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":_p(t)})}function _p(e){return yp?`calc(${e}px + ${yp}(safe-area-inset-bottom))`:`${e}px`}const wp="$$",xp=new Map;function Cp(e){return e.$page}const Sp={handledBeforeEntryPageRoutes:!1},kp=[],Tp=[],Ap=[],Ep=[];function Mp(){return xp}function Pp(){return Lp()}function Lp(){const e=[],t=xp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Op(e,t=!0){const n=xp.get(e);n.$.__isUnload=!0,mu(n,fe),xp.delete(e),t&&function(e){const t=zp.get(e);t&&(zp.delete(e),Bp.pruneCacheEntry(t))}(e)}let $p=dd();function Dp(e){const t=ld();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,i,r){const{id:s,route:a}=o,l=dt(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:s,path:$e(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Ip(e){const t=Dp(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),xp.set(Rp(t.path,t.id),e),1===xp.size&&setTimeout(()=>{dp()},0)}function Rp(e,t){return e+wp+t}const zp=new Map,Bp={get:e=>zp.get(e),set(e,t){!function(e){const t=parseInt(e.split(wp)[1]);if(!t)return;Bp.forEach((e,n)=>{const o=parseInt(n.split(wp)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Bp.delete(n),Bp.pruneCacheEntry(e),oo(()=>{xp.forEach((e,t)=>{e.$.isUnmounted&&xp.delete(t)})})}})}(e),zp.set(e,t)},delete(e){zp.get(e)&&zp.delete(e)},forEach(e){zp.forEach(e)}};function Np(e,t){!function(e){const t=qp(e),{body:n}=document;Fp&&n.removeAttribute(Fp),t&&n.setAttribute(t,""),Fp=t}(e),bp(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),Hp(e,t)}function jp(e){const t=qp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function qp(e){return e.type.__scopeId}let Fp;const Vp=!!(()=>{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 Wp;function Hp(e,t){if(document.removeEventListener("touchmove",vu),Wp&&document.removeEventListener("scroll",Wp),t.disableScroll)return document.addEventListener("touchmove",vu,Vp);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},s=Cp(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&Jy.publishHandler(ve,{scrollTop:o},e),n&&Jy.emit(e+"."+ve,{scrollTop:o})}}(s,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>Jy.publishHandler(be,{},s)),Wp=_u(r),requestAnimationFrame(()=>document.addEventListener("scroll",Wp))}function Up(e){const{base:t}=__uniConfig.router;return 0===$e(e).indexOf(t)?$e(e):t+e}function Yp(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 Up(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Lp();return o.length?Up(wu(Cp(o[o.length-1]).route,e).slice(1)):e}const Xp=navigator.userAgent,Gp=/android/i.test(Xp),Kp=/iphone|ipad|ipod/i.test(Xp),Jp=Xp.match(/Windows NT ([\d|\d.\d]*)/i),Qp=/Macintosh|Mac/i.test(Xp),Zp=/Linux|X11/i.test(Xp),eh=Qp&&navigator.maxTouchPoints>0;function th(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function nh(e){return e&&90===Math.abs(window.orientation)}function oh(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function ih(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function rh(e,t,n,o){Qy.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function sh(e,t){const n={},{top:o,topWindowHeight:i}=Gc();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 r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-i,n.bottom=r.bottom-o-i),t.size&&(n.width=r.width,n.height=r.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 ah(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 lh={};function ch(e,t){const n=lh[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]:"",i=atob(t[1]);let r=i.length;const s=new Uint8Array(r);for(;r--;)s[r]=i.charCodeAt(r);return uh(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 uh(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const i=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],i,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||i}}return n}function dh(e){for(const n in lh)if(f(lh,n)){if(lh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return lh[t]=e,t}const fh=Hu(),ph=Hu();const hh=Gu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=zn(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),i=function(e,t,n){const o=wn({width:-1,height:-1});return Do(()=>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){ai(o),yi(()=>{t.initial&&oo(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,i,o),()=>Rr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[Rr("div",{onScroll:i},[Rr("div",null,null)],40,["onScroll"]),Rr("div",{onScroll:i},[Rr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const gh=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 mh(e,t=!0){const n=t?gh:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let vh=!1;function yh(){if(vh)return;vh=!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,i,r,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=gh,o*=gh,i*=gh,r*=gh,s*=gh,a*=gh,l=u?l*gh:l,c=u?c*gh:c,e.call(this,t,n,o,i,r,s,a,l,c)}}(t.drawImage),1!==gh&&(!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*gh});else if(Array.isArray(e))for(let t=0;tyh());function _h(e){return e?Yp(e):e}function wh(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function xh(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let Ch;function Sh(e=0,t=0){return Ch||(Ch=document.createElement("canvas")),Ch.width=e,Ch.height=t,Ch}const kh=Gu({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}){bh();const o=zn(null),i=zn(null),r=zn(null),s=zn(!1),a=function(e){return(t,n)=>{e(t,Mu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=pg({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=rs(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,r=c({},(()=>{let e={};for(const t in i)if(f(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];r[t]&&o.push(Ju(e=>{const o=e.currentTarget.getBoundingClientRect();xh(o,e.touches),xh(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Hc),r[t]=o}),r});return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],i={};const r=rs(()=>e.hidpi?gh:1);function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*r.value)||o.height!==Math.floor(n.height*r.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);mh(o,e.hidpi),t.putImageData(n,0,0)}else mh(o,e.hidpi)}function a({actions:e,reserve:r},s){if(!e)return;if(n.value)return void o.push([e,r]);let a=t.value,c=a.getContext("2d");r||(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=_h(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=_h(o),n[1]=o),o&&!i[o]&&r()})}function u(e,t,r,s){let l=i[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]},r),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,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;i=i?Math.min(i,m):m,l?(s=o,a=i):s||a?s?a||(a=Math.round(i/o*s)):(a||(a=Math.round(i*r.value)),s=Math.round(o/i*a)):(s=Math.round(o*r.value),a=Math.round(i*r.value));const v=Sh(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,i,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:i,height:r,compressed:s},a){try{0,r||(r=Math.round(e.length/4/i));const s=Sh(i,r);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,r),0,0),t.value.getContext("2d").drawImage(s,n,o,i,r),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:i,destHeight:r,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,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,i,s);return Ug(h,Xg(e.canvasId),!0),yi(()=>{g()}),()=>{const{canvasId:t,disableScroll:s}=e;return Rr("uni-canvas",Vr({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,p.value),[Rr("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Rr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Rr(hh,{ref:r,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Th(){}const Ah={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 Eh(e,t,n){function o(e){const t=rs(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Th,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Th,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Do(()=>t.value,e=>e&&o(e))}var Mh=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Ph=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Lh=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Oh=Bh("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),$h=Bh("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"),Dh=Bh("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"),Ih=Bh("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Rh=Bh("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),zh=Bh("script,style");function Bh(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},qh={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"]},Fh=Gu({name:"Image",props:Nh,setup(e,{emit:t}){const n=zn(null),o=function(e,t){const n=zn(""),o=rs(()=>{let e="auto",o="";const i=qh[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),i=wn({rootEl:e,src:rs(()=>t.src?Yp(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return yi(()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0}),i}(n,e),i=Qu(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=jh[o];if(!i)return;const{origWidth:r,origHeight:s}=n,a=r&&s?r/s:0;if(!a)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Vh&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,a))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return Do(()=>t.mode,(e,t)=>{jh[t]&&i(),jh[e]&&o()}),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,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();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;a(u,d,l),oo(()=>{o()}),r.draggable=t.draggable,s&&s.remove(),s=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{a(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};Do(()=>e.src,e=>l(e)),Do(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),yi(()=>l(e.src)),wi(()=>c())}(o,e,n,r,i),()=>Rr("uni-image",{ref:n},[Rr("div",{style:o.modeStyle},null,4),jh[e.mode]?Rr(hh,{onResize:r},null,8,["onResize"]):Rr("span",null,null)],512)}});const Vh="Google Inc."===navigator.vendor;const Wh=Ge(!0),Hh=[];let Uh=0,Yh=!1;const Xh=e=>Hh.forEach(t=>t.userAction=e);function Gh(e={userAction:!1}){if(!Yh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Uh&&Xh(!0),Uh++,setTimeout(()=>{! --Uh&&Xh(!1)},0)},Wh)}),Yh=!0}Hh.push(e)}function Kh(){const e=wn({userAction:!1});return yi(()=>{Gh(e)}),wi(()=>{!function(e){const t=Hh.indexOf(e);t>=0&&Hh.splice(t,1)}(e)}),{state:e}}function Jh(){const e=wn({attrs:{}});return yi(()=>{let t=Xr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Qh(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 Zh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const eg=["none","text","decimal","numeric","tel","search","email","url"],tg=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=>!!~eg.indexOf(e)},cursorColor:{type:String,default:""}},Ah),ng=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function og(e,t,n,o){let i=null;i=tt(n=>{t.value=Zh(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Do(()=>e.modelValue,i),Do(()=>e.value,i);const r=function(e,t){let n,o,i=0;const r=function(...r){const s=Date.now();clearTimeout(n),o=()=>{o=null,i=s,e.apply(this,r)},s-i{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return vi(()=>{i.cancel(),r.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function ig(e,t){Kh();const n=rs(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Do(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),yi(()=>{n.value&&oo(o)})}function rg(e,t,n,o){xc(du(),"getSelectedTextRange",Qh);const{fieldRef:i,state:r,trigger:s}=function(e,t,n){const o=zn(null),i=Qu(t,n),r=rs(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=rs(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=rs(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=rs(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=Zh(e.modelValue,e.type)||Zh(e.value,e.type);const u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:s,cursor:a});return Do(()=>u.focus,e=>n("update:focus",e)),Do(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:a}=og(e,r,n,s);ig(e,i),Eh(0,i);const{state:l}=Jh();!function(e,t){const n=Qi(nd,!1);if(!n)return;const o=Xr(),i={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(i),wi(()=>{n.removeField(i)})}("name",r),function(e,t,n,o,i,r){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}Do([()=>t.selectionStart,()=>t.selectionEnd],s),Do(()=>t.cursor,a),Do(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(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)})}(i,r,e,s,a,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const sg=c({},tg,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),ag=De(()=>{{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 lg(e,t,n,o,i){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+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&ag()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function cg(e){return"insertFromPaste"===e.inputType}const ug=Gu({name:"Input",props:sg,emits:["confirm",...ng],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=rs(()=>{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=rs(()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(P(e.textContentType));return i[-1!==t?t:-1!==n?n:0]}),a=rs(()=>{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=zn(null!=t?t.toLocaleString():"");return Do(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Do(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return zn("")}(e,r),c={fn:null};const u=zn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=rg(e,u,t,(e,t)=>{const n=e.target;if("number"===r.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=lg(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=lg(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!cg(e))return n.value=l.value=t.value,!1}});Do(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Do(()=>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=rs(()=>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?Rr("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:r.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"]):Rr("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===r.value&&f.maxlength>0&&t.length>f.maxlength?cg(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:r.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 Rr("uni-input",{ref:u},[Rr("div",{class:"uni-input-wrapper"},[No(Rr("div",Vr(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Es,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Rr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const dg=["class","style"],fg=/^on[A-Z]+/,pg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Xr(),i=Bn({}),r=Bn({}),s=Bn({}),a=n.concat(dg);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:fg.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,s.value=e.exclude}),{$attrs:i,$listeners:r,$excludeAttrs:s}};function hg(e){const t=[];return p(e)&&e.forEach(e=>{Pr(e)?e.type===yr?t.push(...hg(e.children)):t.push(e):p(e)&&t.push(...hg(e))}),t}const gg=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 mg,vg;function yg(e,t,n){wi(()=>{document.removeEventListener("mousemove",mg),document.removeEventListener("mouseup",vg)});let o=0,i=0,r=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-i,ddx:a-r,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;gg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=s=e.touches[0].pageY,a(e,"start",o,i)}),gg(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=s=e.pageY,a(e,"start",o,i)}),gg(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=mg=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return r=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),gg(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=vg=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),gg(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 bg=Gu({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=zn(null),i=zn(null),r=Qu(o,n),s=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return Do(()=>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=zn(null);yi(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=zn([]),c=zn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==_r);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Ji("getPickerViewColumn",function(e){return rs({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),r("change",{},{value:e})}}})}),Ji("pickerViewProps",e),Ji("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=hg(e);l.value=t,oo(()=>{c.value=t})}return Rr("uni-picker-view",{ref:o},[Rr(hh,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),Rr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class _g{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 wg(e,t,n){return e>t-n&&e0){const i=(-n-Math.sqrt(r))/(2*o),s=(-n+Math.sqrt(r))/(2*o),a=(t-i*e)/(s-i),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,i*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,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*i*t+a*s*n}}}const s=Math.sqrt(4*o*i-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||!xg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(xg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),xg(t,.4)&&(t=0),xg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&xg(o-e,.4)&&xg(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()),wg(this.x(),this._endPosition,.4)&&xg(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 Sg{constructor(e,t,n){this._extent=e,this._friction=t||new _g(.01),this._spring=n||new Cg(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 kg{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 Sg(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,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(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 i=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(),i!==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 Tg=Gu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=zn(null),i=zn(null),r=Qi("getPickerViewColumn"),s=Xr(),a=r?r(s):zn(0),l=Qi("pickerViewProps"),c=Qi("pickerViewState"),u=zn(34),d=zn(null);yi(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=rs(()=>(c.height-u.value)/2),{state:p}=Jh();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)}))}Do(()=>a.value,e=>{e!==g.current&&(g.current=e,v())}),Do(()=>g.current,e=>a.value=e),Do([()=>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 i=Math.min(g.current+t,g.length-1);g.current=i=Math.max(i,0),h.scrollTo(i*u.value)}}}const w=()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new kg(e,t);function i(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,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.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 r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.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(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(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,i=n.historyTime[t],r=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-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 _g(1e-4),spring:new Cg(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,yg(e,e=>{switch(e.detail.state){case"start":r(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 yi(w),()=>{const e=t.default&&t.default();g.length=hg(e).length;const n=`${f.value}px 0`;return Rr("uni-picker-view-column",{ref:o},[Rr("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[Rr("div",Vr(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),Rr("div",Vr(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Rr(hh,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Rr("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Ag={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:""},Eg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Mg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map(n=>{var o;if(C(n)){if(!f(n,"type")||"node"===n.type){let i={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!f(Ag,r))return;return function(e,t){if(C(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Yp(o))}}(r,n.attrs),i=c(i,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,i,Mg(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Br((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return f(Eg,t)&&Eg[t]?Eg[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 Pg(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,i,r=[],s=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&zh[r.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",r.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&&r[o]!=n;o--);else var o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}c()}(e,{start:function(e,o,i){const r={name:e};if(0!==o.length&&(r.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)),i){const e=t[0]||n;e.children||(e.children=[]),e.children.push(r)}else t.unshift(r)},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 Lg=Gu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Xr(),o=n&&n.vnode.scopeId||"",i=zn(null),r=zn([]),s=Qu(i,t);function a(e,t={}){s("itemclick",e,t)}return Do(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=Pg(e.nodes)),r.value=Mg(o,a,t)},{immediate:!0,deep:!0}),()=>ss("uni-rich-text",{ref:i},ss("div",{},r.value))}}),Og=Gu({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=zn(null),o=rs(()=>{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}),i=rs(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:r,refresherDefaultStyle:s,refresherThreshold:a}=e;return Rr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Rr("div",{class:"uni-scroll-view-refresh"},[Rr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?Rr("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Rr("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),Rr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?Rr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Rr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Rr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),$g=Ge(!0),Dg=Gu({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 i=zn(null),r=zn(null),s=zn(null),a=zn(null),l=Qu(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=rs(()=>Number(e.scrollTop)||0),n=rs(()=>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,i,r,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=rs(()=>e.scrollX),h=rs(()=>e.scrollY),g=rs(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),m=rs(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,i="";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 r=a.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",f),r.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),r.addEventListener("transitionend",f),r.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function y(e){const n=e.target;i("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&&(i("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&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("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&&(i("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=r.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=s.value.scrollLeft+n;e.scrollWithAnimation?v(i,"x"):s.value.scrollLeft=i}if(h.value){let n=o.top-t.top,i=s.value.scrollTop+n;e.scrollWithAnimation?v(i,"y"):s.value.scrollTop=i}}}}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 C(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),i("refresherrefresh",{},{dy:k.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:k.y-S.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:k.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},k={y:e.refresherThreshold};return yi(()=>{oo(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(r-S.y))if(p.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?C("refreshing"):C("refresherabort"),S={x:0,y:0},k={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,$g),s.value.addEventListener("touchmove",l,Ge(!1)),s.value.addEventListener("scroll",r,Ge(!1)),s.value.addEventListener("touchend",g,$g),wi(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",r),s.value.removeEventListener("touchend",g)})}),ai(()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Do(n,e=>{b(e)}),Do(o,e=>{_(e)}),Do(()=>e.scrollIntoView,e=>{w(e)}),Do(()=>e.refresherTriggered,e=>{!0===e?C("refreshing"):!1===e&&C("restore")}),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,i,r,a,t),h=rs(()=>{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=rs(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Rr("uni-scroll-view",{ref:i},[Rr("div",{ref:s,class:"uni-scroll-view"},[Rr("div",{ref:r,style:h.value,class:g.value},[t?Rr(Og,{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,Rr("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Ig(e,t,n,o,i,r){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=rs(()=>n.value.length>t.displayMultipleItems),y=rs(()=>e.circular&&v.value);function b(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||y.value&&function(o){if(!u)for(let i=n.value,r=i.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(i-=c.length),i=a%1>.5||a<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,i=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();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+i*u*u/2),l=requestAnimationFrame(x)}function C(e,o,i){w();const r=t.duration,s=n.value.length;let a=d;if(y.value)if(i<0){for(;ae;)a-=s}else if(i>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,i=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),p&&(b(p.toPos),p=null);const i=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&&S())):(u=!0,b(-t.displayMultipleItems-1))}),Do(()=>t.interval,()=>{c&&(s(),S())}),Do(()=>t.current,(e,o)=>{!function(e,o){const i=m;m="";const s=n.value;if(!i){const t=s.length;C(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)}),Do(()=>t.currentItemId,e=>{i("update:currentItemId",e)}),Do(()=>e.autoplay&&!t.userTracking,k),k(e.autoplay&&!t.userTracking),yi(()=>{let i=!1,r=0,a=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=_(d+o);e?b(g):(m="touch",t.current=i,C(i,"touch",0!==o?o:0===i&&y.value&&d>=1?1:0))}yg(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,s(),g=d,r=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(!i){i=!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&&S())}return function(i){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;r=.6*r+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-i.dy/f.offsetHeight,-i.ddy/d):u(-i.dx/f.offsetWidth,-i.ddx/d)}(c.detail),!1}}})}),xi(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){C(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Rg=Gu({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=zn(null),i=Qu(o,n),r=zn(null),s=zn(null),a=function(e){return wn({interval:rs(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:rs(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:rs(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=rs(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:eu(e.previousMargin,!0),bottom:eu(e.nextMargin,!0)}:{top:0,bottom:0,left:eu(e.previousMargin,!0),right:eu(e.nextMargin,!0)}),t}),c=rs(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=zn([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}f.value=e}Ji("addSwiperContext",function(e){d.push(e),p()});Ji("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Ig(e,a,f,s,n,i);let v=()=>null;return v=zg(o,e,a,h,f,g,m),()=>{const n=t.default&&t.default();return u=hg(n),Rr("uni-swiper",{ref:o},[Rr("div",{ref:r,class:"uni-swiper-wrapper"},[Rr("div",{class:"uni-swiper-slides",style:l.value},[Rr("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Rr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>Rr("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=zn(!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=i.value.length,t=!r.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=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=a-1);break;case"next":l++,l>=a&&r.value&&(l=0)}o(l)}const g=()=>su(ru,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:i}=n,{left:r,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(i-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 yi(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Rr(yr,null,[Rr("div",Vr({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"]),Rr("div",Vr({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}},Bg=Gu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=zn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,s=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=s,r.style.transform=s)}};return yi(()=>{const e=Qi("addSwiperContext");e&&e(o)}),xi(()=>{const e=Qi("removeSwiperContext");e&&e(o)}),()=>Rr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Ng={ensp:" ",emsp:" ",nbsp:" "};function jg(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&Ng[t]&&" "===r&&(r=Ng[t]),i?(o+="n"===r?ee:"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/ /g,Ng.nbsp).replace(/ /g,Ng.ensp).replace(/ /g,Ng.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const qg=Gu({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=zn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==_r){const n=jg(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Br(e)),t!==i&&o.push(Rr("br"))})}else o.push(t)}),Rr("uni-text",{ref:n,selectable:!!e.selectable||null},[Rr("span",null,o)],8,["selectable"])}}}),Fg=Gu({name:"View",props:c({},Zu),setup(e,{slots:t}){const n=zn(null),{hovering:o,binding:i}=ed(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Rr("uni-view",Vr({class:o.value?r:"",ref:n},i),[Ei(t,"default")],16):Rr("uni-view",{ref:n},[Ei(t,"default")],512)}}});function Vg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Wg(e,t,n){e&&xc(n||du(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Hg(e,t){e&&function(e,t){t=wc(e,t),delete _c[t]}(t||du(),e)}function Ug(e,t,n,o){const i=Xr().proxy;yi(()=>{Wg(t||Vg(i),e,o),!n&&t||Do(()=>i.id,(t,n)=>{Wg(Vg(i,t),e,o),Hg(n&&Vg(i,n))})}),wi(()=>{Hg(t||Vg(i),o)})}let Yg=0;function Xg(e){const t=au(),n=Xr().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+Yg++;return yi(()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}}),`${o}.${i}`}function Gg(e,t,n,o){m(t)&&gi(e,t.bind(n),o)}function Kg(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))&&(it.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];p(i)?i.forEach(e=>Gg(o,e,n,t)):Gg(o,i,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,mu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&mu(n,ie)}catch(i){console.error(i.message+ee+i.stack)}}}function Jg(e,t,n){Kg(e,t,n)}function Qg(e,t,n){return e[t]=n}function Zg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function em(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r[ae]?mu(r.proxy,ae,n):Yn(n,0,o&&o.$.vnode,!1)}}function tm(e,t){return e?[...new Set([].concat(e,t))]:t}function nm(e){const t=e.config;var n;t.errorHandler=st(e,em),n=t.optionMergeStrategies,it.forEach(e=>{n[e]=tm});const o=t.globalProperties;o.$set=Qg,o.$applyOptions=Jg,o.$callMethod=Zg,function(e){rt.forEach(t=>t(e))}(e)}function om(e){const t=Bl({history:sm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:rm});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(im[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let im=Object.create(null);const rm=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,im[o]);if(t)return t}return{left:0,top:0};var o};function sm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Qa(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Lp(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=Cp(t[i]);Op(Rp(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const am={install(e){nm(e),$u(e),Wu(e),e.config.warnHandler||(e.config.warnHandler=lm),om(e)}};function lm(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 cm={class:"uni-async-loading"},um=Rr("i",{class:"uni-loading"},null,-1),dm=Ku({name:"AsyncLoading",render:()=>(Sr(),Mr("div",cm,[um]))});function fm(){window.location.reload()}const pm=Ku({name:"AsyncError",props:["error"],setup(){lc();const{t:e}=sc();return()=>Rr("div",{class:"uni-async-error",onClick:fm},[e("uni.async.error")],8,["onClick"])}});let hm;function gm(){return hm}function mm(e){hm=e,Object.defineProperty(hm.$.ctx,"$children",{get:()=>Lp().map(e=>e.$vm)});const t=hm.$.appContext.app;t.component(dm.name)||t.component(dm.name,dm),t.component(pm.name)||t.component(pm.name,pm),function(e){e.$vm=e,e.$mpType="app";const t=zn(sc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(hm),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}})}(hm),Fu(),Cu()}function vm(e,{clone:t,init:n,setup:o,before:i}){t&&(e=c({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=Xr();if(n(i.proxy),o(i),r)return r(e,t)},e}function ym(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?vm(e.default,t):vm(e,t)}function bm(e){return ym(e,{clone:!0,init:Ip,setup(e){e.$pageInstance=e;const t=ud(),n=Qe(t.query);e.attrs.__pageQuery=n,Cp(e.proxy).options=n,e.proxy.options=n;const o=ld();var i,r;return bp(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),Do([e.onReachBottom,e.onPageScroll],()=>{const t=cu();e.proxy===t&&Hp(e,o)},{once:!0}),vi(()=>{Np(e,o)}),yi(()=>{jp(e);const{onReady:n}=e;n&&D(n),Cm(t)}),ci(()=>{if(!e.__isVisible){Np(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&D(n),oo(()=>{Cm(t)})}},"ba",i),function(e,t){ci(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&D(t)}}}),r=o.id,Jy.subscribe(wc(r,vc),Cc),wi(()=>{!function(e){Jy.unsubscribe(wc(e,vc)),Object.keys(_c).forEach(t=>{0===t.indexOf(e+".")&&delete _c[t]})}(o.id)}),n}})}function _m(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=lv(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Qy.emit(ge,{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function wm(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Qy.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function xm(){const{emit:e}=Qy;"visible"===document.visibilityState?e(Pe,c({},ph)):e(Le)}function Cm(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&mu("onTabItemTap",{index:n,text:t,pagePath:o})}function Sm(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),i=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(r=i+":"+r),r}function km(e,t,n){const o=wn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let r=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.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=i,h=t.value;if("progress"===c?(!function(e){const n=t.value,i=n.duration;let r=e/600*i+o.currentTimeOld;r<0?r=0:r>i&&(r=i);o.currentTimeNew=r}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,i=o.volumeOld;let r;"number"==typeof i&&(r=i-e/200,r<0?r=0:r>1&&(r=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=r,o.volumeNew=r)}(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!=r||(r=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 Tm={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}},Am=Gu({name:"Video",props:Tm,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=zn(null),r=zn(null),s=Qu(i,t),{state:a}=Kh(),{$attrs:l}=pg({excludeListeners:!0});sc(),gc();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:C,onPause:S,onEnded:k,onTimeUpdate:T}=function(e,t,n){const o=zn(null),i=rs(()=>Yp(e.src)),r=rs(()=>"true"===e.muted||!0===e.muted),s=wn({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:r,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 Do(()=>i.value,()=>{s.playing=!1,s.currentTime=0}),Do(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Do(()=>r.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,i=t.target;o>0&&(i.currentTime=o),n("loadedmetadata",t,{width:i.videoWidth,height:i.videoHeight,duration:i.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:A,danmuRef:E,updateDanmu:M,toggleDanmu:P,sendDanmu:L}=function(e,t){const n=zn(null),o=wn({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const r=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 r.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=i,l={time:n,index:a.index};if(n>a.time)for(let i=a.index+1;i=(e.time||0)))break;l.index=i,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(r[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:$,emitFullscreenChange:D,toggleFullscreen:I,requestFullScreen:R,exitFullScreen:z}=function(e,t,n,o,i){const r=wn({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=i.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"),r.appendChild(l)),u&&a(e)}function c(){l(!1)}return wi(c),{state:r,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,r,c,a,i),{state:B,onTouchstart:N,onTouchend:j,onTouchmove:q}=km(e,c,O),{state:F,progressRef:V,ballRef:W,clickProgress:H,toggleControls:U}=function(e,t,n,o){const i=zn(null),r=zn(null),s=rs(()=>e.showCenterPlayBtn&&!t.start),a=zn(!0),l=rs(()=>!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 wi(()=>{u&&clearTimeout(u)}),Do(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),yi(()=>{const e=Ge(!1);let s,a,l,u=!0;const d=r.value;function f(e){const n=e.targetTouches[0],r=n.pageX,d=n.pageY;if(u&&Math.abs(r-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:i,ballRef:r,clickProgress:function(e){const o=i.value;let r=e.target,s=e.offsetX;for(;r&&r!==o;)s+=r.offsetLeft,r=r.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=>{B.currentTimeNew=e});!function(e,t,n,o,i,r,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:r,requestFullScreen:s,exitFullScreen:a};Ug((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)},Xg(),!0)}(d,f,h,g,L,m,R,z);const Y=function(e,t,n){const o=rs(()=>"progress"===t.gestureType||n.touching);return Do(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Do([()=>e.currentTime,()=>{Tm.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Do(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,B,F);return()=>Rr("uni-video",{ref:i,id:e.id,onClick:U},[Rr("div",{ref:r,class:"uni-video-container",onTouchstart:N,onTouchend:j,onTouchmove:q,onFullscreenchange:ta($,["stop"]),onWebkitfullscreenchange:ta(e=>$(e,!0),["stop"])},[Rr("video",Vr({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:C,onPause:S,onEnded:k,onTimeupdate:e=>{T(e),M(e)},onWebkitbeginfullscreen:()=>D(!0),onX5videoenterfullscreen:()=>D(!0),onWebkitendfullscreen:()=>D(!1),onX5videoexitfullscreen:()=>D(!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(Rr("div",{class:"uni-video-bar uni-video-bar-full",onClick:ta(()=>{},["stop"])},[Rr("div",{class:"uni-video-controls"},[No(Rr("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"]),[[Es,e.showPlayBtn]]),No(Rr("div",{class:"uni-video-current-time"},[Sm(u.currentTime)],512),[[Es,e.showProgress]]),No(Rr("div",{ref:V,class:"uni-video-progress-container",onClick:ta(H,["stop"])},[Rr("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[Rr("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),Rr("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),Rr("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[Rr("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Es,e.showProgress]]),No(Rr("div",{class:"uni-video-duration"},[Sm(Number(e.duration)||u.duration)],512),[[Es,e.showProgress]])]),No(Rr("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":A.enable},onClick:ta(P,["stop"])},null,10,["onClick"]),[[Es,e.danmuBtn]]),No(Rr("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:ta(()=>I(!O.fullscreen),["stop"])},null,10,["onClick"]),[[Es,e.showFullscreenBtn]])],8,["onClick"]),[[Es,F.controlsShow]]),No(Rr("div",{ref:E,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Es,u.start&&A.enable]]),F.centerPlayBtnShow&&Rr("div",{class:"uni-video-cover",onClick:ta(()=>{},["stop"])},[Rr("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ta(d,["stop"])},null,8,["onClick"])],8,["onClick"]),Rr("div",{class:"uni-video-loading"},["volume"===B.gestureType?Rr("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":B.toastThin},style:{marginTop:"5px"}},[!B.toastThin&&B.volumeNew>0&&"volume"===B.gestureType?Rr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!B.toastThin&&Rr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Rr("div",{class:"uni-video-toast-draw",style:{width:100*B.volumeNew+"%"}},null)],2):null]),Rr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[Rr("div",{class:"uni-video-toast-title"},[Rr("span",{class:"uni-video-toast-title-current-time"},[Sm(B.currentTimeNew)])," / ",Number(e.duration)||Sm(u.duration)])],2),Rr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}});let Em,Mm=0;function Pm(e,t,n,o){var i,r=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+Mm++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[a],r.remove()}window[a]=e=>{m(n)&&n(e),c()},r.onerror=()=>{m(o)&&o(),c()},i=setTimeout(function(){m(o)&&o(),c()},l),r.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(r)}function Lm(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 i(){}function r(){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=r,this.createBMapText=i,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(jm())this.callback=a,this.visible&&this.createAMapText();else if(qm())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 i=this.triangle=document.createElement("div");i.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(i),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,jm()?this.visible&&this.createAMapText():qm()?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(!jm()&&!qm()){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 Om={};function $m(e,t){const n=zm();if(!n.key)return void console.error("Map key not configured.");const o=Om[n.type]=Om[n.type]||[];if(Em)t(Em);else if(window[n.type]&&window[n.type].maps)Em=jm()||qm()?window[n.type]:window[n.type].maps,Em.Callout=Em.Callout||Lm(Em),t(Em);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],Em=jm()||qm()?window[n.type]:window[n.type].maps,Em.Callout=Lm(Em),o.forEach(e=>e(Em)),o.length=0},jm()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=Dm(n.type);n.type===Rm.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Rm.BMAP?s.src=`${a}ak=${n.key}&callback=${r}`:s.src=`${a}key=${n.key}&callback=${r}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const Dm=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]);const Im="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/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=";var Rm=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Rm||{});function zm(){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 Bm=!1,Nm=!1;const jm=()=>Nm?Bm:(Nm=!0,Bm="AMap"===zm().type),qm=()=>"BMapGL"===zm().type;const Fm=Ku({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=Qi("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),xi(()=>{n.remove()}),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),i=document.createElement("div");return Object.keys(o).forEach(e=>{i.style[e]=o[e]||""}),n.innerText=`.${t}{${i.getAttribute("style")}}`,t}}(t);let i;function r(e){jm()?e.removeAMapText():e.setMap(null)}if(n((n,s,a)=>{function l(e){const l=e.title;let c;c=jm()?new s.LngLat(e.longitude,e.latitude):qm()?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)},qm()?(i=new s.Marker(new s.Point(c.lng,c.lat)),n.addOverlay(i)):(i.setPosition(c),i.setIcon(p)),"setRotation"in i&&i.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in i&&(i.label.setMap(null),delete i.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}),i.label=_;else if("setLabel"in i)if(jm()){const t=`
\n ${b.content}\n
`;i.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);i.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,C=i.callout;if(w.content||l){jm()&&w.content&&(w.content=w.content.replaceAll("\n","
"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let r=-d/2;if((e.width||e.height)&&(r+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:r,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:r,content:l,boxShadow:o},C)C.setOption(x);else if(jm()){const e=()=>{""!==t&&a("callouttap",{},{markerId:Number(t)})};C=i.callout=new s.Callout(x,e)}else C=i.callout=new s.Callout(x),C.div.onclick=function(e){""!==t&&a("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},zm().type===Rm.GOOGLE&&(C.div.ontouchstart=function(e){e.stopPropagation()},C.div.onpointerdown=function(e){e.stopPropagation()})}else C&&(r(C),delete i.callout)},e.iconPath?u.src=Yp(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){qm()||(i=new s.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=s.event||s.Event;qm()||o.addListener(i,"click",()=>{const n=i.callout;if(n&&!n.alwaysVisible)if(jm())n.visible=!n.visible,n.visible?i.callout.createAMapText():i.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),Do(e,l)}),t){const e=Qi("addMapChidlContext"),o=Qi("removeMapChidlContext"),r={id:t,translate(e){n((t,n,o)=>{const r=e.destination,s=e.duration,a=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in i&&(c=i.getRotation());const u=i.getPosition(),d=new n.LatLng(r.latitude,r.longitude),f=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof s?s:1e3)/36e5),p=n.event||n.Event,h=p.addListener(i,"moving",e=>{const t=e.latLng,n=i.label;n&&n.setPosition(t);const o=i.callout;o&&o.setPosition(t)}),g=p.addListener(i,"moveend",()=>{g.remove(),h.remove(),i.lastPosition=u,i.setPosition(d);const t=i.label;t&&t.setPosition(d);const n=i.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()});let v=0;a&&(i.lastPosition&&(v=n.geometry.spherical.computeHeading(i.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in i&&i.setRotation(c+l),"moveTo"in i?i.moveTo(d,f):(i.setPosition(d),p.trigger(i,"moveend",{}))})}};e(r),xi(()=>o(r))}return xi(function(){i&&(i.label&&"setMap"in i.label&&i.label.setMap(null),i.callout&&r(i.callout),i.setMap(null))}),()=>null}});function Vm(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,i,r,s]=t.match(/(\w{2})/g);const a=parseInt(o,16),l=parseInt(i,16),c=parseInt(r,16);return s?{r:a,g:l,b:c,a:(`0x100${s}`-65536)/255}:{r:a,g:l,b:c,a:1}}const Wm={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:""}},Hm=Ku({name:"MapPolyline",props:Wm,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Qi("onMapReady")((i,r)=>{function s(e){const o=[];e.points.forEach(e=>{let t;t=jm()?[e.longitude,e.latitude]:qm()?new r.Point(e.longitude,e.latitude):new r.LatLng(e.latitude,e.longitude),o.push(t)});const s=Number(e.width)||1,{r:a,g:l,b:c,a:u}=Vm(e.color),{r:d,g:f,b:p,a:h}=Vm(e.borderColor),g={map:i,clickable:!1,path:o,strokeWeight:s,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:i,clickable:!1,path:o,strokeWeight:s+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in r?(g.strokeColor=new r.Color(a,l,c,u),v.strokeColor=new r.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 r.Polyline(v)),qm()?(t=new r.Polyline(g.path,g),i.addOverlay(t)):t=new r.Polyline(g)}s(e),Do(e,function(e){o(),s(e)})}),xi(o),()=>null}}),Um=Ku({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 Qi("onMapReady")((o,i)=>{function r(e){const n=jm()||qm()?[e.longitude,e.latitude]:new i.LatLng(e.latitude,e.longitude),r={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(qm())r.strokeColor=e.color,r.fillColor=e.fillColor||"#000",r.fillOpacity=1;else{const{r:t,g:n,b:o,a:s}=Vm(e.fillColor),{r:a,g:l,b:c,a:u}=Vm(e.color);"Color"in i?(r.fillColor=new i.Color(t,n,o,s),r.strokeColor=new i.Color(a,l,c,u)):(r.fillColor=`rgb(${t}, ${n}, ${o})`,r.fillOpacity=s,r.strokeColor=`rgb(${a}, ${l}, ${c})`,r.strokeOpacity=u)}if(qm()){let e=new i.Point(r.center[0],r.center[1]);t=new i.Circle(e,r.radius,r),o.addOverlay(t)}else t=new i.Circle(r),jm()&&o.add(t)}r(e),Do(e,function(e){n(),r(e)})}),xi(n),()=>null}}),Ym={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}},Xm=Ku({name:"MapControl",props:Ym,setup(e){const t=rs(()=>Yp(e.iconPath)),n=rs(()=>{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()=>Rr("div",{class:"uni-map-control"},[Rr("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Gm=Gd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Km="__DC_STAT_UUID",Jm=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Qm;function Zm(){if(Qm=Qm||Jm[Km],!Qm){Qm=Date.now()+""+Math.floor(1e7*Math.random());try{Jm[Km]=Qm}catch(e){}}return Qm}function ev(){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 tv(){let e,t="0",n="",o="phone";const i=navigator.language;if(Kp){e="iOS";const o=Xp.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=Xp.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Gp){e="Android";const o=Xp.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=Xp.match(/\((.+?)\)/),r=i?i[1].split(";"):Xp.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=th(),n=nh(t),o=oh(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=ih(o);let s=window.innerHeight;const a=Wc.top,l={left:Wc.left,right:r-Wc.right,top:Wc.top,bottom:s-Wc.bottom,width:r-Wc.left-Wc.right,height:s-Wc.top-Wc.bottom},{top:c,bottom:u}=Gc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Wc.top,right:Wc.right,bottom:Wc.bottom,left:Wc.left},screenTop:i-s}});let ov,iv=!0;function rv(){iv&&(ov=tv())}const sv=Xd(0,()=>{rv();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=ov;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Zm(),deviceOrientation:s,deviceType:a,model:o,platform:i,system:r,osName:l?l.toLowerCase():void 0,osVersion:u})}),av=Xd(0,()=>{rv();const{theme:e,language:t,browserName:n,browserVersion:o}=ov;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Tf?Tf():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},{})}),lv=Xd(0,()=>{iv=!0,rv(),iv=!1;const e=nv(),t=sv(),n=av();iv=!0;const{ua:o,browserName:i,browserVersion:r,osname:s,osversion:a}=ov,l=c(e,t,n,{ua:o,browserName:i,browserVersion:r,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 C(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});let cv=null;const uv=Hd(Mf,()=>{fv()}),dv=Ud("offCompass",()=>{pv()}),fv=Gd("startCompass",(e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!cv){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(){cv=function(e){const t=360-(null!==e.alpha?e.alpha:360);Qy.invokeOnCallback(Mf,{direction:t})},window.addEventListener("deviceorientation",cv,!1)}}),pv=Gd("stopCompass",(e,{resolve:t})=>{cv&&(window.removeEventListener("deviceorientation",cv,!1),cv=null),t()});const hv=Gd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],i=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 i=document.createElement("textarea");i.setAttribute("inputmode","none"),i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{a(i.next(e))}catch(n){t(n)}},s=e=>{try{a(i.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((i=i.apply(n,o)).next())});var n,o,i},0,Ef);const gv=Xd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function mv(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 vv=Xd(0,e=>{try{return mv(e)}catch(t){return""}}),yv=Xd(0,e=>{localStorage&&localStorage.removeItem(e)}),bv={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 _v=null;const wv=Gd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{fc();const{t:r}=sc();_v&&(document.body.removeChild(_v),_v=null),_v=function({count:e,sourceType:t,type:n,extension:o}){Gh();const i=document.createElement("input");return i.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${bv[n][t]||t}`}}).join(","),e&&e>1&&(i.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(_v),_v.addEventListener("cancel",()=>{i("chooseImage:fail cancel")}),_v.addEventListener("change",function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(r=r||dh(t),r)}),oe)},tempFiles:i})}),_v.click(),Uh||console.warn(r("uni.chooseFile.notUserActivation"))},0,Df),xv={esc:["Esc","Escape"],enter:["Enter"]},Cv=Object.keys(xv);function Sv(){const e=zn(""),t=zn(!1),n=n=>{if(t.value)return;const o=Cv.find(e=>-1!==xv[e].indexOf(n.key));o&&(e.value=o),oo(()=>e.value="")};return yi(()=>{document.addEventListener("keyup",n)}),wi(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const kv=Rr("div",{class:"uni-mask"},null,-1);function Tv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ia(Qo({setup:()=>()=>(Sr(),Mr(e,t,null,16))}))}function Av(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Ev(e,{onEsc:t,onEnter:n}){const o=zn(e.visible),{key:i,disable:r}=Sv();return Do(()=>e.visible,e=>o.value=e),Do(()=>o.value,e=>r.value=!e),Oo(()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let Mv=0,Pv="";function Lv(e){let t=Mv;Mv+=e?1:-1,Mv=Math.max(0,Mv),Mv>0?0===t&&(Pv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Pv,Pv="")}const Ov=Yd("request",({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,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 Dv(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=$v(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 i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=Rv(n,r,i)),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 Dv(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=r,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=Rv(n,r,i)),c({data:n,statusCode:e,header:Iv(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,Bf),$v=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 i=0;i{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 Iv(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 Rv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}class zv{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 Bv=Yd("uploadFile",({url:e,file:t,filePath:n,name:o,files:i,header:r={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new zv;return p(i)&&i.length||(n||c("file error"),i=[{name:o,file:t,uri:n}]),Promise.all(i.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(uh(e)):ch(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach(e=>{d.append(e,s[e])}),Object.values(i).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(r).forEach(e=>{o.setRequestHeader(e,r[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,Nf),Nv=Gd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const s=zm();new Promise((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{s.type===Rm.QQ?Pm(`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===Rm.GOOGLE?Ov({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===Rm.AMAP?$m([],()=>{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=zm();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Pm(`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:i}=n.locations[0];e({longitude:o,latitude:i,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=>{$m([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,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=>{i({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=>{r(e.message)})}).catch(e=>{r(e.message||JSON.stringify(e))})},0,Lf);const jv=Ku({name:"LocationView",props:{latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=function(e){const t=wn({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:Im,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return Do([()=>e.latitude,()=>e.longitude],n),n(),t}(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function i(){const t=zm();let o="";if(t.type===Rm.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===Rm.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}&from=${encodeURIComponent("我的位置")}`:""}&tocoord=${e.latitude}%2C${e.longitude}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else if(t.type===Rm.AMAP){o=`https://uri.amap.com/navigation?${n.location.latitude?`from=${n.location.longitude},${n.location.latitude},${encodeURIComponent("我的位置")}&`:""}to=${e.longitude},${e.latitude},${encodeURIComponent(e.name||"目的地")}`}window.open(o)}function r(){t("close")}function s({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}return yi(()=>Lv(!0)),xi(()=>Lv(!1)),Nv({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>Rr("div",{class:"uni-system-open-location"},[Rr(Ny,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[Rr("div",{class:"map-move",onClick:()=>s(n.location)},[su("M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z","#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),Rr("div",{class:"info"},[Rr("div",{class:"name",onClick:()=>s(n.marker)},[e.name],8,["onClick"]),Rr("div",{class:"address",onClick:()=>s(n.marker)},[e.address],8,["onClick"]),Rr("div",{class:"nav",onClick:i},[su("M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z","#ffffff",26)],8,["onClick"])]),Rr("div",{class:"nav-btn-back",onClick:r},[su(ru,"#ffffff",26)],8,["onClick"])])}});let qv=null;const Fv=Gd("openLocation",(e,{resolve:t})=>{qv?c(qv,e):(qv=wn(e),oo(()=>{const e=Tv(jv,qv,()=>{qv=null,oo(()=>{e.unmount()})});e.mount(Av("u-a-o"))})),t()},0,$f),Vv=Gd(qf,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(Sp.handledBeforeEntryPageRoutes)return up({type:qf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(i);kp.push({args:{type:qf,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Uf);function Wv(e){__uniConfig.darkmode&&Qy.on(le,e)}function Hv(e){Qy.off(le,e)}function Uv(e){let t={};return __uniConfig.darkmode&&(t=dt(e,__uniConfig.themeConfig,ev())),__uniConfig.darkmode?t:e}const Yv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Xv=Qo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=zn(""),o=()=>s.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),s=Ev(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),a=function(e){const t=zn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Yv[e].cancelColor})(e,t)};return Oo(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===ev()&&n({theme:"dark"}),Wv(n))):Hv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Rr(hs,{name:"uni-fade"},{default:()=>[No(Rr("uni-modal",{onTouchmove:Hc},[kv,Rr("div",{class:"uni-modal"},[t?Rr("div",{class:"uni-modal__hd"},[Rr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Rr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Rr("div",{class:"uni-modal__bd",onTouchmovePassive:Uc,textContent:o},null,40,["onTouchmovePassive","textContent"]),Rr("div",{class:"uni-modal__ft"},[l&&Rr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),Rr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Es,s.value]])]})}}});let Gv;const Kv=De(()=>{Qy.on("onHidePopup",()=>Gv.visible=!1)});let Jv;function Qv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Gv.editable&&(o.content=t),Jv&&Jv(o)}const Zv=Gd("showModal",(e,{resolve:t})=>{Kv(),Jv=t,Gv?(c(Gv,e),Gv.visible=!0):(Gv=wn(e),oo(()=>(Tv(Xv,Gv,Qv).mount(Av("u-a-m")),oo(()=>Gv.visible=!0))))},0,ep),ey={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==tp.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},ty="uni-toast__icon",ny={light:"#fff",dark:"rgba(255,255,255,0.9)"},oy=e=>ny[e],iy=Qo({name:"Toast",props:ey,setup(e){cc(),uc();const{Icon:t}=function(e){const t=zn(oy(ev())),n=({theme:e})=>t.value=oy(e);Oo(()=>{e.visible?Wv(n):Hv(n)});const o=rs(()=>{switch(e.icon){case"success":return Rr(su(ou,t.value,38),{class:ty});case"error":return Rr(su(iu,t.value,38),{class:ty});case"loading":return Rr("i",{class:[ty,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Ev(e,{});return()=>{const{mask:o,duration:i,title:r,image:s}=e;return Rr(hs,{name:"uni-fade"},{default:()=>[No(Rr("uni-toast",{"data-duration":i},[o?Rr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Hc},null,40,["onTouchmove"]):"",s||t.value?Rr("div",{class:"uni-toast"},[s?Rr("img",{src:s,class:ty},null,10,["src"]):t.value,Rr("p",{class:"uni-toast__content"},[r])]):Rr("div",{class:"uni-sample-toast"},[Rr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Es,n.value]])]})}}});let ry,sy,ay="";const ly=gt();function cy(e){ry?c(ry,e):(ry=wn(c(e,{visible:!1})),oo(()=>{ly.run(()=>{Do([()=>ry.visible,()=>ry.duration],([e,t])=>{if(e){if(sy&&clearTimeout(sy),"onShowLoading"===ay)return;sy=setTimeout(()=>{hy("onHideToast")},t)}else sy&&clearTimeout(sy)})}),Qy.on("onHidePopup",()=>hy("onHidePopup")),Tv(iy,ry,()=>{}).mount(Av("u-a-t"))})),setTimeout(()=>{ry.visible=!0},10)}const uy=Gd("showToast",(e,{resolve:t,reject:n})=>{cy(e),ay="onShowToast",t()},0,np),dy={icon:"loading",duration:1e8,image:""},fy=Gd("showLoading",(e,{resolve:t,reject:n})=>{c(e,dy),cy(e),ay="onShowLoading",t()},0,Zf),py=Gd("hideLoading",(e,{resolve:t,reject:n})=>{hy("onHideLoading"),t()});function hy(e){const{t:t}=sc();if(!ay)return;let n="";if("onHideToast"===e&&"onShowToast"!==ay?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==ay&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);ay="",setTimeout(()=>{ry.visible=!1},10)}const gy=Gd("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:i})=>{(function(e,t,n){const o=document.fonts;if(o){const i=new FontFace(e,t,n);return i.load().then(()=>{o.add&&o.add(i)})}return new Promise(o=>{const i=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:s,featureSettings:a}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),i&&r.push(`unicode-range:${i}`),s&&r.push(`font-variant:${s}`),a&&r.push(`font-feature-settings:${a}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(i),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Yp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Yp(t.substring(4,t.length-1))}')`:Yp(t),n).then(()=>{o()}).catch(e=>{i(`loadFontFace:fail ${e}`)})});function my(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Qy.emit("onNavigationBarChange",{titleText:t})}Oo(t),ai(t)}const vy=Gd(op,(e,{resolve:t})=>{Qy.invokeViewMethod(op,{},du()),t()}),yy=Ku({name:"TabBar",setup(){const e=zn([]),t=pp(),n=function(e,t){const n=kn(e),o=n?wn(Uv(e)):Uv(e);return __uniConfig.darkmode&&n&&Do(e,e=>{const t=Uv(e);for(const n in t)o[n]=t[n]}),t&&Wv(t),o}(t,()=>{const e=Uv(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}zn(c({type:"midButton"},e.midButton)),Oo(n)}(n,e),function(e){Do(()=>e.shown,t=>{Jc({"--window-bottom":_p(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,i=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=i}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:i}=t;let r=$e(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?ap({from:"tabBar",url:r,tabBarText:i}):mu("onTabItemTap",{index:n,text:i,pagePath:o})}}}(Nl(),n,e),{style:i,borderStyle:r,placeholderStyle:s}=function(e){const t=rs(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||vp&&n&&"none"!==n&&(t=xy[n]),{backgroundColor:t||by,backdropFilter:"none"!==n?"blur(10px)":n}}),n=rs(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:Cy[t]||Cy.black}}),o=rs(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return yi(()=>{n.iconfontSrc&&gy({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:r}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,i,r,s,a){return Rr("div",{key:s,class:"uni-tabbar__item",onClick:a(i,s)},[Sy(e,t||"",n,o,i,r)],8,["onClick"])}(a?i:r,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 Rr("uni-tabbar",{class:"uni-tabbar-"+n.position},[Rr("div",{class:"uni-tabbar",style:i.value},[Rr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),Rr("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const by="#f7f7fa",_y="rgb(0, 0, 0, 0.8)",wy="rgb(250, 250, 250, 0.8)",xy={dark:_y,light:wy,extralight:wy},Cy={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Sy(e,t,n,o,i,r){const{height:s}=r;return Rr("div",{class:"uni-tabbar__bd",style:{height:s}},[n?Ty(n,o||_y,i,r):t&&ky(t,i,r),i.text&&Ay(e,i,r),i.redDot&&Ey(i.badge)],4)}function ky(e,t,n){const{type:o,text:i}=t,{iconWidth:r}=n;return Rr("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&Rr("img",{src:Yp(e)},null,8,["src"])],6)}function Ty(e,t,n,o){var i;const{type:r,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||a,color:t};return Rr("div",{class:l,style:c},["midButton"!==r&&Rr("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Ay(e,t,n){const{iconPath:o,text:i}=t,{fontSize:r,spacing:s}=n;return Rr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[i],4)}function Ey(e){return Rr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const My="0px",Py=Ku({name:"Layout",setup(e,{emit:t}){const n=zn(null);Kc({"--status-bar-height":My,"--top-window-height":My,"--window-left":My,"--window-right":My,"--window-margin":My,"--tab-bar-height":My});const o=function(){const e=Nl();return{routeKey:rs(()=>Rp("/"+e.meta.route,dd())),isTabBar:rs(()=>e.meta.isTabBar),routeCache:Bp}}(),{layoutState:i,windowState:r}=function(){ud();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Do(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Do(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Do(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:rs(()=>({}))}}}();!function(e,t){const n=ud();function o(){const o=document.body.clientWidth,i=Lp();let r={};if(i.length>0){r=Cp(i[i.length-1]).meta}else{const e=xu(n.path,!0);e&&(r=e.meta)}const s=parseInt(String((f(r,"maxWidth")?r.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")}))}Do([()=>n.path],o),yi(()=>{o(),window.addEventListener("resize",o)})}(i,n);const s=function(){const e=ud(),t=pp(),n=rs(()=>e.meta.isTabBar&&t.shown);return Kc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=zn(!1);return rs(()=>({"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 Rr(zl,null,{default:bo(({Component:o})=>[(Sr(),Mr(ri,{matchBy:"key",cache:n},[(Sr(),Mr(Ao(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return No(Rr(yy,null,null,512),[[Es,e.value]])}(s);return Rr("uni-app",{ref:n,class:a.value},[e,t],2)}}});const Ly="MAP_LOCATION",Oy=Ku({name:"MapLocation",setup(){const e=wn({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){Nv({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{r=setTimeout(n,3e4)}})},o=function(){r&&clearTimeout(r),dv(t)};const i=Qi("onMapReady");let r;uv(t),i(n),xi(o);const s=Qi("addMapChidlContext"),a=Qi("removeMapChidlContext"),l={id:Ly,state:e};s(l),xi(()=>a(l))}return()=>e.latitude?Rr(Fm,Vr({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:Im},e),null,16,["iconPath"]):null}}),$y=Ku({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 Qi("onMapReady")((n,o,i)=>{function r(){const{points:i,strokeWidth:r,strokeColor:s,dashArray:a,fillColor:l,zIndex:c}=e,u=i.map(e=>{const{latitude:t,longitude:n}=e;return jm()?[n,t]:qm()?new o.Point(n,t):new o.LatLng(t,n)}),{r:d,g:f,b:p,a:h}=Vm(l),{r:g,g:m,b:v,a:y}=Vm(s),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:a.some(e=>e>0)?"dash":"solid",strokeWeight:r,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):qm()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}r(),Do(e,r)}),xi(()=>{t.setMap(null)}),()=>null}});function Dy(e){const t=[];return p(e)&&e.forEach(e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})}),t}function Iy(e,t,n){return qm()?function(e,t,n){return new e.Point(n,t)}(e,t,n):jm()?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 Ry(e){return"getLat"in e?e.getLat():qm()?e.lat:e.lat()}function zy(e){return"getLng"in e?e.getLng():qm()?e.lng:e.lng()}function By(e,t,n){const o=Qu(t,n),i=zn(null);let r,s;const a=wn({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Dy(e.includePoints)}),l=[];let u,d;function f(e){u?e(s,r,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:Ry(e),longitude:zy(e)}}}function y(){if(jm()){const e=[];a.includePoints.forEach(t=>{e.push([t.longitude,t.latitude])});const t=new r.Bounds(...e);s.setBounds(t)}else if(qm());else{const e=new r.LatLngBounds;a.includePoints.forEach(({latitude:t,longitude:n})=>{const o=new r.LatLng(t,n);e.extend(o)}),s.fitBounds(e)}}function b(){const t=i.value,l=Iy(r,a.latitude,a.longitude),u=r.event||r.Event,d=new r.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(qm()&&(d.centerAndZoom(l,Number(e.scale)),d.enableScrollWheelZoom(),d._printLog&&d._printLog("uniapp")),Do(()=>e.scale,e=>{d.setZoom(Number(e)||16)}),h(()=>{a.includePoints.length&&(y(),function(){const e=Iy(r,a.latitude,a.longitude);s.setCenter(e)}())}),qm())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=Ry(e),o=zy(e);n("update:latitude",t),n("update:longitude",o)})}return d}Do([()=>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=Iy(r,a.latitude,a.longitude);s.setCenter(e)}}),Do(()=>e.includePoints,e=>{a.includePoints=Dy(e),d&&y()},{deep:!0});try{Ug((e,t={})=>{switch(e){case"getCenterLocation":f(()=>{const n=s.getCenter();ze(t,{latitude:Ry(n),longitude:zy(n),errMsg:`${e}:ok`})});break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g[Ly];e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(a.latitude=n,a.longitude=o,s){const e=Iy(r,n,o);s.setCenter(e)}f(()=>{ze(t,`${e}:ok`)})}else ze(t,`${e}:fail`)}break;case"translateMarker":f(()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){ze(t,`${e}:fail ${o.message}`)}ze(t,`${e}:ok`)}else ze(t,`${e}:fail not found`)});break;case"includePoints":a.includePoints=Dy(t.includePoints),(d||jm())&&y(),h(()=>{ze(t,`${e}:ok`)});break;case"getRegion":h(()=>{const n=s.getBounds(),o=n.getSouthWest(),i=n.getNorthEast();ze(t,{southwest:{latitude:Ry(o),longitude:zy(o)},northeast:{latitude:Ry(i),longitude:zy(i)},errMsg:`${e}:ok`})});break;case"getScale":f(()=>{ze(t,{scale:s.getZoom(),errMsg:`${e}:ok`})})}},Xg(),!0)}catch(_){}return yi(()=>{$m(e.libraries,e=>{r=e,s=b(),u=!0,l.forEach(e=>e(s,r,o)),l.length=0,o("updated",{},{})})}),Ji("onMapReady",f),Ji("addMapChidlContext",function(e){g[e.id]=e}),Ji("removeMapChidlContext",function(e){delete g[e.id]}),{state:a,mapRef:i,trigger:o}}const Ny=Gu({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=zn(null),{mapRef:i,trigger:r}=By(e,o,t);return()=>Rr("uni-map",{ref:o,id:e.id},[Rr("div",{ref:i,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map(e=>Rr(Fm,Vr({key:e.id},e),null,16)),e.polyline.map(e=>Rr(Hm,e,null,16)),e.circles.map(e=>Rr(Um,e,null,16)),e.controls.map(e=>Rr(Xm,Vr(e,{trigger:r}),null,16,["trigger"])),e.showLocation&&Rr(Oy,null,null),e.polygons.map(e=>Rr($y,e,null,16)),Rr("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function jy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pr(e)}function qy(e){if(e.mode===Wy.TIME)return"00:00";if(e.mode===Wy.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Hy.YEAR:return t.toString();case Hy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Fy(e){if(e.mode===Wy.TIME)return"23:59";if(e.mode===Wy.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Hy.YEAR:return t.toString();case Hy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Vy(e,t,n,o){const i=e.mode===Wy.DATE?"-":":",r=e.mode===Wy.DATE?t.dateArray:t.timeArray;let s;if(e.mode===Wy.TIME)s=2;else switch(e.fields){case Hy.YEAR:s=1;break;case Hy.MONTH:s=2;break;default:s=3}const a=String(n).split(i);let l=[];for(let c=0;c=0&&(l=o?Vy(e,t,o):l.map(()=>0)),l}const Wy={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Hy={YEAR:"year",MONTH:"month",DAY:"day"},Uy={PICKER:"picker",SELECT:"select"},Yy=Gu({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:Wy.SELECTOR,validator:e=>Object.values(Wy).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>qy(e)},end:{type:String,default:e=>Fy(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){hc();const{t:o}=sc(),i=zn(null),r=zn(null),s=zn(null),a=zn(null),l=zn(!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=rs(()=>{let n=e.range;switch(e.mode){case Wy.SELECTOR:return[n];case Wy.MULTISELECTOR:return n;case Wy.TIME:return t.timeArray;case Wy.DATE:{const n=t.dateArray;switch(e.fields){case Hy.YEAR:return[n[0]];case Hy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Qu(i,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:C,_resetFormData:S,_getFormData:k,_createTime:T,_createDate:A,_setValueSync:E}=function(e,t,n,o,i,r,s){const a=function(){const e=zn(!1);return e.value=Xy(),e}(),l=function(){const e=zn("");return e.value=Gy(),e}(),c=rs(()=>{const t=e.selectorType;return Object.values(Uy).includes(t)?t:a.value?Uy.PICKER:Uy.SELECT}),u=rs(()=>e.mode===Wy.DATE&&!Object.values(Hy).includes(e.fields)&&t.isDesktop?l.value:""),d=rs(()=>Vy(e,t,e.start,qy(e))),f=rs(()=>Vy(e,t,e.end,Fy(e)));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,r=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=r.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 Wy.SELECTOR:t.valueSync=0;break;case Wy.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case Wy.DATE:case Wy.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,r=n.end;t<=r;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}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 Wy.TIME:case Wy.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case Wy.MULTISELECTOR:n=[...o];break;case Wy.TIME:n=Vy(e,t,o,Re({mode:Wy.TIME}));break;case Wy.DATE:n=Vy(e,t,o,Re({mode:Wy.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case Wy.SELECTOR:return n[0];case Wy.MULTISELECTOR:return n.map(e=>e);case Wy.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case Wy.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function T(){E(),t.valueChangeSource="click";const e=k();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function A(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:r}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function M(){e.mode===Wy.SELECTOR&&c.value===Uy.SELECT&&(r.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===Wy.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case Hy.YEAR:return t;case Hy.MONTH:return[t[1],t[0]];default:switch(i){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 D(t,n){const{getLocale:o}=sc();if(e.mode===Wy.DATE){const i=o();if(i.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Hy.YEAR&&n===(e.fields===Hy.MONTH||"es"!==i&&"fr"!==i?0:1)){let e;switch(i){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 Do(()=>t.visible,e=>{e?(clearTimeout(Ky),t.contentVisible=e,M()):Ky=setTimeout(()=>{t.contentVisible=e},300)}),Do([()=>e.mode,()=>e.value,()=>e.range],C,{deep:!0}),Do(()=>t.valueSync,S,{deep:!0}),Do(()=>t.valueArray,o=>{if(e.mode===Wy.TIME||e.mode===Wy.DATE){const n=e.mode===Wy.TIME?_:w,o=t.valueArray,i=d.value,r=f.value;if(e.mode===Wy.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,r=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();rn(r)&&x(o,r)}o.forEach((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===Wy.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))})}),{selectorTypeComputed:c,system:u,_show:h,_cancel:A,_change:T,_l10nColumn:$,_l10nItem:D,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:C,_fixInputPosition:L,_pickerViewChange:O}}(e,u,f,i,r,s,a);!function(e,t,n){const{key:o,disable:i}=Sv();Oo(()=>{i.value=!e.visible}),Do(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,C),function(e,t){const n=Qi(nd,!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),wi(()=>{n.removeField(o)})}}(S,k),T(),A(),E();const M=function(e){const t=zn(0),n=zn(0),o=rs(()=>t.value>=500&&n.value>=500),i=rs(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,r=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(r,{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;i.transform="none !important";const d=Math.max(0,u-t/2);i.left=`${d}px`,s.width&&(i.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),r.left=`${f}px`;const p=n.value/2;o+l-p>p-o?(i.top="auto",i.bottom=n.value-o+6+"px",r.bottom="-6px",r["border-width"]="6px 6px 0 6px",r["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+l+6}px`,r.top="-6px",r["border-width"]="0 6px 6px 6px",r["border-color"]="transparent transparent #fcfcfd transparent")}return t});return yi(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=lv();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),xi(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:i}}(u);return Oo(()=>{u.isDesktop=M.isDesktop.value,u.popupStyle=M.popupStyle.value}),wi(()=>{r.value&&r.value.remove()}),yi(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:p,popupStyle:S,valueSync:k}=u,{rangeKey:T,mode:A,start:E,end:M}=e,P=td(e,"disabled");return Rr("uni-picker",Vr({ref:i},P,{onClick:Ju(m)}),[l.value?Rr("div",{ref:r,class:["uni-picker-container",`uni-${A}-${g.value}`],onWheel:Hc,onTouchmove:Hc},[Rr(hs,{name:"uni-fade"},{default:()=>[No(Rr("div",{class:"uni-mask uni-picker-mask",onClick:Ju(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Es,c]])]}),h.value?null:Rr("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:S.content},[Rr("div",{class:"uni-picker-header",onClick:Uc},[Rr("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ju(x)},[o("uni.picker.cancel")],8,["onClick"]),Rr("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:C},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?Rr(bg,{value:v(p),class:"uni-picker-content",onChange:w},jy(t=Ai(v(d.value),(e,t)=>{let n;return Rr(Tg,{key:t},jy(n=Ai(e,(e,n)=>Rr("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,Rr("div",{ref:s,class:"uni-picker-select",onWheel:Uc,onTouchmove:Uc},[Ai(d.value[0],(e,t)=>Rr("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,C()}},["object"==typeof e?e[T]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),Rr("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,Rr("div",null,[n.default&&n.default()]),h.value?Rr("div",{class:"uni-picker-system",onMousemove:Ju(_)},[Rr("input",{class:["uni-picker-system_input",h.value],ref:a,value:k,type:A,tabindex:"-1",min:E,max:M,onChange:e=>{b(e),Uc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Xy=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const Gy=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let Ky;const Jy=c(Sc,{publishHandler(e,t,n){Qy.subscribeHandler(e,t,n)}}),Qy=c(Ru,{publishHandler(e,t,n){Jy.subscribeHandler(e,t,n)}}),Zy={name:"PageRefresh",setup(){const{pullToRefresh:e}=ld();return{offset:e.offset,color:e.color}}},eb=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},tb={class:"uni-page-refresh-inner"},nb=["fill"],ob=[Ir("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),Ir("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],ib={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},rb=["stroke"];const sb=eb(Zy,[["render",function(e,t,n,o,i,r){return Sr(),Er("uni-page-refresh",null,[Ir("div",{style:Ve({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ir("div",tb,[(Sr(),Er("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},ob,8,nb)),(Sr(),Er("svg",ib,[Ir("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,rb)]))])],4)])}]]);function ab(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 lb="pulling",cb="reached",ub="aborting",db="refreshing",fb="restoring";function pb(e){const t=ld(),{id:n,pullToRefresh:o}=t,{range:i,height:r}=o;let s,a,l,c,u,d,f,p;Ug(()=>{t.enablePullDownRefresh&&(p||(p=db,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),Ug(()=>{t.enablePullDownRefresh&&p===db&&(y(),p=fb,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}))},op,!1,n),yi(()=>{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=Ju(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([ub,db,fb].indexOf(p)>=0)}),_=Ju(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!ab(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=lb,v()),n-=g,n<0&&(n=0),h=n;(n>=i&&p!==cb||n1?t=1:t*=t*t;const n=Math.round(e/(i/r))||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=Ju(e=>{t.enablePullDownRefresh&&ab(e,u,d)&&null!==p&&(p===lb?(y(),p=ub,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===cb&&(y(),p=db,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+r+"px, 0)",mu(n,_e))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const hb=Ku({name:"PageBody",setup(e,t){const n=ld(),o=zn(null),i=zn(null),r=n.enablePullDownRefresh?pb(o):null,s=zn(null);return Do(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?r:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Rr(sb,{ref:e},null,512)}(o,n);return Rr(yr,null,[e,Rr("uni-page-wrapper",Vr({ref:i},s.value),[Rr("uni-page-body",null,[Ei(t.slots,"default")]),null],16)])}}});const gb=Ku({name:"Page",setup(e,t){let n=cd(dd());n.navigationBar;const o={};return my(n),()=>Rr("uni-page",{"data-page":n.route,style:o},[mb(t),null])}});function mb(e){return Sr(),Mr(hb,{key:0},{default:bo(()=>[Ei(e.slots,"page")]),_:3})}const vb={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=rf;const yb=Object.assign({}),bb=Object.assign;window.__uniConfig=bb({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:vb,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(yb).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return bb(e[n]||(e[n]={}),yb[t].default),e},{}),router:{mode:"hash",base:"/h5/",assets:"assets",routerBase:"/h5/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const _b={delay:vb.delay,timeout:vb.timeout,suspensible:vb.suspensible};vb.loading&&(_b.loadingComponent={name:"SystemAsyncLoading",render:()=>Rr(ko(vb.loading))}),vb.error&&(_b.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Rr(ko(vb.error),{error:this.error})}});const wb=()=>t(()=>import("./pages-index-index.JLDC1EBo.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>bm(e.default||e)),xb=ei(bb({loader:wb},_b)),Cb=()=>t(()=>import("./pages-map-index.XxvGOfwf.js"),__vite__mapDeps([10,11,1,2,3,7,5,8,12])).then(e=>bm(e.default||e)),Sb=ei(bb({loader:Cb},_b)),kb=()=>t(()=>import("./pages-activity-index.C0XTC_IU.js"),__vite__mapDeps([13,11,4,1,2,3,8,14])).then(e=>bm(e.default||e)),Tb=ei(bb({loader:kb},_b)),Ab=()=>t(()=>import("./pages-discover-index.baQO9AM6.js"),__vite__mapDeps([15,11,1,2,8,16])).then(e=>bm(e.default||e)),Eb=ei(bb({loader:Ab},_b)),Mb=()=>t(()=>import("./pages-mine-index.8EOB1SXX.js"),__vite__mapDeps([17,18,8,19])).then(e=>bm(e.default||e)),Pb=ei(bb({loader:Mb},_b)),Lb=()=>t(()=>import("./pages-mine-profile.BDQM_6GY.js"),__vite__mapDeps([20,18,8,21])).then(e=>bm(e.default||e)),Ob=ei(bb({loader:Lb},_b)),$b=()=>t(()=>import("./pages-mine-orders.PlDVko7R.js"),__vite__mapDeps([22,11,23,8,24])).then(e=>bm(e.default||e)),Db=ei(bb({loader:$b},_b)),Ib=()=>t(()=>import("./pages-activity-detail.CdFQmYr8.js"),__vite__mapDeps([25,11,4,26,27,1,8,28])).then(e=>bm(e.default||e)),Rb=ei(bb({loader:Ib},_b)),zb=()=>t(()=>import("./pages-activity-reserve.D0vIYQhO.js"),__vite__mapDeps([29,11,18,27,8,30])).then(e=>bm(e.default||e)),Bb=ei(bb({loader:zb},_b)),Nb=()=>t(()=>import("./pages-mine-reservation-detail.D-rbCCO6.js"),__vite__mapDeps([31,11,23,8,32])).then(e=>bm(e.default||e)),jb=ei(bb({loader:Nb},_b)),qb=()=>t(()=>import("./pages-study-tour-detail.DXLFCj-4.js"),__vite__mapDeps([33,11,27,6,7,8,34])).then(e=>bm(e.default||e)),Fb=ei(bb({loader:qb},_b)),Vb=()=>t(()=>import("./pages-venue-detail.wnyfbR_X.js"),__vite__mapDeps([35,11,4,7,26,27,1,8,36])).then(e=>bm(e.default||e)),Wb=ei(bb({loader:Vb},_b)),Hb=()=>t(()=>import("./pages-stats-index.Bl5Js_6f.js"),__vite__mapDeps([37,11,1,8,38])).then(e=>bm(e.default||e)),Ub=ei(bb({loader:Hb},_b)),Yb=()=>t(()=>import("./pages-traffic-index.BIk4Vie9.js"),__vite__mapDeps([39,8,40])).then(e=>bm(e.default||e)),Xb=ei(bb({loader:Yb},_b));function Gb(e,t){return Sr(),Mr(gb,null,{page:bo(()=>[Rr(e,bb({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(xb,t)}},loader:wb,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=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Sb,t)}},loader:Cb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"场馆列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Tb,t)}},loader:kb,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=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Eb,t)}},loader:Ab,meta:{enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"研学路线",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Pb,t)}},loader:Mb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/profile",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Ob,t)}},loader:Lb,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/orders",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Db,t)}},loader:$b,meta:{navigationBar:{titleText:"我的活动预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Rb,t)}},loader:Ib,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/reserve",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Bb,t)}},loader:zb,meta:{navigationBar:{titleText:"预约报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/reservation-detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(jb,t)}},loader:Nb,meta:{navigationBar:{titleText:"预约详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/study-tour/detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Fb,t)}},loader:qb,meta:{navigationBar:{titleText:"研学线路",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/venue/detail",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Wb,t)}},loader:Vb,meta:{navigationBar:{titleText:"场馆详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/stats/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Ub,t)}},loader:Hb,meta:{enablePullDownRefresh:!0,backgroundColor:"#eef1f4",navigationBar:{titleText:"今日客流量统计",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/traffic/index",component:{setup(){const e=gm(),t=e&&e.$route&&e.$route.query||{};return()=>Gb(Xb,t)}},loader:Yb,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-CGM3N5pE.css b/public/h5/assets/index-CGM3N5pE.css new file mode 100644 index 0000000..d6532ed --- /dev/null +++ b/public/h5/assets/index-CGM3N5pE.css @@ -0,0 +1 @@ +b[data-v-1b1c33a5],strong[data-v-1b1c33a5]{font-weight:400}uni-page-body[data-v-1b1c33a5]{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-1b1c33a5]{background:#f7f8fa}.font-s[data-v-1b1c33a5]{font-size:var(--fs-body)}.font-m[data-v-1b1c33a5]{font-size:var(--fs-subtitle)}.font-l[data-v-1b1c33a5]{font-size:var(--fs-title)}uni-button[data-v-1b1c33a5],.uni-button[data-v-1b1c33a5]{font-weight:400}.page-root[data-v-1b1c33a5]{min-height:100vh;position:relative}.page[data-v-1b1c33a5]{min-height:100vh;background:#fff}.venue-list-scroll[data-v-1b1c33a5]{width:100%;height:22.5rem;box-sizing:border-box;border-radius:0 0 .375rem .375rem;-webkit-overflow-scrolling:touch}.hero[data-v-1b1c33a5]{position:relative;padding:0 0 .25rem;box-sizing:border-box}.hero-brand[data-v-1b1c33a5]{width:100%;height:5.375rem;background:#05c9ac;border-radius:0 0 2.25rem 2.25rem;box-sizing:border-box}.hero-content[data-v-1b1c33a5]{position:relative;z-index:2;margin-top:-3.5rem;padding:0 .75rem;box-sizing:border-box}.stat-card[data-v-1b1c33a5]{background:#fafafa;border-radius:.5rem;padding:.625rem .625rem .5625rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.06)}.stat-main[data-v-1b1c33a5]{display:flex;align-items:flex-start;gap:.5rem}.stat-left[data-v-1b1c33a5]{flex:3 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}.stat-label[data-v-1b1c33a5]{font-size:.9375rem;color:#4e5969;line-height:1.35}.stat-num[data-v-1b1c33a5]{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:400;color:#1d2129;line-height:1.25}.stat-right[data-v-1b1c33a5]{flex:5 1 0;min-width:0;display:flex;flex-direction:column}.live-list[data-v-1b1c33a5]{flex:1;display:flex;flex-direction:column;width:100%;min-height:5.25rem}.live-venue-row[data-v-1b1c33a5]{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-1b1c33a5]:first-child{padding-top:0}.live-venue-row[data-v-1b1c33a5]:last-child{border-bottom:none}.live-row-one[data-v-1b1c33a5]{display:flex;align-items:center;gap:.25rem;width:100%;min-width:0}.live-top[data-v-1b1c33a5]{font-size:.6875rem;color:#05c9ac;font-weight:400;flex-shrink:0;line-height:1.3}.live-name[data-v-1b1c33a5]{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-1b1c33a5]{flex-shrink:0;font-size:.6875rem;color:#05c9ac;font-weight:400;line-height:1.3}.live-venue-row.is-empty .live-name[data-v-1b1c33a5],.live-venue-row.is-empty .live-count[data-v-1b1c33a5]{color:#d0d3d9;font-weight:400}.live-venue-row.is-empty .live-top[data-v-1b1c33a5]{color:rgba(5,201,172,.42)}.stat-foot[data-v-1b1c33a5]{margin-top:.25rem;padding-top:0;display:flex;justify-content:flex-end;width:100%}.stat-foot-link[data-v-1b1c33a5]{font-size:.625rem;color:#05c9ac;font-weight:400;line-height:1.3}.map-section[data-v-1b1c33a5]{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)}.toolbar[data-v-1b1c33a5]{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.tabs[data-v-1b1c33a5]{display:flex;align-items:flex-end;gap:.5rem;flex-shrink:0}.tab[data-v-1b1c33a5]{font-size:.75rem;color:#86909c;padding-bottom:.25rem;position:relative}.tab.on[data-v-1b1c33a5]{font-size:14px;color:#1d2129;font-weight:400}.tab.on[data-v-1b1c33a5]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:.125rem;background:#05c9ac;border-radius:.0625rem}.search-wrap[data-v-1b1c33a5]{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-1b1c33a5]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-1b1c33a5]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-1b1c33a5]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-1b1c33a5]{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-1b1c33a5]{flex:0 0 auto;display:block}.f-item[data-v-1b1c33a5]{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-1b1c33a5]{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-1b1c33a5]{width:.5rem;height:.5rem;flex-shrink:0}.map-wrap[data-v-1b1c33a5]{position:relative;width:100%;border-radius:.375rem;overflow:hidden}.main-map[data-v-1b1c33a5]{width:100%;height:22.5rem;border-radius:.375rem;display:block}.venue-sheet[data-v-1b1c33a5]{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-1b1c33a5]{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-1b1c33a5]{width:1.375rem;height:.1875rem;background:#e5e6eb;border-radius:.09375rem;margin:0 auto .3125rem}.sheet-row[data-v-1b1c33a5]{display:flex;gap:.375rem;align-items:flex-start}.sheet-cover[data-v-1b1c33a5]{width:3.75rem;height:2.625rem;border-radius:.25rem;flex-shrink:0}.sheet-main[data-v-1b1c33a5]{flex:1;min-width:0}.sheet-name[data-v-1b1c33a5]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.3}.sheet-meta[data-v-1b1c33a5]{display:flex;flex-wrap:wrap;align-items:center;gap:.1875rem;margin-top:.125rem}.sheet-type[data-v-1b1c33a5]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem}.sheet-meta-sep[data-v-1b1c33a5]{font-size:.625rem;color:#c9cdd4}.sheet-ticket[data-v-1b1c33a5]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem}.sheet-ticket.free[data-v-1b1c33a5]{color:#00b42a;background:rgba(0,180,42,.1)}.sheet-ticket.paid[data-v-1b1c33a5]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-1b1c33a5]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;color:#0a826f;background:#e6f7f3}.sheet-actions[data-v-1b1c33a5]{margin-top:.375rem;display:flex;gap:.375rem;justify-content:flex-end}.sheet-btn[data-v-1b1c33a5]{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-1b1c33a5]{background:#f7f8fa;color:#252525;border:.03125rem solid #eceef2}.sheet-btn.primary[data-v-1b1c33a5]{background:#05c9ac;color:#fff;font-weight:400}.venue-row[data-v-1b1c33a5]{display:flex;gap:.5rem;padding:.5rem 0;border-bottom:.03125rem solid #f0f2f5}.venue-thumb[data-v-1b1c33a5]{width:5.5rem;height:3.4375rem;border-radius:.25rem;flex-shrink:0}.venue-info[data-v-1b1c33a5]{flex:1;min-width:0}.venue-name[data-v-1b1c33a5]{font-size:.875rem;color:#1d2129;font-weight:400}.venue-meta[data-v-1b1c33a5]{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.1875rem}.venue-type-pill[data-v-1b1c33a5],.venue-ticket-pill[data-v-1b1c33a5]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem}.venue-ticket-pill.free[data-v-1b1c33a5]{color:#00b42a;background:rgba(0,180,42,.1)}.venue-ticket-pill.paid[data-v-1b1c33a5]{color:#f53f3f;background:rgba(245,63,63,.08)}.empty-tip[data-v-1b1c33a5]{text-align:center;padding:2.5rem 0;font-size:.75rem;color:#86909c}.section[data-v-1b1c33a5]{background:#fff;margin:.5rem .5rem 0;border-radius:.5rem;padding:.625rem .5rem}.sec-head[data-v-1b1c33a5]{display:flex;align-items:center;margin-bottom:.5rem}.sec-bar[data-v-1b1c33a5]{width:.1875rem;height:.875rem;background:#05c9ac;border-radius:.09375rem;margin-right:.375rem}.sec-title[data-v-1b1c33a5]{flex:1;font-size:1rem;font-weight:400;color:#1d2129}.sec-more[data-v-1b1c33a5]{font-size:.75rem;color:#86909c}.act-scroll[data-v-1b1c33a5]{width:100%;white-space:nowrap}.act-scroll-row[data-v-1b1c33a5]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:.625rem;padding:0 .125rem .25rem 0}.act-card[data-v-1b1c33a5]{flex-shrink:0;width:12.5rem;box-sizing:border-box;display:flex;flex-direction:column}.act-img-wrap[data-v-1b1c33a5]{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-1b1c33a5]{width:11.25rem;height:5.625rem;display:block}.act-book-badge[data-v-1b1c33a5]{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-bookable[data-v-1b1c33a5]{padding:.1875rem .5rem;background:#05c9ac;border-radius:31.21875rem;min-height:0}.act-book-text[data-v-1b1c33a5]{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-bookable[data-v-1b1c33a5]{text-shadow:none}.act-body[data-v-1b1c33a5]{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:6.3125rem}.act-title[data-v-1b1c33a5]{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-1b1c33a5]{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-1b1c33a5]{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-1b1c33a5]{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-1b1c33a5]{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-1b1c33a5]{background:rgba(22,194,169,.92)}.act-schedule-tag.st-not_started[data-v-1b1c33a5]{background:rgba(22,93,255,.92)}.act-schedule-tag.st-ended[data-v-1b1c33a5]{background:rgba(134,144,156,.95)}.tour-card[data-v-1b1c33a5]{margin-bottom:.625rem;border-radius:.5rem;overflow:hidden;background:#fff;box-shadow:0 .125rem .625rem rgba(0,0,0,.06)}.tour-card[data-v-1b1c33a5]:last-child{margin-bottom:0}.tour-img-wrap[data-v-1b1c33a5]{position:relative;width:100%;aspect-ratio:2/1;border-radius:.5rem .5rem 0 0;overflow:hidden}.tour-img[data-v-1b1c33a5]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.tour-body[data-v-1b1c33a5]{padding:.5625rem .625rem .5rem}.tour-title[data-v-1b1c33a5]{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-1b1c33a5]{margin-top:.4375rem}.tour-stop-row[data-v-1b1c33a5]{display:flex;flex-direction:row;align-items:stretch}.tour-timeline-axis[data-v-1b1c33a5]{width:.875rem;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin-right:.3125rem}.tour-dot-cell[data-v-1b1c33a5]{height:1.125rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%}.tour-tl-dot[data-v-1b1c33a5]{width:.375rem;height:.375rem;border-radius:50%;background:#c9cdd4;flex-shrink:0}.tour-tl-line[data-v-1b1c33a5]{width:.0625rem;flex:1;min-height:.375rem;margin-top:0;background:#e5e6eb}.tour-stop-name[data-v-1b1c33a5]{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-1b1c33a5]{padding-bottom:0}.tour-tags-row[data-v-1b1c33a5]{margin-top:.4375rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.3125rem}.tour-tag[data-v-1b1c33a5]{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-1b1c33a5]{height:.75rem}.loading-mask[data-v-1b1c33a5]{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-CJAmwMih.css b/public/h5/assets/index-CJAmwMih.css deleted file mode 100644 index 5f5daf8..0000000 --- a/public/h5/assets/index-CJAmwMih.css +++ /dev/null @@ -1 +0,0 @@ -b[data-v-d1672bdc],strong[data-v-d1672bdc]{font-weight:400}uni-page-body[data-v-d1672bdc]{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-d1672bdc]{background:#f7f8fa}.font-s[data-v-d1672bdc]{font-size:var(--fs-body)}.font-m[data-v-d1672bdc]{font-size:var(--fs-subtitle)}.font-l[data-v-d1672bdc]{font-size:var(--fs-title)}uni-button[data-v-d1672bdc],.uni-button[data-v-d1672bdc]{font-weight:400}.page[data-v-d1672bdc]{min-height:100vh;padding-top:calc(.375rem + env(safe-area-inset-top));padding-bottom:calc(.75rem + env(safe-area-inset-bottom));background:#f7f8fa;box-sizing:border-box}.map-section[data-v-d1672bdc]{margin:.5rem .5rem 0;background:#fff;border-radius:.5rem;padding:.625rem .5rem .5rem;box-shadow:0 .125rem .5rem rgba(0,0,0,.04)}.toolbar[data-v-d1672bdc]{display:flex;align-items:center;gap:.3125rem;margin-bottom:.375rem}.search-wrap[data-v-d1672bdc]{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-d1672bdc]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-d1672bdc]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-d1672bdc]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-d1672bdc]{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-d1672bdc]{flex:0 0 auto;display:block}.f-item[data-v-d1672bdc]{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-d1672bdc]{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-d1672bdc]{width:.5rem;height:.5rem;flex-shrink:0}.list[data-v-d1672bdc]{padding:.5rem 1rem 0;box-sizing:border-box}.item[data-v-d1672bdc]{display:flex;gap:.5rem;align-items:flex-start;padding:.375rem 0}.img[data-v-d1672bdc]{width:6.1875rem;height:3.875rem;border-radius:.375rem;background:#e9edf2;flex-shrink:0}.body[data-v-d1672bdc]{flex:1;min-width:0}.name[data-v-d1672bdc]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.35}.meta-row[data-v-d1672bdc]{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.25rem;align-items:center}.meta-pill[data-v-d1672bdc]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;flex-shrink:0}.meta-pill--free[data-v-d1672bdc]{color:#00b42a;background:rgba(0,180,42,.1)}.meta-pill--paid[data-v-d1672bdc]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-d1672bdc]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;color:#0a826f;background:#e6f7f3}.empty-tip[data-v-d1672bdc]{text-align:center;padding:1.5rem 0;font-size:.75rem;color:#86909c} diff --git a/public/h5/assets/index-D_e0XFVT.css b/public/h5/assets/index-D_e0XFVT.css new file mode 100644 index 0000000..afff343 --- /dev/null +++ b/public/h5/assets/index-D_e0XFVT.css @@ -0,0 +1 @@ +b[data-v-9d02f903],strong[data-v-9d02f903]{font-weight:400}uni-page-body[data-v-9d02f903]{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-9d02f903]{background:#f7f8fa}.font-s[data-v-9d02f903]{font-size:var(--fs-body)}.font-m[data-v-9d02f903]{font-size:var(--fs-subtitle)}.font-l[data-v-9d02f903]{font-size:var(--fs-title)}uni-button[data-v-9d02f903],.uni-button[data-v-9d02f903]{font-weight:400}.page[data-v-9d02f903]{min-height:100vh;padding-top:calc(.375rem + env(safe-area-inset-top));padding-bottom:calc(.75rem + env(safe-area-inset-bottom));background:#f7f8fa;box-sizing:border-box}.map-section[data-v-9d02f903]{margin:.5rem .5rem 0;background:#fff;border-radius:.5rem;padding:.625rem .5rem .5rem;box-shadow:0 .125rem .5rem rgba(0,0,0,.04)}.toolbar[data-v-9d02f903]{display:flex;align-items:center;gap:.3125rem;margin-bottom:.375rem}.search-wrap[data-v-9d02f903]{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-9d02f903]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-9d02f903]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-9d02f903]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-9d02f903]{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-9d02f903]{flex:0 0 auto;display:block}.f-item[data-v-9d02f903]{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-9d02f903]{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-9d02f903]{width:.5rem;height:.5rem;flex-shrink:0}.list[data-v-9d02f903]{padding:.5rem 1rem 0;box-sizing:border-box}.item[data-v-9d02f903]{display:flex;gap:.5rem;align-items:flex-start;padding:.375rem 0}.img[data-v-9d02f903]{width:6.1875rem;height:3.875rem;border-radius:.375rem;background:#e9edf2;flex-shrink:0}.body[data-v-9d02f903]{flex:1;min-width:0}.name[data-v-9d02f903]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.35}.meta-row[data-v-9d02f903]{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.25rem;align-items:center}.meta-pill[data-v-9d02f903]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;flex-shrink:0}.meta-pill--free[data-v-9d02f903]{color:#00b42a;background:rgba(0,180,42,.1)}.meta-pill--paid[data-v-9d02f903]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-9d02f903]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;color:#0a826f;background:#e6f7f3}.empty-tip[data-v-9d02f903]{text-align:center;padding:1.5rem 0;font-size:.75rem;color:#86909c} diff --git a/public/h5/assets/localProfile.LbgzO0uJ.js b/public/h5/assets/localProfile.zmQ0g_RY.js similarity index 85% rename from public/h5/assets/localProfile.LbgzO0uJ.js rename to public/h5/assets/localProfile.zmQ0g_RY.js index 8860d57..3766fd6 100644 --- a/public/h5/assets/localProfile.LbgzO0uJ.js +++ b/public/h5/assets/localProfile.zmQ0g_RY.js @@ -1 +1 @@ -import{h as t,g as n,S as r,b as e}from"./index-DBg2bUhq.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-BQ-ey0LP.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-detail.BlVQmMv0.js b/public/h5/assets/pages-activity-detail.CdFQmYr8.js similarity index 94% rename from public/h5/assets/pages-activity-detail.BlVQmMv0.js rename to public/h5/assets/pages-activity-detail.CdFQmYr8.js index 014a603..750ebae 100644 --- a/public/h5/assets/pages-activity-detail.BlVQmMv0.js +++ b/public/h5/assets/pages-activity-detail.CdFQmYr8.js @@ -1 +1 @@ -import{d as e,e as l,f as a,w as t,W as s,j as n,k as i,m as u,n as o,p as c,q as r,X as d,y as v,F as f,z as p,Y as g,D as m,Z as _,J as y,t as h,v as b,x as k,E as x,B as w,C as j,_ as $,R as S,s as C,$ as F,K as z,a0 as N,a1 as q,a2 as R,u as A}from"./index-DBg2bUhq.js";import{f as B}from"./content.tJrjcqQa.js";import{c as D,f as E}from"./activity.4NBjJ4my.js";import{i as I,a as J,b as K,c as P}from"./icon7.C1JV_D3L.js";import{i as T,a as W}from"./icon_up.DJ5zmdk8.js";import{P as X}from"./poster.DLiVsUXX.js";import{_ as Y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const Z=Y(e({__name:"detail",setup(e){function Y(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 Z(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const G=l(null),H=l(!0),L=l(!1),M=l(!1),O=l(!1),Q=a(()=>{const e=G.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:X}]:[{type:"image",url:X}]}),U=a(()=>{const e=G.value;if(!e)return"ongoing";const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:D(e.start_at,e.end_at)}),V=a(()=>"ended"===U.value),ee=a(()=>{var e;return!V.value&&!0===(null==(e=G.value)?void 0:e.is_bookable)}),le=a(()=>{var e;const l=null==(e=G.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=`
${Y(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return Z(t)?t:""}),ae=a(()=>{var e;const l=null==(e=G.value)?void 0:e.detail_html;if(!l)return"";const a=Y(String(l));return Z(a)?a:""});function te(e){return null==e?"":String(e).trim()}function se(e){return te(e).length>0}function ne(){var e,l,a,t;const{lat:s,lng:n}=function(){var e,l,a,t,s,n;return{lat:Number((null==(e=G.value)?void 0:e.lat)??(null==(a=null==(l=G.value)?void 0:l.venue)?void 0:a.lat)??0),lng:Number((null==(t=G.value)?void 0:t.lng)??(null==(n=null==(s=G.value)?void 0:s.venue)?void 0:n.lng)??0)}}();s&&n?F({latitude:s,longitude:n,name:(null==(e=G.value)?void 0:e.title)||"活动地点",address:(null==(l=G.value)?void 0:l.address)||(null==(t=null==(a=G.value)?void 0:a.venue)?void 0:t.address)||""}):C({title:"暂无导航坐标",icon:"none"})}function ie(){var e;(null==(e=G.value)?void 0:e.id)&&z({url:`/pages/activity/reserve?id=${G.value.id}`})}function ue(){var e,l;const a=Number((null==(l=null==(e=G.value)?void 0:e.venue)?void 0:l.id)??0);a?z({url:`/pages/venue/detail?id=${a}`}):C({title:"暂无场馆详情",icon:"none"})}return t([ae,le],()=>{H.value=!0,L.value=!0,N(()=>{setTimeout(()=>{var e;const l=null==(e=q())?void 0:e.proxy,a=R();l&&a.in(l);const t=A(187);a.select(".judge-activity-detail").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];M.value=!!(l&&l.height&&l.height>t+1),O.value=!!(a&&a.height&&a.height>t+1),O.value?L.value=!1:L.value=!0})},120)})}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);l&&(G.value=await B(l))}),(e,l)=>{const a=m,t=_,s=g,C=d,F=u,z=h,N=$,q=r,R=S;return o(),n(F,{class:"page"},{default:i(()=>[c(q,{"scroll-y":"",class:"scroll"},{default:i(()=>{var e;return[c(F,{class:"hero"},{default:i(()=>[Q.value.length?(o(),n(C,{key:0,class:"hero-swiper",circular:"",autoplay:Q.value.length>1,interval:4e3,"indicator-dots":Q.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:i(()=>[(o(!0),v(f,null,p(Q.value,(e,l)=>(o(),n(s,{key:"s-"+l,class:"swiper-item"},{default:i(()=>["video"!==e.type?(o(),n(a,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(o(),n(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"])):y("",!0)]),_:1}),c(F,{class:"main-card"},{default:i(()=>{var e,t,s,u,r,d,g,m;return[c(z,{class:"act-title"},{default:i(()=>{var e;return[b(k((null==(e=G.value)?void 0:e.title)||"-"),1)]}),_:1}),(null==(t=null==(e=G.value)?void 0:e.tags)?void 0:t.length)?(o(),n(F,{key:0,class:"act-tags"},{default:i(()=>[(o(!0),v(f,null,p((G.value.tags||[]).slice(0,4),(e,l)=>(o(),n(z,{key:"tg-"+l+"-"+e,class:"act-tag-chip"},{default:i(()=>[b(k(e),1)]),_:2},1024))),128))]),_:1})):y("",!0),(null==(u=null==(s=G.value)?void 0:s.venue)?void 0:u.name)?(o(),n(F,{key:1,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(I),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("举办场馆:")]),_:1}),c(z,{class:"info-value info-value--venue",onClick:w(ue,["stop"])},{default:i(()=>[b(k(G.value.venue.name),1)]),_:1})]),_:1})]),_:1})):y("",!0),(null==(d=null==(r=G.value)?void 0:r.venue)?void 0:d.open_time)&&se(G.value.venue.open_time)?(o(),n(F,{key:2,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(J),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("开放时间:")]),_:1}),c(z,{class:"info-value"},{default:i(()=>[b(k(te(G.value.venue.open_time)),1)]),_:1})]),_:1})]),_:1})):y("",!0),G.value?(o(),n(F,{key:3,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(K),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("活动日期:")]),_:1}),c(z,{class:"info-value"},{default:i(()=>{var e,l;return[b(k(x(E)(null==(e=G.value)?void 0:e.start_at,null==(l=G.value)?void 0:l.end_at)),1)]}),_:1})]),_:1})]),_:1})):y("",!0),G.value&&se(G.value.address||(null==(m=null==(g=G.value)?void 0:g.venue)?void 0:m.address))?(o(),n(F,{key:4,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(P),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("活动地址:")]),_:1}),c(z,{class:"info-value"},{default:i(()=>{var e,l;return[b(k(te(G.value.address||(null==(l=null==(e=G.value)?void 0:e.venue)?void 0:l.address))),1)]}),_:1})]),_:1})]),_:1})):y("",!0),le.value?(o(),n(F,{key:5,class:"notice-block"},{default:i(()=>[c(F,{class:"sec-title-row notice-head-row"},{default:i(()=>[c(z,{class:"notice-label"},{default:i(()=>[b("预约须知")]),_:1}),O.value?(o(),n(F,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>L.value=!L.value)},{default:i(()=>[c(a,{class:"expand-arrow-img",src:L.value?x(T):x(W),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),c(F,{class:j(["notice-block-body judge-notice",{"is-collapsed":O.value&&!L.value}])},{default:i(()=>[c(N,{class:"notice-inline-rich",nodes:le.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0)]}),_:1}),(null==(e=G.value)?void 0:e.summary)?(o(),n(F,{key:0,class:"summary-card"},{default:i(()=>[c(F,{class:"sec-title-row"},{default:i(()=>[c(z,{class:"sec-title"},{default:i(()=>[b("活动简介")]),_:1})]),_:1}),c(z,{class:"summary-text"},{default:i(()=>[b(k(G.value.summary),1)]),_:1})]),_:1})):y("",!0),ae.value?(o(),n(F,{key:1,class:"intro-card"},{default:i(()=>[c(F,{class:"sec-title-row"},{default:i(()=>[c(z,{class:"sec-title"},{default:i(()=>[b("活动详情")]),_:1}),M.value?(o(),n(F,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>H.value=!H.value)},{default:i(()=>[c(a,{class:"expand-arrow-img",src:H.value?x(T):x(W),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),c(F,{class:j(["intro-rich-wrap judge-activity-detail",{"is-collapsed":M.value&&!H.value}])},{default:i(()=>[c(N,{class:"intro-rich",nodes:ae.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),c(F,{class:"safe-bottom"})]}),_:1}),c(F,{class:"action-bar"},{default:i(()=>[c(R,{class:j(["btn ghost",{"btn-full":V.value||!ee.value}]),onClick:ne},{default:i(()=>[b("一键导航")]),_:1},8,["class"]),ee.value?(o(),n(R,{key:0,class:"btn primary",onClick:ie},{default:i(()=>[b("立即预约")]),_:1})):y("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-a40a3f68"]]);export{Z as default}; +import{d as e,e as l,f as a,w as t,W as s,j as n,k as i,m as u,n as o,p as c,q as r,X as d,y as v,F as f,z as p,Y as g,D as m,Z as _,J as y,t as h,v as b,x as k,E as x,B as w,C as j,_ as $,R as S,s as C,$ as F,K as z,a0 as N,a1 as R,a2 as q,u as A}from"./index-BQ-ey0LP.js";import{f as B}from"./content.6JrrMb8t.js";import{c as D,f as E}from"./activity.4NBjJ4my.js";import{i as I,a as J,b as K,c as P}from"./icon7.C1JV_D3L.js";import{i as T,a as W}from"./icon_up.DJ5zmdk8.js";import{P as X}from"./poster.DLiVsUXX.js";import{_ as Y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const Z=Y(e({__name:"detail",setup(e){function Y(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 Z(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const G=l(null),H=l(!0),L=l(!1),M=l(!1),O=l(!1),Q=a(()=>{const e=G.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:X}]:[{type:"image",url:X}]}),U=a(()=>{const e=G.value;if(!e)return"ongoing";const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:D(e.start_at,e.end_at)}),V=a(()=>"ended"===U.value),ee=a(()=>{var e;return!V.value&&!0===(null==(e=G.value)?void 0:e.is_bookable)}),le=a(()=>{var e;const l=null==(e=G.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=`
${Y(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return Z(t)?t:""}),ae=a(()=>{var e;const l=null==(e=G.value)?void 0:e.detail_html;if(!l)return"";const a=Y(String(l));return Z(a)?a:""});function te(e){return null==e?"":String(e).trim()}function se(e){return te(e).length>0}function ne(){var e,l,a,t;const{lat:s,lng:n}=function(){var e,l,a,t,s,n;return{lat:Number((null==(e=G.value)?void 0:e.lat)??(null==(a=null==(l=G.value)?void 0:l.venue)?void 0:a.lat)??0),lng:Number((null==(t=G.value)?void 0:t.lng)??(null==(n=null==(s=G.value)?void 0:s.venue)?void 0:n.lng)??0)}}();s&&n?F({latitude:s,longitude:n,name:(null==(e=G.value)?void 0:e.title)||"活动地点",address:(null==(l=G.value)?void 0:l.address)||(null==(t=null==(a=G.value)?void 0:a.venue)?void 0:t.address)||""}):C({title:"暂无导航坐标",icon:"none"})}function ie(){var e;(null==(e=G.value)?void 0:e.id)&&z({url:`/pages/activity/reserve?id=${G.value.id}`})}function ue(){var e,l;const a=Number((null==(l=null==(e=G.value)?void 0:e.venue)?void 0:l.id)??0);a?z({url:`/pages/venue/detail?id=${a}`}):C({title:"暂无场馆详情",icon:"none"})}return t([ae,le],()=>{H.value=!0,L.value=!0,N(()=>{setTimeout(()=>{var e;const l=null==(e=R())?void 0:e.proxy,a=q();l&&a.in(l);const t=A(187);a.select(".judge-activity-detail").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];M.value=!!(l&&l.height&&l.height>t+1),O.value=!!(a&&a.height&&a.height>t+1),O.value?L.value=!1:L.value=!0})},120)})}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);l&&(G.value=await B(l))}),(e,l)=>{const a=m,t=_,s=g,C=d,F=u,z=h,N=$,R=r,q=S;return o(),n(F,{class:"page"},{default:i(()=>[c(R,{"scroll-y":"",class:"scroll"},{default:i(()=>{var e;return[c(F,{class:"hero"},{default:i(()=>[Q.value.length?(o(),n(C,{key:0,class:"hero-swiper",circular:"",autoplay:Q.value.length>1,interval:4e3,"indicator-dots":Q.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:i(()=>[(o(!0),v(f,null,p(Q.value,(e,l)=>(o(),n(s,{key:"s-"+l,class:"swiper-item"},{default:i(()=>["video"!==e.type?(o(),n(a,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(o(),n(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"])):y("",!0)]),_:1}),c(F,{class:"main-card"},{default:i(()=>{var e,t,s,u,r,d,g,m;return[c(z,{class:"act-title"},{default:i(()=>{var e;return[b(k((null==(e=G.value)?void 0:e.title)||"-"),1)]}),_:1}),(null==(t=null==(e=G.value)?void 0:e.tags)?void 0:t.length)?(o(),n(F,{key:0,class:"act-tags"},{default:i(()=>[(o(!0),v(f,null,p((G.value.tags||[]).slice(0,4),(e,l)=>(o(),n(z,{key:"tg-"+l+"-"+e,class:"act-tag-chip"},{default:i(()=>[b(k(e),1)]),_:2},1024))),128))]),_:1})):y("",!0),(null==(u=null==(s=G.value)?void 0:s.venue)?void 0:u.name)?(o(),n(F,{key:1,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(I),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("举办场馆:")]),_:1}),c(z,{class:"info-value info-value--venue",onClick:w(ue,["stop"])},{default:i(()=>[b(k(G.value.venue.name),1)]),_:1})]),_:1})]),_:1})):y("",!0),(null==(d=null==(r=G.value)?void 0:r.venue)?void 0:d.open_time)&&se(G.value.venue.open_time)?(o(),n(F,{key:2,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(J),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("开放时间:")]),_:1}),c(z,{class:"info-value"},{default:i(()=>[b(k(te(G.value.venue.open_time)),1)]),_:1})]),_:1})]),_:1})):y("",!0),G.value?(o(),n(F,{key:3,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(K),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("活动日期:")]),_:1}),c(z,{class:"info-value"},{default:i(()=>{var e,l;return[b(k(x(E)(null==(e=G.value)?void 0:e.start_at,null==(l=G.value)?void 0:l.end_at)),1)]}),_:1})]),_:1})]),_:1})):y("",!0),G.value&&se(G.value.address||(null==(m=null==(g=G.value)?void 0:g.venue)?void 0:m.address))?(o(),n(F,{key:4,class:"info-row"},{default:i(()=>[c(a,{class:"info-ico",src:x(P),mode:"aspectFit"},null,8,["src"]),c(F,{class:"info-text-col info-text-col--line"},{default:i(()=>[c(z,{class:"info-label"},{default:i(()=>[b("活动地址:")]),_:1}),c(z,{class:"info-value"},{default:i(()=>{var e,l;return[b(k(te(G.value.address||(null==(l=null==(e=G.value)?void 0:e.venue)?void 0:l.address))),1)]}),_:1})]),_:1})]),_:1})):y("",!0),le.value?(o(),n(F,{key:5,class:"notice-block"},{default:i(()=>[c(F,{class:"sec-title-row notice-head-row"},{default:i(()=>[c(z,{class:"notice-label"},{default:i(()=>[b("预约须知")]),_:1}),O.value?(o(),n(F,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>L.value=!L.value)},{default:i(()=>[c(a,{class:"expand-arrow-img",src:L.value?x(T):x(W),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),c(F,{class:j(["notice-block-body judge-notice",{"is-collapsed":O.value&&!L.value}])},{default:i(()=>[c(N,{class:"notice-inline-rich",nodes:le.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0)]}),_:1}),(null==(e=G.value)?void 0:e.summary)?(o(),n(F,{key:0,class:"summary-card"},{default:i(()=>[c(F,{class:"sec-title-row"},{default:i(()=>[c(z,{class:"sec-title"},{default:i(()=>[b("活动简介")]),_:1})]),_:1}),c(z,{class:"summary-text"},{default:i(()=>[b(k(G.value.summary),1)]),_:1})]),_:1})):y("",!0),ae.value?(o(),n(F,{key:1,class:"intro-card"},{default:i(()=>[c(F,{class:"sec-title-row"},{default:i(()=>[c(z,{class:"sec-title"},{default:i(()=>[b("活动详情")]),_:1}),M.value?(o(),n(F,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>H.value=!H.value)},{default:i(()=>[c(a,{class:"expand-arrow-img",src:H.value?x(T):x(W),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),c(F,{class:j(["intro-rich-wrap judge-activity-detail",{"is-collapsed":M.value&&!H.value}])},{default:i(()=>[c(N,{class:"intro-rich",nodes:ae.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),c(F,{class:"safe-bottom"})]}),_:1}),c(F,{class:"action-bar"},{default:i(()=>[c(q,{class:j(["btn ghost",{"btn-full":V.value||!ee.value}]),onClick:ne},{default:i(()=>[b("一键导航")]),_:1},8,["class"]),ee.value?(o(),n(q,{key:0,class:"btn primary",onClick:ie},{default:i(()=>[b("立即预约")]),_:1})):y("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-a40a3f68"]]);export{Z as default}; diff --git a/public/h5/assets/pages-activity-index.A6qRECj0.js b/public/h5/assets/pages-activity-index.C0XTC_IU.js similarity index 98% rename from public/h5/assets/pages-activity-index.A6qRECj0.js rename to public/h5/assets/pages-activity-index.C0XTC_IU.js index 92537b6..54350c2 100644 --- a/public/h5/assets/pages-activity-index.A6qRECj0.js +++ b/public/h5/assets/pages-activity-index.C0XTC_IU.js @@ -1 +1 @@ -import{d as a,e,f as l,o as s,N as t,O as u,P as n,j as i,k as r,m as o,n as c,p as d,D as v,E as f,I as _,G as p,t as m,v as g,x as y,y as h,F as k,z as b,C as j,J as w,B as P,K as C}from"./index-DBg2bUhq.js";import{b as x}from"./content.tJrjcqQa.js";import{f as A,a as F,i as N,c as V}from"./activity.4NBjJ4my.js";import{P as z}from"./poster.DLiVsUXX.js";import{s as I}from"./search.BJnl3YRK.js";import{d as $}from"./down.BCKq9i8s.js";import{_ as B}from"./_plugin-vue_export-helper.BCo6x5W8.js";const D=B(a({__name:"index",setup(a){const B=e([]),D=e(1),E=e(0),G=e(!1),J=e(!1),K=e(""),O=e(""),U=[{value:"",label:"全部状态"},{value:"ongoing",label:"进行中"},{value:"not_started",label:"未开始"},{value:"ended",label:"已结束"}],q=e(0),H=l(()=>E.value>0&&D.value{!async function(){D.value=1,await L(1,!1)}()}),t(()=>{G.value||J.value||!H.value||L(D.value+1,!0)}),u(async()=>{try{await M()}finally{n()}}),(a,e)=>{const l=v,s=_,t=o,u=m,n=p;return c(),i(t,{class:"page"},{default:r(()=>[d(t,{class:"toolbar"},{default:r(()=>[d(t,{class:"toolbar-row"},{default:r(()=>[d(t,{class:"search-wrap"},{default:r(()=>[d(l,{class:"search-icon-img",src:f(I),mode:"aspectFit"},null,8,["src"]),d(s,{modelValue:K.value,"onUpdate:modelValue":e[0]||(e[0]=a=>K.value=a),class:"search-input",placeholder:"搜索活动标题","placeholder-class":"ph","confirm-type":"search",onConfirm:Q},null,8,["modelValue"])]),_:1}),d(n,{mode:"selector",range:U,"range-key":"label",value:q.value,class:"status-picker",onChange:R},{default:r(()=>[d(t,{class:"status-pick"},{default:r(()=>[d(u,{class:"status-pick-text"},{default:r(()=>{var a;return[g(y((null==(a=U[q.value])?void 0:a.label)||"全部"),1)]}),_:1}),d(l,{class:"status-pick-arrow",src:f($),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),d(t,{class:"list-inner"},{default:r(()=>[(c(!0),h(k,null,b(B.value,a=>(c(),i(t,{key:a.id,class:"item",onClick:e=>S(a.id)},{default:r(()=>[d(t,{class:"poster-wrap"},{default:r(()=>{return[d(l,{class:"poster",src:a.image||f(z),mode:"aspectFill"},null,8,["src"]),d(t,{class:j(["status",(e=a,`st-${T(e)}`)])},{default:r(()=>[g(y(W(a)),1)]),_:2},1032,["class"])];var e}),_:2},1024),d(t,{class:"body"},{default:r(()=>{var e,l;return[d(t,{class:"title"},{default:r(()=>[g(y(a.title),1)]),_:2},1024),(null==(e=a.tags)?void 0:e.length)?(c(),i(t,{key:0,class:"act-tags"},{default:r(()=>[(c(!0),h(k,null,b((a.tags||[]).slice(0,4),(e,l)=>(c(),i(u,{key:"t-"+a.id+"-"+l,class:"act-tag-chip"},{default:r(()=>[g(y(e),1)]),_:2},1024))),128))]),_:2},1024)):w("",!0),d(t,{class:"meta"},{default:r(()=>[g(y(f(A)(a.start_at,a.end_at)),1)]),_:2},1024),d(t,{class:"meta venue-line"},{default:r(()=>[g(y(a.venue_name||"场馆待定"),1)]),_:2},1024),(l=a,N(null==l?void 0:l.end_at)||!0!==(null==l?void 0:l.is_bookable)?w("",!0):(c(),i(t,{key:1,class:"action-row"},{default:r(()=>[d(t,{class:"btn",onClick:P(e=>S(a.id),["stop"])},{default:r(()=>[g("立即预约")]),_:2},1032,["onClick"])]),_:2},1024)))]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),G.value&&!B.value.length?(c(),i(t,{key:0,class:"hint"},{default:r(()=>[g("加载中…")]),_:1})):w("",!0),J.value?(c(),i(t,{key:1,class:"hint"},{default:r(()=>[g("加载更多…")]),_:1})):w("",!0),E.value>0&&!H.value&&B.value.length&&!G.value?(c(),i(t,{key:2,class:"hint muted"},{default:r(()=>[g("没有更多了")]),_:1})):w("",!0),G.value||B.value.length?w("",!0):(c(),i(t,{key:3,class:"hint muted"},{default:r(()=>[g("暂无活动")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-55ae1859"]]);export{D as default}; +import{d as a,e,f as l,o as s,N as t,O as u,P as n,j as i,k as r,m as o,n as c,p as d,D as v,E as f,I as _,G as p,t as m,v as g,x as y,y as h,F as k,z as b,C as j,J as w,B as P,K as C}from"./index-BQ-ey0LP.js";import{b as x}from"./content.6JrrMb8t.js";import{f as A,a as F,i as N,c as V}from"./activity.4NBjJ4my.js";import{P as z}from"./poster.DLiVsUXX.js";import{s as I}from"./search.BJnl3YRK.js";import{d as $}from"./down.BCKq9i8s.js";import{_ as B}from"./_plugin-vue_export-helper.BCo6x5W8.js";const D=B(a({__name:"index",setup(a){const B=e([]),D=e(1),E=e(0),G=e(!1),J=e(!1),K=e(""),O=e(""),U=[{value:"",label:"全部状态"},{value:"ongoing",label:"进行中"},{value:"not_started",label:"未开始"},{value:"ended",label:"已结束"}],q=e(0),H=l(()=>E.value>0&&D.value{!async function(){D.value=1,await L(1,!1)}()}),t(()=>{G.value||J.value||!H.value||L(D.value+1,!0)}),u(async()=>{try{await M()}finally{n()}}),(a,e)=>{const l=v,s=_,t=o,u=m,n=p;return c(),i(t,{class:"page"},{default:r(()=>[d(t,{class:"toolbar"},{default:r(()=>[d(t,{class:"toolbar-row"},{default:r(()=>[d(t,{class:"search-wrap"},{default:r(()=>[d(l,{class:"search-icon-img",src:f(I),mode:"aspectFit"},null,8,["src"]),d(s,{modelValue:K.value,"onUpdate:modelValue":e[0]||(e[0]=a=>K.value=a),class:"search-input",placeholder:"搜索活动标题","placeholder-class":"ph","confirm-type":"search",onConfirm:Q},null,8,["modelValue"])]),_:1}),d(n,{mode:"selector",range:U,"range-key":"label",value:q.value,class:"status-picker",onChange:R},{default:r(()=>[d(t,{class:"status-pick"},{default:r(()=>[d(u,{class:"status-pick-text"},{default:r(()=>{var a;return[g(y((null==(a=U[q.value])?void 0:a.label)||"全部"),1)]}),_:1}),d(l,{class:"status-pick-arrow",src:f($),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),d(t,{class:"list-inner"},{default:r(()=>[(c(!0),h(k,null,b(B.value,a=>(c(),i(t,{key:a.id,class:"item",onClick:e=>S(a.id)},{default:r(()=>[d(t,{class:"poster-wrap"},{default:r(()=>{return[d(l,{class:"poster",src:a.image||f(z),mode:"aspectFill"},null,8,["src"]),d(t,{class:j(["status",(e=a,`st-${T(e)}`)])},{default:r(()=>[g(y(W(a)),1)]),_:2},1032,["class"])];var e}),_:2},1024),d(t,{class:"body"},{default:r(()=>{var e,l;return[d(t,{class:"title"},{default:r(()=>[g(y(a.title),1)]),_:2},1024),(null==(e=a.tags)?void 0:e.length)?(c(),i(t,{key:0,class:"act-tags"},{default:r(()=>[(c(!0),h(k,null,b((a.tags||[]).slice(0,4),(e,l)=>(c(),i(u,{key:"t-"+a.id+"-"+l,class:"act-tag-chip"},{default:r(()=>[g(y(e),1)]),_:2},1024))),128))]),_:2},1024)):w("",!0),d(t,{class:"meta"},{default:r(()=>[g(y(f(A)(a.start_at,a.end_at)),1)]),_:2},1024),d(t,{class:"meta venue-line"},{default:r(()=>[g(y(a.venue_name||"场馆待定"),1)]),_:2},1024),(l=a,N(null==l?void 0:l.end_at)||!0!==(null==l?void 0:l.is_bookable)?w("",!0):(c(),i(t,{key:1,class:"action-row"},{default:r(()=>[d(t,{class:"btn",onClick:P(e=>S(a.id),["stop"])},{default:r(()=>[g("立即预约")]),_:2},1032,["onClick"])]),_:2},1024)))]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),G.value&&!B.value.length?(c(),i(t,{key:0,class:"hint"},{default:r(()=>[g("加载中…")]),_:1})):w("",!0),J.value?(c(),i(t,{key:1,class:"hint"},{default:r(()=>[g("加载更多…")]),_:1})):w("",!0),E.value>0&&!H.value&&B.value.length&&!G.value?(c(),i(t,{key:2,class:"hint muted"},{default:r(()=>[g("没有更多了")]),_:1})):w("",!0),G.value||B.value.length?w("",!0):(c(),i(t,{key:3,class:"hint muted"},{default:r(()=>[g("暂无活动")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-55ae1859"]]);export{D as default}; diff --git a/public/h5/assets/pages-activity-reserve.DIyRpwrS.js b/public/h5/assets/pages-activity-reserve.D0vIYQhO.js similarity index 98% rename from public/h5/assets/pages-activity-reserve.DIyRpwrS.js rename to public/h5/assets/pages-activity-reserve.D0vIYQhO.js index ca10a13..07abfce 100644 --- a/public/h5/assets/pages-activity-reserve.DIyRpwrS.js +++ b/public/h5/assets/pages-activity-reserve.D0vIYQhO.js @@ -1 +1 @@ -import{d as e,e as l,f as a,w as t,W as i,j as o,k as n,a0 as u,s,m as r,g as c,S as v,a2 as d,u as p,a1 as _,n as f,p as y,q as m,v as g,x as b,y as h,F as k,z as $,C as x,J as w,t as S,D as M,E as D,_ as C,I as N,R as j,a3 as V}from"./index-DBg2bUhq.js";import{h as A,i as T}from"./content.tJrjcqQa.js";import{g as F,l as z}from"./localProfile.LbgzO0uJ.js";import{i as Y,a as I}from"./icon_up.DJ5zmdk8.js";import{_ as R}from"./_plugin-vue_export-helper.BCo6x5W8.js";function U(e){if(null==e||""===e)return"";const l=String(e);let a="";if(/<[a-z][\s\S]*>/i.test(l)){const e=function(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 i=String(a).trim();return/style\s*=/i.test(i)?/max-width\s*:/i.test(i)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`):`"===t?" />":">"}`})}(l);a=`
${e}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(l);a=`
${e}
`}return(t=a)&&String(t).trim()&&String(t).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0?a:"";var t}const q=R(e({__name:"reserve",setup(e){const R=l(0),q=l(!1),B=l(!1),O=l(null),E=l(!0),J=l(!1),L=l({activity_day_id:0,visitor_name:"",visitor_phone:"",booking_type:"individual",people_count:1});a(()=>{var e;return((null==(e=O.value)?void 0:e.days)||[]).find(e=>e.id===L.value.activity_day_id)});const P=a(()=>!!L.value.activity_day_id&&!!L.value.visitor_name&&/^1\d{10}$/.test(L.value.visitor_phone)),W=a(()=>{var e,l;return U(null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.reservation_notice)});t(W,()=>{E.value=!0,u(()=>{setTimeout(()=>{var e;const l=null==(e=_())?void 0:e.proxy,a=d();l&&a.in(l);const t=p(187);a.select(".judge-notice-reserve").boundingClientRect(),a.exec(e=>{const[l]=e||[];J.value=!!(l&&l.height&&l.height>t+1),J.value?E.value=!1:E.value=!0})},120)})});const G=a(()=>{var e,l;return String((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.booking_audience)||"both")}),H=a(()=>{var e,l;return Math.max(1,Number((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.min_people_per_order)||1))}),K=a(()=>{var e,l;const a=Math.max(1,Number((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.max_people_per_order)||1));return Math.max(a,H.value)}),Q=a(()=>{var e,l;return(null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.booking_modes)||["individual","group"]}),X=a(()=>"individual"===G.value),Z=a(()=>"group"===G.value),ee=a(()=>`团体(${H.value}-${K.value}人)`),le=a(()=>"group"===G.value||"both"===G.value&&"group"===L.value.booking_type),ae=a(()=>{var e;return[...(null==(e=O.value)?void 0:e.days)||[]].sort((e,l)=>String(e.activity_date).localeCompare(String(l.activity_date)))}),te=l(0);function ie(){if(!ae.value.length)return void(te.value=0);const e=L.value.activity_day_id;if(!e)return void(te.value=0);const l=ae.value.findIndex(l=>l.id===e);l<0||u(()=>{setTimeout(()=>{var a;const t=null==(a=_())?void 0:a.proxy,i=d();t&&i.in(t),i.select(".day-scroll").fields({scrollOffset:!0,size:!0,rect:!0}),i.select(`#daycell-${e}`).boundingClientRect(),i.exec(e=>{const a=Array.isArray(e)?e:[],t=a[0],i=a[1];if(null!=t&&null!=i&&"number"==typeof t.left&&"number"==typeof i.left){const e=Number(t.scrollLeft??0),l=i.left-t.left,a=Math.max(0,Math.round(e+l));return void(te.value=a)}if(l<=0)return void(te.value=0);const o=160*l;te.value=Math.round(p(o))})},80)})}function oe(e){return String(e).padStart(2,"0")}function ne(){var e;const l=(null==(e=O.value)?void 0:e.days)||[];if(!l.length)return void(L.value.activity_day_id=0);const a=l.filter(e=>e.is_bookable);if(a.length){const e=function(){const e=new Date;return`${e.getFullYear()}-${oe(e.getMonth()+1)}-${oe(e.getDate())}`}(),l=a.find(l=>{return a=l.activity_date,String(a||"").slice(0,10)===e;var a});return void(L.value.activity_day_id=l?l.id:a[0].id)}const t=l[0];L.value.activity_day_id=t?t.id:0}function ue(e){const l=new Date,a=`${l.getFullYear()}-${oe(l.getMonth()+1)}-${oe(l.getDate())}`,t=String(e).slice(0,10);if(t===a)return"今天";const i=new Date(l);i.setDate(i.getDate()+1);if(t===`${i.getFullYear()}-${oe(i.getMonth()+1)}-${oe(i.getDate())}`)return"明天";const o=new Date(l);o.setDate(o.getDate()+2);return t===`${o.getFullYear()}-${oe(o.getMonth()+1)}-${oe(o.getDate())}`?"后天":""}function se(e){const l=String(e).slice(0,10).split("-");return 3!==l.length?"":`${Number(l[1])}月${Number(l[2])}日`}function re(e){const l=Number((null==e?void 0:e.available_count)??0);return l<=0?"0张":`${l}张`}function ce(){if("individual"===G.value)return L.value.booking_type="individual",void(L.value.people_count=1);if("group"===G.value?L.value.booking_type="group":Q.value.includes(L.value.booking_type)||(L.value.booking_type="individual"),"individual"===L.value.booking_type)return void(L.value.people_count=1);const e=Math.floor(Number(L.value.people_count||0));L.value.people_count=Math.min(K.value,Math.max(H.value,e||H.value))}function ve(){Z.value||(L.value.booking_type="individual",ce())}function de(){X.value||(L.value.booking_type="group",ce())}async function pe(){if(R.value){q.value=!0;try{O.value=await A(R.value),ce(),ne(),await async function(){if(c(v.accessToken))try{const e=await F();return(null==e?void 0:e.real_name)&&(L.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&(L.value.visitor_phone=e.phone))}catch{}const e=z();(null==e?void 0:e.real_name)&&(L.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&(L.value.visitor_phone=e.phone)}(),u(()=>{setTimeout(()=>ie(),100)})}catch(e){s({title:(null==e?void 0:e.message)||"加载预约信息失败",icon:"none"})}finally{q.value=!1}}}function _e(){L.value.people_count=Math.max(H.value,(Number(L.value.people_count)||H.value)-1),ce()}function fe(){L.value.people_count=Math.min(K.value,(Number(L.value.people_count)||H.value)+1),ce()}async function ye(){if(P.value&&R.value)if(ce(),"group"===L.value.booking_type&&(L.value.people_countK.value))s({title:`人数需在 ${H.value}-${K.value} 之间`,icon:"none"});else{B.value=!0;try{await T(R.value,L.value),s({title:"预约成功",icon:"success"}),setTimeout(()=>{V({url:`/pages/activity/detail?id=${R.value}`})},500)}catch(e){const l=(null==e?void 0:e.errors)||{},a=Array.isArray(l.visitor_phone)&&l.visitor_phone[0]||Array.isArray(l.activity_day_id)&&l.activity_day_id[0]||""||("string"==typeof(null==e?void 0:e.message)?e.message:"")||Object.keys(l).map(e=>Array.isArray(l[e])?l[e][0]:"").find(Boolean)||"预约失败";s({title:a,icon:"none"})}finally{B.value=!1}}else s({title:"请完整填写预约信息",icon:"none"})}return i(e=>{R.value=Number((null==e?void 0:e.id)||0),pe()}),(e,l)=>{const a=r,t=S,i=m,c=M,v=C,d=N,p=j;return f(),o(a,{class:"page-wrap"},{default:n(()=>[y(i,{"scroll-y":"",class:"page"},{default:n(()=>[q.value?(f(),o(a,{key:0,class:"loading-tip"},{default:n(()=>[g("加载中…")]),_:1})):(f(),o(a,{key:1,class:"content"},{default:n(()=>[y(a,{class:"card"},{default:n(()=>[y(a,{class:"act-title"},{default:n(()=>{var e,l;return[g(b((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.title)||"活动预约"),1)]}),_:1}),y(a,{class:"field-label"},{default:n(()=>[g("日期")]),_:1}),y(i,{"scroll-x":"",class:"day-scroll","show-scrollbar":!1,"enable-flex":!0,"scroll-left":te.value,"scroll-with-animation":!0},{default:n(()=>[y(a,{class:"day-scroll-inner"},{default:n(()=>[(f(!0),h(k,null,$(ae.value,e=>(f(),o(a,{id:"daycell-"+e.id,key:e.id,class:x(["day-chip",{active:L.value.activity_day_id===e.id&&e.is_bookable,disabled:!e.is_bookable}]),onClick:l=>function(e){if(null==e?void 0:e.is_bookable)return L.value.activity_day_id=e.id,void u(()=>{setTimeout(()=>ie(),80)});if((null==e?void 0:e.available_count)<=0||"sold_out"===(null==e?void 0:e.unavailable_reason))return void s({title:"该日期已无余票",icon:"none"});const l=String((null==e?void 0:e.opens_at)||"").slice(0,16).replace("T"," "),a=String((null==e?void 0:e.closes_at)||"").slice(0,16).replace("T"," ");s(l&&a?{title:`可预约时段:${l} ~ ${a}`,icon:"none",duration:2800}:{title:"该日期当前不可预约",icon:"none"})}(e)},{default:n(()=>[L.value.activity_day_id===e.id&&e.is_bookable?(f(),o(a,{key:0,class:"chip-check"},{default:n(()=>[g("✓")]),_:1})):w("",!0),y(t,{class:"chip-line1"},{default:n(()=>[g(b(ue(e.activity_date)||" "),1)]),_:2},1024),y(t,{class:"chip-line2"},{default:n(()=>[g(b(se(e.activity_date)),1)]),_:2},1024),y(t,{class:"chip-line3"},{default:n(()=>[g(b(re(e)),1)]),_:2},1024)]),_:2},1032,["id","class","onClick"]))),128))]),_:1})]),_:1},8,["scroll-left"]),W.value?(f(),o(a,{key:0,class:"notice-block"},{default:n(()=>[y(a,{class:"sec-title-row notice-head-row"},{default:n(()=>[y(t,{class:"notice-label"},{default:n(()=>[g("预约须知")]),_:1}),J.value?(f(),o(a,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>E.value=!E.value)},{default:n(()=>[y(c,{class:"expand-arrow-img",src:E.value?D(Y):D(I),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),y(a,{class:x(["notice-block-body judge-notice-reserve",{"is-collapsed":J.value&&!E.value}])},{default:n(()=>[y(v,{class:"notice-inline-rich",nodes:W.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0)]),_:1}),O.value?(f(),o(a,{key:0,class:"card"},{default:n(()=>[y(a,{class:"mode-row"},{default:n(()=>[y(t,{class:"mode-label"},{default:n(()=>[g("预约类型")]),_:1}),y(a,{class:"mode-btns"},{default:n(()=>[y(a,{class:x(["mode-pill",{on:"individual"===L.value.booking_type,disabled:Z.value}]),onClick:ve},{default:n(()=>[g("个人")]),_:1},8,["class"]),y(a,{class:x(["mode-pill",{on:"group"===L.value.booking_type,disabled:X.value}]),onClick:de},{default:n(()=>[g(b(ee.value),1)]),_:1},8,["class"])]),_:1})]),_:1}),le.value?(f(),o(a,{key:0,class:"count-row"},{default:n(()=>[y(t,{class:"count-name"},{default:n(()=>[g("参观人数")]),_:1}),y(a,{class:"stepper"},{default:n(()=>[y(a,{class:"step-btn",onClick:_e},{default:n(()=>[g("−")]),_:1}),y(d,{modelValue:L.value.people_count,"onUpdate:modelValue":l[1]||(l[1]=e=>L.value.people_count=e),modelModifiers:{number:!0},class:"step-val",type:"number",onBlur:l[2]||(l[2]=e=>ce())},null,8,["modelValue"]),y(a,{class:"step-btn",onClick:fe},{default:n(()=>[g("+")]),_:1})]),_:1})]),_:1})):w("",!0)]),_:1})):w("",!0),y(a,{class:"card"},{default:n(()=>[y(a,{class:"card-hd"},{default:n(()=>[g("联系人信息")]),_:1}),y(a,{class:"form-row"},{default:n(()=>[y(t,{class:"form-label"},{default:n(()=>[g("联系人")]),_:1}),y(d,{modelValue:L.value.visitor_name,"onUpdate:modelValue":l[3]||(l[3]=e=>L.value.visitor_name=e),class:"form-input",placeholder:"请输入姓名","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),y(a,{class:"form-row last"},{default:n(()=>[y(t,{class:"form-label"},{default:n(()=>[g("手机号")]),_:1}),y(d,{modelValue:L.value.visitor_phone,"onUpdate:modelValue":l[4]||(l[4]=e=>L.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"输入手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),y(a,{class:"safe-bottom"})]),_:1}),y(a,{class:"action-bar"},{default:n(()=>[y(p,{class:"btn primary",disabled:!P.value||B.value||q.value,onClick:ye},{default:n(()=>[g(b(B.value?"提交中...":"确认预约"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-385b7b4b"]]);export{q as default}; +import{d as e,e as l,f as a,w as t,W as i,j as o,k as n,a0 as u,s,m as r,g as c,S as v,a2 as d,u as p,a1 as _,n as f,p as y,q as m,v as g,x as b,y as h,F as k,z as $,C as x,J as w,t as S,D as M,E as D,_ as C,I as N,R as j,a3 as V}from"./index-BQ-ey0LP.js";import{h as A,i as T}from"./content.6JrrMb8t.js";import{g as F,l as z}from"./localProfile.zmQ0g_RY.js";import{i as Y,a as I}from"./icon_up.DJ5zmdk8.js";import{_ as R}from"./_plugin-vue_export-helper.BCo6x5W8.js";function U(e){if(null==e||""===e)return"";const l=String(e);let a="";if(/<[a-z][\s\S]*>/i.test(l)){const e=function(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 i=String(a).trim();return/style\s*=/i.test(i)?/max-width\s*:/i.test(i)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`):`"===t?" />":">"}`})}(l);a=`
${e}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(l);a=`
${e}
`}return(t=a)&&String(t).trim()&&String(t).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0?a:"";var t}const q=R(e({__name:"reserve",setup(e){const R=l(0),q=l(!1),B=l(!1),O=l(null),E=l(!0),J=l(!1),L=l({activity_day_id:0,visitor_name:"",visitor_phone:"",booking_type:"individual",people_count:1});a(()=>{var e;return((null==(e=O.value)?void 0:e.days)||[]).find(e=>e.id===L.value.activity_day_id)});const P=a(()=>!!L.value.activity_day_id&&!!L.value.visitor_name&&/^1\d{10}$/.test(L.value.visitor_phone)),W=a(()=>{var e,l;return U(null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.reservation_notice)});t(W,()=>{E.value=!0,u(()=>{setTimeout(()=>{var e;const l=null==(e=_())?void 0:e.proxy,a=d();l&&a.in(l);const t=p(187);a.select(".judge-notice-reserve").boundingClientRect(),a.exec(e=>{const[l]=e||[];J.value=!!(l&&l.height&&l.height>t+1),J.value?E.value=!1:E.value=!0})},120)})});const G=a(()=>{var e,l;return String((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.booking_audience)||"both")}),H=a(()=>{var e,l;return Math.max(1,Number((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.min_people_per_order)||1))}),K=a(()=>{var e,l;const a=Math.max(1,Number((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.max_people_per_order)||1));return Math.max(a,H.value)}),Q=a(()=>{var e,l;return(null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.booking_modes)||["individual","group"]}),X=a(()=>"individual"===G.value),Z=a(()=>"group"===G.value),ee=a(()=>`团体(${H.value}-${K.value}人)`),le=a(()=>"group"===G.value||"both"===G.value&&"group"===L.value.booking_type),ae=a(()=>{var e;return[...(null==(e=O.value)?void 0:e.days)||[]].sort((e,l)=>String(e.activity_date).localeCompare(String(l.activity_date)))}),te=l(0);function ie(){if(!ae.value.length)return void(te.value=0);const e=L.value.activity_day_id;if(!e)return void(te.value=0);const l=ae.value.findIndex(l=>l.id===e);l<0||u(()=>{setTimeout(()=>{var a;const t=null==(a=_())?void 0:a.proxy,i=d();t&&i.in(t),i.select(".day-scroll").fields({scrollOffset:!0,size:!0,rect:!0}),i.select(`#daycell-${e}`).boundingClientRect(),i.exec(e=>{const a=Array.isArray(e)?e:[],t=a[0],i=a[1];if(null!=t&&null!=i&&"number"==typeof t.left&&"number"==typeof i.left){const e=Number(t.scrollLeft??0),l=i.left-t.left,a=Math.max(0,Math.round(e+l));return void(te.value=a)}if(l<=0)return void(te.value=0);const o=160*l;te.value=Math.round(p(o))})},80)})}function oe(e){return String(e).padStart(2,"0")}function ne(){var e;const l=(null==(e=O.value)?void 0:e.days)||[];if(!l.length)return void(L.value.activity_day_id=0);const a=l.filter(e=>e.is_bookable);if(a.length){const e=function(){const e=new Date;return`${e.getFullYear()}-${oe(e.getMonth()+1)}-${oe(e.getDate())}`}(),l=a.find(l=>{return a=l.activity_date,String(a||"").slice(0,10)===e;var a});return void(L.value.activity_day_id=l?l.id:a[0].id)}const t=l[0];L.value.activity_day_id=t?t.id:0}function ue(e){const l=new Date,a=`${l.getFullYear()}-${oe(l.getMonth()+1)}-${oe(l.getDate())}`,t=String(e).slice(0,10);if(t===a)return"今天";const i=new Date(l);i.setDate(i.getDate()+1);if(t===`${i.getFullYear()}-${oe(i.getMonth()+1)}-${oe(i.getDate())}`)return"明天";const o=new Date(l);o.setDate(o.getDate()+2);return t===`${o.getFullYear()}-${oe(o.getMonth()+1)}-${oe(o.getDate())}`?"后天":""}function se(e){const l=String(e).slice(0,10).split("-");return 3!==l.length?"":`${Number(l[1])}月${Number(l[2])}日`}function re(e){const l=Number((null==e?void 0:e.available_count)??0);return l<=0?"0张":`${l}张`}function ce(){if("individual"===G.value)return L.value.booking_type="individual",void(L.value.people_count=1);if("group"===G.value?L.value.booking_type="group":Q.value.includes(L.value.booking_type)||(L.value.booking_type="individual"),"individual"===L.value.booking_type)return void(L.value.people_count=1);const e=Math.floor(Number(L.value.people_count||0));L.value.people_count=Math.min(K.value,Math.max(H.value,e||H.value))}function ve(){Z.value||(L.value.booking_type="individual",ce())}function de(){X.value||(L.value.booking_type="group",ce())}async function pe(){if(R.value){q.value=!0;try{O.value=await A(R.value),ce(),ne(),await async function(){if(c(v.accessToken))try{const e=await F();return(null==e?void 0:e.real_name)&&(L.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&(L.value.visitor_phone=e.phone))}catch{}const e=z();(null==e?void 0:e.real_name)&&(L.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&(L.value.visitor_phone=e.phone)}(),u(()=>{setTimeout(()=>ie(),100)})}catch(e){s({title:(null==e?void 0:e.message)||"加载预约信息失败",icon:"none"})}finally{q.value=!1}}}function _e(){L.value.people_count=Math.max(H.value,(Number(L.value.people_count)||H.value)-1),ce()}function fe(){L.value.people_count=Math.min(K.value,(Number(L.value.people_count)||H.value)+1),ce()}async function ye(){if(P.value&&R.value)if(ce(),"group"===L.value.booking_type&&(L.value.people_countK.value))s({title:`人数需在 ${H.value}-${K.value} 之间`,icon:"none"});else{B.value=!0;try{await T(R.value,L.value),s({title:"预约成功",icon:"success"}),setTimeout(()=>{V({url:`/pages/activity/detail?id=${R.value}`})},500)}catch(e){const l=(null==e?void 0:e.errors)||{},a=Array.isArray(l.visitor_phone)&&l.visitor_phone[0]||Array.isArray(l.activity_day_id)&&l.activity_day_id[0]||""||("string"==typeof(null==e?void 0:e.message)?e.message:"")||Object.keys(l).map(e=>Array.isArray(l[e])?l[e][0]:"").find(Boolean)||"预约失败";s({title:a,icon:"none"})}finally{B.value=!1}}else s({title:"请完整填写预约信息",icon:"none"})}return i(e=>{R.value=Number((null==e?void 0:e.id)||0),pe()}),(e,l)=>{const a=r,t=S,i=m,c=M,v=C,d=N,p=j;return f(),o(a,{class:"page-wrap"},{default:n(()=>[y(i,{"scroll-y":"",class:"page"},{default:n(()=>[q.value?(f(),o(a,{key:0,class:"loading-tip"},{default:n(()=>[g("加载中…")]),_:1})):(f(),o(a,{key:1,class:"content"},{default:n(()=>[y(a,{class:"card"},{default:n(()=>[y(a,{class:"act-title"},{default:n(()=>{var e,l;return[g(b((null==(l=null==(e=O.value)?void 0:e.activity)?void 0:l.title)||"活动预约"),1)]}),_:1}),y(a,{class:"field-label"},{default:n(()=>[g("日期")]),_:1}),y(i,{"scroll-x":"",class:"day-scroll","show-scrollbar":!1,"enable-flex":!0,"scroll-left":te.value,"scroll-with-animation":!0},{default:n(()=>[y(a,{class:"day-scroll-inner"},{default:n(()=>[(f(!0),h(k,null,$(ae.value,e=>(f(),o(a,{id:"daycell-"+e.id,key:e.id,class:x(["day-chip",{active:L.value.activity_day_id===e.id&&e.is_bookable,disabled:!e.is_bookable}]),onClick:l=>function(e){if(null==e?void 0:e.is_bookable)return L.value.activity_day_id=e.id,void u(()=>{setTimeout(()=>ie(),80)});if((null==e?void 0:e.available_count)<=0||"sold_out"===(null==e?void 0:e.unavailable_reason))return void s({title:"该日期已无余票",icon:"none"});const l=String((null==e?void 0:e.opens_at)||"").slice(0,16).replace("T"," "),a=String((null==e?void 0:e.closes_at)||"").slice(0,16).replace("T"," ");s(l&&a?{title:`可预约时段:${l} ~ ${a}`,icon:"none",duration:2800}:{title:"该日期当前不可预约",icon:"none"})}(e)},{default:n(()=>[L.value.activity_day_id===e.id&&e.is_bookable?(f(),o(a,{key:0,class:"chip-check"},{default:n(()=>[g("✓")]),_:1})):w("",!0),y(t,{class:"chip-line1"},{default:n(()=>[g(b(ue(e.activity_date)||" "),1)]),_:2},1024),y(t,{class:"chip-line2"},{default:n(()=>[g(b(se(e.activity_date)),1)]),_:2},1024),y(t,{class:"chip-line3"},{default:n(()=>[g(b(re(e)),1)]),_:2},1024)]),_:2},1032,["id","class","onClick"]))),128))]),_:1})]),_:1},8,["scroll-left"]),W.value?(f(),o(a,{key:0,class:"notice-block"},{default:n(()=>[y(a,{class:"sec-title-row notice-head-row"},{default:n(()=>[y(t,{class:"notice-label"},{default:n(()=>[g("预约须知")]),_:1}),J.value?(f(),o(a,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>E.value=!E.value)},{default:n(()=>[y(c,{class:"expand-arrow-img",src:E.value?D(Y):D(I),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),y(a,{class:x(["notice-block-body judge-notice-reserve",{"is-collapsed":J.value&&!E.value}])},{default:n(()=>[y(v,{class:"notice-inline-rich",nodes:W.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0)]),_:1}),O.value?(f(),o(a,{key:0,class:"card"},{default:n(()=>[y(a,{class:"mode-row"},{default:n(()=>[y(t,{class:"mode-label"},{default:n(()=>[g("预约类型")]),_:1}),y(a,{class:"mode-btns"},{default:n(()=>[y(a,{class:x(["mode-pill",{on:"individual"===L.value.booking_type,disabled:Z.value}]),onClick:ve},{default:n(()=>[g("个人")]),_:1},8,["class"]),y(a,{class:x(["mode-pill",{on:"group"===L.value.booking_type,disabled:X.value}]),onClick:de},{default:n(()=>[g(b(ee.value),1)]),_:1},8,["class"])]),_:1})]),_:1}),le.value?(f(),o(a,{key:0,class:"count-row"},{default:n(()=>[y(t,{class:"count-name"},{default:n(()=>[g("参观人数")]),_:1}),y(a,{class:"stepper"},{default:n(()=>[y(a,{class:"step-btn",onClick:_e},{default:n(()=>[g("−")]),_:1}),y(d,{modelValue:L.value.people_count,"onUpdate:modelValue":l[1]||(l[1]=e=>L.value.people_count=e),modelModifiers:{number:!0},class:"step-val",type:"number",onBlur:l[2]||(l[2]=e=>ce())},null,8,["modelValue"]),y(a,{class:"step-btn",onClick:fe},{default:n(()=>[g("+")]),_:1})]),_:1})]),_:1})):w("",!0)]),_:1})):w("",!0),y(a,{class:"card"},{default:n(()=>[y(a,{class:"card-hd"},{default:n(()=>[g("联系人信息")]),_:1}),y(a,{class:"form-row"},{default:n(()=>[y(t,{class:"form-label"},{default:n(()=>[g("联系人")]),_:1}),y(d,{modelValue:L.value.visitor_name,"onUpdate:modelValue":l[3]||(l[3]=e=>L.value.visitor_name=e),class:"form-input",placeholder:"请输入姓名","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),y(a,{class:"form-row last"},{default:n(()=>[y(t,{class:"form-label"},{default:n(()=>[g("手机号")]),_:1}),y(d,{modelValue:L.value.visitor_phone,"onUpdate:modelValue":l[4]||(l[4]=e=>L.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"输入手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),y(a,{class:"safe-bottom"})]),_:1}),y(a,{class:"action-bar"},{default:n(()=>[y(p,{class:"btn primary",disabled:!P.value||B.value||q.value,onClick:ye},{default:n(()=>[g(b(B.value?"提交中...":"确认预约"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-385b7b4b"]]);export{q as default}; diff --git a/public/h5/assets/pages-discover-index.C4iuUyKK.js b/public/h5/assets/pages-discover-index.baQO9AM6.js similarity index 54% rename from public/h5/assets/pages-discover-index.C4iuUyKK.js rename to public/h5/assets/pages-discover-index.baQO9AM6.js index 29b71d7..9043411 100644 --- a/public/h5/assets/pages-discover-index.C4iuUyKK.js +++ b/public/h5/assets/pages-discover-index.baQO9AM6.js @@ -1 +1 @@ -import{d as a,e as s,o as e,O as l,P as t,j as u,k as r,m as o,n as c,p as n,D as d,E as i,I as m,y as f,F as p,z as _,t as v,v as y,x as h,J as g,K as k}from"./index-DBg2bUhq.js";import{c as w}from"./content.tJrjcqQa.js";import{P as j}from"./poster.DLiVsUXX.js";import{s as x}from"./search.BJnl3YRK.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const C=b(a({__name:"index",setup(a){const b=s([]),C=s(!1),F=s("");async function V(){C.value=!0;try{b.value=await w({keyword:F.value.trim()||void 0})||[]}catch{b.value=[]}finally{C.value=!1}}function I(){V()}return e(()=>{V()}),l(async()=>{try{await V()}finally{t()}}),(a,s)=>{const e=d,l=m,t=o,w=v;return c(),u(t,{class:"page"},{default:r(()=>[n(t,{class:"toolbar"},{default:r(()=>[n(t,{class:"search-wrap"},{default:r(()=>[n(e,{class:"search-icon-img",src:i(x),mode:"aspectFit"},null,8,["src"]),n(l,{modelValue:F.value,"onUpdate:modelValue":s[0]||(s[0]=a=>F.value=a),class:"search-input",placeholder:"搜索研学路线名称","placeholder-class":"ph","confirm-type":"search",onConfirm:I},null,8,["modelValue"])]),_:1})]),_:1}),n(t,{class:"section"},{default:r(()=>[(c(!0),f(p,null,_(b.value,a=>(c(),u(t,{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(t,{class:"tour-img-wrap"},{default:r(()=>[n(e,{class:"tour-img",src:a.cover_image||i(j),mode:"aspectFill"},null,8,["src"])]),_:2},1024),n(t,{class:"tour-body"},{default:r(()=>{var s;return[n(w,{class:"tour-title"},{default:r(()=>[y(h(a.name),1)]),_:2},1024),n(t,{class:"tour-stops-timeline"},{default:r(()=>[(c(!0),f(p,null,_(a.venue_names||[],(s,e)=>(c(),u(t,{key:"v-"+a.id+"-"+e,class:"tour-stop-row"},{default:r(()=>[n(t,{class:"tour-timeline-axis"},{default:r(()=>{var s;return[n(t,{class:"tour-dot-cell"},{default:r(()=>[n(t,{class:"tour-tl-dot"})]),_:1}),Number(e)<((null==(s=a.venue_names)?void 0:s.length)||0)-1?(c(),u(t,{key:0,class:"tour-tl-line"})):g("",!0)]}),_:2},1024),n(w,{class:"tour-stop-name"},{default:r(()=>[y(h(s),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(s=a.tags)?void 0:s.length)?(c(),u(t,{key:0,class:"tour-tags-row"},{default:r(()=>[(c(!0),f(p,null,_(a.tags,(s,e)=>(c(),u(w,{key:"t-"+a.id+"-"+e,class:"tour-tag"},{default:r(()=>[y(h(s),1)]),_:2},1024))),128))]),_:2},1024)):g("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),C.value&&!b.value.length?(c(),u(t,{key:0,class:"hint"},{default:r(()=>[y("加载中…")]),_:1})):g("",!0),C.value||b.value.length?g("",!0):(c(),u(t,{key:1,class:"hint muted"},{default:r(()=>[y("暂无研学路线")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-cbf684f4"]]);export{C as default}; +import{d as a,e as s,o as e,O as l,P as t,j as u,k as o,m as r,n as c,p as n,D as d,E as i,I as m,y as f,F as p,z as _,t as v,v as y,x as h,J as g,K as k}from"./index-BQ-ey0LP.js";import{c as w}from"./content.6JrrMb8t.js";import{P as j}from"./poster.DLiVsUXX.js";import{s as x}from"./search.BJnl3YRK.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const C=b(a({__name:"index",setup(a){const b=s([]),C=s(!1),F=s("");async function V(){C.value=!0;try{b.value=await w({keyword:F.value.trim()||void 0})||[]}catch{b.value=[]}finally{C.value=!1}}function I(){V()}return e(()=>{V()}),l(async()=>{try{await V()}finally{t()}}),(a,s)=>{const e=d,l=m,t=r,w=v;return c(),u(t,{class:"page"},{default:o(()=>[n(t,{class:"toolbar"},{default:o(()=>[n(t,{class:"search-wrap"},{default:o(()=>[n(e,{class:"search-icon-img",src:i(x),mode:"aspectFit"},null,8,["src"]),n(l,{modelValue:F.value,"onUpdate:modelValue":s[0]||(s[0]=a=>F.value=a),class:"search-input",placeholder:"搜索研学路线名称","placeholder-class":"ph","confirm-type":"search",onConfirm:I},null,8,["modelValue"])]),_:1})]),_:1}),n(t,{class:"section"},{default:o(()=>[(c(!0),f(p,null,_(b.value,a=>(c(),u(t,{key:a.id,class:"tour-card",onClick:s=>{return e=a.id,void k({url:`/pages/study-tour/detail?id=${e}`});var e}},{default:o(()=>[n(t,{class:"tour-img-wrap"},{default:o(()=>[n(e,{class:"tour-img",src:a.cover_image||i(j),mode:"aspectFill"},null,8,["src"])]),_:2},1024),n(t,{class:"tour-body"},{default:o(()=>{var s;return[n(w,{class:"tour-title"},{default:o(()=>[y(h(a.name),1)]),_:2},1024),n(t,{class:"tour-stops-timeline"},{default:o(()=>[(c(!0),f(p,null,_(a.venue_names||[],(s,e)=>(c(),u(t,{key:"v-"+a.id+"-"+e,class:"tour-stop-row"},{default:o(()=>[n(t,{class:"tour-timeline-axis"},{default:o(()=>{var s;return[n(t,{class:"tour-dot-cell"},{default:o(()=>[n(t,{class:"tour-tl-dot"})]),_:1}),Number(e)<((null==(s=a.venue_names)?void 0:s.length)||0)-1?(c(),u(t,{key:0,class:"tour-tl-line"})):g("",!0)]}),_:2},1024),n(w,{class:"tour-stop-name"},{default:o(()=>[y(h(s),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(s=a.tags)?void 0:s.length)?(c(),u(t,{key:0,class:"tour-tags-row"},{default:o(()=>[(c(!0),f(p,null,_(a.tags,(s,e)=>(c(),u(w,{key:"t-"+a.id+"-"+e,class:"tour-tag"},{default:o(()=>[y(h(s),1)]),_:2},1024))),128))]),_:2},1024)):g("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),C.value&&!b.value.length?(c(),u(t,{key:0,class:"hint"},{default:o(()=>[y("加载中…")]),_:1})):g("",!0),C.value||b.value.length?g("",!0):(c(),u(t,{key:1,class:"hint muted"},{default:o(()=>[y("暂无研学路线")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-cbf684f4"]]);export{C as default}; diff --git a/public/h5/assets/pages-index-index.C0AG9AAu.js b/public/h5/assets/pages-index-index.C0AG9AAu.js deleted file mode 100644 index 43f08ba..0000000 --- a/public/h5/assets/pages-index-index.C0AG9AAu.js +++ /dev/null @@ -1 +0,0 @@ -import{h as e,i as t,g as l,S as a,s as n,r as u,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 p,j as m,k as g,l as h,m as _,u as y,n as b,p as w,q as k,t as x,v as M,x as C,y as F,F as P,z as N,B as S,C as I,I as $,D as j,E as A,G as T,M as z,H as q,J as R,K as L,L as U}from"./index-DBg2bUhq.js";import{P as D}from"./poster.DLiVsUXX.js";import{s as V}from"./search.BJnl3YRK.js";import{d as B}from"./down.BCKq9i8s.js";import{f as E,a as O,c as G}from"./activity.4NBjJ4my.js";import{t as H,m as J}from"./ticketMap.imr_2NOD.js";import{v as K,a as W,c as X}from"./venueThemeColors.ByZn0VY6.js";import{_ as Y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const Q="szkp_force_loc_prompt",Z="szkp_wechat_oauth_denied",ee="szkp_h5_oauth_state_ss";let te=null;function le(){return te||(te=async function(){var c,d;if(!t())return!0;const v=new URL(window.location.href),f=v.searchParams.get("code"),p=v.searchParams.get("state");if(v.searchParams.get("err")){try{window.sessionStorage.setItem(Z,"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 t="";try{t=window.sessionStorage.getItem(ee)||""}catch{}t||(t=l(a.oauthState)||"");if(Boolean(p&&t&&String(p)!==String(t))){n({title:"授权状态异常,请关闭页面后重试",icon:"none"});try{window.sessionStorage.removeItem(ee)}catch{}u(a.oauthState)}else{s({title:"授权登录中…",mask:!0});try{const t=await e.post("/h5/wechat/oauth",{code:f},{withAuth:!1});if(null==t?void 0:t.token){o(a.accessToken,t.token);try{window.sessionStorage.setItem(Q,"1")}catch{}}}catch(h){const e=(null==h?void 0:h.message)||(null==(d=null==(c=null==h?void 0:h.errors)?void 0:c.code)?void 0:d[0])||"微信登录失败";n({title:e,icon:"none"})}finally{i()}}try{window.sessionStorage.removeItem(ee)}catch{}return u(a.oauthState),v.searchParams.delete("code"),v.searchParams.delete("state"),window.history.replaceState({},"",v.pathname+v.search+v.hash),!0}if(l(a.accessToken))return!0;try{if("1"===window.sessionStorage.getItem(Z))return!0}catch{}const m=encodeURIComponent(function(){if("undefined"==typeof window)return"";const e=new URL(window.location.href);return e.hash="",e.search="",e.toString()}()),g=`${Date.now()}-${Math.random().toString(36).slice(2,10)}`;try{window.sessionStorage.setItem(ee,g)}catch{}return o(a.oauthState,g),window.location.href=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${r.wechatAppId}&redirect_uri=${m}&response_type=code&scope=snsapi_userinfo&state=${g}#wechat_redirect`,!1}().finally(()=>{te=null})),te}const ae={lat:31.2989,lng:120.5853},ne={lat:.085,lng:.098};const ue={features:[{type:"Feature",properties:{id:"320507",name:"相城区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.826067,31.436966],[120.81984,31.437908],[120.788109,31.432948],[120.779446,31.431591],[120.768633,31.429255],[120.758424,31.419913],[120.745015,31.414115],[120.733164,31.40607],[120.726416,31.397852],[120.724162,31.391635],[120.718675,31.386841],[120.714536,31.386388],[120.703558,31.390792],[120.697516,31.385776],[120.697512,31.390757],[120.696586,31.393071],[120.690713,31.393169],[120.690953,31.385165],[120.685587,31.380706],[120.675529,31.372343],[120.666834,31.365114],[120.660013,31.360205],[120.651362,31.352881],[120.643983,31.346212],[120.644087,31.345662],[120.645489,31.338274],[120.641345,31.338152],[120.640661,31.338055],[120.639547,31.339079],[120.634247,31.337844],[120.632103,31.337699],[120.631938,31.337814],[120.631105,31.338784],[120.630767,31.339654],[120.630844,31.342046],[120.630594,31.343279],[120.629821,31.345066],[120.628658,31.347256],[120.628363,31.34881],[120.628207,31.349103],[120.627581,31.349331],[120.626201,31.349406],[120.625212,31.349286],[120.623962,31.34881],[120.623485,31.348739],[120.623025,31.348905],[120.622782,31.349159],[120.622591,31.349549],[120.622366,31.349922],[120.621949,31.35038],[120.621003,31.350436],[120.619796,31.35047],[120.618313,31.35053],[120.616793,31.350531],[120.616212,31.350748],[120.615874,31.351492],[120.615162,31.352022],[120.614616,31.352168],[120.613938,31.352244],[120.613105,31.352092],[120.612358,31.351771],[120.612098,31.351304],[120.612167,31.349367],[120.612195,31.349316],[120.612171,31.349295],[120.612173,31.34919],[120.612176,31.349101],[120.612064,31.348637],[120.611621,31.348451],[120.607897,31.348008],[120.607464,31.348126],[120.60736,31.348622],[120.605911,31.356077],[120.605355,31.35764],[120.605147,31.358301],[120.604565,31.358726],[120.602022,31.358832],[120.595948,31.358926],[120.593231,31.359033],[120.591069,31.359263],[120.588943,31.359436],[120.588249,31.359492],[120.586409,31.359549],[120.586574,31.361579],[120.585246,31.361643],[120.582495,31.361672],[120.582079,31.361293],[120.581462,31.360441],[120.580595,31.359506],[120.579692,31.359307],[120.57346,31.359176],[120.570762,31.364335],[120.568011,31.367471],[120.567082,31.367745],[120.566388,31.368726],[120.566179,31.369439],[120.566301,31.370236],[120.567325,31.371482],[120.567733,31.371982],[120.568384,31.372788],[120.568262,31.37338],[120.567698,31.373955],[120.566535,31.37445],[120.563889,31.374909],[120.560721,31.375684],[120.558073,31.376425],[120.556564,31.377377],[120.555114,31.378265],[120.554385,31.378543],[120.552406,31.378895],[120.551382,31.38077],[120.549881,31.381254],[120.548214,31.383446],[120.547815,31.385515],[120.54686,31.38834],[120.545342,31.390157],[120.54378,31.391014],[120.543276,31.391722],[120.54345,31.392477],[120.544083,31.39278],[120.54509,31.392351],[120.546132,31.392408],[120.547885,31.394437],[120.548639,31.39576],[120.546687,31.397526],[120.545993,31.398788],[120.545359,31.401593],[120.547259,31.402309],[120.550766,31.402978],[120.551773,31.403506],[120.55297,31.404509],[120.553413,31.405427],[120.553907,31.406796],[120.556025,31.407528],[120.558178,31.409797],[120.559254,31.413182],[120.559289,31.41476],[120.558638,31.415301],[120.554055,31.415839],[120.552137,31.416453],[120.550758,31.418186],[120.549577,31.420905],[120.548743,31.42272],[120.546262,31.422364],[120.544534,31.421812],[120.543467,31.421262],[120.542599,31.420034],[120.542364,31.418574],[120.540682,31.417128],[120.540004,31.416662],[120.539362,31.416371],[120.536671,31.416264],[120.531247,31.415496],[120.528253,31.413811],[120.526004,31.412462],[120.52459,31.410796],[120.521127,31.408378],[120.517785,31.407302],[120.515476,31.406879],[120.514009,31.406263],[120.512317,31.40507],[120.511189,31.405118],[120.510199,31.405256],[120.509114,31.405382],[120.508142,31.404881],[120.507595,31.404059],[120.506874,31.403516],[120.506146,31.403167],[120.505712,31.403223],[120.504601,31.403696],[120.50328,31.405378],[120.500008,31.409126],[120.49592,31.412045],[120.492005,31.413173],[120.486623,31.413048],[120.485199,31.412546],[120.483655,31.410918],[120.482656,31.41091],[120.481858,31.411306],[120.475901,31.416941],[120.475889,31.416954],[120.475823,31.417016],[120.475802,31.417035],[120.473845,31.418886],[120.466344,31.413337],[120.471813,31.408207],[120.472022,31.407664],[120.471249,31.407191],[120.470685,31.406929],[120.469409,31.406625],[120.467637,31.406615],[120.466909,31.406342],[120.465319,31.404307],[120.464494,31.404055],[120.46189,31.404105],[120.460796,31.404176],[120.46051,31.403985],[120.460493,31.403378],[120.460735,31.402099],[120.461049,31.400852],[120.46104,31.399994],[120.460996,31.397807],[120.460779,31.397032],[120.460527,31.396678],[120.460214,31.396507],[120.45952,31.396524],[120.458521,31.396776],[120.456299,31.398714],[120.455726,31.399036],[120.455275,31.399045],[120.454111,31.398401],[120.450977,31.396742],[120.449788,31.396366],[120.449041,31.396399],[120.44879,31.396867],[120.448434,31.397564],[120.447964,31.398197],[120.447114,31.39851],[120.445117,31.398781],[120.443823,31.3987],[120.442938,31.397776],[120.442816,31.396389],[120.442295,31.394666],[120.441375,31.393724],[120.439361,31.392767],[120.438293,31.392111],[120.43633,31.391234],[120.434767,31.391474],[120.433943,31.391546],[120.43238,31.392259],[120.430852,31.393397],[120.428742,31.395054],[120.426589,31.395833],[120.424514,31.395832],[120.42269,31.395053],[120.417264,31.392484],[120.41623,31.392065],[120.415666,31.392107],[120.415119,31.392419],[120.414528,31.394076],[120.414225,31.394958],[120.4132,31.395572],[120.410361,31.396357],[120.409136,31.397096],[120.407218,31.398311],[120.405342,31.398643],[120.403632,31.398642],[120.400706,31.400451],[120.387465,31.401703],[120.312979,31.400018],[120.330904,31.409224],[120.351156,31.418279],[120.358799,31.422156],[120.40155,31.443826],[120.414145,31.450166],[120.41797,31.450778],[120.418493,31.450759],[120.41903,31.450535],[120.419373,31.450207],[120.419611,31.449817],[120.420114,31.44809],[120.420303,31.447892],[120.421591,31.447332],[120.421924,31.447229],[120.423271,31.447287],[120.423248,31.448182],[120.424632,31.448184],[120.424725,31.447938],[120.425028,31.447973],[120.424995,31.448183],[120.425883,31.448185],[120.425958,31.447955],[120.426156,31.447874],[120.426419,31.447241],[120.427259,31.447038],[120.427328,31.446761],[120.427602,31.446494],[120.427766,31.446608],[120.428071,31.446467],[120.428857,31.445666],[120.430356,31.444407],[120.432841,31.444852],[120.427072,31.450439],[120.428231,31.450708],[120.429151,31.450799],[120.433532,31.45057],[120.440353,31.449499],[120.450177,31.448075],[120.455597,31.447334],[120.469908,31.448455],[120.470548,31.448655],[120.475168,31.450775],[120.476052,31.451038],[120.476403,31.451653],[120.476449,31.451856],[120.476906,31.451912],[120.477057,31.452201],[120.477263,31.451687],[120.477506,31.451445],[120.477913,31.451278],[120.48093,31.451816],[120.480929,31.450886],[120.480848,31.450756],[120.480649,31.450675],[120.480309,31.449395],[120.480518,31.449245],[120.480489,31.449085],[120.481419,31.448776],[120.481679,31.449505],[120.481799,31.449606],[120.481959,31.449976],[120.482549,31.450536],[120.485779,31.450126],[120.486989,31.450136],[120.48763,31.450266],[120.488059,31.450455],[120.488182,31.450289],[120.48839,31.449976],[120.488949,31.449546],[120.489379,31.449765],[120.48971,31.449786],[120.489599,31.450326],[120.489659,31.450346],[120.489888,31.450385],[120.49076,31.450016],[120.491309,31.449876],[120.491387,31.450112],[120.491659,31.451056],[120.491639,31.451245],[120.490929,31.451585],[120.49096,31.452528],[120.49098,31.453036],[120.491349,31.453136],[120.49178,31.453415],[120.492379,31.454036],[120.495369,31.457656],[120.4958,31.458295],[120.496979,31.459516],[120.49806,31.459936],[120.49987,31.459755],[120.499939,31.460065],[120.50063,31.459936],[120.50067,31.458756],[120.50219,31.458825],[120.502769,31.459026],[120.503499,31.458545],[120.504133,31.457628],[120.504775,31.457673],[120.506469,31.458875],[120.506798,31.458745],[120.507979,31.459076],[120.507899,31.458665],[120.508469,31.458555],[120.508499,31.458175],[120.509279,31.458126],[120.509479,31.458185],[120.509879,31.459125],[120.510119,31.459096],[120.510489,31.458655],[120.512049,31.459135],[120.512119,31.459714],[120.512999,31.459835],[120.513039,31.461945],[120.511609,31.462235],[120.511669,31.462606],[120.511627,31.46608],[120.511529,31.466165],[120.511638,31.466426],[120.512119,31.466765],[120.513109,31.467225],[120.514608,31.467625],[120.517249,31.469484],[120.518379,31.47005],[120.519508,31.470384],[120.521688,31.470364],[120.522848,31.470054],[120.524268,31.469263],[120.525037,31.469013],[120.526787,31.468653],[120.528347,31.468694],[120.529757,31.468984],[120.531337,31.468974],[120.531856,31.469153],[120.532226,31.469784],[120.532416,31.470022],[120.533016,31.470424],[120.536486,31.471013],[120.538235,31.471593],[120.539295,31.472342],[120.540032,31.473229],[120.542095,31.475212],[120.545144,31.477232],[120.546464,31.477991],[120.546673,31.477982],[120.549856,31.478335],[120.549189,31.47912],[120.550158,31.479127],[120.550991,31.479962],[120.551078,31.481297],[120.551,31.482387],[120.55034,31.484446],[120.549682,31.485584],[120.548753,31.488826],[120.546669,31.4901],[120.544821,31.491259],[120.5447,31.493228],[120.5447,31.494849],[120.54378,31.497164],[120.544239,31.49948],[120.545515,31.500868],[120.547364,31.502722],[120.548527,31.504805],[120.550957,31.509668],[120.552164,31.510525],[120.555618,31.511067],[120.559497,31.512441],[120.564331,31.514483],[120.568089,31.516613],[120.572714,31.519623],[120.581584,31.526654],[120.585637,31.529095],[120.587051,31.529633],[120.58857,31.52968],[120.589404,31.528802],[120.589794,31.527629],[120.590766,31.522256],[120.591451,31.519276],[120.592476,31.518394],[120.593699,31.518101],[120.594385,31.518296],[120.594775,31.518982],[120.595061,31.520104],[120.595843,31.52074],[120.597214,31.52074],[120.59816,31.521115],[120.601302,31.526149],[120.601571,31.527371],[120.60125,31.529181],[120.600451,31.532107],[120.600069,31.532999],[120.600008,31.534226],[120.600417,31.536403],[120.600798,31.537178],[120.600929,31.537812],[120.600642,31.538396],[120.599913,31.539146],[120.599115,31.539847],[120.598724,31.540394],[120.598594,31.541384],[120.59862,31.543307],[120.598994,31.54457],[120.599523,31.546522],[120.599583,31.5466],[120.599661,31.5467],[120.600833,31.5482],[120.608306,31.547944],[120.609208,31.547988],[120.609364,31.548361],[120.609425,31.54911],[120.608939,31.551507],[120.608939,31.552152],[120.609781,31.552244],[120.611283,31.551853],[120.612524,31.551763],[120.613999,31.552629],[120.615188,31.553111],[120.615769,31.552961],[120.616481,31.551671],[120.617123,31.550354],[120.617783,31.549199],[120.619935,31.548001],[120.621888,31.547821],[120.622773,31.54746],[120.622782,31.545871],[120.622773,31.544074],[120.623242,31.542751],[120.624761,31.540727],[120.624882,31.537689],[120.624509,31.534397],[120.623112,31.531105],[120.62247,31.528924],[120.622322,31.527906],[120.622999,31.527515],[120.627417,31.527432],[120.629821,31.527426],[120.631643,31.527349],[120.63285,31.527121],[120.633458,31.526327],[120.633197,31.525001],[120.631869,31.521209],[120.631869,31.519862],[120.632946,31.519323],[120.634474,31.518874],[120.637615,31.518874],[120.639142,31.518605],[120.639142,31.517617],[120.638874,31.515821],[120.63896,31.514653],[120.639637,31.513683],[120.641095,31.513533],[120.642128,31.513145],[120.642735,31.512498],[120.643178,31.510251],[120.64363,31.508815],[120.645244,31.507738],[120.648481,31.506749],[120.650452,31.506299],[120.651355,31.505581],[120.651085,31.504504],[120.650781,31.501685],[120.652005,31.500489],[120.652058,31.500086],[120.651971,31.49899],[120.652284,31.498486],[120.653586,31.498356],[120.654731,31.498168],[120.65566,31.497978],[120.656606,31.497933],[120.657543,31.498774],[120.658629,31.500283],[120.659106,31.500689],[120.660417,31.500719],[120.662673,31.500673],[120.664462,31.50032],[120.666744,31.500107],[120.668272,31.500244],[120.673402,31.499862],[120.674835,31.499862],[120.67579,31.501142],[120.67625,31.501695],[120.677074,31.501976],[120.677813,31.501975],[120.679323,31.50171],[120.680417,31.501463],[120.680468,31.500862],[120.680208,31.500209],[120.680903,31.499228],[120.682517,31.498935],[120.684853,31.498756],[120.686919,31.498575],[120.688186,31.498189],[120.689939,31.497351],[120.691103,31.497922],[120.692127,31.498923],[120.693638,31.500392],[120.692795,31.501494],[120.698422,31.511883],[120.699133,31.512379],[120.700687,31.513216],[120.70225,31.515252],[120.702858,31.517352],[120.703083,31.518724],[120.702806,31.520319],[120.703951,31.521406],[120.705089,31.521761],[120.707484,31.52168],[120.714048,31.521681],[120.717694,31.521959],[120.719839,31.521382],[120.722374,31.522253],[120.724041,31.523876],[120.724284,31.525912],[120.724406,31.527947],[120.724745,31.529002],[120.72635,31.52922],[120.729745,31.529246],[120.731273,31.529546],[120.731299,31.529845],[120.731108,31.537248],[120.73103,31.538177],[120.732323,31.538018],[120.734208,31.537882],[120.73538,31.537565],[120.736787,31.536615],[120.73821,31.535598],[120.741197,31.534172],[120.743055,31.533289],[120.743758,31.533107],[120.744938,31.533018],[120.747292,31.532066],[120.74928,31.531273],[120.751137,31.531094],[120.753334,31.530958],[120.753768,31.531274],[120.754602,31.531774],[120.755696,31.531707],[120.757137,31.531662],[120.758092,31.531955],[120.758647,31.532877],[120.758804,31.533641],[120.758544,31.534785],[120.758544,31.536326],[120.759795,31.540106],[120.760246,31.54169],[120.760602,31.542324],[120.761304,31.542595],[120.763545,31.541812],[120.770386,31.537595],[120.771471,31.536508],[120.77247,31.535716],[120.773781,31.535058],[120.775595,31.534266],[120.776299,31.533815],[120.776498,31.533136],[120.776584,31.531875],[120.777175,31.53099],[120.778104,31.530547],[120.779285,31.5304],[120.781161,31.530843],[120.782246,31.531433],[120.783626,31.531907],[120.784755,31.531943],[120.785119,31.531857],[120.785128,31.531557],[120.784443,31.529841],[120.784147,31.529168],[120.783782,31.527824],[120.784095,31.526978],[120.786013,31.526319],[120.78874,31.526169],[120.791049,31.52612],[120.79282,31.5259],[120.794044,31.524763],[120.794565,31.523715],[120.795164,31.523574],[120.798853,31.523622],[120.800286,31.523605],[120.80066,31.523764],[120.800798,31.524189],[120.800764,31.524736],[120.800745,31.526452],[120.801033,31.527619],[120.801476,31.528204],[120.802092,31.528753],[120.802795,31.529614],[120.803385,31.530808],[120.803967,31.531891],[120.80434,31.532974],[120.804427,31.533991],[120.80434,31.535075],[120.804366,31.538172],[120.805147,31.538171],[120.805356,31.538152],[120.806389,31.537813],[120.808915,31.536049],[120.809731,31.535023],[120.811086,31.534992],[120.812501,31.535351],[120.814071,31.5357],[120.814983,31.535615],[120.81586,31.53534],[120.81658,31.535413],[120.816746,31.535762],[120.816858,31.536471],[120.817362,31.53681],[120.81862,31.536838],[120.820113,31.536924],[120.821676,31.536658],[120.821997,31.53583],[120.822753,31.533701],[120.823481,31.530937],[120.82428,31.527999],[120.824896,31.524871],[120.825,31.523106],[120.825096,31.521994],[120.824479,31.521951],[120.820878,31.521824],[120.819167,31.521697],[120.811051,31.521666],[120.810833,31.521611],[120.809878,31.521091],[120.804601,31.516774],[120.80335,31.515724],[120.803403,31.514621],[120.803429,31.513067],[120.80355,31.511815],[120.803576,31.510762],[120.803428,31.509235],[120.803551,31.507531],[120.803551,31.505453],[120.803697,31.505127],[120.804002,31.504874],[120.81059,31.505678],[120.812796,31.506028],[120.813368,31.505854],[120.811474,31.499847],[120.811467,31.499816],[120.811441,31.499735],[120.811433,31.499713],[120.81119,31.49894],[120.810842,31.497812],[120.810217,31.49651],[120.809966,31.494806],[120.810365,31.493229],[120.812344,31.492275],[120.812692,31.491375],[120.814098,31.49105],[120.814949,31.490038],[120.81796,31.485624],[120.819983,31.477851],[120.81967,31.473302],[120.819827,31.470846],[120.821112,31.466705],[120.823212,31.446316],[120.82481,31.441084],[120.826067,31.436966]]]]}},{type:"Feature",properties:{id:"320508",name:"姑苏区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.585261,31.253367],[120.584914,31.258375],[120.584476,31.261061],[120.583789,31.26391],[120.583632,31.264963],[120.583945,31.266745],[120.582417,31.273628],[120.582062,31.275463],[120.580577,31.278014],[120.577627,31.282348],[120.576403,31.283977],[120.575682,31.285508],[120.571604,31.29489],[120.571126,31.295893],[120.568696,31.300737],[120.565329,31.307667],[120.5646,31.3088],[120.563663,31.309807],[120.56243,31.31104],[120.561996,31.311769],[120.561736,31.312863],[120.561858,31.314356],[120.561892,31.315467],[120.561806,31.316439],[120.561302,31.318087],[120.560226,31.320847],[120.55941,31.322792],[120.558976,31.32366],[120.55823,31.324581],[120.556285,31.326647],[120.530334,31.351967],[120.530148,31.352178],[120.53009,31.352207],[120.529554,31.352729],[120.52432,31.357593],[120.524052,31.35807],[120.524182,31.358547],[120.524729,31.358855],[120.535882,31.364071],[120.536151,31.364323],[120.536177,31.364755],[120.535821,31.365395],[120.535473,31.36595],[120.535352,31.366444],[120.535517,31.367083],[120.535821,31.367474],[120.535943,31.367989],[120.535804,31.368565],[120.535474,31.369616],[120.535491,31.370378],[120.535621,31.372127],[120.53609,31.373897],[120.536584,31.374804],[120.538191,31.375791],[120.539752,31.37641],[120.540395,31.376657],[120.540698,31.377131],[120.541072,31.377419],[120.541801,31.377541],[120.543094,31.377807],[120.544118,31.378265],[120.544934,31.378822],[120.545497,31.379421],[120.545741,31.380339],[120.546166,31.380621],[120.547433,31.380832],[120.549325,31.381187],[120.549881,31.381254],[120.551382,31.38077],[120.552406,31.378895],[120.554385,31.378543],[120.555114,31.378265],[120.556564,31.377377],[120.558073,31.376425],[120.560721,31.375684],[120.563889,31.374909],[120.566535,31.37445],[120.567698,31.373955],[120.568262,31.37338],[120.568384,31.372788],[120.567733,31.371982],[120.567325,31.371482],[120.566301,31.370236],[120.566179,31.369439],[120.566388,31.368726],[120.567082,31.367745],[120.568011,31.367471],[120.570762,31.364335],[120.57346,31.359176],[120.579692,31.359307],[120.580595,31.359506],[120.581462,31.360441],[120.582079,31.361293],[120.582495,31.361672],[120.585246,31.361643],[120.586574,31.361579],[120.586409,31.359549],[120.588249,31.359492],[120.588943,31.359436],[120.591069,31.359263],[120.593231,31.359033],[120.595948,31.358926],[120.602022,31.358832],[120.604565,31.358726],[120.605147,31.358301],[120.605355,31.35764],[120.605911,31.356077],[120.60736,31.348622],[120.607464,31.348126],[120.607897,31.348008],[120.611621,31.348451],[120.612064,31.348637],[120.612176,31.349101],[120.612173,31.34919],[120.612171,31.349295],[120.612195,31.349316],[120.612167,31.349367],[120.612098,31.351304],[120.612358,31.351771],[120.613105,31.352092],[120.613938,31.352244],[120.614616,31.352168],[120.615162,31.352022],[120.615874,31.351492],[120.616212,31.350748],[120.616793,31.350531],[120.618313,31.35053],[120.619796,31.35047],[120.621003,31.350436],[120.621949,31.35038],[120.622366,31.349922],[120.622591,31.349549],[120.622782,31.349159],[120.623025,31.348905],[120.623485,31.348739],[120.623962,31.34881],[120.625212,31.349286],[120.626201,31.349406],[120.627581,31.349331],[120.628207,31.349103],[120.628363,31.34881],[120.628658,31.347256],[120.629821,31.345066],[120.630594,31.343279],[120.630844,31.342046],[120.630767,31.339654],[120.631105,31.338784],[120.631938,31.337814],[120.632103,31.337699],[120.634247,31.337844],[120.639547,31.339079],[120.640661,31.338055],[120.636666,31.337489],[120.638213,31.332361],[120.639603,31.331114],[120.639742,31.330994],[120.64008,31.330708],[120.640626,31.330096],[120.640896,31.32974],[120.641078,31.329462],[120.641191,31.329261],[120.641312,31.329048],[120.641434,31.328815],[120.641625,31.328359],[120.641702,31.328123],[120.642059,31.326916],[120.64244,31.325543],[120.642797,31.324274],[120.642944,31.323753],[120.643091,31.323197],[120.643283,31.322546],[120.643474,31.321847],[120.643673,31.321116],[120.643855,31.320479],[120.644072,31.319759],[120.644307,31.31898],[120.644593,31.317956],[120.644732,31.317456],[120.644958,31.316688],[120.645035,31.316408],[120.64514,31.316024],[120.64534,31.315348],[120.645574,31.314564],[120.645634,31.314338],[120.645808,31.313729],[120.646433,31.31148],[120.646798,31.31016],[120.646868,31.309924],[120.647162,31.308878],[120.647371,31.30814],[120.647484,31.307765],[120.647822,31.306625],[120.64823,31.305137],[120.648517,31.304152],[120.648811,31.303126],[120.648976,31.302525],[120.649514,31.300609],[120.64994,31.299136],[120.650087,31.298609],[120.650339,31.297689],[120.650609,31.296675],[120.650764,31.295933],[120.650851,31.295464],[120.650921,31.294989],[120.650964,31.294414],[120.650999,31.293825],[120.651008,31.293259],[120.65099,31.292658],[120.650911,31.291788],[120.650869,31.291436],[120.650808,31.291079],[120.650704,31.290538],[120.65046,31.289431],[120.650287,31.288685],[120.650209,31.288266],[120.650122,31.287884],[120.650044,31.287521],[120.649784,31.286314],[120.649584,31.285304],[120.649498,31.284876],[120.649527,31.284811],[120.649545,31.284799],[120.649539,31.284746],[120.649546,31.284701],[120.649494,31.284427],[120.649475,31.284402],[120.649483,31.284379],[120.649484,31.284365],[120.649473,31.284282],[120.649454,31.284211],[120.649417,31.284197],[120.649341,31.284129],[120.649064,31.282895],[120.64902,31.282662],[120.648712,31.281576],[120.648358,31.280218],[120.647257,31.279812],[120.646659,31.279677],[120.645044,31.279484],[120.644567,31.279061],[120.644541,31.278255],[120.644984,31.276825],[120.645895,31.273177],[120.645722,31.272969],[120.643803,31.272765],[120.64264,31.272622],[120.641798,31.272776],[120.641087,31.27318],[120.640531,31.273738],[120.641009,31.274679],[120.641087,31.275467],[120.640549,31.276045],[120.638378,31.275602],[120.637337,31.275409],[120.636747,31.275494],[120.636026,31.27547],[120.632893,31.275304],[120.631322,31.275416],[120.630602,31.275668],[120.630247,31.276143],[120.630203,31.276673],[120.630351,31.276988],[120.630871,31.277604],[120.630967,31.277894],[120.630776,31.278187],[120.630489,31.278268],[120.629422,31.278111],[120.6291,31.278231],[120.628979,31.278771],[120.628528,31.280058],[120.623207,31.279404],[120.621888,31.279428],[120.617314,31.279085],[120.614364,31.278626],[120.610519,31.27829],[120.608575,31.277957],[120.608236,31.277603],[120.607958,31.277186],[120.607932,31.276793],[120.607967,31.276388],[120.608149,31.276066],[120.608566,31.275855],[120.609209,31.275636],[120.61025,31.274933],[120.610779,31.273581],[120.610814,31.272052],[120.61064,31.270662],[120.609564,31.269911],[120.607108,31.269055],[120.605494,31.268784],[120.605202,31.268589],[120.605184,31.268574],[120.605161,31.268562],[120.604765,31.268298],[120.6042,31.267809],[120.604079,31.267081],[120.604218,31.266208],[120.604365,31.265772],[120.60479,31.264599],[120.605658,31.263224],[120.605858,31.261743],[120.604094,31.26163],[120.604238,31.261208],[120.604389,31.260749],[120.604268,31.25896],[120.602061,31.258701],[120.600482,31.25842],[120.59899,31.258004],[120.598308,31.256834],[120.598123,31.254945],[120.597859,31.253067],[120.597429,31.25215],[120.594542,31.251858],[120.592432,31.253077],[120.592069,31.252983],[120.590682,31.253061]]]]}},{type:"Feature",properties:{id:"320505",name:"虎丘区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.591286,31.249507],[120.588474,31.249507],[120.587348,31.249291],[120.587942,31.242838],[120.588222,31.240272],[120.588436,31.235529],[120.584082,31.23534],[120.583835,31.235852],[120.583637,31.236186],[120.577553,31.234765],[120.576285,31.234357],[120.577345,31.231852],[120.577896,31.228929],[120.577656,31.227869],[120.576996,31.226329],[120.576256,31.223468],[120.575756,31.222128],[120.574087,31.222504],[120.572573,31.223154],[120.572054,31.227314],[120.571884,31.229744],[120.57209,31.230715],[120.56873,31.235321],[120.56677,31.23703],[120.563758,31.237994],[120.563484,31.238793],[120.564311,31.245314],[120.564536,31.245924],[120.564758,31.247394],[120.56417,31.247688],[120.563604,31.248434],[120.565124,31.251352],[120.565007,31.251773],[120.562929,31.252871],[120.562348,31.25332],[120.562086,31.254031],[120.562039,31.254564],[120.561825,31.254883],[120.560982,31.255404],[120.5604,31.256385],[120.559257,31.256835],[120.558659,31.257966],[120.55793,31.25791],[120.557422,31.259363],[120.559889,31.259953],[120.559914,31.261208],[120.560113,31.261498],[120.561039,31.261668],[120.562454,31.261963],[120.562579,31.261998],[120.56273,31.26243],[120.562362,31.26308],[120.559549,31.262972],[120.559322,31.264883],[120.558081,31.264751],[120.557894,31.265832],[120.556962,31.271222],[120.556719,31.274],[120.55477,31.273573],[120.554648,31.273073],[120.549096,31.272815],[120.548969,31.273998],[120.546381,31.273919],[120.546514,31.272545],[120.545325,31.272546],[120.545273,31.271885],[120.542683,31.271754],[120.542589,31.271332],[120.542016,31.271288],[120.542126,31.269638],[120.539899,31.269431],[120.539744,31.270474],[120.53649,31.270223],[120.536181,31.272138],[120.5347,31.272053],[120.534315,31.2732],[120.532861,31.27315],[120.53272,31.274341],[120.530699,31.274281],[120.530672,31.274143],[120.529539,31.27416],[120.529283,31.273736],[120.528829,31.273796],[120.528726,31.274392],[120.527324,31.274501],[120.526754,31.274514],[120.526739,31.274801],[120.527015,31.277433],[120.526753,31.278032],[120.526562,31.278479],[120.525266,31.278504],[120.524929,31.285465],[120.524953,31.285584],[120.524809,31.288076],[120.521847,31.289251],[120.521153,31.290139],[120.520805,31.291606],[120.519834,31.292803],[120.519712,31.292872],[120.519687,31.292882],[120.519659,31.292902],[120.518922,31.293318],[120.518523,31.294231],[120.517828,31.29485],[120.516127,31.295043],[120.514435,31.294902],[120.512838,31.294479],[120.509122,31.294221],[120.505941,31.2931],[120.505921,31.29309],[120.5059,31.293081],[120.501805,31.290643],[120.500451,31.290024],[120.498333,31.289986],[120.495356,31.290257],[120.49296,31.290487],[120.491858,31.289971],[120.491224,31.288996],[120.490685,31.287438],[120.489792,31.286783],[120.488516,31.286806],[120.487621,31.287386],[120.487344,31.289349],[120.486997,31.289946],[120.486259,31.290967],[120.486345,31.292014],[120.4873,31.29264],[120.487665,31.295891],[120.487422,31.296852],[120.486501,31.297173],[120.479279,31.297134],[120.478073,31.297535],[120.477595,31.298576],[120.478194,31.300221],[120.479158,31.301866],[120.479357,31.302911],[120.479079,31.304475],[120.477629,31.307805],[120.477074,31.310503],[120.476571,31.311784],[120.475268,31.312498],[120.471292,31.31334],[120.469287,31.314062],[120.468887,31.314583],[120.468254,31.315516],[120.46775,31.315672],[120.467099,31.315719],[120.463201,31.315965],[120.45939,31.316074],[120.458131,31.316237],[120.45669,31.317435],[120.456169,31.318835],[120.454919,31.319917],[120.453112,31.320358],[120.451072,31.320357],[120.449067,31.319315],[120.446133,31.317349],[120.443884,31.315183],[120.442564,31.31438],[120.441123,31.313376],[120.440436,31.311892],[120.440281,31.310247],[120.440836,31.307799],[120.442165,31.305274],[120.442521,31.303308],[120.442044,31.301863],[120.44068,31.300859],[120.438796,31.300297],[120.436139,31.300739],[120.43093,31.301941],[120.428195,31.301901],[120.426068,31.30198],[120.424548,31.302621],[120.423784,31.303745],[120.424227,31.30531],[120.424869,31.306032],[120.425148,31.306794],[120.42467,31.307355],[120.422022,31.308158],[120.417081,31.310603],[120.415845,31.3105],[120.415489,31.3105],[120.416546,31.316576],[120.415976,31.316557],[120.415272,31.319188],[120.413467,31.319658],[120.413128,31.320177],[120.414159,31.321776],[120.413238,31.322365],[120.412653,31.322806],[120.412237,31.323247],[120.410403,31.321718],[120.408783,31.323188],[120.411078,31.324526],[120.410442,31.32601],[120.408804,31.325712],[120.408393,31.325706],[120.407895,31.32681],[120.403599,31.326664],[120.40217,31.326595],[120.399664,31.326606],[120.399064,31.326205],[120.398223,31.325323],[120.397302,31.325082],[120.396338,31.325483],[120.395775,31.326165],[120.394975,31.326566],[120.39112,31.326364],[120.386345,31.326684],[120.38065,31.327126],[120.378964,31.327807],[120.376638,31.328006],[120.374024,31.327765],[120.371698,31.326601],[120.369614,31.325399],[120.368164,31.325116],[120.367948,31.324858],[120.36787,31.324452],[120.369172,31.322534],[120.369502,31.321777],[120.369441,31.321197],[120.369111,31.320906],[120.3674,31.320672],[120.353284,31.320423],[120.350115,31.320312],[120.349603,31.319272],[120.349664,31.317861],[120.350575,31.316209],[120.35101,31.315168],[120.349664,31.313821],[120.343778,31.310452],[120.339984,31.307512],[120.336677,31.305737],[120.329958,31.301841],[120.313275,31.293738],[120.301669,31.291412],[120.290898,31.291008],[120.279103,31.291619],[120.266866,31.29373],[120.258543,31.297245],[120.251131,31.302452],[120.224852,31.324967],[120.201957,31.34453],[120.204977,31.347626],[120.248553,31.368082],[120.303553,31.395182],[120.312979,31.400018],[120.387465,31.401703],[120.400706,31.400451],[120.403632,31.398642],[120.405342,31.398643],[120.407218,31.398311],[120.409136,31.397096],[120.410361,31.396357],[120.4132,31.395572],[120.414225,31.394958],[120.414528,31.394076],[120.415119,31.392419],[120.415666,31.392107],[120.41623,31.392065],[120.417264,31.392484],[120.42269,31.395053],[120.424514,31.395832],[120.426589,31.395833],[120.428742,31.395054],[120.430852,31.393397],[120.43238,31.392259],[120.433943,31.391546],[120.434767,31.391474],[120.43633,31.391234],[120.438293,31.392111],[120.439361,31.392767],[120.441375,31.393724],[120.442295,31.394666],[120.442816,31.396389],[120.442938,31.397776],[120.443823,31.3987],[120.445117,31.398781],[120.447114,31.39851],[120.447964,31.398197],[120.448434,31.397564],[120.44879,31.396867],[120.449041,31.396399],[120.449788,31.396366],[120.450977,31.396742],[120.454111,31.398401],[120.455275,31.399045],[120.455726,31.399036],[120.456299,31.398714],[120.458521,31.396776],[120.45952,31.396524],[120.460214,31.396507],[120.460527,31.396678],[120.460779,31.397032],[120.460996,31.397807],[120.46104,31.399994],[120.461049,31.400852],[120.460735,31.402099],[120.460493,31.403378],[120.46051,31.403985],[120.460796,31.404176],[120.46189,31.404105],[120.464494,31.404055],[120.465319,31.404307],[120.466909,31.406342],[120.467637,31.406615],[120.469409,31.406625],[120.470685,31.406929],[120.471249,31.407191],[120.472022,31.407664],[120.471813,31.408207],[120.466344,31.413337],[120.473845,31.418886],[120.475802,31.417035],[120.475823,31.417016],[120.475889,31.416954],[120.475901,31.416941],[120.481858,31.411306],[120.482656,31.41091],[120.483655,31.410918],[120.485199,31.412546],[120.486623,31.413048],[120.492005,31.413173],[120.49592,31.412045],[120.500008,31.409126],[120.50328,31.405378],[120.504601,31.403696],[120.505712,31.403223],[120.506146,31.403167],[120.506874,31.403516],[120.507595,31.404059],[120.508142,31.404881],[120.509114,31.405382],[120.510199,31.405256],[120.511189,31.405118],[120.512317,31.40507],[120.514009,31.406263],[120.515476,31.406879],[120.517785,31.407302],[120.521127,31.408378],[120.52459,31.410796],[120.526004,31.412462],[120.528253,31.413811],[120.531247,31.415496],[120.536671,31.416264],[120.539362,31.416371],[120.540004,31.416662],[120.540682,31.417128],[120.542364,31.418574],[120.542599,31.420034],[120.543467,31.421262],[120.544534,31.421812],[120.546262,31.422364],[120.548743,31.42272],[120.549577,31.420905],[120.550758,31.418186],[120.552137,31.416453],[120.554055,31.415839],[120.558638,31.415301],[120.559289,31.41476],[120.559254,31.413182],[120.558178,31.409797],[120.556025,31.407528],[120.553907,31.406796],[120.553413,31.405427],[120.55297,31.404509],[120.551773,31.403506],[120.550766,31.402978],[120.547259,31.402309],[120.545359,31.401593],[120.545993,31.398788],[120.546687,31.397526],[120.548639,31.39576],[120.547885,31.394437],[120.546132,31.392408],[120.54509,31.392351],[120.544083,31.39278],[120.54345,31.392477],[120.543276,31.391722],[120.54378,31.391014],[120.545342,31.390157],[120.54686,31.38834],[120.547815,31.385515],[120.548214,31.383446],[120.549881,31.381254],[120.549325,31.381187],[120.547433,31.380832],[120.546166,31.380621],[120.545741,31.380339],[120.545497,31.379421],[120.544934,31.378822],[120.544118,31.378265],[120.543094,31.377807],[120.541801,31.377541],[120.541072,31.377419],[120.540698,31.377131],[120.540395,31.376657],[120.539752,31.37641],[120.538191,31.375791],[120.536584,31.374804],[120.53609,31.373897],[120.535621,31.372127],[120.535491,31.370378],[120.535474,31.369616],[120.535804,31.368565],[120.535943,31.367989],[120.535821,31.367474],[120.535517,31.367083],[120.535352,31.366444],[120.535473,31.36595],[120.535821,31.365395],[120.536177,31.364755],[120.536151,31.364323],[120.535882,31.364071],[120.524729,31.358855],[120.524182,31.358547],[120.524052,31.35807],[120.52432,31.357593],[120.529554,31.352729],[120.53009,31.352207],[120.530148,31.352178],[120.530334,31.351967],[120.556285,31.326647],[120.55823,31.324581],[120.558976,31.32366],[120.55941,31.322792],[120.560226,31.320847],[120.561302,31.318087],[120.561806,31.316439],[120.561892,31.315467],[120.561858,31.314356],[120.561736,31.312863],[120.561996,31.311769],[120.56243,31.31104],[120.563663,31.309807],[120.5646,31.3088],[120.565329,31.307667],[120.568696,31.300737],[120.571126,31.295893],[120.571604,31.29489],[120.575682,31.285508],[120.576403,31.283977],[120.577627,31.282348],[120.580577,31.278014],[120.582062,31.275463],[120.582417,31.273628],[120.583945,31.266745],[120.583632,31.264963],[120.583789,31.26391],[120.584476,31.261061],[120.584914,31.258375],[120.585261,31.253367],[120.590682,31.253061]]],[[[120.675529,31.372343],[120.676545,31.370751],[120.674991,31.368607],[120.677856,31.358582],[120.680123,31.35024],[120.682028,31.34306],[120.683875,31.33589],[120.649308,31.328842],[120.65247,31.312801],[120.652982,31.308158],[120.652841,31.30813],[120.652859,31.307991],[120.653004,31.307955],[120.654157,31.297502],[120.660031,31.297238],[120.663846,31.296745],[120.665005,31.295266],[120.669428,31.292409],[120.6711,31.292447],[120.671639,31.292616],[120.677116,31.292394],[120.677537,31.291444],[120.68691,31.28995],[120.689122,31.286254],[120.6946,31.285401],[120.700733,31.283162],[120.709352,31.282637],[120.713356,31.281788],[120.720419,31.281464],[120.719996,31.304356],[120.732544,31.304979],[120.75291,31.300547],[120.758166,31.299314],[120.765568,31.298262],[120.765588,31.30429],[120.776147,31.304258],[120.775991,31.301813],[120.775677,31.297332],[120.787179,31.297793],[120.790503,31.297787],[120.80368,31.295867],[120.798035,31.286086],[120.797055,31.284861],[120.79447,31.281631],[120.79678,31.279713],[120.800882,31.273453],[120.8007,31.269884],[120.797383,31.269728],[120.785597,31.270297],[120.779205,31.270472],[120.771239,31.268228],[120.76835,31.258723],[120.766357,31.248616],[120.765593,31.247574],[120.762638,31.243534],[120.758987,31.238541],[120.75555,31.236653],[120.750884,31.238066],[120.747797,31.239865],[120.745135,31.240243],[120.74136,31.24078],[120.736986,31.238323],[120.734265,31.237644],[120.732922,31.237835],[120.728631,31.238445],[120.724108,31.239768],[120.719649,31.243687],[120.716388,31.246239],[120.712642,31.250459],[120.712361,31.254508],[120.709492,31.254263],[120.706192,31.254228],[120.698283,31.259214],[120.696993,31.259856],[120.696881,31.261148],[120.694806,31.262499],[120.694469,31.265139],[120.693224,31.268542],[120.69217,31.269578],[120.689983,31.271716],[120.687123,31.272338],[120.682863,31.272009],[120.677593,31.282464],[120.676693,31.291995],[120.67366,31.292169],[120.672469,31.292237],[120.672276,31.291077],[120.6713,31.289114],[120.671468,31.28732],[120.67133,31.286509],[120.671007,31.2846],[120.670074,31.282099],[120.669923,31.281692],[120.66791,31.280756],[120.66657,31.278453],[120.666539,31.276954],[120.666713,31.276712],[120.667234,31.275985],[120.667565,31.274518],[120.66862,31.273341],[120.669056,31.272563],[120.668807,31.271893],[120.668147,31.270816],[120.667959,31.269627],[120.668279,31.267796],[120.668644,31.26591],[120.667505,31.262798],[120.667314,31.262078],[120.66183,31.262003],[120.661562,31.262517],[120.660752,31.264369],[120.659253,31.267978],[120.657622,31.272881],[120.656566,31.277088],[120.652738,31.276196],[120.651513,31.276857],[120.651426,31.277354],[120.650667,31.278084],[120.649874,31.27865],[120.649725,31.281577],[120.648712,31.281576],[120.64902,31.282662],[120.649064,31.282895],[120.649341,31.284129],[120.649417,31.284197],[120.649454,31.284211],[120.649473,31.284282],[120.649484,31.284365],[120.649483,31.284379],[120.649475,31.284402],[120.649494,31.284427],[120.649546,31.284701],[120.649539,31.284746],[120.649545,31.284799],[120.649527,31.284811],[120.649498,31.284876],[120.649584,31.285304],[120.649784,31.286314],[120.650044,31.287521],[120.650122,31.287884],[120.650209,31.288266],[120.650287,31.288685],[120.65046,31.289431],[120.650704,31.290538],[120.650808,31.291079],[120.650869,31.291436],[120.650911,31.291788],[120.65099,31.292658],[120.651008,31.293259],[120.650999,31.293825],[120.650964,31.294414],[120.650921,31.294989],[120.650851,31.295464],[120.650764,31.295933],[120.650609,31.296675],[120.650339,31.297689],[120.650087,31.298609],[120.64994,31.299136],[120.649514,31.300609],[120.648976,31.302525],[120.648811,31.303126],[120.648517,31.304152],[120.64823,31.305137],[120.647822,31.306625],[120.647484,31.307765],[120.647371,31.30814],[120.647162,31.308878],[120.646868,31.309924],[120.646798,31.31016],[120.646433,31.31148],[120.645808,31.313729],[120.645634,31.314338],[120.645574,31.314564],[120.64534,31.315348],[120.64514,31.316024],[120.645035,31.316408],[120.644958,31.316688],[120.644732,31.317456],[120.644593,31.317956],[120.644307,31.31898],[120.644072,31.319759],[120.643855,31.320479],[120.643673,31.321116],[120.643474,31.321847],[120.643283,31.322546],[120.643091,31.323197],[120.642944,31.323753],[120.642797,31.324274],[120.64244,31.325543],[120.642059,31.326916],[120.641702,31.328123],[120.641625,31.328359],[120.641434,31.328815],[120.641312,31.329048],[120.641191,31.329261],[120.641078,31.329462],[120.640896,31.32974],[120.640626,31.330096],[120.64008,31.330708],[120.639742,31.330994],[120.639603,31.331114],[120.638213,31.332361],[120.636666,31.337489],[120.640661,31.338055],[120.641345,31.338152],[120.645489,31.338274],[120.644087,31.345662],[120.643983,31.346212],[120.651362,31.352881],[120.660013,31.360205],[120.666834,31.365114],[120.675529,31.372343]]]]}},{type:"Feature",properties:{id:"320506",name:"吴中区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.648712,31.281576],[120.649725,31.281577],[120.649874,31.27865],[120.650667,31.278084],[120.651426,31.277354],[120.651513,31.276857],[120.652738,31.276196],[120.656566,31.277088],[120.657622,31.272881],[120.659253,31.267978],[120.660752,31.264369],[120.661562,31.262517],[120.66183,31.262003],[120.667314,31.262078],[120.667505,31.262798],[120.668644,31.26591],[120.668279,31.267796],[120.667959,31.269627],[120.668147,31.270816],[120.668807,31.271893],[120.669056,31.272563],[120.66862,31.273341],[120.667565,31.274518],[120.667234,31.275985],[120.666713,31.276712],[120.666539,31.276954],[120.66657,31.278453],[120.66791,31.280756],[120.669923,31.281692],[120.670074,31.282099],[120.671007,31.2846],[120.67133,31.286509],[120.671468,31.28732],[120.6713,31.289114],[120.672276,31.291077],[120.672469,31.292237],[120.67366,31.292169],[120.676693,31.291995],[120.677593,31.282464],[120.682863,31.272009],[120.687123,31.272338],[120.689983,31.271716],[120.69217,31.269578],[120.693224,31.268542],[120.694469,31.265139],[120.694806,31.262499],[120.696881,31.261148],[120.696993,31.259856],[120.698283,31.259214],[120.706192,31.254228],[120.709492,31.254263],[120.712361,31.254508],[120.712642,31.250459],[120.716388,31.246239],[120.719649,31.243687],[120.724108,31.239768],[120.728631,31.238445],[120.732922,31.237835],[120.734265,31.237644],[120.736986,31.238323],[120.74136,31.24078],[120.745135,31.240243],[120.747797,31.239865],[120.750884,31.238066],[120.75555,31.236653],[120.758987,31.238541],[120.762638,31.243534],[120.765593,31.247574],[120.766357,31.248616],[120.76835,31.258723],[120.771239,31.268228],[120.779205,31.270472],[120.785597,31.270297],[120.797383,31.269728],[120.8007,31.269884],[120.800882,31.273453],[120.79678,31.279713],[120.79447,31.281631],[120.797055,31.284861],[120.798035,31.286086],[120.80368,31.295867],[120.790503,31.297787],[120.787179,31.297793],[120.775677,31.297332],[120.775991,31.301813],[120.776147,31.304258],[120.765588,31.30429],[120.765568,31.298262],[120.758166,31.299314],[120.75291,31.300547],[120.732544,31.304979],[120.719996,31.304356],[120.720419,31.281464],[120.713356,31.281788],[120.709352,31.282637],[120.700733,31.283162],[120.6946,31.285401],[120.689122,31.286254],[120.68691,31.28995],[120.677537,31.291444],[120.677116,31.292394],[120.671639,31.292616],[120.6711,31.292447],[120.669428,31.292409],[120.665005,31.295266],[120.663846,31.296745],[120.660031,31.297238],[120.654157,31.297502],[120.653004,31.307955],[120.652859,31.307991],[120.652841,31.30813],[120.652982,31.308158],[120.65247,31.312801],[120.649308,31.328842],[120.683875,31.33589],[120.682028,31.34306],[120.680123,31.35024],[120.677856,31.358582],[120.674991,31.368607],[120.676545,31.370751],[120.675529,31.372343],[120.685587,31.380706],[120.690953,31.385165],[120.690713,31.393169],[120.696586,31.393071],[120.697512,31.390757],[120.697516,31.385776],[120.703558,31.390792],[120.714536,31.386388],[120.718675,31.386841],[120.724162,31.391635],[120.726416,31.397852],[120.733164,31.40607],[120.745015,31.414115],[120.758424,31.419913],[120.768633,31.429255],[120.779446,31.431591],[120.788109,31.432948],[120.81984,31.437908],[120.826067,31.436966],[120.821528,31.419666],[120.817647,31.391666],[120.81697,31.386775],[120.817475,31.382053],[120.818247,31.378029],[120.818594,31.377099],[120.815985,31.375501],[120.815147,31.371689],[120.82291,31.373737],[120.823625,31.372381],[120.825692,31.372679],[120.826304,31.371357],[120.826376,31.371093],[120.82882,31.371325],[120.828576,31.37191],[120.829346,31.372117],[120.82996,31.372291],[120.830705,31.372274],[120.836094,31.373038],[120.836984,31.370749],[120.83623,31.370553],[120.835921,31.370444],[120.833814,31.370167],[120.833897,31.369957],[120.835974,31.368092],[120.839185,31.368739],[120.840398,31.366073],[120.842191,31.366427],[120.845808,31.352721],[120.847572,31.346165],[120.849321,31.340655],[120.849556,31.339799],[120.850043,31.336372],[120.850077,31.335743],[120.850746,31.334345],[120.85361,31.328682],[120.855919,31.323333],[120.857455,31.319453],[120.858505,31.315434],[120.860603,31.311994],[120.862756,31.308545],[120.863608,31.307504],[120.863892,31.307034],[120.864852,31.304921],[120.865334,31.302967],[120.866823,31.301276],[120.866847,31.294711],[120.867001,31.294438],[120.867934,31.293788],[120.871757,31.293153],[120.87269,31.293171],[120.873472,31.292989],[120.873866,31.291326],[120.87425,31.290238],[120.874763,31.28911],[120.87497,31.288392],[120.875051,31.287973],[120.875063,31.286255],[120.877147,31.286313],[120.876852,31.284524],[120.879939,31.28479],[120.88004,31.283739],[120.88008,31.282887],[120.880165,31.282283],[120.878751,31.282394],[120.876464,31.282445],[120.876537,31.280447],[120.879677,31.28052],[120.879871,31.280399],[120.879951,31.280088],[120.878595,31.278023],[120.878094,31.277956],[120.876566,31.277966],[120.876795,31.275579],[120.876781,31.274756],[120.876625,31.273809],[120.87661,31.273623],[120.878775,31.273416],[120.87947,31.273507],[120.880358,31.273406],[120.880075,31.272571],[120.878427,31.272588],[120.878225,31.272503],[120.87748,31.271246],[120.877024,31.270601],[120.876914,31.270223],[120.876871,31.269823],[120.877174,31.267977],[120.877019,31.267207],[120.876997,31.266743],[120.877765,31.266051],[120.881305,31.257313],[120.882469,31.254969],[120.882703,31.25463],[120.883188,31.254375],[120.885905,31.254057],[120.886981,31.253056],[120.887545,31.252034],[120.88758,31.251048],[120.887259,31.250414],[120.886382,31.24992],[120.884369,31.249288],[120.883666,31.248513],[120.883492,31.247237],[120.884377,31.240555],[120.885081,31.240414],[120.886105,31.240554],[120.887234,31.241364],[120.888388,31.241576],[120.89054,31.239779],[120.891902,31.239012],[120.892874,31.238691],[120.893065,31.238453],[120.893569,31.23696],[120.894411,31.234918],[120.895495,31.233448],[120.896348,31.233196],[120.897035,31.232604],[120.897271,31.231655],[120.897358,31.230147],[120.897228,31.228724],[120.897049,31.228293],[120.896736,31.228294],[120.89572,31.227836],[120.895113,31.227197],[120.894714,31.226657],[120.894757,31.226276],[120.895114,31.225685],[120.895461,31.225079],[120.896806,31.223645],[120.897231,31.221863],[120.897136,31.221123],[120.896329,31.220525],[120.895929,31.22043],[120.894905,31.220132],[120.894462,31.219917],[120.894167,31.21969],[120.894115,31.219438],[120.894054,31.218865],[120.893837,31.217942],[120.89323,31.217192],[120.891876,31.216702],[120.887537,31.215891],[120.883519,31.214331],[120.879474,31.212827],[120.877712,31.212018],[120.875021,31.211469],[120.873165,31.211947],[120.870196,31.212936],[120.867705,31.213926],[120.865935,31.213995],[120.86242,31.213926],[120.859512,31.213863],[120.857221,31.214029],[120.856179,31.213646],[120.855007,31.2128],[120.854139,31.211709],[120.851518,31.209472],[120.850416,31.20886],[120.849131,31.208261],[120.847109,31.207768],[120.845633,31.20725],[120.844028,31.206486],[120.842638,31.204904],[120.841432,31.203676],[120.8398,31.201766],[120.83895,31.20051],[120.838508,31.199375],[120.838307,31.197157],[120.837865,31.194327],[120.837318,31.19303],[120.836398,31.192007],[120.835408,31.191393],[120.833838,31.191358],[120.832778,31.191699],[120.831241,31.192246],[120.829436,31.192502],[120.827222,31.192546],[120.825304,31.192333],[120.823212,31.192246],[120.821424,31.191608],[120.819072,31.190796],[120.817006,31.190042],[120.814167,31.188049],[120.813429,31.186658],[120.812769,31.184965],[120.812066,31.183001],[120.811623,31.179944],[120.811685,31.177172],[120.811641,31.175701],[120.804826,31.178358],[120.792551,31.183248],[120.790155,31.184317],[120.789442,31.184928],[120.789035,31.186101],[120.789495,31.188036],[120.789391,31.189462],[120.788627,31.190127],[120.78465,31.191653],[120.772626,31.195472],[120.770334,31.197153],[120.769466,31.199088],[120.769362,31.201584],[120.76977,31.203213],[120.770846,31.204642],[120.773234,31.206476],[120.774101,31.208158],[120.775682,31.211928],[120.775578,31.213201],[120.774258,31.214473],[120.771559,31.216461],[120.766158,31.21967],[120.762998,31.220895],[120.760957,31.221695],[120.758335,31.22342],[120.756043,31.224582],[120.753768,31.225013],[120.751181,31.225318],[120.750382,31.225197],[120.749766,31.224026],[120.748533,31.221259],[120.747309,31.217939],[120.744661,31.215171],[120.743125,31.211667],[120.739738,31.206377],[120.737037,31.203241],[120.734208,31.200165],[120.732115,31.197213],[120.729658,31.194014],[120.724492,31.189157],[120.719813,31.185404],[120.71871,31.185773],[120.717043,31.187311],[120.714525,31.191124],[120.713232,31.19432],[120.71305,31.198072],[120.71305,31.200223],[120.713023,31.201371],[120.713006,31.20202],[120.709777,31.202297],[120.707128,31.202751],[120.703604,31.203104],[120.701225,31.203356],[120.697041,31.203709],[120.693612,31.20396],[120.691163,31.203657],[120.689549,31.202977],[120.688038,31.20222],[120.687231,31.20164],[120.686015,31.200883],[120.684956,31.200377],[120.683646,31.199874],[120.681024,31.19899],[120.679565,31.198788],[120.677396,31.198639],[120.676962,31.19835],[120.675669,31.196607],[120.674548,31.195548],[120.673142,31.194563],[120.673072,31.192781],[120.673203,31.190874],[120.672708,31.190014],[120.671727,31.189276],[120.670373,31.189337],[120.669444,31.190136],[120.668646,31.192658],[120.667543,31.195196],[120.66664,31.19641],[120.666145,31.196993],[120.664713,31.197096],[120.663342,31.197116],[120.661988,31.197035],[120.661059,31.197217],[120.660373,31.197599],[120.660139,31.198246],[120.660156,31.200646],[120.660356,31.20202],[120.660434,31.202786],[120.660313,31.203632],[120.659714,31.205872],[120.659271,31.20789],[120.658862,31.208244],[120.658169,31.209196],[120.657031,31.211126],[120.656415,31.214973],[120.656363,31.218249],[120.656181,31.221384],[120.655122,31.222398],[120.653135,31.222582],[120.651754,31.222446],[120.650973,31.221753],[120.649957,31.2212],[120.647371,31.221336],[120.646911,31.221753],[120.646546,31.222906],[120.645895,31.223644],[120.644472,31.223874],[120.639828,31.223188],[120.639133,31.223093],[120.638153,31.223747],[120.637944,31.224745],[120.637598,31.226061],[120.62744,31.225604],[120.627469,31.225266],[120.628041,31.222774],[120.629152,31.217087],[120.629561,31.215963],[120.630142,31.214529],[120.630316,31.213775],[120.630351,31.213493],[120.630298,31.213118],[120.630098,31.212979],[120.629873,31.212903],[120.628276,31.212417],[120.625942,31.211967],[120.62188,31.21043],[120.620682,31.209337],[120.62023,31.208487],[120.619892,31.207536],[120.619215,31.205738],[120.618521,31.203517],[120.618382,31.201561],[120.618486,31.19932],[120.618738,31.196867],[120.620022,31.186946],[120.619996,31.184884],[120.620179,31.182857],[120.619935,31.180337],[120.61957,31.179107],[120.618789,31.178132],[120.617132,31.176662],[120.61504,31.175048],[120.612298,31.172808],[120.610215,31.170639],[120.608732,31.168623],[120.606778,31.165975],[120.60525,31.163942],[120.604313,31.162295],[120.602109,31.162152],[120.600078,31.162852],[120.597136,31.163062],[120.595391,31.163062],[120.594202,31.162714],[120.592805,31.161176],[120.591434,31.159754],[120.589811,31.159242],[120.585914,31.154615],[120.564903,31.118572],[120.557153,31.105846],[120.555948,31.105242],[120.554515,31.104084],[120.553864,31.102458],[120.553447,31.100187],[120.5512,31.096904],[120.536602,31.08806],[120.49553,31.064214],[120.487188,31.059779],[120.482222,31.056054],[120.480451,31.053571],[120.460718,31.029393],[120.457471,31.022329],[120.45339,31.016522],[120.442772,31.005741],[120.43811,31.000597],[120.432727,30.99337],[120.428386,30.986621],[120.424288,30.981026],[120.422473,30.97915],[120.418574,30.975626],[120.413843,30.973456],[120.408008,30.971958],[120.400601,30.969957],[120.395062,30.968002],[120.389818,30.964906],[120.381856,30.963357],[120.37083,30.957607],[120.368216,30.954366],[120.366457,30.950791],[120.365514,30.95021],[120.365292,30.950073],[120.363877,30.949824],[120.360809,30.949386],[120.359872,30.949166],[120.358786,30.948579],[120.35787,30.947861],[120.357407,30.947701],[120.356506,30.947618],[120.356046,30.947508],[120.354975,30.946839],[120.354631,30.946634],[120.354107,30.946479],[120.352989,30.946277],[120.349466,30.945184],[120.347726,30.944811],[120.346526,30.944625],[120.343392,30.943657],[120.342096,30.943043],[120.339583,30.942224],[120.339202,30.942133],[120.338906,30.942084],[120.338725,30.942053],[120.336294,30.942033],[120.331609,30.940818],[120.326384,30.939872],[120.317668,30.937322],[120.311473,30.936017],[120.303518,30.934418],[120.301864,30.93422],[120.300187,30.934082],[120.299019,30.934095],[120.295305,30.933811],[120.291559,30.932867],[120.289324,30.933151],[120.28539,30.932899],[120.28384,30.932428],[120.282068,30.932213],[120.280543,30.932081],[120.277993,30.93205],[120.276609,30.931578],[120.275067,30.931484],[120.272832,30.931232],[120.270126,30.930383],[120.266852,30.930856],[120.261627,30.930448],[120.251721,30.929197],[120.250139,30.928698],[120.249871,30.928672],[120.248926,30.928792],[120.248158,30.928734],[120.247423,30.928642],[120.246229,30.928434],[120.244879,30.928462],[120.244416,30.928518],[120.244151,30.92855],[120.24391,30.928579],[120.24257,30.928701],[120.2396,30.928754],[120.23678,30.928702],[120.232043,30.928337],[120.230947,30.927983],[120.23086,30.927954],[120.230678,30.928024],[120.229866,30.928337],[120.228421,30.928477],[120.225077,30.928666],[120.221614,30.928764],[120.219123,30.928887],[120.217218,30.929055],[120.217072,30.929103],[120.216204,30.929399],[120.214866,30.929556],[120.2136,30.929924],[120.207734,30.931196],[120.206608,30.931095],[120.206132,30.931136],[120.205961,30.931151],[120.205853,30.931191],[120.204917,30.931537],[120.203223,30.931793],[120.201507,30.931927],[120.200041,30.931893],[120.198002,30.931516],[120.195338,30.930501],[120.194179,30.930471],[120.192395,30.931397],[120.191918,30.931899],[120.190838,30.932752],[120.188348,30.933484],[120.183941,30.934408],[120.173846,30.935984],[120.171278,30.936179],[120.162657,30.937116],[120.157126,30.937812],[120.144879,30.939539],[120.144782,30.939553],[120.144576,30.939675],[120.142441,30.940939],[120.141805,30.941123],[120.14111,30.941781],[120.141038,30.942989],[120.14111,30.943292],[120.140842,30.943409],[120.138131,30.944068],[120.137863,30.944495],[120.13706,30.944992],[120.135562,30.945381],[120.13417,30.945361],[120.133136,30.945164],[120.130338,30.943937],[120.127705,30.945113],[120.127803,30.945703],[120.1274,30.946106],[120.125134,30.947009],[120.124896,30.947128],[120.124445,30.947406],[120.123509,30.948108],[120.121986,30.949067],[120.121517,30.949358],[120.116027,30.952802],[120.11414,30.954036],[120.112465,30.955206],[120.110266,30.956665],[120.108902,30.957133],[120.108009,30.957493],[120.106976,30.957798],[120.106174,30.957922],[120.104213,30.959297],[120.103976,30.959892],[120.10375,30.960437],[120.103459,30.960673],[120.102231,30.961713],[120.102115,30.961844],[120.102056,30.961965],[120.102056,30.962102],[120.102597,30.962629],[120.10265,30.962837],[120.102573,30.962998],[120.102436,30.963073],[120.102043,30.963134],[120.101885,30.963246],[120.101011,30.964171],[120.100905,30.964271],[120.099495,30.965453],[120.099429,30.965574],[120.099431,30.965714],[120.099509,30.965882],[120.100128,30.966383],[120.100324,30.966544],[120.100354,30.966686],[120.100296,30.966839],[120.100107,30.96704],[120.099873,30.96714],[120.099455,30.967224],[120.099192,30.967233],[120.099131,30.967227],[120.098904,30.967111],[120.098177,30.966499],[120.097515,30.96599],[120.097383,30.965929],[120.097289,30.965912],[120.097183,30.96593],[120.096772,30.966173],[120.094261,30.968345],[120.08953,30.975226],[120.082091,30.981674],[120.076364,30.985932],[120.069951,30.9899],[120.068294,30.990867],[120.068012,30.991041],[120.06563,30.992964],[120.064298,30.994027],[120.06194,30.995878],[120.059688,30.997632],[120.058152,30.998765],[120.056459,30.999992],[120.056394,31.00022],[120.056144,31.000522],[120.055262,31.001313],[120.053783,31.002944],[120.052041,31.004664],[120.050893,31.005545],[120.047584,31.007757],[120.040851,31.010216],[120.033399,31.012269],[120.03253,31.012509],[120.027698,31.01384],[120.012224,31.019905],[120.012111,31.019945],[120.011972,31.019946],[120.011109,31.020462],[120.010889,31.020676],[120.006216,31.023571],[120.000055,31.02697],[119.999932,31.027051],[119.999568,31.027322],[119.996977,31.029269],[119.996215,31.030544],[119.994691,31.033008],[119.992956,31.036432],[119.992869,31.036755],[119.993689,31.038331],[119.992479,31.040915],[119.991689,31.043394],[119.990833,31.045314],[119.989073,31.047924],[119.987722,31.050457],[119.986549,31.053731],[119.985324,31.057813],[119.985198,31.058147],[119.985047,31.05855],[119.984737,31.059377],[119.983797,31.061387],[119.981528,31.063964],[119.978075,31.067108],[119.973901,31.069944],[119.971298,31.071571],[119.970824,31.071867],[119.969777,31.072522],[119.967407,31.074222],[119.965088,31.076491],[119.960558,31.083322],[119.958025,31.087681],[119.956772,31.089616],[119.954187,31.092651],[119.949364,31.097785],[119.949183,31.098012],[119.949081,31.09814],[119.948378,31.099017],[119.942716,31.107161],[119.942348,31.107444],[119.941907,31.107592],[119.941609,31.108473],[119.942049,31.109255],[119.942256,31.109677],[119.942311,31.110416],[119.942389,31.111187],[119.942336,31.112185],[119.942205,31.113221],[119.941949,31.114253],[119.936824,31.127613],[119.936733,31.12785],[119.935572,31.130877],[119.935224,31.13307],[119.935143,31.13508],[119.935244,31.136844],[119.935736,31.140289],[119.935839,31.141827],[119.935634,31.14359],[119.935183,31.14519],[119.934383,31.146604],[119.933338,31.147753],[119.932128,31.148799],[119.923303,31.155199],[119.922257,31.156183],[119.919726,31.159136],[119.916445,31.163463],[119.915871,31.164591],[119.915625,31.16574],[119.915649,31.166664],[119.916406,31.168996],[119.916348,31.171147],[119.916633,31.171585],[119.916557,31.172271],[119.916329,31.172633],[119.915864,31.1727],[119.915389,31.173165],[120.105345,31.265847],[120.136185,31.287595],[120.16899,31.310728],[120.201957,31.34453],[120.224852,31.324967],[120.251131,31.302452],[120.258543,31.297245],[120.266866,31.29373],[120.279103,31.291619],[120.290898,31.291008],[120.301669,31.291412],[120.313275,31.293738],[120.329958,31.301841],[120.336677,31.305737],[120.339984,31.307512],[120.343778,31.310452],[120.349664,31.313821],[120.35101,31.315168],[120.350575,31.316209],[120.349664,31.317861],[120.349603,31.319272],[120.350115,31.320312],[120.353284,31.320423],[120.3674,31.320672],[120.369111,31.320906],[120.369441,31.321197],[120.369502,31.321777],[120.369172,31.322534],[120.36787,31.324452],[120.367948,31.324858],[120.368164,31.325116],[120.369614,31.325399],[120.371698,31.326601],[120.374024,31.327765],[120.376638,31.328006],[120.378964,31.327807],[120.38065,31.327126],[120.386345,31.326684],[120.39112,31.326364],[120.394975,31.326566],[120.395775,31.326165],[120.396338,31.325483],[120.397302,31.325082],[120.398223,31.325323],[120.399064,31.326205],[120.399664,31.326606],[120.40217,31.326595],[120.403599,31.326664],[120.407895,31.32681],[120.408393,31.325706],[120.408804,31.325712],[120.410442,31.32601],[120.411078,31.324526],[120.408783,31.323188],[120.410403,31.321718],[120.412237,31.323247],[120.412653,31.322806],[120.413238,31.322365],[120.414159,31.321776],[120.413128,31.320177],[120.413467,31.319658],[120.415272,31.319188],[120.415976,31.316557],[120.416546,31.316576],[120.415489,31.3105],[120.415845,31.3105],[120.417081,31.310603],[120.422022,31.308158],[120.42467,31.307355],[120.425148,31.306794],[120.424869,31.306032],[120.424227,31.30531],[120.423784,31.303745],[120.424548,31.302621],[120.426068,31.30198],[120.428195,31.301901],[120.43093,31.301941],[120.436139,31.300739],[120.438796,31.300297],[120.44068,31.300859],[120.442044,31.301863],[120.442521,31.303308],[120.442165,31.305274],[120.440836,31.307799],[120.440281,31.310247],[120.440436,31.311892],[120.441123,31.313376],[120.442564,31.31438],[120.443884,31.315183],[120.446133,31.317349],[120.449067,31.319315],[120.451072,31.320357],[120.453112,31.320358],[120.454919,31.319917],[120.456169,31.318835],[120.45669,31.317435],[120.458131,31.316237],[120.45939,31.316074],[120.463201,31.315965],[120.467099,31.315719],[120.46775,31.315672],[120.468254,31.315516],[120.468887,31.314583],[120.469287,31.314062],[120.471292,31.31334],[120.475268,31.312498],[120.476571,31.311784],[120.477074,31.310503],[120.477629,31.307805],[120.479079,31.304475],[120.479357,31.302911],[120.479158,31.301866],[120.478194,31.300221],[120.477595,31.298576],[120.478073,31.297535],[120.479279,31.297134],[120.486501,31.297173],[120.487422,31.296852],[120.487665,31.295891],[120.4873,31.29264],[120.486345,31.292014],[120.486259,31.290967],[120.486997,31.289946],[120.487344,31.289349],[120.487621,31.287386],[120.488516,31.286806],[120.489792,31.286783],[120.490685,31.287438],[120.491224,31.288996],[120.491858,31.289971],[120.49296,31.290487],[120.495356,31.290257],[120.498333,31.289986],[120.500451,31.290024],[120.501805,31.290643],[120.5059,31.293081],[120.505921,31.29309],[120.505941,31.2931],[120.509122,31.294221],[120.512838,31.294479],[120.514435,31.294902],[120.516127,31.295043],[120.517828,31.29485],[120.518523,31.294231],[120.518922,31.293318],[120.519659,31.292902],[120.519687,31.292882],[120.519712,31.292872],[120.519834,31.292803],[120.520805,31.291606],[120.521153,31.290139],[120.521847,31.289251],[120.524809,31.288076],[120.524953,31.285584],[120.524929,31.285465],[120.525266,31.278504],[120.526562,31.278479],[120.526753,31.278032],[120.527015,31.277433],[120.526739,31.274801],[120.526754,31.274514],[120.527324,31.274501],[120.528726,31.274392],[120.528829,31.273796],[120.529283,31.273736],[120.529539,31.27416],[120.530672,31.274143],[120.530699,31.274281],[120.53272,31.274341],[120.532861,31.27315],[120.534315,31.2732],[120.5347,31.272053],[120.536181,31.272138],[120.53649,31.270223],[120.539744,31.270474],[120.539899,31.269431],[120.542126,31.269638],[120.542016,31.271288],[120.542589,31.271332],[120.542683,31.271754],[120.545273,31.271885],[120.545325,31.272546],[120.546514,31.272545],[120.546381,31.273919],[120.548969,31.273998],[120.549096,31.272815],[120.554648,31.273073],[120.55477,31.273573],[120.556719,31.274],[120.556962,31.271222],[120.557894,31.265832],[120.558081,31.264751],[120.559322,31.264883],[120.559549,31.262972],[120.562362,31.26308],[120.56273,31.26243],[120.562579,31.261998],[120.562454,31.261963],[120.561039,31.261668],[120.560113,31.261498],[120.559914,31.261208],[120.559889,31.259953],[120.557422,31.259363],[120.55793,31.25791],[120.558659,31.257966],[120.559257,31.256835],[120.5604,31.256385],[120.560982,31.255404],[120.561825,31.254883],[120.562039,31.254564],[120.562086,31.254031],[120.562348,31.25332],[120.562929,31.252871],[120.565007,31.251773],[120.565124,31.251352],[120.563604,31.248434],[120.56417,31.247688],[120.564758,31.247394],[120.564536,31.245924],[120.564311,31.245314],[120.563484,31.238793],[120.563758,31.237994],[120.56677,31.23703],[120.56873,31.235321],[120.57209,31.230715],[120.571884,31.229744],[120.572054,31.227314],[120.572573,31.223154],[120.574087,31.222504],[120.575756,31.222128],[120.576256,31.223468],[120.576996,31.226329],[120.577656,31.227869],[120.577896,31.228929],[120.577345,31.231852],[120.576285,31.234357],[120.577553,31.234765],[120.583637,31.236186],[120.583835,31.235852],[120.584082,31.23534],[120.588436,31.235529],[120.588222,31.240272],[120.587942,31.242838],[120.587348,31.249291],[120.588474,31.249507],[120.591286,31.249507],[120.590682,31.253061],[120.592069,31.252983],[120.592432,31.253077],[120.594542,31.251858],[120.597429,31.25215],[120.597859,31.253067],[120.598123,31.254945],[120.598308,31.256834],[120.59899,31.258004],[120.600482,31.25842],[120.602061,31.258701],[120.604268,31.25896],[120.604389,31.260749],[120.604238,31.261208],[120.604094,31.26163],[120.605858,31.261743],[120.605658,31.263224],[120.60479,31.264599],[120.604365,31.265772],[120.604218,31.266208],[120.604079,31.267081],[120.6042,31.267809],[120.604765,31.268298],[120.605161,31.268562],[120.605184,31.268574],[120.605202,31.268589],[120.605494,31.268784],[120.607108,31.269055],[120.609564,31.269911],[120.61064,31.270662],[120.610814,31.272052],[120.610779,31.273581],[120.61025,31.274933],[120.609209,31.275636],[120.608566,31.275855],[120.608149,31.276066],[120.607967,31.276388],[120.607932,31.276793],[120.607958,31.277186],[120.608236,31.277603],[120.608575,31.277957],[120.610519,31.27829],[120.614364,31.278626],[120.617314,31.279085],[120.621888,31.279428],[120.623207,31.279404],[120.628528,31.280058],[120.628979,31.278771],[120.6291,31.278231],[120.629422,31.278111],[120.630489,31.278268],[120.630776,31.278187],[120.630967,31.277894],[120.630871,31.277604],[120.630351,31.276988],[120.630203,31.276673],[120.630247,31.276143],[120.630602,31.275668],[120.631322,31.275416],[120.632893,31.275304],[120.636026,31.27547],[120.636747,31.275494],[120.637337,31.275409],[120.638378,31.275602],[120.640549,31.276045],[120.641087,31.275467],[120.641009,31.274679],[120.640531,31.273738],[120.641087,31.27318],[120.641798,31.272776],[120.64264,31.272622],[120.643803,31.272765],[120.645722,31.272969],[120.645895,31.273177],[120.644984,31.276825],[120.644541,31.278255],[120.644567,31.279061],[120.645044,31.279484],[120.646659,31.279677],[120.647257,31.279812],[120.648358,31.280218],[120.648712,31.281576]]]]}},{type:"Feature",properties:{id:"320585",name:"太仓市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[121.101936,31.368631],[121.098572,31.379198],[121.099131,31.379536],[121.098603,31.381546],[121.098117,31.381677],[121.09472,31.392057],[121.094603,31.392143],[121.094232,31.393366],[121.092468,31.392833],[121.092609,31.391501],[121.092161,31.391341],[121.09225,31.390351],[121.090226,31.389855],[121.090252,31.388108],[121.089946,31.388087],[121.089303,31.388098],[121.08873,31.388131],[121.088365,31.388339],[121.088226,31.388844],[121.087965,31.389426],[121.087731,31.389738],[121.087115,31.390097],[121.086785,31.390292],[121.086594,31.390598],[121.085708,31.391782],[121.084892,31.392879],[121.084189,31.393638],[121.08365,31.393954],[121.083191,31.39423],[121.082878,31.3947],[121.082496,31.395566],[121.082157,31.395885],[121.081654,31.396137],[121.081081,31.396279],[121.081002,31.396466],[121.081124,31.396642],[121.08194,31.396708],[121.082739,31.396913],[121.083277,31.397311],[121.083711,31.397685],[121.083903,31.398111],[121.08392,31.398639],[121.083824,31.399231],[121.083555,31.399954],[121.083564,31.400514],[121.083703,31.401053],[121.083781,31.40182],[121.084076,31.403049],[121.084449,31.403829],[121.085413,31.404738],[121.085925,31.405298],[121.086177,31.406044],[121.086499,31.407162],[121.087445,31.408698],[121.088713,31.410497],[121.08952,31.411982],[121.09005,31.412706],[121.090223,31.413517],[121.090223,31.414678],[121.090319,31.41514],[121.090527,31.415694],[121.085239,31.417058],[121.084945,31.418108],[121.094114,31.424108],[121.093827,31.425837],[121.093574,31.426159],[121.092646,31.426738],[121.091726,31.427467],[121.091196,31.428666],[121.090215,31.430876],[121.089355,31.43216],[121.088348,31.433328],[121.087219,31.434211],[121.085162,31.435634],[121.084058,31.436551],[121.08339,31.437086],[121.082504,31.437799],[121.081888,31.437905],[121.080925,31.437719],[121.080064,31.437423],[121.079396,31.436915],[121.078571,31.436084],[121.07766,31.43485],[121.076696,31.433245],[121.075272,31.43153],[121.073857,31.43003],[121.071121,31.428155],[121.06777,31.426145],[121.066112,31.425261],[121.062543,31.425729],[121.060424,31.43419],[121.054946,31.433637],[121.048703,31.429926],[121.046629,31.428215],[121.045101,31.429743],[121.042531,31.42983],[121.039153,31.433131],[121.037278,31.43633],[121.033438,31.435748],[121.033138,31.435731],[121.026322,31.434745],[121.022997,31.435209],[121.022658,31.437529],[121.018725,31.438243],[121.018074,31.440298],[121.017119,31.442736],[121.016504,31.443375],[121.016478,31.444664],[121.015974,31.44737],[121.014871,31.449544],[121.018005,31.451018],[121.022128,31.454951],[121.018656,31.455545],[121.015488,31.456532],[121.012423,31.458288],[121.0106,31.459162],[121.00955,31.459145],[121.008916,31.460822],[121.008934,31.462823],[121.006321,31.469426],[121.008856,31.470369],[121.012336,31.469649],[121.011997,31.470562],[121.012214,31.471476],[121.013022,31.477079],[121.011511,31.479227],[121.01146,31.481508],[121.015679,31.484431],[121.015626,31.486252],[121.0133,31.489192],[121.010696,31.492],[121.010261,31.493706],[121.011928,31.497331],[121.011104,31.498229],[121.008968,31.498537],[121.007935,31.496701],[121.007301,31.495321],[121.006242,31.494961],[121.003031,31.495479],[120.999576,31.49463],[120.9977,31.496608],[120.995731,31.497606],[120.994532,31.499288],[120.994073,31.49965],[120.993743,31.499704],[120.993047,31.499538],[120.992189,31.49914],[120.988847,31.497848],[120.988551,31.49774],[120.988309,31.497765],[120.988126,31.497837],[120.98791,31.498183],[120.987718,31.498757],[120.987536,31.499303],[120.987171,31.499759],[120.985236,31.500732],[120.98482,31.500959],[120.984394,31.500998],[120.983855,31.500944],[120.983492,31.500694],[120.981972,31.499545],[120.979404,31.497694],[120.975922,31.496051],[120.973631,31.496191],[120.971392,31.495789],[120.971921,31.496191],[120.97423,31.497631],[120.974499,31.497723],[120.974786,31.497772],[120.97515,31.497854],[120.975419,31.497943],[120.976347,31.498467],[120.976616,31.498638],[120.97817,31.500005],[120.978517,31.500298],[120.979056,31.500495],[120.980124,31.500838],[120.980679,31.501151],[120.981816,31.502036],[120.982666,31.502511],[120.983274,31.502889],[120.985982,31.505777],[120.987527,31.507383],[120.988317,31.50804],[120.989862,31.509284],[120.990253,31.509648],[120.990592,31.510112],[120.990878,31.510483],[120.991164,31.510764],[120.99415,31.512632],[120.994879,31.513123],[120.99646,31.51434],[120.997692,31.515373],[120.998265,31.515995],[120.998751,31.516623],[120.999966,31.518392],[121.000008,31.518457],[121.001207,31.520228],[121.001651,31.520983],[121.001902,31.521555],[121.002049,31.521948],[121.002189,31.522434],[121.001346,31.52528],[120.998222,31.530648],[120.994966,31.5346],[120.993751,31.544393],[120.993638,31.544707],[120.99336,31.544857],[120.992883,31.544819],[120.992102,31.544581],[120.991199,31.544303],[120.988812,31.544013],[120.986355,31.543691],[120.984828,31.543546],[120.983257,31.543244],[120.982831,31.545365],[120.982276,31.547042],[120.980705,31.546902],[120.977606,31.545174],[120.975636,31.545478],[120.97383,31.547397],[120.974968,31.547459],[120.980166,31.549208],[120.979585,31.550363],[120.978109,31.556372],[120.99369,31.566608],[120.996798,31.568089],[120.99718,31.568424],[120.997267,31.568828],[120.99698,31.569197],[120.996425,31.570001],[120.995808,31.570941],[120.995132,31.571814],[120.994498,31.572519],[120.993743,31.573122],[120.992232,31.574481],[121.004957,31.582617],[120.997744,31.592807],[121.003629,31.595119],[121.01422,31.600837],[121.019698,31.605181],[121.024481,31.607192],[121.031209,31.610264],[121.034926,31.612395],[121.041724,31.619343],[121.04319,31.621556],[121.046472,31.623159],[121.050371,31.627296],[121.052237,31.631859],[121.056205,31.630533],[121.058453,31.635074],[121.054304,31.637264],[121.050197,31.638148],[121.04807,31.639845],[121.044276,31.640951],[121.043329,31.643253],[121.041602,31.646328],[121.038528,31.648732],[121.035499,31.649461],[121.031973,31.651993],[121.028301,31.654254],[121.021451,31.657249],[121.01244,31.661128],[121.014367,31.663322],[121.020913,31.668069],[121.025558,31.671801],[121.027824,31.670393],[121.030801,31.671145],[121.034228,31.675465],[121.034272,31.675468],[121.03426,31.675505],[121.035029,31.676474],[121.037304,31.67917],[121.038867,31.683216],[121.041263,31.685922],[121.042608,31.686108],[121.047011,31.683855],[121.048,31.684024],[121.051768,31.689161],[121.050545,31.691024],[121.048044,31.693087],[121.045544,31.695454],[121.04945,31.703252],[121.050856,31.708565],[121.054199,31.714425],[121.055675,31.716773],[121.056223,31.719369],[121.058827,31.724115],[121.06237,31.725459],[121.066146,31.729236],[121.081775,31.746134],[121.0919,31.757965],[121.096552,31.764275],[121.11384,31.760841],[121.137438,31.7571],[121.140711,31.755719],[121.175313,31.722628],[121.284611,31.618182],[121.340979,31.573488],[121.367554,31.554968],[121.338896,31.513867],[121.331248,31.510121],[121.324946,31.506092],[121.324087,31.505962],[121.323965,31.506415],[121.322646,31.506087],[121.322654,31.505414],[121.321101,31.505104],[121.320866,31.506127],[121.319954,31.506022],[121.319929,31.504714],[121.318965,31.504558],[121.318575,31.504143],[121.318757,31.502739],[121.319096,31.502349],[121.319148,31.5015],[121.317958,31.501216],[121.317949,31.501702],[121.317177,31.501681],[121.317099,31.501216],[121.315979,31.501163],[121.315953,31.501474],[121.315354,31.501578],[121.31525,31.502748],[121.315458,31.5035],[121.315459,31.504151],[121.315485,31.504853],[121.316135,31.505061],[121.317334,31.505258],[121.317177,31.506101],[121.316083,31.506048],[121.316066,31.506537],[121.315902,31.506801],[121.315485,31.507062],[121.315614,31.507736],[121.312108,31.507633],[121.312003,31.506827],[121.312081,31.505857],[121.312142,31.505352],[121.3113,31.503761],[121.310806,31.503138],[121.308888,31.502618],[121.308731,31.503397],[121.309305,31.503683],[121.309305,31.504074],[121.308472,31.504074],[121.308341,31.504488],[121.307898,31.504696],[121.307403,31.504775],[121.307169,31.505892],[121.307507,31.505971],[121.307221,31.506776],[121.30644,31.50688],[121.305824,31.50779],[121.303949,31.507141],[121.30421,31.50662],[121.30361,31.506542],[121.303063,31.507193],[121.302187,31.507063],[121.301797,31.507271],[121.301015,31.507219],[121.300598,31.506907],[121.300781,31.506438],[121.300728,31.505997],[121.301354,31.505322],[121.300694,31.504695],[121.300129,31.504698],[121.300026,31.504385],[121.299609,31.503901],[121.299054,31.503831],[121.298741,31.504213],[121.298325,31.504109],[121.298081,31.50449],[121.297595,31.504283],[121.297526,31.503624],[121.296953,31.503184],[121.297934,31.501444],[121.297622,31.501082],[121.297256,31.501496],[121.296432,31.502528],[121.295426,31.501651],[121.296449,31.500859],[121.297552,31.5008],[121.297986,31.500335],[121.296918,31.499815],[121.296476,31.500423],[121.295755,31.500266],[121.296354,31.498641],[121.295989,31.496425],[121.293047,31.496],[121.293047,31.495536],[121.294054,31.495613],[121.294097,31.493411],[121.292857,31.493255],[121.291502,31.492869],[121.290886,31.492368],[121.28961,31.491982],[121.288994,31.49171],[121.288491,31.49225],[121.287753,31.492136],[121.287796,31.492522],[121.287136,31.493218],[121.287023,31.493605],[121.28613,31.493606],[121.285939,31.492986],[121.285783,31.492715],[121.285244,31.492097],[121.285054,31.491789],[121.285245,31.491478],[121.285201,31.491246],[121.284897,31.490938],[121.284428,31.491014],[121.283891,31.491014],[121.283387,31.49086],[121.282849,31.4914],[121.28192,31.491634],[121.281382,31.491865],[121.280991,31.492291],[121.280879,31.492601],[121.279403,31.492602],[121.279212,31.491712],[121.278674,31.491944],[121.278058,31.491943],[121.277589,31.49179],[121.277207,31.491827],[121.276895,31.492678],[121.276157,31.492638],[121.275229,31.49233],[121.275853,31.49059],[121.275351,31.490282],[121.274187,31.490165],[121.273493,31.489779],[121.273259,31.489199],[121.272911,31.488698],[121.271982,31.488581],[121.271758,31.487305],[121.269787,31.487037],[121.268432,31.486611],[121.267582,31.486262],[121.267001,31.486919],[121.266342,31.487037],[121.265994,31.487191],[121.265994,31.488737],[121.265378,31.488814],[121.264762,31.489085],[121.264414,31.489394],[121.26379,31.489007],[121.263442,31.48866],[121.26352,31.488157],[121.26287,31.488157],[121.262939,31.486844],[121.262983,31.485296],[121.2607,31.485065],[121.260005,31.48437],[121.258921,31.483983],[121.258424,31.483716],[121.258346,31.483522],[121.258231,31.483393],[121.257568,31.483124],[121.257401,31.48295],[121.257279,31.482719],[121.257215,31.482339],[121.257158,31.481658],[121.2571,31.481021],[121.257009,31.48079],[121.256887,31.480713],[121.256607,31.480631],[121.256603,31.480622],[121.255831,31.480311],[121.254981,31.479885],[121.253201,31.479732],[121.252741,31.480042],[121.252741,31.480698],[121.253245,31.480698],[121.253358,31.481162],[121.252741,31.481316],[121.252316,31.481627],[121.251812,31.481666],[121.251608,31.481514],[121.251657,31.48093],[121.251925,31.480893],[121.251926,31.479849],[121.251926,31.4795],[121.251466,31.479811],[121.251197,31.480004],[121.250997,31.47954],[121.25065,31.479385],[121.250346,31.479579],[121.250303,31.480119],[121.250693,31.481008],[121.250806,31.482593],[121.251196,31.485571],[121.249979,31.485687],[121.249843,31.484991],[121.249183,31.485028],[121.249226,31.483791],[121.248454,31.483754],[121.24841,31.483135],[121.24907,31.483057],[121.248914,31.481745],[121.246779,31.481543],[121.246735,31.480614],[121.245764,31.480614],[121.24552,31.479927],[121.245242,31.479564],[121.243871,31.479],[121.24322,31.478837],[121.242622,31.479],[121.2425,31.479484],[121.242292,31.480211],[121.242049,31.480695],[121.241528,31.481019],[121.241363,31.481826],[121.24217,31.481865],[121.242257,31.482714],[121.243831,31.482722],[121.243726,31.483817],[121.241815,31.483924],[121.241728,31.483319],[121.240886,31.483117],[121.239957,31.483118],[121.239958,31.484572],[121.239628,31.485136],[121.239394,31.485822],[121.239628,31.486469],[121.239394,31.486993],[121.239028,31.487397],[121.239349,31.489255],[121.238864,31.490223],[121.238256,31.491071],[121.237857,31.491596],[121.237597,31.491979],[121.236955,31.492239],[121.236694,31.492849],[121.237041,31.493921],[121.237363,31.494562],[121.237449,31.495228],[121.237076,31.495574],[121.236433,31.495633],[121.235627,31.495169],[121.234351,31.494185],[121.233621,31.493834],[121.23278,31.493894],[121.232025,31.494504],[121.231478,31.494937],[121.230784,31.495055],[121.230289,31.494619],[121.230402,31.493894],[121.23081,31.491022],[121.230958,31.490036],[121.230549,31.48966],[121.229942,31.489688],[121.2293,31.490036],[121.228545,31.489833],[121.227937,31.48902],[121.226895,31.487658],[121.226314,31.486874],[121.225733,31.486063],[121.225186,31.485453],[121.224431,31.484873],[121.224223,31.484061],[121.22489,31.483656],[121.22562,31.48348],[121.226392,31.48304],[121.22627,31.48203],[121.225949,31.47993],[121.225906,31.479365],[121.225342,31.479285],[121.224292,31.479648],[121.223242,31.479971],[121.222314,31.479972],[121.221749,31.479609],[121.221385,31.478841],[121.220898,31.477954],[121.220542,31.477832],[121.21872,31.477874],[121.217106,31.478076],[121.216264,31.477993],[121.214606,31.477148],[121.213313,31.477551],[121.211985,31.477682],[121.210128,31.47774],[121.209173,31.477855],[121.209173,31.478233],[121.209642,31.478552],[121.20974,31.478939],[121.210561,31.479451],[121.209902,31.481047],[121.209329,31.480826],[121.208331,31.479946],[121.205345,31.479045],[121.204009,31.478205],[121.202994,31.477596],[121.201891,31.476906],[121.201084,31.475737],[121.198939,31.474241],[121.198541,31.473798],[121.198419,31.473232],[121.198862,31.472264],[121.198783,31.471617],[121.198419,31.471255],[121.197126,31.471174],[121.195833,31.471012],[121.194782,31.470285],[121.19341,31.469962],[121.191475,31.469802],[121.190546,31.469721],[121.189817,31.469398],[121.18849,31.467966],[121.18678,31.466603],[121.184896,31.465077],[121.184696,31.464635],[121.184939,31.464151],[121.181546,31.462697],[121.181666,31.461525],[121.181666,31.460679],[121.181225,31.459993],[121.180938,31.459346],[121.180938,31.458781],[121.181102,31.458055],[121.181667,31.457165],[121.181667,31.456762],[121.181545,31.456237],[121.179731,31.455429],[121.176294,31.453331],[121.17533,31.453087],[121.174236,31.452767],[121.173108,31.45212],[121.170443,31.451151],[121.169228,31.450909],[121.167778,31.450909],[121.166927,31.451313],[121.165842,31.451717],[121.165279,31.451877],[121.164836,31.451756],[121.164228,31.451031],[121.163785,31.450384],[121.163182,31.450164],[121.161498,31.452016],[121.16093,31.451717],[121.160912,31.451717],[121.159948,31.451232],[121.15849,31.450707],[121.157561,31.450708],[121.156354,31.451514],[121.142751,31.445741],[121.143072,31.445135],[121.143315,31.444611],[121.143194,31.444287],[121.142664,31.443682],[121.142299,31.443076],[121.142465,31.442672],[121.143272,31.44126],[121.141978,31.440815],[121.142829,31.439523],[121.142283,31.439074],[121.14269,31.438638],[121.143237,31.438],[121.144114,31.437421],[121.145242,31.436696],[121.147908,31.435421],[121.150408,31.434578],[121.153915,31.434086],[121.158151,31.434056],[121.158533,31.433548],[121.158577,31.432824],[121.158552,31.432209],[121.157951,31.431886],[121.157969,31.431411],[121.158611,31.431369],[121.158577,31.430844],[121.159054,31.430803],[121.159054,31.432622],[121.159098,31.432904],[121.159419,31.433144],[121.159783,31.432904],[121.159783,31.432218],[121.159749,31.429069],[121.158776,31.429229],[121.158368,31.429271],[121.157926,31.429835],[121.15744,31.429793],[121.157405,31.429149],[121.156476,31.428906],[121.156354,31.428583],[121.156797,31.427615],[121.155226,31.42709],[121.154818,31.427817],[121.153489,31.427413],[121.15316,31.427855],[121.151831,31.427452],[121.151146,31.427451],[121.150703,31.427574],[121.149166,31.427009],[121.149166,31.426],[121.148967,31.425715],[121.148159,31.425716],[121.148037,31.425273],[121.146866,31.425152],[121.146302,31.424908],[121.146059,31.424504],[121.14658,31.423616],[121.144522,31.423456],[121.143914,31.423334],[121.143679,31.42289],[121.141657,31.422889],[121.141614,31.421518],[121.143593,31.42172],[121.144079,31.420952],[121.144686,31.420952],[121.144244,31.418289],[121.144322,31.417681],[121.144687,31.417441],[121.145086,31.417399],[121.145894,31.417562],[121.146337,31.41732],[121.146544,31.416874],[121.147065,31.416269],[121.147716,31.41623],[121.148237,31.41639],[121.148645,31.416352],[121.148845,31.415906],[121.148924,31.415503],[121.149331,31.415422],[121.149974,31.415704],[121.150381,31.415826],[121.150946,31.415663],[121.151224,31.414898],[121.15131,31.414372],[121.150903,31.413968],[121.150173,31.413767],[121.14993,31.413405],[121.15046,31.412797],[121.150903,31.412233],[121.151267,31.412233],[121.152239,31.412999],[121.152561,31.413203],[121.153246,31.412919],[121.153889,31.412313],[121.154297,31.411951],[121.154175,31.411627],[121.153403,31.411063],[121.153403,31.410699],[121.153689,31.410253],[121.153933,31.409972],[121.153325,31.409731],[121.154818,31.40763],[121.154254,31.407508],[121.152761,31.409487],[121.15066,31.408236],[121.14993,31.408074],[121.149288,31.408116],[121.148525,31.407671],[121.14921,31.40662],[121.148767,31.406419],[121.149322,31.405518],[121.148411,31.405038],[121.14737,31.404843],[121.145911,31.404037],[121.146501,31.402827],[121.146258,31.402542],[121.145416,31.402705],[121.14493,31.402584],[121.144488,31.402139],[121.144522,31.401534],[121.145008,31.40121],[121.145893,31.40113],[121.147717,31.400889],[121.147994,31.400605],[121.14816,31.399999],[121.147994,31.399797],[121.14703,31.399676],[121.145772,31.399999],[121.145052,31.40004],[121.144157,31.399759],[121.143072,31.399152],[121.143194,31.398262],[121.143758,31.397578],[121.144322,31.396931],[121.144886,31.396325],[121.143436,31.395883],[121.141978,31.395196],[121.139964,31.394428],[121.139235,31.394146],[121.139113,31.393742],[121.139556,31.393258],[121.140043,31.392772],[121.140329,31.392733],[121.140329,31.393095],[121.140441,31.393418],[121.141092,31.393175],[121.141779,31.392451],[121.142508,31.391724],[121.142065,31.391078],[121.142065,31.390754],[121.142629,31.39019],[121.143472,31.389543],[121.144122,31.389301],[121.144401,31.388736],[121.143836,31.388454],[121.143854,31.387234],[121.13683,31.385363],[121.136448,31.386352],[121.134755,31.38599],[121.135076,31.385263],[121.134026,31.3849],[121.13334,31.385384],[121.132919,31.384601],[121.133391,31.384188],[121.133606,31.383534],[121.133812,31.382959],[121.132698,31.382761],[121.128374,31.381103],[121.127158,31.38062],[121.126637,31.381466],[121.12385,31.380457],[121.119653,31.378523],[121.118667,31.380271],[121.115681,31.378849],[121.113588,31.377632],[121.111418,31.376943],[121.109125,31.376238],[121.110601,31.372931],[121.112103,31.373109],[121.112304,31.372382],[121.114456,31.372352],[121.115706,31.371047],[121.115593,31.370467],[121.114691,31.370321],[121.114057,31.370118],[121.113762,31.369567],[121.112607,31.36945],[121.109733,31.369189],[121.109065,31.368985],[121.108543,31.368666],[121.108335,31.368115],[121.108596,31.367507],[121.108222,31.366925],[121.105817,31.366432],[121.104654,31.36649],[121.104507,31.366896],[121.104263,31.368303],[121.10362,31.36818],[121.103577,31.368504],[121.103419,31.368805],[121.101936,31.368631]]]]}},{type:"Feature",properties:{id:"320583",name:"昆山市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.971392,31.495789],[120.973631,31.496191],[120.975922,31.496051],[120.979404,31.497694],[120.981972,31.499545],[120.983492,31.500694],[120.983855,31.500944],[120.984394,31.500998],[120.98482,31.500959],[120.985236,31.500732],[120.987171,31.499759],[120.987536,31.499303],[120.987718,31.498757],[120.98791,31.498183],[120.988126,31.497837],[120.988309,31.497765],[120.988551,31.49774],[120.988847,31.497848],[120.992189,31.49914],[120.993047,31.499538],[120.993743,31.499704],[120.994073,31.49965],[120.994532,31.499288],[120.995731,31.497606],[120.9977,31.496608],[120.999576,31.49463],[121.003031,31.495479],[121.006242,31.494961],[121.007301,31.495321],[121.007935,31.496701],[121.008968,31.498537],[121.011104,31.498229],[121.011928,31.497331],[121.010261,31.493706],[121.010696,31.492],[121.0133,31.489192],[121.015626,31.486252],[121.015679,31.484431],[121.01146,31.481508],[121.011511,31.479227],[121.013022,31.477079],[121.012214,31.471476],[121.011997,31.470562],[121.012336,31.469649],[121.008856,31.470369],[121.006321,31.469426],[121.008934,31.462823],[121.008916,31.460822],[121.00955,31.459145],[121.0106,31.459162],[121.012423,31.458288],[121.015488,31.456532],[121.018656,31.455545],[121.022128,31.454951],[121.018005,31.451018],[121.014871,31.449544],[121.015974,31.44737],[121.016478,31.444664],[121.016504,31.443375],[121.017119,31.442736],[121.018074,31.440298],[121.018725,31.438243],[121.022658,31.437529],[121.022997,31.435209],[121.026322,31.434745],[121.033138,31.435731],[121.033438,31.435748],[121.037278,31.43633],[121.039153,31.433131],[121.042531,31.42983],[121.045101,31.429743],[121.046629,31.428215],[121.048703,31.429926],[121.054946,31.433637],[121.060424,31.43419],[121.062543,31.425729],[121.066112,31.425261],[121.06777,31.426145],[121.071121,31.428155],[121.073857,31.43003],[121.075272,31.43153],[121.076696,31.433245],[121.07766,31.43485],[121.078571,31.436084],[121.079396,31.436915],[121.080064,31.437423],[121.080925,31.437719],[121.081888,31.437905],[121.082504,31.437799],[121.08339,31.437086],[121.084058,31.436551],[121.085162,31.435634],[121.087219,31.434211],[121.088348,31.433328],[121.089355,31.43216],[121.090215,31.430876],[121.091196,31.428666],[121.091726,31.427467],[121.092646,31.426738],[121.093574,31.426159],[121.093827,31.425837],[121.094114,31.424108],[121.084945,31.418108],[121.085239,31.417058],[121.090527,31.415694],[121.090319,31.41514],[121.090223,31.414678],[121.090223,31.413517],[121.09005,31.412706],[121.08952,31.411982],[121.088713,31.410497],[121.087445,31.408698],[121.086499,31.407162],[121.086177,31.406044],[121.085925,31.405298],[121.085413,31.404738],[121.084449,31.403829],[121.084076,31.403049],[121.083781,31.40182],[121.083703,31.401053],[121.083564,31.400514],[121.083555,31.399954],[121.083824,31.399231],[121.08392,31.398639],[121.083903,31.398111],[121.083711,31.397685],[121.083277,31.397311],[121.082739,31.396913],[121.08194,31.396708],[121.081124,31.396642],[121.081002,31.396466],[121.081081,31.396279],[121.081654,31.396137],[121.082157,31.395885],[121.082496,31.395566],[121.082878,31.3947],[121.083191,31.39423],[121.08365,31.393954],[121.084189,31.393638],[121.084892,31.392879],[121.085708,31.391782],[121.086594,31.390598],[121.086785,31.390292],[121.087115,31.390097],[121.087731,31.389738],[121.087965,31.389426],[121.088226,31.388844],[121.088365,31.388339],[121.08873,31.388131],[121.089303,31.388098],[121.089946,31.388087],[121.090252,31.388108],[121.090226,31.389855],[121.09225,31.390351],[121.092161,31.391341],[121.092609,31.391501],[121.092468,31.392833],[121.094232,31.393366],[121.094603,31.392143],[121.09472,31.392057],[121.098117,31.381677],[121.098603,31.381546],[121.099131,31.379536],[121.098572,31.379198],[121.101936,31.368631],[121.101989,31.367981],[121.101914,31.367635],[121.102127,31.366323],[121.102613,31.365112],[121.103012,31.364064],[121.103335,31.363216],[121.103621,31.362245],[121.1033,31.361118],[121.103256,31.360228],[121.103334,31.359663],[121.103456,31.359097],[121.102649,31.358977],[121.102891,31.357927],[121.102648,31.35704],[121.102735,31.356553],[121.103334,31.356352],[121.103785,31.355828],[121.103577,31.355182],[121.103334,31.354698],[121.103699,31.352437],[121.104506,31.352558],[121.105878,31.353123],[121.10653,31.353325],[121.106894,31.353164],[121.107215,31.352316],[121.107902,31.352275],[121.109594,31.35264],[121.11133,31.353287],[121.112624,31.353489],[121.113353,31.353204],[121.113675,31.352074],[121.114682,31.350863],[121.11549,31.349815],[121.115576,31.34937],[121.115004,31.34929],[121.112703,31.348925],[121.113354,31.345251],[121.115776,31.345171],[121.116784,31.34505],[121.117912,31.344687],[121.119327,31.344567],[121.12175,31.344729],[121.123165,31.345173],[121.124944,31.345698],[121.12583,31.346021],[121.125917,31.345651],[121.125656,31.344954],[121.125743,31.344403],[121.126064,31.34391],[121.126203,31.343331],[121.125917,31.342808],[121.125248,31.342054],[121.125309,31.341472],[121.12557,31.340776],[121.125943,31.340429],[121.125769,31.339791],[121.125657,31.339212],[121.12583,31.338573],[121.125856,31.337963],[121.12531,31.337441],[121.125222,31.33692],[121.125509,31.336514],[121.126325,31.336165],[121.126238,31.335468],[121.126463,31.334569],[121.126541,31.333927],[121.12734,31.333932],[121.127974,31.333786],[121.128235,31.333439],[121.128123,31.332482],[121.128878,31.331987],[121.128939,31.331437],[121.128643,31.33051],[121.127254,31.330451],[121.12722,31.329841],[121.127627,31.329349],[121.128669,31.329145],[121.128964,31.328305],[121.128704,31.327404],[121.128183,31.327289],[121.127479,31.327462],[121.126932,31.327261],[121.126845,31.326302],[121.126846,31.325635],[121.127037,31.325068],[121.126472,31.324761],[121.126602,31.324218],[121.126212,31.323782],[121.12583,31.323614],[121.124684,31.323608],[121.12432,31.322977],[121.12438,31.322585],[121.124641,31.322128],[121.124006,31.321364],[121.123313,31.321392],[121.122644,31.321132],[121.122357,31.320407],[121.12247,31.319419],[121.12247,31.318753],[121.123252,31.318521],[121.123633,31.317883],[121.123598,31.317069],[121.123573,31.316461],[121.124033,31.316084],[121.123859,31.315329],[121.123486,31.314749],[121.123364,31.313705],[121.123894,31.313387],[121.124502,31.313126],[121.124267,31.312024],[121.124788,31.31156],[121.124849,31.310745],[121.125171,31.310138],[121.124528,31.309354],[121.124588,31.308252],[121.125109,31.306918],[121.125309,31.305757],[121.125023,31.305119],[121.125343,31.304421],[121.126707,31.304249],[121.127549,31.304016],[121.129173,31.303901],[121.135059,31.304831],[121.134737,31.306572],[121.134365,31.30747],[121.134886,31.308109],[121.13709,31.309729],[121.139191,31.311546],[121.142323,31.307782],[121.143569,31.305184],[121.142563,31.304683],[121.141863,31.304588],[121.142489,31.303165],[121.144543,31.303205],[121.146215,31.300879],[121.144357,31.300735],[121.144253,31.300342],[121.143211,31.300056],[121.143428,31.299304],[121.14474,31.299554],[121.144952,31.298712],[121.145694,31.298801],[121.14595,31.29807],[121.146893,31.29829],[121.146941,31.298232],[121.148151,31.295944],[121.146536,31.295765],[121.146718,31.293799],[121.147464,31.29387],[121.148003,31.293585],[121.148324,31.293263],[121.148576,31.291833],[121.150124,31.291923],[121.150163,31.29051],[121.150264,31.290417],[121.150503,31.290429],[121.151779,31.290453],[121.151835,31.289282],[121.153785,31.289143],[121.153967,31.289519],[121.154749,31.289544],[121.15638,31.286621],[121.156736,31.28587],[121.156146,31.285517],[121.155876,31.284955],[121.154454,31.284503],[121.154852,31.283457],[121.153758,31.283056],[121.152682,31.282975],[121.150981,31.282636],[121.15092,31.281476],[121.15092,31.280315],[121.149817,31.279502],[121.149653,31.278613],[121.149175,31.278518],[121.145824,31.277308],[121.143723,31.277243],[121.140633,31.277154],[121.138414,31.277326],[121.138298,31.279519],[121.136815,31.279628],[121.136571,31.278593],[121.136402,31.278528],[121.135112,31.278785],[121.133786,31.279158],[121.133009,31.279445],[121.133441,31.280598],[121.131266,31.281487],[121.130576,31.280208],[121.129091,31.280732],[121.129589,31.282102],[121.129291,31.282267],[121.127079,31.283205],[121.12645,31.281947],[121.122604,31.283042],[121.122536,31.283507],[121.121785,31.283991],[121.119718,31.284937],[121.120407,31.28624],[121.120345,31.28626],[121.116453,31.287602],[121.116487,31.287977],[121.115754,31.287977],[121.115576,31.287213],[121.1149,31.28738],[121.114674,31.286945],[121.113101,31.287513],[121.111738,31.287478],[121.110376,31.287093],[121.109325,31.286253],[121.107857,31.284751],[121.106495,31.283562],[121.104914,31.281604],[121.103412,31.279822],[121.102049,31.278528],[121.099201,31.277148],[121.099227,31.276572],[121.10119,31.276861],[121.100825,31.275473],[121.098558,31.275928],[121.096926,31.276962],[121.094183,31.278071],[121.093436,31.279199],[121.09374,31.280661],[121.093237,31.281491],[121.09275,31.282387],[121.091951,31.285054],[121.090779,31.288819],[121.089641,31.290132],[121.08847,31.290025],[121.088964,31.291693],[121.087575,31.291019],[121.087045,31.29205],[121.085518,31.293718],[121.084172,31.293896],[121.082287,31.293539],[121.082713,31.292474],[121.082357,31.291977],[121.080082,31.28942],[121.077807,31.282744],[121.076748,31.279084],[121.079935,31.277532],[121.078363,31.274682],[121.077538,31.273365],[121.07581,31.271986],[121.074569,31.271713],[121.072034,31.271554],[121.068135,31.270982],[121.065843,31.27037],[121.064106,31.26994],[121.0621,31.269792],[121.058662,31.269756],[121.057881,31.269303],[121.05769,31.268566],[121.058349,31.268515],[121.057794,31.26442],[121.057368,31.2598],[121.058072,31.259555],[121.057577,31.258975],[121.057507,31.257889],[121.056657,31.257558],[121.056726,31.256998],[121.057333,31.257015],[121.057317,31.254828],[121.056935,31.251642],[121.056236,31.25008],[121.056405,31.248352],[121.055111,31.248597],[121.054538,31.249105],[121.053574,31.248912],[121.053108,31.248623],[121.053733,31.248019],[121.0542,31.248265],[121.055233,31.247775],[121.05578,31.24728],[121.056251,31.247217],[121.056507,31.247226],[121.056601,31.247225],[121.056677,31.247215],[121.056758,31.247192],[121.056921,31.247129],[121.057074,31.247109],[121.05769,31.248233],[121.058576,31.248403],[121.059764,31.247994],[121.059565,31.24687],[121.059591,31.245443],[121.060477,31.245],[121.060138,31.244012],[121.058983,31.24408],[121.058983,31.242856],[121.05953,31.241324],[121.059322,31.240303],[121.057482,31.239962],[121.056665,31.239689],[121.057386,31.238022],[121.057421,31.237105],[121.058029,31.23656],[121.059149,31.237003],[121.059088,31.236016],[121.059973,31.236015],[121.059999,31.234824],[121.062795,31.23479],[121.062795,31.233802],[121.062587,31.232783],[121.061198,31.233054],[121.060069,31.232646],[121.060442,31.230501],[121.060138,31.22914],[121.058228,31.228834],[121.058311,31.227878],[121.05836,31.227784],[121.058207,31.227132],[121.058054,31.226536],[121.058202,31.226032],[121.058613,31.225769],[121.058603,31.225591],[121.058501,31.225193],[121.058717,31.224951],[121.058839,31.224819],[121.058801,31.22443],[121.0588,31.223777],[121.058857,31.223272],[121.059039,31.222523],[121.059185,31.221678],[121.059306,31.221158],[121.05956,31.220144],[121.059754,31.219269],[121.059879,31.218575],[121.059911,31.218151],[121.060173,31.217413],[121.06031,31.217066],[121.060402,31.216625],[121.060393,31.216189],[121.060565,31.215851],[121.060678,31.215268],[121.060816,31.214335],[121.061032,31.213745],[121.061194,31.212786],[121.061311,31.211997],[121.061454,31.211255],[121.061607,31.210383],[121.061985,31.209004],[121.062465,31.206668],[121.062692,31.205453],[121.06286,31.204636],[121.063224,31.202873],[121.063521,31.202355],[121.064024,31.201128],[121.064239,31.200483],[121.064627,31.198394],[121.063699,31.198575],[121.062228,31.19902],[121.062022,31.199065],[121.062213,31.196843],[121.065009,31.197184],[121.065522,31.195483],[121.067597,31.195041],[121.06797,31.193406],[121.067258,31.193305],[121.066025,31.19317],[121.066303,31.192285],[121.065756,31.19174],[121.065756,31.190615],[121.066876,31.19031],[121.066919,31.189578],[121.067146,31.188697],[121.067093,31.187836],[121.066268,31.187492],[121.064167,31.186776],[121.064888,31.184773],[121.070393,31.186259],[121.070992,31.184724],[121.066633,31.183346],[121.066815,31.181355],[121.069637,31.178103],[121.070836,31.175323],[121.067936,31.174581],[121.06817,31.173507],[121.067528,31.173138],[121.067328,31.172397],[121.067796,31.17149],[121.070874,31.172198],[121.072702,31.167898],[121.072772,31.16642],[121.068535,31.165143],[121.069108,31.163598],[121.072199,31.164505],[121.072537,31.163767],[121.072467,31.162592],[121.07146,31.162424],[121.072433,31.160341],[121.069246,31.158964],[121.069039,31.158359],[121.068439,31.158157],[121.06797,31.157486],[121.068439,31.15574],[121.067458,31.155403],[121.066824,31.157317],[121.065981,31.157015],[121.06632,31.155402],[121.063898,31.154864],[121.063195,31.154193],[121.064366,31.151396],[121.06454,31.1506],[121.063863,31.150163],[121.061145,31.1505],[121.060842,31.151305],[121.061519,31.151876],[121.061484,31.15285],[121.059565,31.152747],[121.059496,31.154059],[121.058125,31.154026],[121.057985,31.155032],[121.05584,31.15493],[121.052819,31.154695],[121.0511,31.153721],[121.051274,31.152579],[121.049285,31.152781],[121.047341,31.152411],[121.045726,31.152645],[121.045562,31.153922],[121.044589,31.15654],[121.04089,31.15597],[121.040725,31.153517],[121.038911,31.152577],[121.036957,31.151772],[121.037026,31.148883],[121.037869,31.148346],[121.039006,31.148413],[121.040247,31.147474],[121.038302,31.143039],[121.037295,31.140856],[121.036253,31.139545],[121.034136,31.138875],[121.033597,31.139813],[121.032729,31.139445],[121.031757,31.139342],[121.031618,31.142299],[121.029673,31.143138],[121.0291,31.143575],[121.028597,31.14418],[121.026678,31.143641],[121.0243,31.14324],[121.023996,31.143945],[121.024325,31.144449],[121.023891,31.145859],[121.022251,31.145757],[121.022719,31.14465],[121.022147,31.144616],[121.021773,31.144077],[121.021209,31.142768],[121.018448,31.142935],[121.017815,31.142467],[121.018353,31.140316],[121.014855,31.136588],[121.014046,31.136116],[121.012606,31.136017],[121.002866,31.135478],[120.986912,31.135279],[120.981374,31.133969],[120.979594,31.133834],[120.970185,31.135784],[120.948427,31.140455],[120.926166,31.143649],[120.91747,31.140258],[120.912766,31.138445],[120.908469,31.137673],[120.904235,31.136936],[120.902256,31.136533],[120.901249,31.136466],[120.89507,31.138313],[120.893864,31.138181],[120.877139,31.136973],[120.876203,31.136403],[120.874588,31.13563],[120.873529,31.134647],[120.872271,31.133738],[120.87063,31.131712],[120.869233,31.130279],[120.868183,31.129405],[120.867385,31.127938],[120.866854,31.126051],[120.866854,31.123778],[120.866429,31.121961],[120.864547,31.119511],[120.861795,31.116992],[120.860849,31.116387],[120.859842,31.116086],[120.859061,31.115506],[120.858071,31.114745],[120.857194,31.113137],[120.85604,31.111566],[120.854677,31.110936],[120.853732,31.110761],[120.853897,31.109893],[120.852725,31.107217],[120.852672,31.106134],[120.851579,31.10732],[120.845025,31.113073],[120.837578,31.118691],[120.833672,31.120619],[120.818576,31.124953],[120.815582,31.126778],[120.811172,31.133778],[120.808933,31.144741],[120.808941,31.149934],[120.810469,31.152819],[120.819011,31.15329],[120.81836,31.161809],[120.818082,31.161758],[120.817692,31.162183],[120.818864,31.167479],[120.817926,31.170581],[120.812683,31.175108],[120.811641,31.175701],[120.811685,31.177172],[120.811623,31.179944],[120.812066,31.183001],[120.812769,31.184965],[120.813429,31.186658],[120.814167,31.188049],[120.817006,31.190042],[120.819072,31.190796],[120.821424,31.191608],[120.823212,31.192246],[120.825304,31.192333],[120.827222,31.192546],[120.829436,31.192502],[120.831241,31.192246],[120.832778,31.191699],[120.833838,31.191358],[120.835408,31.191393],[120.836398,31.192007],[120.837318,31.19303],[120.837865,31.194327],[120.838307,31.197157],[120.838508,31.199375],[120.83895,31.20051],[120.8398,31.201766],[120.841432,31.203676],[120.842638,31.204904],[120.844028,31.206486],[120.845633,31.20725],[120.847109,31.207768],[120.849131,31.208261],[120.850416,31.20886],[120.851518,31.209472],[120.854139,31.211709],[120.855007,31.2128],[120.856179,31.213646],[120.857221,31.214029],[120.859512,31.213863],[120.86242,31.213926],[120.865935,31.213995],[120.867705,31.213926],[120.870196,31.212936],[120.873165,31.211947],[120.875021,31.211469],[120.877712,31.212018],[120.879474,31.212827],[120.883519,31.214331],[120.887537,31.215891],[120.891876,31.216702],[120.89323,31.217192],[120.893837,31.217942],[120.894054,31.218865],[120.894115,31.219438],[120.894167,31.21969],[120.894462,31.219917],[120.894905,31.220132],[120.895929,31.22043],[120.896329,31.220525],[120.897136,31.221123],[120.897231,31.221863],[120.896806,31.223645],[120.895461,31.225079],[120.895114,31.225685],[120.894757,31.226276],[120.894714,31.226657],[120.895113,31.227197],[120.89572,31.227836],[120.896736,31.228294],[120.897049,31.228293],[120.897228,31.228724],[120.897358,31.230147],[120.897271,31.231655],[120.897035,31.232604],[120.896348,31.233196],[120.895495,31.233448],[120.894411,31.234918],[120.893569,31.23696],[120.893065,31.238453],[120.892874,31.238691],[120.891902,31.239012],[120.89054,31.239779],[120.888388,31.241576],[120.887234,31.241364],[120.886105,31.240554],[120.885081,31.240414],[120.884377,31.240555],[120.883492,31.247237],[120.883666,31.248513],[120.884369,31.249288],[120.886382,31.24992],[120.887259,31.250414],[120.88758,31.251048],[120.887545,31.252034],[120.886981,31.253056],[120.885905,31.254057],[120.883188,31.254375],[120.882703,31.25463],[120.882469,31.254969],[120.881305,31.257313],[120.877765,31.266051],[120.876997,31.266743],[120.877019,31.267207],[120.877174,31.267977],[120.876871,31.269823],[120.876914,31.270223],[120.877024,31.270601],[120.87748,31.271246],[120.878225,31.272503],[120.878427,31.272588],[120.880075,31.272571],[120.880358,31.273406],[120.87947,31.273507],[120.878775,31.273416],[120.87661,31.273623],[120.876625,31.273809],[120.876781,31.274756],[120.876795,31.275579],[120.876566,31.277966],[120.878094,31.277956],[120.878595,31.278023],[120.879951,31.280088],[120.879871,31.280399],[120.879677,31.28052],[120.876537,31.280447],[120.876464,31.282445],[120.878751,31.282394],[120.880165,31.282283],[120.88008,31.282887],[120.88004,31.283739],[120.879939,31.28479],[120.876852,31.284524],[120.877147,31.286313],[120.875063,31.286255],[120.875051,31.287973],[120.87497,31.288392],[120.874763,31.28911],[120.87425,31.290238],[120.873866,31.291326],[120.873472,31.292989],[120.87269,31.293171],[120.871757,31.293153],[120.867934,31.293788],[120.867001,31.294438],[120.866847,31.294711],[120.866823,31.301276],[120.865334,31.302967],[120.864852,31.304921],[120.863892,31.307034],[120.863608,31.307504],[120.862756,31.308545],[120.860603,31.311994],[120.858505,31.315434],[120.857455,31.319453],[120.855919,31.323333],[120.85361,31.328682],[120.850746,31.334345],[120.850077,31.335743],[120.850043,31.336372],[120.849556,31.339799],[120.849321,31.340655],[120.847572,31.346165],[120.845808,31.352721],[120.842191,31.366427],[120.840398,31.366073],[120.839185,31.368739],[120.835974,31.368092],[120.833897,31.369957],[120.833814,31.370167],[120.835921,31.370444],[120.83623,31.370553],[120.836984,31.370749],[120.836094,31.373038],[120.830705,31.372274],[120.82996,31.372291],[120.829346,31.372117],[120.828576,31.37191],[120.82882,31.371325],[120.826376,31.371093],[120.826304,31.371357],[120.825692,31.372679],[120.823625,31.372381],[120.82291,31.373737],[120.815147,31.371689],[120.815985,31.375501],[120.818594,31.377099],[120.818247,31.378029],[120.817475,31.382053],[120.81697,31.386775],[120.817647,31.391666],[120.821528,31.419666],[120.826067,31.436966],[120.82481,31.441084],[120.823212,31.446316],[120.821112,31.466705],[120.819827,31.470846],[120.81967,31.473302],[120.819983,31.477851],[120.81796,31.485624],[120.814949,31.490038],[120.814098,31.49105],[120.812692,31.491375],[120.812344,31.492275],[120.810365,31.493229],[120.809966,31.494806],[120.810217,31.49651],[120.810842,31.497812],[120.81119,31.49894],[120.811433,31.499713],[120.811441,31.499735],[120.811467,31.499816],[120.811474,31.499847],[120.813368,31.505854],[120.812796,31.506028],[120.81059,31.505678],[120.804002,31.504874],[120.803697,31.505127],[120.803551,31.505453],[120.803551,31.507531],[120.803428,31.509235],[120.803576,31.510762],[120.80355,31.511815],[120.803429,31.513067],[120.803403,31.514621],[120.80335,31.515724],[120.804601,31.516774],[120.809878,31.521091],[120.810833,31.521611],[120.811051,31.521666],[120.819167,31.521697],[120.820878,31.521824],[120.824479,31.521951],[120.825096,31.521994],[120.830443,31.522013],[120.833846,31.52235],[120.835608,31.522562],[120.838498,31.522683],[120.842387,31.523226],[120.84473,31.522969],[120.844791,31.521961],[120.844539,31.519333],[120.842274,31.518556],[120.8423,31.517095],[120.845182,31.515313],[120.846206,31.513879],[120.846753,31.511769],[120.846614,31.509866],[120.84868,31.50989],[120.850416,31.508883],[120.85197,31.508188],[120.856214,31.508123],[120.859694,31.507144],[120.860927,31.513765],[120.865066,31.512525],[120.866421,31.513126],[120.867739,31.515202],[120.868148,31.518915],[120.870622,31.51892],[120.87043,31.51998],[120.870526,31.520809],[120.870891,31.521474],[120.871255,31.52257],[120.871688,31.523001],[120.872487,31.523398],[120.873086,31.523863],[120.873416,31.524362],[120.873468,31.525074],[120.873667,31.526102],[120.874128,31.527363],[120.874328,31.529188],[120.874328,31.530317],[120.874527,31.530716],[120.87451,31.531595],[120.874519,31.532687],[120.876567,31.532254],[120.879084,31.531566],[120.881096,31.531598],[120.882537,31.532442],[120.882104,31.534177],[120.881879,31.535903],[120.885081,31.5348],[120.887181,31.535989],[120.888709,31.536753],[120.891998,31.536647],[120.894974,31.536856],[120.895833,31.537537],[120.89533,31.53852],[120.894506,31.543052],[120.896008,31.541921],[120.897032,31.54165],[120.898073,31.541072],[120.900251,31.540297],[120.898637,31.537962],[120.891746,31.530474],[120.895955,31.52781],[120.904807,31.531345],[120.907637,31.529803],[120.91011,31.527112],[120.90879,31.525775],[120.908748,31.523789],[120.910223,31.522084],[120.913199,31.520162],[120.913304,31.521185],[120.913573,31.521998],[120.91451,31.523075],[120.915994,31.524025],[120.919396,31.525617],[120.921783,31.526274],[120.923405,31.526851],[120.924482,31.527821],[120.925922,31.529105],[120.927736,31.530286],[120.929542,31.531361],[120.931954,31.532645],[120.932588,31.532699],[120.933074,31.532142],[120.933759,31.528989],[120.934419,31.528116],[120.934853,31.528042],[120.93612,31.525475],[120.93704,31.5188],[120.942456,31.51976],[120.943297,31.515283],[120.948704,31.514431],[120.949537,31.511586],[120.950214,31.510048],[120.951135,31.509286],[120.95254,31.509201],[120.952861,31.505941],[120.954146,31.499777],[120.9603,31.500966],[120.962946,31.502982],[120.966645,31.49809],[120.967659,31.497936],[120.971392,31.495789]]]]}},{type:"Feature",properties:{id:"320581",name:"常熟市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.600833,31.5482],[120.598819,31.548986],[120.59508,31.550591],[120.594446,31.557265],[120.593352,31.565989],[120.592146,31.571814],[120.592139,31.571836],[120.592136,31.571859],[120.591773,31.573616],[120.590609,31.576941],[120.590375,31.578136],[120.5889,31.579517],[120.585559,31.582957],[120.582847,31.585515],[120.580049,31.58726],[120.575181,31.587661],[120.569621,31.588061],[120.566205,31.587772],[120.564244,31.586972],[120.56319,31.5861],[120.566727,31.581931],[120.568817,31.579582],[120.567065,31.578781],[120.564027,31.5784],[120.559391,31.581693],[120.557601,31.581205],[120.556415,31.580693],[120.554299,31.579275],[120.552809,31.5787],[120.552796,31.578694],[120.552783,31.57869],[120.548811,31.577159],[120.546997,31.57688],[120.54595,31.577089],[120.543727,31.578672],[120.542574,31.581752],[120.54351,31.585357],[120.540803,31.587785],[120.538798,31.603802],[120.539206,31.6048],[120.541974,31.606757],[120.548839,31.607691],[120.552806,31.602393],[120.55481,31.602709],[120.56224,31.604032],[120.562379,31.605766],[120.564114,31.608286],[120.563489,31.608797],[120.562899,31.611274],[120.565798,31.611555],[120.568896,31.613876],[120.57287,31.616276],[120.574693,31.61593],[120.577072,31.615745],[120.578208,31.615571],[120.580274,31.615556],[120.581237,31.615254],[120.582209,31.614984],[120.583684,31.614826],[120.585967,31.613921],[120.587295,31.613618],[120.588128,31.613732],[120.589473,31.614142],[120.590879,31.614914],[120.592068,31.615425],[120.592849,31.616044],[120.593927,31.617051],[120.594712,31.617545],[120.596407,31.619242],[120.595722,31.620158],[120.587902,31.627161],[120.589351,31.629856],[120.591373,31.633518],[120.586773,31.637497],[120.585384,31.638648],[120.586895,31.640474],[120.59166,31.645884],[120.590227,31.647533],[120.587928,31.652404],[120.582435,31.653941],[120.579224,31.654078],[120.567508,31.657887],[120.560616,31.657567],[120.556824,31.657785],[120.555903,31.658396],[120.555612,31.658193],[120.555473,31.658238],[120.555397,31.658414],[120.555274,31.658813],[120.554368,31.659415],[120.554333,31.660596],[120.562561,31.662031],[120.563003,31.663599],[120.564391,31.667281],[120.56399,31.668291],[120.564053,31.669068],[120.564203,31.669708],[120.564173,31.669798],[120.563533,31.669798],[120.563454,31.670417],[120.564033,31.670468],[120.564123,31.670068],[120.564372,31.670047],[120.564533,31.670698],[120.563043,31.670658],[120.562313,31.671628],[120.562853,31.671707],[120.562852,31.672197],[120.563663,31.672328],[120.562703,31.673848],[120.562743,31.673987],[120.562933,31.674098],[120.562923,31.674238],[120.563753,31.674648],[120.564933,31.674427],[120.565193,31.675228],[120.565153,31.675298],[120.564113,31.675507],[120.563433,31.675367],[120.563383,31.675497],[120.563493,31.676458],[120.562943,31.676638],[120.563103,31.677697],[120.562144,31.678248],[120.562704,31.679428],[120.562334,31.679598],[120.562374,31.679668],[120.562133,31.679788],[120.562143,31.680418],[120.562294,31.680478],[120.56239,31.680777],[120.560784,31.681118],[120.559683,31.680598],[120.559554,31.680748],[120.559924,31.681008],[120.559405,31.682408],[120.559134,31.682549],[120.558744,31.682528],[120.558615,31.682609],[120.558779,31.682777],[120.559084,31.683039],[120.559154,31.683289],[120.559284,31.683418],[120.559904,31.683398],[120.560084,31.683508],[120.560624,31.683939],[120.561853,31.685218],[120.561974,31.686248],[120.561994,31.687498],[120.562614,31.687368],[120.563813,31.687308],[120.563823,31.687898],[120.56347,31.688007],[120.563943,31.689238],[120.564083,31.689297],[120.564943,31.688897],[120.565403,31.689487],[120.566272,31.690357],[120.566163,31.690638],[120.565823,31.691017],[120.565882,31.691077],[120.566422,31.691397],[120.568182,31.691807],[120.572622,31.691576],[120.572652,31.692016],[120.572391,31.692106],[120.572342,31.691927],[120.572161,31.691936],[120.572161,31.692136],[120.571922,31.692166],[120.571902,31.692596],[120.571472,31.692646],[120.571472,31.693056],[120.571591,31.693066],[120.571601,31.693276],[120.571091,31.693366],[120.571031,31.693616],[120.571252,31.693627],[120.571371,31.693936],[120.572451,31.693206],[120.573311,31.692365],[120.57382,31.692146],[120.574151,31.692066],[120.574177,31.692125],[120.574495,31.693598],[120.573868,31.693823],[120.574154,31.694739],[120.573721,31.694836],[120.573751,31.695685],[120.573791,31.695816],[120.573897,31.695821],[120.576121,31.695405],[120.58071,31.694934],[120.580929,31.695714],[120.581299,31.695694],[120.582219,31.697494],[120.582439,31.697514],[120.582819,31.698293],[120.582999,31.698354],[120.583969,31.698054],[120.584109,31.698143],[120.584869,31.699513],[120.584859,31.699593],[120.584109,31.699873],[120.584222,31.700182],[120.585019,31.700013],[120.585168,31.700484],[120.583779,31.701083],[120.584019,31.701474],[120.585619,31.700993],[120.587178,31.702403],[120.587318,31.702453],[120.587606,31.702203],[120.588598,31.702943],[120.589697,31.704412],[120.589627,31.704782],[120.590958,31.706842],[120.591087,31.707172],[120.591527,31.707733],[120.591957,31.707833],[120.592017,31.707662],[120.591607,31.707473],[120.591527,31.707193],[120.592297,31.707352],[120.592277,31.707752],[120.593617,31.708132],[120.593806,31.708442],[120.593817,31.708692],[120.596032,31.709002],[120.596607,31.710974],[120.594879,31.712843],[120.592589,31.712951],[120.586626,31.715123],[120.585637,31.71624],[120.583468,31.716254],[120.580881,31.716556],[120.580369,31.720046],[120.578981,31.721217],[120.578234,31.723293],[120.577497,31.729753],[120.578017,31.730322],[120.578928,31.73281],[120.580143,31.736594],[120.581393,31.737532],[120.585229,31.737065],[120.589117,31.740304],[120.591087,31.73559],[120.595314,31.735893],[120.598794,31.733932],[120.604643,31.733129],[120.606761,31.732719],[120.609781,31.728259],[120.614068,31.726075],[120.617497,31.725328],[120.624422,31.724698],[120.62529,31.724434],[120.629083,31.723214],[120.636217,31.722545],[120.641416,31.725807],[120.645608,31.727245],[120.650652,31.726661],[120.654045,31.72875],[120.660217,31.735202],[120.664184,31.73505],[120.667144,31.733292],[120.667674,31.733078],[120.668029,31.733324],[120.668168,31.733527],[120.670312,31.736039],[120.671649,31.737479],[120.672673,31.738897],[120.674375,31.742216],[120.674487,31.743895],[120.674539,31.744275],[120.675043,31.744416],[120.675625,31.745031],[120.676189,31.745208],[120.67862,31.745773],[120.678836,31.746298],[120.67947,31.748782],[120.679696,31.74893],[120.681041,31.748732],[120.681224,31.748969],[120.68118,31.749642],[120.681363,31.75],[120.682092,31.750296],[120.682439,31.750755],[120.682734,31.751192],[120.683897,31.751932],[120.684392,31.752377],[120.686771,31.75242],[120.69198,31.751866],[120.692726,31.75188],[120.695921,31.753551],[120.703039,31.757693],[120.708335,31.757788],[120.71232,31.757174],[120.714083,31.760607],[120.715897,31.762443],[120.719031,31.76386],[120.718103,31.76927],[120.715324,31.774873],[120.712338,31.777759],[120.7118,31.778425],[120.717555,31.781017],[120.721176,31.784247],[120.723068,31.784036],[120.725048,31.788301],[120.726159,31.794414],[120.723789,31.796833],[120.724258,31.80127],[120.723928,31.805879],[120.721219,31.807995],[120.722721,31.812543],[120.723381,31.813937],[120.722878,31.815308],[120.720065,31.815781],[120.72424,31.820929],[120.72602,31.824136],[120.726272,31.824592],[120.729198,31.824419],[120.732011,31.828536],[120.737967,31.833844],[120.742638,31.838002],[120.742977,31.838669],[120.753178,31.832456],[120.758361,31.8293],[120.763189,31.826046],[120.781395,31.817775],[120.78643,31.814716],[120.792489,31.820702],[120.796684,31.823272],[120.798784,31.824436],[120.798984,31.824629],[120.799366,31.825013],[120.802491,31.820317],[120.852368,31.801463],[120.88561,31.829094],[120.891121,31.82191],[120.893447,31.819037],[120.912436,31.795789],[120.928674,31.788813],[120.955213,31.785103],[121.014211,31.785399],[121.030254,31.78519],[121.056022,31.78485],[121.072215,31.77877],[121.096552,31.764275],[121.0919,31.757965],[121.081775,31.746134],[121.066146,31.729236],[121.06237,31.725459],[121.058827,31.724115],[121.056223,31.719369],[121.055675,31.716773],[121.054199,31.714425],[121.050856,31.708565],[121.04945,31.703252],[121.045544,31.695454],[121.048044,31.693087],[121.050545,31.691024],[121.051768,31.689161],[121.048,31.684024],[121.047011,31.683855],[121.042608,31.686108],[121.041263,31.685922],[121.038867,31.683216],[121.037304,31.67917],[121.035029,31.676474],[121.03426,31.675505],[121.034272,31.675468],[121.034228,31.675465],[121.030801,31.671145],[121.027824,31.670393],[121.025558,31.671801],[121.020913,31.668069],[121.014367,31.663322],[121.01244,31.661128],[121.021451,31.657249],[121.028301,31.654254],[121.031973,31.651993],[121.035499,31.649461],[121.038528,31.648732],[121.041602,31.646328],[121.043329,31.643253],[121.044276,31.640951],[121.04807,31.639845],[121.050197,31.638148],[121.054304,31.637264],[121.058453,31.635074],[121.056205,31.630533],[121.052237,31.631859],[121.050371,31.627296],[121.046472,31.623159],[121.04319,31.621556],[121.041724,31.619343],[121.034926,31.612395],[121.031209,31.610264],[121.024481,31.607192],[121.019698,31.605181],[121.01422,31.600837],[121.003629,31.595119],[120.997744,31.592807],[121.004957,31.582617],[120.992232,31.574481],[120.993743,31.573122],[120.994498,31.572519],[120.995132,31.571814],[120.995808,31.570941],[120.996425,31.570001],[120.99698,31.569197],[120.997267,31.568828],[120.99718,31.568424],[120.996798,31.568089],[120.99369,31.566608],[120.978109,31.556372],[120.979585,31.550363],[120.980166,31.549208],[120.974968,31.547459],[120.97383,31.547397],[120.975636,31.545478],[120.977606,31.545174],[120.980705,31.546902],[120.982276,31.547042],[120.982831,31.545365],[120.983257,31.543244],[120.984828,31.543546],[120.986355,31.543691],[120.988812,31.544013],[120.991199,31.544303],[120.992102,31.544581],[120.992883,31.544819],[120.99336,31.544857],[120.993638,31.544707],[120.993751,31.544393],[120.994966,31.5346],[120.998222,31.530648],[121.001346,31.52528],[121.002189,31.522434],[121.002049,31.521948],[121.001902,31.521555],[121.001651,31.520983],[121.001207,31.520228],[121.000008,31.518457],[120.999966,31.518392],[120.998751,31.516623],[120.998265,31.515995],[120.997692,31.515373],[120.99646,31.51434],[120.994879,31.513123],[120.99415,31.512632],[120.991164,31.510764],[120.990878,31.510483],[120.990592,31.510112],[120.990253,31.509648],[120.989862,31.509284],[120.988317,31.50804],[120.987527,31.507383],[120.985982,31.505777],[120.983274,31.502889],[120.982666,31.502511],[120.981816,31.502036],[120.980679,31.501151],[120.980124,31.500838],[120.979056,31.500495],[120.978517,31.500298],[120.97817,31.500005],[120.976616,31.498638],[120.976347,31.498467],[120.975419,31.497943],[120.97515,31.497854],[120.974786,31.497772],[120.974499,31.497723],[120.97423,31.497631],[120.971921,31.496191],[120.971392,31.495789],[120.967659,31.497936],[120.966645,31.49809],[120.962946,31.502982],[120.9603,31.500966],[120.954146,31.499777],[120.952861,31.505941],[120.95254,31.509201],[120.951135,31.509286],[120.950214,31.510048],[120.949537,31.511586],[120.948704,31.514431],[120.943297,31.515283],[120.942456,31.51976],[120.93704,31.5188],[120.93612,31.525475],[120.934853,31.528042],[120.934419,31.528116],[120.933759,31.528989],[120.933074,31.532142],[120.932588,31.532699],[120.931954,31.532645],[120.929542,31.531361],[120.927736,31.530286],[120.925922,31.529105],[120.924482,31.527821],[120.923405,31.526851],[120.921783,31.526274],[120.919396,31.525617],[120.915994,31.524025],[120.91451,31.523075],[120.913573,31.521998],[120.913304,31.521185],[120.913199,31.520162],[120.910223,31.522084],[120.908748,31.523789],[120.90879,31.525775],[120.91011,31.527112],[120.907637,31.529803],[120.904807,31.531345],[120.895955,31.52781],[120.891746,31.530474],[120.898637,31.537962],[120.900251,31.540297],[120.898073,31.541072],[120.897032,31.54165],[120.896008,31.541921],[120.894506,31.543052],[120.89533,31.53852],[120.895833,31.537537],[120.894974,31.536856],[120.891998,31.536647],[120.888709,31.536753],[120.887181,31.535989],[120.885081,31.5348],[120.881879,31.535903],[120.882104,31.534177],[120.882537,31.532442],[120.881096,31.531598],[120.879084,31.531566],[120.876567,31.532254],[120.874519,31.532687],[120.87451,31.531595],[120.874527,31.530716],[120.874328,31.530317],[120.874328,31.529188],[120.874128,31.527363],[120.873667,31.526102],[120.873468,31.525074],[120.873416,31.524362],[120.873086,31.523863],[120.872487,31.523398],[120.871688,31.523001],[120.871255,31.52257],[120.870891,31.521474],[120.870526,31.520809],[120.87043,31.51998],[120.870622,31.51892],[120.868148,31.518915],[120.867739,31.515202],[120.866421,31.513126],[120.865066,31.512525],[120.860927,31.513765],[120.859694,31.507144],[120.856214,31.508123],[120.85197,31.508188],[120.850416,31.508883],[120.84868,31.50989],[120.846614,31.509866],[120.846753,31.511769],[120.846206,31.513879],[120.845182,31.515313],[120.8423,31.517095],[120.842274,31.518556],[120.844539,31.519333],[120.844791,31.521961],[120.84473,31.522969],[120.842387,31.523226],[120.838498,31.522683],[120.835608,31.522562],[120.833846,31.52235],[120.830443,31.522013],[120.825096,31.521994],[120.825,31.523106],[120.824896,31.524871],[120.82428,31.527999],[120.823481,31.530937],[120.822753,31.533701],[120.821997,31.53583],[120.821676,31.536658],[120.820113,31.536924],[120.81862,31.536838],[120.817362,31.53681],[120.816858,31.536471],[120.816746,31.535762],[120.81658,31.535413],[120.81586,31.53534],[120.814983,31.535615],[120.814071,31.5357],[120.812501,31.535351],[120.811086,31.534992],[120.809731,31.535023],[120.808915,31.536049],[120.806389,31.537813],[120.805356,31.538152],[120.805147,31.538171],[120.804366,31.538172],[120.80434,31.535075],[120.804427,31.533991],[120.80434,31.532974],[120.803967,31.531891],[120.803385,31.530808],[120.802795,31.529614],[120.802092,31.528753],[120.801476,31.528204],[120.801033,31.527619],[120.800745,31.526452],[120.800764,31.524736],[120.800798,31.524189],[120.80066,31.523764],[120.800286,31.523605],[120.798853,31.523622],[120.795164,31.523574],[120.794565,31.523715],[120.794044,31.524763],[120.79282,31.5259],[120.791049,31.52612],[120.78874,31.526169],[120.786013,31.526319],[120.784095,31.526978],[120.783782,31.527824],[120.784147,31.529168],[120.784443,31.529841],[120.785128,31.531557],[120.785119,31.531857],[120.784755,31.531943],[120.783626,31.531907],[120.782246,31.531433],[120.781161,31.530843],[120.779285,31.5304],[120.778104,31.530547],[120.777175,31.53099],[120.776584,31.531875],[120.776498,31.533136],[120.776299,31.533815],[120.775595,31.534266],[120.773781,31.535058],[120.77247,31.535716],[120.771471,31.536508],[120.770386,31.537595],[120.763545,31.541812],[120.761304,31.542595],[120.760602,31.542324],[120.760246,31.54169],[120.759795,31.540106],[120.758544,31.536326],[120.758544,31.534785],[120.758804,31.533641],[120.758647,31.532877],[120.758092,31.531955],[120.757137,31.531662],[120.755696,31.531707],[120.754602,31.531774],[120.753768,31.531274],[120.753334,31.530958],[120.751137,31.531094],[120.74928,31.531273],[120.747292,31.532066],[120.744938,31.533018],[120.743758,31.533107],[120.743055,31.533289],[120.741197,31.534172],[120.73821,31.535598],[120.736787,31.536615],[120.73538,31.537565],[120.734208,31.537882],[120.732323,31.538018],[120.73103,31.538177],[120.731108,31.537248],[120.731299,31.529845],[120.731273,31.529546],[120.729745,31.529246],[120.72635,31.52922],[120.724745,31.529002],[120.724406,31.527947],[120.724284,31.525912],[120.724041,31.523876],[120.722374,31.522253],[120.719839,31.521382],[120.717694,31.521959],[120.714048,31.521681],[120.707484,31.52168],[120.705089,31.521761],[120.703951,31.521406],[120.702806,31.520319],[120.703083,31.518724],[120.702858,31.517352],[120.70225,31.515252],[120.700687,31.513216],[120.699133,31.512379],[120.698422,31.511883],[120.692795,31.501494],[120.693638,31.500392],[120.692127,31.498923],[120.691103,31.497922],[120.689939,31.497351],[120.688186,31.498189],[120.686919,31.498575],[120.684853,31.498756],[120.682517,31.498935],[120.680903,31.499228],[120.680208,31.500209],[120.680468,31.500862],[120.680417,31.501463],[120.679323,31.50171],[120.677813,31.501975],[120.677074,31.501976],[120.67625,31.501695],[120.67579,31.501142],[120.674835,31.499862],[120.673402,31.499862],[120.668272,31.500244],[120.666744,31.500107],[120.664462,31.50032],[120.662673,31.500673],[120.660417,31.500719],[120.659106,31.500689],[120.658629,31.500283],[120.657543,31.498774],[120.656606,31.497933],[120.65566,31.497978],[120.654731,31.498168],[120.653586,31.498356],[120.652284,31.498486],[120.651971,31.49899],[120.652058,31.500086],[120.652005,31.500489],[120.650781,31.501685],[120.651085,31.504504],[120.651355,31.505581],[120.650452,31.506299],[120.648481,31.506749],[120.645244,31.507738],[120.64363,31.508815],[120.643178,31.510251],[120.642735,31.512498],[120.642128,31.513145],[120.641095,31.513533],[120.639637,31.513683],[120.63896,31.514653],[120.638874,31.515821],[120.639142,31.517617],[120.639142,31.518605],[120.637615,31.518874],[120.634474,31.518874],[120.632946,31.519323],[120.631869,31.519862],[120.631869,31.521209],[120.633197,31.525001],[120.633458,31.526327],[120.63285,31.527121],[120.631643,31.527349],[120.629821,31.527426],[120.627417,31.527432],[120.622999,31.527515],[120.622322,31.527906],[120.62247,31.528924],[120.623112,31.531105],[120.624509,31.534397],[120.624882,31.537689],[120.624761,31.540727],[120.623242,31.542751],[120.622773,31.544074],[120.622782,31.545871],[120.622773,31.54746],[120.621888,31.547821],[120.619935,31.548001],[120.617783,31.549199],[120.617123,31.550354],[120.616481,31.551671],[120.615769,31.552961],[120.615188,31.553111],[120.613999,31.552629],[120.612524,31.551763],[120.611283,31.551853],[120.609781,31.552244],[120.608939,31.552152],[120.608939,31.551507],[120.609425,31.54911],[120.609364,31.548361],[120.609208,31.547988],[120.608306,31.547944],[120.600833,31.5482]]]]}},{type:"Feature",properties:{id:"320582",name:"张家港市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.5937,31.754857],[120.593456,31.757161],[120.592753,31.758303],[120.590627,31.762563],[120.584318,31.764689],[120.584491,31.764917],[120.585195,31.768317],[120.58483,31.77216],[120.584526,31.773734],[120.582261,31.779342],[120.580855,31.782717],[120.580022,31.784278],[120.576516,31.786926],[120.56677,31.79563],[120.566471,31.795896],[120.55412,31.787815],[120.55238,31.787657],[120.551582,31.788968],[120.551593,31.791095],[120.551593,31.791122],[120.551593,31.791159],[120.551595,31.791435],[120.551594,31.791455],[120.551595,31.791483],[120.551613,31.795045],[120.551595,31.795384],[120.551219,31.79617],[120.549936,31.795727],[120.54553,31.794388],[120.544638,31.794144],[120.542425,31.794245],[120.541937,31.794002],[120.541025,31.792804],[120.540203,31.791546],[120.54009,31.789212],[120.52722,31.789836],[120.526812,31.795254],[120.525953,31.795814],[120.523783,31.797115],[120.52216,31.797579],[120.519573,31.803314],[120.517883,31.805383],[120.517268,31.806441],[120.517506,31.807139],[120.516733,31.808695],[120.51712,31.812475],[120.519182,31.812048],[120.519322,31.812559],[120.520193,31.812827],[120.523949,31.815666],[120.525613,31.816722],[120.526491,31.81909],[120.524964,31.82337],[120.526968,31.829901],[120.52446,31.833395],[120.517603,31.836207],[120.513003,31.83996],[120.510016,31.843534],[120.503863,31.845677],[120.498828,31.843685],[120.498377,31.848121],[120.498322,31.848548],[120.497561,31.849172],[120.497501,31.849418],[120.497596,31.849654],[120.498106,31.850203],[120.497848,31.852197],[120.497727,31.852534],[120.497475,31.852886],[120.497235,31.853755],[120.496935,31.854366],[120.495845,31.855776],[120.495485,31.855665],[120.494685,31.856656],[120.494285,31.856416],[120.493925,31.856496],[120.493655,31.856476],[120.493386,31.856146],[120.493315,31.856136],[120.493225,31.856306],[120.493034,31.856386],[120.493135,31.856636],[120.492955,31.856776],[120.492925,31.856896],[120.493935,31.858276],[120.493045,31.858576],[120.492494,31.858626],[120.492245,31.858746],[120.491955,31.859926],[120.491074,31.860773],[120.491475,31.861436],[120.491455,31.861656],[120.491055,31.862035],[120.490424,31.863476],[120.490434,31.864136],[120.489925,31.864838],[120.487769,31.867418],[120.48638,31.873275],[120.482604,31.874735],[120.480069,31.876341],[120.466727,31.881089],[120.464234,31.881497],[120.461986,31.889664],[120.461908,31.891853],[120.450222,31.893221],[120.4449,31.893789],[120.442347,31.89432],[120.442299,31.894336],[120.442274,31.894342],[120.439326,31.895226],[120.432171,31.897424],[120.422195,31.899665],[120.420294,31.900204],[120.416916,31.901711],[120.416604,31.901837],[120.403006,31.907306],[120.398431,31.908795],[120.39776,31.909153],[120.39765,31.909173],[120.397404,31.908703],[120.396854,31.907563],[120.396579,31.907153],[120.39628,31.907263],[120.39571,31.907243],[120.393179,31.907952],[120.393139,31.908012],[120.393359,31.908432],[120.393259,31.908652],[120.392909,31.908793],[120.392758,31.909122],[120.392388,31.909313],[120.391678,31.909972],[120.391529,31.910302],[120.391289,31.910301],[120.391209,31.910231],[120.391159,31.910121],[120.391218,31.909762],[120.391188,31.909642],[120.391058,31.909552],[120.390408,31.909362],[120.389329,31.908822],[120.389129,31.908362],[120.389318,31.908021],[120.388928,31.907731],[120.388168,31.907561],[120.38733,31.907106],[120.387147,31.907291],[120.386988,31.907641],[120.386597,31.908791],[120.386327,31.909211],[120.386167,31.909721],[120.385817,31.91],[120.385367,31.910161],[120.384907,31.910051],[120.384636,31.910071],[120.384506,31.91042],[120.384107,31.91085],[120.383837,31.911011],[120.383631,31.910935],[120.383507,31.910991],[120.383376,31.910821],[120.383126,31.91092],[120.382816,31.91035],[120.380406,31.91133],[120.380357,31.91144],[120.380477,31.91352],[120.380086,31.91375],[120.379956,31.91401],[120.379846,31.914069],[120.378846,31.91402],[120.378816,31.9138],[120.378516,31.91382],[120.378196,31.91341],[120.377915,31.912749],[120.376666,31.912949],[120.376676,31.913449],[120.375947,31.91343],[120.375845,31.913999],[120.375025,31.913989],[120.375024,31.914849],[120.375745,31.914799],[120.375745,31.91522],[120.374811,31.915419],[120.374874,31.915898],[120.374615,31.915949],[120.375055,31.917989],[120.375205,31.918289],[120.375395,31.918349],[120.375526,31.918309],[120.375745,31.918589],[120.376215,31.919579],[120.375165,31.920359],[120.376334,31.920691],[120.385746,31.927655],[120.386518,31.930404],[120.385572,31.933992],[120.381257,31.937424],[120.370612,31.94354],[120.369914,31.945356],[120.369899,31.945377],[120.369896,31.945402],[120.368798,31.948253],[120.366862,31.956777],[120.364153,31.962912],[120.365967,31.992651],[120.375779,32.000106],[120.383116,32.008477],[120.399022,32.018035],[120.404639,32.020725],[120.416552,32.026431],[120.43535,32.035432],[120.458166,32.046354],[120.461057,32.047736],[120.464842,32.04727],[120.47611,32.045889],[120.490062,32.044175],[120.497873,32.043214],[120.499332,32.043035],[120.52025,32.032516],[120.548831,32.02328],[120.57491,32.014843],[120.584066,32.011881],[120.590211,32.010827],[120.604261,32.00842],[120.624144,32.003325],[120.637493,32.003131],[120.648377,32.004515],[120.648794,32.004612],[120.662309,32.00783],[120.669913,32.009637],[120.682127,32.012133],[120.698117,32.015398],[120.704021,32.016085],[120.728147,32.018883],[120.736578,32.019863],[120.743802,32.020769],[120.751155,32.021695],[120.756747,32.022397],[120.757155,32.022447],[120.766341,32.022611],[120.771732,32.020413],[120.777636,32.01801],[120.777705,32.017862],[120.783357,32.005302],[120.785684,32.000116],[120.798767,31.990481],[120.849209,31.890762],[120.853202,31.881961],[120.856092,31.875171],[120.859234,31.870064],[120.879648,31.836852],[120.88561,31.829094],[120.852368,31.801463],[120.802491,31.820317],[120.799366,31.825013],[120.798984,31.824629],[120.798784,31.824436],[120.796684,31.823272],[120.792489,31.820702],[120.78643,31.814716],[120.781395,31.817775],[120.763189,31.826046],[120.758361,31.8293],[120.753178,31.832456],[120.742977,31.838669],[120.742638,31.838002],[120.737967,31.833844],[120.732011,31.828536],[120.729198,31.824419],[120.726272,31.824592],[120.72602,31.824136],[120.72424,31.820929],[120.720065,31.815781],[120.722878,31.815308],[120.723381,31.813937],[120.722721,31.812543],[120.721219,31.807995],[120.723928,31.805879],[120.724258,31.80127],[120.723789,31.796833],[120.726159,31.794414],[120.725048,31.788301],[120.723068,31.784036],[120.721176,31.784247],[120.717555,31.781017],[120.7118,31.778425],[120.712338,31.777759],[120.715324,31.774873],[120.718103,31.76927],[120.719031,31.76386],[120.715897,31.762443],[120.714083,31.760607],[120.71232,31.757174],[120.708335,31.757788],[120.703039,31.757693],[120.695921,31.753551],[120.692726,31.75188],[120.69198,31.751866],[120.686771,31.75242],[120.684392,31.752377],[120.683897,31.751932],[120.682734,31.751192],[120.682439,31.750755],[120.682092,31.750296],[120.681363,31.75],[120.68118,31.749642],[120.681224,31.748969],[120.681041,31.748732],[120.679696,31.74893],[120.67947,31.748782],[120.678836,31.746298],[120.67862,31.745773],[120.676189,31.745208],[120.675625,31.745031],[120.675043,31.744416],[120.674539,31.744275],[120.674487,31.743895],[120.674375,31.742216],[120.672673,31.738897],[120.671649,31.737479],[120.670312,31.736039],[120.668168,31.733527],[120.668029,31.733324],[120.667674,31.733078],[120.667144,31.733292],[120.664184,31.73505],[120.660217,31.735202],[120.654045,31.72875],[120.650652,31.726661],[120.645608,31.727245],[120.641416,31.725807],[120.636217,31.722545],[120.629083,31.723214],[120.62529,31.724434],[120.624422,31.724698],[120.617497,31.725328],[120.614068,31.726075],[120.609781,31.728259],[120.606761,31.732719],[120.604643,31.733129],[120.598794,31.733932],[120.595314,31.735893],[120.591087,31.73559],[120.589117,31.740304],[120.590619,31.743271],[120.59455,31.74493],[120.595817,31.746758],[120.5937,31.754857]]]]}},{type:"Feature",properties:{id:"320509",name:"吴江区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.35377,30.893804],[120.354404,30.893928],[120.354352,30.894628],[120.355498,30.894866],[120.354838,30.898197],[120.354369,30.901747],[120.354742,30.905124],[120.354031,30.90704],[120.352937,30.909279],[120.352295,30.910952],[120.352199,30.913068],[120.352685,30.914954],[120.353162,30.920167],[120.353779,30.921424],[120.354786,30.92238],[120.35706,30.923104],[120.358068,30.92372],[120.358215,30.925094],[120.358041,30.92665],[120.355906,30.930282],[120.355532,30.932456],[120.354821,30.933959],[120.355037,30.93499],[120.356375,30.935892],[120.360359,30.939688],[120.362115,30.9418],[120.36264,30.941961],[120.362615,30.9424],[120.363807,30.943834],[120.365569,30.945475],[120.366654,30.947462],[120.36701,30.948497],[120.366523,30.94837],[120.36606,30.949472],[120.365917,30.949445],[120.365514,30.95021],[120.366457,30.950791],[120.368216,30.954366],[120.37083,30.957607],[120.381856,30.963357],[120.389818,30.964906],[120.395062,30.968002],[120.400601,30.969957],[120.408008,30.971958],[120.413843,30.973456],[120.418574,30.975626],[120.422473,30.97915],[120.424288,30.981026],[120.428386,30.986621],[120.432727,30.99337],[120.43811,31.000597],[120.442772,31.005741],[120.45339,31.016522],[120.457471,31.022329],[120.460718,31.029393],[120.480451,31.053571],[120.482222,31.056054],[120.487188,31.059779],[120.49553,31.064214],[120.536602,31.08806],[120.5512,31.096904],[120.553447,31.100187],[120.553864,31.102458],[120.554515,31.104084],[120.555948,31.105242],[120.557153,31.105846],[120.564903,31.118572],[120.585914,31.154615],[120.589811,31.159242],[120.591434,31.159754],[120.592805,31.161176],[120.594202,31.162714],[120.595391,31.163062],[120.597136,31.163062],[120.600078,31.162852],[120.602109,31.162152],[120.604313,31.162295],[120.60525,31.163942],[120.606778,31.165975],[120.608732,31.168623],[120.610215,31.170639],[120.612298,31.172808],[120.61504,31.175048],[120.617132,31.176662],[120.618789,31.178132],[120.61957,31.179107],[120.619935,31.180337],[120.620179,31.182857],[120.619996,31.184884],[120.620022,31.186946],[120.618738,31.196867],[120.618486,31.19932],[120.618382,31.201561],[120.618521,31.203517],[120.619215,31.205738],[120.619892,31.207536],[120.62023,31.208487],[120.620682,31.209337],[120.62188,31.21043],[120.625942,31.211967],[120.628276,31.212417],[120.629873,31.212903],[120.630098,31.212979],[120.630298,31.213118],[120.630351,31.213493],[120.630316,31.213775],[120.630142,31.214529],[120.629561,31.215963],[120.629152,31.217087],[120.628041,31.222774],[120.627469,31.225266],[120.62744,31.225604],[120.637598,31.226061],[120.637944,31.224745],[120.638153,31.223747],[120.639133,31.223093],[120.639828,31.223188],[120.644472,31.223874],[120.645895,31.223644],[120.646546,31.222906],[120.646911,31.221753],[120.647371,31.221336],[120.649957,31.2212],[120.650973,31.221753],[120.651754,31.222446],[120.653135,31.222582],[120.655122,31.222398],[120.656181,31.221384],[120.656363,31.218249],[120.656415,31.214973],[120.657031,31.211126],[120.658169,31.209196],[120.658862,31.208244],[120.659271,31.20789],[120.659714,31.205872],[120.660313,31.203632],[120.660434,31.202786],[120.660356,31.20202],[120.660156,31.200646],[120.660139,31.198246],[120.660373,31.197599],[120.661059,31.197217],[120.661988,31.197035],[120.663342,31.197116],[120.664713,31.197096],[120.666145,31.196993],[120.66664,31.19641],[120.667543,31.195196],[120.668646,31.192658],[120.669444,31.190136],[120.670373,31.189337],[120.671727,31.189276],[120.672708,31.190014],[120.673203,31.190874],[120.673072,31.192781],[120.673142,31.194563],[120.674548,31.195548],[120.675669,31.196607],[120.676962,31.19835],[120.677396,31.198639],[120.679565,31.198788],[120.681024,31.19899],[120.683646,31.199874],[120.684956,31.200377],[120.686015,31.200883],[120.687231,31.20164],[120.688038,31.20222],[120.689549,31.202977],[120.691163,31.203657],[120.693612,31.20396],[120.697041,31.203709],[120.701225,31.203356],[120.703604,31.203104],[120.707128,31.202751],[120.709777,31.202297],[120.713006,31.20202],[120.713023,31.201371],[120.71305,31.200223],[120.71305,31.198072],[120.713232,31.19432],[120.714525,31.191124],[120.717043,31.187311],[120.71871,31.185773],[120.719813,31.185404],[120.724492,31.189157],[120.729658,31.194014],[120.732115,31.197213],[120.734208,31.200165],[120.737037,31.203241],[120.739738,31.206377],[120.743125,31.211667],[120.744661,31.215171],[120.747309,31.217939],[120.748533,31.221259],[120.749766,31.224026],[120.750382,31.225197],[120.751181,31.225318],[120.753768,31.225013],[120.756043,31.224582],[120.758335,31.22342],[120.760957,31.221695],[120.762998,31.220895],[120.766158,31.21967],[120.771559,31.216461],[120.774258,31.214473],[120.775578,31.213201],[120.775682,31.211928],[120.774101,31.208158],[120.773234,31.206476],[120.770846,31.204642],[120.76977,31.203213],[120.769362,31.201584],[120.769466,31.199088],[120.770334,31.197153],[120.772626,31.195472],[120.78465,31.191653],[120.788627,31.190127],[120.789391,31.189462],[120.789495,31.188036],[120.789035,31.186101],[120.789442,31.184928],[120.790155,31.184317],[120.792551,31.183248],[120.804826,31.178358],[120.811641,31.175701],[120.812683,31.175108],[120.817926,31.170581],[120.818864,31.167479],[120.817692,31.162183],[120.818082,31.161758],[120.81836,31.161809],[120.819011,31.15329],[120.810469,31.152819],[120.808941,31.149934],[120.808933,31.144741],[120.811172,31.133778],[120.815582,31.126778],[120.818576,31.124953],[120.833672,31.120619],[120.837578,31.118691],[120.845025,31.113073],[120.851579,31.10732],[120.852672,31.106134],[120.85262,31.10507],[120.854373,31.103085],[120.855589,31.102529],[120.857889,31.103297],[120.858583,31.102369],[120.859824,31.102554],[120.860328,31.100621],[120.861578,31.099879],[120.865414,31.099481],[120.865649,31.101202],[120.867272,31.101574],[120.868382,31.10115],[120.869016,31.10258],[120.869728,31.102713],[120.872479,31.102209],[120.871854,31.100129],[120.874813,31.100654],[120.874085,31.098481],[120.873929,31.098029],[120.874475,31.097689],[120.878242,31.097457],[120.883336,31.096354],[120.886122,31.096266],[120.886877,31.096585],[120.886817,31.098064],[120.887077,31.099454],[120.888205,31.099773],[120.8887,31.098818],[120.888639,31.098121],[120.888032,31.09647],[120.888553,31.095107],[120.889715,31.093687],[120.891277,31.092991],[120.891946,31.091717],[120.89218,31.090007],[120.892553,31.088933],[120.893621,31.088963],[120.895157,31.089223],[120.89632,31.08899],[120.897969,31.087947],[120.897882,31.08728],[120.897535,31.086382],[120.897882,31.085687],[120.898689,31.085005],[120.900581,31.082787],[120.900884,31.081678],[120.900477,31.080815],[120.899262,31.080359],[120.897691,31.080407],[120.896467,31.080735],[120.895478,31.080653],[120.8952,31.079789],[120.89546,31.078921],[120.895435,31.077387],[120.894723,31.07281],[120.893473,31.069293],[120.891772,31.065376],[120.890479,31.060962],[120.890427,31.056197],[120.891303,31.052633],[120.892344,31.051333],[120.893074,31.050532],[120.892883,31.047889],[120.895599,31.041916],[120.897318,31.041068],[120.897838,31.039958],[120.89737,31.035805],[120.897274,31.029787],[120.897206,31.027827],[120.896849,31.024782],[120.896424,31.022753],[120.896918,31.020958],[120.897222,31.019826],[120.896233,31.019791],[120.896137,31.019251],[120.891009,31.019686],[120.890505,31.014041],[120.887484,31.012414],[120.887216,31.006071],[120.885307,31.004778],[120.876028,31.00122],[120.875967,31.000088],[120.875794,30.999853],[120.87405,30.999606],[120.872462,30.999541],[120.871438,30.999287],[120.870543,30.998656],[120.869884,30.998211],[120.869215,30.997761],[120.868963,30.997582],[120.86892,30.997571],[120.867557,30.997587],[120.866916,30.997602],[120.864936,30.997657],[120.864616,30.997665],[120.863878,30.997678],[120.863738,30.996732],[120.863652,30.996177],[120.863608,30.995968],[120.863556,30.995604],[120.863548,30.995523],[120.863314,30.994332],[120.863236,30.993709],[120.863175,30.993297],[120.863053,30.993286],[120.862819,30.993279],[120.862732,30.993288],[120.862255,30.993347],[120.861691,30.99341],[120.861438,30.993447],[120.861326,30.993466],[120.861308,30.993427],[120.861326,30.993335],[120.861369,30.993041],[120.861404,30.99282],[120.861474,30.992424],[120.8615,30.992307],[120.8615,30.992194],[120.861483,30.99212],[120.861457,30.992068],[120.861412,30.992023],[120.861335,30.991994],[120.861248,30.991971],[120.861187,30.991958],[120.861083,30.991949],[120.860701,30.991971],[120.860562,30.991975],[120.860415,30.991967],[120.860241,30.99195],[120.860137,30.991948],[120.859928,30.991964],[120.85985,30.992001],[120.859798,30.992041],[120.859772,30.992071],[120.859712,30.992188],[120.859651,30.992401],[120.859625,30.992542],[120.859608,30.992704],[120.859582,30.992776],[120.859547,30.992776],[120.859485,30.99277],[120.859321,30.99275],[120.858948,30.992675],[120.858644,30.992644],[120.858297,30.992594],[120.858201,30.992595],[120.858158,30.99259],[120.858106,30.992576],[120.858071,30.992566],[120.857958,30.992546],[120.85788,30.992501],[120.857793,30.992451],[120.85769,30.992414],[120.857594,30.992378],[120.857559,30.992397],[120.857455,30.992672],[120.857446,30.992787],[120.857082,30.993083],[120.856448,30.992894],[120.856405,30.992872],[120.856265,30.992812],[120.855884,30.992651],[120.855841,30.99264],[120.855156,30.992386],[120.85486,30.992287],[120.8546,30.992182],[120.854486,30.992138],[120.854451,30.992145],[120.854382,30.992173],[120.854313,30.992204],[120.854244,30.992241],[120.8542,30.99228],[120.854174,30.992319],[120.854088,30.992531],[120.854053,30.992572],[120.853913,30.992766],[120.853723,30.993048],[120.853445,30.993415],[120.853193,30.993703],[120.853081,30.993851],[120.85302,30.993908],[120.852933,30.994003],[120.852873,30.994064],[120.852638,30.994265],[120.852534,30.994337],[120.852352,30.994437],[120.852195,30.994545],[120.852134,30.994595],[120.851944,30.994709],[120.851709,30.994858],[120.851475,30.99498],[120.851241,30.995093],[120.851093,30.995156],[120.850997,30.995203],[120.850833,30.995266],[120.850789,30.995282],[120.850529,30.99541],[120.850364,30.995464],[120.85019,30.995517],[120.850112,30.995529],[120.850051,30.995535],[120.84986,30.995538],[120.849635,30.995525],[120.849495,30.995494],[120.849391,30.995435],[120.849157,30.995312],[120.84908,30.995256],[120.848845,30.995083],[120.848533,30.994778],[120.848367,30.994633],[120.848107,30.994418],[120.84789,30.99421],[120.847656,30.994014],[120.847387,30.993795],[120.846953,30.993383],[120.846744,30.993237],[120.84657,30.993094],[120.846067,30.992771],[120.845989,30.992706],[120.845902,30.992658],[120.84579,30.992608],[120.845615,30.992537],[120.845408,30.992465],[120.84533,30.992419],[120.845129,30.992372],[120.844713,30.99225],[120.844548,30.992211],[120.844453,30.992211],[120.844349,30.992168],[120.843932,30.992051],[120.843759,30.992001],[120.84362,30.99196],[120.843481,30.991935],[120.843385,30.991918],[120.843203,30.991884],[120.84316,30.991895],[120.843134,30.99191],[120.843082,30.991962],[120.843029,30.99203],[120.842977,30.992131],[120.842838,30.992374],[120.842743,30.99258],[120.842708,30.992667],[120.842656,30.992776],[120.842543,30.993051],[120.842491,30.993216],[120.842326,30.993721],[120.842283,30.993863],[120.84217,30.994178],[120.8421,30.994391],[120.842048,30.994485],[120.841953,30.994622],[120.841909,30.994655],[120.841823,30.994685],[120.84171,30.994753],[120.841667,30.994764],[120.841631,30.994762],[120.841519,30.994742],[120.841233,30.994653],[120.841076,30.994616],[120.840825,30.994549],[120.840616,30.994462],[120.840548,30.99444],[120.840334,30.99434],[120.840104,30.994265],[120.839962,30.994265],[120.839643,30.994345],[120.839339,30.99444],[120.839075,30.994602],[120.838788,30.994905],[120.838597,30.99516],[120.838342,30.995338],[120.837822,30.996259],[120.836979,30.997589],[120.835859,31.000094],[120.826616,31.004453],[120.818733,31.007936],[120.816641,31.00859],[120.810061,31.007973],[120.798627,31.007606],[120.776664,31.003115],[120.774562,31.001792],[120.773954,31.000092],[120.771767,30.997837],[120.770751,30.997223],[120.769622,30.99724],[120.768102,30.997548],[120.76766,30.998702],[120.76713,30.999162],[120.766332,30.999121],[120.765594,30.998785],[120.765515,30.998214],[120.765333,30.995696],[120.764839,30.994099],[120.764013,30.992905],[120.763736,30.991763],[120.763501,30.989704],[120.763709,30.987237],[120.764525,30.984302],[120.765368,30.982973],[120.765872,30.981415],[120.765846,30.980269],[120.765368,30.979475],[120.762286,30.978312],[120.758952,30.978128],[120.756348,30.977596],[120.754134,30.97671],[120.752449,30.97547],[120.751224,30.974222],[120.749376,30.971269],[120.747483,30.969632],[120.746398,30.968449],[120.745243,30.967203],[120.743689,30.965849],[120.742204,30.965236],[120.741604,30.964677],[120.738748,30.96492],[120.736753,30.965316],[120.735316,30.966267],[120.734713,30.967148],[120.734505,30.968562],[120.734041,30.969211],[120.731213,30.970324],[120.730053,30.971461],[120.729057,30.971902],[120.723259,30.97335],[120.721271,30.973721],[120.719005,30.973519],[120.71654,30.973267],[120.714335,30.97301],[120.712008,30.972762],[120.709933,30.9725],[120.707554,30.973278],[120.705774,30.974102],[120.705105,30.973883],[120.704308,30.973491],[120.703881,30.972464],[120.703526,30.971149],[120.703109,30.970122],[120.702302,30.969278],[120.701225,30.968664],[120.700019,30.968508],[120.698439,30.969156],[120.696998,30.970725],[120.695305,30.972472],[120.693915,30.973006],[120.693161,30.972101],[120.691875,30.970734],[120.69079,30.969722],[120.689783,30.969045],[120.689089,30.967562],[120.686511,30.964794],[120.685225,30.963609],[120.683811,30.962591],[120.681233,30.959415],[120.680191,30.957427],[120.683796,30.955687],[120.688312,30.954141],[120.692556,30.95298],[120.693273,30.952571],[120.694641,30.950332],[120.69481,30.950139],[120.696068,30.948429],[120.698269,30.946136],[120.699719,30.944417],[120.7012,30.942816],[120.703144,30.939706],[120.705148,30.9354],[120.706329,30.931274],[120.706868,30.928807],[120.707466,30.926219],[120.707899,30.923438],[120.708353,30.922475],[120.708379,30.921927],[120.708058,30.920108],[120.707741,30.917733],[120.707785,30.916731],[120.707569,30.914754],[120.707077,30.912978],[120.706312,30.911367],[120.705519,30.909783],[120.705437,30.908389],[120.705792,30.904892],[120.706393,30.901178],[120.707377,30.897544],[120.708306,30.893584],[120.708415,30.89088],[120.708603,30.88868],[120.708952,30.887295],[120.704073,30.886948],[120.701798,30.886583],[120.698274,30.886294],[120.696998,30.885622],[120.696442,30.884484],[120.696346,30.882932],[120.697249,30.881092],[120.698343,30.87964],[120.699116,30.878024],[120.699993,30.875207],[120.699628,30.873208],[120.697396,30.871231],[120.695652,30.870107],[120.694524,30.870125],[120.693212,30.871054],[120.692631,30.872038],[120.691372,30.872511],[120.690173,30.872364],[120.688855,30.872952],[120.688473,30.873928],[120.688369,30.87536],[120.689722,30.877008],[120.686241,30.878893],[120.683203,30.880074],[120.681884,30.880779],[120.681433,30.881475],[120.68138,30.882339],[120.681745,30.883995],[120.681224,30.884797],[120.680634,30.885212],[120.679766,30.885223],[120.678567,30.884841],[120.677543,30.883415],[120.676849,30.881996],[120.676571,30.880791],[120.675625,30.879891],[120.67335,30.879237],[120.671076,30.878691],[120.66941,30.878031],[120.668863,30.877228],[120.666102,30.87148],[120.665494,30.870647],[120.665577,30.870196],[120.665106,30.870114],[120.663577,30.868016],[120.661762,30.866551],[120.660529,30.864852],[120.659049,30.863659],[120.658898,30.863675],[120.658808,30.863766],[120.658593,30.864274],[120.65775,30.86617],[120.657592,30.866407],[120.657199,30.866772],[120.657037,30.866826],[120.656867,30.866848],[120.65671,30.866871],[120.656471,30.866951],[120.65628,30.867018],[120.656166,30.867131],[120.656019,30.867493],[120.655917,30.86764],[120.655748,30.867698],[120.655453,30.867708],[120.655262,30.867731],[120.655081,30.867776],[120.654842,30.867787],[120.654602,30.86774],[120.654489,30.867626],[120.654446,30.867315],[120.654404,30.866679],[120.654361,30.866325],[120.654278,30.866099],[120.653719,30.865456],[120.653563,30.865201],[120.653506,30.864904],[120.653563,30.864523],[120.653719,30.863971],[120.65386,30.863689],[120.653889,30.863406],[120.653818,30.863137],[120.65369,30.862896],[120.653676,30.862543],[120.653683,30.859976],[120.653626,30.859253],[120.653582,30.859049],[120.65348,30.858822],[120.653253,30.858676],[120.652869,30.858562],[120.651868,30.858375],[120.651143,30.858173],[120.65085,30.858036],[120.650669,30.857844],[120.650578,30.857516],[120.650578,30.856984],[120.650624,30.855615],[120.650663,30.854264],[120.65063,30.853619],[120.650663,30.853086],[120.650832,30.852126],[120.651002,30.851311],[120.651093,30.850644],[120.651149,30.850191],[120.651195,30.849874],[120.651149,30.849649],[120.651002,30.849501],[120.650686,30.849411],[120.650347,30.849376],[120.649804,30.849456],[120.649464,30.849547],[120.648571,30.849886],[120.648118,30.850022],[120.647632,30.850135],[120.647421,30.850161],[120.646068,30.850832],[120.643639,30.852464],[120.6412,30.85387],[120.640557,30.8544],[120.640296,30.854918],[120.640462,30.856978],[120.64053,30.857241],[120.640348,30.857504],[120.639984,30.857752],[120.639385,30.857843],[120.638278,30.857817],[120.63721,30.857714],[120.634359,30.856736],[120.632692,30.856346],[120.632041,30.856281],[120.630622,30.856789],[120.629659,30.857037],[120.628578,30.857128],[120.627705,30.857167],[120.62657,30.857799],[120.625644,30.857961],[120.624038,30.858224],[120.623527,30.858327],[120.622636,30.858441],[120.62206,30.858485],[120.621526,30.858301],[120.620417,30.857427],[120.618896,30.856029],[120.617865,30.85512],[120.61665,30.854396],[120.615628,30.854151],[120.614997,30.853756],[120.614424,30.853179],[120.613834,30.852878],[120.612745,30.852421],[120.611356,30.852027],[120.609163,30.851547],[120.606934,30.851181],[120.604488,30.850674],[120.604007,30.850796],[120.603527,30.851016],[120.602758,30.851111],[120.602006,30.85112],[120.601229,30.851129],[120.600268,30.85113],[120.599473,30.8512],[120.598861,30.851339],[120.597865,30.851628],[120.596284,30.852109],[120.594667,30.852538],[120.593375,30.852933],[120.590917,30.853903],[120.58997,30.854167],[120.58901,30.854609],[120.587271,30.854962],[120.586608,30.855179],[120.585404,30.856385],[120.58492,30.85672],[120.58482,30.856852],[120.584144,30.856232],[120.583206,30.85529],[120.582122,30.854394],[120.579449,30.852259],[120.578668,30.851155],[120.577792,30.849301],[120.57675,30.848099],[120.571812,30.845045],[120.570093,30.844005],[120.568045,30.843297],[120.565216,30.841211],[120.562552,30.839456],[120.559627,30.837929],[120.557743,30.836434],[120.555305,30.833932],[120.55442,30.831773],[120.554461,30.830753],[120.553996,30.829745],[120.553004,30.828624],[120.550394,30.826575],[120.548969,30.824701],[120.547575,30.822891],[120.545911,30.820537],[120.544598,30.81892],[120.543428,30.817543],[120.542068,30.815365],[120.540466,30.812498],[120.539074,30.810272],[120.537264,30.807966],[120.534862,30.804859],[120.532204,30.801048],[120.530138,30.798294],[120.52933,30.797057],[120.528873,30.796356],[120.526503,30.793186],[120.52583,30.792097],[120.524213,30.790063],[120.521858,30.787229],[120.521107,30.786155],[120.520274,30.784971],[120.519121,30.783176],[120.516191,30.778565],[120.513917,30.77557],[120.513132,30.774625],[120.511075,30.772351],[120.507148,30.767666],[120.506148,30.76664],[120.504868,30.765144],[120.503698,30.763901],[120.502311,30.762559],[120.501006,30.761099],[120.500079,30.760283],[120.499519,30.760149],[120.499106,30.760258],[120.498545,30.760648],[120.49796,30.761074],[120.496621,30.761684],[120.495183,30.76222],[120.493954,30.762427],[120.492625,30.762951],[120.490933,30.763596],[120.489787,30.763816],[120.488387,30.764034],[120.487265,30.764522],[120.485012,30.765678],[120.484671,30.765947],[120.484657,30.766107],[120.484646,30.766605],[120.484013,30.767068],[120.48372,30.768944],[120.482332,30.772021],[120.479883,30.775602],[120.476229,30.78062],[120.474414,30.78425],[120.474146,30.78525],[120.473245,30.786808],[120.472538,30.787807],[120.472099,30.789294],[120.471245,30.793757],[120.471201,30.794558],[120.472024,30.799756],[120.472024,30.800253],[120.472435,30.800816],[120.472691,30.801377],[120.472769,30.802224],[120.473062,30.803194],[120.472367,30.806142],[120.472344,30.80757],[120.472182,30.808376],[120.468664,30.809197],[120.468248,30.808873],[120.468248,30.80843],[120.468248,30.807998],[120.463804,30.807778],[120.463742,30.808928],[120.463712,30.809483],[120.462119,30.809493],[120.460732,30.809976],[120.46075,30.810853],[120.459949,30.811236],[120.459202,30.815611],[120.458373,30.817647],[120.453951,30.817664],[120.453094,30.822232],[120.452652,30.82325],[120.452465,30.826628],[120.45544,30.827845],[120.456273,30.829278],[120.45649,30.830417],[120.455874,30.841999],[120.454502,30.843108],[120.452731,30.844733],[120.45129,30.846697],[120.450846,30.847905],[120.449909,30.851753],[120.449128,30.85245],[120.448069,30.852807],[120.444014,30.852918],[120.441834,30.853856],[120.439473,30.855432],[120.437441,30.857402],[120.43672,30.858388],[120.436469,30.859591],[120.436534,30.860239],[120.43678,30.860732],[120.43739,30.862962],[120.439204,30.8642],[120.44338,30.867589],[120.445924,30.868651],[120.447809,30.870004],[120.448633,30.871825],[120.44793,30.873667],[120.445759,30.875355],[120.444171,30.875945],[120.44252,30.876886],[120.440107,30.879659],[120.43827,30.882157],[120.43686,30.884915],[120.434976,30.887285],[120.430669,30.88854],[120.429897,30.890039],[120.430235,30.894445],[120.430799,30.897017],[120.431746,30.898992],[120.433187,30.899789],[120.434507,30.900193],[120.435905,30.900824],[120.437164,30.901688],[120.437684,30.902664],[120.437016,30.905356],[120.434759,30.90695],[120.434081,30.907983],[120.433757,30.908708],[120.431309,30.908121],[120.430857,30.90977],[120.430364,30.909699],[120.430194,30.911197],[120.432729,30.911872],[120.432333,30.913727],[120.433058,30.914216],[120.43304,30.917049],[120.432336,30.919001],[120.431234,30.920908],[120.4304,30.922865],[120.420051,30.928653],[120.418801,30.929466],[120.416873,30.929896],[120.415475,30.929733],[120.413383,30.92758],[120.413157,30.926098],[120.414094,30.922079],[120.415796,30.916304],[120.41788,30.908505],[120.418871,30.905113],[120.419272,30.903725],[120.410491,30.902514],[120.40815,30.901504],[120.40502,30.90004],[120.402003,30.899414],[120.402216,30.898277],[120.400595,30.897922],[120.401159,30.895831],[120.400454,30.895695],[120.390052,30.892814],[120.388064,30.892898],[120.385825,30.893319],[120.383715,30.893546],[120.380041,30.89361],[120.374762,30.892823],[120.374042,30.890814],[120.372618,30.887682],[120.367704,30.887077],[120.36766,30.886354],[120.3678,30.884218],[120.361037,30.882525],[120.36003,30.882537],[120.357851,30.885122],[120.353396,30.889173],[120.352937,30.890423],[120.352902,30.890788],[120.354387,30.891619],[120.35377,30.893804]]]]}}]},se=Math.PI;function oe(e,t){if(function(e,t){return e<72.004||e>137.8347||t<.8293||t>55.8271}(e,t))return{lng:e,lat:t};const l=6378245,a=.006693421622965943;let n=function(e,t){let l=2*e-100+3*t+.2*t*t+.1*e*t+.2*Math.sqrt(Math.abs(e));return l+=2*(20*Math.sin(6*e*se)+20*Math.sin(2*e*se))/3,l+=2*(20*Math.sin(t*se)+40*Math.sin(t/3*se))/3,l+=2*(160*Math.sin(t/12*se)+320*Math.sin(t*se/30))/3,l}(e-105,t-35),u=function(e,t){let l=300+e+2*t+.1*e*e+.1*e*t+.1*Math.sqrt(Math.abs(e));return l+=2*(20*Math.sin(6*e*se)+20*Math.sin(2*e*se))/3,l+=2*(20*Math.sin(e*se)+40*Math.sin(e/3*se))/3,l+=2*(150*Math.sin(e/12*se)+300*Math.sin(e/30*se))/3,l}(e-105,t-35);const s=t/180*se;let o=Math.sin(s);o=1-a*o*o;const i=Math.sqrt(o);return n=180*n/(l*(1-a)/(o*i)*se),u=180*u/(l/i*Math.cos(s)*se),{lng:e+u,lat:t+n}}function ie(e,t){if(e.length<=t)return re(e);const l=Math.ceil(e.length/t),a=[];for(let s=0;s=3&&t.push(ie(l,130))}else if("MultiPolygon"===e.type&&Array.isArray(e.coordinates)){const l=e.coordinates;for(const e of l){const l=null==e?void 0:e[0];if(!(null==l?void 0:l.length))continue;const a=ce(l);a.length>=3&&t.push(ie(a,130))}}return t}const ve=function(e){var t;const l={};for(const a of e.features||[]){const e=((null==(t=a.properties)?void 0:t.name)||"").trim();if(!e||!a.geometry)continue;const n=de(a.geometry);n.length&&(l[e]=n)}return l}(ue),fe={},pe={"高新区":"虎丘区"};function me(e){const t=(e||"").trim();if(!t)return null;const l=function(e){const t=e.trim();return pe[t]||t}(t),a=ve[l]??fe[l]??null;return a&&a.length?a:null}function ge(e){return{latitude:e.y,longitude:e.x}}function he(e,t,l){return(t.x-e.x)*(l.y-e.y)-(t.y-e.y)*(l.x-e.x)}function _e(e){const t=e.length;if(t<3)return e;const l=[];for(let a=0;a`${e.x.toFixed(5)},${e.y.toFixed(5)}`,n=new Set,u=[];for(const f of l){const e=a(f);n.has(e)||(n.add(e),u.push(f))}if(0===u.length)return null;if(1===u.length){const e=u[0];return s=e.y-t,o=e.y+t,i=e.x-t,r=e.x+t,[{latitude:o,longitude:i},{latitude:o,longitude:r},{latitude:s,longitude:r},{latitude:s,longitude:i},{latitude:o,longitude:i}]}var s,o,i,r;if(2===u.length)return ye(u[0],u[1],Math.max(t,.006));const c=function(e){const t=e.length;if(t<=1)return e.slice();if(2===t)return[e[0],e[1]];const l=[...e].sort((e,t)=>e.x===t.x?e.y-t.y:e.x-t.x),a=[];for(const u of l){for(;a.length>=2&&he(a[a.length-2],a[a.length-1],u)<=0;)a.pop();a.push(u)}const n=[];for(let u=l.length-1;u>=0;u--){const e=l[u];for(;n.length>=2&&he(n[n.length-2],n[n.length-1],e)<=0;)n.pop();n.push(e)}return a.pop(),n.pop(),a.concat(n)}(u);if(c.length<2)return null;if(2===c.length)return ye(c[0],c[1],Math.max(t,.006));const d=function(e){const t=e.length||1;return{x:e.reduce((e,t)=>e+t.x,0)/t,y:e.reduce((e,t)=>e+t.y,0)/t}}(c),v=function(e,t,l){return e.map(e=>({x:t.x+(e.x-t.x)*l,y:t.y+(e.y-t.y)*l}))}(c,d,1+Math.max(.004,4*t));return ie(re(function(e,t){let l=e;for(let a=0;a{for(const u of n)for(const n of u)e=Math.min(e,n.latitude),t=Math.max(t,n.latitude),l=Math.min(l,n.longitude),a=Math.max(a,n.longitude)};for(const u of Object.values(ve))n(u);for(const u of Object.values(fe))n(u);!Number.isFinite(e)||t<=e||Number.isFinite(l)}();const we=Y(c({__name:"index",setup(t){const l=d(!1),a=d(null),u=d({latitude:ae.lat,longitude:ae.lng}),s=d(12),o=d("map"),i=d(""),r=d("区域"),c=d(""),Y=d("主题"),Q=d(""),Z=d("参观形式"),ee=d(""),te=d("开放模式"),ue=d(""),se=d("收费类型"),oe=d(""),ie=d(null),re=v(()=>{var e,t;const l={};for(const n of(null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.venue_type)??[])l[n.value]=n.label;return l}),ce=v(()=>{var e,t;const l={};for(const n of(null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.ticket_type)??[])l[n.value]=n.label;return l}),de=v(()=>{var e,t;const l={};for(const n of(null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.venue_open_mode)??[])l[n.value]=n.label;return l});function ve(e){return e?re.value[e]||e:""}function fe(e){return e?ce.value[e]||e:""}function pe(e){return e?de.value[e]||e:""}const ge=v(()=>{var e,t;return Number((null==(t=null==(e=a.value)?void 0:e.stats)?void 0:t.in_venue_total)??0).toLocaleString()}),he=v(()=>{var e;const t=[...(null==(e=a.value)?void 0:e.top_live_venues)??[]].sort((e,t)=>Number(t.people_count??0)-Number(e.people_count??0)),l=[];for(let a=0;a<3;a++){const e=t[a];e?l.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):l.push({id:0,name:"",people_count:0,empty:!0})}return l}),_e=v(()=>{var e,t;return[{label:"区域",value:""},...((null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.district)??[]).map(e=>({label:e.label,value:e.value}))]}),ye=v(()=>{var e,t;return[{label:"主题",value:""},...((null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),we=v(()=>{var e,t;return[{label:"参观形式",value:""},...((null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.venue_appointment_type)??[]).map(e=>({label:e.label,value:e.value}))]}),ke=v(()=>{var e,t;return[{label:"开放模式",value:""},...((null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),xe=v(()=>{var e,t;return[{label:"收费类型",value:""},...((null==(t=null==(e=a.value)?void 0:e.venue_dicts)?void 0:t.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Me(e,t){const l=e.findIndex(e=>e.value===t);return l>=0?l:0}const Ce=v(()=>Me(_e.value,c.value)),Fe=v(()=>Me(ye.value,Q.value)),Pe=v(()=>Me(we.value,ee.value)),Ne=v(()=>Me(ke.value,ue.value)),Se=v(()=>Me(xe.value,oe.value));function Ie(e){const t=_e.value[Number(e.detail.value)];t&&(r.value=t.label,c.value=t.value)}function $e(e){const t=ye.value[Number(e.detail.value)];t&&(Y.value=t.label,Q.value=t.value)}function je(e){const t=we.value[Number(e.detail.value)];t&&(Z.value=t.label,ee.value=t.value)}function Ae(e){const t=ke.value[Number(e.detail.value)];t&&(te.value=t.label,ue.value=t.value)}function Te(e){const t=xe.value[Number(e.detail.value)];t&&(se.value=t.label,oe.value=t.value)}function ze(e){return W(e)}function qe(e){const t=Number(e.sort);return Number.isFinite(t)?t:0}function Re(e,t){const l=qe(e)-qe(t);return 0!==l?l:e.id-t.id}const Le=v(()=>{var e;const t=i.value.trim();return((null==(e=a.value)?void 0:e.map_venues)??[]).filter(e=>{if(c.value&&(e.district||"")!==c.value)return!1;if(Q.value&&!ze(e).includes(Q.value))return!1;if(ee.value&&(e.appointment_type||"")!==ee.value)return!1;if(ue.value&&(e.open_mode||"")!==ue.value)return!1;if("free"===oe.value&&"free"!==(e.ticket_type||""))return!1;if("paid"===oe.value&&"paid"!==(e.ticket_type||""))return!1;if(t){if(!`${e.name||""}${e.address||""}`.includes(t))return!1}return!0})}),Ue=v(()=>[...Le.value].sort(Re)),De=v(()=>{var e,t;const l=null==(e=c.value)?void 0:e.trim();return l?((null==(t=a.value)?void 0:t.map_venues)??[]).filter(e=>(e.district||"")===l):[]}),Ve=v(()=>{var e;if(!(null==(e=c.value)?void 0:e.trim()))return null;const t=me(c.value.trim());if(null==t?void 0:t.length)return t;const l=be(De.value.map(e=>({lat:e.lat,lng:e.lng})));return l&&l.length>=3?[l]:null}),Be=v(()=>{const e=Ve.value;return(null==e?void 0:e.length)?e.map(e=>({points:e,strokeWidth:2,strokeColor:"#05C9ACE6",fillColor:"#05C9AC14",zIndex:5})):[]}),Ee=v(()=>{var e;if(!(null==(e=c.value)?void 0:e.trim()))return[];const t=Ve.value,l=[];if(null==t?void 0:t.length)for(const a of t)for(const e of a)l.push({latitude:e.latitude,longitude:e.longitude});for(const a of Ue.value)l.push({latitude:a.lat,longitude:a.lng});return l});function Oe(e,t){if(!e.length)return[];let l=1/0,a=-1/0,n=1/0,u=-1/0;for(const c of e)c.latitudea&&(a=c.latitude),c.longitudeu&&(u=c.longitude);if(!Number.isFinite(l)||a<=l||!Number.isFinite(n)||u<=n)return e.map(e=>({...e}));const s=(l+a)/2,o=(n+u)/2,i=(a-l)/2*t,r=(u-n)/2*t;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 Ge=v(()=>{var e;if(null==(e=c.value)?void 0:e.trim()){const e=Ee.value;if(e.length)return Oe(e,.9)}return Oe(function(e=ne){const t=ae,l=e.lat,a=e.lng;return[{latitude:t.lat-l,longitude:t.lng-a},{latitude:t.lat-l,longitude:t.lng+a},{latitude:t.lat+l,longitude:t.lng-a},{latitude:t.lat+l,longitude:t.lng+a}]}(),.9)}),He=v(()=>{var e;if((null==(e=c.value)?void 0:e.trim())&&Ee.value.length)try{const e=y(48);return[e,e,e,e]}catch{return[16,16,16,16]}}),Je=v(()=>!!(c.value||Q.value||ee.value||ue.value||oe.value||i.value.trim())),Ke=v(()=>null==ie.value?null:Le.value.find(e=>e.id===ie.value)??null);function We(e){var t,l;return X(e,null==(l=null==(t=a.value)?void 0:t.venue_dicts)?void 0:l.venue_type)}f([Ue,Je,c,Ve],()=>{var e;const t=Ve.value;if((null==(e=c.value)?void 0:e.trim())&&(null==t?void 0:t.length)){const e=function(e){let t=1/0,l=-1/0,a=1/0,n=-1/0;for(const u of e)for(const e of u)t=Math.min(t,e.latitude),l=Math.max(l,e.latitude),a=Math.min(a,e.longitude),n=Math.max(n,e.longitude);return Number.isFinite(t)?{latitude:(t+l)/2,longitude:(a+n)/2}:{latitude:0,longitude:0}}(t);return void(u.value={latitude:e.latitude,longitude:e.longitude})}vt()}),f(Le,e=>{null==ie.value||e.some(e=>e.id===ie.value)||(ie.value=null)}),f(o,e=>{"list"===e&&(ie.value=null),"map"===e&&(s.value=12)});let Xe=null;f([Ue,Je],()=>{Xe&&(clearTimeout(Xe),Xe=null),"map"===o.value&&(!Je.value||Ue.value.length>0||(Xe=setTimeout(()=>{Xe=null,n({title:"暂无符合条件的场馆",icon:"none",duration:2e3})},150)))});const Ye=Math.round(8064/246),Qe=v(()=>{const e=s.value>=14;return Ue.value.map(t=>{const l=H(t,()=>function(e){var t,l;if(!e)return"#05c9ac";const n=W(e)[0];if(n&&(null==(l=null==(t=a.value)?void 0:t.venue_dicts)?void 0:l.venue_type)){const e=a.value.venue_dicts.venue_type.find(e=>e.value===n);if(null==e?void 0:e.color)return e.color}return e.venue_type_color||"#05c9ac"}(t)),n=J(l),u={id:t.id,latitude:t.lat,longitude:t.lng,width:32,height:Ye,iconPath:n,anchor:{x:.5,y:1}},s=(t.name||"").trim();return e&&s&&(u.label={content:s,color:"#1d2129",fontSize:11,bgColor:"rgba(255,255,255,0.92)",padding:3,borderRadius:4,anchorX:0,anchorY:-4}),u})});function Ze(e){var t;const l=null==e?void 0:e.detail;if(!l||"begin"===l.type)return;const a="number"==typeof l.scale?l.scale:"number"==typeof(null==(t=l.detail)?void 0:t.scale)?l.detail.scale:null;null!=a&&Number.isFinite(a)&&(s.value=a)}let et=!1;function tt(e){var t;const l=null==(t=null==e?void 0:e.detail)?void 0:t.markerId;null!=l&&(ie.value=Number(l),et=!0,setTimeout(()=>{et=!1},400))}function lt(){et||(ie.value=null)}function at(){ie.value=null}function nt(e){e&&L({url:`/pages/venue/detail?id=${e}`})}function ut(){L({url:"/pages/stats/index"})}function st(){U({url:"/pages/activity/index"})}function ot(){L({url:"/pages/discover/index"})}function it(e){const t=e.schedule_status;return"not_started"===t||"ongoing"===t||"ended"===t?t:G(e.start_at,e.end_at)}function rt(e){return"ended"!==it(e)&&!0===e.is_bookable}function ct(e){return O(it(e))}function dt(e){return`st-${it(e)}`}function vt(){u.value={latitude:ae.lat,longitude:ae.lng}}async function ft(){l.value=!0;try{const t=await e.get("/h5/home",{},{withAuth:!1});a.value=t,vt(),await h({title:"苏州市科普场馆地图",desc:"热门活动、研学线路与场馆导览"}).catch(()=>{})}catch(t){n({title:(null==t?void 0:t.message)||"加载首页失败",icon:"none"})}finally{l.value=!1}}return p(async()=>{await le()&&await ft()}),(e,t)=>{const n=_,c=x,d=$,v=j,f=T,p=z,h=k;return b(),m(n,{class:"page-root"},{default:g(()=>[w(h,{"scroll-y":"",class:"page"},{default:g(()=>[w(n,{class:"hero"},{default:g(()=>[w(n,{class:"hero-brand"}),w(n,{class:"hero-content"},{default:g(()=>[w(n,{class:"stat-card"},{default:g(()=>[w(n,{class:"stat-main"},{default:g(()=>[w(n,{class:"stat-left"},{default:g(()=>[w(c,{class:"stat-label"},{default:g(()=>[M("在馆实时总人数")]),_:1}),w(c,{class:"stat-num"},{default:g(()=>[M(C(ge.value)+" 人",1)]),_:1})]),_:1}),w(n,{class:"stat-right"},{default:g(()=>[w(n,{class:"live-list"},{default:g(()=>[(b(!0),F(P,null,N(he.value,(e,t)=>(b(),m(n,{key:"live-"+t,class:I(["live-venue-row",{"is-empty":e.empty}]),onClick:S(t=>{var l;(l=e).empty||nt(l.id)},["stop"])},{default:g(()=>[w(n,{class:"live-row-one"},{default:g(()=>[w(c,{class:"live-top"},{default:g(()=>[M("Top "+C(t+1),1)]),_:2},1024),w(c,{class:"live-name"},{default:g(()=>[M(C(e.empty?"—":e.name),1)]),_:2},1024),w(c,{class:"live-count"},{default:g(()=>[M(C(e.empty?"—":e.people_count+" 人"),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),w(n,{class:"stat-foot",onClick:S(ut,["stop"])},{default:g(()=>[w(c,{class:"stat-foot-link"},{default:g(()=>[M("客流量统计 >")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),w(n,{class:"map-section"},{default:g(()=>[w(n,{class:"toolbar"},{default:g(()=>[w(n,{class:"tabs"},{default:g(()=>[w(c,{class:I(["tab",{on:"map"===o.value}]),onClick:t[0]||(t[0]=e=>o.value="map")},{default:g(()=>[M("地图")]),_:1},8,["class"]),w(c,{class:I(["tab",{on:"list"===o.value}]),onClick:t[1]||(t[1]=e=>o.value="list")},{default:g(()=>[M("列表")]),_:1},8,["class"])]),_:1}),w(n,{class:"search-wrap"},{default:g(()=>[w(d,{modelValue:i.value,"onUpdate:modelValue":t[2]||(t[2]=e=>i.value=e),class:"search-input",placeholder:"请输入你要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),w(v,{class:"search-icon-img",src:A(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),w(n,{class:"filters"},{default:g(()=>[w(f,{mode:"selector",range:_e.value,"range-key":"label",value:Ce.value,onChange:Ie},{default:g(()=>[w(n,{class:"f-item"},{default:g(()=>[w(c,{class:"f-item-text"},{default:g(()=>[M(C(r.value),1)]),_:1}),w(v,{class:"f-item-arrow",src:A(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(f,{mode:"selector",range:ye.value,"range-key":"label",value:Fe.value,onChange:$e},{default:g(()=>[w(n,{class:"f-item"},{default:g(()=>[w(c,{class:"f-item-text"},{default:g(()=>[M(C(Y.value),1)]),_:1}),w(v,{class:"f-item-arrow",src:A(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(f,{mode:"selector",range:we.value,"range-key":"label",value:Pe.value,onChange:je},{default:g(()=>[w(n,{class:"f-item"},{default:g(()=>[w(c,{class:"f-item-text"},{default:g(()=>[M(C(Z.value),1)]),_:1}),w(v,{class:"f-item-arrow",src:A(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(f,{mode:"selector",range:ke.value,"range-key":"label",value:Ne.value,onChange:Ae},{default:g(()=>[w(n,{class:"f-item"},{default:g(()=>[w(c,{class:"f-item-text"},{default:g(()=>[M(C(te.value),1)]),_:1}),w(v,{class:"f-item-arrow",src:A(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),w(f,{mode:"selector",range:xe.value,"range-key":"label",value:Se.value,onChange:Te},{default:g(()=>[w(n,{class:"f-item"},{default:g(()=>[w(c,{class:"f-item-text"},{default:g(()=>[M(C(se.value),1)]),_:1}),w(v,{class:"f-item-arrow",src:A(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1}),"map"===o.value?(b(),m(n,{key:0,class:"map-wrap"},{default:g(()=>[w(p,{class:"main-map",latitude:u.value.latitude,longitude:u.value.longitude,markers:Qe.value,scale:s.value,polygons:Be.value,"include-points":Ge.value,padding:He.value,"enable-3D":!1,"enable-poi":!1,"enable-building":!1,"enable-traffic":!1,"show-compass":!1,onRegionchange:Ze,onMarkertap:tt,onTap:lt},null,8,["latitude","longitude","markers","scale","polygons","include-points","padding"]),Ke.value?(b(),m(n,{key:0,class:"venue-sheet",onClick:t[4]||(t[4]=S(()=>{},["stop"]))},{default:g(()=>[w(n,{class:"venue-sheet-inner"},{default:g(()=>[w(n,{class:"sheet-bar"}),w(n,{class:"sheet-row"},{default:g(()=>[w(v,{class:"sheet-cover",src:Ke.value.image||A(D),mode:"aspectFill"},null,8,["src"]),w(n,{class:"sheet-main"},{default:g(()=>[w(c,{class:"sheet-name"},{default:g(()=>[M(C(Ke.value.name),1)]),_:1}),ze(Ke.value).length||Ke.value.ticket_type||Ke.value.open_mode?(b(),m(n,{key:0,class:"sheet-meta"},{default:g(()=>[(b(!0),F(P,null,N(ze(Ke.value),(e,t)=>(b(),m(c,{key:"svm-"+t,class:"sheet-type",style:q(A(K)(We(e)))},{default:g(()=>[M(C(ve(e)||e),1)]),_:2},1032,["style"]))),128)),Ke.value.ticket_type?(b(),m(c,{key:0,class:I(["sheet-ticket","paid"===Ke.value.ticket_type?"paid":"free"])},{default:g(()=>[M(C(fe(Ke.value.ticket_type)),1)]),_:1},8,["class"])):R("",!0),Ke.value.open_mode?(b(),m(c,{key:1,class:"open-mode-tag"},{default:g(()=>[M(C(pe(Ke.value.open_mode)),1)]),_:1})):R("",!0)]),_:1})):R("",!0)]),_:1})]),_:1}),w(n,{class:"sheet-actions"},{default:g(()=>[w(n,{class:"sheet-btn ghost",onClick:at},{default:g(()=>[M("关闭")]),_:1}),w(n,{class:"sheet-btn primary",onClick:t[3]||(t[3]=e=>nt(Ke.value.id))},{default:g(()=>[M("详情")]),_:1})]),_:1})]),_:1})]),_:1})):R("",!0)]),_:1})):(b(),m(h,{key:1,"scroll-y":"",class:"venue-list-scroll"},{default:g(()=>[(b(!0),F(P,null,N(Ue.value,e=>(b(),m(n,{key:e.id,class:"venue-row",onClick:t=>nt(e.id)},{default:g(()=>[w(v,{class:"venue-thumb",src:e.image||A(D),mode:"aspectFill"},null,8,["src"]),w(n,{class:"venue-info"},{default:g(()=>[w(c,{class:"venue-name"},{default:g(()=>[M(C(e.name),1)]),_:2},1024),ze(e).length||e.ticket_type||e.open_mode?(b(),m(n,{key:0,class:"venue-meta"},{default:g(()=>[(b(!0),F(P,null,N(ze(e),(t,l)=>(b(),m(c,{key:"vml-"+e.id+"-"+l,class:"venue-type-pill",style:q(A(K)(We(t)))},{default:g(()=>[M(C(ve(t)||t),1)]),_:2},1032,["style"]))),128)),e.ticket_type?(b(),m(c,{key:0,class:I(["venue-ticket-pill","paid"===e.ticket_type?"paid":"free"])},{default:g(()=>[M(C(fe(e.ticket_type)),1)]),_:2},1032,["class"])):R("",!0),e.open_mode?(b(),m(c,{key:1,class:"open-mode-tag"},{default:g(()=>[M(C(pe(e.open_mode)),1)]),_:2},1024)):R("",!0)]),_:2},1024)):R("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),Ue.value.length?R("",!0):(b(),m(n,{key:0,class:"empty-tip"},{default:g(()=>[M(C(Je.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1}))]),_:1}),w(n,{class:"section"},{default:g(()=>[w(n,{class:"sec-head"},{default:g(()=>[w(n,{class:"sec-bar"}),w(c,{class:"sec-title"},{default:g(()=>[M("热门活动")]),_:1}),w(c,{class:"sec-more",onClick:st},{default:g(()=>[M("更多 >")]),_:1})]),_:1}),w(h,{"scroll-x":"",class:"act-scroll","show-scrollbar":!1,"enable-flex":!0},{default:g(()=>[w(n,{class:"act-scroll-row"},{default:g(()=>{var e;return[(b(!0),F(P,null,N((null==(e=a.value)?void 0:e.hot_activities)??[],e=>(b(),m(n,{key:e.id,class:"act-card",onClick:t=>{return l=e.id,void L({url:`/pages/activity/detail?id=${l}`});var l}},{default:g(()=>[w(n,{class:"act-img-wrap"},{default:g(()=>[w(v,{class:"act-img",src:e.image||A(D),mode:"aspectFill"},null,8,["src"]),w(n,{class:I(["act-schedule-tag",dt(e)])},{default:g(()=>[M(C(ct(e)),1)]),_:2},1032,["class"]),rt(e)?(b(),m(n,{key:0,class:"act-book-badge is-bookable"},{default:g(()=>[w(c,{class:"act-book-text is-bookable"},{default:g(()=>[M("可预约")]),_:1})]),_:1})):R("",!0)]),_:2},1024),w(n,{class:"act-body"},{default:g(()=>[w(c,{class:"act-title"},{default:g(()=>[M(C(e.title),1)]),_:2},1024),w(n,{class:"act-tags"},{default:g(()=>[(b(!0),F(P,null,N((e.tags||[]).slice(0,4),(t,l)=>(b(),m(c,{key:"tag-"+e.id+"-"+l,class:"act-tag-chip"},{default:g(()=>[M(C(t),1)]),_:2},1024))),128))]),_:2},1024),w(c,{class:"act-meta"},{default:g(()=>[M(C(A(E)(e.start_at,e.end_at)),1)]),_:2},1024),w(c,{class:"act-meta"},{default:g(()=>[M(C(e.venue_name||e.address||"苏州"),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})]),_:1})]),_:1}),w(n,{class:"section"},{default:g(()=>{var e;return[w(n,{class:"sec-head"},{default:g(()=>[w(n,{class:"sec-bar"}),w(c,{class:"sec-title"},{default:g(()=>[M("科普四季研学线路推荐")]),_:1}),w(c,{class:"sec-more",onClick:ot},{default:g(()=>[M("更多 >")]),_:1})]),_:1}),(b(!0),F(P,null,N((null==(e=a.value)?void 0:e.study_tours)??[],e=>(b(),m(n,{key:e.id,class:"tour-card",onClick:t=>{return l=e.id,void L({url:`/pages/study-tour/detail?id=${l}`});var l}},{default:g(()=>[w(n,{class:"tour-img-wrap"},{default:g(()=>[w(v,{class:"tour-img",src:e.cover_image||A(D),mode:"aspectFill"},null,8,["src"])]),_:2},1024),w(n,{class:"tour-body"},{default:g(()=>{var t;return[w(c,{class:"tour-title"},{default:g(()=>[M(C(e.name),1)]),_:2},1024),w(n,{class:"tour-stops-timeline"},{default:g(()=>[(b(!0),F(P,null,N(e.venue_names,(t,l)=>(b(),m(n,{key:"v-"+e.id+"-"+l,class:"tour-stop-row"},{default:g(()=>[w(n,{class:"tour-timeline-axis"},{default:g(()=>[w(n,{class:"tour-dot-cell"},{default:g(()=>[w(n,{class:"tour-tl-dot"})]),_:1}),l[M(C(t),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(t=e.tags)?void 0:t.length)?(b(),m(n,{key:0,class:"tour-tags-row"},{default:g(()=>[(b(!0),F(P,null,N(e.tags,(t,l)=>(b(),m(c,{key:"t-"+e.id+"-"+l,class:"tour-tag"},{default:g(()=>[M(C(t),1)]),_:2},1024))),128))]),_:2},1024)):R("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1}),w(n,{class:"bottom-safe"}),l.value?(b(),m(n,{key:0,class:"loading-mask"},{default:g(()=>[M("加载中...")]),_:1})):R("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-3488985c"]]);export{we as default}; diff --git a/public/h5/assets/pages-index-index.JLDC1EBo.js b/public/h5/assets/pages-index-index.JLDC1EBo.js new file mode 100644 index 0000000..5cc92d5 --- /dev/null +++ b/public/h5/assets/pages-index-index.JLDC1EBo.js @@ -0,0 +1 @@ +import{h as e,i as l,g as a,S as t,s as u,r as s,a as n,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,u as y,n as b,p as k,q as w,t as C,v as S,x,y as F,F as I,z as N,B as j,C as P,I as $,D as z,E as T,G as A,M,H as R,J as D,K as L,L as U}from"./index-BQ-ey0LP.js";import{P as q}from"./poster.DLiVsUXX.js";import{s as V}from"./search.BJnl3YRK.js";import{d as B}from"./down.BCKq9i8s.js";import{f as E,a as G,c as H}from"./activity.4NBjJ4my.js";import{v as J,g as K,a as W,m as X}from"./suzhouDistrictPolygons.srVEtVX-.js";import{t as Y,m as O}from"./ticketMap.imr_2NOD.js";import{v as Q,a as Z,c as ee}from"./venueThemeColors.ByZn0VY6.js";import{_ as le}from"./_plugin-vue_export-helper.BCo6x5W8.js";const ae="szkp_force_loc_prompt",te="szkp_wechat_oauth_denied",ue="szkp_h5_oauth_state_ss";let se=null;function ne(){return se||(se=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(te,"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(ue)||""}catch{}l||(l=a(t.oauthState)||"");if(Boolean(m&&l&&String(m)!==String(l))){u({title:"授权状态异常,请关闭页面后重试",icon:"none"});try{window.sessionStorage.removeItem(ue)}catch{}s(t.oauthState)}else{n({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(ae,"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(ue)}catch{}return s(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(te))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(ue,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(()=>{se=null})),se}const oe={lat:31.2989,lng:120.5853},ie={lat:.085,lng:.098};const re=le(c({__name:"index",setup(l){const a=d(!1),t=d(null),s=d({latitude:oe.lat,longitude:oe.lng}),n=d(12),o=d("map"),i=d(""),r=d("区域"),c=d(""),le=d("主题"),ae=d(""),te=d("参观形式"),ue=d(""),se=d("开放模式"),re=d(""),ce=d("收费类型"),de=d(""),ve=d(null),fe=v(()=>{var e,l;const a={};for(const u of(null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[])a[u.value]=u.label;return a}),me=v(()=>{var e,l;const a={};for(const u of(null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[])a[u.value]=u.label;return a}),_e=v(()=>{var e,l;const a={};for(const u of(null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[])a[u.value]=u.label;return a});function pe(e){return e?fe.value[e]||e:""}function ge(e){return e?me.value[e]||e:""}function he(e){return e?_e.value[e]||e:""}const ye=v(()=>{var e,l;return Number((null==(l=null==(e=t.value)?void 0:e.stats)?void 0:l.in_venue_total)??0).toLocaleString()}),be=v(()=>{var e;const l=[...(null==(e=t.value)?void 0:e.top_live_venues)??[]].sort((e,l)=>Number(l.people_count??0)-Number(e.people_count??0)),a=[];for(let t=0;t<3;t++){const e=l[t];e?a.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):a.push({id:0,name:"",people_count:0,empty:!0})}return a}),ke=v(()=>{var e,l;return[{label:"区域",value:""},...((null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.district)??[]).map(e=>({label:e.label,value:e.value}))]}),we=v(()=>{var e,l;return[{label:"主题",value:""},...((null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Ce=v(()=>{var e,l;return[{label:"参观形式",value:""},...((null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.venue_appointment_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Se=v(()=>{var e,l;return[{label:"开放模式",value:""},...((null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),xe=v(()=>{var e,l;return[{label:"收费类型",value:""},...((null==(l=null==(e=t.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Fe(e,l){const a=e.findIndex(e=>e.value===l);return a>=0?a:0}const Ie=v(()=>Fe(ke.value,c.value)),Ne=v(()=>Fe(we.value,ae.value)),je=v(()=>Fe(Ce.value,ue.value)),Pe=v(()=>Fe(Se.value,re.value)),$e=v(()=>Fe(xe.value,de.value));function ze(e){const l=ke.value[Number(e.detail.value)];l&&(r.value=l.label,c.value=l.value)}function Te(e){const l=we.value[Number(e.detail.value)];l&&(le.value=l.label,ae.value=l.value)}function Ae(e){const l=Ce.value[Number(e.detail.value)];l&&(te.value=l.label,ue.value=l.value)}function Me(e){const l=Se.value[Number(e.detail.value)];l&&(se.value=l.label,re.value=l.value)}function Re(e){const l=xe.value[Number(e.detail.value)];l&&(ce.value=l.label,de.value=l.value)}function De(e){return Z(e)}function Le(e){const l=Number(e.sort);return Number.isFinite(l)?l:0}function Ue(e,l){const a=Le(e)-Le(l);return 0!==a?a:e.id-l.id}const qe=v(()=>{var e;const l=i.value.trim();return((null==(e=t.value)?void 0:e.map_venues)??[]).filter(e=>{if(c.value&&!J(String(e.district||""),c.value))return!1;if(ae.value&&!De(e).includes(ae.value))return!1;if(ue.value&&(e.appointment_type||"")!==ue.value)return!1;if(re.value&&(e.open_mode||"")!==re.value)return!1;if("free"===de.value&&"free"!==(e.ticket_type||""))return!1;if("paid"===de.value&&"paid"!==(e.ticket_type||""))return!1;if(l){if(!`${e.name||""}${e.address||""}`.includes(l))return!1}return!0})}),Ve=v(()=>[...qe.value].sort(Ue)),Be=v(()=>{var e,l;const a=null==(e=c.value)?void 0:e.trim();return a?((null==(l=t.value)?void 0:l.map_venues)??[]).filter(e=>J(String(e.district||""),a)):[]}),Ee=v(()=>{var e;if(!(null==(e=c.value)?void 0:e.trim()))return null;const l=c.value.trim(),a=K(l);if(null==a?void 0:a.length)return a;const t=W(Be.value.map(e=>({lat:e.lat,lng:e.lng})));return t&&t.length>=3?[t]:null}),Ge=v(()=>{const e=Ee.value;return(null==e?void 0:e.length)?e.map(e=>({points:e,strokeWidth:2,strokeColor:"#05C9ACE6",fillColor:"#05C9AC14",zIndex:5})):[]}),He=v(()=>{var e;if(!(null==(e=c.value)?void 0:e.trim()))return[];const l=Ee.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});for(const t of Ve.value)a.push({latitude:t.lat,longitude:t.lng});return a});function Je(e,l){if(!e.length)return[];let a=1/0,t=-1/0,u=1/0,s=-1/0;for(const c of e)c.latitudet&&(t=c.latitude),c.longitudes&&(s=c.longitude);if(!Number.isFinite(a)||t<=a||!Number.isFinite(u)||s<=u)return e.map(e=>({...e}));const n=(a+t)/2,o=(u+s)/2,i=(t-a)/2*l,r=(s-u)/2*l;return[{latitude:n-i,longitude:o-r},{latitude:n-i,longitude:o+r},{latitude:n+i,longitude:o-r},{latitude:n+i,longitude:o+r}]}const Ke=v(()=>{var e;if(null==(e=c.value)?void 0:e.trim()){const e=He.value;if(e.length)return Je(e,.9)}return Je(function(e=ie){const l=oe,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}]}(),.9)}),We=v(()=>{var e;if((null==(e=c.value)?void 0:e.trim())&&He.value.length)try{const e=y(48);return[e,e,e,e]}catch{return[16,16,16,16]}}),Xe=v(()=>!!(c.value||ae.value||ue.value||re.value||de.value||i.value.trim())),Ye=v(()=>null==ve.value?null:qe.value.find(e=>e.id===ve.value)??null);function Oe(e){var l,a;return ee(e,null==(a=null==(l=t.value)?void 0:l.venue_dicts)?void 0:a.venue_type)}f([Ve,Xe,c,Ee],()=>{var e;const l=Ee.value;if((null==(e=c.value)?void 0:e.trim())&&(null==l?void 0:l.length)){const e=X(l);return void(s.value={latitude:e.latitude,longitude:e.longitude})}ml()}),f(qe,e=>{null==ve.value||e.some(e=>e.id===ve.value)||(ve.value=null)}),f(o,e=>{"list"===e&&(ve.value=null),"map"===e&&(n.value=12)});let Qe=null;f([Ve,Xe],()=>{Qe&&(clearTimeout(Qe),Qe=null),"map"===o.value&&(!Xe.value||Ve.value.length>0||(Qe=setTimeout(()=>{Qe=null,u({title:"暂无符合条件的场馆",icon:"none",duration:2e3})},150)))});const Ze=Math.round(8064/246),el=v(()=>{const e=n.value>=14;return Ve.value.map(l=>{const a=Y(l,()=>function(e){var l,a;if(!e)return"#05c9ac";const u=Z(e)[0];if(u&&(null==(a=null==(l=t.value)?void 0:l.venue_dicts)?void 0:a.venue_type)){const e=t.value.venue_dicts.venue_type.find(e=>e.value===u);if(null==e?void 0:e.color)return e.color}return e.venue_type_color||"#05c9ac"}(l)),u=O(a),s={id:l.id,latitude:l.lat,longitude:l.lng,width:32,height:Ze,iconPath:u,anchor:{x:.5,y:1}},n=(l.name||"").trim();return e&&n&&(s.label={content:n,color:"#1d2129",fontSize:11,bgColor:"rgba(255,255,255,0.92)",padding:3,borderRadius:4,anchorX:0,anchorY:-4}),s})});function ll(e){var l;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)&&(n.value=t)}let al=!1;function tl(e){var l;const a=null==(l=null==e?void 0:e.detail)?void 0:l.markerId;null!=a&&(ve.value=Number(a),al=!0,setTimeout(()=>{al=!1},400))}function ul(){al||(ve.value=null)}function sl(){ve.value=null}function nl(e){e&&L({url:`/pages/venue/detail?id=${e}`})}function ol(){L({url:"/pages/stats/index"})}function il(){U({url:"/pages/activity/index"})}function rl(){L({url:"/pages/discover/index"})}function cl(e){const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:H(e.start_at,e.end_at)}function dl(e){return"ended"!==cl(e)&&!0===e.is_bookable}function vl(e){return G(cl(e))}function fl(e){return`st-${cl(e)}`}function ml(){s.value={latitude:oe.lat,longitude:oe.lng}}async function _l(){a.value=!0;try{const l=await e.get("/h5/home",{},{withAuth:!1});t.value=l,ml(),await g({title:"苏州市科普场馆地图",desc:"热门活动、研学线路与场馆导览"}).catch(()=>{})}catch(l){u({title:(null==l?void 0:l.message)||"加载首页失败",icon:"none"})}finally{a.value=!1}}return m(async()=>{await ne()&&await _l()}),(e,l)=>{const u=h,c=C,d=$,v=z,f=A,m=M,g=w;return b(),_(u,{class:"page-root"},{default:p(()=>[k(g,{"scroll-y":"",class:"page"},{default:p(()=>[k(u,{class:"hero"},{default:p(()=>[k(u,{class:"hero-brand"}),k(u,{class:"hero-content"},{default:p(()=>[k(u,{class:"stat-card"},{default:p(()=>[k(u,{class:"stat-main"},{default:p(()=>[k(u,{class:"stat-left"},{default:p(()=>[k(c,{class:"stat-label"},{default:p(()=>[S("在馆实时总人数")]),_:1}),k(c,{class:"stat-num"},{default:p(()=>[S(x(ye.value)+" 人",1)]),_:1})]),_:1}),k(u,{class:"stat-right"},{default:p(()=>[k(u,{class:"live-list"},{default:p(()=>[(b(!0),F(I,null,N(be.value,(e,l)=>(b(),_(u,{key:"live-"+l,class:P(["live-venue-row",{"is-empty":e.empty}]),onClick:j(l=>{var a;(a=e).empty||nl(a.id)},["stop"])},{default:p(()=>[k(u,{class:"live-row-one"},{default:p(()=>[k(c,{class:"live-top"},{default:p(()=>[S("Top "+x(l+1),1)]),_:2},1024),k(c,{class:"live-name"},{default:p(()=>[S(x(e.empty?"—":e.name),1)]),_:2},1024),k(c,{class:"live-count"},{default:p(()=>[S(x(e.empty?"—":e.people_count+" 人"),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),k(u,{class:"stat-foot",onClick:j(ol,["stop"])},{default:p(()=>[k(c,{class:"stat-foot-link"},{default:p(()=>[S("客流量统计 >")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),k(u,{class:"map-section"},{default:p(()=>[k(u,{class:"toolbar"},{default:p(()=>[k(u,{class:"tabs"},{default:p(()=>[k(c,{class:P(["tab",{on:"map"===o.value}]),onClick:l[0]||(l[0]=e=>o.value="map")},{default:p(()=>[S("地图")]),_:1},8,["class"]),k(c,{class:P(["tab",{on:"list"===o.value}]),onClick:l[1]||(l[1]=e=>o.value="list")},{default:p(()=>[S("列表")]),_:1},8,["class"])]),_:1}),k(u,{class:"search-wrap"},{default:p(()=>[k(d,{modelValue:i.value,"onUpdate:modelValue":l[2]||(l[2]=e=>i.value=e),class:"search-input",placeholder:"请输入你要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),k(v,{class:"search-icon-img",src:T(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),k(u,{class:"filters"},{default:p(()=>[k(f,{mode:"selector",range:ke.value,"range-key":"label",value:Ie.value,onChange:ze},{default:p(()=>[k(u,{class:"f-item"},{default:p(()=>[k(c,{class:"f-item-text"},{default:p(()=>[S(x(r.value),1)]),_:1}),k(v,{class:"f-item-arrow",src:T(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),k(f,{mode:"selector",range:we.value,"range-key":"label",value:Ne.value,onChange:Te},{default:p(()=>[k(u,{class:"f-item"},{default:p(()=>[k(c,{class:"f-item-text"},{default:p(()=>[S(x(le.value),1)]),_:1}),k(v,{class:"f-item-arrow",src:T(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),k(f,{mode:"selector",range:Ce.value,"range-key":"label",value:je.value,onChange:Ae},{default:p(()=>[k(u,{class:"f-item"},{default:p(()=>[k(c,{class:"f-item-text"},{default:p(()=>[S(x(te.value),1)]),_:1}),k(v,{class:"f-item-arrow",src:T(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),k(f,{mode:"selector",range:Se.value,"range-key":"label",value:Pe.value,onChange:Me},{default:p(()=>[k(u,{class:"f-item"},{default:p(()=>[k(c,{class:"f-item-text"},{default:p(()=>[S(x(se.value),1)]),_:1}),k(v,{class:"f-item-arrow",src:T(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),k(f,{mode:"selector",range:xe.value,"range-key":"label",value:$e.value,onChange:Re},{default:p(()=>[k(u,{class:"f-item"},{default:p(()=>[k(c,{class:"f-item-text"},{default:p(()=>[S(x(ce.value),1)]),_:1}),k(v,{class:"f-item-arrow",src:T(B),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1}),"map"===o.value?(b(),_(u,{key:0,class:"map-wrap"},{default:p(()=>[k(m,{class:"main-map",latitude:s.value.latitude,longitude:s.value.longitude,markers:el.value,scale:n.value,polygons:Ge.value,"include-points":Ke.value,padding:We.value,"enable-3D":!1,"enable-poi":!1,"enable-building":!1,"enable-traffic":!1,"show-compass":!1,onRegionchange:ll,onMarkertap:tl,onTap:ul},null,8,["latitude","longitude","markers","scale","polygons","include-points","padding"]),Ye.value?(b(),_(u,{key:0,class:"venue-sheet",onClick:l[4]||(l[4]=j(()=>{},["stop"]))},{default:p(()=>[k(u,{class:"venue-sheet-inner"},{default:p(()=>[k(u,{class:"sheet-bar"}),k(u,{class:"sheet-row"},{default:p(()=>[k(v,{class:"sheet-cover",src:Ye.value.image||T(q),mode:"aspectFill"},null,8,["src"]),k(u,{class:"sheet-main"},{default:p(()=>[k(c,{class:"sheet-name"},{default:p(()=>[S(x(Ye.value.name),1)]),_:1}),De(Ye.value).length||Ye.value.ticket_type||Ye.value.open_mode?(b(),_(u,{key:0,class:"sheet-meta"},{default:p(()=>[(b(!0),F(I,null,N(De(Ye.value),(e,l)=>(b(),_(c,{key:"svm-"+l,class:"sheet-type",style:R(T(Q)(Oe(e)))},{default:p(()=>[S(x(pe(e)||e),1)]),_:2},1032,["style"]))),128)),Ye.value.ticket_type?(b(),_(c,{key:0,class:P(["sheet-ticket","paid"===Ye.value.ticket_type?"paid":"free"])},{default:p(()=>[S(x(ge(Ye.value.ticket_type)),1)]),_:1},8,["class"])):D("",!0),Ye.value.open_mode?(b(),_(c,{key:1,class:"open-mode-tag"},{default:p(()=>[S(x(he(Ye.value.open_mode)),1)]),_:1})):D("",!0)]),_:1})):D("",!0)]),_:1})]),_:1}),k(u,{class:"sheet-actions"},{default:p(()=>[k(u,{class:"sheet-btn ghost",onClick:sl},{default:p(()=>[S("关闭")]),_:1}),k(u,{class:"sheet-btn primary",onClick:l[3]||(l[3]=e=>nl(Ye.value.id))},{default:p(()=>[S("详情")]),_:1})]),_:1})]),_:1})]),_:1})):D("",!0)]),_:1})):(b(),_(g,{key:1,"scroll-y":"",class:"venue-list-scroll"},{default:p(()=>[(b(!0),F(I,null,N(Ve.value,e=>(b(),_(u,{key:e.id,class:"venue-row",onClick:l=>nl(e.id)},{default:p(()=>[k(v,{class:"venue-thumb",src:e.image||T(q),mode:"aspectFill"},null,8,["src"]),k(u,{class:"venue-info"},{default:p(()=>[k(c,{class:"venue-name"},{default:p(()=>[S(x(e.name),1)]),_:2},1024),De(e).length||e.ticket_type||e.open_mode?(b(),_(u,{key:0,class:"venue-meta"},{default:p(()=>[(b(!0),F(I,null,N(De(e),(l,a)=>(b(),_(c,{key:"vml-"+e.id+"-"+a,class:"venue-type-pill",style:R(T(Q)(Oe(l)))},{default:p(()=>[S(x(pe(l)||l),1)]),_:2},1032,["style"]))),128)),e.ticket_type?(b(),_(c,{key:0,class:P(["venue-ticket-pill","paid"===e.ticket_type?"paid":"free"])},{default:p(()=>[S(x(ge(e.ticket_type)),1)]),_:2},1032,["class"])):D("",!0),e.open_mode?(b(),_(c,{key:1,class:"open-mode-tag"},{default:p(()=>[S(x(he(e.open_mode)),1)]),_:2},1024)):D("",!0)]),_:2},1024)):D("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),Ve.value.length?D("",!0):(b(),_(u,{key:0,class:"empty-tip"},{default:p(()=>[S(x(Xe.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1}))]),_:1}),k(u,{class:"section"},{default:p(()=>[k(u,{class:"sec-head"},{default:p(()=>[k(u,{class:"sec-bar"}),k(c,{class:"sec-title"},{default:p(()=>[S("热门活动")]),_:1}),k(c,{class:"sec-more",onClick:il},{default:p(()=>[S("更多 >")]),_:1})]),_:1}),k(g,{"scroll-x":"",class:"act-scroll","show-scrollbar":!1,"enable-flex":!0},{default:p(()=>[k(u,{class:"act-scroll-row"},{default:p(()=>{var e;return[(b(!0),F(I,null,N((null==(e=t.value)?void 0:e.hot_activities)??[],e=>(b(),_(u,{key:e.id,class:"act-card",onClick:l=>{return a=e.id,void L({url:`/pages/activity/detail?id=${a}`});var a}},{default:p(()=>[k(u,{class:"act-img-wrap"},{default:p(()=>[k(v,{class:"act-img",src:e.image||T(q),mode:"aspectFill"},null,8,["src"]),k(u,{class:P(["act-schedule-tag",fl(e)])},{default:p(()=>[S(x(vl(e)),1)]),_:2},1032,["class"]),dl(e)?(b(),_(u,{key:0,class:"act-book-badge is-bookable"},{default:p(()=>[k(c,{class:"act-book-text is-bookable"},{default:p(()=>[S("可预约")]),_:1})]),_:1})):D("",!0)]),_:2},1024),k(u,{class:"act-body"},{default:p(()=>[k(c,{class:"act-title"},{default:p(()=>[S(x(e.title),1)]),_:2},1024),k(u,{class:"act-tags"},{default:p(()=>[(b(!0),F(I,null,N((e.tags||[]).slice(0,4),(l,a)=>(b(),_(c,{key:"tag-"+e.id+"-"+a,class:"act-tag-chip"},{default:p(()=>[S(x(l),1)]),_:2},1024))),128))]),_:2},1024),k(c,{class:"act-meta"},{default:p(()=>[S(x(T(E)(e.start_at,e.end_at)),1)]),_:2},1024),k(c,{class:"act-meta"},{default:p(()=>[S(x(e.venue_name||e.address||"苏州"),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})]),_:1})]),_:1}),k(u,{class:"section"},{default:p(()=>{var e;return[k(u,{class:"sec-head"},{default:p(()=>[k(u,{class:"sec-bar"}),k(c,{class:"sec-title"},{default:p(()=>[S("科普四季研学线路推荐")]),_:1}),k(c,{class:"sec-more",onClick:rl},{default:p(()=>[S("更多 >")]),_:1})]),_:1}),(b(!0),F(I,null,N((null==(e=t.value)?void 0:e.study_tours)??[],e=>(b(),_(u,{key:e.id,class:"tour-card",onClick:l=>{return a=e.id,void L({url:`/pages/study-tour/detail?id=${a}`});var a}},{default:p(()=>[k(u,{class:"tour-img-wrap"},{default:p(()=>[k(v,{class:"tour-img",src:e.cover_image||T(q),mode:"aspectFill"},null,8,["src"])]),_:2},1024),k(u,{class:"tour-body"},{default:p(()=>{var l;return[k(c,{class:"tour-title"},{default:p(()=>[S(x(e.name),1)]),_:2},1024),k(u,{class:"tour-stops-timeline"},{default:p(()=>[(b(!0),F(I,null,N(e.venue_names,(l,a)=>(b(),_(u,{key:"v-"+e.id+"-"+a,class:"tour-stop-row"},{default:p(()=>[k(u,{class:"tour-timeline-axis"},{default:p(()=>[k(u,{class:"tour-dot-cell"},{default:p(()=>[k(u,{class:"tour-tl-dot"})]),_:1}),a[S(x(l),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(l=e.tags)?void 0:l.length)?(b(),_(u,{key:0,class:"tour-tags-row"},{default:p(()=>[(b(!0),F(I,null,N(e.tags,(l,a)=>(b(),_(c,{key:"t-"+e.id+"-"+a,class:"tour-tag"},{default:p(()=>[S(x(l),1)]),_:2},1024))),128))]),_:2},1024)):D("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1}),k(u,{class:"bottom-safe"}),a.value?(b(),_(u,{key:0,class:"loading-mask"},{default:p(()=>[S("加载中...")]),_:1})):D("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-1b1c33a5"]]);export{re as default}; diff --git a/public/h5/assets/pages-map-index.CUzhLL1B.js b/public/h5/assets/pages-map-index.CUzhLL1B.js deleted file mode 100644 index 5c4da35..0000000 --- a/public/h5/assets/pages-map-index.CUzhLL1B.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,e as a,f as l,o as u,j as t,k as s,m as r,n,p as v,I as o,D as c,E as i,G as d,t as m,v as f,x as p,y as _,F as b,z as g,H as y,C as k,J as h,K as x}from"./index-DBg2bUhq.js";import{g as w,a as C}from"./content.tJrjcqQa.js";import{P as N}from"./poster.DLiVsUXX.js";import{s as j}from"./search.BJnl3YRK.js";import{d as F}from"./down.BCKq9i8s.js";import{v as I,c as V,a as $}from"./venueThemeColors.ByZn0VY6.js";import{_ as P}from"./_plugin-vue_export-helper.BCo6x5W8.js";const z=P(e({__name:"index",setup(e){const P=a([]),z=a(null),D=a(""),E=a("区域"),G=a(""),H=a("主题"),J=a(""),K=a("参观形式"),T=a(""),U=a("开放模式"),q=a(""),A=a("收费类型"),B=a(""),L=l(()=>{var e;return[{label:"区域",value:""},...((null==(e=z.value)?void 0:e.district)??[]).map(e=>({label:e.label,value:e.value}))]}),M=l(()=>{var e;return[{label:"主题",value:""},...((null==(e=z.value)?void 0:e.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),O=l(()=>{var e;return[{label:"参观形式",value:""},...((null==(e=z.value)?void 0:e.venue_appointment_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Q=l(()=>{var e;return[{label:"开放模式",value:""},...((null==(e=z.value)?void 0:e.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),R=l(()=>{var e;return[{label:"收费类型",value:""},...((null==(e=z.value)?void 0:e.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function S(e){return $(e)}const W=l(()=>{var e;const a={};for(const l of(null==(e=z.value)?void 0:e.venue_type)??[])a[l.value]=l.label;return a}),X=l(()=>{var e;const a={};for(const l of(null==(e=z.value)?void 0:e.ticket_type)??[])a[l.value]=l.label;return a}),Y=l(()=>{var e;const a={};for(const l of(null==(e=z.value)?void 0:e.venue_open_mode)??[])a[l.value]=l.label;return a});const Z=l(()=>{const e=D.value.trim();return P.value.filter(a=>{if(G.value&&(a.district||"")!==G.value)return!1;if(J.value&&!S(a).includes(J.value))return!1;if(T.value&&(a.appointment_type||"")!==T.value)return!1;if(q.value&&(a.open_mode||"")!==q.value)return!1;if("free"===B.value&&"free"!==(a.ticket_type||""))return!1;if("paid"===B.value&&"paid"!==(a.ticket_type||""))return!1;if(e){if(!`${a.name||""}${a.address||""}`.includes(e))return!1}return!0})});function ee(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 ae=l(()=>[...Z.value].sort(ee));function le(e,a){const l=e.findIndex(e=>e.value===a);return l>=0?l:0}const ue=l(()=>le(L.value,G.value)),te=l(()=>le(M.value,J.value)),se=l(()=>le(O.value,T.value)),re=l(()=>le(Q.value,q.value)),ne=l(()=>le(R.value,B.value));function ve(e){const a=L.value[Number(e.detail.value)];a&&(E.value=a.label,G.value=a.value)}function oe(e){const a=M.value[Number(e.detail.value)];a&&(H.value=a.label,J.value=a.value)}function ce(e){const a=O.value[Number(e.detail.value)];a&&(K.value=a.label,T.value=a.value)}function ie(e){const a=Q.value[Number(e.detail.value)];a&&(U.value=a.label,q.value=a.value)}function de(e){const a=R.value[Number(e.detail.value)];a&&(A.value=a.label,B.value=a.value)}const me=l(()=>!!(G.value||J.value||T.value||q.value||B.value||D.value.trim()));return u(()=>{!async function(){const[e,a]=await Promise.all([w(),C()]);z.value=e,P.value=a||[]}()}),(e,a)=>{const l=o,u=c,w=r,C=m,$=d;return n(),t(w,{class:"page"},{default:s(()=>[v(w,{class:"map-section"},{default:s(()=>[v(w,{class:"toolbar"},{default:s(()=>[v(w,{class:"search-wrap"},{default:s(()=>[v(l,{modelValue:D.value,"onUpdate:modelValue":a[0]||(a[0]=e=>D.value=e),class:"search-input",placeholder:"请输入你要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),v(u,{class:"search-icon-img",src:i(j),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),v(w,{class:"filters"},{default:s(()=>[v($,{mode:"selector",range:L.value,"range-key":"label",value:ue.value,onChange:ve},{default:s(()=>[v(w,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(E.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:i(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v($,{mode:"selector",range:M.value,"range-key":"label",value:te.value,onChange:oe},{default:s(()=>[v(w,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(H.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:i(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v($,{mode:"selector",range:O.value,"range-key":"label",value:se.value,onChange:ce},{default:s(()=>[v(w,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(K.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:i(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v($,{mode:"selector",range:Q.value,"range-key":"label",value:re.value,onChange:ie},{default:s(()=>[v(w,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(U.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:i(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v($,{mode:"selector",range:R.value,"range-key":"label",value:ne.value,onChange:de},{default:s(()=>[v(w,{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:i(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1})]),_:1}),v(w,{class:"list"},{default:s(()=>[(n(!0),_(b,null,g(ae.value,e=>(n(),t(w,{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||i(N),mode:"aspectFill"},null,8,["src"]),v(w,{class:"body"},{default:s(()=>[v(w,{class:"name"},{default:s(()=>[f(p(e.name),1)]),_:2},1024),S(e).length||e.ticket_type||e.open_mode?(n(),t(w,{key:0,class:"meta-row"},{default:s(()=>[(n(!0),_(b,null,g(S(e),(a,l)=>{var u;return n(),t(C,{key:"vt-"+e.id+"-"+l,class:"meta-pill",style:y(i(I)(i(V)(a,null==(u=z.value)?void 0:u.venue_type)))},{default:s(()=>{return[f(p((e=a,(e?W.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?X.value[a]||a:"")),1)];var a}),_:2},1032,["class"])):h("",!0),e.open_mode?(n(),t(C,{key:1,class:"open-mode-tag"},{default:s(()=>{return[f(p((a=e.open_mode,a?Y.value[a]||a:"")),1)];var a}),_:2},1024)):h("",!0)]),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),ae.value.length?h("",!0):(n(),t(w,{key:0,class:"empty-tip"},{default:s(()=>[f(p(me.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-d1672bdc"]]);export{z as default}; diff --git a/public/h5/assets/pages-map-index.XxvGOfwf.js b/public/h5/assets/pages-map-index.XxvGOfwf.js new file mode 100644 index 0000000..6f93590 --- /dev/null +++ b/public/h5/assets/pages-map-index.XxvGOfwf.js @@ -0,0 +1 @@ +import{d as e,e as a,f as l,o as u,j as t,k as s,m as r,n,p as v,I as o,D as i,E as c,G as d,t as m,v as f,x as p,y as _,F as b,z as g,H as y,C as k,J as h,K as x}from"./index-BQ-ey0LP.js";import{g as j,a as w}from"./content.6JrrMb8t.js";import{P as C}from"./poster.DLiVsUXX.js";import{s as N}from"./search.BJnl3YRK.js";import{d as F}from"./down.BCKq9i8s.js";import{v as I,c as P,a as V}from"./venueThemeColors.ByZn0VY6.js";import{v as $}from"./suzhouDistrictPolygons.srVEtVX-.js";import{_ as z}from"./_plugin-vue_export-helper.BCo6x5W8.js";const D=z(e({__name:"index",setup(e){const z=a([]),D=a(null),E=a(""),G=a("区域"),H=a(""),J=a("主题"),K=a(""),S=a("参观形式"),T=a(""),U=a("开放模式"),q=a(""),A=a("收费类型"),B=a(""),L=l(()=>{var e;return[{label:"区域",value:""},...((null==(e=D.value)?void 0:e.district)??[]).map(e=>({label:e.label,value:e.value}))]}),M=l(()=>{var e;return[{label:"主题",value:""},...((null==(e=D.value)?void 0:e.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),O=l(()=>{var e;return[{label:"参观形式",value:""},...((null==(e=D.value)?void 0:e.venue_appointment_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Q=l(()=>{var e;return[{label:"开放模式",value:""},...((null==(e=D.value)?void 0:e.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),R=l(()=>{var e;return[{label:"收费类型",value:""},...((null==(e=D.value)?void 0:e.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function W(e){return V(e)}const X=l(()=>{var e;const a={};for(const l of(null==(e=D.value)?void 0:e.venue_type)??[])a[l.value]=l.label;return a}),Y=l(()=>{var e;const a={};for(const l of(null==(e=D.value)?void 0:e.ticket_type)??[])a[l.value]=l.label;return a}),Z=l(()=>{var e;const a={};for(const l of(null==(e=D.value)?void 0:e.venue_open_mode)??[])a[l.value]=l.label;return a});const ee=l(()=>{const e=E.value.trim();return z.value.filter(a=>{if(H.value&&!$(String(a.district||""),H.value))return!1;if(K.value&&!W(a).includes(K.value))return!1;if(T.value&&(a.appointment_type||"")!==T.value)return!1;if(q.value&&(a.open_mode||"")!==q.value)return!1;if("free"===B.value&&"free"!==(a.ticket_type||""))return!1;if("paid"===B.value&&"paid"!==(a.ticket_type||""))return!1;if(e){if(!`${a.name||""}${a.address||""}`.includes(e))return!1}return!0})});function ae(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 le=l(()=>[...ee.value].sort(ae));function ue(e,a){const l=e.findIndex(e=>e.value===a);return l>=0?l:0}const te=l(()=>ue(L.value,H.value)),se=l(()=>ue(M.value,K.value)),re=l(()=>ue(O.value,T.value)),ne=l(()=>ue(Q.value,q.value)),ve=l(()=>ue(R.value,B.value));function oe(e){const a=L.value[Number(e.detail.value)];a&&(G.value=a.label,H.value=a.value)}function ie(e){const a=M.value[Number(e.detail.value)];a&&(J.value=a.label,K.value=a.value)}function ce(e){const a=O.value[Number(e.detail.value)];a&&(S.value=a.label,T.value=a.value)}function de(e){const a=Q.value[Number(e.detail.value)];a&&(U.value=a.label,q.value=a.value)}function me(e){const a=R.value[Number(e.detail.value)];a&&(A.value=a.label,B.value=a.value)}const fe=l(()=>!!(H.value||K.value||T.value||q.value||B.value||E.value.trim()));return u(()=>{!async function(){const[e,a]=await Promise.all([j(),w()]);D.value=e,z.value=a||[]}()}),(e,a)=>{const l=o,u=i,j=r,w=m,V=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:E.value,"onUpdate:modelValue":a[0]||(a[0]=e=>E.value=e),class:"search-input",placeholder:"请输入你要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),v(u,{class:"search-icon-img",src:c(N),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),v(j,{class:"filters"},{default:s(()=>[v(V,{mode:"selector",range:L.value,"range-key":"label",value:te.value,onChange:oe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(w,{class:"f-item-text"},{default:s(()=>[f(p(G.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(V,{mode:"selector",range:M.value,"range-key":"label",value:se.value,onChange:ie},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(w,{class:"f-item-text"},{default:s(()=>[f(p(J.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(V,{mode:"selector",range:O.value,"range-key":"label",value:re.value,onChange:ce},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(w,{class:"f-item-text"},{default:s(()=>[f(p(S.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(V,{mode:"selector",range:Q.value,"range-key":"label",value:ne.value,onChange:de},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(w,{class:"f-item-text"},{default:s(()=>[f(p(U.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(V,{mode:"selector",range:R.value,"range-key":"label",value:ve.value,onChange:me},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(w,{class:"f-item-text"},{default:s(()=>[f(p(A.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1})]),_:1}),v(j,{class:"list"},{default:s(()=>[(n(!0),_(b,null,g(le.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(C),mode:"aspectFill"},null,8,["src"]),v(j,{class:"body"},{default:s(()=>[v(j,{class:"name"},{default:s(()=>[f(p(e.name),1)]),_:2},1024),W(e).length||e.ticket_type||e.open_mode?(n(),t(j,{key:0,class:"meta-row"},{default:s(()=>[(n(!0),_(b,null,g(W(e),(a,l)=>{var u;return n(),t(w,{key:"vt-"+e.id+"-"+l,class:"meta-pill",style:y(c(I)(c(P)(a,null==(u=D.value)?void 0:u.venue_type)))},{default:s(()=>{return[f(p((e=a,(e?X.value[e]||e:"")||a)),1)];var e}),_:2},1032,["style"])}),128)),e.ticket_type?(n(),t(w,{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?Y.value[a]||a:"")),1)];var a}),_:2},1032,["class"])):h("",!0),e.open_mode?(n(),t(w,{key:1,class:"open-mode-tag"},{default:s(()=>{return[f(p((a=e.open_mode,a?Z.value[a]||a:"")),1)];var a}),_:2},1024)):h("",!0)]),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),le.value.length?h("",!0):(n(),t(j,{key:0,class:"empty-tip"},{default:s(()=>[f(p(fe.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-9d02f903"]]);export{D as default}; diff --git a/public/h5/assets/pages-mine-index.BLny6hwl.js b/public/h5/assets/pages-mine-index.8EOB1SXX.js similarity index 92% rename from public/h5/assets/pages-mine-index.BLny6hwl.js rename to public/h5/assets/pages-mine-index.8EOB1SXX.js index 72f3b33..adb81ac 100644 --- a/public/h5/assets/pages-mine-index.BLny6hwl.js +++ b/public/h5/assets/pages-mine-index.8EOB1SXX.js @@ -1 +1 @@ -import{d as a,e as l,Q as e,j as s,k as n,g as u,S as t,m as o,n as r,p as c,D as i,v as d,x as f,t as p,K as _}from"./index-DBg2bUhq.js";import{g as v,l as m}from"./localProfile.LbgzO0uJ.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=h(a({__name:"index",setup(a){const h=l("游客"),k=l(""),g=l("");function x(a){return a&&11===a.length?`${a.slice(0,3)}****${a.slice(7)}`:a||""}function j(){_({url:"/pages/mine/profile"})}function y(){_({url:"/pages/mine/orders"})}return e(()=>{!async function(){var a;if(u(t.accessToken))try{const a=await v();return h.value=(a.real_name||a.nickname||"用户").trim()||"用户",k.value=a.phone?x(a.phone):"",void(g.value=a.avatar_url||"")}catch{}const l=m();h.value=(null==(a=null==l?void 0:l.real_name)?void 0:a.trim())||"游客",k.value=(null==l?void 0:l.phone)?x(l.phone):"",g.value=(null==l?void 0:l.avatar_url)||""}()}),(a,l)=>{const e=i,u=o,t=p;return r(),s(u,{class:"page"},{default:n(()=>[c(u,{class:"header"},{default:n(()=>[c(u,{class:"profile",onClick:j},{default:n(()=>[g.value?(r(),s(e,{key:0,class:"avatar",src:g.value,mode:"aspectFill"},null,8,["src"])):(r(),s(u,{key:1,class:"avatar placeholder"})),c(u,{class:"profile-info"},{default:n(()=>[c(u,{class:"name"},{default:n(()=>[d(f(h.value),1)]),_:1}),c(u,{class:"phone"},{default:n(()=>[d(f(k.value||"完善信息方便预约"),1)]),_:1})]),_:1})]),_:1})]),_:1}),c(u,{class:"panel"},{default:n(()=>[c(u,{class:"menu-item",onClick:j},{default:n(()=>[c(t,null,{default:n(()=>[d("我的信息")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1}),c(u,{class:"menu-item",onClick:y},{default:n(()=>[c(t,null,{default:n(()=>[d("预约记录")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-0d216b84"]]);export{k as default}; +import{d as a,e as l,Q as e,j as s,k as n,g as u,S as t,m as o,n as r,p as c,D as i,v as d,x as f,t as p,K as _}from"./index-BQ-ey0LP.js";import{g as v,l as m}from"./localProfile.zmQ0g_RY.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=h(a({__name:"index",setup(a){const h=l("游客"),k=l(""),g=l("");function x(a){return a&&11===a.length?`${a.slice(0,3)}****${a.slice(7)}`:a||""}function j(){_({url:"/pages/mine/profile"})}function y(){_({url:"/pages/mine/orders"})}return e(()=>{!async function(){var a;if(u(t.accessToken))try{const a=await v();return h.value=(a.real_name||a.nickname||"用户").trim()||"用户",k.value=a.phone?x(a.phone):"",void(g.value=a.avatar_url||"")}catch{}const l=m();h.value=(null==(a=null==l?void 0:l.real_name)?void 0:a.trim())||"游客",k.value=(null==l?void 0:l.phone)?x(l.phone):"",g.value=(null==l?void 0:l.avatar_url)||""}()}),(a,l)=>{const e=i,u=o,t=p;return r(),s(u,{class:"page"},{default:n(()=>[c(u,{class:"header"},{default:n(()=>[c(u,{class:"profile",onClick:j},{default:n(()=>[g.value?(r(),s(e,{key:0,class:"avatar",src:g.value,mode:"aspectFill"},null,8,["src"])):(r(),s(u,{key:1,class:"avatar placeholder"})),c(u,{class:"profile-info"},{default:n(()=>[c(u,{class:"name"},{default:n(()=>[d(f(h.value),1)]),_:1}),c(u,{class:"phone"},{default:n(()=>[d(f(k.value||"完善信息方便预约"),1)]),_:1})]),_:1})]),_:1})]),_:1}),c(u,{class:"panel"},{default:n(()=>[c(u,{class:"menu-item",onClick:j},{default:n(()=>[c(t,null,{default:n(()=>[d("我的信息")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1}),c(u,{class:"menu-item",onClick:y},{default:n(()=>[c(t,null,{default:n(()=>[d("预约记录")]),_:1}),c(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.CrIFT6f1.js b/public/h5/assets/pages-mine-orders.PlDVko7R.js similarity index 63% rename from public/h5/assets/pages-mine-orders.CrIFT6f1.js rename to public/h5/assets/pages-mine-orders.PlDVko7R.js index 644f79e..270ae2b 100644 --- a/public/h5/assets/pages-mine-orders.CrIFT6f1.js +++ b/public/h5/assets/pages-mine-orders.PlDVko7R.js @@ -1 +1 @@ -import{d as e,e as a,f as l,o as t,j as s,k as i,g as n,S as c,s as u,m as o,n as d,p as r,t as v,v as f,I as p,R as _,x as m,C as y,y as k,F as g,z as h,E as x,B as C,J as b,K as $,V as j}from"./index-DBg2bUhq.js";import{d as w,e as V}from"./content.tJrjcqQa.js";import{f as I,a as T,i as R}from"./datetime.BfIJTcZ8.js";import{_ as U}from"./_plugin-vue_export-helper.BCo6x5W8.js";const z=U(e({__name:"orders",setup(e){const U=a(""),z=a([]),B=a(!1),E=a("all"),F=l(()=>"all"===E.value?z.value:z.value.filter(e=>e.status===E.value));function J(){return!!n(c.accessToken)}function K(e){return"pending"===e?"待核销":"verified"===e?"已核销":"cancelled"===e?"已取消":"expired"===e?"已过期":e||"-"}function S(e){var a;return"pending"===(null==e?void 0:e.status)&&!R(null==(a=null==e?void 0:e.activity_day)?void 0:a.activity_date)}async function q(){const e=/^1\d{10}$/.test(U.value);if(e||J()){B.value=!0;try{z.value=await w(e?U.value:void 0)}catch(a){u({title:(null==a?void 0:a.message)||"加载失败",icon:"none"})}finally{B.value=!1}}else u({title:"请输入手机号,或先通过微信登录",icon:"none"})}return t(()=>{J()&&q()}),(e,a)=>{const l=v,t=o,n=p,c=_;return d(),s(t,{class:"page"},{default:i(()=>[r(t,{class:"notice-top"},{default:i(()=>[r(l,{class:"notice-text"},{default:i(()=>[f("请按时到场参与活动,累计 3 次无故未履约,将限制 3 个月预约资格,感谢诚信守约。")]),_:1})]),_:1}),r(t,{class:"card"},{default:i(()=>[r(t,{class:"title"},{default:i(()=>[f("我的活动预约")]),_:1}),r(t,{class:"sub"},{default:i(()=>[f("微信登录后自动展示绑定订单;也可输入预约手机号查询。")]),_:1}),r(t,{class:"row"},{default:i(()=>[r(n,{modelValue:U.value,"onUpdate:modelValue":a[0]||(a[0]=e=>U.value=e),class:"ipt",type:"number",maxlength:"11",placeholder:"预约手机号(可选,与登录二选一)"},null,8,["modelValue"]),r(c,{class:"btn",onClick:q},{default:i(()=>[f(m(B.value?"查询中":"查询"),1)]),_:1})]),_:1}),r(t,{class:"filters"},{default:i(()=>[r(t,{class:y(["chip",{active:"all"===E.value}]),onClick:a[1]||(a[1]=e=>E.value="all")},{default:i(()=>[f("全部")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"pending"===E.value}]),onClick:a[2]||(a[2]=e=>E.value="pending")},{default:i(()=>[f("待核销")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"verified"===E.value}]),onClick:a[3]||(a[3]=e=>E.value="verified")},{default:i(()=>[f("已核销")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"cancelled"===E.value}]),onClick:a[4]||(a[4]=e=>E.value="cancelled")},{default:i(()=>[f("已取消")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"expired"===E.value}]),onClick:a[5]||(a[5]=e=>E.value="expired")},{default:i(()=>[f("已过期")]),_:1},8,["class"])]),_:1})]),_:1}),(d(!0),k(g,null,h(F.value,e=>(d(),s(t,{key:e.id,class:"order-card"},{default:i(()=>[r(t,{class:"order-top"},{default:i(()=>{return[r(t,{class:"t"},{default:i(()=>{var a;return[f(m((null==(a=e.activity)?void 0:a.title)||"-"),1)]}),_:2},1024),r(t,{class:y(["status",(a=e.status,"pending"===a?"pending":"verified"===a?"verified":"expired"===a?"expired":"cancelled")])},{default:i(()=>[f(m(K(e.status)),1)]),_:2},1032,["class"])];var a}),_:2},1024),r(t,{class:"line"},{default:i(()=>{var a;return[f("订单信息:"+m(x(I)(null==(a=e.activity_day)?void 0:a.activity_date))+" | "+m(e.ticket_count||1)+"人",1)]}),_:2},1024),r(t,{class:"line"},{default:i(()=>[f("联系人:"+m(e.visitor_name||"-")+" | "+m(e.visitor_phone||"-"),1)]),_:2},1024),r(t,{class:"line"},{default:i(()=>[f("下单时间:"+m(x(T)(e.created_at)),1)]),_:2},1024),r(t,{class:"actions"},{default:i(()=>[S(e)?(d(),s(c,{key:0,class:"btn-light mini",onClick:C(a=>async function(e,a){const l=/^1\d{10}$/.test(U.value);if(!l&&!J())return;if(!S(a))return void u({title:"当前不可取消",icon:"none"});if((await j({title:"取消预约",content:"累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。",confirmText:"确认取消",cancelText:"返回",confirmColor:"#ff7d00"})).confirm)try{await V(e,l?U.value:void 0),u({title:"取消成功",icon:"success"}),await q()}catch(t){u({title:(null==t?void 0:t.message)||"取消失败",icon:"none"})}}(e.id,e),["stop"])},{default:i(()=>[f("取消")]),_:2},1032,["onClick"])):b("",!0),r(c,{class:"btn-main mini",onClick:C(a=>function(e){const a=/^1\d{10}$/.test(U.value);if(!a&&!J())return void u({title:"请输入手机号或先登录",icon:"none"});const l=a?`&phone=${encodeURIComponent(U.value)}`:"";$({url:`/pages/mine/reservation-detail?id=${e}${l}`})}(e.id),["stop"])},{default:i(()=>[f("查看详情")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))]),_:1})}}}),[["__scopeId","data-v-ae6fbff3"]]);export{z as default}; +import{d as e,e as a,f as l,o as t,j as s,k as i,g as n,S as c,s as u,m as o,n as d,p as r,t as v,v as f,I as p,R as _,x as m,C as y,y as k,F as g,z as h,E as x,B as C,J as b,K as $,V as j}from"./index-BQ-ey0LP.js";import{d as w,e as V}from"./content.6JrrMb8t.js";import{f as I,a as T,i as R}from"./datetime.BfIJTcZ8.js";import{_ as U}from"./_plugin-vue_export-helper.BCo6x5W8.js";const q=U(e({__name:"orders",setup(e){const U=a(""),q=a([]),z=a(!1),B=a("all"),E=l(()=>"all"===B.value?q.value:q.value.filter(e=>e.status===B.value));function F(){return!!n(c.accessToken)}function J(e){return"pending"===e?"待核销":"verified"===e?"已核销":"cancelled"===e?"已取消":"expired"===e?"已过期":e||"-"}function K(e){var a;return"pending"===(null==e?void 0:e.status)&&!R(null==(a=null==e?void 0:e.activity_day)?void 0:a.activity_date)}async function S(){const e=/^1\d{10}$/.test(U.value);if(e||F()){z.value=!0;try{q.value=await w(e?U.value:void 0)}catch(a){u({title:(null==a?void 0:a.message)||"加载失败",icon:"none"})}finally{z.value=!1}}else u({title:"请输入手机号,或先通过微信登录",icon:"none"})}return t(()=>{F()&&S()}),(e,a)=>{const l=v,t=o,n=p,c=_;return d(),s(t,{class:"page"},{default:i(()=>[r(t,{class:"notice-top"},{default:i(()=>[r(l,{class:"notice-text"},{default:i(()=>[f("请按时到场参与活动,累计 3 次无故未履约,将限制 3 个月预约资格,感谢诚信守约。")]),_:1})]),_:1}),r(t,{class:"card"},{default:i(()=>[r(t,{class:"title"},{default:i(()=>[f("我的活动预约")]),_:1}),r(t,{class:"sub"},{default:i(()=>[f("微信登录后自动展示绑定订单;也可输入预约手机号查询。")]),_:1}),r(t,{class:"row"},{default:i(()=>[r(n,{modelValue:U.value,"onUpdate:modelValue":a[0]||(a[0]=e=>U.value=e),class:"ipt",type:"number",maxlength:"11",placeholder:"预约手机号(可选,与登录二选一)"},null,8,["modelValue"]),r(c,{class:"btn",onClick:S},{default:i(()=>[f(m(z.value?"查询中":"查询"),1)]),_:1})]),_:1}),r(t,{class:"filters"},{default:i(()=>[r(t,{class:y(["chip",{active:"all"===B.value}]),onClick:a[1]||(a[1]=e=>B.value="all")},{default:i(()=>[f("全部")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"pending"===B.value}]),onClick:a[2]||(a[2]=e=>B.value="pending")},{default:i(()=>[f("待核销")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"verified"===B.value}]),onClick:a[3]||(a[3]=e=>B.value="verified")},{default:i(()=>[f("已核销")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"cancelled"===B.value}]),onClick:a[4]||(a[4]=e=>B.value="cancelled")},{default:i(()=>[f("已取消")]),_:1},8,["class"]),r(t,{class:y(["chip",{active:"expired"===B.value}]),onClick:a[5]||(a[5]=e=>B.value="expired")},{default:i(()=>[f("已过期")]),_:1},8,["class"])]),_:1})]),_:1}),(d(!0),k(g,null,h(E.value,e=>(d(),s(t,{key:e.id,class:"order-card"},{default:i(()=>[r(t,{class:"order-top"},{default:i(()=>{return[r(t,{class:"t"},{default:i(()=>{var a;return[f(m((null==(a=e.activity)?void 0:a.title)||"-"),1)]}),_:2},1024),r(t,{class:y(["status",(a=e.status,"pending"===a?"pending":"verified"===a?"verified":"expired"===a?"expired":"cancelled")])},{default:i(()=>[f(m(J(e.status)),1)]),_:2},1032,["class"])];var a}),_:2},1024),r(t,{class:"line"},{default:i(()=>{var a;return[f("订单信息:"+m(x(I)(null==(a=e.activity_day)?void 0:a.activity_date))+" | "+m(e.ticket_count||1)+"人",1)]}),_:2},1024),r(t,{class:"line"},{default:i(()=>[f("联系人:"+m(e.visitor_name||"-")+" | "+m(e.visitor_phone||"-"),1)]),_:2},1024),r(t,{class:"line"},{default:i(()=>[f("下单时间:"+m(x(T)(e.created_at)),1)]),_:2},1024),r(t,{class:"actions"},{default:i(()=>[K(e)?(d(),s(c,{key:0,class:"btn-light mini",onClick:C(a=>async function(e,a){const l=/^1\d{10}$/.test(U.value);if(!l&&!F())return;if(!K(a))return void u({title:"当前不可取消",icon:"none"});if((await j({title:"取消预约",content:"累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。",confirmText:"确认取消",cancelText:"返回",confirmColor:"#ff7d00"})).confirm)try{await V(e,l?U.value:void 0),u({title:"取消成功",icon:"success"}),await S()}catch(t){u({title:(null==t?void 0:t.message)||"取消失败",icon:"none"})}}(e.id,e),["stop"])},{default:i(()=>[f("取消")]),_:2},1032,["onClick"])):b("",!0),r(c,{class:"btn-main mini",onClick:C(a=>function(e){const a=/^1\d{10}$/.test(U.value);if(!a&&!F())return void u({title:"请输入手机号或先登录",icon:"none"});const l=a?`&phone=${encodeURIComponent(U.value)}`:"";$({url:`/pages/mine/reservation-detail?id=${e}${l}`})}(e.id),["stop"])},{default:i(()=>[f("查看详情")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))]),_:1})}}}),[["__scopeId","data-v-ae6fbff3"]]);export{q as default}; diff --git a/public/h5/assets/pages-mine-profile.DLcaMSjS.js b/public/h5/assets/pages-mine-profile.BDQM_6GY.js similarity index 87% rename from public/h5/assets/pages-mine-profile.DLcaMSjS.js rename to public/h5/assets/pages-mine-profile.BDQM_6GY.js index 4e58676..9de31be 100644 --- a/public/h5/assets/pages-mine-profile.DLcaMSjS.js +++ b/public/h5/assets/pages-mine-profile.BDQM_6GY.js @@ -1 +1 @@ -import{d as a,e,o as l,j as s,k as t,g as n,S as u,m as r,n as o,v as c,p as v,D as i,x as d,t as p,I as _,R as m,s as f,T as h,a as y,U as k,c as b}from"./index-DBg2bUhq.js";import{g,l as w,u as V,s as x}from"./localProfile.LbgzO0uJ.js";import{_ as j}from"./_plugin-vue_export-helper.BCo6x5W8.js";const T=j(a({__name:"profile",setup(a){const j=e(!0),T=e(!1),U=e(!1),C=e({real_name:"",phone:"",avatar_url:""});function F(a){C.value.real_name=a.real_name||"",C.value.phone=a.phone||"",C.value.avatar_url=a.avatar_url||""}function I(){U.value?h({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:async a=>{const e=a.tempFilePaths[0];if(e)try{y({title:"上传中"});const{url:a}=await k(e);C.value.avatar_url=a}catch(l){f({title:(null==l?void 0:l.message)||"上传失败",icon:"none"})}finally{b()}}}):f({title:"请先通过微信登录后再上传头像",icon:"none"})}async function P(){if(C.value.real_name.trim())if(/^1\d{10}$/.test(C.value.phone.trim())){T.value=!0;try{const a={real_name:C.value.real_name.trim(),phone:C.value.phone.trim(),avatar_url:C.value.avatar_url||void 0};U.value&&await V(a),x({real_name:a.real_name,phone:a.phone,avatar_url:a.avatar_url}),f({title:"保存成功",icon:"success"})}catch(a){f({title:(null==a?void 0:a.message)||"保存失败",icon:"none"})}finally{T.value=!1}}else f({title:"请填写11位手机号",icon:"none"});else f({title:"请填写姓名",icon:"none"})}return l(()=>{!async function(){j.value=!0,U.value=!!n(u.accessToken);try{if(U.value)try{const a=await g();C.value.real_name=a.real_name||"",C.value.phone=a.phone||"",C.value.avatar_url=a.avatar_url||""}catch{const a=w();a&&F(a)}else{const a=w();a&&F(a)}}finally{j.value=!1}}()}),(a,e)=>{const l=r,n=i,u=p,f=_,h=m;return o(),s(l,{class:"page"},{default:t(()=>[j.value?(o(),s(l,{key:0,class:"loading"},{default:t(()=>[c("加载中…")]),_:1})):(o(),s(l,{key:1,class:"content"},{default:t(()=>[v(l,{class:"avatar-block"},{default:t(()=>[v(l,{class:"avatar-wrap",onClick:I},{default:t(()=>[C.value.avatar_url?(o(),s(n,{key:0,class:"avatar",src:C.value.avatar_url,mode:"aspectFill"},null,8,["src"])):(o(),s(l,{key:1,class:"avatar placeholder"})),v(l,{class:"avatar-tip"},{default:t(()=>[c(d(U.value?"点击更换头像":"登录后可上传头像"),1)]),_:1})]),_:1})]),_:1}),v(l,{class:"card"},{default:t(()=>[v(l,{class:"row"},{default:t(()=>[v(u,{class:"label"},{default:t(()=>[c("姓名")]),_:1}),v(f,{modelValue:C.value.real_name,"onUpdate:modelValue":e[0]||(e[0]=a=>C.value.real_name=a),class:"input",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),v(l,{class:"row last"},{default:t(()=>[v(u,{class:"label"},{default:t(()=>[c("手机号")]),_:1}),v(f,{modelValue:C.value.phone,"onUpdate:modelValue":e[1]||(e[1]=a=>C.value.phone=a),class:"input",type:"number",maxlength:"11",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1}),v(h,{class:"btn",disabled:T.value,onClick:P},{default:t(()=>[c(d(T.value?"保存中…":"保存"),1)]),_:1},8,["disabled"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-ada2a768"]]);export{T as default}; +import{d as a,e,o as l,j as s,k as t,g as n,S as u,m as r,n as o,v as c,p as v,D as i,x as p,t as d,I as _,R as m,s as f,T as h,a as y,U as k,c as b}from"./index-BQ-ey0LP.js";import{g,l as w,u as V,s as x}from"./localProfile.zmQ0g_RY.js";import{_ as j}from"./_plugin-vue_export-helper.BCo6x5W8.js";const T=j(a({__name:"profile",setup(a){const j=e(!0),T=e(!1),U=e(!1),C=e({real_name:"",phone:"",avatar_url:""});function F(a){C.value.real_name=a.real_name||"",C.value.phone=a.phone||"",C.value.avatar_url=a.avatar_url||""}function I(){U.value?h({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:async a=>{const e=a.tempFilePaths[0];if(e)try{y({title:"上传中"});const{url:a}=await k(e);C.value.avatar_url=a}catch(l){f({title:(null==l?void 0:l.message)||"上传失败",icon:"none"})}finally{b()}}}):f({title:"请先通过微信登录后再上传头像",icon:"none"})}async function P(){if(C.value.real_name.trim())if(/^1\d{10}$/.test(C.value.phone.trim())){T.value=!0;try{const a={real_name:C.value.real_name.trim(),phone:C.value.phone.trim(),avatar_url:C.value.avatar_url||void 0};U.value&&await V(a),x({real_name:a.real_name,phone:a.phone,avatar_url:a.avatar_url}),f({title:"保存成功",icon:"success"})}catch(a){f({title:(null==a?void 0:a.message)||"保存失败",icon:"none"})}finally{T.value=!1}}else f({title:"请填写11位手机号",icon:"none"});else f({title:"请填写姓名",icon:"none"})}return l(()=>{!async function(){j.value=!0,U.value=!!n(u.accessToken);try{if(U.value)try{const a=await g();C.value.real_name=a.real_name||"",C.value.phone=a.phone||"",C.value.avatar_url=a.avatar_url||""}catch{const a=w();a&&F(a)}else{const a=w();a&&F(a)}}finally{j.value=!1}}()}),(a,e)=>{const l=r,n=i,u=d,f=_,h=m;return o(),s(l,{class:"page"},{default:t(()=>[j.value?(o(),s(l,{key:0,class:"loading"},{default:t(()=>[c("加载中…")]),_:1})):(o(),s(l,{key:1,class:"content"},{default:t(()=>[v(l,{class:"avatar-block"},{default:t(()=>[v(l,{class:"avatar-wrap",onClick:I},{default:t(()=>[C.value.avatar_url?(o(),s(n,{key:0,class:"avatar",src:C.value.avatar_url,mode:"aspectFill"},null,8,["src"])):(o(),s(l,{key:1,class:"avatar placeholder"})),v(l,{class:"avatar-tip"},{default:t(()=>[c(p(U.value?"点击更换头像":"登录后可上传头像"),1)]),_:1})]),_:1})]),_:1}),v(l,{class:"card"},{default:t(()=>[v(l,{class:"row"},{default:t(()=>[v(u,{class:"label"},{default:t(()=>[c("姓名")]),_:1}),v(f,{modelValue:C.value.real_name,"onUpdate:modelValue":e[0]||(e[0]=a=>C.value.real_name=a),class:"input",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),v(l,{class:"row last"},{default:t(()=>[v(u,{class:"label"},{default:t(()=>[c("手机号")]),_:1}),v(f,{modelValue:C.value.phone,"onUpdate:modelValue":e[1]||(e[1]=a=>C.value.phone=a),class:"input",type:"number",maxlength:"11",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1}),v(h,{class:"btn",disabled:T.value,onClick:P},{default:t(()=>[c(p(T.value?"保存中…":"保存"),1)]),_:1},8,["disabled"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-ada2a768"]]);export{T as default}; diff --git a/public/h5/assets/pages-mine-reservation-detail.BgU7vUmO.js b/public/h5/assets/pages-mine-reservation-detail.D-rbCCO6.js similarity index 99% rename from public/h5/assets/pages-mine-reservation-detail.BgU7vUmO.js rename to public/h5/assets/pages-mine-reservation-detail.D-rbCCO6.js index 14a2d65..ac82e71 100644 --- a/public/h5/assets/pages-mine-reservation-detail.BgU7vUmO.js +++ b/public/h5/assets/pages-mine-reservation-detail.D-rbCCO6.js @@ -1 +1 @@ -import{d as t,e,f as n,W as r,j as o,k as i,s as a,m as s,g as u,S as l,n as c,v as d,J as f,p as h,x as g,y as v,F as p,z as m,t as w,E as y,D as E,R as C,a4 as A,$ as B,V as _}from"./index-DBg2bUhq.js";import{j as b,e as I}from"./content.tJrjcqQa.js";import{i as M,f as T,a as N}from"./datetime.BfIJTcZ8.js";import{_ as P}from"./_plugin-vue_export-helper.BCo6x5W8.js";var R={},L={},x={};let k;const U=[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];x.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},x.getSymbolTotalCodewords=function(t){return U[t]},x.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},x.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');k=t},x.isKanjiModeEnabled=function(){return void 0!==k},x.toSJIS=function(t){return k(t)};var S,F={};function D(){this.buffer=[],this.length=0}(S=F).L={bit:1},S.M={bit:0},S.Q={bit:3},S.H={bit:2},S.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},S.from=function(t,e){if(S.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 S.L;case"m":case"medium":return S.M;case"q":case"quartile":return S.Q;case"h":case"high":return S.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},D.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 z=D;function H(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)}H.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},H.prototype.get=function(t,e){return this.data[t*this.size+e]},H.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},H.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var J=H,K={};!function(t){const e=x.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)),i=[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,i=0,a=null,s=null;for(let u=0;u=5&&(r+=e+(o-5)),a=n,o=1),n=t.get(l,u),n===s?i++:(i>=5&&(r+=e+(i-5)),s=n,i=1)}o>=5&&(r+=e+(o-5)),i>=5&&(r+=e+(i-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++,i=i<<1&2047|t.get(a,r),a>=10&&(1488===i||93===i)&&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 i=0;i0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var nt=et,rt={},ot={},it={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},at={};const st="[0-9]+";let ut="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ut=ut.replace(/u/g,"\\u");const lt="(?:(?![A-Z0-9 $%*+\\-./:]|"+ut+")(?:.|[\r\n]))+";at.KANJI=new RegExp(ut,"g"),at.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),at.BYTE=new RegExp(lt,"g"),at.NUMERIC=new RegExp(st,"g"),at.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const ct=new RegExp("^"+ut+"$"),dt=new RegExp("^"+st+"$"),ft=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");at.testKanji=function(t){return ct.test(t)},at.testNumeric=function(t){return dt.test(t)},at.testAlphanumeric=function(t){return ft.test(t)},function(t){const e=it,n=at;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}}}(ot),function(t){const e=x,n=V,r=F,o=ot,i=it,a=e.getBCHDigit(7973);function s(t,e){return o.getCharCountIndicator(t,e)+4}function u(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 i.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,a){if(!i.isValid(t))throw new Error("Invalid QR Code version");void 0===a&&(a=o.BYTE);const u=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(a===o.MIXED)return u;const l=u-s(a,t);switch(a){case o.NUMERIC:return Math.floor(l/10*3);case o.ALPHANUMERIC:return Math.floor(l/11*2);case o.KANJI:return Math.floor(l/13);case o.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,n){let i;const a=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(u(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,a);if(0===e.length)return 1;i=e[0]}else i=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(i.mode,i.getLength(),a)},t.getEncodedBits=function(t){if(!i.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-a>=0;)n^=7973<=0;)r^=1335<0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var yt=wt;const Et=ot,Ct=["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 At(t){this.mode=Et.ALPHANUMERIC,this.data=t}At.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},At.prototype.getLength=function(){return this.data.length},At.prototype.getBitsLength=function(){return At.getBitsLength(this.data.length)},At.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*Ct.indexOf(this.data[e]);n+=Ct.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(Ct.indexOf(this.data[e]),6)};var Bt=At;const _t=ot;function bt(t){this.mode=_t.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}bt.getBitsLength=function(t){return 8*t},bt.prototype.getLength=function(){return this.data.length},bt.prototype.getBitsLength=function(){return bt.getBitsLength(this.data.length)},bt.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 Pt,Rt=Nt,Lt={exports:{}},xt=Lt.exports=Pt={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var i,a,s,u,l,c,d,f=Pt.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(s in a=(i=f.pop()).value,u=i.cost,l=t[a]||{})l.hasOwnProperty(s)&&(c=u+l[s],d=o[s],(void 0===o[s]||d>c)&&(o[s]=c,f.push(s,c),r[s]=a));if(void 0!==n&&void 0===o[n]){var h=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(h)}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=Pt.single_source_shortest_paths(t,e,n);return Pt.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=Pt.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=ot,n=yt,r=Bt,o=It,i=Rt,a=at,s=x,u=xt;function l(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(a.NUMERIC,e.NUMERIC,t),r=c(a.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,i;s.isKanjiModeEnabled()?(o=c(a.BYTE,e.BYTE,t),i=c(a.KANJI,e.KANJI,t)):(o=c(a.BYTE_KANJI,e.BYTE,t),i=[]);return n.concat(r,o,i).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,a){switch(a){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return i.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function h(t,a){let u;const l=e.getBestModeForData(t);if(u=e.from(a,l),u!==e.BYTE&&u.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()))}}(pt);const kt=x,Ut=F,St=z,Ft=J,Dt=K,zt=Y,Ht=j,Jt=V,Kt=nt,Yt=rt,qt=ht,jt=ot,Vt=pt;function $t(t,e,n){const r=t.size,o=qt.getEncodedBits(e,n);let i,a;for(i=0;i<15;i++)a=1==(o>>i&1),i<6?t.set(i,8,a,!0):i<8?t.set(i+1,8,a,!0):t.set(r-15+i,8,a,!0),i<8?t.set(8,r-i-1,a,!0):i<9?t.set(8,15-i-1+1,a,!0):t.set(8,15-i-1,a,!0);t.set(r-8,8,1,!0)}function Ot(t,e,n){const r=new St;n.forEach(function(e){r.put(e.mode.bit,4),r.put(e.getLength(),jt.getCharCountIndicator(e.mode,t)),e.write(r)});const o=8*(kt.getSymbolTotalCodewords(t)-Jt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const i=(o-r.getLengthInBits())/8;for(let a=0;a=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,i+o,!0,!0):t.set(e+r,i+o,!1,!0))}}(u,e),function(t){const e=t.size;for(let n=8;n=7&&function(t,e){const n=t.size,r=Yt.getEncodedBits(e);let o,i,a;for(let s=0;s<18;s++)o=Math.floor(s/3),i=s%3+n-8-3,a=1==(r>>s&1),t.set(o,i,a,!0),t.set(i,o,a,!0)}(u,e),function(t,e){const n=t.size;let r=-1,o=n-1,i=7,a=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;a>>i&1)),t.set(o,s-n,r),i--,-1===i&&(a++,i=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(u,a),isNaN(r)&&(r=Ht.getBestMask(u,$t.bind(null,u,n))),Ht.applyMask(r,u),$t(u,n,r),{modules:u,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}L.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=Ut.M;return void 0!==e&&(o=Ut.from(e.errorCorrectionLevel,Ut.M),n=Yt.from(e.version),r=Ht.from(e.maskPattern),e.toSJISFunc&&kt.setToSJISFunction(e.toSJISFunc)),Qt(t,n,o,r)};var Zt={},Wt={};!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,i=n.modules.data,a=t.getScale(o,r),s=Math.floor((o+2*r.margin)*a),u=r.margin*a,l=[r.color.light,r.color.dark];for(let t=0;t=u&&n>=u&&t':"",u="0&&u>0&&t[s-1]||(r+=i?ee("M",u+n,.5+l+n):ee("m",o,0),o=0,i=!1),u+1',l='viewBox="0 0 '+a+" "+a+'"',c=''+s+u+"\n";return"function"==typeof n&&n(null,c),c};const ne=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},re=L,oe=Zt,ie=Xt;function ae(t,e,n,r,o){const i=[].slice.call(arguments,1),a=i.length,s="function"==typeof i[a-1];if(!s&&!ne())throw new Error("Callback required as last argument");if(!s){if(a<1)throw new Error("Too few arguments provided");return 1===a?(n=e,e=r=void 0):2!==a||e.getContext||(r=n,n=e,e=void 0),new Promise(function(o,i){try{const i=re.create(n,r);o(t(i,e,r))}catch(a){i(a)}})}if(a<2)throw new Error("Too few arguments provided");2===a?(o=n,n=e,e=r=void 0):3===a&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const i=re.create(n,r);o(null,t(i,e,r))}catch(u){o(u)}}R.create=re.create,R.toCanvas=ae.bind(null,oe.render),R.toDataURL=ae.bind(null,oe.renderToDataURL),R.toString=ae.bind(null,function(t,e,n){return ie.render(t,n)});const se=P(t({__name:"reservation-detail",setup(t){const P=e(null),L=e(""),x=e(!1),k=e(!1),U=e("");function S(){return!!u(l.accessToken)}const F=n(()=>{var t;const e=P.value;return!(!e||"pending"!==e.status)&&!M(null==(t=null==e?void 0:e.activity_day)?void 0:t.activity_date)}),D=n(()=>{var t;const e=null==(t=P.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?T(e.start_at):"",r=e.end_at?T(e.end_at):"";return n&&r?`${n} ~ ${r}`:n||r||"-"});const z=e([]);function H(){var t;const e=(null==(t=P.value)?void 0:t.qr_token)||"";e&&A({data:e})}function J(){var t;const e=null==(t=P.value)?void 0:t.activity,n=Number(null==e?void 0:e.lat),r=Number(null==e?void 0:e.lng);n&&r?B({latitude:n,longitude:r,name:(null==e?void 0:e.title)||"活动位置",address:(null==e?void 0:e.address)||"",scale:16}):a({title:"活动暂未标注地图坐标,无法导航",icon:"none"})}async function K(t){if(!t)return;const e=/^1\d{10}$/.test(L.value);if(e||S()){x.value=!0;try{P.value=await b(t,e?L.value:void 0),await async function(){var t;const e=null==(t=P.value)?void 0:t.qr_token;if(e)try{U.value=await R.toDataURL(e,{width:320,margin:1,errorCorrectionLevel:"M"})}catch{U.value=""}else U.value=""}(),function(){var t,e;const n=Math.max(1,Number((null==(t=P.value)?void 0:t.ticket_count)||1)),r=(null==(e=P.value)?void 0:e.visitor_name)||"观众";z.value=Array.from({length:n},(t,e)=>({label:1===n?r:`${r}${e+1}`,qr:U.value}))}()}catch(n){a({title:(null==n?void 0:n.message)||"加载详情失败",icon:"none"})}finally{x.value=!1}}else a({title:"缺少验证信息",icon:"none"})}async function Y(){var t;if(!(null==(t=P.value)?void 0:t.id))return;if(!F.value)return void a({title:"当前不可取消(已核销/已取消或预约日已过)",icon:"none"});const e=/^1\d{10}$/.test(L.value);if(!e&&!S())return;if((await _({title:"取消预约",content:"累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。",confirmText:"确认取消",cancelText:"返回",confirmColor:"#ff7d00"})).confirm){k.value=!0;try{await I(P.value.id,e?L.value:void 0),a({title:"取消成功",icon:"success"}),await K(P.value.id)}catch(n){a({title:(null==n?void 0:n.message)||"取消失败",icon:"none"})}finally{k.value=!1}}}return r(t=>{const e=Number((null==t?void 0:t.id)||0);L.value=String((null==t?void 0:t.phone)||""),K(e)}),(t,e)=>{const n=s,r=w,a=E,u=C;return c(),o(n,{class:"page"},{default:i(()=>{var t,e;return[x.value&&!P.value?(c(),o(n,{key:0,class:"loading"},{default:i(()=>[d("加载中…")]),_:1})):f("",!0),h(n,{class:"card"},{default:i(()=>{var t,e,a;return[h(n,{class:"title"},{default:i(()=>{var t,e;return[d(g((null==(e=null==(t=P.value)?void 0:t.activity)?void 0:e.title)||"-"),1)]}),_:1}),(null==(a=null==(e=null==(t=P.value)?void 0:t.activity)?void 0:e.tags)?void 0:a.length)?(c(),o(n,{key:0,class:"tags"},{default:i(()=>[(c(!0),v(p,null,m(P.value.activity.tags,(t,e)=>(c(),o(r,{key:e,class:"tag"},{default:i(()=>[d(g(t),1)]),_:2},1024))),128))]),_:1})):f("",!0),h(n,{class:"sec-label"},{default:i(()=>[d("活动信息")]),_:1}),h(n,{class:"meta"},{default:i(()=>[d("活动时间:"+g(D.value),1)]),_:1}),h(n,{class:"addr-row"},{default:i(()=>[h(n,{class:"addr-main"},{default:i(()=>[h(r,{class:"addr-label"},{default:i(()=>[d("活动地址")]),_:1}),h(r,{class:"addr-text"},{default:i(()=>{var t,e;return[d(g((null==(e=null==(t=P.value)?void 0:t.activity)?void 0:e.address)||"-"),1)]}),_:1})]),_:1}),h(n,{class:"nav-btn",onClick:J},{default:i(()=>[d("导航")]),_:1})]),_:1}),h(n,{class:"sec-label"},{default:i(()=>[d("场馆")]),_:1}),h(n,{class:"meta"},{default:i(()=>{var t,e;return[d(g((null==(e=null==(t=P.value)?void 0:t.venue)?void 0:e.name)||"-"),1)]}),_:1})]}),_:1}),h(n,{class:"card"},{default:i(()=>{var t;return[h(n,{class:"sec-label"},{default:i(()=>[d("预约订单")]),_:1}),h(n,{class:"meta"},{default:i(()=>{var t,e;return[d("预约日期:"+g(y(T)(null==(e=null==(t=P.value)?void 0:t.activity_day)?void 0:e.activity_date)),1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t;return[d("参观人数:"+g((null==(t=P.value)?void 0:t.ticket_count)||1)+" 人",1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t,e;return[d("状态:"+g((e=null==(t=P.value)?void 0:t.status,"pending"===e?"待核销":"verified"===e?"已核销":"cancelled"===e?"已取消":"expired"===e?"已过期":e||"-")),1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t;return[d("下单时间:"+g(y(N)(null==(t=P.value)?void 0:t.created_at)),1)]}),_:1}),(null==(t=P.value)?void 0:t.verified_at)?(c(),o(n,{key:0,class:"meta"},{default:i(()=>[d("核销时间:"+g(y(N)(P.value.verified_at)),1)]),_:1})):f("",!0),h(n,{class:"meta"},{default:i(()=>{var t;return[d("报名人:"+g((null==(t=P.value)?void 0:t.visitor_name)||"-"),1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t;return[d("手机:"+g((null==(t=P.value)?void 0:t.visitor_phone)||"-"),1)]}),_:1})]}),_:1}),(null==(t=P.value)?void 0:t.qr_token)&&"pending"===(null==(e=P.value)?void 0:e.status)?(c(),o(n,{key:1,class:"card"},{default:i(()=>[h(n,{class:"sub-title"},{default:i(()=>[d("入馆凭证")]),_:1}),(c(!0),v(p,null,m(z.value,(t,e)=>(c(),o(n,{class:"ticket",key:e},{default:i(()=>[h(n,{class:"ticket-head"},{default:i(()=>[h(r,null,{default:i(()=>[d("请向工作人员出示此码")]),_:1}),h(r,{class:"copy",onClick:H},{default:i(()=>[d("复制码")]),_:1})]),_:1}),t.qr?(c(),o(a,{key:0,class:"qr",src:t.qr,mode:"aspectFit"},null,8,["src"])):(c(),o(n,{key:1,class:"tip"},{default:i(()=>[d("二维码生成中...")]),_:1})),h(n,{class:"qr-name"},{default:i(()=>[d(g(t.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):f("",!0),F.value?(c(),o(n,{key:2,class:"action"},{default:i(()=>[h(u,{class:"btn",disabled:k.value||x.value,onClick:Y},{default:i(()=>[d(g(k.value?"取消中...":"取消预约"),1)]),_:1},8,["disabled"])]),_:1})):f("",!0)]}),_:1})}}}),[["__scopeId","data-v-3ab22bd7"]]);export{se as default}; +import{d as t,e,f as n,W as r,j as o,k as i,s as a,m as s,g as u,S as l,n as c,v as d,J as f,p as h,x as g,y as v,F as p,z as m,t as w,E as y,D as E,R as C,a4 as A,$ as B,V as _}from"./index-BQ-ey0LP.js";import{j as b,e as I}from"./content.6JrrMb8t.js";import{i as M,f as T,a as N}from"./datetime.BfIJTcZ8.js";import{_ as P}from"./_plugin-vue_export-helper.BCo6x5W8.js";var R={},L={},x={};let k;const U=[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];x.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},x.getSymbolTotalCodewords=function(t){return U[t]},x.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},x.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');k=t},x.isKanjiModeEnabled=function(){return void 0!==k},x.toSJIS=function(t){return k(t)};var S,F={};function D(){this.buffer=[],this.length=0}(S=F).L={bit:1},S.M={bit:0},S.Q={bit:3},S.H={bit:2},S.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},S.from=function(t,e){if(S.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 S.L;case"m":case"medium":return S.M;case"q":case"quartile":return S.Q;case"h":case"high":return S.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},D.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 z=D;function H(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)}H.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},H.prototype.get=function(t,e){return this.data[t*this.size+e]},H.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},H.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var J=H,K={};!function(t){const e=x.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)),i=[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,i=0,a=null,s=null;for(let u=0;u=5&&(r+=e+(o-5)),a=n,o=1),n=t.get(l,u),n===s?i++:(i>=5&&(r+=e+(i-5)),s=n,i=1)}o>=5&&(r+=e+(o-5)),i>=5&&(r+=e+(i-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++,i=i<<1&2047|t.get(a,r),a>=10&&(1488===i||93===i)&&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 i=0;i0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var nt=et,rt={},ot={},it={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},at={};const st="[0-9]+";let ut="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ut=ut.replace(/u/g,"\\u");const lt="(?:(?![A-Z0-9 $%*+\\-./:]|"+ut+")(?:.|[\r\n]))+";at.KANJI=new RegExp(ut,"g"),at.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),at.BYTE=new RegExp(lt,"g"),at.NUMERIC=new RegExp(st,"g"),at.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const ct=new RegExp("^"+ut+"$"),dt=new RegExp("^"+st+"$"),ft=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");at.testKanji=function(t){return ct.test(t)},at.testNumeric=function(t){return dt.test(t)},at.testAlphanumeric=function(t){return ft.test(t)},function(t){const e=it,n=at;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}}}(ot),function(t){const e=x,n=V,r=F,o=ot,i=it,a=e.getBCHDigit(7973);function s(t,e){return o.getCharCountIndicator(t,e)+4}function u(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 i.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,a){if(!i.isValid(t))throw new Error("Invalid QR Code version");void 0===a&&(a=o.BYTE);const u=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(a===o.MIXED)return u;const l=u-s(a,t);switch(a){case o.NUMERIC:return Math.floor(l/10*3);case o.ALPHANUMERIC:return Math.floor(l/11*2);case o.KANJI:return Math.floor(l/13);case o.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,n){let i;const a=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(u(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,a);if(0===e.length)return 1;i=e[0]}else i=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(i.mode,i.getLength(),a)},t.getEncodedBits=function(t){if(!i.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-a>=0;)n^=7973<=0;)r^=1335<0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var yt=wt;const Et=ot,Ct=["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 At(t){this.mode=Et.ALPHANUMERIC,this.data=t}At.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},At.prototype.getLength=function(){return this.data.length},At.prototype.getBitsLength=function(){return At.getBitsLength(this.data.length)},At.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*Ct.indexOf(this.data[e]);n+=Ct.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(Ct.indexOf(this.data[e]),6)};var Bt=At;const _t=ot;function bt(t){this.mode=_t.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}bt.getBitsLength=function(t){return 8*t},bt.prototype.getLength=function(){return this.data.length},bt.prototype.getBitsLength=function(){return bt.getBitsLength(this.data.length)},bt.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 Pt,Rt=Nt,Lt={exports:{}},xt=Lt.exports=Pt={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var i,a,s,u,l,c,d,f=Pt.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(s in a=(i=f.pop()).value,u=i.cost,l=t[a]||{})l.hasOwnProperty(s)&&(c=u+l[s],d=o[s],(void 0===o[s]||d>c)&&(o[s]=c,f.push(s,c),r[s]=a));if(void 0!==n&&void 0===o[n]){var h=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(h)}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=Pt.single_source_shortest_paths(t,e,n);return Pt.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=Pt.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=ot,n=yt,r=Bt,o=It,i=Rt,a=at,s=x,u=xt;function l(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(a.NUMERIC,e.NUMERIC,t),r=c(a.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,i;s.isKanjiModeEnabled()?(o=c(a.BYTE,e.BYTE,t),i=c(a.KANJI,e.KANJI,t)):(o=c(a.BYTE_KANJI,e.BYTE,t),i=[]);return n.concat(r,o,i).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,a){switch(a){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return i.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function h(t,a){let u;const l=e.getBestModeForData(t);if(u=e.from(a,l),u!==e.BYTE&&u.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()))}}(pt);const kt=x,Ut=F,St=z,Ft=J,Dt=K,zt=Y,Ht=j,Jt=V,Kt=nt,Yt=rt,qt=ht,jt=ot,Vt=pt;function $t(t,e,n){const r=t.size,o=qt.getEncodedBits(e,n);let i,a;for(i=0;i<15;i++)a=1==(o>>i&1),i<6?t.set(i,8,a,!0):i<8?t.set(i+1,8,a,!0):t.set(r-15+i,8,a,!0),i<8?t.set(8,r-i-1,a,!0):i<9?t.set(8,15-i-1+1,a,!0):t.set(8,15-i-1,a,!0);t.set(r-8,8,1,!0)}function Ot(t,e,n){const r=new St;n.forEach(function(e){r.put(e.mode.bit,4),r.put(e.getLength(),jt.getCharCountIndicator(e.mode,t)),e.write(r)});const o=8*(kt.getSymbolTotalCodewords(t)-Jt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const i=(o-r.getLengthInBits())/8;for(let a=0;a=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,i+o,!0,!0):t.set(e+r,i+o,!1,!0))}}(u,e),function(t){const e=t.size;for(let n=8;n=7&&function(t,e){const n=t.size,r=Yt.getEncodedBits(e);let o,i,a;for(let s=0;s<18;s++)o=Math.floor(s/3),i=s%3+n-8-3,a=1==(r>>s&1),t.set(o,i,a,!0),t.set(i,o,a,!0)}(u,e),function(t,e){const n=t.size;let r=-1,o=n-1,i=7,a=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;a>>i&1)),t.set(o,s-n,r),i--,-1===i&&(a++,i=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(u,a),isNaN(r)&&(r=Ht.getBestMask(u,$t.bind(null,u,n))),Ht.applyMask(r,u),$t(u,n,r),{modules:u,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}L.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=Ut.M;return void 0!==e&&(o=Ut.from(e.errorCorrectionLevel,Ut.M),n=Yt.from(e.version),r=Ht.from(e.maskPattern),e.toSJISFunc&&kt.setToSJISFunction(e.toSJISFunc)),Qt(t,n,o,r)};var Zt={},Wt={};!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,i=n.modules.data,a=t.getScale(o,r),s=Math.floor((o+2*r.margin)*a),u=r.margin*a,l=[r.color.light,r.color.dark];for(let t=0;t=u&&n>=u&&t':"",u="0&&u>0&&t[s-1]||(r+=i?ee("M",u+n,.5+l+n):ee("m",o,0),o=0,i=!1),u+1',l='viewBox="0 0 '+a+" "+a+'"',c=''+s+u+"\n";return"function"==typeof n&&n(null,c),c};const ne=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},re=L,oe=Zt,ie=Xt;function ae(t,e,n,r,o){const i=[].slice.call(arguments,1),a=i.length,s="function"==typeof i[a-1];if(!s&&!ne())throw new Error("Callback required as last argument");if(!s){if(a<1)throw new Error("Too few arguments provided");return 1===a?(n=e,e=r=void 0):2!==a||e.getContext||(r=n,n=e,e=void 0),new Promise(function(o,i){try{const i=re.create(n,r);o(t(i,e,r))}catch(a){i(a)}})}if(a<2)throw new Error("Too few arguments provided");2===a?(o=n,n=e,e=r=void 0):3===a&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const i=re.create(n,r);o(null,t(i,e,r))}catch(u){o(u)}}R.create=re.create,R.toCanvas=ae.bind(null,oe.render),R.toDataURL=ae.bind(null,oe.renderToDataURL),R.toString=ae.bind(null,function(t,e,n){return ie.render(t,n)});const se=P(t({__name:"reservation-detail",setup(t){const P=e(null),L=e(""),x=e(!1),k=e(!1),U=e("");function S(){return!!u(l.accessToken)}const F=n(()=>{var t;const e=P.value;return!(!e||"pending"!==e.status)&&!M(null==(t=null==e?void 0:e.activity_day)?void 0:t.activity_date)}),D=n(()=>{var t;const e=null==(t=P.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?T(e.start_at):"",r=e.end_at?T(e.end_at):"";return n&&r?`${n} ~ ${r}`:n||r||"-"});const z=e([]);function H(){var t;const e=(null==(t=P.value)?void 0:t.qr_token)||"";e&&A({data:e})}function J(){var t;const e=null==(t=P.value)?void 0:t.activity,n=Number(null==e?void 0:e.lat),r=Number(null==e?void 0:e.lng);n&&r?B({latitude:n,longitude:r,name:(null==e?void 0:e.title)||"活动位置",address:(null==e?void 0:e.address)||"",scale:16}):a({title:"活动暂未标注地图坐标,无法导航",icon:"none"})}async function K(t){if(!t)return;const e=/^1\d{10}$/.test(L.value);if(e||S()){x.value=!0;try{P.value=await b(t,e?L.value:void 0),await async function(){var t;const e=null==(t=P.value)?void 0:t.qr_token;if(e)try{U.value=await R.toDataURL(e,{width:320,margin:1,errorCorrectionLevel:"M"})}catch{U.value=""}else U.value=""}(),function(){var t,e;const n=Math.max(1,Number((null==(t=P.value)?void 0:t.ticket_count)||1)),r=(null==(e=P.value)?void 0:e.visitor_name)||"观众";z.value=Array.from({length:n},(t,e)=>({label:1===n?r:`${r}${e+1}`,qr:U.value}))}()}catch(n){a({title:(null==n?void 0:n.message)||"加载详情失败",icon:"none"})}finally{x.value=!1}}else a({title:"缺少验证信息",icon:"none"})}async function Y(){var t;if(!(null==(t=P.value)?void 0:t.id))return;if(!F.value)return void a({title:"当前不可取消(已核销/已取消或预约日已过)",icon:"none"});const e=/^1\d{10}$/.test(L.value);if(!e&&!S())return;if((await _({title:"取消预约",content:"累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。",confirmText:"确认取消",cancelText:"返回",confirmColor:"#ff7d00"})).confirm){k.value=!0;try{await I(P.value.id,e?L.value:void 0),a({title:"取消成功",icon:"success"}),await K(P.value.id)}catch(n){a({title:(null==n?void 0:n.message)||"取消失败",icon:"none"})}finally{k.value=!1}}}return r(t=>{const e=Number((null==t?void 0:t.id)||0);L.value=String((null==t?void 0:t.phone)||""),K(e)}),(t,e)=>{const n=s,r=w,a=E,u=C;return c(),o(n,{class:"page"},{default:i(()=>{var t,e;return[x.value&&!P.value?(c(),o(n,{key:0,class:"loading"},{default:i(()=>[d("加载中…")]),_:1})):f("",!0),h(n,{class:"card"},{default:i(()=>{var t,e,a;return[h(n,{class:"title"},{default:i(()=>{var t,e;return[d(g((null==(e=null==(t=P.value)?void 0:t.activity)?void 0:e.title)||"-"),1)]}),_:1}),(null==(a=null==(e=null==(t=P.value)?void 0:t.activity)?void 0:e.tags)?void 0:a.length)?(c(),o(n,{key:0,class:"tags"},{default:i(()=>[(c(!0),v(p,null,m(P.value.activity.tags,(t,e)=>(c(),o(r,{key:e,class:"tag"},{default:i(()=>[d(g(t),1)]),_:2},1024))),128))]),_:1})):f("",!0),h(n,{class:"sec-label"},{default:i(()=>[d("活动信息")]),_:1}),h(n,{class:"meta"},{default:i(()=>[d("活动时间:"+g(D.value),1)]),_:1}),h(n,{class:"addr-row"},{default:i(()=>[h(n,{class:"addr-main"},{default:i(()=>[h(r,{class:"addr-label"},{default:i(()=>[d("活动地址")]),_:1}),h(r,{class:"addr-text"},{default:i(()=>{var t,e;return[d(g((null==(e=null==(t=P.value)?void 0:t.activity)?void 0:e.address)||"-"),1)]}),_:1})]),_:1}),h(n,{class:"nav-btn",onClick:J},{default:i(()=>[d("导航")]),_:1})]),_:1}),h(n,{class:"sec-label"},{default:i(()=>[d("场馆")]),_:1}),h(n,{class:"meta"},{default:i(()=>{var t,e;return[d(g((null==(e=null==(t=P.value)?void 0:t.venue)?void 0:e.name)||"-"),1)]}),_:1})]}),_:1}),h(n,{class:"card"},{default:i(()=>{var t;return[h(n,{class:"sec-label"},{default:i(()=>[d("预约订单")]),_:1}),h(n,{class:"meta"},{default:i(()=>{var t,e;return[d("预约日期:"+g(y(T)(null==(e=null==(t=P.value)?void 0:t.activity_day)?void 0:e.activity_date)),1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t;return[d("参观人数:"+g((null==(t=P.value)?void 0:t.ticket_count)||1)+" 人",1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t,e;return[d("状态:"+g((e=null==(t=P.value)?void 0:t.status,"pending"===e?"待核销":"verified"===e?"已核销":"cancelled"===e?"已取消":"expired"===e?"已过期":e||"-")),1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t;return[d("下单时间:"+g(y(N)(null==(t=P.value)?void 0:t.created_at)),1)]}),_:1}),(null==(t=P.value)?void 0:t.verified_at)?(c(),o(n,{key:0,class:"meta"},{default:i(()=>[d("核销时间:"+g(y(N)(P.value.verified_at)),1)]),_:1})):f("",!0),h(n,{class:"meta"},{default:i(()=>{var t;return[d("报名人:"+g((null==(t=P.value)?void 0:t.visitor_name)||"-"),1)]}),_:1}),h(n,{class:"meta"},{default:i(()=>{var t;return[d("手机:"+g((null==(t=P.value)?void 0:t.visitor_phone)||"-"),1)]}),_:1})]}),_:1}),(null==(t=P.value)?void 0:t.qr_token)&&"pending"===(null==(e=P.value)?void 0:e.status)?(c(),o(n,{key:1,class:"card"},{default:i(()=>[h(n,{class:"sub-title"},{default:i(()=>[d("入馆凭证")]),_:1}),(c(!0),v(p,null,m(z.value,(t,e)=>(c(),o(n,{class:"ticket",key:e},{default:i(()=>[h(n,{class:"ticket-head"},{default:i(()=>[h(r,null,{default:i(()=>[d("请向工作人员出示此码")]),_:1}),h(r,{class:"copy",onClick:H},{default:i(()=>[d("复制码")]),_:1})]),_:1}),t.qr?(c(),o(a,{key:0,class:"qr",src:t.qr,mode:"aspectFit"},null,8,["src"])):(c(),o(n,{key:1,class:"tip"},{default:i(()=>[d("二维码生成中...")]),_:1})),h(n,{class:"qr-name"},{default:i(()=>[d(g(t.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):f("",!0),F.value?(c(),o(n,{key:2,class:"action"},{default:i(()=>[h(u,{class:"btn",disabled:k.value||x.value,onClick:Y},{default:i(()=>[d(g(k.value?"取消中...":"取消预约"),1)]),_:1},8,["disabled"])]),_:1})):f("",!0)]}),_:1})}}}),[["__scopeId","data-v-3ab22bd7"]]);export{se as default}; diff --git a/public/h5/assets/pages-stats-index.DD3A1nNF.js b/public/h5/assets/pages-stats-index.Bl5Js_6f.js similarity index 55% rename from public/h5/assets/pages-stats-index.DD3A1nNF.js rename to public/h5/assets/pages-stats-index.Bl5Js_6f.js index bdb0191..4aad450 100644 --- a/public/h5/assets/pages-stats-index.DD3A1nNF.js +++ b/public/h5/assets/pages-stats-index.Bl5Js_6f.js @@ -1 +1 @@ -import{d as a,e as s,o as t,O as l,P as e,j as c,k as n,s as i,m as u,n as o,p as r,t as d,v as m,y as f,F as _,z as v,C as p,x as y,D as k,E as g,J as b,K as C}from"./index-DBg2bUhq.js";import{a as h,g as j}from"./content.tJrjcqQa.js";import{P as w}from"./poster.DLiVsUXX.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const P=x(a({__name:"index",setup(a){const x=s(!0),P=s([]);async function A(){x.value=!0;try{const[a,s]=await Promise.all([h(),j().catch(()=>null)]),t=Array.isArray(a)?a:[],l=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);P.value=function(a,s){return a.map(a=>{const t=(a.district||"").trim(),l=t?s[t]??t:"";return{id:a.id,name:a.name||"未命名场馆",district:l,cover_image:a.cover_image||null,liveCount:0}}).sort((a,s)=>s.liveCount-a.liveCount)}(t,l)}catch(a){i({title:(null==a?void 0:a.message)||"加载失败",icon:"none"}),P.value=[]}finally{x.value=!1}}return t(()=>{A()}),l(async()=>{try{await A()}finally{e()}}),(a,s)=>{const t=u,l=d,e=k;return o(),c(t,{class:"page"},{default:n(()=>[r(t,{class:"section-title"},{default:n(()=>[r(t,{class:"bar"}),r(l,{class:"title"},{default:n(()=>[m("今日客流量统计")]),_:1})]),_:1}),x.value&&!P.value.length?(o(),c(t,{key:0,class:"state"},{default:n(()=>[m("加载中…")]),_:1})):P.value.length?(o(),c(t,{key:2,class:"list"},{default:n(()=>[(o(!0),f(_,null,v(P.value,(a,s)=>(o(),c(t,{key:a.id,class:p(["row",{"is-top1":0===s,"is-top2":1===s,"is-top3":2===s}]),onClick:s=>{var t;(t=a.id)&&C({url:`/pages/venue/detail?id=${t}`})}},{default:n(()=>[r(t,{class:"rank-wrap"},{default:n(()=>[s<3?(o(),c(t,{key:0,class:p(["medal","m"+(s+1)])},{default:n(()=>[m(y(s+1),1)]),_:2},1032,["class"])):(o(),c(l,{key:1,class:"rank-num"},{default:n(()=>[m(y(s+1),1)]),_:2},1024))]),_:2},1024),r(e,{class:"thumb",src:a.cover_image||g(w),mode:"aspectFill"},null,8,["src"]),r(t,{class:"mid"},{default:n(()=>[r(l,{class:"name"},{default:n(()=>[m(y(a.name),1)]),_:2},1024),a.district?(o(),c(l,{key:0,class:"district"},{default:n(()=>[m(y(a.district),1)]),_:2},1024)):b("",!0)]),_:2},1024),r(t,{class:"count-block"},{default:n(()=>[r(l,{class:"count-label"},{default:n(()=>[m("实时人数")]),_:1}),r(t,{class:"count-row"},{default:n(()=>[r(l,{class:"count"},{default:n(()=>[m(y(a.liveCount.toLocaleString()),1)]),_:2},1024),r(l,{class:"unit"},{default:n(()=>[m("人")]),_:1})]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):(o(),c(t,{key:1,class:"state muted"},{default:n(()=>[m("暂无已上架场馆")]),_:1})),r(t,{class:"bottom-safe"})]),_:1})}}}),[["__scopeId","data-v-925a6b56"]]);export{P as default}; +import{d as a,e as s,o as t,O as l,P as e,j as c,k as n,s as i,m as o,n as u,p as r,t as d,v as f,y as m,F as _,z as v,C as p,x as y,D as k,E as g,J as b,K as C}from"./index-BQ-ey0LP.js";import{a as h,g as j}from"./content.6JrrMb8t.js";import{P as w}from"./poster.DLiVsUXX.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const P=x(a({__name:"index",setup(a){const x=s(!0),P=s([]);async function A(){x.value=!0;try{const[a,s]=await Promise.all([h(),j().catch(()=>null)]),t=Array.isArray(a)?a:[],l=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);P.value=function(a,s){return a.map(a=>{const t=(a.district||"").trim(),l=t?s[t]??t:"";return{id:a.id,name:a.name||"未命名场馆",district:l,cover_image:a.cover_image||null,liveCount:0}}).sort((a,s)=>s.liveCount-a.liveCount)}(t,l)}catch(a){i({title:(null==a?void 0:a.message)||"加载失败",icon:"none"}),P.value=[]}finally{x.value=!1}}return t(()=>{A()}),l(async()=>{try{await A()}finally{e()}}),(a,s)=>{const t=o,l=d,e=k;return u(),c(t,{class:"page"},{default:n(()=>[r(t,{class:"section-title"},{default:n(()=>[r(t,{class:"bar"}),r(l,{class:"title"},{default:n(()=>[f("今日客流量统计")]),_:1})]),_:1}),x.value&&!P.value.length?(u(),c(t,{key:0,class:"state"},{default:n(()=>[f("加载中…")]),_:1})):P.value.length?(u(),c(t,{key:2,class:"list"},{default:n(()=>[(u(!0),m(_,null,v(P.value,(a,s)=>(u(),c(t,{key:a.id,class:p(["row",{"is-top1":0===s,"is-top2":1===s,"is-top3":2===s}]),onClick:s=>{var t;(t=a.id)&&C({url:`/pages/venue/detail?id=${t}`})}},{default:n(()=>[r(t,{class:"rank-wrap"},{default:n(()=>[s<3?(u(),c(t,{key:0,class:p(["medal","m"+(s+1)])},{default:n(()=>[f(y(s+1),1)]),_:2},1032,["class"])):(u(),c(l,{key:1,class:"rank-num"},{default:n(()=>[f(y(s+1),1)]),_:2},1024))]),_:2},1024),r(e,{class:"thumb",src:a.cover_image||g(w),mode:"aspectFill"},null,8,["src"]),r(t,{class:"mid"},{default:n(()=>[r(l,{class:"name"},{default:n(()=>[f(y(a.name),1)]),_:2},1024),a.district?(u(),c(l,{key:0,class:"district"},{default:n(()=>[f(y(a.district),1)]),_:2},1024)):b("",!0)]),_:2},1024),r(t,{class:"count-block"},{default:n(()=>[r(l,{class:"count-label"},{default:n(()=>[f("实时人数")]),_:1}),r(t,{class:"count-row"},{default:n(()=>[r(l,{class:"count"},{default:n(()=>[f(y(a.liveCount.toLocaleString()),1)]),_:2},1024),r(l,{class:"unit"},{default:n(()=>[f("人")]),_:1})]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):(u(),c(t,{key:1,class:"state muted"},{default:n(()=>[f("暂无已上架场馆")]),_:1})),r(t,{class:"bottom-safe"})]),_:1})}}}),[["__scopeId","data-v-925a6b56"]]);export{P as default}; diff --git a/public/h5/assets/pages-study-tour-detail.DtbD0ndO.js b/public/h5/assets/pages-study-tour-detail.DXLFCj-4.js similarity index 94% rename from public/h5/assets/pages-study-tour-detail.DtbD0ndO.js rename to public/h5/assets/pages-study-tour-detail.DXLFCj-4.js index e168eee..15dde33 100644 --- a/public/h5/assets/pages-study-tour-detail.DtbD0ndO.js +++ b/public/h5/assets/pages-study-tour-detail.DXLFCj-4.js @@ -1 +1 @@ -import{d as e,e as t,f as l,w as a,W as n,j as s,k as i,m as r,u,n as o,p as c,q as d,M as g,t as v,v as f,x as p,y as m,F as h,z as b,J as _,H as y,B as x,D as k,E as $,C as w,_ as N,K as C,s as S,$ as j,a0 as z,a1 as F,a2 as B}from"./index-DBg2bUhq.js";import{k as M,g as R}from"./content.tJrjcqQa.js";import{i as q,a as D}from"./icon_up.DJ5zmdk8.js";import{m as I,t as K}from"./ticketMap.imr_2NOD.js";import{a as P,c as T}from"./venueThemeColors.ByZn0VY6.js";import{_ as W}from"./_plugin-vue_export-helper.BCo6x5W8.js";const Y=W(e({__name:"detail",setup(e){const W=t(null),Y=t(null),E=t(!0),H=t(!1),J=Math.round(8064/246);function L(e){return K({venue_type_color:e.venue_type_color},()=>function(e){var t;const l=P(e)[0];if(l)return T(l,null==(t=Y.value)?void 0:t.venue_type);const a=e.venue_type_color;return a&&"string"==typeof a&&a.trim()?a.trim():"#05c9ac"}(e))}function X(e){return{background:L(e),color:"#ffffff"}}const A=l(()=>{var e;const t=null==(e=W.value)?void 0:e.intro_html;if(null==t||""===t)return"";const l=String(t);let a="";if(/<[a-z][\s\S]*>/i.test(l)){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,l,a)=>{const n=String(l).trim();return/style\s*=/i.test(n)?/max-width\s*:/i.test(n)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,l,a)=>/max-width/i.test(a)?e:`style=${l}${a};${t}${l}`):`"===a?" />":">"}`})}(l);a=`
${e}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(l);a=`
${e}
`}return(n=a)&&String(n).trim()&&String(n).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0?a:"";var n}),G=l(()=>{var e;const t=((null==(e=W.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 l=t.reduce((e,t)=>({lat:e.lat+t.lat,lng:e.lng+t.lng}),{lat:0,lng:0});return{latitude:l.lat/t.length,longitude:l.lng/t.length}}),O=l(()=>{var e;return((null==(e=W.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)}),Q=l(()=>{const e=O.value.length;return e>=5?10:e>=3?11:e>=2?12:13}),U=l(()=>{if(O.value.length)try{const e=u(56);return[e,e,e,e]}catch{return[20,20,20,20]}});function V(e,t){const l=String(e+1),a=l.length>=2?24:22;return`
${l}
`}const Z=l(()=>{var e;return((null==(e=W.value)?void 0:e.venues)||[]).map((e,t)=>{const l=Number(e.lat),a=Number(e.lng);if(!l||!a)return null;const n=L(e);return{id:Number(e.id)||t+1,latitude:l,longitude:a,width:32,height:J,iconPath:I(n),anchor:{x:.5,y:1},label:{content:V(t,n),color:"#ffffff",fontSize:10,anchorX:0,anchorY:0,borderWidth:0,bgColor:"transparent",borderRadius:0,padding:0},callout:{content:`${t+1}. ${e.name||"场馆"}`,color:"#333333",fontSize:12,borderRadius:8,bgColor:"#ffffff",padding:8,display:"BYCLICK"}}}).filter(Boolean)});return a(A,()=>{E.value=!0,z(()=>{setTimeout(()=>{var e;const t=null==(e=F())?void 0:e.proxy,l=B();t&&l.in(t);const a=u(187);l.select(".judge-intro").boundingClientRect(),l.exec(e=>{const[t]=e||[];H.value=!!(t&&t.height&&t.height>a+1),E.value=!0})},120)})}),n(async e=>{const t=Number((null==e?void 0:e.id)||0);if(!t)return;const[l,a]=await Promise.all([M(t),R()]);W.value=l,Y.value=a}),(e,t)=>{const l=g,a=v,n=r,u=k,z=N,F=d;return o(),s(n,{class:"page"},{default:i(()=>[c(F,{"scroll-y":"",class:"scroll"},{default:i(()=>[c(l,{class:"map",latitude:G.value.latitude,longitude:G.value.longitude,markers:Z.value,scale:Q.value,"include-points":O.value.length?O.value:void 0,padding:U.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"]),c(n,{class:"main-card"},{default:i(()=>{var e,t,l;return[c(a,{class:"tour-title"},{default:i(()=>{var e;return[f(p((null==(e=W.value)?void 0:e.name)||"-"),1)]}),_:1}),(null==(t=null==(e=W.value)?void 0:e.tags)?void 0:t.length)?(o(),s(n,{key:0,class:"act-tags"},{default:i(()=>[(o(!0),m(h,null,b((W.value.tags||[]).slice(0,4),(e,t)=>(o(),s(a,{key:"tg-"+t+"-"+e,class:"act-tag-chip"},{default:i(()=>[f(p(e),1)]),_:2},1024))),128))]),_:1})):_("",!0),(o(!0),m(h,null,b((null==(l=W.value)?void 0:l.venues)||[],(e,t)=>(o(),s(n,{key:e.id,class:"venue-row",onClick:t=>{return l=e.id,void C({url:`/pages/venue/detail?id=${l}`});var l}},{default:i(()=>[c(n,{class:"idx",style:y(X(e))},{default:i(()=>[f(p(Number(t)+1),1)]),_:2},1032,["style"]),c(n,{class:"venue-mid"},{default:i(()=>[c(n,{class:"name"},{default:i(()=>[f(p(e.name),1)]),_:2},1024),c(n,{class:"addr"},{default:i(()=>[f(p(e.address||"-"),1)]),_:2},1024)]),_:2},1024),c(n,{class:"go",onClick:x(t=>function(e){(null==e?void 0:e.lat)&&(null==e?void 0:e.lng)?j({latitude:Number(e.lat),longitude:Number(e.lng),name:e.name||"站点",address:e.address||""}):S({title:"暂无导航坐标",icon:"none"})}(e),["stop"])},{default:i(()=>[f("导航")]),_:2},1032,["onClick"])]),_:2},1032,["onClick"]))),128))]}),_:1}),A.value?(o(),s(n,{key:0,class:"intro-card"},{default:i(()=>[c(n,{class:"sec-title-row"},{default:i(()=>[c(a,{class:"sec-title"},{default:i(()=>[f("线路简介")]),_:1}),H.value?(o(),s(n,{key:0,class:"expand-arrow-tap",onClick:t[0]||(t[0]=e=>E.value=!E.value)},{default:i(()=>[c(u,{class:"expand-arrow-img",src:E.value?$(q):$(D),mode:"aspectFit"},null,8,["src"])]),_:1})):_("",!0)]),_:1}),c(n,{class:w(["intro-rich-wrap judge-intro",{"is-collapsed":H.value&&!E.value}])},{default:i(()=>[c(z,{class:"intro-rich",nodes:A.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):_("",!0),c(n,{class:"safe-bottom"})]),_:1})]),_:1})}}}),[["__scopeId","data-v-89b960de"]]);export{Y as default}; +import{d as e,e as t,f as l,w as a,W as n,j as s,k as i,m as r,u,n as o,p as c,q as d,M as g,t as v,v as f,x as p,y as m,F as h,z as b,J as _,H as y,B as x,D as $,E as k,C as w,_ as N,K as C,s as S,$ as j,a0 as z,a1 as F,a2 as B}from"./index-BQ-ey0LP.js";import{k as M,g as R}from"./content.6JrrMb8t.js";import{i as q,a as D}from"./icon_up.DJ5zmdk8.js";import{m as I,t as K}from"./ticketMap.imr_2NOD.js";import{a as P,c as T}from"./venueThemeColors.ByZn0VY6.js";import{_ as W}from"./_plugin-vue_export-helper.BCo6x5W8.js";const Y=W(e({__name:"detail",setup(e){const W=t(null),Y=t(null),E=t(!0),H=t(!1),J=Math.round(8064/246);function L(e){return K({venue_type_color:e.venue_type_color},()=>function(e){var t;const l=P(e)[0];if(l)return T(l,null==(t=Y.value)?void 0:t.venue_type);const a=e.venue_type_color;return a&&"string"==typeof a&&a.trim()?a.trim():"#05c9ac"}(e))}function X(e){return{background:L(e),color:"#ffffff"}}const A=l(()=>{var e;const t=null==(e=W.value)?void 0:e.intro_html;if(null==t||""===t)return"";const l=String(t);let a="";if(/<[a-z][\s\S]*>/i.test(l)){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,l,a)=>{const n=String(l).trim();return/style\s*=/i.test(n)?/max-width\s*:/i.test(n)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,l,a)=>/max-width/i.test(a)?e:`style=${l}${a};${t}${l}`):`"===a?" />":">"}`})}(l);a=`
${e}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(l);a=`
${e}
`}return(n=a)&&String(n).trim()&&String(n).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0?a:"";var n}),G=l(()=>{var e;const t=((null==(e=W.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 l=t.reduce((e,t)=>({lat:e.lat+t.lat,lng:e.lng+t.lng}),{lat:0,lng:0});return{latitude:l.lat/t.length,longitude:l.lng/t.length}}),O=l(()=>{var e;return((null==(e=W.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)}),Q=l(()=>{const e=O.value.length;return e>=5?10:e>=3?11:e>=2?12:13}),U=l(()=>{if(O.value.length)try{const e=u(56);return[e,e,e,e]}catch{return[20,20,20,20]}});function V(e,t){const l=String(e+1),a=l.length>=2?24:22;return`
${l}
`}const Z=l(()=>{var e;return((null==(e=W.value)?void 0:e.venues)||[]).map((e,t)=>{const l=Number(e.lat),a=Number(e.lng);if(!l||!a)return null;const n=L(e);return{id:Number(e.id)||t+1,latitude:l,longitude:a,width:32,height:J,iconPath:I(n),anchor:{x:.5,y:1},label:{content:V(t,n),color:"#ffffff",fontSize:10,anchorX:0,anchorY:0,borderWidth:0,bgColor:"transparent",borderRadius:0,padding:0},callout:{content:`${t+1}. ${e.name||"场馆"}`,color:"#333333",fontSize:12,borderRadius:8,bgColor:"#ffffff",padding:8,display:"BYCLICK"}}}).filter(Boolean)});return a(A,()=>{E.value=!0,z(()=>{setTimeout(()=>{var e;const t=null==(e=F())?void 0:e.proxy,l=B();t&&l.in(t);const a=u(187);l.select(".judge-intro").boundingClientRect(),l.exec(e=>{const[t]=e||[];H.value=!!(t&&t.height&&t.height>a+1),E.value=!0})},120)})}),n(async e=>{const t=Number((null==e?void 0:e.id)||0);if(!t)return;const[l,a]=await Promise.all([M(t),R()]);W.value=l,Y.value=a}),(e,t)=>{const l=g,a=v,n=r,u=$,z=N,F=d;return o(),s(n,{class:"page"},{default:i(()=>[c(F,{"scroll-y":"",class:"scroll"},{default:i(()=>[c(l,{class:"map",latitude:G.value.latitude,longitude:G.value.longitude,markers:Z.value,scale:Q.value,"include-points":O.value.length?O.value:void 0,padding:U.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"]),c(n,{class:"main-card"},{default:i(()=>{var e,t,l;return[c(a,{class:"tour-title"},{default:i(()=>{var e;return[f(p((null==(e=W.value)?void 0:e.name)||"-"),1)]}),_:1}),(null==(t=null==(e=W.value)?void 0:e.tags)?void 0:t.length)?(o(),s(n,{key:0,class:"act-tags"},{default:i(()=>[(o(!0),m(h,null,b((W.value.tags||[]).slice(0,4),(e,t)=>(o(),s(a,{key:"tg-"+t+"-"+e,class:"act-tag-chip"},{default:i(()=>[f(p(e),1)]),_:2},1024))),128))]),_:1})):_("",!0),(o(!0),m(h,null,b((null==(l=W.value)?void 0:l.venues)||[],(e,t)=>(o(),s(n,{key:e.id,class:"venue-row",onClick:t=>{return l=e.id,void C({url:`/pages/venue/detail?id=${l}`});var l}},{default:i(()=>[c(n,{class:"idx",style:y(X(e))},{default:i(()=>[f(p(Number(t)+1),1)]),_:2},1032,["style"]),c(n,{class:"venue-mid"},{default:i(()=>[c(n,{class:"name"},{default:i(()=>[f(p(e.name),1)]),_:2},1024),c(n,{class:"addr"},{default:i(()=>[f(p(e.address||"-"),1)]),_:2},1024)]),_:2},1024),c(n,{class:"go",onClick:x(t=>function(e){(null==e?void 0:e.lat)&&(null==e?void 0:e.lng)?j({latitude:Number(e.lat),longitude:Number(e.lng),name:e.name||"站点",address:e.address||""}):S({title:"暂无导航坐标",icon:"none"})}(e),["stop"])},{default:i(()=>[f("导航")]),_:2},1032,["onClick"])]),_:2},1032,["onClick"]))),128))]}),_:1}),A.value?(o(),s(n,{key:0,class:"intro-card"},{default:i(()=>[c(n,{class:"sec-title-row"},{default:i(()=>[c(a,{class:"sec-title"},{default:i(()=>[f("线路简介")]),_:1}),H.value?(o(),s(n,{key:0,class:"expand-arrow-tap",onClick:t[0]||(t[0]=e=>E.value=!E.value)},{default:i(()=>[c(u,{class:"expand-arrow-img",src:E.value?k(q):k(D),mode:"aspectFit"},null,8,["src"])]),_:1})):_("",!0)]),_:1}),c(n,{class:w(["intro-rich-wrap judge-intro",{"is-collapsed":H.value&&!E.value}])},{default:i(()=>[c(z,{class:"intro-rich",nodes:A.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):_("",!0),c(n,{class:"safe-bottom"})]),_:1})]),_:1})}}}),[["__scopeId","data-v-89b960de"]]);export{Y as default}; diff --git a/public/h5/assets/pages-traffic-index.CHSAgAHe.js b/public/h5/assets/pages-traffic-index.BIk4Vie9.js similarity index 98% rename from public/h5/assets/pages-traffic-index.CHSAgAHe.js rename to public/h5/assets/pages-traffic-index.BIk4Vie9.js index a2c8e03..f35fd5e 100644 --- a/public/h5/assets/pages-traffic-index.CHSAgAHe.js +++ b/public/h5/assets/pages-traffic-index.BIk4Vie9.js @@ -1 +1 @@ -import{d as a,e,f as l,o as t,a0 as s,w as u,j as d,k as v,a6 as c,m as n,n as r,p as i,t as o,v as f,C as h,x as _,a7 as x,H as y,y as m,F as p,z as g}from"./index-DBg2bUhq.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const S="trafficLineChart",w=k(a({__name:"index",setup(a){const k=e("week"),w={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}]},b=l(()=>w[k.value]),C=l(()=>{var a,e;return`${(null==(a=b.value[0])?void 0:a.date)||"-"} 至 ${(null==(e=b.value[b.value.length-1])?void 0:e.date)||"-"}`}),T=l(()=>b.value.reduce((a,e)=>e.value>a.value?e:a,b.value[0]));function F(){const a=b.value;if(!a.length)return;const e=c(S),l=24,t=18,s=24,u=18,d=260,v=Math.min(...a.map(a=>a.value)),n=Math.max(...a.map(a=>a.value)),r=Math.max(1,n-v),i=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+i*t/Math.max(1,a.length-1),y:l+(n-e.value)/r*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(),F()}),u(k,async()=>{await s(),F()}),(a,e)=>{const l=n,t=o,s=x;return r(),d(l,{class:"page"},{default:v(()=>[i(l,{class:"section-title"},{default:v(()=>[i(l,{class:"bar"}),i(t,{class:"title"},{default:v(()=>[f("全市参观人数")]),_:1}),i(l,{class:"period"},{default:v(()=>[i(t,{class:h({active:"week"===k.value}),onClick:e[0]||(e[0]=a=>k.value="week")},{default:v(()=>[f("周")]),_:1},8,["class"]),i(t,{class:h({active:"month"===k.value}),onClick:e[1]||(e[1]=a=>k.value="month")},{default:v(()=>[f("月")]),_:1},8,["class"]),i(t,{class:h({active:"year"===k.value}),onClick:e[2]||(e[2]=a=>k.value="year")},{default:v(()=>[f("年")]),_:1},8,["class"])]),_:1})]),_:1}),i(l,{class:"date-range"},{default:v(()=>[f(_(C.value),1)]),_:1}),i(l,{class:"chart-card"},{default:v(()=>[i(s,{"canvas-id":S,id:S,class:"chart-canvas",style:y("width:680rpx;height:260rpx;")},null,8,["style"]),i(l,{class:"x-axis"},{default:v(()=>[(r(!0),m(p,null,g(b.value,a=>(r(),d(t,{key:a.date},{default:v(()=>[f(_(a.date),1)]),_:2},1024))),128))]),_:1})]),_:1}),i(l,{class:"list-card"},{default:v(()=>[i(l,{class:"list-title"},{default:v(()=>[f("参观人数列表")]),_:1}),(r(!0),m(p,null,g(b.value,a=>(r(),d(l,{key:a.date,class:"row"},{default:v(()=>{var e;return[i(t,{class:"d"},{default:v(()=>[f(_(a.date),1)]),_:2},1024),i(t,{class:h(["c",{hot:a.date===(null==(e=T.value)?void 0:e.date)}])},{default:v(()=>{return[f(_((e=a.value,`${e.toLocaleString()}人`)),1)];var e}),_:2},1032,["class"])]}),_:2},1024))),128))]),_:1})]),_:1})}}}),[["__scopeId","data-v-bc58d322"]]);export{w as default}; +import{d as a,e,f as l,o as t,a0 as s,w as u,j as d,k as v,a6 as c,m as n,n as r,p as i,t as o,v as f,C as h,x as _,a7 as x,H as y,y as m,F as p,z as g}from"./index-BQ-ey0LP.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const S="trafficLineChart",w=k(a({__name:"index",setup(a){const k=e("week"),w={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}]},b=l(()=>w[k.value]),C=l(()=>{var a,e;return`${(null==(a=b.value[0])?void 0:a.date)||"-"} 至 ${(null==(e=b.value[b.value.length-1])?void 0:e.date)||"-"}`}),T=l(()=>b.value.reduce((a,e)=>e.value>a.value?e:a,b.value[0]));function F(){const a=b.value;if(!a.length)return;const e=c(S),l=24,t=18,s=24,u=18,d=260,v=Math.min(...a.map(a=>a.value)),n=Math.max(...a.map(a=>a.value)),r=Math.max(1,n-v),i=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+i*t/Math.max(1,a.length-1),y:l+(n-e.value)/r*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(),F()}),u(k,async()=>{await s(),F()}),(a,e)=>{const l=n,t=o,s=x;return r(),d(l,{class:"page"},{default:v(()=>[i(l,{class:"section-title"},{default:v(()=>[i(l,{class:"bar"}),i(t,{class:"title"},{default:v(()=>[f("全市参观人数")]),_:1}),i(l,{class:"period"},{default:v(()=>[i(t,{class:h({active:"week"===k.value}),onClick:e[0]||(e[0]=a=>k.value="week")},{default:v(()=>[f("周")]),_:1},8,["class"]),i(t,{class:h({active:"month"===k.value}),onClick:e[1]||(e[1]=a=>k.value="month")},{default:v(()=>[f("月")]),_:1},8,["class"]),i(t,{class:h({active:"year"===k.value}),onClick:e[2]||(e[2]=a=>k.value="year")},{default:v(()=>[f("年")]),_:1},8,["class"])]),_:1})]),_:1}),i(l,{class:"date-range"},{default:v(()=>[f(_(C.value),1)]),_:1}),i(l,{class:"chart-card"},{default:v(()=>[i(s,{"canvas-id":S,id:S,class:"chart-canvas",style:y("width:680rpx;height:260rpx;")},null,8,["style"]),i(l,{class:"x-axis"},{default:v(()=>[(r(!0),m(p,null,g(b.value,a=>(r(),d(t,{key:a.date},{default:v(()=>[f(_(a.date),1)]),_:2},1024))),128))]),_:1})]),_:1}),i(l,{class:"list-card"},{default:v(()=>[i(l,{class:"list-title"},{default:v(()=>[f("参观人数列表")]),_:1}),(r(!0),m(p,null,g(b.value,a=>(r(),d(l,{key:a.date,class:"row"},{default:v(()=>{var e;return[i(t,{class:"d"},{default:v(()=>[f(_(a.date),1)]),_:2},1024),i(t,{class:h(["c",{hot:a.date===(null==(e=T.value)?void 0:e.date)}])},{default:v(()=>{return[f(_((e=a.value,`${e.toLocaleString()}人`)),1)];var e}),_:2},1032,["class"])]}),_:2},1024))),128))]),_:1})]),_:1})}}}),[["__scopeId","data-v-bc58d322"]]);export{w as default}; diff --git a/public/h5/assets/pages-venue-detail.BZba9FpN.js b/public/h5/assets/pages-venue-detail.wnyfbR_X.js similarity index 99% rename from public/h5/assets/pages-venue-detail.BZba9FpN.js rename to public/h5/assets/pages-venue-detail.wnyfbR_X.js index 6da2538..c9774e0 100644 --- a/public/h5/assets/pages-venue-detail.BZba9FpN.js +++ b/public/h5/assets/pages-venue-detail.wnyfbR_X.js @@ -1 +1 @@ -import{s as e,a5 as l,d as a,e as t,f as s,w as n,W as i,j as o,k as c,m as u,n as r,p as d,q as f,X as v,y as A,F as p,z as g,Y as m,D as _,Z as k,J as h,t as y,v as b,x as w,H as B,E as G,C as x,B as C,_ as E,R as F,K as Q,$ as D,a0 as K,a1 as V,a2 as S,u as U}from"./index-DBg2bUhq.js";import{l as R,g as I}from"./content.tJrjcqQa.js";import{f as N,a as j,c as O}from"./activity.4NBjJ4my.js";import{a as P,v as T,c as Y}from"./venueThemeColors.ByZn0VY6.js";import{i as J,a as W,b as q,c as H}from"./icon7.C1JV_D3L.js";import{i as z,a as X}from"./icon_up.DJ5zmdk8.js";import{P as L}from"./poster.DLiVsUXX.js";import{_ as Z}from"./_plugin-vue_export-helper.BCo6x5W8.js";const M={theme_nature_ecology:"自然生态",theme_tech_industry:"科技产业",theme_su_craft:"苏工苏艺",theme_life_health:"生命健康",theme_scientist_spirit:"弘扬科学家精神"},$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAXCAYAAAD+4+QTAAABVElEQVRIib2UvS5EQRTHf2fcJcgWPhoJL7AhQTSiEo16JQqh0KDeQiJRUik8gSBeQKuW2Ehko/EEKoVCdlWskZPMTbhm5jZm/8nkJmfmzO983ZHB5uUucAQMkEbPGcgBMJ4IoKoZ4DUhQNXOLPKZGEKGSGoG2pP0EIuY5BCQqZIzXeDWfX0aAeYj/tXMiuwBW0A9cKgDLEcuqQFPkf1TA+YazBqYfdDK/VkSsOerErB/gVkF09Ce5MQTYAOYLUQyDNwBH877p3T8xwIZnAE3eKbr0QPpAxYj5Qipmdsz+3u4pj0O2vB7F3Vx3rsukxmPnw7DeTGTbWDBc/gdWIpEPAe0PPYdB2lpT1aAdWf0yUYAqreAvR94AA41kwtgMnLJEHDlGu/TRMRXy3SsPXkpgVSAzZJsYupoJqE/+b9ke/ZApocgPXiFLTKamFHN3Hg2kiGg/Q0naTlNo3fupgAAAABJRU5ErkJggg==";function ee(e){return String(e??"").replace(/\s/gu,"")}function le(a){const t=function(e){return e.trim().replace(/\s+/g,"")}(a);t?l({phoneNumber:t}):e({title:"号码无效",icon:"none"})}const ae=Z(a({__name:"detail",setup(l){const a={free:"免费",paid:"收费"};function Z(e){var l,a;if(!e)return"";const t=null==(a=null==(l=ce.value)?void 0:l.venue_type)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)?t.label:M[e]||e}function ae(e){const l=null==e?void 0:e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:O(null==e?void 0:e.start_at,null==e?void 0:e.end_at)}function te(e){return j(ae(e))}function se(e){return`st-${ae(e)}`}function ne(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 ie(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const oe=t(null),ce=t(null),ue=t(!0),re=t(!1),de=t(!1),fe=t(!1),ve=t(!0),Ae=t(!1),pe=s(()=>{const e=oe.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.cover_image?[{type:"image",url:e.cover_image}]:[{type:"image",url:L}]:[{type:"image",url:L}]}),ge=s(()=>{var e;return function(e){const l=ee(e);return l?l.split(/[,,、;;/|]+/u).map(e=>e.trim()).filter(e=>""!==e):[]}(null==(e=oe.value)?void 0:e.contact_phone)}),me=s(()=>{var e;const l=null==(e=oe.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=`
${ne(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return ie(t)?t:""}),_e=s(()=>{var e;const l=null==(e=oe.value)?void 0:e.detail_html;if(!l)return"";const a=ne(String(l));return ie(a)?a:""}),ke=s(()=>P(oe.value));function he(e){var l,a;if(!e)return"";const t=null==(a=null==(l=ce.value)?void 0:l.venue_open_mode)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)||e}function ye(e){return null==e?"":String(e).trim()}function be(e){return ye(e).length>0}function we(e){return ee(e)}function Be(e){return we(e).length>0}function Ge(){var e,l;const a=oe.value;if(!a)return"";const t=ee(a.booking_method);if(t)return t;const s=a.appointment_type;if(!s)return"";const n=null==(l=null==(e=ce.value)?void 0:e.venue_appointment_type)?void 0:l.find(e=>e.value===s);return(null==n?void 0:n.label)||String(s)}function xe(){const e=oe.value;return!!e&&(!!ee(e.booking_method)||!!e.appointment_type)}function Ce(){var l,a,t,s;const n=Number((null==(l=oe.value)?void 0:l.lat)||0),i=Number((null==(a=oe.value)?void 0:a.lng)||0);n&&i?D({latitude:n,longitude:i,name:(null==(t=oe.value)?void 0:t.name)||"场馆",address:(null==(s=oe.value)?void 0:s.address)||""}):e({title:"暂无导航坐标",icon:"none"})}return n([_e,me],()=>{ue.value=!0,re.value=!0,K(()=>{setTimeout(()=>{var e;const l=null==(e=V())?void 0:e.proxy,a=S();l&&a.in(l);const t=U(187);a.select(".judge-intro").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];de.value=!!(l&&l.height&&l.height>t+1),fe.value=!!(a&&a.height&&a.height>t+1),fe.value?re.value=!1:re.value=!0})},120)})}),n(()=>{var e;return ye(null==(e=oe.value)?void 0:e.ticket_content)},()=>{ve.value=!0,K(()=>{setTimeout(()=>{var e;const l=null==(e=V())?void 0:e.proxy,a=S();l&&a.in(l);const t=U(187);a.select(".judge-ticket-measure").boundingClientRect(),a.exec(e=>{const[l]=e||[],a=!!(l&&l.height&&l.height>t+1);Ae.value=a,ve.value=!a})},120)})},{flush:"post"}),i(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const[a,t]=await Promise.all([R(l),I()]);oe.value=a,ce.value=t}),(e,l)=>{const t=_,s=k,n=m,i=v,D=u,K=y,V=E,S=f,U=F;return r(),o(D,{class:"page"},{default:c(()=>[d(S,{"scroll-y":"",class:"scroll"},{default:c(()=>{var e,u;return[d(D,{class:"hero"},{default:c(()=>[pe.value.length?(r(),o(i,{key:0,class:"hero-swiper",circular:"","indicator-dots":pe.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:c(()=>[(r(!0),A(p,null,g(pe.value,(e,l)=>(r(),o(n,{key:"s-"+l,class:"swiper-item"},{default:c(()=>["video"!==e.type?(r(),o(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(r(),o(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"])):h("",!0)]),_:1}),d(D,{class:"main-card"},{default:c(()=>{var e,s;return[oe.value&&be(oe.value.ticket_content)?(r(),o(D,{key:0,class:"ticket-measure-host","aria-hidden":"true"},{default:c(()=>[d(D,{class:"info-row ticket-measure-row info-row--ticket-one"},{default:c(()=>[d(D,{class:"ticket-measure-ico"}),d(D,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("门票说明:")]),_:1}),d(K,{class:"judge-ticket-measure ticket-plain"},{default:c(()=>[b(w(ye(oe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0),d(K,{class:"venue-name"},{default:c(()=>{var e;return[b(w((null==(e=oe.value)?void 0:e.name)||"-"),1)]}),_:1}),ke.value.length||(null==(e=oe.value)?void 0:e.ticket_type)||(null==(s=oe.value)?void 0:s.open_mode)?(r(),o(D,{key:1,class:"chip-row"},{default:c(()=>{var e,l;return[(r(!0),A(p,null,g(ke.value,(e,l)=>{var a;return r(),o(K,{key:"vt-"+l,class:"chip",style:B(G(T)(G(Y)(e,null==(a=ce.value)?void 0:a.venue_type)))},{default:c(()=>[b(w(Z(e)),1)]),_:2},1032,["style"])}),128)),(null==(e=oe.value)?void 0:e.ticket_type)?(r(),o(K,{key:0,class:x(["chip","paid"===oe.value.ticket_type?"chip-paid":"chip-free"])},{default:c(()=>{return[b(w((e=oe.value.ticket_type,e?a[e]||e:"")),1)];var e}),_:1},8,["class"])):h("",!0),(null==(l=oe.value)?void 0:l.open_mode)?(r(),o(K,{key:1,class:"chip open-mode-tag"},{default:c(()=>[b(w(he(oe.value.open_mode)),1)]),_:1})):h("",!0)]}),_:1})):h("",!0),oe.value&&Be(oe.value.unit_name)?(r(),o(D,{key:2,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(J),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("所属单位:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.open_time)?(r(),o(D,{key:3,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(W),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("开放时间:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.open_time)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&xe()?(r(),o(D,{key:4,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(q),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("预约方式:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(Ge()),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.visit_form)?(r(),o(D,{key:5,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G("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"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("参观形式:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.visit_form)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.consultation_hours)?(r(),o(D,{key:6,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G("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"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("咨询时间:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.consultation_hours)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&ge.value.length?(r(),o(D,{key:7,class:"info-row info-row--phones"},{default:c(()=>[d(t,{class:"info-ico",src:G("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABuElEQVRIia2VP0scURTFf2d2DVqmyQcIFn6BKJLOygUNWFpYydrYKGihkDSCprBIoWIghWlTCCbq2liEKMKuFiooElLmEyQYSAI3THZGhmHfm3HGC4eZN/e+OffPmXnqOXlPwmrABNAE3vBAVk285i0wFd2PA93A64egqYLC6ydgJOVbAS6BvdIkhuY7EMS2AzwGfpQhCZAWkHCggrTu8edCAOpqt8yJCVB/RowXgaHvhsjATI4YJ8JKPufI5lepSkCrGUF/QctlSKomfQVawDOHONaAb+XU1WarezLpLVNFPPhwOOeGth2DGzE0WXbwMeM46Kcjm3eg4eKVKCDCb1NQS6zTaJiC5x6/E0GK9Qj0ypNV6K8VnUkSS4Y+eHq8b+hlYj1mqGHoxNBspz2qNHdcymsAwx5ltqJrWvpX0ZFxHD9QpfXRJ/EsIp+tAvP/v5MM+dUM7RaU7pyhQ0OP0oPvhFHQRkH5DoG+hIdWntKno16vFWhbf55KYqyDBkA396zmOrjnKddE6kNaRPqTc089a/AurBjqNbRp6NYTVzd0LE4PCir0zp4AL4BB4Gn7z84FsAWcAfwDuxHZ5sUXudsAAAAASUVORK5CYII="),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--phone-block"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("咨询电话:")]),_:1}),d(D,{class:"phone-list"},{default:c(()=>[(r(!0),A(p,null,g(ge.value,(e,l)=>(r(),o(K,{key:"ph-"+l+"-"+e,class:"phone-link phone-line",onClick:C(l=>G(le)(e),["stop"])},{default:c(()=>[b(w(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.address)?(r(),o(D,{key:8,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(H),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("场馆地址:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.address)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&be(oe.value.ticket_content)&&!Ae.value?(r(),o(D,{key:9,class:"info-row info-row--ticket-one"},{default:c(()=>[d(t,{class:"info-ico",src:G($),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("门票说明:")]),_:1}),d(K,{class:"info-value ticket-plain"},{default:c(()=>[b(w(ye(oe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&be(oe.value.ticket_content)&&Ae.value?(r(),o(D,{key:10,class:"ticket-block"},{default:c(()=>[d(D,{class:"info-row ticket-row"},{default:c(()=>[d(t,{class:"info-ico",src:G($),mode:"aspectFit"},null,8,["src"]),d(D,{class:"ticket-col"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("门票说明:")]),_:1}),d(D,{class:"ticket-value-wrap"},{default:c(()=>[d(D,{class:x(["ticket-text-block",{"is-collapsed":!ve.value}])},{default:c(()=>[d(K,{class:"ticket-plain"},{default:c(()=>[b(w(ye(oe.value.ticket_content)),1)]),_:1})]),_:1},8,["class"]),d(D,{class:"ticket-arrow-tap",onClick:l[0]||(l[0]=C(e=>ve.value=!ve.value,["stop"]))},{default:c(()=>[d(t,{class:"expand-arrow-img",src:ve.value?G(z):G(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0),me.value?(r(),o(D,{key:11,class:"notice-block"},{default:c(()=>[d(D,{class:"sec-title-row notice-head-row"},{default:c(()=>[d(K,{class:"notice-label"},{default:c(()=>[b("预约须知")]),_:1}),fe.value?(r(),o(D,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>re.value=!re.value)},{default:c(()=>[d(t,{class:"expand-arrow-img",src:re.value?G(z):G(X),mode:"aspectFit"},null,8,["src"])]),_:1})):h("",!0)]),_:1}),d(D,{class:x(["notice-block-body judge-notice",{"is-collapsed":fe.value&&!re.value}])},{default:c(()=>[d(V,{class:"notice-inline-rich",nodes:me.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):h("",!0)]}),_:1}),_e.value?(r(),o(D,{key:0,class:"intro-card"},{default:c(()=>[d(D,{class:"sec-title-row"},{default:c(()=>[d(K,{class:"sec-title"},{default:c(()=>[b("场馆介绍")]),_:1}),de.value?(r(),o(D,{key:0,class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>ue.value=!ue.value)},{default:c(()=>[d(t,{class:"expand-arrow-img",src:ue.value?G(z):G(X),mode:"aspectFit"},null,8,["src"])]),_:1})):h("",!0)]),_:1}),d(D,{class:x(["intro-rich-wrap judge-intro",{"is-collapsed":de.value&&!ue.value}])},{default:c(()=>[d(V,{class:"intro-rich",nodes:_e.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):h("",!0),(null==(u=null==(e=oe.value)?void 0:e.activities)?void 0:u.length)?(r(),o(D,{key:1,class:"activities-card"},{default:c(()=>[d(D,{class:"sec-title-row"},{default:c(()=>[d(K,{class:"sec-title"},{default:c(()=>[b("场馆活动")]),_:1})]),_:1}),(r(!0),A(p,null,g(oe.value.activities,e=>(r(),o(D,{key:e.id,class:"venue-act-row",onClick:l=>{var a;(a=e.id)&&Q({url:`/pages/activity/detail?id=${a}`})}},{default:c(()=>[d(D,{class:"venue-act-cover-wrap"},{default:c(()=>[d(t,{class:"venue-act-cover",src:e.cover_image||G(L),mode:"aspectFill"},null,8,["src"]),d(D,{class:x(["venue-act-status",se(e)])},{default:c(()=>[b(w(te(e)),1)]),_:2},1032,["class"])]),_:2},1024),d(D,{class:"venue-act-body"},{default:c(()=>[d(K,{class:"venue-act-title"},{default:c(()=>[b(w(e.title),1)]),_:2},1024),e.summary?(r(),o(K,{key:0,class:"venue-act-sum"},{default:c(()=>[b(w(e.summary),1)]),_:2},1024)):h("",!0),d(D,{class:"venue-act-meta-row"},{default:c(()=>[d(K,{class:"venue-act-meta"},{default:c(()=>[b(w(G(N)(e.start_at,e.end_at)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):h("",!0),d(D,{class:"safe-bottom"})]}),_:1}),d(D,{class:"action-bar"},{default:c(()=>[d(U,{class:"btn primary",onClick:Ce},{default:c(()=>[b("一键导航")]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-e9ca3d90"]]);export{ae as default}; +import{s as e,a5 as l,d as a,e as t,f as s,w as n,W as i,j as o,k as c,m as u,n as r,p as d,q as f,X as v,y as A,F as p,z as g,Y as m,D as _,Z as k,J as h,t as y,v as b,x as w,H as B,E as G,C as x,B as C,_ as E,R as F,K as Q,$ as D,a0 as K,a1 as V,a2 as S,u as U}from"./index-BQ-ey0LP.js";import{l as R,g as I}from"./content.6JrrMb8t.js";import{f as N,a as j,c as O}from"./activity.4NBjJ4my.js";import{a as P,v as T,c as Y}from"./venueThemeColors.ByZn0VY6.js";import{i as J,a as W,b as q,c as H}from"./icon7.C1JV_D3L.js";import{i as z,a as X}from"./icon_up.DJ5zmdk8.js";import{P as L}from"./poster.DLiVsUXX.js";import{_ as Z}from"./_plugin-vue_export-helper.BCo6x5W8.js";const M={theme_nature_ecology:"自然生态",theme_tech_industry:"科技产业",theme_su_craft:"苏工苏艺",theme_life_health:"生命健康",theme_scientist_spirit:"弘扬科学家精神"},$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAXCAYAAAD+4+QTAAABVElEQVRIib2UvS5EQRTHf2fcJcgWPhoJL7AhQTSiEo16JQqh0KDeQiJRUik8gSBeQKuW2Ehko/EEKoVCdlWskZPMTbhm5jZm/8nkJmfmzO983ZHB5uUucAQMkEbPGcgBMJ4IoKoZ4DUhQNXOLPKZGEKGSGoG2pP0EIuY5BCQqZIzXeDWfX0aAeYj/tXMiuwBW0A9cKgDLEcuqQFPkf1TA+YazBqYfdDK/VkSsOerErB/gVkF09Ce5MQTYAOYLUQyDNwBH877p3T8xwIZnAE3eKbr0QPpAxYj5Qipmdsz+3u4pj0O2vB7F3Vx3rsukxmPnw7DeTGTbWDBc/gdWIpEPAe0PPYdB2lpT1aAdWf0yUYAqreAvR94AA41kwtgMnLJEHDlGu/TRMRXy3SsPXkpgVSAzZJsYupoJqE/+b9ke/ZApocgPXiFLTKamFHN3Hg2kiGg/Q0naTlNo3fupgAAAABJRU5ErkJggg==";function ee(e){return String(e??"").replace(/\s/gu,"")}function le(a){const t=function(e){return e.trim().replace(/\s+/g,"")}(a);t?l({phoneNumber:t}):e({title:"号码无效",icon:"none"})}const ae=Z(a({__name:"detail",setup(l){const a={free:"免费",paid:"收费"};function Z(e){var l,a;if(!e)return"";const t=null==(a=null==(l=ce.value)?void 0:l.venue_type)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)?t.label:M[e]||e}function ae(e){const l=null==e?void 0:e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:O(null==e?void 0:e.start_at,null==e?void 0:e.end_at)}function te(e){return j(ae(e))}function se(e){return`st-${ae(e)}`}function ne(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 ie(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const oe=t(null),ce=t(null),ue=t(!0),re=t(!1),de=t(!1),fe=t(!1),ve=t(!0),Ae=t(!1),pe=s(()=>{const e=oe.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.cover_image?[{type:"image",url:e.cover_image}]:[{type:"image",url:L}]:[{type:"image",url:L}]}),ge=s(()=>{var e;return function(e){const l=ee(e);return l?l.split(/[,,、;;/|]+/u).map(e=>e.trim()).filter(e=>""!==e):[]}(null==(e=oe.value)?void 0:e.contact_phone)}),me=s(()=>{var e;const l=null==(e=oe.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=`
${ne(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return ie(t)?t:""}),_e=s(()=>{var e;const l=null==(e=oe.value)?void 0:e.detail_html;if(!l)return"";const a=ne(String(l));return ie(a)?a:""}),ke=s(()=>P(oe.value));function he(e){var l,a;if(!e)return"";const t=null==(a=null==(l=ce.value)?void 0:l.venue_open_mode)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)||e}function ye(e){return null==e?"":String(e).trim()}function be(e){return ye(e).length>0}function we(e){return ee(e)}function Be(e){return we(e).length>0}function Ge(){var e,l;const a=oe.value;if(!a)return"";const t=ee(a.booking_method);if(t)return t;const s=a.appointment_type;if(!s)return"";const n=null==(l=null==(e=ce.value)?void 0:e.venue_appointment_type)?void 0:l.find(e=>e.value===s);return(null==n?void 0:n.label)||String(s)}function xe(){const e=oe.value;return!!e&&(!!ee(e.booking_method)||!!e.appointment_type)}function Ce(){var l,a,t,s;const n=Number((null==(l=oe.value)?void 0:l.lat)||0),i=Number((null==(a=oe.value)?void 0:a.lng)||0);n&&i?D({latitude:n,longitude:i,name:(null==(t=oe.value)?void 0:t.name)||"场馆",address:(null==(s=oe.value)?void 0:s.address)||""}):e({title:"暂无导航坐标",icon:"none"})}return n([_e,me],()=>{ue.value=!0,re.value=!0,K(()=>{setTimeout(()=>{var e;const l=null==(e=V())?void 0:e.proxy,a=S();l&&a.in(l);const t=U(187);a.select(".judge-intro").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];de.value=!!(l&&l.height&&l.height>t+1),fe.value=!!(a&&a.height&&a.height>t+1),fe.value?re.value=!1:re.value=!0})},120)})}),n(()=>{var e;return ye(null==(e=oe.value)?void 0:e.ticket_content)},()=>{ve.value=!0,K(()=>{setTimeout(()=>{var e;const l=null==(e=V())?void 0:e.proxy,a=S();l&&a.in(l);const t=U(187);a.select(".judge-ticket-measure").boundingClientRect(),a.exec(e=>{const[l]=e||[],a=!!(l&&l.height&&l.height>t+1);Ae.value=a,ve.value=!a})},120)})},{flush:"post"}),i(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const[a,t]=await Promise.all([R(l),I()]);oe.value=a,ce.value=t}),(e,l)=>{const t=_,s=k,n=m,i=v,D=u,K=y,V=E,S=f,U=F;return r(),o(D,{class:"page"},{default:c(()=>[d(S,{"scroll-y":"",class:"scroll"},{default:c(()=>{var e,u;return[d(D,{class:"hero"},{default:c(()=>[pe.value.length?(r(),o(i,{key:0,class:"hero-swiper",circular:"","indicator-dots":pe.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:c(()=>[(r(!0),A(p,null,g(pe.value,(e,l)=>(r(),o(n,{key:"s-"+l,class:"swiper-item"},{default:c(()=>["video"!==e.type?(r(),o(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(r(),o(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"])):h("",!0)]),_:1}),d(D,{class:"main-card"},{default:c(()=>{var e,s;return[oe.value&&be(oe.value.ticket_content)?(r(),o(D,{key:0,class:"ticket-measure-host","aria-hidden":"true"},{default:c(()=>[d(D,{class:"info-row ticket-measure-row info-row--ticket-one"},{default:c(()=>[d(D,{class:"ticket-measure-ico"}),d(D,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("门票说明:")]),_:1}),d(K,{class:"judge-ticket-measure ticket-plain"},{default:c(()=>[b(w(ye(oe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0),d(K,{class:"venue-name"},{default:c(()=>{var e;return[b(w((null==(e=oe.value)?void 0:e.name)||"-"),1)]}),_:1}),ke.value.length||(null==(e=oe.value)?void 0:e.ticket_type)||(null==(s=oe.value)?void 0:s.open_mode)?(r(),o(D,{key:1,class:"chip-row"},{default:c(()=>{var e,l;return[(r(!0),A(p,null,g(ke.value,(e,l)=>{var a;return r(),o(K,{key:"vt-"+l,class:"chip",style:B(G(T)(G(Y)(e,null==(a=ce.value)?void 0:a.venue_type)))},{default:c(()=>[b(w(Z(e)),1)]),_:2},1032,["style"])}),128)),(null==(e=oe.value)?void 0:e.ticket_type)?(r(),o(K,{key:0,class:x(["chip","paid"===oe.value.ticket_type?"chip-paid":"chip-free"])},{default:c(()=>{return[b(w((e=oe.value.ticket_type,e?a[e]||e:"")),1)];var e}),_:1},8,["class"])):h("",!0),(null==(l=oe.value)?void 0:l.open_mode)?(r(),o(K,{key:1,class:"chip open-mode-tag"},{default:c(()=>[b(w(he(oe.value.open_mode)),1)]),_:1})):h("",!0)]}),_:1})):h("",!0),oe.value&&Be(oe.value.unit_name)?(r(),o(D,{key:2,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(J),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("所属单位:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.open_time)?(r(),o(D,{key:3,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(W),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("开放时间:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.open_time)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&xe()?(r(),o(D,{key:4,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(q),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("预约方式:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(Ge()),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.visit_form)?(r(),o(D,{key:5,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G("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"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("参观形式:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.visit_form)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.consultation_hours)?(r(),o(D,{key:6,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G("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"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("咨询时间:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.consultation_hours)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&ge.value.length?(r(),o(D,{key:7,class:"info-row info-row--phones"},{default:c(()=>[d(t,{class:"info-ico",src:G("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABuElEQVRIia2VP0scURTFf2d2DVqmyQcIFn6BKJLOygUNWFpYydrYKGihkDSCprBIoWIghWlTCCbq2liEKMKuFiooElLmEyQYSAI3THZGhmHfm3HGC4eZN/e+OffPmXnqOXlPwmrABNAE3vBAVk285i0wFd2PA93A64egqYLC6ydgJOVbAS6BvdIkhuY7EMS2AzwGfpQhCZAWkHCggrTu8edCAOpqt8yJCVB/RowXgaHvhsjATI4YJ8JKPufI5lepSkCrGUF/QctlSKomfQVawDOHONaAb+XU1WarezLpLVNFPPhwOOeGth2DGzE0WXbwMeM46Kcjm3eg4eKVKCDCb1NQS6zTaJiC5x6/E0GK9Qj0ypNV6K8VnUkSS4Y+eHq8b+hlYj1mqGHoxNBspz2qNHdcymsAwx5ltqJrWvpX0ZFxHD9QpfXRJ/EsIp+tAvP/v5MM+dUM7RaU7pyhQ0OP0oPvhFHQRkH5DoG+hIdWntKno16vFWhbf55KYqyDBkA396zmOrjnKddE6kNaRPqTc089a/AurBjqNbRp6NYTVzd0LE4PCir0zp4AL4BB4Gn7z84FsAWcAfwDuxHZ5sUXudsAAAAASUVORK5CYII="),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--phone-block"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("咨询电话:")]),_:1}),d(D,{class:"phone-list"},{default:c(()=>[(r(!0),A(p,null,g(ge.value,(e,l)=>(r(),o(K,{key:"ph-"+l+"-"+e,class:"phone-link phone-line",onClick:C(l=>G(le)(e),["stop"])},{default:c(()=>[b(w(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&Be(oe.value.address)?(r(),o(D,{key:8,class:"info-row"},{default:c(()=>[d(t,{class:"info-ico",src:G(H),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("场馆地址:")]),_:1}),d(K,{class:"info-value"},{default:c(()=>[b(w(we(oe.value.address)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&be(oe.value.ticket_content)&&!Ae.value?(r(),o(D,{key:9,class:"info-row info-row--ticket-one"},{default:c(()=>[d(t,{class:"info-ico",src:G($),mode:"aspectFit"},null,8,["src"]),d(D,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("门票说明:")]),_:1}),d(K,{class:"info-value ticket-plain"},{default:c(()=>[b(w(ye(oe.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})):h("",!0),oe.value&&be(oe.value.ticket_content)&&Ae.value?(r(),o(D,{key:10,class:"ticket-block"},{default:c(()=>[d(D,{class:"info-row ticket-row"},{default:c(()=>[d(t,{class:"info-ico",src:G($),mode:"aspectFit"},null,8,["src"]),d(D,{class:"ticket-col"},{default:c(()=>[d(K,{class:"info-label"},{default:c(()=>[b("门票说明:")]),_:1}),d(D,{class:"ticket-value-wrap"},{default:c(()=>[d(D,{class:x(["ticket-text-block",{"is-collapsed":!ve.value}])},{default:c(()=>[d(K,{class:"ticket-plain"},{default:c(()=>[b(w(ye(oe.value.ticket_content)),1)]),_:1})]),_:1},8,["class"]),d(D,{class:"ticket-arrow-tap",onClick:l[0]||(l[0]=C(e=>ve.value=!ve.value,["stop"]))},{default:c(()=>[d(t,{class:"expand-arrow-img",src:ve.value?G(z):G(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0),me.value?(r(),o(D,{key:11,class:"notice-block"},{default:c(()=>[d(D,{class:"sec-title-row notice-head-row"},{default:c(()=>[d(K,{class:"notice-label"},{default:c(()=>[b("预约须知")]),_:1}),fe.value?(r(),o(D,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>re.value=!re.value)},{default:c(()=>[d(t,{class:"expand-arrow-img",src:re.value?G(z):G(X),mode:"aspectFit"},null,8,["src"])]),_:1})):h("",!0)]),_:1}),d(D,{class:x(["notice-block-body judge-notice",{"is-collapsed":fe.value&&!re.value}])},{default:c(()=>[d(V,{class:"notice-inline-rich",nodes:me.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):h("",!0)]}),_:1}),_e.value?(r(),o(D,{key:0,class:"intro-card"},{default:c(()=>[d(D,{class:"sec-title-row"},{default:c(()=>[d(K,{class:"sec-title"},{default:c(()=>[b("场馆介绍")]),_:1}),de.value?(r(),o(D,{key:0,class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>ue.value=!ue.value)},{default:c(()=>[d(t,{class:"expand-arrow-img",src:ue.value?G(z):G(X),mode:"aspectFit"},null,8,["src"])]),_:1})):h("",!0)]),_:1}),d(D,{class:x(["intro-rich-wrap judge-intro",{"is-collapsed":de.value&&!ue.value}])},{default:c(()=>[d(V,{class:"intro-rich",nodes:_e.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):h("",!0),(null==(u=null==(e=oe.value)?void 0:e.activities)?void 0:u.length)?(r(),o(D,{key:1,class:"activities-card"},{default:c(()=>[d(D,{class:"sec-title-row"},{default:c(()=>[d(K,{class:"sec-title"},{default:c(()=>[b("场馆活动")]),_:1})]),_:1}),(r(!0),A(p,null,g(oe.value.activities,e=>(r(),o(D,{key:e.id,class:"venue-act-row",onClick:l=>{var a;(a=e.id)&&Q({url:`/pages/activity/detail?id=${a}`})}},{default:c(()=>[d(D,{class:"venue-act-cover-wrap"},{default:c(()=>[d(t,{class:"venue-act-cover",src:e.cover_image||G(L),mode:"aspectFill"},null,8,["src"]),d(D,{class:x(["venue-act-status",se(e)])},{default:c(()=>[b(w(te(e)),1)]),_:2},1032,["class"])]),_:2},1024),d(D,{class:"venue-act-body"},{default:c(()=>[d(K,{class:"venue-act-title"},{default:c(()=>[b(w(e.title),1)]),_:2},1024),e.summary?(r(),o(K,{key:0,class:"venue-act-sum"},{default:c(()=>[b(w(e.summary),1)]),_:2},1024)):h("",!0),d(D,{class:"venue-act-meta-row"},{default:c(()=>[d(K,{class:"venue-act-meta"},{default:c(()=>[b(w(G(N)(e.start_at,e.end_at)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):h("",!0),d(D,{class:"safe-bottom"})]}),_:1}),d(D,{class:"action-bar"},{default:c(()=>[d(U,{class:"btn primary",onClick:Ce},{default:c(()=>[b("一键导航")]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-e9ca3d90"]]);export{ae as default}; diff --git a/public/h5/assets/suzhouDistrictPolygons.srVEtVX-.js b/public/h5/assets/suzhouDistrictPolygons.srVEtVX-.js new file mode 100644 index 0000000..3514632 --- /dev/null +++ b/public/h5/assets/suzhouDistrictPolygons.srVEtVX-.js @@ -0,0 +1 @@ +const t={features:[{type:"Feature",properties:{id:"320507",name:"相城区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.826067,31.436966],[120.81984,31.437908],[120.788109,31.432948],[120.779446,31.431591],[120.768633,31.429255],[120.758424,31.419913],[120.745015,31.414115],[120.733164,31.40607],[120.726416,31.397852],[120.724162,31.391635],[120.718675,31.386841],[120.714536,31.386388],[120.703558,31.390792],[120.697516,31.385776],[120.697512,31.390757],[120.696586,31.393071],[120.690713,31.393169],[120.690953,31.385165],[120.685587,31.380706],[120.675529,31.372343],[120.666834,31.365114],[120.660013,31.360205],[120.651362,31.352881],[120.643983,31.346212],[120.644087,31.345662],[120.645489,31.338274],[120.641345,31.338152],[120.640661,31.338055],[120.639547,31.339079],[120.634247,31.337844],[120.632103,31.337699],[120.631938,31.337814],[120.631105,31.338784],[120.630767,31.339654],[120.630844,31.342046],[120.630594,31.343279],[120.629821,31.345066],[120.628658,31.347256],[120.628363,31.34881],[120.628207,31.349103],[120.627581,31.349331],[120.626201,31.349406],[120.625212,31.349286],[120.623962,31.34881],[120.623485,31.348739],[120.623025,31.348905],[120.622782,31.349159],[120.622591,31.349549],[120.622366,31.349922],[120.621949,31.35038],[120.621003,31.350436],[120.619796,31.35047],[120.618313,31.35053],[120.616793,31.350531],[120.616212,31.350748],[120.615874,31.351492],[120.615162,31.352022],[120.614616,31.352168],[120.613938,31.352244],[120.613105,31.352092],[120.612358,31.351771],[120.612098,31.351304],[120.612167,31.349367],[120.612195,31.349316],[120.612171,31.349295],[120.612173,31.34919],[120.612176,31.349101],[120.612064,31.348637],[120.611621,31.348451],[120.607897,31.348008],[120.607464,31.348126],[120.60736,31.348622],[120.605911,31.356077],[120.605355,31.35764],[120.605147,31.358301],[120.604565,31.358726],[120.602022,31.358832],[120.595948,31.358926],[120.593231,31.359033],[120.591069,31.359263],[120.588943,31.359436],[120.588249,31.359492],[120.586409,31.359549],[120.586574,31.361579],[120.585246,31.361643],[120.582495,31.361672],[120.582079,31.361293],[120.581462,31.360441],[120.580595,31.359506],[120.579692,31.359307],[120.57346,31.359176],[120.570762,31.364335],[120.568011,31.367471],[120.567082,31.367745],[120.566388,31.368726],[120.566179,31.369439],[120.566301,31.370236],[120.567325,31.371482],[120.567733,31.371982],[120.568384,31.372788],[120.568262,31.37338],[120.567698,31.373955],[120.566535,31.37445],[120.563889,31.374909],[120.560721,31.375684],[120.558073,31.376425],[120.556564,31.377377],[120.555114,31.378265],[120.554385,31.378543],[120.552406,31.378895],[120.551382,31.38077],[120.549881,31.381254],[120.548214,31.383446],[120.547815,31.385515],[120.54686,31.38834],[120.545342,31.390157],[120.54378,31.391014],[120.543276,31.391722],[120.54345,31.392477],[120.544083,31.39278],[120.54509,31.392351],[120.546132,31.392408],[120.547885,31.394437],[120.548639,31.39576],[120.546687,31.397526],[120.545993,31.398788],[120.545359,31.401593],[120.547259,31.402309],[120.550766,31.402978],[120.551773,31.403506],[120.55297,31.404509],[120.553413,31.405427],[120.553907,31.406796],[120.556025,31.407528],[120.558178,31.409797],[120.559254,31.413182],[120.559289,31.41476],[120.558638,31.415301],[120.554055,31.415839],[120.552137,31.416453],[120.550758,31.418186],[120.549577,31.420905],[120.548743,31.42272],[120.546262,31.422364],[120.544534,31.421812],[120.543467,31.421262],[120.542599,31.420034],[120.542364,31.418574],[120.540682,31.417128],[120.540004,31.416662],[120.539362,31.416371],[120.536671,31.416264],[120.531247,31.415496],[120.528253,31.413811],[120.526004,31.412462],[120.52459,31.410796],[120.521127,31.408378],[120.517785,31.407302],[120.515476,31.406879],[120.514009,31.406263],[120.512317,31.40507],[120.511189,31.405118],[120.510199,31.405256],[120.509114,31.405382],[120.508142,31.404881],[120.507595,31.404059],[120.506874,31.403516],[120.506146,31.403167],[120.505712,31.403223],[120.504601,31.403696],[120.50328,31.405378],[120.500008,31.409126],[120.49592,31.412045],[120.492005,31.413173],[120.486623,31.413048],[120.485199,31.412546],[120.483655,31.410918],[120.482656,31.41091],[120.481858,31.411306],[120.475901,31.416941],[120.475889,31.416954],[120.475823,31.417016],[120.475802,31.417035],[120.473845,31.418886],[120.466344,31.413337],[120.471813,31.408207],[120.472022,31.407664],[120.471249,31.407191],[120.470685,31.406929],[120.469409,31.406625],[120.467637,31.406615],[120.466909,31.406342],[120.465319,31.404307],[120.464494,31.404055],[120.46189,31.404105],[120.460796,31.404176],[120.46051,31.403985],[120.460493,31.403378],[120.460735,31.402099],[120.461049,31.400852],[120.46104,31.399994],[120.460996,31.397807],[120.460779,31.397032],[120.460527,31.396678],[120.460214,31.396507],[120.45952,31.396524],[120.458521,31.396776],[120.456299,31.398714],[120.455726,31.399036],[120.455275,31.399045],[120.454111,31.398401],[120.450977,31.396742],[120.449788,31.396366],[120.449041,31.396399],[120.44879,31.396867],[120.448434,31.397564],[120.447964,31.398197],[120.447114,31.39851],[120.445117,31.398781],[120.443823,31.3987],[120.442938,31.397776],[120.442816,31.396389],[120.442295,31.394666],[120.441375,31.393724],[120.439361,31.392767],[120.438293,31.392111],[120.43633,31.391234],[120.434767,31.391474],[120.433943,31.391546],[120.43238,31.392259],[120.430852,31.393397],[120.428742,31.395054],[120.426589,31.395833],[120.424514,31.395832],[120.42269,31.395053],[120.417264,31.392484],[120.41623,31.392065],[120.415666,31.392107],[120.415119,31.392419],[120.414528,31.394076],[120.414225,31.394958],[120.4132,31.395572],[120.410361,31.396357],[120.409136,31.397096],[120.407218,31.398311],[120.405342,31.398643],[120.403632,31.398642],[120.400706,31.400451],[120.387465,31.401703],[120.312979,31.400018],[120.330904,31.409224],[120.351156,31.418279],[120.358799,31.422156],[120.40155,31.443826],[120.414145,31.450166],[120.41797,31.450778],[120.418493,31.450759],[120.41903,31.450535],[120.419373,31.450207],[120.419611,31.449817],[120.420114,31.44809],[120.420303,31.447892],[120.421591,31.447332],[120.421924,31.447229],[120.423271,31.447287],[120.423248,31.448182],[120.424632,31.448184],[120.424725,31.447938],[120.425028,31.447973],[120.424995,31.448183],[120.425883,31.448185],[120.425958,31.447955],[120.426156,31.447874],[120.426419,31.447241],[120.427259,31.447038],[120.427328,31.446761],[120.427602,31.446494],[120.427766,31.446608],[120.428071,31.446467],[120.428857,31.445666],[120.430356,31.444407],[120.432841,31.444852],[120.427072,31.450439],[120.428231,31.450708],[120.429151,31.450799],[120.433532,31.45057],[120.440353,31.449499],[120.450177,31.448075],[120.455597,31.447334],[120.469908,31.448455],[120.470548,31.448655],[120.475168,31.450775],[120.476052,31.451038],[120.476403,31.451653],[120.476449,31.451856],[120.476906,31.451912],[120.477057,31.452201],[120.477263,31.451687],[120.477506,31.451445],[120.477913,31.451278],[120.48093,31.451816],[120.480929,31.450886],[120.480848,31.450756],[120.480649,31.450675],[120.480309,31.449395],[120.480518,31.449245],[120.480489,31.449085],[120.481419,31.448776],[120.481679,31.449505],[120.481799,31.449606],[120.481959,31.449976],[120.482549,31.450536],[120.485779,31.450126],[120.486989,31.450136],[120.48763,31.450266],[120.488059,31.450455],[120.488182,31.450289],[120.48839,31.449976],[120.488949,31.449546],[120.489379,31.449765],[120.48971,31.449786],[120.489599,31.450326],[120.489659,31.450346],[120.489888,31.450385],[120.49076,31.450016],[120.491309,31.449876],[120.491387,31.450112],[120.491659,31.451056],[120.491639,31.451245],[120.490929,31.451585],[120.49096,31.452528],[120.49098,31.453036],[120.491349,31.453136],[120.49178,31.453415],[120.492379,31.454036],[120.495369,31.457656],[120.4958,31.458295],[120.496979,31.459516],[120.49806,31.459936],[120.49987,31.459755],[120.499939,31.460065],[120.50063,31.459936],[120.50067,31.458756],[120.50219,31.458825],[120.502769,31.459026],[120.503499,31.458545],[120.504133,31.457628],[120.504775,31.457673],[120.506469,31.458875],[120.506798,31.458745],[120.507979,31.459076],[120.507899,31.458665],[120.508469,31.458555],[120.508499,31.458175],[120.509279,31.458126],[120.509479,31.458185],[120.509879,31.459125],[120.510119,31.459096],[120.510489,31.458655],[120.512049,31.459135],[120.512119,31.459714],[120.512999,31.459835],[120.513039,31.461945],[120.511609,31.462235],[120.511669,31.462606],[120.511627,31.46608],[120.511529,31.466165],[120.511638,31.466426],[120.512119,31.466765],[120.513109,31.467225],[120.514608,31.467625],[120.517249,31.469484],[120.518379,31.47005],[120.519508,31.470384],[120.521688,31.470364],[120.522848,31.470054],[120.524268,31.469263],[120.525037,31.469013],[120.526787,31.468653],[120.528347,31.468694],[120.529757,31.468984],[120.531337,31.468974],[120.531856,31.469153],[120.532226,31.469784],[120.532416,31.470022],[120.533016,31.470424],[120.536486,31.471013],[120.538235,31.471593],[120.539295,31.472342],[120.540032,31.473229],[120.542095,31.475212],[120.545144,31.477232],[120.546464,31.477991],[120.546673,31.477982],[120.549856,31.478335],[120.549189,31.47912],[120.550158,31.479127],[120.550991,31.479962],[120.551078,31.481297],[120.551,31.482387],[120.55034,31.484446],[120.549682,31.485584],[120.548753,31.488826],[120.546669,31.4901],[120.544821,31.491259],[120.5447,31.493228],[120.5447,31.494849],[120.54378,31.497164],[120.544239,31.49948],[120.545515,31.500868],[120.547364,31.502722],[120.548527,31.504805],[120.550957,31.509668],[120.552164,31.510525],[120.555618,31.511067],[120.559497,31.512441],[120.564331,31.514483],[120.568089,31.516613],[120.572714,31.519623],[120.581584,31.526654],[120.585637,31.529095],[120.587051,31.529633],[120.58857,31.52968],[120.589404,31.528802],[120.589794,31.527629],[120.590766,31.522256],[120.591451,31.519276],[120.592476,31.518394],[120.593699,31.518101],[120.594385,31.518296],[120.594775,31.518982],[120.595061,31.520104],[120.595843,31.52074],[120.597214,31.52074],[120.59816,31.521115],[120.601302,31.526149],[120.601571,31.527371],[120.60125,31.529181],[120.600451,31.532107],[120.600069,31.532999],[120.600008,31.534226],[120.600417,31.536403],[120.600798,31.537178],[120.600929,31.537812],[120.600642,31.538396],[120.599913,31.539146],[120.599115,31.539847],[120.598724,31.540394],[120.598594,31.541384],[120.59862,31.543307],[120.598994,31.54457],[120.599523,31.546522],[120.599583,31.5466],[120.599661,31.5467],[120.600833,31.5482],[120.608306,31.547944],[120.609208,31.547988],[120.609364,31.548361],[120.609425,31.54911],[120.608939,31.551507],[120.608939,31.552152],[120.609781,31.552244],[120.611283,31.551853],[120.612524,31.551763],[120.613999,31.552629],[120.615188,31.553111],[120.615769,31.552961],[120.616481,31.551671],[120.617123,31.550354],[120.617783,31.549199],[120.619935,31.548001],[120.621888,31.547821],[120.622773,31.54746],[120.622782,31.545871],[120.622773,31.544074],[120.623242,31.542751],[120.624761,31.540727],[120.624882,31.537689],[120.624509,31.534397],[120.623112,31.531105],[120.62247,31.528924],[120.622322,31.527906],[120.622999,31.527515],[120.627417,31.527432],[120.629821,31.527426],[120.631643,31.527349],[120.63285,31.527121],[120.633458,31.526327],[120.633197,31.525001],[120.631869,31.521209],[120.631869,31.519862],[120.632946,31.519323],[120.634474,31.518874],[120.637615,31.518874],[120.639142,31.518605],[120.639142,31.517617],[120.638874,31.515821],[120.63896,31.514653],[120.639637,31.513683],[120.641095,31.513533],[120.642128,31.513145],[120.642735,31.512498],[120.643178,31.510251],[120.64363,31.508815],[120.645244,31.507738],[120.648481,31.506749],[120.650452,31.506299],[120.651355,31.505581],[120.651085,31.504504],[120.650781,31.501685],[120.652005,31.500489],[120.652058,31.500086],[120.651971,31.49899],[120.652284,31.498486],[120.653586,31.498356],[120.654731,31.498168],[120.65566,31.497978],[120.656606,31.497933],[120.657543,31.498774],[120.658629,31.500283],[120.659106,31.500689],[120.660417,31.500719],[120.662673,31.500673],[120.664462,31.50032],[120.666744,31.500107],[120.668272,31.500244],[120.673402,31.499862],[120.674835,31.499862],[120.67579,31.501142],[120.67625,31.501695],[120.677074,31.501976],[120.677813,31.501975],[120.679323,31.50171],[120.680417,31.501463],[120.680468,31.500862],[120.680208,31.500209],[120.680903,31.499228],[120.682517,31.498935],[120.684853,31.498756],[120.686919,31.498575],[120.688186,31.498189],[120.689939,31.497351],[120.691103,31.497922],[120.692127,31.498923],[120.693638,31.500392],[120.692795,31.501494],[120.698422,31.511883],[120.699133,31.512379],[120.700687,31.513216],[120.70225,31.515252],[120.702858,31.517352],[120.703083,31.518724],[120.702806,31.520319],[120.703951,31.521406],[120.705089,31.521761],[120.707484,31.52168],[120.714048,31.521681],[120.717694,31.521959],[120.719839,31.521382],[120.722374,31.522253],[120.724041,31.523876],[120.724284,31.525912],[120.724406,31.527947],[120.724745,31.529002],[120.72635,31.52922],[120.729745,31.529246],[120.731273,31.529546],[120.731299,31.529845],[120.731108,31.537248],[120.73103,31.538177],[120.732323,31.538018],[120.734208,31.537882],[120.73538,31.537565],[120.736787,31.536615],[120.73821,31.535598],[120.741197,31.534172],[120.743055,31.533289],[120.743758,31.533107],[120.744938,31.533018],[120.747292,31.532066],[120.74928,31.531273],[120.751137,31.531094],[120.753334,31.530958],[120.753768,31.531274],[120.754602,31.531774],[120.755696,31.531707],[120.757137,31.531662],[120.758092,31.531955],[120.758647,31.532877],[120.758804,31.533641],[120.758544,31.534785],[120.758544,31.536326],[120.759795,31.540106],[120.760246,31.54169],[120.760602,31.542324],[120.761304,31.542595],[120.763545,31.541812],[120.770386,31.537595],[120.771471,31.536508],[120.77247,31.535716],[120.773781,31.535058],[120.775595,31.534266],[120.776299,31.533815],[120.776498,31.533136],[120.776584,31.531875],[120.777175,31.53099],[120.778104,31.530547],[120.779285,31.5304],[120.781161,31.530843],[120.782246,31.531433],[120.783626,31.531907],[120.784755,31.531943],[120.785119,31.531857],[120.785128,31.531557],[120.784443,31.529841],[120.784147,31.529168],[120.783782,31.527824],[120.784095,31.526978],[120.786013,31.526319],[120.78874,31.526169],[120.791049,31.52612],[120.79282,31.5259],[120.794044,31.524763],[120.794565,31.523715],[120.795164,31.523574],[120.798853,31.523622],[120.800286,31.523605],[120.80066,31.523764],[120.800798,31.524189],[120.800764,31.524736],[120.800745,31.526452],[120.801033,31.527619],[120.801476,31.528204],[120.802092,31.528753],[120.802795,31.529614],[120.803385,31.530808],[120.803967,31.531891],[120.80434,31.532974],[120.804427,31.533991],[120.80434,31.535075],[120.804366,31.538172],[120.805147,31.538171],[120.805356,31.538152],[120.806389,31.537813],[120.808915,31.536049],[120.809731,31.535023],[120.811086,31.534992],[120.812501,31.535351],[120.814071,31.5357],[120.814983,31.535615],[120.81586,31.53534],[120.81658,31.535413],[120.816746,31.535762],[120.816858,31.536471],[120.817362,31.53681],[120.81862,31.536838],[120.820113,31.536924],[120.821676,31.536658],[120.821997,31.53583],[120.822753,31.533701],[120.823481,31.530937],[120.82428,31.527999],[120.824896,31.524871],[120.825,31.523106],[120.825096,31.521994],[120.824479,31.521951],[120.820878,31.521824],[120.819167,31.521697],[120.811051,31.521666],[120.810833,31.521611],[120.809878,31.521091],[120.804601,31.516774],[120.80335,31.515724],[120.803403,31.514621],[120.803429,31.513067],[120.80355,31.511815],[120.803576,31.510762],[120.803428,31.509235],[120.803551,31.507531],[120.803551,31.505453],[120.803697,31.505127],[120.804002,31.504874],[120.81059,31.505678],[120.812796,31.506028],[120.813368,31.505854],[120.811474,31.499847],[120.811467,31.499816],[120.811441,31.499735],[120.811433,31.499713],[120.81119,31.49894],[120.810842,31.497812],[120.810217,31.49651],[120.809966,31.494806],[120.810365,31.493229],[120.812344,31.492275],[120.812692,31.491375],[120.814098,31.49105],[120.814949,31.490038],[120.81796,31.485624],[120.819983,31.477851],[120.81967,31.473302],[120.819827,31.470846],[120.821112,31.466705],[120.823212,31.446316],[120.82481,31.441084],[120.826067,31.436966]]]]}},{type:"Feature",properties:{id:"320508",name:"姑苏区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.585261,31.253367],[120.584914,31.258375],[120.584476,31.261061],[120.583789,31.26391],[120.583632,31.264963],[120.583945,31.266745],[120.582417,31.273628],[120.582062,31.275463],[120.580577,31.278014],[120.577627,31.282348],[120.576403,31.283977],[120.575682,31.285508],[120.571604,31.29489],[120.571126,31.295893],[120.568696,31.300737],[120.565329,31.307667],[120.5646,31.3088],[120.563663,31.309807],[120.56243,31.31104],[120.561996,31.311769],[120.561736,31.312863],[120.561858,31.314356],[120.561892,31.315467],[120.561806,31.316439],[120.561302,31.318087],[120.560226,31.320847],[120.55941,31.322792],[120.558976,31.32366],[120.55823,31.324581],[120.556285,31.326647],[120.530334,31.351967],[120.530148,31.352178],[120.53009,31.352207],[120.529554,31.352729],[120.52432,31.357593],[120.524052,31.35807],[120.524182,31.358547],[120.524729,31.358855],[120.535882,31.364071],[120.536151,31.364323],[120.536177,31.364755],[120.535821,31.365395],[120.535473,31.36595],[120.535352,31.366444],[120.535517,31.367083],[120.535821,31.367474],[120.535943,31.367989],[120.535804,31.368565],[120.535474,31.369616],[120.535491,31.370378],[120.535621,31.372127],[120.53609,31.373897],[120.536584,31.374804],[120.538191,31.375791],[120.539752,31.37641],[120.540395,31.376657],[120.540698,31.377131],[120.541072,31.377419],[120.541801,31.377541],[120.543094,31.377807],[120.544118,31.378265],[120.544934,31.378822],[120.545497,31.379421],[120.545741,31.380339],[120.546166,31.380621],[120.547433,31.380832],[120.549325,31.381187],[120.549881,31.381254],[120.551382,31.38077],[120.552406,31.378895],[120.554385,31.378543],[120.555114,31.378265],[120.556564,31.377377],[120.558073,31.376425],[120.560721,31.375684],[120.563889,31.374909],[120.566535,31.37445],[120.567698,31.373955],[120.568262,31.37338],[120.568384,31.372788],[120.567733,31.371982],[120.567325,31.371482],[120.566301,31.370236],[120.566179,31.369439],[120.566388,31.368726],[120.567082,31.367745],[120.568011,31.367471],[120.570762,31.364335],[120.57346,31.359176],[120.579692,31.359307],[120.580595,31.359506],[120.581462,31.360441],[120.582079,31.361293],[120.582495,31.361672],[120.585246,31.361643],[120.586574,31.361579],[120.586409,31.359549],[120.588249,31.359492],[120.588943,31.359436],[120.591069,31.359263],[120.593231,31.359033],[120.595948,31.358926],[120.602022,31.358832],[120.604565,31.358726],[120.605147,31.358301],[120.605355,31.35764],[120.605911,31.356077],[120.60736,31.348622],[120.607464,31.348126],[120.607897,31.348008],[120.611621,31.348451],[120.612064,31.348637],[120.612176,31.349101],[120.612173,31.34919],[120.612171,31.349295],[120.612195,31.349316],[120.612167,31.349367],[120.612098,31.351304],[120.612358,31.351771],[120.613105,31.352092],[120.613938,31.352244],[120.614616,31.352168],[120.615162,31.352022],[120.615874,31.351492],[120.616212,31.350748],[120.616793,31.350531],[120.618313,31.35053],[120.619796,31.35047],[120.621003,31.350436],[120.621949,31.35038],[120.622366,31.349922],[120.622591,31.349549],[120.622782,31.349159],[120.623025,31.348905],[120.623485,31.348739],[120.623962,31.34881],[120.625212,31.349286],[120.626201,31.349406],[120.627581,31.349331],[120.628207,31.349103],[120.628363,31.34881],[120.628658,31.347256],[120.629821,31.345066],[120.630594,31.343279],[120.630844,31.342046],[120.630767,31.339654],[120.631105,31.338784],[120.631938,31.337814],[120.632103,31.337699],[120.634247,31.337844],[120.639547,31.339079],[120.640661,31.338055],[120.636666,31.337489],[120.638213,31.332361],[120.639603,31.331114],[120.639742,31.330994],[120.64008,31.330708],[120.640626,31.330096],[120.640896,31.32974],[120.641078,31.329462],[120.641191,31.329261],[120.641312,31.329048],[120.641434,31.328815],[120.641625,31.328359],[120.641702,31.328123],[120.642059,31.326916],[120.64244,31.325543],[120.642797,31.324274],[120.642944,31.323753],[120.643091,31.323197],[120.643283,31.322546],[120.643474,31.321847],[120.643673,31.321116],[120.643855,31.320479],[120.644072,31.319759],[120.644307,31.31898],[120.644593,31.317956],[120.644732,31.317456],[120.644958,31.316688],[120.645035,31.316408],[120.64514,31.316024],[120.64534,31.315348],[120.645574,31.314564],[120.645634,31.314338],[120.645808,31.313729],[120.646433,31.31148],[120.646798,31.31016],[120.646868,31.309924],[120.647162,31.308878],[120.647371,31.30814],[120.647484,31.307765],[120.647822,31.306625],[120.64823,31.305137],[120.648517,31.304152],[120.648811,31.303126],[120.648976,31.302525],[120.649514,31.300609],[120.64994,31.299136],[120.650087,31.298609],[120.650339,31.297689],[120.650609,31.296675],[120.650764,31.295933],[120.650851,31.295464],[120.650921,31.294989],[120.650964,31.294414],[120.650999,31.293825],[120.651008,31.293259],[120.65099,31.292658],[120.650911,31.291788],[120.650869,31.291436],[120.650808,31.291079],[120.650704,31.290538],[120.65046,31.289431],[120.650287,31.288685],[120.650209,31.288266],[120.650122,31.287884],[120.650044,31.287521],[120.649784,31.286314],[120.649584,31.285304],[120.649498,31.284876],[120.649527,31.284811],[120.649545,31.284799],[120.649539,31.284746],[120.649546,31.284701],[120.649494,31.284427],[120.649475,31.284402],[120.649483,31.284379],[120.649484,31.284365],[120.649473,31.284282],[120.649454,31.284211],[120.649417,31.284197],[120.649341,31.284129],[120.649064,31.282895],[120.64902,31.282662],[120.648712,31.281576],[120.648358,31.280218],[120.647257,31.279812],[120.646659,31.279677],[120.645044,31.279484],[120.644567,31.279061],[120.644541,31.278255],[120.644984,31.276825],[120.645895,31.273177],[120.645722,31.272969],[120.643803,31.272765],[120.64264,31.272622],[120.641798,31.272776],[120.641087,31.27318],[120.640531,31.273738],[120.641009,31.274679],[120.641087,31.275467],[120.640549,31.276045],[120.638378,31.275602],[120.637337,31.275409],[120.636747,31.275494],[120.636026,31.27547],[120.632893,31.275304],[120.631322,31.275416],[120.630602,31.275668],[120.630247,31.276143],[120.630203,31.276673],[120.630351,31.276988],[120.630871,31.277604],[120.630967,31.277894],[120.630776,31.278187],[120.630489,31.278268],[120.629422,31.278111],[120.6291,31.278231],[120.628979,31.278771],[120.628528,31.280058],[120.623207,31.279404],[120.621888,31.279428],[120.617314,31.279085],[120.614364,31.278626],[120.610519,31.27829],[120.608575,31.277957],[120.608236,31.277603],[120.607958,31.277186],[120.607932,31.276793],[120.607967,31.276388],[120.608149,31.276066],[120.608566,31.275855],[120.609209,31.275636],[120.61025,31.274933],[120.610779,31.273581],[120.610814,31.272052],[120.61064,31.270662],[120.609564,31.269911],[120.607108,31.269055],[120.605494,31.268784],[120.605202,31.268589],[120.605184,31.268574],[120.605161,31.268562],[120.604765,31.268298],[120.6042,31.267809],[120.604079,31.267081],[120.604218,31.266208],[120.604365,31.265772],[120.60479,31.264599],[120.605658,31.263224],[120.605858,31.261743],[120.604094,31.26163],[120.604238,31.261208],[120.604389,31.260749],[120.604268,31.25896],[120.602061,31.258701],[120.600482,31.25842],[120.59899,31.258004],[120.598308,31.256834],[120.598123,31.254945],[120.597859,31.253067],[120.597429,31.25215],[120.594542,31.251858],[120.592432,31.253077],[120.592069,31.252983],[120.590682,31.253061]]]]}},{type:"Feature",properties:{id:"320505",name:"虎丘区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.591286,31.249507],[120.588474,31.249507],[120.587348,31.249291],[120.587942,31.242838],[120.588222,31.240272],[120.588436,31.235529],[120.584082,31.23534],[120.583835,31.235852],[120.583637,31.236186],[120.577553,31.234765],[120.576285,31.234357],[120.577345,31.231852],[120.577896,31.228929],[120.577656,31.227869],[120.576996,31.226329],[120.576256,31.223468],[120.575756,31.222128],[120.574087,31.222504],[120.572573,31.223154],[120.572054,31.227314],[120.571884,31.229744],[120.57209,31.230715],[120.56873,31.235321],[120.56677,31.23703],[120.563758,31.237994],[120.563484,31.238793],[120.564311,31.245314],[120.564536,31.245924],[120.564758,31.247394],[120.56417,31.247688],[120.563604,31.248434],[120.565124,31.251352],[120.565007,31.251773],[120.562929,31.252871],[120.562348,31.25332],[120.562086,31.254031],[120.562039,31.254564],[120.561825,31.254883],[120.560982,31.255404],[120.5604,31.256385],[120.559257,31.256835],[120.558659,31.257966],[120.55793,31.25791],[120.557422,31.259363],[120.559889,31.259953],[120.559914,31.261208],[120.560113,31.261498],[120.561039,31.261668],[120.562454,31.261963],[120.562579,31.261998],[120.56273,31.26243],[120.562362,31.26308],[120.559549,31.262972],[120.559322,31.264883],[120.558081,31.264751],[120.557894,31.265832],[120.556962,31.271222],[120.556719,31.274],[120.55477,31.273573],[120.554648,31.273073],[120.549096,31.272815],[120.548969,31.273998],[120.546381,31.273919],[120.546514,31.272545],[120.545325,31.272546],[120.545273,31.271885],[120.542683,31.271754],[120.542589,31.271332],[120.542016,31.271288],[120.542126,31.269638],[120.539899,31.269431],[120.539744,31.270474],[120.53649,31.270223],[120.536181,31.272138],[120.5347,31.272053],[120.534315,31.2732],[120.532861,31.27315],[120.53272,31.274341],[120.530699,31.274281],[120.530672,31.274143],[120.529539,31.27416],[120.529283,31.273736],[120.528829,31.273796],[120.528726,31.274392],[120.527324,31.274501],[120.526754,31.274514],[120.526739,31.274801],[120.527015,31.277433],[120.526753,31.278032],[120.526562,31.278479],[120.525266,31.278504],[120.524929,31.285465],[120.524953,31.285584],[120.524809,31.288076],[120.521847,31.289251],[120.521153,31.290139],[120.520805,31.291606],[120.519834,31.292803],[120.519712,31.292872],[120.519687,31.292882],[120.519659,31.292902],[120.518922,31.293318],[120.518523,31.294231],[120.517828,31.29485],[120.516127,31.295043],[120.514435,31.294902],[120.512838,31.294479],[120.509122,31.294221],[120.505941,31.2931],[120.505921,31.29309],[120.5059,31.293081],[120.501805,31.290643],[120.500451,31.290024],[120.498333,31.289986],[120.495356,31.290257],[120.49296,31.290487],[120.491858,31.289971],[120.491224,31.288996],[120.490685,31.287438],[120.489792,31.286783],[120.488516,31.286806],[120.487621,31.287386],[120.487344,31.289349],[120.486997,31.289946],[120.486259,31.290967],[120.486345,31.292014],[120.4873,31.29264],[120.487665,31.295891],[120.487422,31.296852],[120.486501,31.297173],[120.479279,31.297134],[120.478073,31.297535],[120.477595,31.298576],[120.478194,31.300221],[120.479158,31.301866],[120.479357,31.302911],[120.479079,31.304475],[120.477629,31.307805],[120.477074,31.310503],[120.476571,31.311784],[120.475268,31.312498],[120.471292,31.31334],[120.469287,31.314062],[120.468887,31.314583],[120.468254,31.315516],[120.46775,31.315672],[120.467099,31.315719],[120.463201,31.315965],[120.45939,31.316074],[120.458131,31.316237],[120.45669,31.317435],[120.456169,31.318835],[120.454919,31.319917],[120.453112,31.320358],[120.451072,31.320357],[120.449067,31.319315],[120.446133,31.317349],[120.443884,31.315183],[120.442564,31.31438],[120.441123,31.313376],[120.440436,31.311892],[120.440281,31.310247],[120.440836,31.307799],[120.442165,31.305274],[120.442521,31.303308],[120.442044,31.301863],[120.44068,31.300859],[120.438796,31.300297],[120.436139,31.300739],[120.43093,31.301941],[120.428195,31.301901],[120.426068,31.30198],[120.424548,31.302621],[120.423784,31.303745],[120.424227,31.30531],[120.424869,31.306032],[120.425148,31.306794],[120.42467,31.307355],[120.422022,31.308158],[120.417081,31.310603],[120.415845,31.3105],[120.415489,31.3105],[120.416546,31.316576],[120.415976,31.316557],[120.415272,31.319188],[120.413467,31.319658],[120.413128,31.320177],[120.414159,31.321776],[120.413238,31.322365],[120.412653,31.322806],[120.412237,31.323247],[120.410403,31.321718],[120.408783,31.323188],[120.411078,31.324526],[120.410442,31.32601],[120.408804,31.325712],[120.408393,31.325706],[120.407895,31.32681],[120.403599,31.326664],[120.40217,31.326595],[120.399664,31.326606],[120.399064,31.326205],[120.398223,31.325323],[120.397302,31.325082],[120.396338,31.325483],[120.395775,31.326165],[120.394975,31.326566],[120.39112,31.326364],[120.386345,31.326684],[120.38065,31.327126],[120.378964,31.327807],[120.376638,31.328006],[120.374024,31.327765],[120.371698,31.326601],[120.369614,31.325399],[120.368164,31.325116],[120.367948,31.324858],[120.36787,31.324452],[120.369172,31.322534],[120.369502,31.321777],[120.369441,31.321197],[120.369111,31.320906],[120.3674,31.320672],[120.353284,31.320423],[120.350115,31.320312],[120.349603,31.319272],[120.349664,31.317861],[120.350575,31.316209],[120.35101,31.315168],[120.349664,31.313821],[120.343778,31.310452],[120.339984,31.307512],[120.336677,31.305737],[120.329958,31.301841],[120.313275,31.293738],[120.301669,31.291412],[120.290898,31.291008],[120.279103,31.291619],[120.266866,31.29373],[120.258543,31.297245],[120.251131,31.302452],[120.224852,31.324967],[120.201957,31.34453],[120.204977,31.347626],[120.248553,31.368082],[120.303553,31.395182],[120.312979,31.400018],[120.387465,31.401703],[120.400706,31.400451],[120.403632,31.398642],[120.405342,31.398643],[120.407218,31.398311],[120.409136,31.397096],[120.410361,31.396357],[120.4132,31.395572],[120.414225,31.394958],[120.414528,31.394076],[120.415119,31.392419],[120.415666,31.392107],[120.41623,31.392065],[120.417264,31.392484],[120.42269,31.395053],[120.424514,31.395832],[120.426589,31.395833],[120.428742,31.395054],[120.430852,31.393397],[120.43238,31.392259],[120.433943,31.391546],[120.434767,31.391474],[120.43633,31.391234],[120.438293,31.392111],[120.439361,31.392767],[120.441375,31.393724],[120.442295,31.394666],[120.442816,31.396389],[120.442938,31.397776],[120.443823,31.3987],[120.445117,31.398781],[120.447114,31.39851],[120.447964,31.398197],[120.448434,31.397564],[120.44879,31.396867],[120.449041,31.396399],[120.449788,31.396366],[120.450977,31.396742],[120.454111,31.398401],[120.455275,31.399045],[120.455726,31.399036],[120.456299,31.398714],[120.458521,31.396776],[120.45952,31.396524],[120.460214,31.396507],[120.460527,31.396678],[120.460779,31.397032],[120.460996,31.397807],[120.46104,31.399994],[120.461049,31.400852],[120.460735,31.402099],[120.460493,31.403378],[120.46051,31.403985],[120.460796,31.404176],[120.46189,31.404105],[120.464494,31.404055],[120.465319,31.404307],[120.466909,31.406342],[120.467637,31.406615],[120.469409,31.406625],[120.470685,31.406929],[120.471249,31.407191],[120.472022,31.407664],[120.471813,31.408207],[120.466344,31.413337],[120.473845,31.418886],[120.475802,31.417035],[120.475823,31.417016],[120.475889,31.416954],[120.475901,31.416941],[120.481858,31.411306],[120.482656,31.41091],[120.483655,31.410918],[120.485199,31.412546],[120.486623,31.413048],[120.492005,31.413173],[120.49592,31.412045],[120.500008,31.409126],[120.50328,31.405378],[120.504601,31.403696],[120.505712,31.403223],[120.506146,31.403167],[120.506874,31.403516],[120.507595,31.404059],[120.508142,31.404881],[120.509114,31.405382],[120.510199,31.405256],[120.511189,31.405118],[120.512317,31.40507],[120.514009,31.406263],[120.515476,31.406879],[120.517785,31.407302],[120.521127,31.408378],[120.52459,31.410796],[120.526004,31.412462],[120.528253,31.413811],[120.531247,31.415496],[120.536671,31.416264],[120.539362,31.416371],[120.540004,31.416662],[120.540682,31.417128],[120.542364,31.418574],[120.542599,31.420034],[120.543467,31.421262],[120.544534,31.421812],[120.546262,31.422364],[120.548743,31.42272],[120.549577,31.420905],[120.550758,31.418186],[120.552137,31.416453],[120.554055,31.415839],[120.558638,31.415301],[120.559289,31.41476],[120.559254,31.413182],[120.558178,31.409797],[120.556025,31.407528],[120.553907,31.406796],[120.553413,31.405427],[120.55297,31.404509],[120.551773,31.403506],[120.550766,31.402978],[120.547259,31.402309],[120.545359,31.401593],[120.545993,31.398788],[120.546687,31.397526],[120.548639,31.39576],[120.547885,31.394437],[120.546132,31.392408],[120.54509,31.392351],[120.544083,31.39278],[120.54345,31.392477],[120.543276,31.391722],[120.54378,31.391014],[120.545342,31.390157],[120.54686,31.38834],[120.547815,31.385515],[120.548214,31.383446],[120.549881,31.381254],[120.549325,31.381187],[120.547433,31.380832],[120.546166,31.380621],[120.545741,31.380339],[120.545497,31.379421],[120.544934,31.378822],[120.544118,31.378265],[120.543094,31.377807],[120.541801,31.377541],[120.541072,31.377419],[120.540698,31.377131],[120.540395,31.376657],[120.539752,31.37641],[120.538191,31.375791],[120.536584,31.374804],[120.53609,31.373897],[120.535621,31.372127],[120.535491,31.370378],[120.535474,31.369616],[120.535804,31.368565],[120.535943,31.367989],[120.535821,31.367474],[120.535517,31.367083],[120.535352,31.366444],[120.535473,31.36595],[120.535821,31.365395],[120.536177,31.364755],[120.536151,31.364323],[120.535882,31.364071],[120.524729,31.358855],[120.524182,31.358547],[120.524052,31.35807],[120.52432,31.357593],[120.529554,31.352729],[120.53009,31.352207],[120.530148,31.352178],[120.530334,31.351967],[120.556285,31.326647],[120.55823,31.324581],[120.558976,31.32366],[120.55941,31.322792],[120.560226,31.320847],[120.561302,31.318087],[120.561806,31.316439],[120.561892,31.315467],[120.561858,31.314356],[120.561736,31.312863],[120.561996,31.311769],[120.56243,31.31104],[120.563663,31.309807],[120.5646,31.3088],[120.565329,31.307667],[120.568696,31.300737],[120.571126,31.295893],[120.571604,31.29489],[120.575682,31.285508],[120.576403,31.283977],[120.577627,31.282348],[120.580577,31.278014],[120.582062,31.275463],[120.582417,31.273628],[120.583945,31.266745],[120.583632,31.264963],[120.583789,31.26391],[120.584476,31.261061],[120.584914,31.258375],[120.585261,31.253367],[120.590682,31.253061]]],[[[120.675529,31.372343],[120.676545,31.370751],[120.674991,31.368607],[120.677856,31.358582],[120.680123,31.35024],[120.682028,31.34306],[120.683875,31.33589],[120.649308,31.328842],[120.65247,31.312801],[120.652982,31.308158],[120.652841,31.30813],[120.652859,31.307991],[120.653004,31.307955],[120.654157,31.297502],[120.660031,31.297238],[120.663846,31.296745],[120.665005,31.295266],[120.669428,31.292409],[120.6711,31.292447],[120.671639,31.292616],[120.677116,31.292394],[120.677537,31.291444],[120.68691,31.28995],[120.689122,31.286254],[120.6946,31.285401],[120.700733,31.283162],[120.709352,31.282637],[120.713356,31.281788],[120.720419,31.281464],[120.719996,31.304356],[120.732544,31.304979],[120.75291,31.300547],[120.758166,31.299314],[120.765568,31.298262],[120.765588,31.30429],[120.776147,31.304258],[120.775991,31.301813],[120.775677,31.297332],[120.787179,31.297793],[120.790503,31.297787],[120.80368,31.295867],[120.798035,31.286086],[120.797055,31.284861],[120.79447,31.281631],[120.79678,31.279713],[120.800882,31.273453],[120.8007,31.269884],[120.797383,31.269728],[120.785597,31.270297],[120.779205,31.270472],[120.771239,31.268228],[120.76835,31.258723],[120.766357,31.248616],[120.765593,31.247574],[120.762638,31.243534],[120.758987,31.238541],[120.75555,31.236653],[120.750884,31.238066],[120.747797,31.239865],[120.745135,31.240243],[120.74136,31.24078],[120.736986,31.238323],[120.734265,31.237644],[120.732922,31.237835],[120.728631,31.238445],[120.724108,31.239768],[120.719649,31.243687],[120.716388,31.246239],[120.712642,31.250459],[120.712361,31.254508],[120.709492,31.254263],[120.706192,31.254228],[120.698283,31.259214],[120.696993,31.259856],[120.696881,31.261148],[120.694806,31.262499],[120.694469,31.265139],[120.693224,31.268542],[120.69217,31.269578],[120.689983,31.271716],[120.687123,31.272338],[120.682863,31.272009],[120.677593,31.282464],[120.676693,31.291995],[120.67366,31.292169],[120.672469,31.292237],[120.672276,31.291077],[120.6713,31.289114],[120.671468,31.28732],[120.67133,31.286509],[120.671007,31.2846],[120.670074,31.282099],[120.669923,31.281692],[120.66791,31.280756],[120.66657,31.278453],[120.666539,31.276954],[120.666713,31.276712],[120.667234,31.275985],[120.667565,31.274518],[120.66862,31.273341],[120.669056,31.272563],[120.668807,31.271893],[120.668147,31.270816],[120.667959,31.269627],[120.668279,31.267796],[120.668644,31.26591],[120.667505,31.262798],[120.667314,31.262078],[120.66183,31.262003],[120.661562,31.262517],[120.660752,31.264369],[120.659253,31.267978],[120.657622,31.272881],[120.656566,31.277088],[120.652738,31.276196],[120.651513,31.276857],[120.651426,31.277354],[120.650667,31.278084],[120.649874,31.27865],[120.649725,31.281577],[120.648712,31.281576],[120.64902,31.282662],[120.649064,31.282895],[120.649341,31.284129],[120.649417,31.284197],[120.649454,31.284211],[120.649473,31.284282],[120.649484,31.284365],[120.649483,31.284379],[120.649475,31.284402],[120.649494,31.284427],[120.649546,31.284701],[120.649539,31.284746],[120.649545,31.284799],[120.649527,31.284811],[120.649498,31.284876],[120.649584,31.285304],[120.649784,31.286314],[120.650044,31.287521],[120.650122,31.287884],[120.650209,31.288266],[120.650287,31.288685],[120.65046,31.289431],[120.650704,31.290538],[120.650808,31.291079],[120.650869,31.291436],[120.650911,31.291788],[120.65099,31.292658],[120.651008,31.293259],[120.650999,31.293825],[120.650964,31.294414],[120.650921,31.294989],[120.650851,31.295464],[120.650764,31.295933],[120.650609,31.296675],[120.650339,31.297689],[120.650087,31.298609],[120.64994,31.299136],[120.649514,31.300609],[120.648976,31.302525],[120.648811,31.303126],[120.648517,31.304152],[120.64823,31.305137],[120.647822,31.306625],[120.647484,31.307765],[120.647371,31.30814],[120.647162,31.308878],[120.646868,31.309924],[120.646798,31.31016],[120.646433,31.31148],[120.645808,31.313729],[120.645634,31.314338],[120.645574,31.314564],[120.64534,31.315348],[120.64514,31.316024],[120.645035,31.316408],[120.644958,31.316688],[120.644732,31.317456],[120.644593,31.317956],[120.644307,31.31898],[120.644072,31.319759],[120.643855,31.320479],[120.643673,31.321116],[120.643474,31.321847],[120.643283,31.322546],[120.643091,31.323197],[120.642944,31.323753],[120.642797,31.324274],[120.64244,31.325543],[120.642059,31.326916],[120.641702,31.328123],[120.641625,31.328359],[120.641434,31.328815],[120.641312,31.329048],[120.641191,31.329261],[120.641078,31.329462],[120.640896,31.32974],[120.640626,31.330096],[120.64008,31.330708],[120.639742,31.330994],[120.639603,31.331114],[120.638213,31.332361],[120.636666,31.337489],[120.640661,31.338055],[120.641345,31.338152],[120.645489,31.338274],[120.644087,31.345662],[120.643983,31.346212],[120.651362,31.352881],[120.660013,31.360205],[120.666834,31.365114],[120.675529,31.372343]]]]}},{type:"Feature",properties:{id:"320506",name:"吴中区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.648712,31.281576],[120.649725,31.281577],[120.649874,31.27865],[120.650667,31.278084],[120.651426,31.277354],[120.651513,31.276857],[120.652738,31.276196],[120.656566,31.277088],[120.657622,31.272881],[120.659253,31.267978],[120.660752,31.264369],[120.661562,31.262517],[120.66183,31.262003],[120.667314,31.262078],[120.667505,31.262798],[120.668644,31.26591],[120.668279,31.267796],[120.667959,31.269627],[120.668147,31.270816],[120.668807,31.271893],[120.669056,31.272563],[120.66862,31.273341],[120.667565,31.274518],[120.667234,31.275985],[120.666713,31.276712],[120.666539,31.276954],[120.66657,31.278453],[120.66791,31.280756],[120.669923,31.281692],[120.670074,31.282099],[120.671007,31.2846],[120.67133,31.286509],[120.671468,31.28732],[120.6713,31.289114],[120.672276,31.291077],[120.672469,31.292237],[120.67366,31.292169],[120.676693,31.291995],[120.677593,31.282464],[120.682863,31.272009],[120.687123,31.272338],[120.689983,31.271716],[120.69217,31.269578],[120.693224,31.268542],[120.694469,31.265139],[120.694806,31.262499],[120.696881,31.261148],[120.696993,31.259856],[120.698283,31.259214],[120.706192,31.254228],[120.709492,31.254263],[120.712361,31.254508],[120.712642,31.250459],[120.716388,31.246239],[120.719649,31.243687],[120.724108,31.239768],[120.728631,31.238445],[120.732922,31.237835],[120.734265,31.237644],[120.736986,31.238323],[120.74136,31.24078],[120.745135,31.240243],[120.747797,31.239865],[120.750884,31.238066],[120.75555,31.236653],[120.758987,31.238541],[120.762638,31.243534],[120.765593,31.247574],[120.766357,31.248616],[120.76835,31.258723],[120.771239,31.268228],[120.779205,31.270472],[120.785597,31.270297],[120.797383,31.269728],[120.8007,31.269884],[120.800882,31.273453],[120.79678,31.279713],[120.79447,31.281631],[120.797055,31.284861],[120.798035,31.286086],[120.80368,31.295867],[120.790503,31.297787],[120.787179,31.297793],[120.775677,31.297332],[120.775991,31.301813],[120.776147,31.304258],[120.765588,31.30429],[120.765568,31.298262],[120.758166,31.299314],[120.75291,31.300547],[120.732544,31.304979],[120.719996,31.304356],[120.720419,31.281464],[120.713356,31.281788],[120.709352,31.282637],[120.700733,31.283162],[120.6946,31.285401],[120.689122,31.286254],[120.68691,31.28995],[120.677537,31.291444],[120.677116,31.292394],[120.671639,31.292616],[120.6711,31.292447],[120.669428,31.292409],[120.665005,31.295266],[120.663846,31.296745],[120.660031,31.297238],[120.654157,31.297502],[120.653004,31.307955],[120.652859,31.307991],[120.652841,31.30813],[120.652982,31.308158],[120.65247,31.312801],[120.649308,31.328842],[120.683875,31.33589],[120.682028,31.34306],[120.680123,31.35024],[120.677856,31.358582],[120.674991,31.368607],[120.676545,31.370751],[120.675529,31.372343],[120.685587,31.380706],[120.690953,31.385165],[120.690713,31.393169],[120.696586,31.393071],[120.697512,31.390757],[120.697516,31.385776],[120.703558,31.390792],[120.714536,31.386388],[120.718675,31.386841],[120.724162,31.391635],[120.726416,31.397852],[120.733164,31.40607],[120.745015,31.414115],[120.758424,31.419913],[120.768633,31.429255],[120.779446,31.431591],[120.788109,31.432948],[120.81984,31.437908],[120.826067,31.436966],[120.821528,31.419666],[120.817647,31.391666],[120.81697,31.386775],[120.817475,31.382053],[120.818247,31.378029],[120.818594,31.377099],[120.815985,31.375501],[120.815147,31.371689],[120.82291,31.373737],[120.823625,31.372381],[120.825692,31.372679],[120.826304,31.371357],[120.826376,31.371093],[120.82882,31.371325],[120.828576,31.37191],[120.829346,31.372117],[120.82996,31.372291],[120.830705,31.372274],[120.836094,31.373038],[120.836984,31.370749],[120.83623,31.370553],[120.835921,31.370444],[120.833814,31.370167],[120.833897,31.369957],[120.835974,31.368092],[120.839185,31.368739],[120.840398,31.366073],[120.842191,31.366427],[120.845808,31.352721],[120.847572,31.346165],[120.849321,31.340655],[120.849556,31.339799],[120.850043,31.336372],[120.850077,31.335743],[120.850746,31.334345],[120.85361,31.328682],[120.855919,31.323333],[120.857455,31.319453],[120.858505,31.315434],[120.860603,31.311994],[120.862756,31.308545],[120.863608,31.307504],[120.863892,31.307034],[120.864852,31.304921],[120.865334,31.302967],[120.866823,31.301276],[120.866847,31.294711],[120.867001,31.294438],[120.867934,31.293788],[120.871757,31.293153],[120.87269,31.293171],[120.873472,31.292989],[120.873866,31.291326],[120.87425,31.290238],[120.874763,31.28911],[120.87497,31.288392],[120.875051,31.287973],[120.875063,31.286255],[120.877147,31.286313],[120.876852,31.284524],[120.879939,31.28479],[120.88004,31.283739],[120.88008,31.282887],[120.880165,31.282283],[120.878751,31.282394],[120.876464,31.282445],[120.876537,31.280447],[120.879677,31.28052],[120.879871,31.280399],[120.879951,31.280088],[120.878595,31.278023],[120.878094,31.277956],[120.876566,31.277966],[120.876795,31.275579],[120.876781,31.274756],[120.876625,31.273809],[120.87661,31.273623],[120.878775,31.273416],[120.87947,31.273507],[120.880358,31.273406],[120.880075,31.272571],[120.878427,31.272588],[120.878225,31.272503],[120.87748,31.271246],[120.877024,31.270601],[120.876914,31.270223],[120.876871,31.269823],[120.877174,31.267977],[120.877019,31.267207],[120.876997,31.266743],[120.877765,31.266051],[120.881305,31.257313],[120.882469,31.254969],[120.882703,31.25463],[120.883188,31.254375],[120.885905,31.254057],[120.886981,31.253056],[120.887545,31.252034],[120.88758,31.251048],[120.887259,31.250414],[120.886382,31.24992],[120.884369,31.249288],[120.883666,31.248513],[120.883492,31.247237],[120.884377,31.240555],[120.885081,31.240414],[120.886105,31.240554],[120.887234,31.241364],[120.888388,31.241576],[120.89054,31.239779],[120.891902,31.239012],[120.892874,31.238691],[120.893065,31.238453],[120.893569,31.23696],[120.894411,31.234918],[120.895495,31.233448],[120.896348,31.233196],[120.897035,31.232604],[120.897271,31.231655],[120.897358,31.230147],[120.897228,31.228724],[120.897049,31.228293],[120.896736,31.228294],[120.89572,31.227836],[120.895113,31.227197],[120.894714,31.226657],[120.894757,31.226276],[120.895114,31.225685],[120.895461,31.225079],[120.896806,31.223645],[120.897231,31.221863],[120.897136,31.221123],[120.896329,31.220525],[120.895929,31.22043],[120.894905,31.220132],[120.894462,31.219917],[120.894167,31.21969],[120.894115,31.219438],[120.894054,31.218865],[120.893837,31.217942],[120.89323,31.217192],[120.891876,31.216702],[120.887537,31.215891],[120.883519,31.214331],[120.879474,31.212827],[120.877712,31.212018],[120.875021,31.211469],[120.873165,31.211947],[120.870196,31.212936],[120.867705,31.213926],[120.865935,31.213995],[120.86242,31.213926],[120.859512,31.213863],[120.857221,31.214029],[120.856179,31.213646],[120.855007,31.2128],[120.854139,31.211709],[120.851518,31.209472],[120.850416,31.20886],[120.849131,31.208261],[120.847109,31.207768],[120.845633,31.20725],[120.844028,31.206486],[120.842638,31.204904],[120.841432,31.203676],[120.8398,31.201766],[120.83895,31.20051],[120.838508,31.199375],[120.838307,31.197157],[120.837865,31.194327],[120.837318,31.19303],[120.836398,31.192007],[120.835408,31.191393],[120.833838,31.191358],[120.832778,31.191699],[120.831241,31.192246],[120.829436,31.192502],[120.827222,31.192546],[120.825304,31.192333],[120.823212,31.192246],[120.821424,31.191608],[120.819072,31.190796],[120.817006,31.190042],[120.814167,31.188049],[120.813429,31.186658],[120.812769,31.184965],[120.812066,31.183001],[120.811623,31.179944],[120.811685,31.177172],[120.811641,31.175701],[120.804826,31.178358],[120.792551,31.183248],[120.790155,31.184317],[120.789442,31.184928],[120.789035,31.186101],[120.789495,31.188036],[120.789391,31.189462],[120.788627,31.190127],[120.78465,31.191653],[120.772626,31.195472],[120.770334,31.197153],[120.769466,31.199088],[120.769362,31.201584],[120.76977,31.203213],[120.770846,31.204642],[120.773234,31.206476],[120.774101,31.208158],[120.775682,31.211928],[120.775578,31.213201],[120.774258,31.214473],[120.771559,31.216461],[120.766158,31.21967],[120.762998,31.220895],[120.760957,31.221695],[120.758335,31.22342],[120.756043,31.224582],[120.753768,31.225013],[120.751181,31.225318],[120.750382,31.225197],[120.749766,31.224026],[120.748533,31.221259],[120.747309,31.217939],[120.744661,31.215171],[120.743125,31.211667],[120.739738,31.206377],[120.737037,31.203241],[120.734208,31.200165],[120.732115,31.197213],[120.729658,31.194014],[120.724492,31.189157],[120.719813,31.185404],[120.71871,31.185773],[120.717043,31.187311],[120.714525,31.191124],[120.713232,31.19432],[120.71305,31.198072],[120.71305,31.200223],[120.713023,31.201371],[120.713006,31.20202],[120.709777,31.202297],[120.707128,31.202751],[120.703604,31.203104],[120.701225,31.203356],[120.697041,31.203709],[120.693612,31.20396],[120.691163,31.203657],[120.689549,31.202977],[120.688038,31.20222],[120.687231,31.20164],[120.686015,31.200883],[120.684956,31.200377],[120.683646,31.199874],[120.681024,31.19899],[120.679565,31.198788],[120.677396,31.198639],[120.676962,31.19835],[120.675669,31.196607],[120.674548,31.195548],[120.673142,31.194563],[120.673072,31.192781],[120.673203,31.190874],[120.672708,31.190014],[120.671727,31.189276],[120.670373,31.189337],[120.669444,31.190136],[120.668646,31.192658],[120.667543,31.195196],[120.66664,31.19641],[120.666145,31.196993],[120.664713,31.197096],[120.663342,31.197116],[120.661988,31.197035],[120.661059,31.197217],[120.660373,31.197599],[120.660139,31.198246],[120.660156,31.200646],[120.660356,31.20202],[120.660434,31.202786],[120.660313,31.203632],[120.659714,31.205872],[120.659271,31.20789],[120.658862,31.208244],[120.658169,31.209196],[120.657031,31.211126],[120.656415,31.214973],[120.656363,31.218249],[120.656181,31.221384],[120.655122,31.222398],[120.653135,31.222582],[120.651754,31.222446],[120.650973,31.221753],[120.649957,31.2212],[120.647371,31.221336],[120.646911,31.221753],[120.646546,31.222906],[120.645895,31.223644],[120.644472,31.223874],[120.639828,31.223188],[120.639133,31.223093],[120.638153,31.223747],[120.637944,31.224745],[120.637598,31.226061],[120.62744,31.225604],[120.627469,31.225266],[120.628041,31.222774],[120.629152,31.217087],[120.629561,31.215963],[120.630142,31.214529],[120.630316,31.213775],[120.630351,31.213493],[120.630298,31.213118],[120.630098,31.212979],[120.629873,31.212903],[120.628276,31.212417],[120.625942,31.211967],[120.62188,31.21043],[120.620682,31.209337],[120.62023,31.208487],[120.619892,31.207536],[120.619215,31.205738],[120.618521,31.203517],[120.618382,31.201561],[120.618486,31.19932],[120.618738,31.196867],[120.620022,31.186946],[120.619996,31.184884],[120.620179,31.182857],[120.619935,31.180337],[120.61957,31.179107],[120.618789,31.178132],[120.617132,31.176662],[120.61504,31.175048],[120.612298,31.172808],[120.610215,31.170639],[120.608732,31.168623],[120.606778,31.165975],[120.60525,31.163942],[120.604313,31.162295],[120.602109,31.162152],[120.600078,31.162852],[120.597136,31.163062],[120.595391,31.163062],[120.594202,31.162714],[120.592805,31.161176],[120.591434,31.159754],[120.589811,31.159242],[120.585914,31.154615],[120.564903,31.118572],[120.557153,31.105846],[120.555948,31.105242],[120.554515,31.104084],[120.553864,31.102458],[120.553447,31.100187],[120.5512,31.096904],[120.536602,31.08806],[120.49553,31.064214],[120.487188,31.059779],[120.482222,31.056054],[120.480451,31.053571],[120.460718,31.029393],[120.457471,31.022329],[120.45339,31.016522],[120.442772,31.005741],[120.43811,31.000597],[120.432727,30.99337],[120.428386,30.986621],[120.424288,30.981026],[120.422473,30.97915],[120.418574,30.975626],[120.413843,30.973456],[120.408008,30.971958],[120.400601,30.969957],[120.395062,30.968002],[120.389818,30.964906],[120.381856,30.963357],[120.37083,30.957607],[120.368216,30.954366],[120.366457,30.950791],[120.365514,30.95021],[120.365292,30.950073],[120.363877,30.949824],[120.360809,30.949386],[120.359872,30.949166],[120.358786,30.948579],[120.35787,30.947861],[120.357407,30.947701],[120.356506,30.947618],[120.356046,30.947508],[120.354975,30.946839],[120.354631,30.946634],[120.354107,30.946479],[120.352989,30.946277],[120.349466,30.945184],[120.347726,30.944811],[120.346526,30.944625],[120.343392,30.943657],[120.342096,30.943043],[120.339583,30.942224],[120.339202,30.942133],[120.338906,30.942084],[120.338725,30.942053],[120.336294,30.942033],[120.331609,30.940818],[120.326384,30.939872],[120.317668,30.937322],[120.311473,30.936017],[120.303518,30.934418],[120.301864,30.93422],[120.300187,30.934082],[120.299019,30.934095],[120.295305,30.933811],[120.291559,30.932867],[120.289324,30.933151],[120.28539,30.932899],[120.28384,30.932428],[120.282068,30.932213],[120.280543,30.932081],[120.277993,30.93205],[120.276609,30.931578],[120.275067,30.931484],[120.272832,30.931232],[120.270126,30.930383],[120.266852,30.930856],[120.261627,30.930448],[120.251721,30.929197],[120.250139,30.928698],[120.249871,30.928672],[120.248926,30.928792],[120.248158,30.928734],[120.247423,30.928642],[120.246229,30.928434],[120.244879,30.928462],[120.244416,30.928518],[120.244151,30.92855],[120.24391,30.928579],[120.24257,30.928701],[120.2396,30.928754],[120.23678,30.928702],[120.232043,30.928337],[120.230947,30.927983],[120.23086,30.927954],[120.230678,30.928024],[120.229866,30.928337],[120.228421,30.928477],[120.225077,30.928666],[120.221614,30.928764],[120.219123,30.928887],[120.217218,30.929055],[120.217072,30.929103],[120.216204,30.929399],[120.214866,30.929556],[120.2136,30.929924],[120.207734,30.931196],[120.206608,30.931095],[120.206132,30.931136],[120.205961,30.931151],[120.205853,30.931191],[120.204917,30.931537],[120.203223,30.931793],[120.201507,30.931927],[120.200041,30.931893],[120.198002,30.931516],[120.195338,30.930501],[120.194179,30.930471],[120.192395,30.931397],[120.191918,30.931899],[120.190838,30.932752],[120.188348,30.933484],[120.183941,30.934408],[120.173846,30.935984],[120.171278,30.936179],[120.162657,30.937116],[120.157126,30.937812],[120.144879,30.939539],[120.144782,30.939553],[120.144576,30.939675],[120.142441,30.940939],[120.141805,30.941123],[120.14111,30.941781],[120.141038,30.942989],[120.14111,30.943292],[120.140842,30.943409],[120.138131,30.944068],[120.137863,30.944495],[120.13706,30.944992],[120.135562,30.945381],[120.13417,30.945361],[120.133136,30.945164],[120.130338,30.943937],[120.127705,30.945113],[120.127803,30.945703],[120.1274,30.946106],[120.125134,30.947009],[120.124896,30.947128],[120.124445,30.947406],[120.123509,30.948108],[120.121986,30.949067],[120.121517,30.949358],[120.116027,30.952802],[120.11414,30.954036],[120.112465,30.955206],[120.110266,30.956665],[120.108902,30.957133],[120.108009,30.957493],[120.106976,30.957798],[120.106174,30.957922],[120.104213,30.959297],[120.103976,30.959892],[120.10375,30.960437],[120.103459,30.960673],[120.102231,30.961713],[120.102115,30.961844],[120.102056,30.961965],[120.102056,30.962102],[120.102597,30.962629],[120.10265,30.962837],[120.102573,30.962998],[120.102436,30.963073],[120.102043,30.963134],[120.101885,30.963246],[120.101011,30.964171],[120.100905,30.964271],[120.099495,30.965453],[120.099429,30.965574],[120.099431,30.965714],[120.099509,30.965882],[120.100128,30.966383],[120.100324,30.966544],[120.100354,30.966686],[120.100296,30.966839],[120.100107,30.96704],[120.099873,30.96714],[120.099455,30.967224],[120.099192,30.967233],[120.099131,30.967227],[120.098904,30.967111],[120.098177,30.966499],[120.097515,30.96599],[120.097383,30.965929],[120.097289,30.965912],[120.097183,30.96593],[120.096772,30.966173],[120.094261,30.968345],[120.08953,30.975226],[120.082091,30.981674],[120.076364,30.985932],[120.069951,30.9899],[120.068294,30.990867],[120.068012,30.991041],[120.06563,30.992964],[120.064298,30.994027],[120.06194,30.995878],[120.059688,30.997632],[120.058152,30.998765],[120.056459,30.999992],[120.056394,31.00022],[120.056144,31.000522],[120.055262,31.001313],[120.053783,31.002944],[120.052041,31.004664],[120.050893,31.005545],[120.047584,31.007757],[120.040851,31.010216],[120.033399,31.012269],[120.03253,31.012509],[120.027698,31.01384],[120.012224,31.019905],[120.012111,31.019945],[120.011972,31.019946],[120.011109,31.020462],[120.010889,31.020676],[120.006216,31.023571],[120.000055,31.02697],[119.999932,31.027051],[119.999568,31.027322],[119.996977,31.029269],[119.996215,31.030544],[119.994691,31.033008],[119.992956,31.036432],[119.992869,31.036755],[119.993689,31.038331],[119.992479,31.040915],[119.991689,31.043394],[119.990833,31.045314],[119.989073,31.047924],[119.987722,31.050457],[119.986549,31.053731],[119.985324,31.057813],[119.985198,31.058147],[119.985047,31.05855],[119.984737,31.059377],[119.983797,31.061387],[119.981528,31.063964],[119.978075,31.067108],[119.973901,31.069944],[119.971298,31.071571],[119.970824,31.071867],[119.969777,31.072522],[119.967407,31.074222],[119.965088,31.076491],[119.960558,31.083322],[119.958025,31.087681],[119.956772,31.089616],[119.954187,31.092651],[119.949364,31.097785],[119.949183,31.098012],[119.949081,31.09814],[119.948378,31.099017],[119.942716,31.107161],[119.942348,31.107444],[119.941907,31.107592],[119.941609,31.108473],[119.942049,31.109255],[119.942256,31.109677],[119.942311,31.110416],[119.942389,31.111187],[119.942336,31.112185],[119.942205,31.113221],[119.941949,31.114253],[119.936824,31.127613],[119.936733,31.12785],[119.935572,31.130877],[119.935224,31.13307],[119.935143,31.13508],[119.935244,31.136844],[119.935736,31.140289],[119.935839,31.141827],[119.935634,31.14359],[119.935183,31.14519],[119.934383,31.146604],[119.933338,31.147753],[119.932128,31.148799],[119.923303,31.155199],[119.922257,31.156183],[119.919726,31.159136],[119.916445,31.163463],[119.915871,31.164591],[119.915625,31.16574],[119.915649,31.166664],[119.916406,31.168996],[119.916348,31.171147],[119.916633,31.171585],[119.916557,31.172271],[119.916329,31.172633],[119.915864,31.1727],[119.915389,31.173165],[120.105345,31.265847],[120.136185,31.287595],[120.16899,31.310728],[120.201957,31.34453],[120.224852,31.324967],[120.251131,31.302452],[120.258543,31.297245],[120.266866,31.29373],[120.279103,31.291619],[120.290898,31.291008],[120.301669,31.291412],[120.313275,31.293738],[120.329958,31.301841],[120.336677,31.305737],[120.339984,31.307512],[120.343778,31.310452],[120.349664,31.313821],[120.35101,31.315168],[120.350575,31.316209],[120.349664,31.317861],[120.349603,31.319272],[120.350115,31.320312],[120.353284,31.320423],[120.3674,31.320672],[120.369111,31.320906],[120.369441,31.321197],[120.369502,31.321777],[120.369172,31.322534],[120.36787,31.324452],[120.367948,31.324858],[120.368164,31.325116],[120.369614,31.325399],[120.371698,31.326601],[120.374024,31.327765],[120.376638,31.328006],[120.378964,31.327807],[120.38065,31.327126],[120.386345,31.326684],[120.39112,31.326364],[120.394975,31.326566],[120.395775,31.326165],[120.396338,31.325483],[120.397302,31.325082],[120.398223,31.325323],[120.399064,31.326205],[120.399664,31.326606],[120.40217,31.326595],[120.403599,31.326664],[120.407895,31.32681],[120.408393,31.325706],[120.408804,31.325712],[120.410442,31.32601],[120.411078,31.324526],[120.408783,31.323188],[120.410403,31.321718],[120.412237,31.323247],[120.412653,31.322806],[120.413238,31.322365],[120.414159,31.321776],[120.413128,31.320177],[120.413467,31.319658],[120.415272,31.319188],[120.415976,31.316557],[120.416546,31.316576],[120.415489,31.3105],[120.415845,31.3105],[120.417081,31.310603],[120.422022,31.308158],[120.42467,31.307355],[120.425148,31.306794],[120.424869,31.306032],[120.424227,31.30531],[120.423784,31.303745],[120.424548,31.302621],[120.426068,31.30198],[120.428195,31.301901],[120.43093,31.301941],[120.436139,31.300739],[120.438796,31.300297],[120.44068,31.300859],[120.442044,31.301863],[120.442521,31.303308],[120.442165,31.305274],[120.440836,31.307799],[120.440281,31.310247],[120.440436,31.311892],[120.441123,31.313376],[120.442564,31.31438],[120.443884,31.315183],[120.446133,31.317349],[120.449067,31.319315],[120.451072,31.320357],[120.453112,31.320358],[120.454919,31.319917],[120.456169,31.318835],[120.45669,31.317435],[120.458131,31.316237],[120.45939,31.316074],[120.463201,31.315965],[120.467099,31.315719],[120.46775,31.315672],[120.468254,31.315516],[120.468887,31.314583],[120.469287,31.314062],[120.471292,31.31334],[120.475268,31.312498],[120.476571,31.311784],[120.477074,31.310503],[120.477629,31.307805],[120.479079,31.304475],[120.479357,31.302911],[120.479158,31.301866],[120.478194,31.300221],[120.477595,31.298576],[120.478073,31.297535],[120.479279,31.297134],[120.486501,31.297173],[120.487422,31.296852],[120.487665,31.295891],[120.4873,31.29264],[120.486345,31.292014],[120.486259,31.290967],[120.486997,31.289946],[120.487344,31.289349],[120.487621,31.287386],[120.488516,31.286806],[120.489792,31.286783],[120.490685,31.287438],[120.491224,31.288996],[120.491858,31.289971],[120.49296,31.290487],[120.495356,31.290257],[120.498333,31.289986],[120.500451,31.290024],[120.501805,31.290643],[120.5059,31.293081],[120.505921,31.29309],[120.505941,31.2931],[120.509122,31.294221],[120.512838,31.294479],[120.514435,31.294902],[120.516127,31.295043],[120.517828,31.29485],[120.518523,31.294231],[120.518922,31.293318],[120.519659,31.292902],[120.519687,31.292882],[120.519712,31.292872],[120.519834,31.292803],[120.520805,31.291606],[120.521153,31.290139],[120.521847,31.289251],[120.524809,31.288076],[120.524953,31.285584],[120.524929,31.285465],[120.525266,31.278504],[120.526562,31.278479],[120.526753,31.278032],[120.527015,31.277433],[120.526739,31.274801],[120.526754,31.274514],[120.527324,31.274501],[120.528726,31.274392],[120.528829,31.273796],[120.529283,31.273736],[120.529539,31.27416],[120.530672,31.274143],[120.530699,31.274281],[120.53272,31.274341],[120.532861,31.27315],[120.534315,31.2732],[120.5347,31.272053],[120.536181,31.272138],[120.53649,31.270223],[120.539744,31.270474],[120.539899,31.269431],[120.542126,31.269638],[120.542016,31.271288],[120.542589,31.271332],[120.542683,31.271754],[120.545273,31.271885],[120.545325,31.272546],[120.546514,31.272545],[120.546381,31.273919],[120.548969,31.273998],[120.549096,31.272815],[120.554648,31.273073],[120.55477,31.273573],[120.556719,31.274],[120.556962,31.271222],[120.557894,31.265832],[120.558081,31.264751],[120.559322,31.264883],[120.559549,31.262972],[120.562362,31.26308],[120.56273,31.26243],[120.562579,31.261998],[120.562454,31.261963],[120.561039,31.261668],[120.560113,31.261498],[120.559914,31.261208],[120.559889,31.259953],[120.557422,31.259363],[120.55793,31.25791],[120.558659,31.257966],[120.559257,31.256835],[120.5604,31.256385],[120.560982,31.255404],[120.561825,31.254883],[120.562039,31.254564],[120.562086,31.254031],[120.562348,31.25332],[120.562929,31.252871],[120.565007,31.251773],[120.565124,31.251352],[120.563604,31.248434],[120.56417,31.247688],[120.564758,31.247394],[120.564536,31.245924],[120.564311,31.245314],[120.563484,31.238793],[120.563758,31.237994],[120.56677,31.23703],[120.56873,31.235321],[120.57209,31.230715],[120.571884,31.229744],[120.572054,31.227314],[120.572573,31.223154],[120.574087,31.222504],[120.575756,31.222128],[120.576256,31.223468],[120.576996,31.226329],[120.577656,31.227869],[120.577896,31.228929],[120.577345,31.231852],[120.576285,31.234357],[120.577553,31.234765],[120.583637,31.236186],[120.583835,31.235852],[120.584082,31.23534],[120.588436,31.235529],[120.588222,31.240272],[120.587942,31.242838],[120.587348,31.249291],[120.588474,31.249507],[120.591286,31.249507],[120.590682,31.253061],[120.592069,31.252983],[120.592432,31.253077],[120.594542,31.251858],[120.597429,31.25215],[120.597859,31.253067],[120.598123,31.254945],[120.598308,31.256834],[120.59899,31.258004],[120.600482,31.25842],[120.602061,31.258701],[120.604268,31.25896],[120.604389,31.260749],[120.604238,31.261208],[120.604094,31.26163],[120.605858,31.261743],[120.605658,31.263224],[120.60479,31.264599],[120.604365,31.265772],[120.604218,31.266208],[120.604079,31.267081],[120.6042,31.267809],[120.604765,31.268298],[120.605161,31.268562],[120.605184,31.268574],[120.605202,31.268589],[120.605494,31.268784],[120.607108,31.269055],[120.609564,31.269911],[120.61064,31.270662],[120.610814,31.272052],[120.610779,31.273581],[120.61025,31.274933],[120.609209,31.275636],[120.608566,31.275855],[120.608149,31.276066],[120.607967,31.276388],[120.607932,31.276793],[120.607958,31.277186],[120.608236,31.277603],[120.608575,31.277957],[120.610519,31.27829],[120.614364,31.278626],[120.617314,31.279085],[120.621888,31.279428],[120.623207,31.279404],[120.628528,31.280058],[120.628979,31.278771],[120.6291,31.278231],[120.629422,31.278111],[120.630489,31.278268],[120.630776,31.278187],[120.630967,31.277894],[120.630871,31.277604],[120.630351,31.276988],[120.630203,31.276673],[120.630247,31.276143],[120.630602,31.275668],[120.631322,31.275416],[120.632893,31.275304],[120.636026,31.27547],[120.636747,31.275494],[120.637337,31.275409],[120.638378,31.275602],[120.640549,31.276045],[120.641087,31.275467],[120.641009,31.274679],[120.640531,31.273738],[120.641087,31.27318],[120.641798,31.272776],[120.64264,31.272622],[120.643803,31.272765],[120.645722,31.272969],[120.645895,31.273177],[120.644984,31.276825],[120.644541,31.278255],[120.644567,31.279061],[120.645044,31.279484],[120.646659,31.279677],[120.647257,31.279812],[120.648358,31.280218],[120.648712,31.281576]]]]}},{type:"Feature",properties:{id:"320585",name:"太仓市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[121.101936,31.368631],[121.098572,31.379198],[121.099131,31.379536],[121.098603,31.381546],[121.098117,31.381677],[121.09472,31.392057],[121.094603,31.392143],[121.094232,31.393366],[121.092468,31.392833],[121.092609,31.391501],[121.092161,31.391341],[121.09225,31.390351],[121.090226,31.389855],[121.090252,31.388108],[121.089946,31.388087],[121.089303,31.388098],[121.08873,31.388131],[121.088365,31.388339],[121.088226,31.388844],[121.087965,31.389426],[121.087731,31.389738],[121.087115,31.390097],[121.086785,31.390292],[121.086594,31.390598],[121.085708,31.391782],[121.084892,31.392879],[121.084189,31.393638],[121.08365,31.393954],[121.083191,31.39423],[121.082878,31.3947],[121.082496,31.395566],[121.082157,31.395885],[121.081654,31.396137],[121.081081,31.396279],[121.081002,31.396466],[121.081124,31.396642],[121.08194,31.396708],[121.082739,31.396913],[121.083277,31.397311],[121.083711,31.397685],[121.083903,31.398111],[121.08392,31.398639],[121.083824,31.399231],[121.083555,31.399954],[121.083564,31.400514],[121.083703,31.401053],[121.083781,31.40182],[121.084076,31.403049],[121.084449,31.403829],[121.085413,31.404738],[121.085925,31.405298],[121.086177,31.406044],[121.086499,31.407162],[121.087445,31.408698],[121.088713,31.410497],[121.08952,31.411982],[121.09005,31.412706],[121.090223,31.413517],[121.090223,31.414678],[121.090319,31.41514],[121.090527,31.415694],[121.085239,31.417058],[121.084945,31.418108],[121.094114,31.424108],[121.093827,31.425837],[121.093574,31.426159],[121.092646,31.426738],[121.091726,31.427467],[121.091196,31.428666],[121.090215,31.430876],[121.089355,31.43216],[121.088348,31.433328],[121.087219,31.434211],[121.085162,31.435634],[121.084058,31.436551],[121.08339,31.437086],[121.082504,31.437799],[121.081888,31.437905],[121.080925,31.437719],[121.080064,31.437423],[121.079396,31.436915],[121.078571,31.436084],[121.07766,31.43485],[121.076696,31.433245],[121.075272,31.43153],[121.073857,31.43003],[121.071121,31.428155],[121.06777,31.426145],[121.066112,31.425261],[121.062543,31.425729],[121.060424,31.43419],[121.054946,31.433637],[121.048703,31.429926],[121.046629,31.428215],[121.045101,31.429743],[121.042531,31.42983],[121.039153,31.433131],[121.037278,31.43633],[121.033438,31.435748],[121.033138,31.435731],[121.026322,31.434745],[121.022997,31.435209],[121.022658,31.437529],[121.018725,31.438243],[121.018074,31.440298],[121.017119,31.442736],[121.016504,31.443375],[121.016478,31.444664],[121.015974,31.44737],[121.014871,31.449544],[121.018005,31.451018],[121.022128,31.454951],[121.018656,31.455545],[121.015488,31.456532],[121.012423,31.458288],[121.0106,31.459162],[121.00955,31.459145],[121.008916,31.460822],[121.008934,31.462823],[121.006321,31.469426],[121.008856,31.470369],[121.012336,31.469649],[121.011997,31.470562],[121.012214,31.471476],[121.013022,31.477079],[121.011511,31.479227],[121.01146,31.481508],[121.015679,31.484431],[121.015626,31.486252],[121.0133,31.489192],[121.010696,31.492],[121.010261,31.493706],[121.011928,31.497331],[121.011104,31.498229],[121.008968,31.498537],[121.007935,31.496701],[121.007301,31.495321],[121.006242,31.494961],[121.003031,31.495479],[120.999576,31.49463],[120.9977,31.496608],[120.995731,31.497606],[120.994532,31.499288],[120.994073,31.49965],[120.993743,31.499704],[120.993047,31.499538],[120.992189,31.49914],[120.988847,31.497848],[120.988551,31.49774],[120.988309,31.497765],[120.988126,31.497837],[120.98791,31.498183],[120.987718,31.498757],[120.987536,31.499303],[120.987171,31.499759],[120.985236,31.500732],[120.98482,31.500959],[120.984394,31.500998],[120.983855,31.500944],[120.983492,31.500694],[120.981972,31.499545],[120.979404,31.497694],[120.975922,31.496051],[120.973631,31.496191],[120.971392,31.495789],[120.971921,31.496191],[120.97423,31.497631],[120.974499,31.497723],[120.974786,31.497772],[120.97515,31.497854],[120.975419,31.497943],[120.976347,31.498467],[120.976616,31.498638],[120.97817,31.500005],[120.978517,31.500298],[120.979056,31.500495],[120.980124,31.500838],[120.980679,31.501151],[120.981816,31.502036],[120.982666,31.502511],[120.983274,31.502889],[120.985982,31.505777],[120.987527,31.507383],[120.988317,31.50804],[120.989862,31.509284],[120.990253,31.509648],[120.990592,31.510112],[120.990878,31.510483],[120.991164,31.510764],[120.99415,31.512632],[120.994879,31.513123],[120.99646,31.51434],[120.997692,31.515373],[120.998265,31.515995],[120.998751,31.516623],[120.999966,31.518392],[121.000008,31.518457],[121.001207,31.520228],[121.001651,31.520983],[121.001902,31.521555],[121.002049,31.521948],[121.002189,31.522434],[121.001346,31.52528],[120.998222,31.530648],[120.994966,31.5346],[120.993751,31.544393],[120.993638,31.544707],[120.99336,31.544857],[120.992883,31.544819],[120.992102,31.544581],[120.991199,31.544303],[120.988812,31.544013],[120.986355,31.543691],[120.984828,31.543546],[120.983257,31.543244],[120.982831,31.545365],[120.982276,31.547042],[120.980705,31.546902],[120.977606,31.545174],[120.975636,31.545478],[120.97383,31.547397],[120.974968,31.547459],[120.980166,31.549208],[120.979585,31.550363],[120.978109,31.556372],[120.99369,31.566608],[120.996798,31.568089],[120.99718,31.568424],[120.997267,31.568828],[120.99698,31.569197],[120.996425,31.570001],[120.995808,31.570941],[120.995132,31.571814],[120.994498,31.572519],[120.993743,31.573122],[120.992232,31.574481],[121.004957,31.582617],[120.997744,31.592807],[121.003629,31.595119],[121.01422,31.600837],[121.019698,31.605181],[121.024481,31.607192],[121.031209,31.610264],[121.034926,31.612395],[121.041724,31.619343],[121.04319,31.621556],[121.046472,31.623159],[121.050371,31.627296],[121.052237,31.631859],[121.056205,31.630533],[121.058453,31.635074],[121.054304,31.637264],[121.050197,31.638148],[121.04807,31.639845],[121.044276,31.640951],[121.043329,31.643253],[121.041602,31.646328],[121.038528,31.648732],[121.035499,31.649461],[121.031973,31.651993],[121.028301,31.654254],[121.021451,31.657249],[121.01244,31.661128],[121.014367,31.663322],[121.020913,31.668069],[121.025558,31.671801],[121.027824,31.670393],[121.030801,31.671145],[121.034228,31.675465],[121.034272,31.675468],[121.03426,31.675505],[121.035029,31.676474],[121.037304,31.67917],[121.038867,31.683216],[121.041263,31.685922],[121.042608,31.686108],[121.047011,31.683855],[121.048,31.684024],[121.051768,31.689161],[121.050545,31.691024],[121.048044,31.693087],[121.045544,31.695454],[121.04945,31.703252],[121.050856,31.708565],[121.054199,31.714425],[121.055675,31.716773],[121.056223,31.719369],[121.058827,31.724115],[121.06237,31.725459],[121.066146,31.729236],[121.081775,31.746134],[121.0919,31.757965],[121.096552,31.764275],[121.11384,31.760841],[121.137438,31.7571],[121.140711,31.755719],[121.175313,31.722628],[121.284611,31.618182],[121.340979,31.573488],[121.367554,31.554968],[121.338896,31.513867],[121.331248,31.510121],[121.324946,31.506092],[121.324087,31.505962],[121.323965,31.506415],[121.322646,31.506087],[121.322654,31.505414],[121.321101,31.505104],[121.320866,31.506127],[121.319954,31.506022],[121.319929,31.504714],[121.318965,31.504558],[121.318575,31.504143],[121.318757,31.502739],[121.319096,31.502349],[121.319148,31.5015],[121.317958,31.501216],[121.317949,31.501702],[121.317177,31.501681],[121.317099,31.501216],[121.315979,31.501163],[121.315953,31.501474],[121.315354,31.501578],[121.31525,31.502748],[121.315458,31.5035],[121.315459,31.504151],[121.315485,31.504853],[121.316135,31.505061],[121.317334,31.505258],[121.317177,31.506101],[121.316083,31.506048],[121.316066,31.506537],[121.315902,31.506801],[121.315485,31.507062],[121.315614,31.507736],[121.312108,31.507633],[121.312003,31.506827],[121.312081,31.505857],[121.312142,31.505352],[121.3113,31.503761],[121.310806,31.503138],[121.308888,31.502618],[121.308731,31.503397],[121.309305,31.503683],[121.309305,31.504074],[121.308472,31.504074],[121.308341,31.504488],[121.307898,31.504696],[121.307403,31.504775],[121.307169,31.505892],[121.307507,31.505971],[121.307221,31.506776],[121.30644,31.50688],[121.305824,31.50779],[121.303949,31.507141],[121.30421,31.50662],[121.30361,31.506542],[121.303063,31.507193],[121.302187,31.507063],[121.301797,31.507271],[121.301015,31.507219],[121.300598,31.506907],[121.300781,31.506438],[121.300728,31.505997],[121.301354,31.505322],[121.300694,31.504695],[121.300129,31.504698],[121.300026,31.504385],[121.299609,31.503901],[121.299054,31.503831],[121.298741,31.504213],[121.298325,31.504109],[121.298081,31.50449],[121.297595,31.504283],[121.297526,31.503624],[121.296953,31.503184],[121.297934,31.501444],[121.297622,31.501082],[121.297256,31.501496],[121.296432,31.502528],[121.295426,31.501651],[121.296449,31.500859],[121.297552,31.5008],[121.297986,31.500335],[121.296918,31.499815],[121.296476,31.500423],[121.295755,31.500266],[121.296354,31.498641],[121.295989,31.496425],[121.293047,31.496],[121.293047,31.495536],[121.294054,31.495613],[121.294097,31.493411],[121.292857,31.493255],[121.291502,31.492869],[121.290886,31.492368],[121.28961,31.491982],[121.288994,31.49171],[121.288491,31.49225],[121.287753,31.492136],[121.287796,31.492522],[121.287136,31.493218],[121.287023,31.493605],[121.28613,31.493606],[121.285939,31.492986],[121.285783,31.492715],[121.285244,31.492097],[121.285054,31.491789],[121.285245,31.491478],[121.285201,31.491246],[121.284897,31.490938],[121.284428,31.491014],[121.283891,31.491014],[121.283387,31.49086],[121.282849,31.4914],[121.28192,31.491634],[121.281382,31.491865],[121.280991,31.492291],[121.280879,31.492601],[121.279403,31.492602],[121.279212,31.491712],[121.278674,31.491944],[121.278058,31.491943],[121.277589,31.49179],[121.277207,31.491827],[121.276895,31.492678],[121.276157,31.492638],[121.275229,31.49233],[121.275853,31.49059],[121.275351,31.490282],[121.274187,31.490165],[121.273493,31.489779],[121.273259,31.489199],[121.272911,31.488698],[121.271982,31.488581],[121.271758,31.487305],[121.269787,31.487037],[121.268432,31.486611],[121.267582,31.486262],[121.267001,31.486919],[121.266342,31.487037],[121.265994,31.487191],[121.265994,31.488737],[121.265378,31.488814],[121.264762,31.489085],[121.264414,31.489394],[121.26379,31.489007],[121.263442,31.48866],[121.26352,31.488157],[121.26287,31.488157],[121.262939,31.486844],[121.262983,31.485296],[121.2607,31.485065],[121.260005,31.48437],[121.258921,31.483983],[121.258424,31.483716],[121.258346,31.483522],[121.258231,31.483393],[121.257568,31.483124],[121.257401,31.48295],[121.257279,31.482719],[121.257215,31.482339],[121.257158,31.481658],[121.2571,31.481021],[121.257009,31.48079],[121.256887,31.480713],[121.256607,31.480631],[121.256603,31.480622],[121.255831,31.480311],[121.254981,31.479885],[121.253201,31.479732],[121.252741,31.480042],[121.252741,31.480698],[121.253245,31.480698],[121.253358,31.481162],[121.252741,31.481316],[121.252316,31.481627],[121.251812,31.481666],[121.251608,31.481514],[121.251657,31.48093],[121.251925,31.480893],[121.251926,31.479849],[121.251926,31.4795],[121.251466,31.479811],[121.251197,31.480004],[121.250997,31.47954],[121.25065,31.479385],[121.250346,31.479579],[121.250303,31.480119],[121.250693,31.481008],[121.250806,31.482593],[121.251196,31.485571],[121.249979,31.485687],[121.249843,31.484991],[121.249183,31.485028],[121.249226,31.483791],[121.248454,31.483754],[121.24841,31.483135],[121.24907,31.483057],[121.248914,31.481745],[121.246779,31.481543],[121.246735,31.480614],[121.245764,31.480614],[121.24552,31.479927],[121.245242,31.479564],[121.243871,31.479],[121.24322,31.478837],[121.242622,31.479],[121.2425,31.479484],[121.242292,31.480211],[121.242049,31.480695],[121.241528,31.481019],[121.241363,31.481826],[121.24217,31.481865],[121.242257,31.482714],[121.243831,31.482722],[121.243726,31.483817],[121.241815,31.483924],[121.241728,31.483319],[121.240886,31.483117],[121.239957,31.483118],[121.239958,31.484572],[121.239628,31.485136],[121.239394,31.485822],[121.239628,31.486469],[121.239394,31.486993],[121.239028,31.487397],[121.239349,31.489255],[121.238864,31.490223],[121.238256,31.491071],[121.237857,31.491596],[121.237597,31.491979],[121.236955,31.492239],[121.236694,31.492849],[121.237041,31.493921],[121.237363,31.494562],[121.237449,31.495228],[121.237076,31.495574],[121.236433,31.495633],[121.235627,31.495169],[121.234351,31.494185],[121.233621,31.493834],[121.23278,31.493894],[121.232025,31.494504],[121.231478,31.494937],[121.230784,31.495055],[121.230289,31.494619],[121.230402,31.493894],[121.23081,31.491022],[121.230958,31.490036],[121.230549,31.48966],[121.229942,31.489688],[121.2293,31.490036],[121.228545,31.489833],[121.227937,31.48902],[121.226895,31.487658],[121.226314,31.486874],[121.225733,31.486063],[121.225186,31.485453],[121.224431,31.484873],[121.224223,31.484061],[121.22489,31.483656],[121.22562,31.48348],[121.226392,31.48304],[121.22627,31.48203],[121.225949,31.47993],[121.225906,31.479365],[121.225342,31.479285],[121.224292,31.479648],[121.223242,31.479971],[121.222314,31.479972],[121.221749,31.479609],[121.221385,31.478841],[121.220898,31.477954],[121.220542,31.477832],[121.21872,31.477874],[121.217106,31.478076],[121.216264,31.477993],[121.214606,31.477148],[121.213313,31.477551],[121.211985,31.477682],[121.210128,31.47774],[121.209173,31.477855],[121.209173,31.478233],[121.209642,31.478552],[121.20974,31.478939],[121.210561,31.479451],[121.209902,31.481047],[121.209329,31.480826],[121.208331,31.479946],[121.205345,31.479045],[121.204009,31.478205],[121.202994,31.477596],[121.201891,31.476906],[121.201084,31.475737],[121.198939,31.474241],[121.198541,31.473798],[121.198419,31.473232],[121.198862,31.472264],[121.198783,31.471617],[121.198419,31.471255],[121.197126,31.471174],[121.195833,31.471012],[121.194782,31.470285],[121.19341,31.469962],[121.191475,31.469802],[121.190546,31.469721],[121.189817,31.469398],[121.18849,31.467966],[121.18678,31.466603],[121.184896,31.465077],[121.184696,31.464635],[121.184939,31.464151],[121.181546,31.462697],[121.181666,31.461525],[121.181666,31.460679],[121.181225,31.459993],[121.180938,31.459346],[121.180938,31.458781],[121.181102,31.458055],[121.181667,31.457165],[121.181667,31.456762],[121.181545,31.456237],[121.179731,31.455429],[121.176294,31.453331],[121.17533,31.453087],[121.174236,31.452767],[121.173108,31.45212],[121.170443,31.451151],[121.169228,31.450909],[121.167778,31.450909],[121.166927,31.451313],[121.165842,31.451717],[121.165279,31.451877],[121.164836,31.451756],[121.164228,31.451031],[121.163785,31.450384],[121.163182,31.450164],[121.161498,31.452016],[121.16093,31.451717],[121.160912,31.451717],[121.159948,31.451232],[121.15849,31.450707],[121.157561,31.450708],[121.156354,31.451514],[121.142751,31.445741],[121.143072,31.445135],[121.143315,31.444611],[121.143194,31.444287],[121.142664,31.443682],[121.142299,31.443076],[121.142465,31.442672],[121.143272,31.44126],[121.141978,31.440815],[121.142829,31.439523],[121.142283,31.439074],[121.14269,31.438638],[121.143237,31.438],[121.144114,31.437421],[121.145242,31.436696],[121.147908,31.435421],[121.150408,31.434578],[121.153915,31.434086],[121.158151,31.434056],[121.158533,31.433548],[121.158577,31.432824],[121.158552,31.432209],[121.157951,31.431886],[121.157969,31.431411],[121.158611,31.431369],[121.158577,31.430844],[121.159054,31.430803],[121.159054,31.432622],[121.159098,31.432904],[121.159419,31.433144],[121.159783,31.432904],[121.159783,31.432218],[121.159749,31.429069],[121.158776,31.429229],[121.158368,31.429271],[121.157926,31.429835],[121.15744,31.429793],[121.157405,31.429149],[121.156476,31.428906],[121.156354,31.428583],[121.156797,31.427615],[121.155226,31.42709],[121.154818,31.427817],[121.153489,31.427413],[121.15316,31.427855],[121.151831,31.427452],[121.151146,31.427451],[121.150703,31.427574],[121.149166,31.427009],[121.149166,31.426],[121.148967,31.425715],[121.148159,31.425716],[121.148037,31.425273],[121.146866,31.425152],[121.146302,31.424908],[121.146059,31.424504],[121.14658,31.423616],[121.144522,31.423456],[121.143914,31.423334],[121.143679,31.42289],[121.141657,31.422889],[121.141614,31.421518],[121.143593,31.42172],[121.144079,31.420952],[121.144686,31.420952],[121.144244,31.418289],[121.144322,31.417681],[121.144687,31.417441],[121.145086,31.417399],[121.145894,31.417562],[121.146337,31.41732],[121.146544,31.416874],[121.147065,31.416269],[121.147716,31.41623],[121.148237,31.41639],[121.148645,31.416352],[121.148845,31.415906],[121.148924,31.415503],[121.149331,31.415422],[121.149974,31.415704],[121.150381,31.415826],[121.150946,31.415663],[121.151224,31.414898],[121.15131,31.414372],[121.150903,31.413968],[121.150173,31.413767],[121.14993,31.413405],[121.15046,31.412797],[121.150903,31.412233],[121.151267,31.412233],[121.152239,31.412999],[121.152561,31.413203],[121.153246,31.412919],[121.153889,31.412313],[121.154297,31.411951],[121.154175,31.411627],[121.153403,31.411063],[121.153403,31.410699],[121.153689,31.410253],[121.153933,31.409972],[121.153325,31.409731],[121.154818,31.40763],[121.154254,31.407508],[121.152761,31.409487],[121.15066,31.408236],[121.14993,31.408074],[121.149288,31.408116],[121.148525,31.407671],[121.14921,31.40662],[121.148767,31.406419],[121.149322,31.405518],[121.148411,31.405038],[121.14737,31.404843],[121.145911,31.404037],[121.146501,31.402827],[121.146258,31.402542],[121.145416,31.402705],[121.14493,31.402584],[121.144488,31.402139],[121.144522,31.401534],[121.145008,31.40121],[121.145893,31.40113],[121.147717,31.400889],[121.147994,31.400605],[121.14816,31.399999],[121.147994,31.399797],[121.14703,31.399676],[121.145772,31.399999],[121.145052,31.40004],[121.144157,31.399759],[121.143072,31.399152],[121.143194,31.398262],[121.143758,31.397578],[121.144322,31.396931],[121.144886,31.396325],[121.143436,31.395883],[121.141978,31.395196],[121.139964,31.394428],[121.139235,31.394146],[121.139113,31.393742],[121.139556,31.393258],[121.140043,31.392772],[121.140329,31.392733],[121.140329,31.393095],[121.140441,31.393418],[121.141092,31.393175],[121.141779,31.392451],[121.142508,31.391724],[121.142065,31.391078],[121.142065,31.390754],[121.142629,31.39019],[121.143472,31.389543],[121.144122,31.389301],[121.144401,31.388736],[121.143836,31.388454],[121.143854,31.387234],[121.13683,31.385363],[121.136448,31.386352],[121.134755,31.38599],[121.135076,31.385263],[121.134026,31.3849],[121.13334,31.385384],[121.132919,31.384601],[121.133391,31.384188],[121.133606,31.383534],[121.133812,31.382959],[121.132698,31.382761],[121.128374,31.381103],[121.127158,31.38062],[121.126637,31.381466],[121.12385,31.380457],[121.119653,31.378523],[121.118667,31.380271],[121.115681,31.378849],[121.113588,31.377632],[121.111418,31.376943],[121.109125,31.376238],[121.110601,31.372931],[121.112103,31.373109],[121.112304,31.372382],[121.114456,31.372352],[121.115706,31.371047],[121.115593,31.370467],[121.114691,31.370321],[121.114057,31.370118],[121.113762,31.369567],[121.112607,31.36945],[121.109733,31.369189],[121.109065,31.368985],[121.108543,31.368666],[121.108335,31.368115],[121.108596,31.367507],[121.108222,31.366925],[121.105817,31.366432],[121.104654,31.36649],[121.104507,31.366896],[121.104263,31.368303],[121.10362,31.36818],[121.103577,31.368504],[121.103419,31.368805],[121.101936,31.368631]]]]}},{type:"Feature",properties:{id:"320583",name:"昆山市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.971392,31.495789],[120.973631,31.496191],[120.975922,31.496051],[120.979404,31.497694],[120.981972,31.499545],[120.983492,31.500694],[120.983855,31.500944],[120.984394,31.500998],[120.98482,31.500959],[120.985236,31.500732],[120.987171,31.499759],[120.987536,31.499303],[120.987718,31.498757],[120.98791,31.498183],[120.988126,31.497837],[120.988309,31.497765],[120.988551,31.49774],[120.988847,31.497848],[120.992189,31.49914],[120.993047,31.499538],[120.993743,31.499704],[120.994073,31.49965],[120.994532,31.499288],[120.995731,31.497606],[120.9977,31.496608],[120.999576,31.49463],[121.003031,31.495479],[121.006242,31.494961],[121.007301,31.495321],[121.007935,31.496701],[121.008968,31.498537],[121.011104,31.498229],[121.011928,31.497331],[121.010261,31.493706],[121.010696,31.492],[121.0133,31.489192],[121.015626,31.486252],[121.015679,31.484431],[121.01146,31.481508],[121.011511,31.479227],[121.013022,31.477079],[121.012214,31.471476],[121.011997,31.470562],[121.012336,31.469649],[121.008856,31.470369],[121.006321,31.469426],[121.008934,31.462823],[121.008916,31.460822],[121.00955,31.459145],[121.0106,31.459162],[121.012423,31.458288],[121.015488,31.456532],[121.018656,31.455545],[121.022128,31.454951],[121.018005,31.451018],[121.014871,31.449544],[121.015974,31.44737],[121.016478,31.444664],[121.016504,31.443375],[121.017119,31.442736],[121.018074,31.440298],[121.018725,31.438243],[121.022658,31.437529],[121.022997,31.435209],[121.026322,31.434745],[121.033138,31.435731],[121.033438,31.435748],[121.037278,31.43633],[121.039153,31.433131],[121.042531,31.42983],[121.045101,31.429743],[121.046629,31.428215],[121.048703,31.429926],[121.054946,31.433637],[121.060424,31.43419],[121.062543,31.425729],[121.066112,31.425261],[121.06777,31.426145],[121.071121,31.428155],[121.073857,31.43003],[121.075272,31.43153],[121.076696,31.433245],[121.07766,31.43485],[121.078571,31.436084],[121.079396,31.436915],[121.080064,31.437423],[121.080925,31.437719],[121.081888,31.437905],[121.082504,31.437799],[121.08339,31.437086],[121.084058,31.436551],[121.085162,31.435634],[121.087219,31.434211],[121.088348,31.433328],[121.089355,31.43216],[121.090215,31.430876],[121.091196,31.428666],[121.091726,31.427467],[121.092646,31.426738],[121.093574,31.426159],[121.093827,31.425837],[121.094114,31.424108],[121.084945,31.418108],[121.085239,31.417058],[121.090527,31.415694],[121.090319,31.41514],[121.090223,31.414678],[121.090223,31.413517],[121.09005,31.412706],[121.08952,31.411982],[121.088713,31.410497],[121.087445,31.408698],[121.086499,31.407162],[121.086177,31.406044],[121.085925,31.405298],[121.085413,31.404738],[121.084449,31.403829],[121.084076,31.403049],[121.083781,31.40182],[121.083703,31.401053],[121.083564,31.400514],[121.083555,31.399954],[121.083824,31.399231],[121.08392,31.398639],[121.083903,31.398111],[121.083711,31.397685],[121.083277,31.397311],[121.082739,31.396913],[121.08194,31.396708],[121.081124,31.396642],[121.081002,31.396466],[121.081081,31.396279],[121.081654,31.396137],[121.082157,31.395885],[121.082496,31.395566],[121.082878,31.3947],[121.083191,31.39423],[121.08365,31.393954],[121.084189,31.393638],[121.084892,31.392879],[121.085708,31.391782],[121.086594,31.390598],[121.086785,31.390292],[121.087115,31.390097],[121.087731,31.389738],[121.087965,31.389426],[121.088226,31.388844],[121.088365,31.388339],[121.08873,31.388131],[121.089303,31.388098],[121.089946,31.388087],[121.090252,31.388108],[121.090226,31.389855],[121.09225,31.390351],[121.092161,31.391341],[121.092609,31.391501],[121.092468,31.392833],[121.094232,31.393366],[121.094603,31.392143],[121.09472,31.392057],[121.098117,31.381677],[121.098603,31.381546],[121.099131,31.379536],[121.098572,31.379198],[121.101936,31.368631],[121.101989,31.367981],[121.101914,31.367635],[121.102127,31.366323],[121.102613,31.365112],[121.103012,31.364064],[121.103335,31.363216],[121.103621,31.362245],[121.1033,31.361118],[121.103256,31.360228],[121.103334,31.359663],[121.103456,31.359097],[121.102649,31.358977],[121.102891,31.357927],[121.102648,31.35704],[121.102735,31.356553],[121.103334,31.356352],[121.103785,31.355828],[121.103577,31.355182],[121.103334,31.354698],[121.103699,31.352437],[121.104506,31.352558],[121.105878,31.353123],[121.10653,31.353325],[121.106894,31.353164],[121.107215,31.352316],[121.107902,31.352275],[121.109594,31.35264],[121.11133,31.353287],[121.112624,31.353489],[121.113353,31.353204],[121.113675,31.352074],[121.114682,31.350863],[121.11549,31.349815],[121.115576,31.34937],[121.115004,31.34929],[121.112703,31.348925],[121.113354,31.345251],[121.115776,31.345171],[121.116784,31.34505],[121.117912,31.344687],[121.119327,31.344567],[121.12175,31.344729],[121.123165,31.345173],[121.124944,31.345698],[121.12583,31.346021],[121.125917,31.345651],[121.125656,31.344954],[121.125743,31.344403],[121.126064,31.34391],[121.126203,31.343331],[121.125917,31.342808],[121.125248,31.342054],[121.125309,31.341472],[121.12557,31.340776],[121.125943,31.340429],[121.125769,31.339791],[121.125657,31.339212],[121.12583,31.338573],[121.125856,31.337963],[121.12531,31.337441],[121.125222,31.33692],[121.125509,31.336514],[121.126325,31.336165],[121.126238,31.335468],[121.126463,31.334569],[121.126541,31.333927],[121.12734,31.333932],[121.127974,31.333786],[121.128235,31.333439],[121.128123,31.332482],[121.128878,31.331987],[121.128939,31.331437],[121.128643,31.33051],[121.127254,31.330451],[121.12722,31.329841],[121.127627,31.329349],[121.128669,31.329145],[121.128964,31.328305],[121.128704,31.327404],[121.128183,31.327289],[121.127479,31.327462],[121.126932,31.327261],[121.126845,31.326302],[121.126846,31.325635],[121.127037,31.325068],[121.126472,31.324761],[121.126602,31.324218],[121.126212,31.323782],[121.12583,31.323614],[121.124684,31.323608],[121.12432,31.322977],[121.12438,31.322585],[121.124641,31.322128],[121.124006,31.321364],[121.123313,31.321392],[121.122644,31.321132],[121.122357,31.320407],[121.12247,31.319419],[121.12247,31.318753],[121.123252,31.318521],[121.123633,31.317883],[121.123598,31.317069],[121.123573,31.316461],[121.124033,31.316084],[121.123859,31.315329],[121.123486,31.314749],[121.123364,31.313705],[121.123894,31.313387],[121.124502,31.313126],[121.124267,31.312024],[121.124788,31.31156],[121.124849,31.310745],[121.125171,31.310138],[121.124528,31.309354],[121.124588,31.308252],[121.125109,31.306918],[121.125309,31.305757],[121.125023,31.305119],[121.125343,31.304421],[121.126707,31.304249],[121.127549,31.304016],[121.129173,31.303901],[121.135059,31.304831],[121.134737,31.306572],[121.134365,31.30747],[121.134886,31.308109],[121.13709,31.309729],[121.139191,31.311546],[121.142323,31.307782],[121.143569,31.305184],[121.142563,31.304683],[121.141863,31.304588],[121.142489,31.303165],[121.144543,31.303205],[121.146215,31.300879],[121.144357,31.300735],[121.144253,31.300342],[121.143211,31.300056],[121.143428,31.299304],[121.14474,31.299554],[121.144952,31.298712],[121.145694,31.298801],[121.14595,31.29807],[121.146893,31.29829],[121.146941,31.298232],[121.148151,31.295944],[121.146536,31.295765],[121.146718,31.293799],[121.147464,31.29387],[121.148003,31.293585],[121.148324,31.293263],[121.148576,31.291833],[121.150124,31.291923],[121.150163,31.29051],[121.150264,31.290417],[121.150503,31.290429],[121.151779,31.290453],[121.151835,31.289282],[121.153785,31.289143],[121.153967,31.289519],[121.154749,31.289544],[121.15638,31.286621],[121.156736,31.28587],[121.156146,31.285517],[121.155876,31.284955],[121.154454,31.284503],[121.154852,31.283457],[121.153758,31.283056],[121.152682,31.282975],[121.150981,31.282636],[121.15092,31.281476],[121.15092,31.280315],[121.149817,31.279502],[121.149653,31.278613],[121.149175,31.278518],[121.145824,31.277308],[121.143723,31.277243],[121.140633,31.277154],[121.138414,31.277326],[121.138298,31.279519],[121.136815,31.279628],[121.136571,31.278593],[121.136402,31.278528],[121.135112,31.278785],[121.133786,31.279158],[121.133009,31.279445],[121.133441,31.280598],[121.131266,31.281487],[121.130576,31.280208],[121.129091,31.280732],[121.129589,31.282102],[121.129291,31.282267],[121.127079,31.283205],[121.12645,31.281947],[121.122604,31.283042],[121.122536,31.283507],[121.121785,31.283991],[121.119718,31.284937],[121.120407,31.28624],[121.120345,31.28626],[121.116453,31.287602],[121.116487,31.287977],[121.115754,31.287977],[121.115576,31.287213],[121.1149,31.28738],[121.114674,31.286945],[121.113101,31.287513],[121.111738,31.287478],[121.110376,31.287093],[121.109325,31.286253],[121.107857,31.284751],[121.106495,31.283562],[121.104914,31.281604],[121.103412,31.279822],[121.102049,31.278528],[121.099201,31.277148],[121.099227,31.276572],[121.10119,31.276861],[121.100825,31.275473],[121.098558,31.275928],[121.096926,31.276962],[121.094183,31.278071],[121.093436,31.279199],[121.09374,31.280661],[121.093237,31.281491],[121.09275,31.282387],[121.091951,31.285054],[121.090779,31.288819],[121.089641,31.290132],[121.08847,31.290025],[121.088964,31.291693],[121.087575,31.291019],[121.087045,31.29205],[121.085518,31.293718],[121.084172,31.293896],[121.082287,31.293539],[121.082713,31.292474],[121.082357,31.291977],[121.080082,31.28942],[121.077807,31.282744],[121.076748,31.279084],[121.079935,31.277532],[121.078363,31.274682],[121.077538,31.273365],[121.07581,31.271986],[121.074569,31.271713],[121.072034,31.271554],[121.068135,31.270982],[121.065843,31.27037],[121.064106,31.26994],[121.0621,31.269792],[121.058662,31.269756],[121.057881,31.269303],[121.05769,31.268566],[121.058349,31.268515],[121.057794,31.26442],[121.057368,31.2598],[121.058072,31.259555],[121.057577,31.258975],[121.057507,31.257889],[121.056657,31.257558],[121.056726,31.256998],[121.057333,31.257015],[121.057317,31.254828],[121.056935,31.251642],[121.056236,31.25008],[121.056405,31.248352],[121.055111,31.248597],[121.054538,31.249105],[121.053574,31.248912],[121.053108,31.248623],[121.053733,31.248019],[121.0542,31.248265],[121.055233,31.247775],[121.05578,31.24728],[121.056251,31.247217],[121.056507,31.247226],[121.056601,31.247225],[121.056677,31.247215],[121.056758,31.247192],[121.056921,31.247129],[121.057074,31.247109],[121.05769,31.248233],[121.058576,31.248403],[121.059764,31.247994],[121.059565,31.24687],[121.059591,31.245443],[121.060477,31.245],[121.060138,31.244012],[121.058983,31.24408],[121.058983,31.242856],[121.05953,31.241324],[121.059322,31.240303],[121.057482,31.239962],[121.056665,31.239689],[121.057386,31.238022],[121.057421,31.237105],[121.058029,31.23656],[121.059149,31.237003],[121.059088,31.236016],[121.059973,31.236015],[121.059999,31.234824],[121.062795,31.23479],[121.062795,31.233802],[121.062587,31.232783],[121.061198,31.233054],[121.060069,31.232646],[121.060442,31.230501],[121.060138,31.22914],[121.058228,31.228834],[121.058311,31.227878],[121.05836,31.227784],[121.058207,31.227132],[121.058054,31.226536],[121.058202,31.226032],[121.058613,31.225769],[121.058603,31.225591],[121.058501,31.225193],[121.058717,31.224951],[121.058839,31.224819],[121.058801,31.22443],[121.0588,31.223777],[121.058857,31.223272],[121.059039,31.222523],[121.059185,31.221678],[121.059306,31.221158],[121.05956,31.220144],[121.059754,31.219269],[121.059879,31.218575],[121.059911,31.218151],[121.060173,31.217413],[121.06031,31.217066],[121.060402,31.216625],[121.060393,31.216189],[121.060565,31.215851],[121.060678,31.215268],[121.060816,31.214335],[121.061032,31.213745],[121.061194,31.212786],[121.061311,31.211997],[121.061454,31.211255],[121.061607,31.210383],[121.061985,31.209004],[121.062465,31.206668],[121.062692,31.205453],[121.06286,31.204636],[121.063224,31.202873],[121.063521,31.202355],[121.064024,31.201128],[121.064239,31.200483],[121.064627,31.198394],[121.063699,31.198575],[121.062228,31.19902],[121.062022,31.199065],[121.062213,31.196843],[121.065009,31.197184],[121.065522,31.195483],[121.067597,31.195041],[121.06797,31.193406],[121.067258,31.193305],[121.066025,31.19317],[121.066303,31.192285],[121.065756,31.19174],[121.065756,31.190615],[121.066876,31.19031],[121.066919,31.189578],[121.067146,31.188697],[121.067093,31.187836],[121.066268,31.187492],[121.064167,31.186776],[121.064888,31.184773],[121.070393,31.186259],[121.070992,31.184724],[121.066633,31.183346],[121.066815,31.181355],[121.069637,31.178103],[121.070836,31.175323],[121.067936,31.174581],[121.06817,31.173507],[121.067528,31.173138],[121.067328,31.172397],[121.067796,31.17149],[121.070874,31.172198],[121.072702,31.167898],[121.072772,31.16642],[121.068535,31.165143],[121.069108,31.163598],[121.072199,31.164505],[121.072537,31.163767],[121.072467,31.162592],[121.07146,31.162424],[121.072433,31.160341],[121.069246,31.158964],[121.069039,31.158359],[121.068439,31.158157],[121.06797,31.157486],[121.068439,31.15574],[121.067458,31.155403],[121.066824,31.157317],[121.065981,31.157015],[121.06632,31.155402],[121.063898,31.154864],[121.063195,31.154193],[121.064366,31.151396],[121.06454,31.1506],[121.063863,31.150163],[121.061145,31.1505],[121.060842,31.151305],[121.061519,31.151876],[121.061484,31.15285],[121.059565,31.152747],[121.059496,31.154059],[121.058125,31.154026],[121.057985,31.155032],[121.05584,31.15493],[121.052819,31.154695],[121.0511,31.153721],[121.051274,31.152579],[121.049285,31.152781],[121.047341,31.152411],[121.045726,31.152645],[121.045562,31.153922],[121.044589,31.15654],[121.04089,31.15597],[121.040725,31.153517],[121.038911,31.152577],[121.036957,31.151772],[121.037026,31.148883],[121.037869,31.148346],[121.039006,31.148413],[121.040247,31.147474],[121.038302,31.143039],[121.037295,31.140856],[121.036253,31.139545],[121.034136,31.138875],[121.033597,31.139813],[121.032729,31.139445],[121.031757,31.139342],[121.031618,31.142299],[121.029673,31.143138],[121.0291,31.143575],[121.028597,31.14418],[121.026678,31.143641],[121.0243,31.14324],[121.023996,31.143945],[121.024325,31.144449],[121.023891,31.145859],[121.022251,31.145757],[121.022719,31.14465],[121.022147,31.144616],[121.021773,31.144077],[121.021209,31.142768],[121.018448,31.142935],[121.017815,31.142467],[121.018353,31.140316],[121.014855,31.136588],[121.014046,31.136116],[121.012606,31.136017],[121.002866,31.135478],[120.986912,31.135279],[120.981374,31.133969],[120.979594,31.133834],[120.970185,31.135784],[120.948427,31.140455],[120.926166,31.143649],[120.91747,31.140258],[120.912766,31.138445],[120.908469,31.137673],[120.904235,31.136936],[120.902256,31.136533],[120.901249,31.136466],[120.89507,31.138313],[120.893864,31.138181],[120.877139,31.136973],[120.876203,31.136403],[120.874588,31.13563],[120.873529,31.134647],[120.872271,31.133738],[120.87063,31.131712],[120.869233,31.130279],[120.868183,31.129405],[120.867385,31.127938],[120.866854,31.126051],[120.866854,31.123778],[120.866429,31.121961],[120.864547,31.119511],[120.861795,31.116992],[120.860849,31.116387],[120.859842,31.116086],[120.859061,31.115506],[120.858071,31.114745],[120.857194,31.113137],[120.85604,31.111566],[120.854677,31.110936],[120.853732,31.110761],[120.853897,31.109893],[120.852725,31.107217],[120.852672,31.106134],[120.851579,31.10732],[120.845025,31.113073],[120.837578,31.118691],[120.833672,31.120619],[120.818576,31.124953],[120.815582,31.126778],[120.811172,31.133778],[120.808933,31.144741],[120.808941,31.149934],[120.810469,31.152819],[120.819011,31.15329],[120.81836,31.161809],[120.818082,31.161758],[120.817692,31.162183],[120.818864,31.167479],[120.817926,31.170581],[120.812683,31.175108],[120.811641,31.175701],[120.811685,31.177172],[120.811623,31.179944],[120.812066,31.183001],[120.812769,31.184965],[120.813429,31.186658],[120.814167,31.188049],[120.817006,31.190042],[120.819072,31.190796],[120.821424,31.191608],[120.823212,31.192246],[120.825304,31.192333],[120.827222,31.192546],[120.829436,31.192502],[120.831241,31.192246],[120.832778,31.191699],[120.833838,31.191358],[120.835408,31.191393],[120.836398,31.192007],[120.837318,31.19303],[120.837865,31.194327],[120.838307,31.197157],[120.838508,31.199375],[120.83895,31.20051],[120.8398,31.201766],[120.841432,31.203676],[120.842638,31.204904],[120.844028,31.206486],[120.845633,31.20725],[120.847109,31.207768],[120.849131,31.208261],[120.850416,31.20886],[120.851518,31.209472],[120.854139,31.211709],[120.855007,31.2128],[120.856179,31.213646],[120.857221,31.214029],[120.859512,31.213863],[120.86242,31.213926],[120.865935,31.213995],[120.867705,31.213926],[120.870196,31.212936],[120.873165,31.211947],[120.875021,31.211469],[120.877712,31.212018],[120.879474,31.212827],[120.883519,31.214331],[120.887537,31.215891],[120.891876,31.216702],[120.89323,31.217192],[120.893837,31.217942],[120.894054,31.218865],[120.894115,31.219438],[120.894167,31.21969],[120.894462,31.219917],[120.894905,31.220132],[120.895929,31.22043],[120.896329,31.220525],[120.897136,31.221123],[120.897231,31.221863],[120.896806,31.223645],[120.895461,31.225079],[120.895114,31.225685],[120.894757,31.226276],[120.894714,31.226657],[120.895113,31.227197],[120.89572,31.227836],[120.896736,31.228294],[120.897049,31.228293],[120.897228,31.228724],[120.897358,31.230147],[120.897271,31.231655],[120.897035,31.232604],[120.896348,31.233196],[120.895495,31.233448],[120.894411,31.234918],[120.893569,31.23696],[120.893065,31.238453],[120.892874,31.238691],[120.891902,31.239012],[120.89054,31.239779],[120.888388,31.241576],[120.887234,31.241364],[120.886105,31.240554],[120.885081,31.240414],[120.884377,31.240555],[120.883492,31.247237],[120.883666,31.248513],[120.884369,31.249288],[120.886382,31.24992],[120.887259,31.250414],[120.88758,31.251048],[120.887545,31.252034],[120.886981,31.253056],[120.885905,31.254057],[120.883188,31.254375],[120.882703,31.25463],[120.882469,31.254969],[120.881305,31.257313],[120.877765,31.266051],[120.876997,31.266743],[120.877019,31.267207],[120.877174,31.267977],[120.876871,31.269823],[120.876914,31.270223],[120.877024,31.270601],[120.87748,31.271246],[120.878225,31.272503],[120.878427,31.272588],[120.880075,31.272571],[120.880358,31.273406],[120.87947,31.273507],[120.878775,31.273416],[120.87661,31.273623],[120.876625,31.273809],[120.876781,31.274756],[120.876795,31.275579],[120.876566,31.277966],[120.878094,31.277956],[120.878595,31.278023],[120.879951,31.280088],[120.879871,31.280399],[120.879677,31.28052],[120.876537,31.280447],[120.876464,31.282445],[120.878751,31.282394],[120.880165,31.282283],[120.88008,31.282887],[120.88004,31.283739],[120.879939,31.28479],[120.876852,31.284524],[120.877147,31.286313],[120.875063,31.286255],[120.875051,31.287973],[120.87497,31.288392],[120.874763,31.28911],[120.87425,31.290238],[120.873866,31.291326],[120.873472,31.292989],[120.87269,31.293171],[120.871757,31.293153],[120.867934,31.293788],[120.867001,31.294438],[120.866847,31.294711],[120.866823,31.301276],[120.865334,31.302967],[120.864852,31.304921],[120.863892,31.307034],[120.863608,31.307504],[120.862756,31.308545],[120.860603,31.311994],[120.858505,31.315434],[120.857455,31.319453],[120.855919,31.323333],[120.85361,31.328682],[120.850746,31.334345],[120.850077,31.335743],[120.850043,31.336372],[120.849556,31.339799],[120.849321,31.340655],[120.847572,31.346165],[120.845808,31.352721],[120.842191,31.366427],[120.840398,31.366073],[120.839185,31.368739],[120.835974,31.368092],[120.833897,31.369957],[120.833814,31.370167],[120.835921,31.370444],[120.83623,31.370553],[120.836984,31.370749],[120.836094,31.373038],[120.830705,31.372274],[120.82996,31.372291],[120.829346,31.372117],[120.828576,31.37191],[120.82882,31.371325],[120.826376,31.371093],[120.826304,31.371357],[120.825692,31.372679],[120.823625,31.372381],[120.82291,31.373737],[120.815147,31.371689],[120.815985,31.375501],[120.818594,31.377099],[120.818247,31.378029],[120.817475,31.382053],[120.81697,31.386775],[120.817647,31.391666],[120.821528,31.419666],[120.826067,31.436966],[120.82481,31.441084],[120.823212,31.446316],[120.821112,31.466705],[120.819827,31.470846],[120.81967,31.473302],[120.819983,31.477851],[120.81796,31.485624],[120.814949,31.490038],[120.814098,31.49105],[120.812692,31.491375],[120.812344,31.492275],[120.810365,31.493229],[120.809966,31.494806],[120.810217,31.49651],[120.810842,31.497812],[120.81119,31.49894],[120.811433,31.499713],[120.811441,31.499735],[120.811467,31.499816],[120.811474,31.499847],[120.813368,31.505854],[120.812796,31.506028],[120.81059,31.505678],[120.804002,31.504874],[120.803697,31.505127],[120.803551,31.505453],[120.803551,31.507531],[120.803428,31.509235],[120.803576,31.510762],[120.80355,31.511815],[120.803429,31.513067],[120.803403,31.514621],[120.80335,31.515724],[120.804601,31.516774],[120.809878,31.521091],[120.810833,31.521611],[120.811051,31.521666],[120.819167,31.521697],[120.820878,31.521824],[120.824479,31.521951],[120.825096,31.521994],[120.830443,31.522013],[120.833846,31.52235],[120.835608,31.522562],[120.838498,31.522683],[120.842387,31.523226],[120.84473,31.522969],[120.844791,31.521961],[120.844539,31.519333],[120.842274,31.518556],[120.8423,31.517095],[120.845182,31.515313],[120.846206,31.513879],[120.846753,31.511769],[120.846614,31.509866],[120.84868,31.50989],[120.850416,31.508883],[120.85197,31.508188],[120.856214,31.508123],[120.859694,31.507144],[120.860927,31.513765],[120.865066,31.512525],[120.866421,31.513126],[120.867739,31.515202],[120.868148,31.518915],[120.870622,31.51892],[120.87043,31.51998],[120.870526,31.520809],[120.870891,31.521474],[120.871255,31.52257],[120.871688,31.523001],[120.872487,31.523398],[120.873086,31.523863],[120.873416,31.524362],[120.873468,31.525074],[120.873667,31.526102],[120.874128,31.527363],[120.874328,31.529188],[120.874328,31.530317],[120.874527,31.530716],[120.87451,31.531595],[120.874519,31.532687],[120.876567,31.532254],[120.879084,31.531566],[120.881096,31.531598],[120.882537,31.532442],[120.882104,31.534177],[120.881879,31.535903],[120.885081,31.5348],[120.887181,31.535989],[120.888709,31.536753],[120.891998,31.536647],[120.894974,31.536856],[120.895833,31.537537],[120.89533,31.53852],[120.894506,31.543052],[120.896008,31.541921],[120.897032,31.54165],[120.898073,31.541072],[120.900251,31.540297],[120.898637,31.537962],[120.891746,31.530474],[120.895955,31.52781],[120.904807,31.531345],[120.907637,31.529803],[120.91011,31.527112],[120.90879,31.525775],[120.908748,31.523789],[120.910223,31.522084],[120.913199,31.520162],[120.913304,31.521185],[120.913573,31.521998],[120.91451,31.523075],[120.915994,31.524025],[120.919396,31.525617],[120.921783,31.526274],[120.923405,31.526851],[120.924482,31.527821],[120.925922,31.529105],[120.927736,31.530286],[120.929542,31.531361],[120.931954,31.532645],[120.932588,31.532699],[120.933074,31.532142],[120.933759,31.528989],[120.934419,31.528116],[120.934853,31.528042],[120.93612,31.525475],[120.93704,31.5188],[120.942456,31.51976],[120.943297,31.515283],[120.948704,31.514431],[120.949537,31.511586],[120.950214,31.510048],[120.951135,31.509286],[120.95254,31.509201],[120.952861,31.505941],[120.954146,31.499777],[120.9603,31.500966],[120.962946,31.502982],[120.966645,31.49809],[120.967659,31.497936],[120.971392,31.495789]]]]}},{type:"Feature",properties:{id:"320581",name:"常熟市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.600833,31.5482],[120.598819,31.548986],[120.59508,31.550591],[120.594446,31.557265],[120.593352,31.565989],[120.592146,31.571814],[120.592139,31.571836],[120.592136,31.571859],[120.591773,31.573616],[120.590609,31.576941],[120.590375,31.578136],[120.5889,31.579517],[120.585559,31.582957],[120.582847,31.585515],[120.580049,31.58726],[120.575181,31.587661],[120.569621,31.588061],[120.566205,31.587772],[120.564244,31.586972],[120.56319,31.5861],[120.566727,31.581931],[120.568817,31.579582],[120.567065,31.578781],[120.564027,31.5784],[120.559391,31.581693],[120.557601,31.581205],[120.556415,31.580693],[120.554299,31.579275],[120.552809,31.5787],[120.552796,31.578694],[120.552783,31.57869],[120.548811,31.577159],[120.546997,31.57688],[120.54595,31.577089],[120.543727,31.578672],[120.542574,31.581752],[120.54351,31.585357],[120.540803,31.587785],[120.538798,31.603802],[120.539206,31.6048],[120.541974,31.606757],[120.548839,31.607691],[120.552806,31.602393],[120.55481,31.602709],[120.56224,31.604032],[120.562379,31.605766],[120.564114,31.608286],[120.563489,31.608797],[120.562899,31.611274],[120.565798,31.611555],[120.568896,31.613876],[120.57287,31.616276],[120.574693,31.61593],[120.577072,31.615745],[120.578208,31.615571],[120.580274,31.615556],[120.581237,31.615254],[120.582209,31.614984],[120.583684,31.614826],[120.585967,31.613921],[120.587295,31.613618],[120.588128,31.613732],[120.589473,31.614142],[120.590879,31.614914],[120.592068,31.615425],[120.592849,31.616044],[120.593927,31.617051],[120.594712,31.617545],[120.596407,31.619242],[120.595722,31.620158],[120.587902,31.627161],[120.589351,31.629856],[120.591373,31.633518],[120.586773,31.637497],[120.585384,31.638648],[120.586895,31.640474],[120.59166,31.645884],[120.590227,31.647533],[120.587928,31.652404],[120.582435,31.653941],[120.579224,31.654078],[120.567508,31.657887],[120.560616,31.657567],[120.556824,31.657785],[120.555903,31.658396],[120.555612,31.658193],[120.555473,31.658238],[120.555397,31.658414],[120.555274,31.658813],[120.554368,31.659415],[120.554333,31.660596],[120.562561,31.662031],[120.563003,31.663599],[120.564391,31.667281],[120.56399,31.668291],[120.564053,31.669068],[120.564203,31.669708],[120.564173,31.669798],[120.563533,31.669798],[120.563454,31.670417],[120.564033,31.670468],[120.564123,31.670068],[120.564372,31.670047],[120.564533,31.670698],[120.563043,31.670658],[120.562313,31.671628],[120.562853,31.671707],[120.562852,31.672197],[120.563663,31.672328],[120.562703,31.673848],[120.562743,31.673987],[120.562933,31.674098],[120.562923,31.674238],[120.563753,31.674648],[120.564933,31.674427],[120.565193,31.675228],[120.565153,31.675298],[120.564113,31.675507],[120.563433,31.675367],[120.563383,31.675497],[120.563493,31.676458],[120.562943,31.676638],[120.563103,31.677697],[120.562144,31.678248],[120.562704,31.679428],[120.562334,31.679598],[120.562374,31.679668],[120.562133,31.679788],[120.562143,31.680418],[120.562294,31.680478],[120.56239,31.680777],[120.560784,31.681118],[120.559683,31.680598],[120.559554,31.680748],[120.559924,31.681008],[120.559405,31.682408],[120.559134,31.682549],[120.558744,31.682528],[120.558615,31.682609],[120.558779,31.682777],[120.559084,31.683039],[120.559154,31.683289],[120.559284,31.683418],[120.559904,31.683398],[120.560084,31.683508],[120.560624,31.683939],[120.561853,31.685218],[120.561974,31.686248],[120.561994,31.687498],[120.562614,31.687368],[120.563813,31.687308],[120.563823,31.687898],[120.56347,31.688007],[120.563943,31.689238],[120.564083,31.689297],[120.564943,31.688897],[120.565403,31.689487],[120.566272,31.690357],[120.566163,31.690638],[120.565823,31.691017],[120.565882,31.691077],[120.566422,31.691397],[120.568182,31.691807],[120.572622,31.691576],[120.572652,31.692016],[120.572391,31.692106],[120.572342,31.691927],[120.572161,31.691936],[120.572161,31.692136],[120.571922,31.692166],[120.571902,31.692596],[120.571472,31.692646],[120.571472,31.693056],[120.571591,31.693066],[120.571601,31.693276],[120.571091,31.693366],[120.571031,31.693616],[120.571252,31.693627],[120.571371,31.693936],[120.572451,31.693206],[120.573311,31.692365],[120.57382,31.692146],[120.574151,31.692066],[120.574177,31.692125],[120.574495,31.693598],[120.573868,31.693823],[120.574154,31.694739],[120.573721,31.694836],[120.573751,31.695685],[120.573791,31.695816],[120.573897,31.695821],[120.576121,31.695405],[120.58071,31.694934],[120.580929,31.695714],[120.581299,31.695694],[120.582219,31.697494],[120.582439,31.697514],[120.582819,31.698293],[120.582999,31.698354],[120.583969,31.698054],[120.584109,31.698143],[120.584869,31.699513],[120.584859,31.699593],[120.584109,31.699873],[120.584222,31.700182],[120.585019,31.700013],[120.585168,31.700484],[120.583779,31.701083],[120.584019,31.701474],[120.585619,31.700993],[120.587178,31.702403],[120.587318,31.702453],[120.587606,31.702203],[120.588598,31.702943],[120.589697,31.704412],[120.589627,31.704782],[120.590958,31.706842],[120.591087,31.707172],[120.591527,31.707733],[120.591957,31.707833],[120.592017,31.707662],[120.591607,31.707473],[120.591527,31.707193],[120.592297,31.707352],[120.592277,31.707752],[120.593617,31.708132],[120.593806,31.708442],[120.593817,31.708692],[120.596032,31.709002],[120.596607,31.710974],[120.594879,31.712843],[120.592589,31.712951],[120.586626,31.715123],[120.585637,31.71624],[120.583468,31.716254],[120.580881,31.716556],[120.580369,31.720046],[120.578981,31.721217],[120.578234,31.723293],[120.577497,31.729753],[120.578017,31.730322],[120.578928,31.73281],[120.580143,31.736594],[120.581393,31.737532],[120.585229,31.737065],[120.589117,31.740304],[120.591087,31.73559],[120.595314,31.735893],[120.598794,31.733932],[120.604643,31.733129],[120.606761,31.732719],[120.609781,31.728259],[120.614068,31.726075],[120.617497,31.725328],[120.624422,31.724698],[120.62529,31.724434],[120.629083,31.723214],[120.636217,31.722545],[120.641416,31.725807],[120.645608,31.727245],[120.650652,31.726661],[120.654045,31.72875],[120.660217,31.735202],[120.664184,31.73505],[120.667144,31.733292],[120.667674,31.733078],[120.668029,31.733324],[120.668168,31.733527],[120.670312,31.736039],[120.671649,31.737479],[120.672673,31.738897],[120.674375,31.742216],[120.674487,31.743895],[120.674539,31.744275],[120.675043,31.744416],[120.675625,31.745031],[120.676189,31.745208],[120.67862,31.745773],[120.678836,31.746298],[120.67947,31.748782],[120.679696,31.74893],[120.681041,31.748732],[120.681224,31.748969],[120.68118,31.749642],[120.681363,31.75],[120.682092,31.750296],[120.682439,31.750755],[120.682734,31.751192],[120.683897,31.751932],[120.684392,31.752377],[120.686771,31.75242],[120.69198,31.751866],[120.692726,31.75188],[120.695921,31.753551],[120.703039,31.757693],[120.708335,31.757788],[120.71232,31.757174],[120.714083,31.760607],[120.715897,31.762443],[120.719031,31.76386],[120.718103,31.76927],[120.715324,31.774873],[120.712338,31.777759],[120.7118,31.778425],[120.717555,31.781017],[120.721176,31.784247],[120.723068,31.784036],[120.725048,31.788301],[120.726159,31.794414],[120.723789,31.796833],[120.724258,31.80127],[120.723928,31.805879],[120.721219,31.807995],[120.722721,31.812543],[120.723381,31.813937],[120.722878,31.815308],[120.720065,31.815781],[120.72424,31.820929],[120.72602,31.824136],[120.726272,31.824592],[120.729198,31.824419],[120.732011,31.828536],[120.737967,31.833844],[120.742638,31.838002],[120.742977,31.838669],[120.753178,31.832456],[120.758361,31.8293],[120.763189,31.826046],[120.781395,31.817775],[120.78643,31.814716],[120.792489,31.820702],[120.796684,31.823272],[120.798784,31.824436],[120.798984,31.824629],[120.799366,31.825013],[120.802491,31.820317],[120.852368,31.801463],[120.88561,31.829094],[120.891121,31.82191],[120.893447,31.819037],[120.912436,31.795789],[120.928674,31.788813],[120.955213,31.785103],[121.014211,31.785399],[121.030254,31.78519],[121.056022,31.78485],[121.072215,31.77877],[121.096552,31.764275],[121.0919,31.757965],[121.081775,31.746134],[121.066146,31.729236],[121.06237,31.725459],[121.058827,31.724115],[121.056223,31.719369],[121.055675,31.716773],[121.054199,31.714425],[121.050856,31.708565],[121.04945,31.703252],[121.045544,31.695454],[121.048044,31.693087],[121.050545,31.691024],[121.051768,31.689161],[121.048,31.684024],[121.047011,31.683855],[121.042608,31.686108],[121.041263,31.685922],[121.038867,31.683216],[121.037304,31.67917],[121.035029,31.676474],[121.03426,31.675505],[121.034272,31.675468],[121.034228,31.675465],[121.030801,31.671145],[121.027824,31.670393],[121.025558,31.671801],[121.020913,31.668069],[121.014367,31.663322],[121.01244,31.661128],[121.021451,31.657249],[121.028301,31.654254],[121.031973,31.651993],[121.035499,31.649461],[121.038528,31.648732],[121.041602,31.646328],[121.043329,31.643253],[121.044276,31.640951],[121.04807,31.639845],[121.050197,31.638148],[121.054304,31.637264],[121.058453,31.635074],[121.056205,31.630533],[121.052237,31.631859],[121.050371,31.627296],[121.046472,31.623159],[121.04319,31.621556],[121.041724,31.619343],[121.034926,31.612395],[121.031209,31.610264],[121.024481,31.607192],[121.019698,31.605181],[121.01422,31.600837],[121.003629,31.595119],[120.997744,31.592807],[121.004957,31.582617],[120.992232,31.574481],[120.993743,31.573122],[120.994498,31.572519],[120.995132,31.571814],[120.995808,31.570941],[120.996425,31.570001],[120.99698,31.569197],[120.997267,31.568828],[120.99718,31.568424],[120.996798,31.568089],[120.99369,31.566608],[120.978109,31.556372],[120.979585,31.550363],[120.980166,31.549208],[120.974968,31.547459],[120.97383,31.547397],[120.975636,31.545478],[120.977606,31.545174],[120.980705,31.546902],[120.982276,31.547042],[120.982831,31.545365],[120.983257,31.543244],[120.984828,31.543546],[120.986355,31.543691],[120.988812,31.544013],[120.991199,31.544303],[120.992102,31.544581],[120.992883,31.544819],[120.99336,31.544857],[120.993638,31.544707],[120.993751,31.544393],[120.994966,31.5346],[120.998222,31.530648],[121.001346,31.52528],[121.002189,31.522434],[121.002049,31.521948],[121.001902,31.521555],[121.001651,31.520983],[121.001207,31.520228],[121.000008,31.518457],[120.999966,31.518392],[120.998751,31.516623],[120.998265,31.515995],[120.997692,31.515373],[120.99646,31.51434],[120.994879,31.513123],[120.99415,31.512632],[120.991164,31.510764],[120.990878,31.510483],[120.990592,31.510112],[120.990253,31.509648],[120.989862,31.509284],[120.988317,31.50804],[120.987527,31.507383],[120.985982,31.505777],[120.983274,31.502889],[120.982666,31.502511],[120.981816,31.502036],[120.980679,31.501151],[120.980124,31.500838],[120.979056,31.500495],[120.978517,31.500298],[120.97817,31.500005],[120.976616,31.498638],[120.976347,31.498467],[120.975419,31.497943],[120.97515,31.497854],[120.974786,31.497772],[120.974499,31.497723],[120.97423,31.497631],[120.971921,31.496191],[120.971392,31.495789],[120.967659,31.497936],[120.966645,31.49809],[120.962946,31.502982],[120.9603,31.500966],[120.954146,31.499777],[120.952861,31.505941],[120.95254,31.509201],[120.951135,31.509286],[120.950214,31.510048],[120.949537,31.511586],[120.948704,31.514431],[120.943297,31.515283],[120.942456,31.51976],[120.93704,31.5188],[120.93612,31.525475],[120.934853,31.528042],[120.934419,31.528116],[120.933759,31.528989],[120.933074,31.532142],[120.932588,31.532699],[120.931954,31.532645],[120.929542,31.531361],[120.927736,31.530286],[120.925922,31.529105],[120.924482,31.527821],[120.923405,31.526851],[120.921783,31.526274],[120.919396,31.525617],[120.915994,31.524025],[120.91451,31.523075],[120.913573,31.521998],[120.913304,31.521185],[120.913199,31.520162],[120.910223,31.522084],[120.908748,31.523789],[120.90879,31.525775],[120.91011,31.527112],[120.907637,31.529803],[120.904807,31.531345],[120.895955,31.52781],[120.891746,31.530474],[120.898637,31.537962],[120.900251,31.540297],[120.898073,31.541072],[120.897032,31.54165],[120.896008,31.541921],[120.894506,31.543052],[120.89533,31.53852],[120.895833,31.537537],[120.894974,31.536856],[120.891998,31.536647],[120.888709,31.536753],[120.887181,31.535989],[120.885081,31.5348],[120.881879,31.535903],[120.882104,31.534177],[120.882537,31.532442],[120.881096,31.531598],[120.879084,31.531566],[120.876567,31.532254],[120.874519,31.532687],[120.87451,31.531595],[120.874527,31.530716],[120.874328,31.530317],[120.874328,31.529188],[120.874128,31.527363],[120.873667,31.526102],[120.873468,31.525074],[120.873416,31.524362],[120.873086,31.523863],[120.872487,31.523398],[120.871688,31.523001],[120.871255,31.52257],[120.870891,31.521474],[120.870526,31.520809],[120.87043,31.51998],[120.870622,31.51892],[120.868148,31.518915],[120.867739,31.515202],[120.866421,31.513126],[120.865066,31.512525],[120.860927,31.513765],[120.859694,31.507144],[120.856214,31.508123],[120.85197,31.508188],[120.850416,31.508883],[120.84868,31.50989],[120.846614,31.509866],[120.846753,31.511769],[120.846206,31.513879],[120.845182,31.515313],[120.8423,31.517095],[120.842274,31.518556],[120.844539,31.519333],[120.844791,31.521961],[120.84473,31.522969],[120.842387,31.523226],[120.838498,31.522683],[120.835608,31.522562],[120.833846,31.52235],[120.830443,31.522013],[120.825096,31.521994],[120.825,31.523106],[120.824896,31.524871],[120.82428,31.527999],[120.823481,31.530937],[120.822753,31.533701],[120.821997,31.53583],[120.821676,31.536658],[120.820113,31.536924],[120.81862,31.536838],[120.817362,31.53681],[120.816858,31.536471],[120.816746,31.535762],[120.81658,31.535413],[120.81586,31.53534],[120.814983,31.535615],[120.814071,31.5357],[120.812501,31.535351],[120.811086,31.534992],[120.809731,31.535023],[120.808915,31.536049],[120.806389,31.537813],[120.805356,31.538152],[120.805147,31.538171],[120.804366,31.538172],[120.80434,31.535075],[120.804427,31.533991],[120.80434,31.532974],[120.803967,31.531891],[120.803385,31.530808],[120.802795,31.529614],[120.802092,31.528753],[120.801476,31.528204],[120.801033,31.527619],[120.800745,31.526452],[120.800764,31.524736],[120.800798,31.524189],[120.80066,31.523764],[120.800286,31.523605],[120.798853,31.523622],[120.795164,31.523574],[120.794565,31.523715],[120.794044,31.524763],[120.79282,31.5259],[120.791049,31.52612],[120.78874,31.526169],[120.786013,31.526319],[120.784095,31.526978],[120.783782,31.527824],[120.784147,31.529168],[120.784443,31.529841],[120.785128,31.531557],[120.785119,31.531857],[120.784755,31.531943],[120.783626,31.531907],[120.782246,31.531433],[120.781161,31.530843],[120.779285,31.5304],[120.778104,31.530547],[120.777175,31.53099],[120.776584,31.531875],[120.776498,31.533136],[120.776299,31.533815],[120.775595,31.534266],[120.773781,31.535058],[120.77247,31.535716],[120.771471,31.536508],[120.770386,31.537595],[120.763545,31.541812],[120.761304,31.542595],[120.760602,31.542324],[120.760246,31.54169],[120.759795,31.540106],[120.758544,31.536326],[120.758544,31.534785],[120.758804,31.533641],[120.758647,31.532877],[120.758092,31.531955],[120.757137,31.531662],[120.755696,31.531707],[120.754602,31.531774],[120.753768,31.531274],[120.753334,31.530958],[120.751137,31.531094],[120.74928,31.531273],[120.747292,31.532066],[120.744938,31.533018],[120.743758,31.533107],[120.743055,31.533289],[120.741197,31.534172],[120.73821,31.535598],[120.736787,31.536615],[120.73538,31.537565],[120.734208,31.537882],[120.732323,31.538018],[120.73103,31.538177],[120.731108,31.537248],[120.731299,31.529845],[120.731273,31.529546],[120.729745,31.529246],[120.72635,31.52922],[120.724745,31.529002],[120.724406,31.527947],[120.724284,31.525912],[120.724041,31.523876],[120.722374,31.522253],[120.719839,31.521382],[120.717694,31.521959],[120.714048,31.521681],[120.707484,31.52168],[120.705089,31.521761],[120.703951,31.521406],[120.702806,31.520319],[120.703083,31.518724],[120.702858,31.517352],[120.70225,31.515252],[120.700687,31.513216],[120.699133,31.512379],[120.698422,31.511883],[120.692795,31.501494],[120.693638,31.500392],[120.692127,31.498923],[120.691103,31.497922],[120.689939,31.497351],[120.688186,31.498189],[120.686919,31.498575],[120.684853,31.498756],[120.682517,31.498935],[120.680903,31.499228],[120.680208,31.500209],[120.680468,31.500862],[120.680417,31.501463],[120.679323,31.50171],[120.677813,31.501975],[120.677074,31.501976],[120.67625,31.501695],[120.67579,31.501142],[120.674835,31.499862],[120.673402,31.499862],[120.668272,31.500244],[120.666744,31.500107],[120.664462,31.50032],[120.662673,31.500673],[120.660417,31.500719],[120.659106,31.500689],[120.658629,31.500283],[120.657543,31.498774],[120.656606,31.497933],[120.65566,31.497978],[120.654731,31.498168],[120.653586,31.498356],[120.652284,31.498486],[120.651971,31.49899],[120.652058,31.500086],[120.652005,31.500489],[120.650781,31.501685],[120.651085,31.504504],[120.651355,31.505581],[120.650452,31.506299],[120.648481,31.506749],[120.645244,31.507738],[120.64363,31.508815],[120.643178,31.510251],[120.642735,31.512498],[120.642128,31.513145],[120.641095,31.513533],[120.639637,31.513683],[120.63896,31.514653],[120.638874,31.515821],[120.639142,31.517617],[120.639142,31.518605],[120.637615,31.518874],[120.634474,31.518874],[120.632946,31.519323],[120.631869,31.519862],[120.631869,31.521209],[120.633197,31.525001],[120.633458,31.526327],[120.63285,31.527121],[120.631643,31.527349],[120.629821,31.527426],[120.627417,31.527432],[120.622999,31.527515],[120.622322,31.527906],[120.62247,31.528924],[120.623112,31.531105],[120.624509,31.534397],[120.624882,31.537689],[120.624761,31.540727],[120.623242,31.542751],[120.622773,31.544074],[120.622782,31.545871],[120.622773,31.54746],[120.621888,31.547821],[120.619935,31.548001],[120.617783,31.549199],[120.617123,31.550354],[120.616481,31.551671],[120.615769,31.552961],[120.615188,31.553111],[120.613999,31.552629],[120.612524,31.551763],[120.611283,31.551853],[120.609781,31.552244],[120.608939,31.552152],[120.608939,31.551507],[120.609425,31.54911],[120.609364,31.548361],[120.609208,31.547988],[120.608306,31.547944],[120.600833,31.5482]]]]}},{type:"Feature",properties:{id:"320582",name:"张家港市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.5937,31.754857],[120.593456,31.757161],[120.592753,31.758303],[120.590627,31.762563],[120.584318,31.764689],[120.584491,31.764917],[120.585195,31.768317],[120.58483,31.77216],[120.584526,31.773734],[120.582261,31.779342],[120.580855,31.782717],[120.580022,31.784278],[120.576516,31.786926],[120.56677,31.79563],[120.566471,31.795896],[120.55412,31.787815],[120.55238,31.787657],[120.551582,31.788968],[120.551593,31.791095],[120.551593,31.791122],[120.551593,31.791159],[120.551595,31.791435],[120.551594,31.791455],[120.551595,31.791483],[120.551613,31.795045],[120.551595,31.795384],[120.551219,31.79617],[120.549936,31.795727],[120.54553,31.794388],[120.544638,31.794144],[120.542425,31.794245],[120.541937,31.794002],[120.541025,31.792804],[120.540203,31.791546],[120.54009,31.789212],[120.52722,31.789836],[120.526812,31.795254],[120.525953,31.795814],[120.523783,31.797115],[120.52216,31.797579],[120.519573,31.803314],[120.517883,31.805383],[120.517268,31.806441],[120.517506,31.807139],[120.516733,31.808695],[120.51712,31.812475],[120.519182,31.812048],[120.519322,31.812559],[120.520193,31.812827],[120.523949,31.815666],[120.525613,31.816722],[120.526491,31.81909],[120.524964,31.82337],[120.526968,31.829901],[120.52446,31.833395],[120.517603,31.836207],[120.513003,31.83996],[120.510016,31.843534],[120.503863,31.845677],[120.498828,31.843685],[120.498377,31.848121],[120.498322,31.848548],[120.497561,31.849172],[120.497501,31.849418],[120.497596,31.849654],[120.498106,31.850203],[120.497848,31.852197],[120.497727,31.852534],[120.497475,31.852886],[120.497235,31.853755],[120.496935,31.854366],[120.495845,31.855776],[120.495485,31.855665],[120.494685,31.856656],[120.494285,31.856416],[120.493925,31.856496],[120.493655,31.856476],[120.493386,31.856146],[120.493315,31.856136],[120.493225,31.856306],[120.493034,31.856386],[120.493135,31.856636],[120.492955,31.856776],[120.492925,31.856896],[120.493935,31.858276],[120.493045,31.858576],[120.492494,31.858626],[120.492245,31.858746],[120.491955,31.859926],[120.491074,31.860773],[120.491475,31.861436],[120.491455,31.861656],[120.491055,31.862035],[120.490424,31.863476],[120.490434,31.864136],[120.489925,31.864838],[120.487769,31.867418],[120.48638,31.873275],[120.482604,31.874735],[120.480069,31.876341],[120.466727,31.881089],[120.464234,31.881497],[120.461986,31.889664],[120.461908,31.891853],[120.450222,31.893221],[120.4449,31.893789],[120.442347,31.89432],[120.442299,31.894336],[120.442274,31.894342],[120.439326,31.895226],[120.432171,31.897424],[120.422195,31.899665],[120.420294,31.900204],[120.416916,31.901711],[120.416604,31.901837],[120.403006,31.907306],[120.398431,31.908795],[120.39776,31.909153],[120.39765,31.909173],[120.397404,31.908703],[120.396854,31.907563],[120.396579,31.907153],[120.39628,31.907263],[120.39571,31.907243],[120.393179,31.907952],[120.393139,31.908012],[120.393359,31.908432],[120.393259,31.908652],[120.392909,31.908793],[120.392758,31.909122],[120.392388,31.909313],[120.391678,31.909972],[120.391529,31.910302],[120.391289,31.910301],[120.391209,31.910231],[120.391159,31.910121],[120.391218,31.909762],[120.391188,31.909642],[120.391058,31.909552],[120.390408,31.909362],[120.389329,31.908822],[120.389129,31.908362],[120.389318,31.908021],[120.388928,31.907731],[120.388168,31.907561],[120.38733,31.907106],[120.387147,31.907291],[120.386988,31.907641],[120.386597,31.908791],[120.386327,31.909211],[120.386167,31.909721],[120.385817,31.91],[120.385367,31.910161],[120.384907,31.910051],[120.384636,31.910071],[120.384506,31.91042],[120.384107,31.91085],[120.383837,31.911011],[120.383631,31.910935],[120.383507,31.910991],[120.383376,31.910821],[120.383126,31.91092],[120.382816,31.91035],[120.380406,31.91133],[120.380357,31.91144],[120.380477,31.91352],[120.380086,31.91375],[120.379956,31.91401],[120.379846,31.914069],[120.378846,31.91402],[120.378816,31.9138],[120.378516,31.91382],[120.378196,31.91341],[120.377915,31.912749],[120.376666,31.912949],[120.376676,31.913449],[120.375947,31.91343],[120.375845,31.913999],[120.375025,31.913989],[120.375024,31.914849],[120.375745,31.914799],[120.375745,31.91522],[120.374811,31.915419],[120.374874,31.915898],[120.374615,31.915949],[120.375055,31.917989],[120.375205,31.918289],[120.375395,31.918349],[120.375526,31.918309],[120.375745,31.918589],[120.376215,31.919579],[120.375165,31.920359],[120.376334,31.920691],[120.385746,31.927655],[120.386518,31.930404],[120.385572,31.933992],[120.381257,31.937424],[120.370612,31.94354],[120.369914,31.945356],[120.369899,31.945377],[120.369896,31.945402],[120.368798,31.948253],[120.366862,31.956777],[120.364153,31.962912],[120.365967,31.992651],[120.375779,32.000106],[120.383116,32.008477],[120.399022,32.018035],[120.404639,32.020725],[120.416552,32.026431],[120.43535,32.035432],[120.458166,32.046354],[120.461057,32.047736],[120.464842,32.04727],[120.47611,32.045889],[120.490062,32.044175],[120.497873,32.043214],[120.499332,32.043035],[120.52025,32.032516],[120.548831,32.02328],[120.57491,32.014843],[120.584066,32.011881],[120.590211,32.010827],[120.604261,32.00842],[120.624144,32.003325],[120.637493,32.003131],[120.648377,32.004515],[120.648794,32.004612],[120.662309,32.00783],[120.669913,32.009637],[120.682127,32.012133],[120.698117,32.015398],[120.704021,32.016085],[120.728147,32.018883],[120.736578,32.019863],[120.743802,32.020769],[120.751155,32.021695],[120.756747,32.022397],[120.757155,32.022447],[120.766341,32.022611],[120.771732,32.020413],[120.777636,32.01801],[120.777705,32.017862],[120.783357,32.005302],[120.785684,32.000116],[120.798767,31.990481],[120.849209,31.890762],[120.853202,31.881961],[120.856092,31.875171],[120.859234,31.870064],[120.879648,31.836852],[120.88561,31.829094],[120.852368,31.801463],[120.802491,31.820317],[120.799366,31.825013],[120.798984,31.824629],[120.798784,31.824436],[120.796684,31.823272],[120.792489,31.820702],[120.78643,31.814716],[120.781395,31.817775],[120.763189,31.826046],[120.758361,31.8293],[120.753178,31.832456],[120.742977,31.838669],[120.742638,31.838002],[120.737967,31.833844],[120.732011,31.828536],[120.729198,31.824419],[120.726272,31.824592],[120.72602,31.824136],[120.72424,31.820929],[120.720065,31.815781],[120.722878,31.815308],[120.723381,31.813937],[120.722721,31.812543],[120.721219,31.807995],[120.723928,31.805879],[120.724258,31.80127],[120.723789,31.796833],[120.726159,31.794414],[120.725048,31.788301],[120.723068,31.784036],[120.721176,31.784247],[120.717555,31.781017],[120.7118,31.778425],[120.712338,31.777759],[120.715324,31.774873],[120.718103,31.76927],[120.719031,31.76386],[120.715897,31.762443],[120.714083,31.760607],[120.71232,31.757174],[120.708335,31.757788],[120.703039,31.757693],[120.695921,31.753551],[120.692726,31.75188],[120.69198,31.751866],[120.686771,31.75242],[120.684392,31.752377],[120.683897,31.751932],[120.682734,31.751192],[120.682439,31.750755],[120.682092,31.750296],[120.681363,31.75],[120.68118,31.749642],[120.681224,31.748969],[120.681041,31.748732],[120.679696,31.74893],[120.67947,31.748782],[120.678836,31.746298],[120.67862,31.745773],[120.676189,31.745208],[120.675625,31.745031],[120.675043,31.744416],[120.674539,31.744275],[120.674487,31.743895],[120.674375,31.742216],[120.672673,31.738897],[120.671649,31.737479],[120.670312,31.736039],[120.668168,31.733527],[120.668029,31.733324],[120.667674,31.733078],[120.667144,31.733292],[120.664184,31.73505],[120.660217,31.735202],[120.654045,31.72875],[120.650652,31.726661],[120.645608,31.727245],[120.641416,31.725807],[120.636217,31.722545],[120.629083,31.723214],[120.62529,31.724434],[120.624422,31.724698],[120.617497,31.725328],[120.614068,31.726075],[120.609781,31.728259],[120.606761,31.732719],[120.604643,31.733129],[120.598794,31.733932],[120.595314,31.735893],[120.591087,31.73559],[120.589117,31.740304],[120.590619,31.743271],[120.59455,31.74493],[120.595817,31.746758],[120.5937,31.754857]]]]}},{type:"Feature",properties:{id:"320509",name:"吴江区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.35377,30.893804],[120.354404,30.893928],[120.354352,30.894628],[120.355498,30.894866],[120.354838,30.898197],[120.354369,30.901747],[120.354742,30.905124],[120.354031,30.90704],[120.352937,30.909279],[120.352295,30.910952],[120.352199,30.913068],[120.352685,30.914954],[120.353162,30.920167],[120.353779,30.921424],[120.354786,30.92238],[120.35706,30.923104],[120.358068,30.92372],[120.358215,30.925094],[120.358041,30.92665],[120.355906,30.930282],[120.355532,30.932456],[120.354821,30.933959],[120.355037,30.93499],[120.356375,30.935892],[120.360359,30.939688],[120.362115,30.9418],[120.36264,30.941961],[120.362615,30.9424],[120.363807,30.943834],[120.365569,30.945475],[120.366654,30.947462],[120.36701,30.948497],[120.366523,30.94837],[120.36606,30.949472],[120.365917,30.949445],[120.365514,30.95021],[120.366457,30.950791],[120.368216,30.954366],[120.37083,30.957607],[120.381856,30.963357],[120.389818,30.964906],[120.395062,30.968002],[120.400601,30.969957],[120.408008,30.971958],[120.413843,30.973456],[120.418574,30.975626],[120.422473,30.97915],[120.424288,30.981026],[120.428386,30.986621],[120.432727,30.99337],[120.43811,31.000597],[120.442772,31.005741],[120.45339,31.016522],[120.457471,31.022329],[120.460718,31.029393],[120.480451,31.053571],[120.482222,31.056054],[120.487188,31.059779],[120.49553,31.064214],[120.536602,31.08806],[120.5512,31.096904],[120.553447,31.100187],[120.553864,31.102458],[120.554515,31.104084],[120.555948,31.105242],[120.557153,31.105846],[120.564903,31.118572],[120.585914,31.154615],[120.589811,31.159242],[120.591434,31.159754],[120.592805,31.161176],[120.594202,31.162714],[120.595391,31.163062],[120.597136,31.163062],[120.600078,31.162852],[120.602109,31.162152],[120.604313,31.162295],[120.60525,31.163942],[120.606778,31.165975],[120.608732,31.168623],[120.610215,31.170639],[120.612298,31.172808],[120.61504,31.175048],[120.617132,31.176662],[120.618789,31.178132],[120.61957,31.179107],[120.619935,31.180337],[120.620179,31.182857],[120.619996,31.184884],[120.620022,31.186946],[120.618738,31.196867],[120.618486,31.19932],[120.618382,31.201561],[120.618521,31.203517],[120.619215,31.205738],[120.619892,31.207536],[120.62023,31.208487],[120.620682,31.209337],[120.62188,31.21043],[120.625942,31.211967],[120.628276,31.212417],[120.629873,31.212903],[120.630098,31.212979],[120.630298,31.213118],[120.630351,31.213493],[120.630316,31.213775],[120.630142,31.214529],[120.629561,31.215963],[120.629152,31.217087],[120.628041,31.222774],[120.627469,31.225266],[120.62744,31.225604],[120.637598,31.226061],[120.637944,31.224745],[120.638153,31.223747],[120.639133,31.223093],[120.639828,31.223188],[120.644472,31.223874],[120.645895,31.223644],[120.646546,31.222906],[120.646911,31.221753],[120.647371,31.221336],[120.649957,31.2212],[120.650973,31.221753],[120.651754,31.222446],[120.653135,31.222582],[120.655122,31.222398],[120.656181,31.221384],[120.656363,31.218249],[120.656415,31.214973],[120.657031,31.211126],[120.658169,31.209196],[120.658862,31.208244],[120.659271,31.20789],[120.659714,31.205872],[120.660313,31.203632],[120.660434,31.202786],[120.660356,31.20202],[120.660156,31.200646],[120.660139,31.198246],[120.660373,31.197599],[120.661059,31.197217],[120.661988,31.197035],[120.663342,31.197116],[120.664713,31.197096],[120.666145,31.196993],[120.66664,31.19641],[120.667543,31.195196],[120.668646,31.192658],[120.669444,31.190136],[120.670373,31.189337],[120.671727,31.189276],[120.672708,31.190014],[120.673203,31.190874],[120.673072,31.192781],[120.673142,31.194563],[120.674548,31.195548],[120.675669,31.196607],[120.676962,31.19835],[120.677396,31.198639],[120.679565,31.198788],[120.681024,31.19899],[120.683646,31.199874],[120.684956,31.200377],[120.686015,31.200883],[120.687231,31.20164],[120.688038,31.20222],[120.689549,31.202977],[120.691163,31.203657],[120.693612,31.20396],[120.697041,31.203709],[120.701225,31.203356],[120.703604,31.203104],[120.707128,31.202751],[120.709777,31.202297],[120.713006,31.20202],[120.713023,31.201371],[120.71305,31.200223],[120.71305,31.198072],[120.713232,31.19432],[120.714525,31.191124],[120.717043,31.187311],[120.71871,31.185773],[120.719813,31.185404],[120.724492,31.189157],[120.729658,31.194014],[120.732115,31.197213],[120.734208,31.200165],[120.737037,31.203241],[120.739738,31.206377],[120.743125,31.211667],[120.744661,31.215171],[120.747309,31.217939],[120.748533,31.221259],[120.749766,31.224026],[120.750382,31.225197],[120.751181,31.225318],[120.753768,31.225013],[120.756043,31.224582],[120.758335,31.22342],[120.760957,31.221695],[120.762998,31.220895],[120.766158,31.21967],[120.771559,31.216461],[120.774258,31.214473],[120.775578,31.213201],[120.775682,31.211928],[120.774101,31.208158],[120.773234,31.206476],[120.770846,31.204642],[120.76977,31.203213],[120.769362,31.201584],[120.769466,31.199088],[120.770334,31.197153],[120.772626,31.195472],[120.78465,31.191653],[120.788627,31.190127],[120.789391,31.189462],[120.789495,31.188036],[120.789035,31.186101],[120.789442,31.184928],[120.790155,31.184317],[120.792551,31.183248],[120.804826,31.178358],[120.811641,31.175701],[120.812683,31.175108],[120.817926,31.170581],[120.818864,31.167479],[120.817692,31.162183],[120.818082,31.161758],[120.81836,31.161809],[120.819011,31.15329],[120.810469,31.152819],[120.808941,31.149934],[120.808933,31.144741],[120.811172,31.133778],[120.815582,31.126778],[120.818576,31.124953],[120.833672,31.120619],[120.837578,31.118691],[120.845025,31.113073],[120.851579,31.10732],[120.852672,31.106134],[120.85262,31.10507],[120.854373,31.103085],[120.855589,31.102529],[120.857889,31.103297],[120.858583,31.102369],[120.859824,31.102554],[120.860328,31.100621],[120.861578,31.099879],[120.865414,31.099481],[120.865649,31.101202],[120.867272,31.101574],[120.868382,31.10115],[120.869016,31.10258],[120.869728,31.102713],[120.872479,31.102209],[120.871854,31.100129],[120.874813,31.100654],[120.874085,31.098481],[120.873929,31.098029],[120.874475,31.097689],[120.878242,31.097457],[120.883336,31.096354],[120.886122,31.096266],[120.886877,31.096585],[120.886817,31.098064],[120.887077,31.099454],[120.888205,31.099773],[120.8887,31.098818],[120.888639,31.098121],[120.888032,31.09647],[120.888553,31.095107],[120.889715,31.093687],[120.891277,31.092991],[120.891946,31.091717],[120.89218,31.090007],[120.892553,31.088933],[120.893621,31.088963],[120.895157,31.089223],[120.89632,31.08899],[120.897969,31.087947],[120.897882,31.08728],[120.897535,31.086382],[120.897882,31.085687],[120.898689,31.085005],[120.900581,31.082787],[120.900884,31.081678],[120.900477,31.080815],[120.899262,31.080359],[120.897691,31.080407],[120.896467,31.080735],[120.895478,31.080653],[120.8952,31.079789],[120.89546,31.078921],[120.895435,31.077387],[120.894723,31.07281],[120.893473,31.069293],[120.891772,31.065376],[120.890479,31.060962],[120.890427,31.056197],[120.891303,31.052633],[120.892344,31.051333],[120.893074,31.050532],[120.892883,31.047889],[120.895599,31.041916],[120.897318,31.041068],[120.897838,31.039958],[120.89737,31.035805],[120.897274,31.029787],[120.897206,31.027827],[120.896849,31.024782],[120.896424,31.022753],[120.896918,31.020958],[120.897222,31.019826],[120.896233,31.019791],[120.896137,31.019251],[120.891009,31.019686],[120.890505,31.014041],[120.887484,31.012414],[120.887216,31.006071],[120.885307,31.004778],[120.876028,31.00122],[120.875967,31.000088],[120.875794,30.999853],[120.87405,30.999606],[120.872462,30.999541],[120.871438,30.999287],[120.870543,30.998656],[120.869884,30.998211],[120.869215,30.997761],[120.868963,30.997582],[120.86892,30.997571],[120.867557,30.997587],[120.866916,30.997602],[120.864936,30.997657],[120.864616,30.997665],[120.863878,30.997678],[120.863738,30.996732],[120.863652,30.996177],[120.863608,30.995968],[120.863556,30.995604],[120.863548,30.995523],[120.863314,30.994332],[120.863236,30.993709],[120.863175,30.993297],[120.863053,30.993286],[120.862819,30.993279],[120.862732,30.993288],[120.862255,30.993347],[120.861691,30.99341],[120.861438,30.993447],[120.861326,30.993466],[120.861308,30.993427],[120.861326,30.993335],[120.861369,30.993041],[120.861404,30.99282],[120.861474,30.992424],[120.8615,30.992307],[120.8615,30.992194],[120.861483,30.99212],[120.861457,30.992068],[120.861412,30.992023],[120.861335,30.991994],[120.861248,30.991971],[120.861187,30.991958],[120.861083,30.991949],[120.860701,30.991971],[120.860562,30.991975],[120.860415,30.991967],[120.860241,30.99195],[120.860137,30.991948],[120.859928,30.991964],[120.85985,30.992001],[120.859798,30.992041],[120.859772,30.992071],[120.859712,30.992188],[120.859651,30.992401],[120.859625,30.992542],[120.859608,30.992704],[120.859582,30.992776],[120.859547,30.992776],[120.859485,30.99277],[120.859321,30.99275],[120.858948,30.992675],[120.858644,30.992644],[120.858297,30.992594],[120.858201,30.992595],[120.858158,30.99259],[120.858106,30.992576],[120.858071,30.992566],[120.857958,30.992546],[120.85788,30.992501],[120.857793,30.992451],[120.85769,30.992414],[120.857594,30.992378],[120.857559,30.992397],[120.857455,30.992672],[120.857446,30.992787],[120.857082,30.993083],[120.856448,30.992894],[120.856405,30.992872],[120.856265,30.992812],[120.855884,30.992651],[120.855841,30.99264],[120.855156,30.992386],[120.85486,30.992287],[120.8546,30.992182],[120.854486,30.992138],[120.854451,30.992145],[120.854382,30.992173],[120.854313,30.992204],[120.854244,30.992241],[120.8542,30.99228],[120.854174,30.992319],[120.854088,30.992531],[120.854053,30.992572],[120.853913,30.992766],[120.853723,30.993048],[120.853445,30.993415],[120.853193,30.993703],[120.853081,30.993851],[120.85302,30.993908],[120.852933,30.994003],[120.852873,30.994064],[120.852638,30.994265],[120.852534,30.994337],[120.852352,30.994437],[120.852195,30.994545],[120.852134,30.994595],[120.851944,30.994709],[120.851709,30.994858],[120.851475,30.99498],[120.851241,30.995093],[120.851093,30.995156],[120.850997,30.995203],[120.850833,30.995266],[120.850789,30.995282],[120.850529,30.99541],[120.850364,30.995464],[120.85019,30.995517],[120.850112,30.995529],[120.850051,30.995535],[120.84986,30.995538],[120.849635,30.995525],[120.849495,30.995494],[120.849391,30.995435],[120.849157,30.995312],[120.84908,30.995256],[120.848845,30.995083],[120.848533,30.994778],[120.848367,30.994633],[120.848107,30.994418],[120.84789,30.99421],[120.847656,30.994014],[120.847387,30.993795],[120.846953,30.993383],[120.846744,30.993237],[120.84657,30.993094],[120.846067,30.992771],[120.845989,30.992706],[120.845902,30.992658],[120.84579,30.992608],[120.845615,30.992537],[120.845408,30.992465],[120.84533,30.992419],[120.845129,30.992372],[120.844713,30.99225],[120.844548,30.992211],[120.844453,30.992211],[120.844349,30.992168],[120.843932,30.992051],[120.843759,30.992001],[120.84362,30.99196],[120.843481,30.991935],[120.843385,30.991918],[120.843203,30.991884],[120.84316,30.991895],[120.843134,30.99191],[120.843082,30.991962],[120.843029,30.99203],[120.842977,30.992131],[120.842838,30.992374],[120.842743,30.99258],[120.842708,30.992667],[120.842656,30.992776],[120.842543,30.993051],[120.842491,30.993216],[120.842326,30.993721],[120.842283,30.993863],[120.84217,30.994178],[120.8421,30.994391],[120.842048,30.994485],[120.841953,30.994622],[120.841909,30.994655],[120.841823,30.994685],[120.84171,30.994753],[120.841667,30.994764],[120.841631,30.994762],[120.841519,30.994742],[120.841233,30.994653],[120.841076,30.994616],[120.840825,30.994549],[120.840616,30.994462],[120.840548,30.99444],[120.840334,30.99434],[120.840104,30.994265],[120.839962,30.994265],[120.839643,30.994345],[120.839339,30.99444],[120.839075,30.994602],[120.838788,30.994905],[120.838597,30.99516],[120.838342,30.995338],[120.837822,30.996259],[120.836979,30.997589],[120.835859,31.000094],[120.826616,31.004453],[120.818733,31.007936],[120.816641,31.00859],[120.810061,31.007973],[120.798627,31.007606],[120.776664,31.003115],[120.774562,31.001792],[120.773954,31.000092],[120.771767,30.997837],[120.770751,30.997223],[120.769622,30.99724],[120.768102,30.997548],[120.76766,30.998702],[120.76713,30.999162],[120.766332,30.999121],[120.765594,30.998785],[120.765515,30.998214],[120.765333,30.995696],[120.764839,30.994099],[120.764013,30.992905],[120.763736,30.991763],[120.763501,30.989704],[120.763709,30.987237],[120.764525,30.984302],[120.765368,30.982973],[120.765872,30.981415],[120.765846,30.980269],[120.765368,30.979475],[120.762286,30.978312],[120.758952,30.978128],[120.756348,30.977596],[120.754134,30.97671],[120.752449,30.97547],[120.751224,30.974222],[120.749376,30.971269],[120.747483,30.969632],[120.746398,30.968449],[120.745243,30.967203],[120.743689,30.965849],[120.742204,30.965236],[120.741604,30.964677],[120.738748,30.96492],[120.736753,30.965316],[120.735316,30.966267],[120.734713,30.967148],[120.734505,30.968562],[120.734041,30.969211],[120.731213,30.970324],[120.730053,30.971461],[120.729057,30.971902],[120.723259,30.97335],[120.721271,30.973721],[120.719005,30.973519],[120.71654,30.973267],[120.714335,30.97301],[120.712008,30.972762],[120.709933,30.9725],[120.707554,30.973278],[120.705774,30.974102],[120.705105,30.973883],[120.704308,30.973491],[120.703881,30.972464],[120.703526,30.971149],[120.703109,30.970122],[120.702302,30.969278],[120.701225,30.968664],[120.700019,30.968508],[120.698439,30.969156],[120.696998,30.970725],[120.695305,30.972472],[120.693915,30.973006],[120.693161,30.972101],[120.691875,30.970734],[120.69079,30.969722],[120.689783,30.969045],[120.689089,30.967562],[120.686511,30.964794],[120.685225,30.963609],[120.683811,30.962591],[120.681233,30.959415],[120.680191,30.957427],[120.683796,30.955687],[120.688312,30.954141],[120.692556,30.95298],[120.693273,30.952571],[120.694641,30.950332],[120.69481,30.950139],[120.696068,30.948429],[120.698269,30.946136],[120.699719,30.944417],[120.7012,30.942816],[120.703144,30.939706],[120.705148,30.9354],[120.706329,30.931274],[120.706868,30.928807],[120.707466,30.926219],[120.707899,30.923438],[120.708353,30.922475],[120.708379,30.921927],[120.708058,30.920108],[120.707741,30.917733],[120.707785,30.916731],[120.707569,30.914754],[120.707077,30.912978],[120.706312,30.911367],[120.705519,30.909783],[120.705437,30.908389],[120.705792,30.904892],[120.706393,30.901178],[120.707377,30.897544],[120.708306,30.893584],[120.708415,30.89088],[120.708603,30.88868],[120.708952,30.887295],[120.704073,30.886948],[120.701798,30.886583],[120.698274,30.886294],[120.696998,30.885622],[120.696442,30.884484],[120.696346,30.882932],[120.697249,30.881092],[120.698343,30.87964],[120.699116,30.878024],[120.699993,30.875207],[120.699628,30.873208],[120.697396,30.871231],[120.695652,30.870107],[120.694524,30.870125],[120.693212,30.871054],[120.692631,30.872038],[120.691372,30.872511],[120.690173,30.872364],[120.688855,30.872952],[120.688473,30.873928],[120.688369,30.87536],[120.689722,30.877008],[120.686241,30.878893],[120.683203,30.880074],[120.681884,30.880779],[120.681433,30.881475],[120.68138,30.882339],[120.681745,30.883995],[120.681224,30.884797],[120.680634,30.885212],[120.679766,30.885223],[120.678567,30.884841],[120.677543,30.883415],[120.676849,30.881996],[120.676571,30.880791],[120.675625,30.879891],[120.67335,30.879237],[120.671076,30.878691],[120.66941,30.878031],[120.668863,30.877228],[120.666102,30.87148],[120.665494,30.870647],[120.665577,30.870196],[120.665106,30.870114],[120.663577,30.868016],[120.661762,30.866551],[120.660529,30.864852],[120.659049,30.863659],[120.658898,30.863675],[120.658808,30.863766],[120.658593,30.864274],[120.65775,30.86617],[120.657592,30.866407],[120.657199,30.866772],[120.657037,30.866826],[120.656867,30.866848],[120.65671,30.866871],[120.656471,30.866951],[120.65628,30.867018],[120.656166,30.867131],[120.656019,30.867493],[120.655917,30.86764],[120.655748,30.867698],[120.655453,30.867708],[120.655262,30.867731],[120.655081,30.867776],[120.654842,30.867787],[120.654602,30.86774],[120.654489,30.867626],[120.654446,30.867315],[120.654404,30.866679],[120.654361,30.866325],[120.654278,30.866099],[120.653719,30.865456],[120.653563,30.865201],[120.653506,30.864904],[120.653563,30.864523],[120.653719,30.863971],[120.65386,30.863689],[120.653889,30.863406],[120.653818,30.863137],[120.65369,30.862896],[120.653676,30.862543],[120.653683,30.859976],[120.653626,30.859253],[120.653582,30.859049],[120.65348,30.858822],[120.653253,30.858676],[120.652869,30.858562],[120.651868,30.858375],[120.651143,30.858173],[120.65085,30.858036],[120.650669,30.857844],[120.650578,30.857516],[120.650578,30.856984],[120.650624,30.855615],[120.650663,30.854264],[120.65063,30.853619],[120.650663,30.853086],[120.650832,30.852126],[120.651002,30.851311],[120.651093,30.850644],[120.651149,30.850191],[120.651195,30.849874],[120.651149,30.849649],[120.651002,30.849501],[120.650686,30.849411],[120.650347,30.849376],[120.649804,30.849456],[120.649464,30.849547],[120.648571,30.849886],[120.648118,30.850022],[120.647632,30.850135],[120.647421,30.850161],[120.646068,30.850832],[120.643639,30.852464],[120.6412,30.85387],[120.640557,30.8544],[120.640296,30.854918],[120.640462,30.856978],[120.64053,30.857241],[120.640348,30.857504],[120.639984,30.857752],[120.639385,30.857843],[120.638278,30.857817],[120.63721,30.857714],[120.634359,30.856736],[120.632692,30.856346],[120.632041,30.856281],[120.630622,30.856789],[120.629659,30.857037],[120.628578,30.857128],[120.627705,30.857167],[120.62657,30.857799],[120.625644,30.857961],[120.624038,30.858224],[120.623527,30.858327],[120.622636,30.858441],[120.62206,30.858485],[120.621526,30.858301],[120.620417,30.857427],[120.618896,30.856029],[120.617865,30.85512],[120.61665,30.854396],[120.615628,30.854151],[120.614997,30.853756],[120.614424,30.853179],[120.613834,30.852878],[120.612745,30.852421],[120.611356,30.852027],[120.609163,30.851547],[120.606934,30.851181],[120.604488,30.850674],[120.604007,30.850796],[120.603527,30.851016],[120.602758,30.851111],[120.602006,30.85112],[120.601229,30.851129],[120.600268,30.85113],[120.599473,30.8512],[120.598861,30.851339],[120.597865,30.851628],[120.596284,30.852109],[120.594667,30.852538],[120.593375,30.852933],[120.590917,30.853903],[120.58997,30.854167],[120.58901,30.854609],[120.587271,30.854962],[120.586608,30.855179],[120.585404,30.856385],[120.58492,30.85672],[120.58482,30.856852],[120.584144,30.856232],[120.583206,30.85529],[120.582122,30.854394],[120.579449,30.852259],[120.578668,30.851155],[120.577792,30.849301],[120.57675,30.848099],[120.571812,30.845045],[120.570093,30.844005],[120.568045,30.843297],[120.565216,30.841211],[120.562552,30.839456],[120.559627,30.837929],[120.557743,30.836434],[120.555305,30.833932],[120.55442,30.831773],[120.554461,30.830753],[120.553996,30.829745],[120.553004,30.828624],[120.550394,30.826575],[120.548969,30.824701],[120.547575,30.822891],[120.545911,30.820537],[120.544598,30.81892],[120.543428,30.817543],[120.542068,30.815365],[120.540466,30.812498],[120.539074,30.810272],[120.537264,30.807966],[120.534862,30.804859],[120.532204,30.801048],[120.530138,30.798294],[120.52933,30.797057],[120.528873,30.796356],[120.526503,30.793186],[120.52583,30.792097],[120.524213,30.790063],[120.521858,30.787229],[120.521107,30.786155],[120.520274,30.784971],[120.519121,30.783176],[120.516191,30.778565],[120.513917,30.77557],[120.513132,30.774625],[120.511075,30.772351],[120.507148,30.767666],[120.506148,30.76664],[120.504868,30.765144],[120.503698,30.763901],[120.502311,30.762559],[120.501006,30.761099],[120.500079,30.760283],[120.499519,30.760149],[120.499106,30.760258],[120.498545,30.760648],[120.49796,30.761074],[120.496621,30.761684],[120.495183,30.76222],[120.493954,30.762427],[120.492625,30.762951],[120.490933,30.763596],[120.489787,30.763816],[120.488387,30.764034],[120.487265,30.764522],[120.485012,30.765678],[120.484671,30.765947],[120.484657,30.766107],[120.484646,30.766605],[120.484013,30.767068],[120.48372,30.768944],[120.482332,30.772021],[120.479883,30.775602],[120.476229,30.78062],[120.474414,30.78425],[120.474146,30.78525],[120.473245,30.786808],[120.472538,30.787807],[120.472099,30.789294],[120.471245,30.793757],[120.471201,30.794558],[120.472024,30.799756],[120.472024,30.800253],[120.472435,30.800816],[120.472691,30.801377],[120.472769,30.802224],[120.473062,30.803194],[120.472367,30.806142],[120.472344,30.80757],[120.472182,30.808376],[120.468664,30.809197],[120.468248,30.808873],[120.468248,30.80843],[120.468248,30.807998],[120.463804,30.807778],[120.463742,30.808928],[120.463712,30.809483],[120.462119,30.809493],[120.460732,30.809976],[120.46075,30.810853],[120.459949,30.811236],[120.459202,30.815611],[120.458373,30.817647],[120.453951,30.817664],[120.453094,30.822232],[120.452652,30.82325],[120.452465,30.826628],[120.45544,30.827845],[120.456273,30.829278],[120.45649,30.830417],[120.455874,30.841999],[120.454502,30.843108],[120.452731,30.844733],[120.45129,30.846697],[120.450846,30.847905],[120.449909,30.851753],[120.449128,30.85245],[120.448069,30.852807],[120.444014,30.852918],[120.441834,30.853856],[120.439473,30.855432],[120.437441,30.857402],[120.43672,30.858388],[120.436469,30.859591],[120.436534,30.860239],[120.43678,30.860732],[120.43739,30.862962],[120.439204,30.8642],[120.44338,30.867589],[120.445924,30.868651],[120.447809,30.870004],[120.448633,30.871825],[120.44793,30.873667],[120.445759,30.875355],[120.444171,30.875945],[120.44252,30.876886],[120.440107,30.879659],[120.43827,30.882157],[120.43686,30.884915],[120.434976,30.887285],[120.430669,30.88854],[120.429897,30.890039],[120.430235,30.894445],[120.430799,30.897017],[120.431746,30.898992],[120.433187,30.899789],[120.434507,30.900193],[120.435905,30.900824],[120.437164,30.901688],[120.437684,30.902664],[120.437016,30.905356],[120.434759,30.90695],[120.434081,30.907983],[120.433757,30.908708],[120.431309,30.908121],[120.430857,30.90977],[120.430364,30.909699],[120.430194,30.911197],[120.432729,30.911872],[120.432333,30.913727],[120.433058,30.914216],[120.43304,30.917049],[120.432336,30.919001],[120.431234,30.920908],[120.4304,30.922865],[120.420051,30.928653],[120.418801,30.929466],[120.416873,30.929896],[120.415475,30.929733],[120.413383,30.92758],[120.413157,30.926098],[120.414094,30.922079],[120.415796,30.916304],[120.41788,30.908505],[120.418871,30.905113],[120.419272,30.903725],[120.410491,30.902514],[120.40815,30.901504],[120.40502,30.90004],[120.402003,30.899414],[120.402216,30.898277],[120.400595,30.897922],[120.401159,30.895831],[120.400454,30.895695],[120.390052,30.892814],[120.388064,30.892898],[120.385825,30.893319],[120.383715,30.893546],[120.380041,30.89361],[120.374762,30.892823],[120.374042,30.890814],[120.372618,30.887682],[120.367704,30.887077],[120.36766,30.886354],[120.3678,30.884218],[120.361037,30.882525],[120.36003,30.882537],[120.357851,30.885122],[120.353396,30.889173],[120.352937,30.890423],[120.352902,30.890788],[120.354387,30.891619],[120.35377,30.893804]]]]}}]},e=Math.PI;function n(t,n){if(function(t,e){return t<72.004||t>137.8347||e<.8293||e>55.8271}(t,n))return{lng:t,lat:n};const o=6378245,i=.006693421622965943;let r=function(t,n){let o=2*t-100+3*n+.2*n*n+.1*t*n+.2*Math.sqrt(Math.abs(t));return o+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,o+=2*(20*Math.sin(n*e)+40*Math.sin(n/3*e))/3,o+=2*(160*Math.sin(n/12*e)+320*Math.sin(n*e/30))/3,o}(t-105,n-35),u=function(t,n){let o=300+t+2*n+.1*t*t+.1*t*n+.1*Math.sqrt(Math.abs(t));return o+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,o+=2*(20*Math.sin(t*e)+40*Math.sin(t/3*e))/3,o+=2*(150*Math.sin(t/12*e)+300*Math.sin(t/30*e))/3,o}(t-105,n-35);const s=n/180*e;let l=Math.sin(s);l=1-i*l*l;const a=Math.sqrt(l);return r=180*r/(o*(1-i)/(l*a)*e),u=180*u/(o/a*Math.cos(s)*e),{lng:t+u,lat:n+r}}function o(t,e){if(t.length<=e)return i(t);const n=Math.ceil(t.length/e),o=[];for(let i=0;i=3&&e.push(o(n,130))}else if("MultiPolygon"===t.type&&Array.isArray(t.coordinates)){const n=t.coordinates;for(const t of n){const n=null==t?void 0:t[0];if(!(null==n?void 0:n.length))continue;const i=r(n);i.length>=3&&e.push(o(i,130))}}return e}const s=function(t){var e;const n={};for(const o of t.features||[]){const t=((null==(e=o.properties)?void 0:e.name)||"").trim();if(!t||!o.geometry)continue;const i=u(o.geometry);i.length&&(n[t]=i)}return n}(t),l={},a={"高新区":"虎丘区"};function c(t){const e=(t||"").trim();if(!e)return null;const n=function(t){const e=t.trim();return a[e]||e}(e),o=s[n]??l[n]??null;return o&&o.length?o:null}!function(){let t=1/0,e=-1/0,n=1/0,o=-1/0;const i=i=>{for(const r of i)for(const i of r)t=Math.min(t,i.latitude),e=Math.max(e,i.latitude),n=Math.min(n,i.longitude),o=Math.max(o,i.longitude)};for(const r of Object.values(s))i(r);for(const r of Object.values(l))i(r);!Number.isFinite(t)||e<=t||Number.isFinite(n)}();const y=new Set(["工业园区","苏州工业园区"]);function h(t,e){const n=(t??"").trim(),o=(e??"").trim();return!o||(n===o||!(!y.has(o)||!y.has(n)))}function g(t){return{latitude:t.y,longitude:t.x}}function p(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)}function f(t,e,n){const o=e.x-t.x,i=e.y-t.y,r=Math.hypot(o,i)||1e-9,u=-i/r*n,s=o/r*n,l={x:t.x+u,y:t.y+s},a={x:e.x+u,y:e.y+s},c={x:e.x-u,y:e.y-s},y={x:t.x-u,y:t.y-s};return[g(l),g(a),g(c),g(y),g(l)]}function d(t,e=.012){const n=[];for(const o of t){const t=Number(o.lat),e=Number(o.lng);Number.isFinite(t)&&Number.isFinite(e)&&n.push({x:e,y:t})}if(0===n.length)return null;const r=t=>`${t.x.toFixed(5)},${t.y.toFixed(5)}`,u=new Set,s=[];for(const o of n){const t=r(o);u.has(t)||(u.add(t),s.push(o))}if(0===s.length)return null;if(1===s.length){const t=s[0];return l=t.y-e,a=t.y+e,c=t.x-e,y=t.x+e,[{latitude:a,longitude:c},{latitude:a,longitude:y},{latitude:l,longitude:y},{latitude:l,longitude:c},{latitude:a,longitude:c}]}var l,a,c,y;if(2===s.length)return f(s[0],s[1],Math.max(e,.008));const h=function(t){const e=t.length;if(e<=1)return t.slice();if(2===e)return[t[0],t[1]];const n=[...t].sort((t,e)=>t.x===e.x?t.y-e.y:t.x-e.x),o=[];for(const r of n){for(;o.length>=2&&p(o[o.length-2],o[o.length-1],r)<=0;)o.pop();o.push(r)}const i=[];for(let r=n.length-1;r>=0;r--){const t=n[r];for(;i.length>=2&&p(i[i.length-2],i[i.length-1],t)<=0;)i.pop();i.push(t)}return o.pop(),i.pop(),o.concat(i)}(s);if(h.length<2)return null;if(2===h.length)return f(h[0],h[1],Math.max(e,.008));const d=function(t){const e=t.length||1;return{x:t.reduce((t,e)=>t+e.x,0)/e,y:t.reduce((t,e)=>t+e.y,0)/e}}(s),m=function(t,e,n){return t.map(t=>({x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}))}(h,d,1+Math.max(.03,8*e));return o(i(m.map(g)),130)}function m(t){let e=1/0,n=-1/0,o=1/0,i=-1/0;for(const r of t)for(const t of r)e=Math.min(e,t.latitude),n=Math.max(n,t.latitude),o=Math.min(o,t.longitude),i=Math.max(i,t.longitude);return Number.isFinite(e)?{latitude:(e+n)/2,longitude:(o+i)/2}:{latitude:0,longitude:0}}export{d as a,c as g,m,h as v}; diff --git a/public/h5/index.html b/public/h5/index.html index a4b3349..9f78003 100644 --- a/public/h5/index.html +++ b/public/h5/index.html @@ -6,7 +6,7 @@ 苏州市科普场馆地图 - +